Import does not affect what gets linked in, it only affects the fully qualified 
name of some class in the code.  If you don't use the class, it doesn't get 
linked in.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy
Sent: Wednesday, December 03, 2008 8:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Easy question... i think.


--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, "Steve 
Mathews" <[EMAIL PROTECTED]> wrote:
>
> 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.

I don't think that's true, if the package you're importing from has
been compiled into a swc. I think any import statements that point to
a class in a swc will get the entire swc.

Reply via email to