Image slider

Im basically trying to make a image slider: I have images in a row and I want the image slider to add the last image to the front every time it goes off the right of the stage…How can I do this?

this is kind of how it is setup:

**left end of stage- [COLOR=DarkOrange]< [/COLOR]Img_1 Img_2 Img_3 Img_4 **[COLOR=DarkOrange]>[/COLOR] -Right end of stage

So if i click on the right arrow (the orange arrow…^) Img_4 will slide to the right off stage, and I want it to move to the beginning after it slides off so:

**[COLOR=DarkOrange] [COLOR=Black] Img_4[/COLOR] < [/COLOR]Img_0 Img_1 Img_2 Img_3 **[COLOR=DarkOrange]>[/COLOR]

hopefully you better understand what im asking now? :slight_smile: Thanks in advance

ps. Hopefully I wont have to tell each image to move to the front but perhaps there is a way to reference the image off stage (to the right) and automatically move it to the front without specific coding like: If** Img_4.x > 1000 { Img_4.x = Img_0.x -Img_0.width};** :wink: know what I mean?