Hi, I' trying to get the class name of a class in order to serialize a scene. 
Since I donĀ“'t have a traditional programming background I have a hard time 
searching for this since I really don't know the vocabulary.

In this code I'd like the trace function to output "MyClass":

class MyClass extends MovieClip {

 function MyClass (){
      trace (this.className) 
 }

Is this possible? Or is this information lost when the code is compiled?

Thanks for any help!

/David
_______________________________________________
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