Slow flash cs5 compilation

I am developing a RIA with Flash Professional CS5. Although there are not many class, it takes 1 minutes to compile. This slowness breaks quick code&test cycle. I do not know how to speed up the compilation time. Almost every as-3 class has a corresponding MovieClip in the library. Is it because of this? Also there are so many graphical item in the library. Are those slow compilation? Or What is your advice to speed up the compilation time?


  • Disable Warnings Mode. File -> Publish Settings -> ActionScript Settings
  • Use lower JPEG quality. File -> Publish Settings
  • Disable Compres Movie. File -> Publish Settings
  • Disable Include XMP metadata. File -> Publish Settings
  • Disable (if you enabled before) Generate size report. File -> Publish Settings
  • Optimalizate your as code.
  • And don't forget to put it all back when you finish testing.


    One advice I can give you is to go to Publish Settings/Flash and turn off "Compress Movie". I have a feeling it will save a couple of seconds...

    Other then that, I've learned to live with it... The worst is when you are working with a huge framework like away3d...


    I've found that images, audio and video can really increase the compilation time. Can you use placeholders until you get your code finished?

    链接地址: http://www.djcxy.com/p/8456.html

    上一篇: 确定应用程序是否被阻止/忙碌?

    下一篇: 慢闪CS5编译