View Full Version : Button Rollover Question
millrlyt
10-27-2002, 08:06 PM
I am having a tough time figuring out how to get my button to work properly - in my over state, i have a small animation. In my down state, I have another small animation. The problem is, when i click on my button, unless I hold the mouse button down it reverts to the over state and does not complete my down animation - what can i do to make sure the animation in the down state plays completely???
Thanks in advance for the help....
Rupert
10-27-2002, 10:29 PM
You might need to build a button from a movieclip instead of using one of the predefined buttons. This means you create your animations inside another movieclip where you can have a little more control over how they play. So, look into using an invisible button (hit state only) inside a movie clip that contains your other animations.
OR you can use your button to trigger a couple of hidden movieclips that are sitting on the stage in the same place as your button.
Did I make sense then?
Abelius
10-27-2002, 11:10 PM
That's why I love movie clips... :)
remka
10-28-2002, 01:56 AM
I guess the simpler way is to create a button, edit it, and inside it, transform the "over and "clicked" frames in MC.
Edit these MC, and put in them your animations, with the actions you need.
AND don't forget the transparent zone for the hit area.
This is maybe a poor way to create animated buttons, but it's the simpler one.
millrlyt
11-01-2002, 10:23 PM
Thanks for the help! I havent had a chance to try it out...but will let you know if it works...
Pal3rm02k
11-02-2002, 04:55 PM
hey remka u didn't understand what millrlyt wanted !!!
remka
11-02-2002, 04:59 PM
Ah.. Sorry...
I thought this could be the way, if he puts a "stop" at the end of each animations contained in his mc.
But perhaps not...
millrlyt
11-07-2002, 07:29 PM
Thanks everyone - got it to work...
Cheers
millrlyt
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.