[flexcoders] Re: n00b question :)

2009-01-19 Thread valdhor
package refers to the directory that the class is in. If the class
file is in the root (src) directory, then there is no package name. If
the class is in a directory called (For example) MyEvents then the
package statement would be package MyEvents. Each class file in that
directory would have the same package statement.


--- In flexcoders@yahoogroups.com, Chris loony...@... wrote:

 I keep seeing code samples using package.
 
 Can someone clarify what this is?  I'm not sure what it is and how
 it's used and how I/when I should use one.
 
 Thanks in advance :)
 
 --Chris--





[flexcoders] Re: n00b question :)

2009-01-19 Thread Amy
--- In flexcoders@yahoogroups.com, Chris loony...@... wrote:

 I keep seeing code samples using package.
 
 Can someone clarify what this is?  I'm not sure what it is and how
 it's used and how I/when I should use one.
 
 Thanks in advance :)

Try this:
http://flexdiary.blogspot.com/2007/08/as3-basics.html