|
| rotation problems |
 |
Fri, 9 May 2008 20:49:05 +0000 |
Hi all,
Newbie here. I'm having trouble with a simple animation. I want to rotate a
wheel 2 rotations at10 fps over 800 frames, looping endlessly. The problem is
that the motion pauses briefly as the animation loops back to frame one since
frame 1 and 800 are the same wheel position. Is there a way to tween the motion
so that wheel spins without this duplicate frame pause. Thanks
TP
|
| Post Reply
|
| Re: rotation problems |
 |
Fri, 9 May 2008 20:54:34 +0000 |
You can try having it gotoAndPlay(2) at frame 800 instead of frame 1. That
avoids the duplication.
You might consider eliminating the lengthy timeline altogether and just change
the rotation property of the wheel (movieclip, I assume) using an enter frame
event. It depends on what else is going on in those 800 frames.
|
| Post Reply
|
| Re: rotation problems |
 |
Fri, 9 May 2008 20:59:56 +0000 |
|
| Post Reply
|
| Re: rotation problems |
 |
Fri, 9 May 2008 21:03:11 +0000 |
indeed Ned - some time ago another poster was looking for something similar so
I'd constructed an example
http://forums.flashgods.org/rotating-wheel-animation-t104.html (click on the
swf then use the up and down keys to accelerate and brake) you are welcome to
DL the fla to view the codes used. This example also demonstrates the use of
code to 'pan' the bg ground with the speed of the wheel.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|