Simple Tween Animation using TweenMax


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // import com.greensock.*;
  2. // import com.greensock.easing.*;
  3.  
  4. //tween the MovieClip named "myMovieClip" over the course of 3 seconds
  5. TweenMax.to(myMovieClip, 3, {alpha:0.5, x:200, rotation:45});

URL: http://www.greensock.com/tweenmax/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.