Actionscript Query
Actionscript Query
Out of context: Reply #1
- Started
- Last post
- 6 Responses
- ********0
target the x and y properties of the object thus:
object._x = 1;
object._y = 1;in order to give some momentum or inertia or the like then you want to create some sort of "easing" either use Robert Penner's easing equations
http://www.robertpenner.com/easiā¦
Or you can make a loop with a counter which determines the amount that your object is to move...
something like:
counter = 10;
myClip.onEnterframe = function() {
counter --;
myClip._x += 1*counter;
}hope this helps.