1 Reply Latest reply on Oct 18, 2006 4:49 AM by AnandMX

    Determining Mouse click on a movieclip holding a button

    ^}{yPeR^
      Hi,

      I have a movieclip which holds a button, the problem is that when i use

      movButton.onPress=function()
      {
      trace(hello);
      }

      On the movieclip I get this error


      **Error** Symbol=movutton, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
      this.btnButton.onRelease = function () {

      Total ActionScript Errors: 1 Reported Errors: 1

      Any Help Appreciated

      Jak