1 Reply Latest reply on Dec 4, 2010 5:32 AM by Ned Murphy

    1084: Syntax error: expecting rightbrace before rightparen

    learner_7n Level 1

      Hi,

       

      I am getting the following error when using the below code:

       

      1084: Syntax error: expecting rightbrace before rightparen.

       

      Code:

      Buttons.Btn_2.addEventListener(MouseEvent.CLICK,Btn_2ClickHandler);

       

      function Btn_2ClickHandler(event:MouseEvent):void {
      navigateToURL (new URLRequest ("http://Main/New_Projects/Album-2.htm"), "_self"));
      }

       

       

      I am getting this error only after adding  , "_self")

      Please help.