So, just wondering real quick to see if I'm wasting time- but does using: import flash.display.*; Code (markup): Increase the size of the compiled flash app? See I'm working on a really sick flash app, using extensive custom classes. Alot of these classes need to import things like TextFields, Sprites, etc. Since I want this to be as slim as possible, for quicker loading, I've starting going through my classes and removing the * in my imports, and targeting towards just the object I need. Like this: import flash.display.*; import flash.events.* Code (markup): Changed to: import flash.display.Sprite; import flash.events.Event; Code (markup): So is flash smart enough to look forward in the code during compile time, and pick out just the class (or classes) I need from the astrix'ed import? Just asking to see if anyone knows off hand, don't want to waste my time going through more than twenty classes and doing this. . . I'm running CS3 btw, incase the compiler is different somehow. . .
Heh, answered my own question: "If you import a class but do not use it in your script, the class is not exported as part of the SWF file. This means you can import large packages without being concerned about the size of the SWF file; the bytecode associated with a class is included in a SWF file only if that class is actually used."