time delay

  • Started
  • Last post
  • 2 Responses
  • jobhall

    does anyone know if it is possible to load a .swf after a certain amount of time goes by?

    ie, i want to load main.swf about five seconds after another swf, slider.swf, has played. I know how to do it for streaming music, but i don't think it is the same code.

    thank you all

  • PIXELRANGER0

    Ghetto way = if your FPS is 30 make a movie clip with an actionscript 150 frames after a stop() once the one part you want is done..tell it to go play that Movie clip...that movie clip goes 5 seconds..hits its end and plays loads the next movie clip. Just have all the movie clips talk back and forth to each other you can load them all at once if you want and just put stop(); in the beginning of each one..and have the main movie just call them out by level..or by the movie clip you loaded them into. Just get funky with it.

    You can also do some sort of countdown actionscript if you want. dont have one handy though.

  • jobhall0

    i am going to do it that way as a last resort. i got this code from macromedia:

    obj = new Object();
    setInterval(obj, "interval", 2000);
    obj.interval = function() {
    blank.createEmptyMovieClip(blank...
    loadMovie("yourMovie.swf", blank);
    }