onClipEvent (enterFrame) { if (this.hitTest(_root.r_w)) { if (_root.r_w._currentframe == 5) { _root.r_w._y += 8; } if (_root.r_w._currentframe == 6){ _root.r_w._x -= 8; } if (_root.r_w._currentframe == 7){ _root.r_w._y -= 8; } if (_root.r_w._currentframe == 8){ _root.r_w._x += 8; } } }