# Movie clip buttons to iframes

**URL:** <https://forum.kirupa.com/t/movie-clip-buttons-to-iframes/228869>\
**Category:** Uncategorized\
**Created:** [June 12, 2007, 4:36am UTC](https://forum.kirupa.com/t/movie-clip-buttons-to-iframes/228869 "2007-06-12T04:36:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shanna](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@shanna](https://forum.kirupa.com/u/shanna)\
**Post date:** [June 12, 2007, 4:36am UTC](https://forum.kirupa.com/t/movie-clip-buttons-to-iframes/228869/1 "2007-06-12T04:36:30Z")

</div>

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:

```auto
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
