stage.mouseLeave and wmode=transparent

noted a strange incompatibility today – the stage.mouseLeave event doesn’t get triggered when you hold a mouse button down, and drag off stage on a flash object which has wmode set to transparent. in fact doing so takes the focus off the flash object so that regular stage events no longer get triggered until it receives focus again(say by the user clicking on the object).

sounds obscure, but if someone’s dragging a slider and somehow drags off the object, releases the mouse button and then returns to the object, the slider continues to move around with the mouse even though the mouseButton isn’t down.

iOS development with Swift - book: video course:

Tagged with: , ,
Posted in Flash
2 comments on “stage.mouseLeave and wmode=transparent
  1. Vixiom says:

    Hey I’m getting this too, did you happen to find a solution?

  2. My ‘solution’ was just to make sure that the flash object had wmode set to something other than transparent, i’m afraid. bit limiting, i know.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: