Problems with On and OnClipEvent

i have an actionscript in a movie to make the movie play at a certain frame. there’s 3 stop points. for rolling out, rolling over, and releasing the button. I also have an onclipevent(enterframe) which also executes a code to make the movie play at a certain frame. But for some reason the enterframe actionscript seems to mess with the on(rollOver) and rollOut. I’m not sure why and i would like to know so i can steer clear from this problem. i uploaded an example i made of this problem happening. download it [color=#22229c]Here.[/color]

the onEnterFrame was messing things a bit, so i rewrote it. i wrote a function you can place on the first frame of the main timeline. but first you have to delete the onClipEvent(enterFrame) for every button/movieclip and give every mc/btns an instance name. here is the new code for the btn/mc:


///the rollover and rollout don't seem to work
on (rollOver) {
	if (_currentframe<=10) {
		gotoAndPlay(2);
	}
}
on (rollOut) {
	if (_currentframe<=10) {
		gotoAndPlay(1);
	}
}

//////////////////////////////////
on (release) {
	if (_currentframe<=10) {
		this.gotoAndPlay(11);
		this.useHandCursor = false;
		_root.change("instancename", _root.clicked);
	}
}

now the function witch, as you can see is called by on(release)


function change(i, k) {
	tellTarget (k) {
		gotoAndPlay(1);
	}
	_root.clicked = i;
}