Search code examples
actionscript-3flashtween

Flash - how to make motion tween go in straight lines


I have a MovieClip and I want it to have a motion tween which goes up for 10 frames and then right for 10 frames. What I tried was giving the MovieClip a starting and end position (and then those green motion tween lines appeared) and I tried dragging from the middle of the green line but that gives the motion tween a round shape, it isn't a straight vertical and then horizontal line, which is what I want.

Is there any way to create a motion tween which goes straight up (vertical) and then horizontal?

I am using Adobe Flash CS5 and actionscript 3.


Solution

  • Using the line tool, you can draw two lines perpendicular to each other (thus forming a right angle). Then, you can copy and paste the line drawing onto your motion tween layer. It will replace your curved path.