Convert as2 to as3 .. help please :)

Hey guys (yay a new cool community)

I found this great guide on making a mc rewind just the way I wanted it to (http://www.kirupa.com/developer/mx2004/button_effect.htm) But just couldn’t figure out why it wouldn’t wokr in my project, well… of coures I was building in as3 and it seems the code in that tutorial is as2. I got some of the code translated by googling, but I’m really just not sure if even that is right. I could also just copy all the stuff I’ve done into a as2 project… (I’m kind of a nOOb, so I don’t know if that’s good to do or not) But I read that maybe it’s just worth upgrading since as3 is better… and, if I want to snatch more code from somewhere it on the other hand won’t work if it’s in as3…

Here’s a copy of the code used in that tutorial:

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");
}

Thanks a bunch pipls! :bu: