Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
		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;
        }
Esempio n. 4
0
		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;
        }