5 Replies Latest reply on Sep 4, 2011 12:31 PM by kglad

    Attach movies in function not working

    juresti Level 1

      function HomeButton(gosh){
         
      if (gosh == "Intro") {
      trace(gosh);
      }
      else {
      trace("you are here");

       

      attachMovie("buttonblank", "butt_blank", 2, {_x: 0, _y: 0});
      butt_blank._alpha = 100;
      butt_blank.onRelease = function() {
          gotoAndStop(2);
      }
      attachMovie("buttonblanktwo", "butt_blanktwo", 2, {_x: 613, _y: 0});
      butt_blanktwo._alpha = 0;
      butt_blanktwo.onRelease = function() {
      getURL("http://training.smith.com/FishingCatalog/FishingToolsandServices.pdf");

       

      }
      }