7 Replies Latest reply on Feb 5, 2008 12:44 PM by harms239b

    Load single mc at random interval

    harms239b Level 1
      I have a mc "bird" on the root timeline I would like to load randomly between 15-30 seconds. It is the same mc over and over, I just want to break up its pattern a bit with a random load. On the bird mc I have the following:


      function go() {
      _root.loadMovie("mc1");
      }
      setInterval(go, 100000);


      HOWEVER, this gives me the following error after 10 seconds:
      Error opening URL "file:///C|/Documents%20and%20Settings/John/Desktop/mc1"

      Anyway....if anyone that knows what they are doing can help lead the blind (me), I would appreciate it. Again... being able to set a min and max interval time and randomly load the same movie clip on the main time line is what the goal is.

      Using Flash Pro 8 AS 2.0