Simple actionscript

but don’t know how to make it work

so I have this sqaure moves 30 frames to the left, then I have this button which if clicked will make the square goes reverse to frame 1

this is the code that i have:




this_btn.onRelease=function  () {
	onEnterFrame=function  () {
	orange.gotoAndStop(_currentframe - 1);
	trace (orange._currentframe);
}
}


thanks you