1 Reply Latest reply on Jan 2, 2007 12:40 PM by aniebel

    Complex Buttons & Keyframe

    Jak Plague Level 1
      Hi there,

      I have a project I have been working on in Flash 8, that really needed the 'Complex Buttons' as provided here -
      www.kirupa.com/developer/mx2004/button_effect.htm
      (you can download the .fla here)

      I got them to work really well ... But I am having issues making them go to a key frame, instead of where the tutorial code had them going (which was a 'get url' back to kirupa.com.)

      See here -
      this.onRelease = function(){
      getURL("www.kirupa.com","_blank");
      }
      //

      I need this button to simply go to a key frame, when you click it, like this -
      on (release) {
      _root.gotoAndPlay(90);
      }

      When I change it to this ... It kills the button, and make the code unstable on export.
      I even tried this -
      this.onRelease = function(){
      _root.gotoAndPlay(90);
      }

      And no go ... If any can help me out, I would be very grateful.

      Thanks much!,
      ~Jak

      p.s. I plugged these buttons into Flash 8, but exported as Flash 7, Actionscript 2.0