Tween class and onMotionFinished script

hey guys.

here’s my script:

import mx.transitions.Tween;
import mx.transitions.easing.*;

preview.onRollOver = function() {
var xscTweenOver:Tween = new Tween(this, “_xscale”, Elastic.easeOut, this._xscale, 1000, 1, true);
**var yscTweenOver:Tween = new Tween(this, “_yscale”, Elastic.easeOut, this._yscale, 1000, 1, true); **
}};

preview.onRollOut = function() {
var xscTweenOver:Tween = new Tween(this, “_xscale”, Elastic.easeOut, this._xscale, 100, 1, true);
var yscTweenOver:Tween = new Tween(this, “_yscale”, Elastic.easeOut, this._yscale, 100, 1, true);
};

fairly simple. but here’s what i’d really like to do. i want the first tween to execute (_xscale) and then after that is finished execute the (_yscale) tween. i’ve thought about using onMotionFinished…but am not exactly sure how to go about getting it to work correctly. any AS junkies care to help? :thumb2: