4 Replies Latest reply on Jan 17, 2017 1:09 AM by macpawel

    HELP!!code problems

    celiap81876817

      Hi! I've got a problem with the code of my game in animate and I hope you'll help me. I've got two frames in the timeline, one for the intro and the other one for the game. In the first one i've got a start button with the next code:

      stop();

       

       

      Start.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);

       

       

      function fl_MouseClickHandler(event:MouseEvent):void

      {

        nextFrame ();

      }

       

      and it works but if I put it the game doesn't work and if I remove it the game works. Do you know what's happening? I'll be very grateful if you answer it because I have to deliver it soon. Thanks in advance!!