[osflash] Mouse out of Stage solved?

Zippy Doo zippy.doo23 at gmail.com
Thu Apr 26 05:52:32 EDT 2007


OT?: Apologies if this *is* off topic, I thought an open solution to this
common problem would be useful.  I dont think any exisits as yet, infact
the problem may of been given up on as unsolvable.  Id hoped this example
may reignite inquiry?

OnRollOut will not work - if you move the mouse too fast off the stage,
flash will not respond to the rollOut (as the mouse has moved move pixels
per tick than flash can check i guess).  In this case the x,y position of
the mouse becomes 'stuck' somewhere on the flash movie.  Its only in AS3 we
have the introduction of the new On Stage Leave event.

However this solution and an invisible border - will capture +/- 95% of
mouse out cases.  The example I posted, to the best of my knowledge seems to
capture 100%.


On 4/25/07, Rákos Attila <tenegri at tengerstudio.com> wrote:
>
>
> There is nothing special, a simple onRollOut/onRollOver with a button
> covering the whole stage is always working. But this is slightly
> off-topic I think.
>
>   Attila
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070426/c853b3d3/attachment.htm


More information about the osflash mailing list