public static V2DContentHolder UilToV2DContent(string path, ContentProcessorContext context) { V2DContentHolder result = null; VexObject vo = LoadFromUIL.Load(path); VexTree vt = new VexTree(); vt.Convert(vo, null); vt.WriteToXml(); result = vt.GetV2DContent(context); return(result); }
public static V2DContentHolder SwfToV2DContent(SwfCompilationUnit scu, ContentProcessorContext context) { V2DContentHolder result = null; if (scu.IsValid) { SwfToVex s2v = new SwfToVex(); VexObject vo = s2v.Convert(scu); VexTree vt = new VexTree(); vt.Convert(vo, scu); vt.WriteToXml(); result = vt.GetV2DContent(context); } return(result); }
public static V2DContentHolder UilToV2DContent(string path, ContentProcessorContext context) { V2DContentHolder result = null; VexObject vo = LoadFromUIL.Load(path); VexTree vt = new VexTree(); vt.Convert(vo, null); vt.WriteToXml(); result = vt.GetV2DContent(context); return result; }
public static V2DContentHolder SwfToV2DContent(SwfCompilationUnit scu, ContentProcessorContext context) { V2DContentHolder result = null; if (scu.IsValid) { SwfToVex s2v = new SwfToVex(); VexObject vo = s2v.Convert(scu); VexTree vt = new VexTree(); vt.Convert(vo, scu); vt.WriteToXml(); result = vt.GetV2DContent(context); } return result; }