tweening...
look at
[url]http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/i[/
url]
ndex.shtml it has a fully documented tutorial!!
basically, you do so:
function tweenText() {
easeType = mx.transitions.easing.Bounce.easeOut;
var begin = 20;
var end = 380;
var time = .5;
var mc = ball_mc;
textTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end,
time, true);
}
so in your case, you would apply this effect to the _y property of your text
.
the different type of tweening:
Strong
Back
Elastic
Regular
Bounce
None
and the 4 types of easing are:
easeIn
easeOut
easeInOut
easeNone
|