Combined Code
movieClip 2 arrow {
}
movieClip 5 arrowgroup {
frame 1 {
gotoAndStop(random(2) + 1);
blue.x = 0;
}
frame 1 {
stop();
}
instance of movieClip 2 arrow {
onClipEvent (load) {
this._rotation = random(3) * 90;
this.hit = false;
}
onClipEvent (enterFrame) {
if (this._rotation == 0) {
if (this.hitTest('_root.point') && Key.isDown(37) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 90) {
if (this.hitTest('_root.point') && Key.isDown(38) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 180) {
if (this.hitTest('_root.point') && Key.isDown(39) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 270) {
if (this.hitTest('_root.point') && Key.isDown(40) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this.hit == true) {
this._alpha -= 5;
this._width += 2;
this._height += 2;
}
}
}
instance of movieClip 2 arrow {
onClipEvent (load) {
this._rotation = random(3) * 90;
this.hit = false;
}
onClipEvent (enterFrame) {
if (this._rotation == 0) {
if (this.hitTest('_root.point') && Key.isDown(37) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 90) {
if (this.hitTest('_root.point') && Key.isDown(38) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 180) {
if (this.hitTest('_root.point') && Key.isDown(39) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 270) {
if (this.hitTest('_root.point') && Key.isDown(40) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this.hit == true) {
this._alpha -= 5;
this._width += 2;
this._height += 2;
}
}
}
instance of movieClip 2 arrow {
onClipEvent (load) {
this._rotation = random(3) * 90;
this.hit = false;
}
onClipEvent (enterFrame) {
if (this._rotation == 0) {
if (this.hitTest('_root.point') && Key.isDown(37) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 90) {
if (this.hitTest('_root.point') && Key.isDown(38) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 180) {
if (this.hitTest('_root.point') && Key.isDown(39) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 270) {
if (this.hitTest('_root.point') && Key.isDown(40) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this.hit == true) {
this._alpha -= 5;
this._width += 2;
this._height += 2;
}
}
}
instance of movieClip 2 arrow {
onClipEvent (load) {
this._rotation = random(3) * 90;
this.hit = false;
}
onClipEvent (enterFrame) {
if (this._rotation == 0) {
if (this.hitTest('_root.point') && Key.isDown(37) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 90) {
if (this.hitTest('_root.point') && Key.isDown(38) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 180) {
if (this.hitTest('_root.point') && Key.isDown(39) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this._rotation == 270) {
if (this.hitTest('_root.point') && Key.isDown(40) && this.hit == false) {
this.hit = true;
x += 2;
}
}
if (this.hit == true) {
this._alpha -= 5;
this._width += 2;
this._height += 2;
}
}
}
}
movieClip 8 {
}