Complex Button Tutorial Help

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

//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