all groups > flash actionscript > february 2007 >
You're in the

flash actionscript

group:

onRollOver - mouse too fast??



onRollOver - mouse too fast?? Ares94
2/2/2007 9:50:10 PM
flash actionscript: I have a simple movie clip that says PRODUCTS and the "onRollOver" just makes
the letters turn yellow. "onRollOut" makes them white again.

But if I move the cursor over it [b]too quickly[/b], it fails to trigger the
"onRollOut".
It just turns yellow and stays that way.
When I move the cursor back over it, then it finishes the "onRollOut" section.

How can I fix this?
Re: onRollOver - mouse too fast?? babo_ya
2/2/2007 10:51:04 PM
WoW how fast? I created a button with both onRollOver & onRollout events and I can't get it to stay in rollOver state.
I think the issue is something else.

Re: onRollOver - mouse too fast?? Ares94
2/3/2007 5:30:06 PM
When I put my mouse over it, it turns yellow, when I remove it, it turns back
white.
That's fine.

But if I drag the mouse over it, it only activates onRollover..
You don't even have to drag it over that fast.
Re: onRollOver - mouse too fast?? wwscoper
2/3/2007 8:07:43 PM
Have you tried onReleaseOutside?

If you are holding the mouse button when you drag over it, and then release when you are not over the movie clip, you should use this.

Re: onRollOver - mouse too fast?? depakchopra
2/3/2007 8:58:02 PM
Ive had that problem before, what I did was create a larger button movie clip
around the smaller button. The only thing that the larger mc would have in it
is an onRollOver function that would reference the smaller button. The large
button would be an invisible one. I dont think I am making sense. THe large
field would be a gotoAndPlay(up), the smaller button would gotoAndPlay(over)
and onRollOut would for both play (up)

AddThis Social Bookmark Button