[osflash] Mouse out of Stage solved?
Zippy Doo
zippy.doo23 at gmail.com
Thu Apr 26 07:26:07 EDT 2007
Its not my example unfortunately. I spotted it on the web recently.
Really i'm looking to restart a discussion about possible ways to reproduce.
I'm frankly baffled. And its the first time i've ever seen a flash movie
(other than beautiful design) and deeply wondered "how the hell?"
However I think previously discussion about this issue has started and
finished with :
"its not possible, use javascript". Now we see an examaple of the possible
its perhaps simpler to find a solution.
My initial thoughts tend down the route of complexity: One method that
works is to detect an unmoving mouse and fire an out of bounds call on that
- obviously this fails (drastically) when the mouse is intentionally still
over the banner. Perhaps this method can be combined with an examination of
a vector (speed and direction) of the last known movement - was this
heading towards the border at a speed over x (where x is some value
representing the limits of flashes mouse accuracy).
Any others?
On 4/26/07, henrik weber <hw at freemind-design.de> wrote:
>
> i second that ian; really sounds interesting.
>
> the only thing we seem to have missed is: where are the sources of this
> example???
> have you posted it already or when are you planing to release them zippy
> doo?
>
> or did we misunderstood your posting and you are searching for the sources
> of this
> example yourself :-\
>
> tia!
>
> henrik
>
> --
> __digitalspices__
> Henrik Weber [MediaDesign&FlashDevelopment]
>
> home: www.digitalspices.com
>
>
> Ian Thomas wrote:
>
> That's very interesting - I've had exactly the same problems as you
> and would like to see how it's done.
>
> And no, I don't consider it OT at all.
>
> Ian
>
> On 4/26/07, Zippy Doo <zippy.doo23 at gmail.com> <zippy.doo23 at gmail.com> wrote:
>
> 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> <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.orghttp://osflash.org/mailman/listinfo/osflash_osflash.org
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.orghttp://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.orghttp://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
> _______________________________________________
> 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/ef571cb0/attachment.htm
More information about the osflash
mailing list