2 Replies Latest reply on Jul 26, 2006 1:06 PM by DYING_WISH_REC

    Random Movie Loading


      i am using this randomizing code from kirupa:

      filename = ["track1.swf", "track2.swf", "track3.swf", "track4.swf", "track5.swf", "track6.swf"];
      path = "media/";
      i = filename.length;
      k = Math.floor(Math.random()*i);
      loadMovie(filename[k], movieTarget);

      view the file, a random movie does get loaded into the movieTarget instance, but it does not display visually... I can hear the audio, but no visuals...

      this code was created for MX and MX 2004... could this be different for Flash 8?

      Thanks in advance for any help.