If you need to find the class name of an object instance you can use:
className = flash.utils.getQualifiedClassName(yourObject);
This will return a string containing the name of the class that is the base for yourObject. Is very helpful when you need to show errors in big applications.
The returned value is something like this: my.path.to.class::className.
Tags: ActionScript, class, flex, oop
This post was written by Andrei Ionescu
Views: 2004



















Thanks a lot, dude !!
[...] of using typeof we will use flash.utils.getQualifiedClassName static method (see also this old article) - more about typeof operator and its return values [...]