Say you have an object,
var obj:Object = someOtherObject;
And you need to check if it is of the type with the name stored in myString
var myString:String = someOtherString; // ex. "int", "Number", "CustomClass"
I have tried:
if(obj is getDefinitionByName(myString))
But that doesn't seem to work. How would you go about doing this?