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
Whenever I need to work with a reference to a leaf node, I run a loop
like this:
- [Flashcoders] AS3 mouseUpOutside not working, yuck! Mendelsohn, Michael
- Re: [Flashcoders] AS3 mouseUpOutside not working,... Henrik Andersson
- RE: [Flashcoders] AS3 mouseUpOutside not work... Mendelsohn, Michael
- Re: [Flashcoders] AS3 mouseUpOutside not ... Henrik Andersson
- Re: [Flashcoders] AS3 mouseUpOutside ... Ian Thomas
- Re: [Flashcoders] AS3 mouseUpOut... Henrik Andersson
- Re: [Flashcoders] AS3 mouseU... Ian Thomas
- Re: [Flashcoders] AS3 mo... mark . jonkman
- [Flashcoders] FLV loadin... Mendelsohn, Michael
- RE: [Flashcoders] FLV lo... Merrill, Jason
- RE: [Flashcoders] FLV lo... Mendelsohn, Michael
- RE: [Flashcoders] FLV lo... Merrill, Jason
- RE: [Flashcoders] FLV lo... Mendelsohn, Michael
- RE: [Flashcoders] FLV lo... Mendelsohn, Michael

