On 11/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
But one issue that sometimes puzzles me is how to accurately reference the 
class anywhere in a class.
If you are sub-classing a Movieclip, then technically speaking, using 'this' 
references the MovieClip, not the class, am I correct?

Yes; that's why you can't use "this" in static methods. It always
refers to an instance of a class.

Generally the only way to reference an instance's class is directly;
e.g., referencing "MovieClip" itself. You could also set up an
instance or a static variable that refers to the class. In AS2.0, this
would be of type "Function".
--
T. Michael Keesey
The Dinosauricon: http://dino.lm.com
Parry & Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to