EASY ActionScript do tweening

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
878 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 23, 2008

Use ActionScript to do tweening motion
which is easy to control MC speed!! Fun

FREE Download codes(免費下載源碼)
http://annwongfresh.blogspot.com/


enter_btn.onRelease = function(){ easex(ball_mc, 400, 90); };

function easex(mc, targetX, targetY){ mc.onEnterFrame = function(){ var distanceX:Number = targetX - this._x; var distanceY:Number = targetY - this._y; this._x = this._x + distanceX / 5; this._y = this._y + distanceY / 5; };

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • another way to do Flash motion tweening

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more