Change the code

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…

 
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…

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