Hi,
I’ve attempted using the new tween class in AS 2.0, but have hit a snag. Can someone look over the attached code offering a solution.
myButton_btn.onRelease = function() {
tweenBall();
};
function tweenBall() {
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);
}