[flexcoders] Easy question... i think.

2008-12-03 Thread flexaustin
I was wondering if I use import statements like

import allofsomething.* 

vs.

import allofsomething.lessofall.evenlessofall.onlyONEofall;

** in this example I would only be using onlyOneofall in my code.

Does the more specific import reduce my .swf file size?  Or does the
compiler only import what is actually being referenced, thus in this
example onlyOneofall.



Re: [flexcoders] Easy question... i think.

2008-12-03 Thread Steve Mathews
It only imports what is being used. Using the wild card(*) just says you may
want to use any of the classes in that package, but only the ones you
actually use will be compiled.

On Wed, Dec 3, 2008 at 8:53 AM, flexaustin [EMAIL PROTECTED] wrote:

 I was wondering if I use import statements like

 import allofsomething.*

 vs.

 import allofsomething.lessofall.evenlessofall.onlyONEofall;

 ** in this example I would only be using onlyOneofall in my code.

 Does the more specific import reduce my .swf file size?  Or does the
 compiler only import what is actually being referenced, thus in this
 example onlyOneofall.


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links