attached a class that does that, hope it helps...

example : 

trace( ClassUtils.getFullClassPath( canvas ) ); // flash.display.Bitmap
trace( ClassUtils.getSuperClass( canvas ) ); // flash.display.DisplayObject








On 1 Dec 2010, at 23:40, Micky Hulse wrote:

> On Wed, Dec 1, 2010 at 3:25 PM, Glen Pike <[email protected]> wrote:
>>   If your downcast does not work - the "as" bit - your variable will be
>> null -it does not throw exceptions.
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/operators.html#as
> 
> Excellent! Thanks for the clarification.
> 
> Thanks Glen and Henrik! I really appreciate the pro help. :)
> 
> Have a great day!
> 
> Cheers,
> Micky
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to