Monday, September 15, 2008

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.

2 comments:

Unknown said...

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

Craig Grummitt said...

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.