5 Replies Latest reply on Jul 13, 2009 1:06 PM by kslanc

    Incompatible override

    kslanc

      I am trying to add a url request to a button when you hit it....

       

      my AS3:

       

      var WWbutn_req:URLRequest = new URLRequest("greatpricedfurniture.com/products/22722.html");

       

      function WWbutn(event:MouseEvent):void
      {
          navigateToURL(WWbutn_req,"_blank");   
      }

       

      WWbutn.addEventListener(MouseEvent.CLICK, WWbutn);

       

      When I publish this I get 1023 Incompatible override and 1021 Duplicate function definition error...

       

      Any thoughts?