Example #1
0
        void CreateScripts(AbcFile app, SwfTagSymbolClass symbols)
        {
            _scripts = new List <AbcFile>();
            foreach (var script in app.Scripts)
            {
                var abc = new AbcFile
                {
                    ImportTypeStrategy = ImportTypeStrategy.External,
                    IsSwcScript        = true,
                };

                abc.ImportScript(script);
                abc.Name = GetScriptName(abc);
                abc.Finish();

                //abc.Test();

                //LogSwc(abc);

                _scripts.Add(abc);
                AddAbcTag(abc);
            }
        }