Re: [Flashcoders] import package

2007-01-30 Thread Ron Wheeler
If it works without it, it is not required. Import is a compiler directive. It does not result in any code being generated. It merely tells the compiler that "If I mention some function or class/object/datatype that I do not define, you should also look here to see if this code has a definition

[Flashcoders] import package

2007-01-30 Thread rc2406
I'm just now trying to wrap my head around AS3.0, so this is a very basic question. Why is the import statements necessary? The Adobe site says that in AS2.0 it was a shortcut, so you didn't have to type the full path, but in AS3.0 it is a requirement. So why does the following simple code work wit