Frame Delay in FLASH

Out of context: Reply #6

  • Started
  • Last post
  • 15 Responses
  • majman0

    try putting this on empty movieclip in a key frame w/ a stop command on it:
    on clipevent(load){
    beginTime = getTimer();
    endTime = (seconds)*1000;
    }
    on clipevent(enterFrame){
    elapseTime = getTimer();
    if((elapseTime - beginTime) > endTime){
    _parent.gotoAndPlay(_parent.curr...
    }
    }

    there is probably an easier way to do it. oh replace 'seconds' w/ the number of seconds you wanted it to pause.

View thread