1 Reply Latest reply: Feb 9, 2009 12:53 PM by Ned Murphy RSS

    Adding a Pause/Delay to the actions Layer

    NathanStryker Community Member
      I have a 2 frame SWF that plays an external movie... the movie is about an hour long, so I want to hide the "next" button until a time when most of the movie has played. Then when the next button is clicked i want the movie to move to the next frame and play ... .

      So what I have is this in my actions layer:
      quote:

      stop();
      nextButton_btn.visible=false;
      What do I put in here to tell the button to stay hidden for a set amount of time?
      nextButton_btn.visible=true;
      addEventListener(MouseEvent.CLICK, nextPage);
      function nextPage(e:Event)
      {
      gotoAndPlay(2);
      }