I mean only ActionScript. Is that possible to animate an object so that it moves on pre-drawn in Flash Professional trajectory? I know, I can use onEnterFrame with some math equations to move object around, but what if trajectory is too complicated? You see, I don’t even know how to formulate the question. Hope you got me right. Thank you for any hints or tips in advance :))
Share
Create your motion Tween visually. Right-click on the tween in the Timeline. Select ‘Copy Motion as ActionScript 3.0’.
After that, you can just build a function using that code and pass your object to the function as a parameter.