Whenever I need to work with a reference to a leaf node, I run a loop like this:

for(var obj=target;obj!=stage;obj=obj.parent) {
        if(target is Type) {
                yay();
                break;
        }
}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to