Animating with different speeds, even backwards
Make a moviesymbol with your animation at the slowest speed,
put a stop-action in the first frame of the animation,
place it on the timeline and name it "animation".
To animate backwards set speed to negative Numbers.
If you want your animation to be smoother, you have to
make your animation very long and use a higher framerate,
to keep the speed, eg. 60 fps or something like that.
actframe = 1;
speed = 4;
// nothing in here
actframe += speed;
if(actframe > animation._totalframes) actframe -= animation._totalframes;
if(actframe < 1) actframe += animation._totalframes;
- uh Date: 12/03/2001
- ah Date: 14/05/2001
- TBx Date: 14/05/2001
- James Robinso Date: 18/07/2001
I used the scripting for controling the speed of a mc.
I like the possibilities. I used the swimming fish from common libraries
to test the given code. The fish moves in a jerk motion the higher or
lower the number of the var speed. Why and how do I make the movement
Thanks for offering your wisdom to the public.
- leo Date: 03/11/2001
Why and how do I make the movement smoother?
The only fix seems to be upping the frame rate.
Am I wrong?
cant make it smoother... the speed is how many frames you are 'skipping', so the fater you set it the more skippy it will get.
- vurx Date: 10/01/2002
I canīt have the movieClip playing backwards. I allso need it to play just part of the movie backwards (and forewards),, but it is really giving me a hard time.
I use Flash MX that should be no problem right?
I need help!!!! 8-|
- Soren Date: 29/08/2002
Simple and great.
Thatīs how it always should be and moreover its very cute explained.
- Senen Date: 24/10/2002
But why do you not have an example .swf online?
This because I do not understand it completely; do I have to make the animation first? But then it doesn't do anything 'new'.
- GoGo Date: 02/01/2003
ive been searching for this for a while now.
- Flame Date: 21/01/2003
60 fps? Most computers can't keep up with 30, depending on how complex the animation is.
- FunnyBunny Date: 19/05/2003