[Flash5] help with menu

I once used a code on MX and now I need to use it on Flash5.
I’m not an expert in actionscript to identify the changes from MX to flash 5. Here is the code. Please, let me know what is not correct to use in Flash5!


function btnRelease() {
	for (var i=1; i<7; i++) {
		var btn = _root.menu["btn0"+i];
		if (btn == this) {
			this._x = + 5;
			this.enabled = false;
		} else {
			_root.menu["btn0"+i]._x = 3;
			_root.menu["btn0"+i].enabled = true;
		}
	}
}
	for (var i=1; i<7; i++) {
		_root.menu["btn0"+i].onRelease = btnRelease;
	}

thanks!