On Wed, Apr 20, 2011 at 5:31 PM, Micky Hulse <mickyhulse.li...@gmail.com> wrote: > Sorry if simple one... I am sure I am overlooking a good/easy solution here. > :)
Ah, this works: https://gist.github.com/933493 Specifically: public static var CLASS_REF:Class = Test; ... if (this.root is CLASS_REF) { trace(this.root); } else { trace('Not ' + CLASS_NAME); } Maybe there is a better way? I am wondering if I should put the above if/else in a try/catch? Thanks! Micky _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders