Understanding the "Instantiation" of Actionscript/Flash Objects

Posted by parallax7d on Stack Overflow See other posts from Stack Overflow or by parallax7d
Published on 2009-07-28T20:41:26Z Indexed on 2010/06/16 22:02 UTC
Read the original article Hit count: 354

Could someone expand and clarify the different logical instantiations of objects in actionscript? So far it seems there are 3 layers of instantiations, for lack of a better term.

The first one is declaring a variable/type.

Next is instantiating that variable with something solid in the code, like a method or function? Is this just a way to glue things together?

Then after that you instantiate it on the stage, is this something you have to do explicitly, or is it a side effect?

Is this "3 layer" concept the correct way of looking at it, kind of like the MVC for flash app logic?

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3