Instance of Symbol 3 MovieClip in Frame 1
on (press) {
this.gotoAndPlay(2);
}
Instance of Symbol 6 MovieClip "target1" in Frame 1
onClipEvent (load) {
this._x = 100;
this._y = 100;
xmove = 25;
ymove = 10;
_global.point = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
this._y = this._y + ymove;
if (this._x > 550) {
xmove = -25;
}
if (this._y > 400) {
ymove = -10;
}
if (this._x < 0) {
xmove = 25;
}
if (this._y < 0) {
ymove = 10;
}
}
on (press) {
_global.point = _global.point + 1;
_root.Score = _global.point;
this._x = Math.round((Math.random() * 550) + 0);
this._y = Math.round((Math.random() * 400) + 0);
}
Symbol 3 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 1
stop();