Forum Moderators: open

Message Too Old, No Replies

Flash animated button problem...

animation doesn't stop on mouse-out

         

jondb

9:40 pm on Jul 18, 2003 (gmt 0)

10+ Year Member



I've created an animated button in Flash. The animation is nested in the mouse-over state only, but when the mouse leaves the scene the button keeps on rolling! What have I missed? I do want the clip to loop for as long as the mouse is over.

Button is imported into Dreamweaver, by the way.

Any ideas?

broniusm

10:19 pm on Jul 18, 2003 (gmt 0)

10+ Year Member



If your rollover says play(), you need a rollout that says stop().

Keep in mind where it stops: you may want to say something like gotoAndStop(0); // or a frame name

have a nice weekend

(waitaminit-- I think I missed the whole point of your post. sorry. Haven't done buttons with flash in one state of a rollover.. could be similar answer, though)

kingkelly

12:12 am on Jul 19, 2003 (gmt 0)

10+ Year Member



If me understands correctly, it plays animation on the 'over' state, and you want it to stop when the mouse goes off the button? WEll, there should be a keyframe on the 'UP' state, then another with the animation on the 'over' state. You could always add a stop() action to the 'UP' state for good messure....