Easy Q. "Movement Using ActionScript" Tutorial

What I have to do in order to make this animation to Loop
Because it play only ones and then disappear

onClipEvent(enterFrame) {
speed = 1;
this._x += speed;
}

Thank you in advance.

This is the code that worked for me. The first number that I checked for is the width of the movie in this case 550, and -114 I got from the width of my object you can change this depending on the width of your object, when you tell it to return after it has passed 550 you want to make it seem like its coming back out the other side so if you take the width of your object and make it equal to where it would go back to, it makes the animation seemless. You change this number to a positive and the animation will become jumpy as it goes from 550 to say 14(14 is just an example).

onClipEvent (enterFrame) {
speed = 1;
this._x += speed;
if (this._x > 550) {
this._x = -114;
}
}

Hope this helps.

Kyle

Thank you iceman
Work very smooth:)