Skip to main content
September 1, 2010
Question

compiling is very slow

  • September 1, 2010
  • 2 replies
  • 1256 views

Hi,

I use the facebook class (http://code.google.com/p/facebook-actionscript-api/) in my project. When I compile my project (Air 2.0) with the facebook class it takes longer than one minute to compile.

What would I do to make compiling faster? Compiling in Flash Builder seems much faster than in Flash CS5.

This topic has been closed for replies.

2 replies

Participating Frequently
September 2, 2010

  I haven't verified this but my project manager told me that he was having a similar problem and his solution was to delete any class libraries he wasn't using.

Apparently when compiling the CS4 (And apparently CS5 as well?) IDE goes through the entire package whether it is being used or not.

In your case attempting this solution looks pretty impossible since the libraries you are using are in SWC format instead of just a bunch of .as files.

Long story short: The Flash IDE seems to take a long time to process even moderately-sized class libraries regardless of which classes are actually being imported or used.

September 2, 2010

I don't use the swc version of the api. Just the source files. I looked at other Flash projects using the faceboo-actionscript-api and noticed the long compiling time there too.

My solution was to put the class in an external fla and load the swf into the rest of my application.So I only have to compile the long time when I have to change something in this part. This makes live easier but I hope Adobe will work on that part too. As projects are growning and growing with more features and classes, compiling in Flash requires some improvement.

September 1, 2010

I noticed that the compiler uses only one of two Cpu-Cores on my Dual pentium (E8400). Is there on multicore support or is it just my old E8400 Dual Core that isn't supported?

Inspiring
September 1, 2010

Flash doesn't support multithreading.

September 1, 2010

You mean the IDE (!!) really doesn't support multithreding?