4 Replies Latest reply on Oct 3, 2006 11:30 AM by coldMiner

    Random LoadMovie w/ time delays

      Hey guys,

      What I have working is a main movie which is loading random movies to a set target; with a delay before repeating (the delay is on a subsequent frame). The code I’m using for loading is as follows:

      loadMovie("media/backgrounds/spotlight"+(Math.ceil(Math.random()*3))+".swf", "TT");

      What I would like to have happen is that after the delay (which I have on the following frame) the action is repeated and another random movie clip is called. The problem I'm having is that the new movie is replacing the old one; and the movie occasionally repeats.

      Is there a way to use a target but have the new movie placed a level above it?

      What I have so far can be viewed at: http://www.dropik.com/test

      Thanks in advance,