PDA

View Full Version : Is this possible? - Easing a movieclip timeline


Hallvalla
02-17-2006, 01:31 AM
Hi. I'm trying to create a smooth ObjectVR for a 360° product rotation in Flash.

Since the movieclip is made up of 36 sequential images (10° each), does that make it impossible to add easing to it? I'm trying to make the start and stop of the rotation (either as a draggable mouse over or just with simple timeline buttons) super smooth, instead of just starting and stopping on a dime.

Here is a .fla file of my movieclip, without any actionscript if somebody wants to play around with it.

http://homepage.mac.com/hallvalla/sa...uo_400.fla.zip

Also, I'd like to control the speed of the rotation somehow. Let me know what you guys think.

Hallvalla
02-17-2006, 02:43 AM
I'm starting to think this isn't possible... :(

...but that's why they pay you guys the big bucks. :D

Anybody?

hkrebs206
02-17-2006, 07:43 AM
Sure, it's possible. With any tween, you'll have a start value and a target value. You're start value is the current frame of the timeline, and the target value is the frame you want to end up on. You won't be tweening the movie clip timeline directly, but you'll tween a property of some other object, then apply its value to the gotoAndStop() function of the movie clip whose timeline you want to control.

I couldn't download your file (broken link), but I put something together real quick. The block is a movie clip with 36 frames:

http://www.hanskrebs.com/timeline_tween/

Not sure if it will help -- it's more of a proof of concept than anything.