1 Reply Latest reply on Feb 7, 2007 4:46 AM by Jan-Paul K.

    faactionscript

    Level 7
      hi please help me ,
      Symbol=image-1-l1, Layer=Layer 2, Frame=10: Line 1: Statement must appear
      within on/onClipEvent handler
      stop();
      what does this mean



        • 1. Re: faactionscript
          Jan-Paul K.
          you porbably placed the as code in the AS window of an MC or Button but not on the main timeline.

          If you want the code to be called only when e.g. a button is pressed, your code muste be placed inside a

          on(press){
          stop();
          }

          block.
          But I suppose you simply put a stop(); Action into the wrong AS window (the one of an object instance).