Actionscript Query
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- function820
i think this this is what you're looking for
http://www.uncredited.net/ASmove…
i wrote this a bit ago, hopefully it helps
i'll explain a bit
basicly to move an object you type
objectname.xyMove(X,Y,Style,Spee...
to move only say, the X position
objectname.xyMove(100,S,"noease...
you can leave out the last 2 variables and they will default to whats defined in the script, ie. speed 15, no ease
i use S to move only one axis, ie
to move x only (10,S)
to move y only (S,10)i've found for best results use frame rates over 25
change the movement style to whatever you want, i've inculded 4 samples, generated with http://timotheegroleau.com/Flash…
the key thing about using easing equations formed with this app is you HAVE to change the first + to a - (ie. b+c needs to be b-c) if you dont, it wont respond correctly... anyway, hope this helps, and hopefully my explanation isnt too confusing... oh, one more thing it sets a variable when its done, so you can program it to do things once a movement is finished