PDA

View Full Version : "Fade out" animation?


sChpa
09-09-2002, 01:35 PM
Hello!

I have a spinning object that i would like to slowly stop spinning when a button is clicked, and start to stop from where it originally is when the button is clicked.

Does anyone know how I can do this?

Thnx for any help! :D

sfa
09-09-2002, 03:45 PM
if you have the spinning animation in an MC all you need to do is to target the MC and tell it to stop().

SFA

sChpa
09-09-2002, 04:06 PM
But that would just make it stop there and then. I'd like it to spin maybe half more round after the button is clicked, while it slowly stops.

I'm sorry if I didn't explain the problem too well. I'll try and make it clearer.

The animation is some text spinning "inside" an lp graphic, making it look like the lp's spinning around and around. To make it more belivable i'd like it to spin a little more after a "stop"-button is clicked.

I've tried to use gotoAndPlay to a frame where a new tween-animation is inside the text-spinning mc making the text stop after some frames, but then the text has to "jump" to where it is in the start of the new motion-tween making it look kinda crapy.

Does this make any sense? :confused:

sfa
09-09-2002, 04:08 PM
Are you at all familiar with scripted tweens? It would be much easier and smoother if you did it that way because you can reduce the speed gradually until it stops.

SFA

sChpa
09-09-2002, 04:17 PM
Unfortunatly I'm not at all familiar with scripted tweens....

Do you have any tips for a noob on where to start learning? :)

sfa
09-10-2002, 07:44 AM
Try this (http://www.actionscript.org/tutorials/intermediate/actionscripted_movement/index.shtml) tutorial, it is very easy to understand. Should you have any problems, just post them in this thread.

SFA

sChpa
09-10-2002, 11:54 AM
Thnx for your help, sfa! :D

The tutorial looks great. I'll take a closer look at it and see if I can figure it out.