Flash cs5: compiling fla with a huge internal library takes YEARS!

using flash cs5 with a huge internal image library (more than 300 + small png files), I need more than 90 seconds for each compilation action ! since the code is pretty good, also my computer (quad-core processor, 4 gigabytes). I found that when exporting files to "stage 1" (bild 1 in my screenshot), the flash starts to curl, but I don’t know why ...

.

how to speed up this process?

__________________________________________________________________________________________________________________________________________________________

enter image description here

__________________________________________________________________________________________________________________________________________________________

my solution does not work:

*.as , ( , 10-15% , )...

screenshot

package
{
    import flash.display.*;

    dynamic public class MY_BITMAP_NAME extends BitmapData
    {

        public function MY_BITMAP_NAME(width:int = 500, height:int = 135)
        {
            super(width, height);
            return;
        }

    }
}

, : - (

+3
3

, SWC, .

:

  • FLA ,
  • linkage ; AS, Flash ,
  • , "Flash", " SWC",
  • SWC , SWF; CS4-5 SWF.

  • FLA, "Flash", Advanced Actionscript 3,
  • " " SWC; , " " " ",
  • SWC FLA, .

, :

  • ( AssetName): FLA, ,
  • , , ; getDefinitionByName(), - . , , (: var assets: Array = [AssetClass1, AssetClass2,...]).
+10

300+ , .fla, . .fla swc ( ).

swc .fla( ), ( swc, β†’ actionscript) swc ).

, Flash swc. .

+3
ctrl+enter, that will compile all things in library and the AS code.
most situation that use just change little things, and then compile it.
it would waste much time that no need to waste.
you can export some thing that would not always be changed to SWC file, and to to publish setting,
add SWC file into your Fla. or move you Fla project to Flash build, compile use less time more than in flash ide.
0
source

Source: https://habr.com/ru/post/1794375/


All Articles