# Need help with a little actionscript

**URL:** https://forum.kirupa.com/t/need-help-with-a-little-actionscript/240381
**Category:** flash
**Created:** [October 2, 2007, 2:48pm UTC](https://forum.kirupa.com/t/need-help-with-a-little-actionscript/240381 "2007-10-02T14:48:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wyld\_thing](https://avatars.discourse-cdn.com/v4/letter/w/5f8ce5/32.png) [@wyld\_thing](https://forum.kirupa.com/u/wyld_thing)
#### Post date: [October 2, 2007, 2:48pm UTC](https://forum.kirupa.com/t/need-help-with-a-little-actionscript/240381/1 "2007-10-02T14:48:29Z")

</div>

[FONT=Arial]Hi, Im new to this forum and i’m new to actionscript. Im trying to make 2 different links in this actionscript without taking the rewind feature off or using an alternative rewind. If anyone can see what Im trying to do please could u correct me and point me in the right direction. Thanks Matt[/FONT]

stop();  
this.onEnterFrame = function() {  
if (rewind == true) {  
prevFrame();  
}  
};  
this.onRollOver = function(){  
rewind = false;  
play();  
}

this.onRollOut = function(){  
rewind = true;  
}

link\_btn1.onRelease = function(){  
getURL(“index.asp”,"\_self");  
}

link\_btn2.onRelease = function(){  
getURL(“services.asp”,"\_self");  
}
