Actionscripted tweens?
Actionscripted tweens?
- Started
- Last post
- 3 Responses
- kreydle
anyone familiar with how to move and object in flash to specific cordinates with AS, but make it move like a tween? So it slows down before getting to its final spot?
- F_180
http://www.actionscript.org/tuto…
note: these classes are undocumented. so use at your own discretion as there is no guarantee that they will be supported or even exist in future versions of flash.
- nosaj0
1 subtract the co-ordinate you are at from the co-ordinate you want to go to find the distance between the 2 points.
2 Divide that distance by a number.
3 Set the new co-ordinate of your object to the result of your division.
4 go back to step1 until the co-ordinates are the same.