# Complex Buttons & Keyframe

**URL:** <https://forum.kirupa.com/t/complex-buttons-keyframe/211470>\
**Category:** flash\
**Created:** [January 2, 2007, 12:09am UTC](https://forum.kirupa.com/t/complex-buttons-keyframe/211470 "2007-01-02T00:09:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakplague](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@jakplague](https://forum.kirupa.com/u/jakplague)\
**Post date:** [January 2, 2007, 12:09am UTC](https://forum.kirupa.com/t/complex-buttons-keyframe/211470/1 "2007-01-02T00:09:22Z")

</div>

Hi there,

I have a project I have been working on in Flash 8, that really needed the ‘Complex Buttons’ as you provided here -  
[http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/developer/mx2004/button_effect.htm)

I got them to work really well … And \*\*thanks \*\*for them … 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.)

See here -  
this.onRelease = function(){  
getURL(“[http://www.kirupa.com](http://www.kirupa.com)”,"\_blank");  
}

**I need this button to 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!, :be:  
~Jak

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