# Continuous image scroller

**URL:** <https://forum.kirupa.com/t/continuous-image-scroller/230089>\
**Category:** flash\
**Created:** [June 22, 2007, 1:58pm UTC](https://forum.kirupa.com/t/continuous-image-scroller/230089 "2007-06-22T13:58:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![janed](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@janed](https://forum.kirupa.com/u/janed)\
**Post date:** [June 22, 2007, 1:58pm UTC](https://forum.kirupa.com/t/continuous-image-scroller/230089/1 "2007-06-22T13:58:12Z")

</div>

[FONT=Arial][COLOR=black]Hi - I wonder if you can help please?[/COLOR][/FONT]  
[FONT=Arial][COLOR=black][/COLOR][/FONT]  
[FONT=Arial][COLOR=black]I found a tutorial for a continuous image scroller at [SIZE=2][http://www.wildform.com/tutorials/continuous\_scroller/](http://www.wildform.com/tutorials/continuous_scroller/) although i’m having a few problems making it work.[/SIZE][/COLOR][/FONT]  
[FONT=Arial][COLOR=black][/COLOR][/FONT]  
[FONT=Arial][COLOR=black]I have type this script on all the movie clips instances (i want mine to scroll vertically):[/COLOR][/FONT]  
[FONT=Arial][COLOR=#810081][COLOR=#000000]  
[/COLOR][COLOR=#006600]onClipEvent(enterFrame) { // movie clip enterframe event  
\_y=\_y+2; // change position for each enterframe event  
if(\_y\>=540){ // condition  
\_y=-360; // if condition true movie clip jumps to starting postion.  
}  
}[/COLOR][/COLOR][/FONT]  
[FONT=Arial][COLOR=#810081][/COLOR][/FONT]  
[FONT=Arial][SIZE=2]The “if(\_x\>=540)” value - do you know if this the total size of all the movie clips? ie. if I had 10 movie clips at 10 pixels each, this figure would be “if(\_x\>=100)” …? Also I can’t figure out t[/SIZE][/FONT][FONT=Arial][SIZE=2]he “x=-360;” value - is this the total width of the stage do you think?[/SIZE][/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]Any help would be appreciated.[/FONT]
