a possible (partial) solution:
//
//import the basics
//
import mx.transitions.Tween;
//define the motion //blok_mc is the instance name of a MovieClip
//
var myTween:Tween = new Tween(blok_mc, "_x",
mx.transitions.easing.Bounce.easeOut, 0, Stage.width-blok_mc._width, 3,
true);
//
myTween.onMotionChanged = function() {

//round off the position value somewhat
//this.position is the key element
var MyPos=Math.round(this.position);
trace(MyPos);
if (this.position>80 && this.position<100) {
 trace("between 80 and 100");
}
};

//


thanks again for your assistance,

Ben



On 8/30/06, Ramon Miguel M. Tayag <[EMAIL PROTECTED]> wrote:

you can do sqdown.onMotionProgress - it'll dispatch an event every
step of the way for you to track.

There are a bunch of other undocumented events that Tween dispatches
that you should check out


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to