Esempio n. 1
0
        private void Build(IAssembly assembly)
        {
            AppAssembly = assembly;

            Swf = new SwfMovie
            {
                Name = "PageFX Application"
            };

            InitPrerequisites();
            SetupHeader();
            SetFileAttributes();
            SetupMetadata();
            SetupDebugInfo();
            SetupScriptLimits();
            SetBackgroundColor();
            SetupProductInfo();

            GenearateFrames();

            if (IsSwc)
            {
                BuildCatalog();
                BuildSwc();
            }
            else
            {
                if (GenerateHtmlWrapper && !_options.NoHtmlWrapper)
                {
                    HtmlTemplate.Deploy(this);
                }
            }

            foreach (var abc in AbcFrames)
            {
                abc.Generator.ResetMembersData();
            }
        }