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?
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.
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.
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.
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)
Don't see what you're looking for? Try a search.
|