Complex Rollover Button

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 ). 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