1 Reply Latest reply on Oct 27, 2008 7:09 AM by kglad

    Create a pause, then resume


      I have a button that does two things:
      1. goto and play a movie clip
      2. Loads an external swf

      I need some AS2 code that creates a small delay (of 5 seconds for instance) before the external SWF loads.

      Here is my code:

      my_button.onRelease = function(){
      //* need to pause for a couple of seconds before proceeding with the next line
      _root.site.content_box.loadMovie("my_external.swf", 0);