1 Reply Latest reply on Nov 7, 2007 1:35 PM by clbeech

    continuous image scroll

      I have made a continuous image scroll, but as it it loops it messes up my spacing between my images. I am trying to scroll about 25 images each of which are are their own movie clip. I have this code which works well for five images now I want to ad about 20 more.
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::
      onClipEvent(enterFrame) { // movie clip enterframe event
      _x=_x+2; // change position for each enterframe event
      if(_x>=540){ // condition
      _x=-360; // if condition true movie clip jumps to starting postion.
      :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::
      The tutorial I am using states this:
      "if(_x>=540)" value depends on the no. of movie clips., but I am confused as to where the 540 comes from? is it the length of all of the movie clips put together?

      I am confused as to how to alter this so it works with around 25 images any help would be greatly appreciated!
      Thanks so much!