RSS

Adobe flash Action script 2 undocumented tween class

21 Mar

function tweenBall(mc,begain,end) {
easeType = mx.transitions.easing.Bounce.easeOut;
//var begin = 20;
//var end = 380;
var time = .5;
//var mc = ball_mc;
ballTween = new mx.transitions.Tween(mc, “_x”, easeType, begin, end, time, true);
}

tweenBall(ball_mc,20,380);


Click here for more detail.

Advertisements
 
Leave a comment

Posted by on March 21, 2011 in flash

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: