3 Replies Latest reply on Feb 16, 2010 6:23 PM by Harry Kunz

    why this code is calling the same url?


      HI im creating a web page in flash and im using this code for the navigation buttons:


      bio.addEventListener(MouseEvent.CLICK, buttonClickHandler);
      function buttonClickHandler(event:MouseEvent):void {
          navigateToURL(new URLRequest("bio.html"),'_self');
      paquetes.addEventListener(MouseEvent.CLICK, buttonClickHandler);
      function buttonClickHandler2(event:MouseEvent):void {
          navigateToURL(new URLRequest("paquetes.html"),'_self');
      bodas.addEventListener(MouseEvent.CLICK, buttonClickHandler);
      function buttonClickHandler3(event:MouseEvent):void {
          navigateToURL(new URLRequest("bodas.html"),'_self');


      The problem is that when i publish this and place it in Dreamweaver all three buttons link to "bio.html".