# Change the code

**URL:** https://forum.kirupa.com/t/change-the-code/163125
**Category:** flash
**Created:** [September 20, 2005, 1:13am UTC](https://forum.kirupa.com/t/change-the-code/163125 "2005-09-20T01:13:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tyg3r](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyg3r/32/1341_2.png) [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)
#### Post date: [September 20, 2005, 1:13am UTC](https://forum.kirupa.com/t/change-the-code/163125/1 "2005-09-20T01:13:18Z")

</div>

Hi. Im really not a coder. and despite my hardest efforts i can never seem to get my head around it all.

Im trying to make it so instead of the actionscript doing all the work for the button “btn”. I want it so the button has all the AS in it instead.

So instead of this code in the animation…

```auto
 
btn.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
btn.onRollOver = function() {
rewind = false;
play();
};
btn.onRollOut = function() {
rewind = true;
};
 
 

```

I was hoping for somthing along the lines of…

```auto
on (EnterFrame) = function() {
if (rewind == true) {
prevFrame();
}
};
on (RollOver) = function() {
rewind = false;
play();
};
on (RollOut) = function() {
rewind = true;
};
on (Release) = function() {
getURL("[http://www.kirupa.com](http://www.kirupa.com/)", "_blank");
};

```

instead. I know my coding cant be right, but any suggestions or help would be great!

im getting confused just looking at it.

i hope my query is even understandable

thanx

Mark

* * *

[Blowjob amateur](http://www. **** tube.com/categories/329/amateur/videos/1)
