4 Replies Latest reply on Aug 26, 2010 9:45 PM by kglad

    Flash acting strange.

    nevitt99

      This is my code I have for my graphics portfolio. On the webpage www.n99design.com/portfolio if you click on the seventh picture you get the seventh picture. That is not what the code says. Why is it doing this?

       

      stop();
      btn1_btn.addEventListener(MouseEvent.CLICK, showimage1);
      function showimage1(event:MouseEvent):void {
      gotoAndPlay("watch");
      }
      btn2_btn.addEventListener(MouseEvent.CLICK, showimage2);
      function showimage2(event:MouseEvent):void {
      gotoAndPlay("mustang");
      }
      btn3_btn.addEventListener(MouseEvent.CLICK, showimage3);
      function showimage3(event:MouseEvent):void {
      gotoAndPlay("Droid");
      }
      btn4_btn.addEventListener(MouseEvent.CLICK, showimage4);
      function showimage4(event:MouseEvent):void {
      gotoAndPlay("LAS");
      }
      btn5_btn.addEventListener(MouseEvent.CLICK, showimage5);
      function showimage5(event:MouseEvent):void {
      gotoAndPlay("Bach");
      }
      btn6_btn.addEventListener(MouseEvent.CLICK, showimage6);
      function showimage6(event:MouseEvent):void {
      gotoAndPlay("Tomb");
      }
      btn7_btn.addEventListener(MouseEvent.CLICK,showimage7);
      function showimage7(event:MouseEvent):void {
      gotoAndPlay("007");
      }
      btn8_btn.addEventListener(MouseEvent.CLICK, showimage8);
      function showimage8(event:MouseEvent):void {
      gotoAndPlay("Stlzoo");
      }
      btn9_btn.addEventListener(MouseEvent.CLICK, showimage9);
      function showimage9(event:MouseEvent):void {
      gotoAndPlay("pauk");
      }
      btn10_btn.addEventListener(MouseEvent.CLICK, showimage10);
      function showimage10(event:MouseEvent):void {
      gotoAndPlay("cards");
      }