PDA

View Full Version : Animating obect's Y-axis @ different frame points


Sara Schaffner
05-31-2003, 08:47 PM
Hi! This is a GREAT site! =)

I went through the tutes and found something close to what I'm trying to do (Int. #15: Motion using Actionscript), but nothing succesful yet. Please help!

Let's say I have 5 marker points in the Flash movie and I have a menu that takes me to any one of those marker points at any given time. In each marker, I want to have a single object move to a specified position. That's easy, but I want it to *move* to that specified point along the Y-axis rather than just appear there. Obviously I can't keyframe because going from one marker to another will have different y-axis positions.

I'd also like to try something similar where instead of changing the Y-axis, I'm changing the Y-scale (of a different object). I figure both would have very similar scripting.

I don't need any kind of mouse interaction, just for it to do its thang when it enters the frame marker.

I come from a Director Lingo background, so this Flash AS stuff (I'm using MX) is really new to me. Sorry! Looks more like JavaScript.

Anyway, thanks for your help!!! =)

pixelwit
05-31-2003, 09:37 PM
Maybe the file found in this thread (http://www.actionscripts.org/forums/showthread.php3?s=&threadid=28867) will help you figure things out.

-PiXELWiT
http://www.pixelwit.com

Sara Schaffner
06-02-2003, 01:47 AM
That worked out great! I even got it to work using _yscale for the vertical scaling I wanted. Thanks!!!

This place rocks!

pixelwit
06-02-2003, 02:28 AM
Welcome.

-PiXELWiT
http://www.pixelwit.com