Hi Michael 

Did you set the mouseChildren to false? Without Flash open at the second so I 
might get one or two minor things wrong here, but if you don't explicitely set 
mouseChildren to false, then the child elements within the MovieClip instance 
will be the target as the event bubbles. However, if you set the mouseChildren 
to false, the target then becomes the containing clip. 

So if you had a class called MyButton, in the constructor of that class you 
would need to set the mouseChildren = false and probably buttonMode=true 
(assuming its just a MovieClip) and you want the finger cursor. 

Sincerely 
Mark R. Jonkman 



----- Original Message ----- 
From: "Michael Mendelsohn" <[email protected]> 
To: "Flash Coders List" <[email protected]> 
Sent: Thursday, November 19, 2009 3:50:07 PM GMT -05:00 US/Canada Eastern 
Subject: RE: [Flashcoders] AS3 mouseUpOutside not working, yuck! 

Thanks for answering Henrik. I just figured out a solution. I have to add a var 
to record what was clicked, and then compare that against the event's 
currentTarget. It seems like an awful hack though. I'm hoping there's something 
simpler. 

- MM 


_______________________________________________ 
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