When you want to cast type on the class instance to use its class methods but you don’t know the type for this class instance since you only have the reference to it…
In “flash.utils” package, there are 2 functions that is very useful for this kind of situation, they are “getQualifiedClassName” and “getDefinitionByName”.
“getQualifiedClassName” takes any [...]

continue reading.....