# Complex Rollover Button

**URL:** <https://forum.kirupa.com/t/complex-rollover-button/192426>\
**Category:** flash\
**Created:** [June 28, 2006, 2:56pm UTC](https://forum.kirupa.com/t/complex-rollover-button/192426 "2006-06-28T14:56:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo900](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pablo900](https://forum.kirupa.com/u/pablo900)\
**Post date:** [June 28, 2006, 2:56pm UTC](https://forum.kirupa.com/t/complex-rollover-button/192426/1 "2006-06-28T14:56:44Z")

</div>

Hi people.  
I’ve just gone through one of the tuorials here to make an animated rollover button ( [http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/developer/mx2004/button_effect.htm) ). Everything is working, i can get it to open up an new browser window but what i want is it to have it move to go to a frame label, i’ve tried a couple of ways but no joy.

1: Written in a seperate AS layer.

btn\_Complex.onRelease = function() {  
gotoAndPlay(“contact”);  
};

2: Written in the AS of the button

on (release) {  
gotoAndPlay(“contact”);  
}

This is slowly driving me NUTS! Can someone please help. Thanks
