Okay, so first of all. I'm using Flash 8, action script 2.0. I've been using Game Maker for a number of years, and I've decided recently to start making the move to Flash. I've been having trouble with target paths, and most of my troubleshooting has been going to testing just if the path is right.

The following code I would like to just have on a separate actions layer for organizational purposes. However, whenever I try to move it, it simply stops working. Here is the working code:

Code:
onClipEvent (enterFrame) {
	if (_root.player_1.facing == "right") {
		_xscale = 100;
	} else {
		_xscale = -100;
	}
	if (_root.player_1.cstate == "stand") {
		_parent.gotoAndStop(1);
	}
	if (_root.player_1.cstate == "walk") {
		_parent.gotoAndStop(2);
	}
	if (_root.player_1.cstate == "run") {
		_parent.gotoAndStop(3);
	}
}
This is of course attached to a movie clip (surrounded in {} in the following chain.

(_root -> player_1 -> dylan -> {model})

Here was some unsuccessful experimental code, when I try to put it on the same frame as the {model} movie clip, but on a different layer (and not attached to a movie clip:

Code:
if (_root.player_1.facing == "right") {
	model._xscale = 100;
} else {
	model._xscale = -100;
}
if (_root.player_1.cstate == "stand") {
	_parent.gotoAndStop(1);
}
if (_root.player_1.cstate == "walk") {
	_parent.gotoAndStop(2);
}
if (_root.player_1.cstate == "run") {
	_parent.gotoAndStop(3);
}
Any help is appreciated. Let me know if you need anymore information to help me out.