PDA

View Full Version : Speed Control


Suchy
09-10-2005, 07:20 AM
Is there a way to increase/decrease the speed of one of the movie clips in my movie.
The frames per sec script would not be good here, because that will change the speed of the whole movie.

Headshotz
09-10-2005, 09:46 AM
Is the movie clip manually done like tweened?

oldnewbie
09-10-2005, 02:05 PM
//Edited out...

Suchy
09-10-2005, 03:49 PM
Is the movie clip manually done like tweened?

Yeah, it is a box that moves around on a guide layer and it gets bigger, and smaller.
I would like the speed up and down the process with buttons.

Dylan Marvin
09-10-2005, 09:49 PM
Sticking with a tweened movement would end up being a mess if you were to try to code it to jump frames at increasing intervals to simulate speeding up. I'm sure it can be done, but it might look choppy.
Is it possible to code all of the movement and property changes in your clip instead of tweening? How complicated is the guide path? Better yet can you attach a fla?

Headshotz
09-10-2005, 11:48 PM
Something like a motion guide would be possible with AS, it just depends how complex the animation is.

Suchy
09-11-2005, 01:33 AM
Here it is.

http://www.geocities.com/pykacz1/1.swf

I think that the movement is too complicated for as.

Dylan Marvin
09-11-2005, 02:55 AM
Well, if you are not married to the exact direction and rotation/scaling, you could very much code it to bounce around and flip and scale; it would be a very similar effect, but not exact (more of a random bouncing off edges and so forth, but the user wouldn't know the difference). From there, all speed and properties could be conrtolled by a single variable which the user can modify via buttons or whatever. That's my humble suggestion, shouldn't be too hard ay all. If you were to go with that, search around for "bouncing" code on this site and alter it accordingly. If you need help with the code I'd be more than happy to assist (just give me a day or two--off for the weekend now). Cheers.
Might help for bouncing:
http://www.actionscript.org/forums/showthread.php3?t=78163