var image:Sprite = images[i].clip; if(image.x >= parent.stage.stageWidth) { image.x = images[/* :( */].clip.x - image.width - 1; } image.x += 3;