I remember reading in a book/article that you can import all the classes you
need and only the ones used by the application will be actually added....
this thought has been bother me because my logic says... "Import all classes
since only the ones used will be added it doesnt matter what classes you
import"

For example in the following:

import flash.display.*;

var mySprite:Sprite = new Sprite();

Does that means that only the Sprite class will be added or will all the
classes under display will still be added?

//Another basic question... could some one point me to a resource to
understand the difference between

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..

Thanks for your input...

-- 
...helmut
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to