I'm hoping that somebody else other than me has noticed this, and that
perhaps somebody else out there would know why adobe made this change,
so here goes...

I've found that the cs4 as3 compiler is doing little or no
optimization when ity comes to compiling a swf when a code library swc
is sitting in my fla library. Let's take the google maps as3 code
library swc as an example. In cs3 i'd place the swc into my library,
and import one class and instantiate it. Publish the swf and the end
result is a swf that weighs very little. Examining the swf with hp's
swfscan shows that only the class and dependants are compiled in.

Repeating the same process with cs4 results in a swf weighing over
50k. It appears that every class definition from the swc gets compiled
in. Even removing all import statements makes no difference, so long
as the swc is in the library, all the classes go into your swf!

Anybody out there aware of this? Is there a way to prevent this
behaviour? Was this intended by adobe, or is this an oversight?

Any comments/pointers appreciated!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to