[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/ 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]