Confused about AS files
Hi,
I'm using an .AS file to store a custom used-defined class (extending an existing class or not). I have no problem with that, but how about when I store MANY classes in the same .AS file? I understand I need to make the .AS file as part of a [custom] package. If I understand the manual correctly, one can only make use of one instance of the Public specifier within an .AS file (or is it the package itself?), therefore only one class can be accessible externally. Correct? If so, one must define a custom namespace that would be applied to properties and methods within the classes written in the packaged .AS file. Am I lost here?? So, instead of referencing the enclosed methods/properties via a class name, I'd do it via the custom namespace { example, mynamespace::myMethod(); } Correct?
Regards,
Ron
