John McCormack wrote:
A class is a template - usually written with a capital letter at the start.
A class doesn't exist in the memory of the program.

If you use
addChild(my_obj);
you add it to the stage (this is the main program's instance).

There are two things here that I have to disagree with. To begin with, classes does too exist in memory. They are real objects and they have properties as well.

And more importantly, your explanation about the stage is not even remotely true. The stage is not the same as the main timeline. You also seem to imply that no matter where someone calls addChild, it will add to the main timeline. Now, I am fairly sure that this was not your intention, but you really need to be more clear about these things.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to