Movie clip buttons to iframes

Hi
I was making my movie clips into buttons from a tutorial but i am having problems with the on click events. After putting in the action script for my buttons it seems the on click code won’t work.
So far i have this coding:

on (rollOver) {
 gotoAndPlay(2);
}
on (rollOut) {
 gotoAndPlay(11);
}
on (release) {
getURL("gallery.html", target="rustix");
}

I don’t know if i’m suppose to put it on a seperate layer or such but i know that code works well for my target iframe, but everything i try to click on events and etc nothing happens, not even the clicking sound