Sorry, that's what I meant when I said...
"such as the declaration of a variable or the creation of an
object"

I should have provided a concrete example. :-)

As Scott says, working with .swfs is more like working with .jars than
you might think - particularly when you are working with MTASC/Swfmill
rather than the IDE. You can pick and choose which classes get built
into a given .swf in much the same way as you can with Java - if
you're so inclined.

Ian

On 4/12/06, Julian 'Julik' Tarkhanov <[EMAIL PROTECTED]> wrote:
>
> On 12-apr-2006, at 19:59, JesterXL wrote:
>
> > To force a class to be imported even if no one uses it:
> >
> > import com.company.project.YourClass;
> >
> > static private var depend:YourClass;
>
> Ok, now this looks classy! Forces the class to be burned in and yet
> shows why it's there.
>
> Thanks a bunch!
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to