Hi…
I am having trouble figuring out the best way to delay a tween if a mc is still tweening…
anyone have any suggestions? I tried setInterval but couldn’t figure out how to make it work at least in this context…
i have several functions that might be causing the slider_mc to be tweening at any moment (including this one…), and i need the buttons to respond (eventually) to the users press even if they hammer it… but if they do the tween gets interupted and starts from some uneven _x and gets out of alignment. It should only be moved + or - 100 pixels at a time…
my movement functions are like below:
[AS]function moveRight() {
var rightTween = new Tween(slider_mc, “_x”, Strong.easeOut, slider_mc._x, slider_mc._x-100, 2, true);
rightTween[“onMotionFinished”] = function () {
trace (“rightTween Finished”);
}[/AS]
Note that i am using mx2004, and this is the only syntax where onmotionfinished will seem to respond…
Thanks!