# Question about movie clip buttons help!

**URL:** https://forum.kirupa.com/t/question-about-movie-clip-buttons-help/302508
**Category:** flash
**Created:** [January 2, 2010, 12:28am UTC](https://forum.kirupa.com/t/question-about-movie-clip-buttons-help/302508 "2010-01-02T00:28:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![raceywalrus](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raceywalrus](https://forum.kirupa.com/u/raceywalrus)
#### Post date: [January 2, 2010, 12:28am UTC](https://forum.kirupa.com/t/question-about-movie-clip-buttons-help/302508/1 "2010-01-02T00:28:00Z")

</div>

Hi, I am putting together a button from a movie clip using this kirupa lesson: [http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/forum/../developer/mx2004/button_effect.htm)

I have it all complete except that I don’t know how to target the button to goto and play a frame in the main movie. I don’t want “getURL”. Anyone have any ideas? Thanks so much!

This is the movie clip code:

//all this code is inside the complex button so you can stick as many as you want  
//on the stage and all will work… they all will have this code in it…

stop(); // stop the movie clip from playing (stop button from growing, we want that when the mouse rolls over only

this.onEnterFrame = function(){  
if(rewind == true){ //if rewind switch is set to true play backwards  
prevFrame(); // play backwards  
}  
}

this.onRollOver = function(){  
rewind = false; //set variable (or switch) that decides wether ot not to play backwards…  
play(); // play this movie clip… (grow the button(tween));  
}

this.onRollOut = function(){  
rewind = true; //set or rewind switch to true so it will play backwards…  
}

this.onRelease = function(){  
getURL("");  
}
