0 Replies Latest reply on Nov 16, 2007 5:59 AM by media_shmedia

    Looping actionscript problem

    media_shmedia
      Im having trouble with my code knowing when it reaches the end of my XML file to then start from beginning...

      Heres the code that isnt working:

      (i have the this code in a timer movie clip I made)

      if (_root.i>_root.xmllength){
      _root.i=1;
      }else{
      _root.i+=2;
      }
      _root.gotoAndPlay(2);