Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (keyUp) {
_root.joe.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 11;
_root.joe.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.bottom_wall) == true) {
_y = (_root.bottom_wall._y - _root.joe._height);
}
if (hitTest(_root.top_wall) == true) {
_y = (_root.top_wall._y + 16);
}
if (hitTest(_root.left_wall) == true) {
_x = (_root.left_wall._x + 20);
}
if (hitTest(_root.right_wall) == true) {
_x = (_root.right_wall._x - _root.joe._width);
}
if (hitTest(_root.bottom_wall) == true) {
_y = (_root.bottom_wall._y - _root.joe._height);
}
if (Key.isDown(40)) {
this._y = this._y + 11;
_root.joe.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x = this._x - 11;
_root.joe.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x + 11;
_root.joe.gotoAndPlay(2);
}
}