I have a movieclip on the stage with an onPress event handler and a mouse event listener applied to the movie.  It works just fine until I drop a TextArea component on the stage. 

I put this example together to show the problem:



When I drop the TextArea on the stage and the client types something in one of the TextAreas then the button events aren’t properly firing.  The example has several extra text fields on the stage, but the problem shows up even if it’s just the single TextArea and the button (and I trace the output).

Also.. if I comment out the mouse listener and have _only_ the myButton.onPress event handler then the button still doesn’t work all the time.  I just added the listener to show that the button is getting pressed and something is registering it.

Someone on Flashcoders noticed that the problem only occurs if you hold the mouse still and click repeatedly.  If you move the mouse and click then it works.

(update 5/15/04) - I should have noted that I don’t see this problem if I use myBtn.onMouseDown There was a reason why I couldn’t use onMouseDown and was trying to use onPress, but at the moment I can’t remember what the reason was.