|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Forcing button 'over' anim to play...
Ok this may sound strange in the way I explain it...
I have an animation clip (bout 20 frames long) in the over frame of all of my buttons... basically all I want to do is to force the animation to carry on playing even if the mouse just passes over the button. So it doesn't just stop dead after playing 3 frames or so. To see what I mean see http://www.ravensoft.com/frameset.html. -D Last edited by DEfusion : June 14th, 2003 at 03:56 PM. |
|
#2
|
|||
|
|||
|
also...
This is not as important as the above question.
But say I have an animation in frame x of a movie. When I rollover a button the movie goes to this frame and the animation plays once then stops... when rollout of the button the movie returns to frame 0. Now this may be a long shot, but say the second time is there anyway for the movieclip to know that it has been played and thus just goto the last frame... i.e. have an actionscript (which I know very little about - not even all the basics of the syntax) in the last frame of the animation that does: PLAYED = 1; stop (); and then in the first frame of the animation have a simple check to see if the variable PLAYED is set. I know how I'd do this in PHP but I have no idea about actionscript. Any help would be cool. -D |
|
#3
|
|||
|
|||
|
pretty simple i think,
or just use this action script on (rollOver) { xxxx.gotoAndPlay(2); } just gotta set ya stuff up right.... and once its been rolled over also have it change a varible from 0 to 1, then if that varible is 1, when it gets to the last frame of ya animation tell it to gotoAndPlay(2) , this way it will skip frame 1.. ![]() Last edited by Gappa : June 25th, 2003 at 06:55 AM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Forcing button 'over' anim to play... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|