# Complex Button Tutorial Help

**URL:** <https://forum.kirupa.com/t/complex-button-tutorial-help/248310>\
**Category:** flash\
**Created:** [January 7, 2008, 12:48am UTC](https://forum.kirupa.com/t/complex-button-tutorial-help/248310 "2008-01-07T00:48:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nounderscore](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nounderscore](https://forum.kirupa.com/u/nounderscore)\
**Post date:** [January 7, 2008, 12:48am UTC](https://forum.kirupa.com/t/complex-button-tutorial-help/248310/1 "2008-01-07T00:48:50Z")

</div>

hey,  
im new to flash and this tutorial really helped in what i was trying to achieve. However using this code:

```auto
//stop();  
this.onEnterFrame 
= function(){  
if(rewind == true){                                     
prevFrame();}                                
}                                                                     
this.onRollOver = function(){                                                                  
rewind = false; play(); }             
this.onRollOut = function(){                                                                  
rewind = true; }                                                                     
this.onRelease = function(){                                                                  
getURL("http://www.kirupa.com","_blank"); }

```

is there any way i could make this button dynamic? or would i have to refer into a different method
