Yes, i know that the class name is MyClass when writing the code, but does
the object know what class it is constucted from at runtime?
I want to save out scene objects to a XML-file and need to save what class
the objects are constructed from (or their linkage ID in set in the Flash
IDE).
/David
----- Original Message -----
From: "Merrill, Jason" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, May 25, 2006 2:56 PM
Subject: RE: [Flashcoders] Getting the class name?
Given:
class MyClass extends MovieClip {
function MyClass (){
trace (this.className)
}
The name of the class is "MyClass" - or do you mean the instance name?
Jason Merrill
Bank of America
Learning Technology Solutions
_______________________________________________
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
_______________________________________________
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