4 Replies Latest reply on Apr 21, 2009 1:52 PM by Kurrykid

    Flash buttons in site do not gotoandplay the correct timeline playhead...

      I am a relative newby who has designed his own website, http://kavelincreative.com  The first few buttons work but if you try to click 'contact'  or 'web' it plays 'branding/logos'

       

      Here's the actionscript on the layer with the buttons;

       

      stop()

       

      btnBrandbutton.addEventListener(MouseEvent.CLICK, brandClicked);

       

      function brandClicked(event:MouseEvent):void {
          gotoAndPlay("home_brand");
      }

       

      btnPub.addEventListener(MouseEvent.CLICK, pubClicked);

       

      function pubClicked(event:MouseEvent):void {
          gotoAndPlay("publishing");
      }

       

      btnWeb.addEventListener(MouseEvent.CLICK, webClicked);

       

      function webClicked(event:MouseEvent):void {
          gotoAndPlay("web");
      }

       


      btnBroad.addEventListener(MouseEvent.CLICK, broadcastClicked);

       

      function broadcastClicked(event:MouseEvent):void {
          gotoAndPlay("broadcast");
      }

       

      btnContact.addEventListener(MouseEvent.CLICK, contactClicked);

       

      function contactClicked(event:MouseEvent):void {
          gotoAndPlay("contact");
      }

       

      Any help would be AWESOME!