2 Replies Latest reply on May 11, 2006 12:23 PM by TimSymons

    Pause

    Blak3dsnake
      How can I pause a game???? I made a menu and when I press ESC the menu appeares, but I want to pause the game too!!!!!!!!!!!!!!!!!!!!!!!! How can I do that???
        • 1. Re: Pause
          Blak3dsnake Level 1
          PLZ tell me how can I pause a game!!!!!!!!!!!!!!!!!!!!
          • 2. Re: Pause
            TimSymons Level 1
            It will depend on how you have the game developed. If everything is based on the playhead moving from frame to frame then you could just do movieClip.stop();

            But since you created a game, I'm assuming that this would be too trivial of an answer. Without more info all I can say is that you should create a _root level function that stops all current animations, movieclip playheads, sounds, etc. Depending on the complexity of your game this could be a lot of stuff.

            Tim