>
> nothing will actually be added;
> Sprite is an intrinsic class, importing it merely works as typing and as
> a definition for compilation (the "class" is already in the player so
> it's not "added" to the SWF).


So then it is safe to do

import flash.display.*;

and not to worry about bundling up the SWF eh?


> > var mySprite:Sprite = new Sprite;
> > and
> > //notice the end ()
> > var mySprite:Sprite = new Sprite();
> > I tried to google it but didnt know exactly how to find it..
>
> The first one is slightly uncommon, but both do the same thing.
>
>
> Zeh



Thanks Zeh, that is what I thought but I wasn't sure..... specially when I
instantiate my Classes there was no difference on the way I was using them,
of course unless I needed to pass some parameters.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to