Get an object’s class name

DescriptionActionscript snippet by - 03/06/10

Use this actionscript function to get the name of an object's class.

Tags ,

static function getClass(obj:Object):Class
{

return Class(getDefinitionByName(getQualifiedClassName(obj)));

}
  • Share
Submitted by: Adam J Nowak
http://hyperspatial.com

Comments and Feedback