Class in classes
In an attempt to learn classes and ratchet up my knowledge to the next level of useage I’m going to add some entries to my blog as I learn. So that I can chart my progress.
By declaring a GenericObject an external actionscript class of the same name is automatically called when the movie plays. For instance:
var myGenericObject:GenericObject=new GenericObject();
will trace [object Object] from .as file with the name of GenericObject.as.
The player automatically looks for it in the root directory and hey presto – you have created a class!