3 Replies Latest reply on Apr 19, 2006 3:37 PM by sneakyimp

    loading two different movie clips in an interval

    Level 7
      So far, I've created a loader swf that just has the action script below in
      the first frame.

      I do not get a script error, however, it is not loading the wanted swf files
      either.

      I think it is because I do not have an action to load - I've created a
      variable with the loadmovie and then an if statement to change the
      variable's value. I then have the code to create the interval.

      I am a beginner coder, so I am hoping any help will be done in a manner that
      I might learn.

      TIA,
      Greg

      toBePlayed =
      loadMovie(" http://www.kfog.com/kfogxml/np_kfog_3_single.swf",self);

      if (toBePlayed =
      loadMovie(" http://www.kfog.com/kfogxml/np_kfog_3_single.swf",self)){
      toBePlayed =
      loadMovie(" http://www.kfog.com/kfogxml/onairnow.swf",self);
      } else {
      toBePlayed =
      loadMovie(" http://www.kfog.com/kfogxml/np_kfog_3_single.swf",self);
      };


      myInterval = setInterval(toBePlayed,30000);