Combined Code
frame 1 {
stop();
}
button 4 {
on (release) {
gotoAndPlay(5);
}
}
frame 4 {
Mouse.hide();
eval(mouse) = _xmouse;
eval((Object(_root)).mc)._x = _xmouse;
eval((Object(_root)).mc)._y = _ymouse;
}
movieClip 7 {
}
instance mc of movieClip 7 {
onClipEvent (load) {
moveSpeed = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x += moveSpeed;
} else {
if (Key.isDown(37)) {
this._x -= moveSpeed;
}
}
if (Key.isDown(40)) {
this._y += moveSpeed;
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
}
}
if (_root.circle.hitTest(this._x, this._y, true)) {
_root.gotoAndStop(10);
}
}
onClipEvent (load) {
moveSpeed = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x += moveSpeed;
} else {
if (Key.isDown(37)) {
this._x -= moveSpeed;
}
}
if (Key.isDown(40)) {
this._y += moveSpeed;
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
}
}
if (_root.obstacle.hitTest(this._x, this._y, true)) {
_root.gotoAndStop(10);
}
}
onClipEvent (load) {
moveSpeed = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x += moveSpeed;
} else {
if (Key.isDown(37)) {
this._x -= moveSpeed;
}
}
if (Key.isDown(40)) {
this._y += moveSpeed;
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
}
}
if (_root.obstacle1.hitTest(this._x, this._y, true)) {
_root.gotoAndStop(10);
}
}
onClipEvent (load) {
moveSpeed = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x += moveSpeed;
} else {
if (Key.isDown(37)) {
this._x -= moveSpeed;
}
}
if (Key.isDown(40)) {
this._y += moveSpeed;
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
}
}
if (_root.end1.hitTest(this._x, this._y, true)) {
_root.gotoAndStop(15);
}
}
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 12 {
}
movieClip 16 {
}
movieClip 17 {
}
button 19 {
on (rollOver) {
gotoAndStop(20);
}
}
frame 7 {
gotoAndPlay(4);
}
frame 10 {
Mouse.show();
}
movieClip 23 {
}
button 24 {
on (release) {
gotoAndPlay(5);
}
}
frame 20 {
Mouse.show();
}
button 28 {
on (release) {
gotoAndStop(15);
}
}