A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] help with Delaying "x" seconds using script

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Posts
    1

    [F8] help with Delaying "x" seconds using script

    Hi, i am working on a web banner which needs to be very small in file size. i want to tell a frame to stop and wait 3 seconds before moving to the next frame. is there a way to do that so i dont have to extend the timeline out 36 frames?

  2. #2
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    stop();
    incFrame = SetInterval(nex,3000);

    function nex (){
    nextFrame() ;
    clearInterval (incFrame);
    }
    ~calmchess~

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center