Groups | Blog | Home
all groups > flash actionscript > april 2006 >

flash actionscript : Return proper class name with typeof?


David Stiller
4/19/2006 4:31:25 PM
jonwillis,

[quoted text, click to view]
"com.my.classes.ClassName" or just "ClassName")?

Nothing. Just use instanceof. ;)


David
stiller (at) quip (dot) net
Dev essays: http://www.quip.net/blog/
"Luck is the residue of good design."

jonwillis
4/19/2006 8:24:27 PM
When I perform a typeof on any of my custom AS classes, it returns "object."
What property or method do you have to add to your classes in order to return a
valid type name (for instance, "com.my.classes.ClassName" or just "ClassName")?
AddThis Social Bookmark Button