Is there a way to get a reference to the runtime type of an AS3 object?
Something like Foo.class in Java? I think I can do

var mysteryObjClass:Class =
getDefinitionByName(getClassInfo(mysteryObj).name);

but this strikes me as a rather roundabout way of doing it.

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com


Reply via email to