hi guys,
I realy need you…
can you help me to set MOVE Interval for every duplicating Mc
(i want my “item” to tween with interval, when i press “btn” = move with “first item” [COLOR=red]interval[/COLOR] “second item” [COLOR=red]interval [/COLOR]etc… )
here is my code WITHOUT interval
//////////////////////////////////////////////////////////////////////
stop();
var tween:Number = 3;
stageX = 0;
mcWidth = 110;
posX = 0;
total = 8
for (i=0; i<total; i++) {
this.item_mc.item.duplicateMovieClip(“item”+i,i);
this.item_mc.item._visible = false;
this.item_mc[“item”+i].mc = i;
this.item_mc[“item”+i]._x = mcWidth*i;
if (i == total-1) {
mc = 0;
}
}
this.onEnterFrame = function() {
posX = stageX-item_mc[“item”+mc]._x-item_mc.item._width/2;
item_mc._x += (posX-item_mc._x)/tween;
};
btn.onPress = function() {
mc += 1;
};
//////////////////////////////////////////////////////////////////////
Thank you…