Frame 1
function MakeSound(sound) {
var _local2 = new Sound(_root);
_local2.attachSound(sound);
_local2.start();
}
function GetHit(obj, obj2) {
_root.Crashed = _root.Crashes;
var _local4 = false;
var _local3 = obj2;
for (i in obj.Front) {
obj.Front.localToGlobal((p = {x:obj.Front[i]._x, y:obj.Front[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.Front._currentframe != 3) {
obj.Car.Car.Front.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "Front";
if (_local3.weight == obj.weight) {
obj.HitSpeed = obj.speed * 0.8;
obj.speed = obj.speed * -0.8;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation;
obj.speed = _local3.speed;
obj.HitSpeed = obj.speed * 0.8;
}
_local4 = true;
}
}
for (i in obj.Back) {
obj.Back.localToGlobal((p = {x:obj.Back[i]._x, y:obj.Back[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.Back._currentframe != 3) {
obj.Car.Car.Back.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "Back";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed / 4;
obj.speed = obj.speed + (_local3.speed / 4);
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.speed = _local3.speed * 1.5;
obj.HitSpeed = obj.speed * 1.5;
}
_local4 = true;
}
}
for (i in obj.Left) {
obj.Left.localToGlobal((p = {x:obj.Left[i]._x, y:obj.Left[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.Left._currentframe != 3) {
obj.Car.Car.Left.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "Left";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed;
obj.rotation = _local3.rotation;
obj.speed = _local3.speed;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation;
obj.speed = _local3.speed * 1.5;
obj.HitSpeed = obj.speed * 1.5;
}
}
}
for (i in obj.Right) {
obj.Right.localToGlobal((p = {x:obj.Right[i]._x, y:obj.Right[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.Right._currentframe != 3) {
obj.Car.Car.Right.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "Right";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed;
obj.rotation = _local3.rotation;
obj.speed = _local3.speed;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation;
obj.speed = _local3.speed * 1.5;
obj.HitSpeed = obj.speed * 1.5;
}
}
}
for (i in obj.Corner1) {
obj.Corner1.localToGlobal((p = {x:obj.Corner1[i]._x, y:obj.Corner1[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.C1._currentframe != 3) {
obj.Car.Car.C1.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "C1";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed / 2;
obj.rotation = _local3.rotation;
obj._rotation = obj._rotation + 15;
obj.speed = _local3.speed;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation + 20;
obj._rotation = obj._rotation + 20;
obj.speed = _local3.speed;
obj.HitSpeed = _local3.speed * 0.75;
}
_local4 = true;
}
}
for (i in obj.Corner2) {
obj.Corner2.localToGlobal((p = {x:obj.Corner2[i]._x, y:obj.Corner2[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.C2._currentframe != 3) {
obj.Car.Car.C2.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "C2";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed / 2;
obj.rotation = _local3.rotation - 15;
obj._rotation = obj._rotation - 15;
obj.speed = _local3.speed;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation - 20;
obj._rotation = obj._rotation - 20;
obj.speed = _local3.speed;
obj.HitSpeed = _local3.speed * 0.75;
}
_local4 = true;
}
}
for (i in obj.Corner3) {
obj.Corner3.localToGlobal((p = {x:obj.Corner3[i]._x, y:obj.Corner3[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.C3._currentframe != 3) {
obj.Car.Car.C3.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "C3";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed / 2;
obj.rotation = _local3.rotation + 15;
obj._rotation = obj._rotation + 15;
obj.speed = _local3.speed;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation + 20;
obj._rotation = obj._rotation + 20;
obj.speed = _local3.speed;
obj.HitSpeed = _local3.speed * 0.75;
}
_local4 = true;
}
}
for (i in obj.Corner4) {
obj.Corner4.localToGlobal((p = {x:obj.Corner4[i]._x, y:obj.Corner4[i]._y}));
if (_local3.hitTest(p.x, p.y, true) && (!_local4)) {
if (obj.Car.Car.C4._currentframe != 3) {
obj.Car.Car.C4.nextFrame();
}
_root.Crashes++;
MakeSound("Punch");
obj.Damage++;
obj.HasHit = true;
obj.HitSpot = "C4";
if (_local3.weight == obj.weight) {
obj.HitSpeed = _local3.speed / 2;
obj.rotation = _local3.rotation - 15;
obj._rotation = obj._rotation - 15;
obj.speed = _local3.speed;
} else if (_local3.weight > obj.weight) {
obj.Damage = obj.Damage + 2;
obj.rotation = _local3.rotation - 20;
obj._rotation = obj._rotation - 20;
obj.speed = _local3.speed;
obj.HitSpeed = _local3.speed * 0.75;
}
_local4 = true;
}
}
}
function BottomOnEnter() {
if (this.rotation <= 0) {
this.rotation = this.rotation + 360;
} else if (this.rotation > 360) {
this.rotation = this.rotation - 360;
}
if (this._rotation == -180) {
this._rotation = 180;
}
if (this.HitSpeed < 2) {
if ((((_root.BGo or (this._y <= 180)) or this.HasHit) or (this._y > 320)) or ((this.Turn != 1) && ((this._x > 200) or (this._x < 100)))) {
if ((this.Turn == 1) or (this._y > 340)) {
if ((this._rotation > 9) && (this._rotation <= 180)) {
this._rotation = this._rotation - 5;
} else if ((this._rotation > 180) && (this._rotation < 351)) {
this._rotation = this._rotation + 5;
}
} else if (this.Turn == 2) {
if (this._y < 280) {
if ((this._rotation < 81) or (this._rotation > 270)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
} else if (this._rotation > 99) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
}
}
} else if (this.Turn == 3) {
if (this._y < 220) {
if (!((this._rotation > -99) && (this._rotation < -81))) {
if (((this._rotation > 90) && (this._rotation <= 180)) or ((this._rotation > -180) && (this._rotation < -99))) {
this.speed = this.speed * 0.5;
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
} else if (this._rotation >= -99) {
this.speed = this.speed * 0.5;
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
}
}
}
}
this.rotation = this._rotation;
this.speed = this.speed + 2;
if (this.speed > 20) {
this.speed = 20;
}
} else if ((this._y > 180) && (!_root.BGo)) {
this.speed = this.speed * 0.6;
}
i = 0;
while (i < _root.Cars.length) {
var _local3 = _root.Cars[i];
var _local5 = this._x - _local3._x;
var _local4 = this._y - _local3._y;
var _local6 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((_local6 < 50) && (_local3 != this)) {
this.speed = this.speed * 0.85;
if (_local3._y > this._y) {
this.rotation = this.rotation + 9;
this._rotation = this._rotation + 9;
} else {
this.rotation = this.rotation - 9;
this._rotation = this._rotation - 9;
}
}
i++;
}
var i = 0;
while (i < _root.Cars.length) {
var _local3 = _root.Cars[i];
if (_local3 != this) {
Hit = false;
_root.GetHit(this, _local3);
}
i++;
}
} else {
this.rotation = this.rotation + this.HitSpeed;
this._rotation = this._rotation + this.HitSpeed;
this.HitSpeed = this.HitSpeed * 0.8;
}
if (this._currentframe == 1) {
this._x = this._x + (Math.sin(this.rotation * (Math.PI/180)) * this.speed);
this._y = this._y + (Math.cos(this.rotation * (Math.PI/180)) * (-this.speed));
}
if (this.Damage > 25) {
this.play();
}
this.speed = this.speed * 0.9;
if (((((this._y < -40) or (this._currentframe >= 18)) or (this._y > 1000)) or (this._x < -140)) or (this._x > 440)) {
SetCar(this.Spot, this);
}
}
function LeftOnEnter() {
if (this._rotation < 0) {
this._rotation = this._rotation + 360;
} else if (this._rotation > 360) {
this._rotation = this._rotation - 360;
}
if (this.rotation <= 0) {
this.rotation = this.rotation + 360;
} else if (this.rotation > 360) {
this.rotation = this.rotation - 360;
}
if (this.HitSpeed < 2) {
if ((((_root.LGo or (this._x >= 200)) or this.HasHit) or (this._x < 10)) or ((this.Turn != 1) && ((this._y > 240) or (this._y < 140)))) {
if ((this.Turn == 1) or (this._x < 0)) {
if ((this.rotation > 99) && (this.rotation <= 270)) {
this._rotation = this._rotation - 5;
} else if (((this.rotation > 270) && (this.rotation <= 360)) or (this.rotation < 81)) {
this._rotation = this._rotation + 5;
}
} else if (this.Turn == 2) {
if (this._x > 60) {
if ((this._rotation > 0) && (this._rotation < 171)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
} else if ((this._rotation > -171) && (this._rotation <= 0)) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
}
}
} else if (this.Turn == 3) {
if (this._x > 120) {
if ((this._rotation < -9) && (this._rotation > -180)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
} else if ((this._rotation > 9) && (this._rotation <= 180)) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
}
}
}
this.rotation = this._rotation;
this.speed = this.speed + 2;
if (this.speed > 20) {
this.speed = 20;
}
} else if ((this._x < 200) && (!_root.LGo)) {
this.speed = this.speed * 0.6;
}
i = 0;
while (i < _root.Cars.length) {
var _local3 = _root.Cars[i];
var _local5 = this._x - _local3._x;
var _local4 = this._y - _local3._y;
var _local6 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((_local6 < 50) && (_local3 != this)) {
this.speed = this.speed * 0.85;
if (_local3._y > this._y) {
this.rotation = this.rotation + 9;
this._rotation = this._rotation + 9;
} else {
this.rotation = this.rotation - 9;
this._rotation = this._rotation - 9;
}
}
i++;
}
var i = 0;
while (i < _root.Cars.length) {
var _local3 = _root.Cars[i];
if (_local3 != this) {
Hit = false;
_root.GetHit(this, _local3);
}
i++;
}
} else {
this.rotation = this.rotation + this.HitSpeed;
this._rotation = this._rotation + this.HitSpeed;
this.HitSpeed = this.HitSpeed * 0.8;
}
if (this._currentframe == 1) {
this._x = this._x + (Math.sin(this.rotation * (Math.PI/180)) * this.speed);
this._y = this._y + (Math.cos(this.rotation * (Math.PI/180)) * (-this.speed));
}
if (this.Damage > 25) {
this.play();
}
this.speed = this.speed * 0.9;
if (((((this._x > 380) or (this._currentframe >= 18)) or (this._x < -600)) or (this._y > 480)) or (this._y < -100)) {
SetCar(this.Spot, this);
}
}
function TopOnEnter() {
if (this._rotation < 0) {
this._rotation = this._rotation + 360;
} else if (this._rotation > 360) {
this._rotation = this._rotation - 360;
}
if (this.rotation <= 0) {
this.rotation = this.rotation + 360;
} else if (this.rotation > 360) {
this.rotation = this.rotation - 360;
}
if (this.HitSpeed < 2) {
if ((((_root.TGo or (this._y >= 240)) or this.HasHit) or (this._y < 60)) or ((this.Turn != 1) && ((this._x > 200) or (this._x < 100)))) {
if ((this.Turn == 1) or (this._y < 100)) {
if ((this._rotation > 189) && (this._rotation <= 360)) {
this._rotation = this._rotation - 5;
} else if ((this._rotation < 170) && (this._rotation > 0)) {
this._rotation = this._rotation + 5;
}
} else if (this.Turn == 2) {
if (this._y > 100) {
if ((this._rotation > -81) && (this._rotation < 90)) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
} else if ((this._rotation < -99) or (this._rotation >= 90)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
}
}
} else if (this.Turn == 3) {
if (this._y > 160) {
if ((this._rotation < 81) && (this._rotation > -90)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
} else if ((this._rotation <= -90) or (this._rotation > 99)) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
}
}
}
this.rotation = this._rotation;
this.speed = this.speed + 2;
if (this.speed > 20) {
this.speed = 20;
}
} else if ((this._y < 240) && (!_root.TGo)) {
this.speed = this.speed * 0.6;
}
i = 0;
while (i < (_root.Cars.length + 1)) {
var _local3 = _root.Cars[i];
var _local5 = this._x - _local3._x;
var _local4 = this._y - _local3._y;
var _local6 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((_local6 < 50) && (_local3 != this)) {
this.speed = this.speed * 0.85;
if (_local3._y > this._y) {
this.rotation = this.rotation + 9;
this._rotation = this._rotation + 9;
} else {
this.rotation = this.rotation - 9;
this._rotation = this._rotation - 9;
}
}
i++;
}
var i = 0;
while (i < _root.Cars.length) {
var _local3 = _root.Cars[i];
if (_local3 != this) {
Hit = false;
_root.GetHit(this, _local3);
}
i++;
}
} else {
this.rotation = this.rotation + this.HitSpeed;
this._rotation = this._rotation + this.HitSpeed;
this.HitSpeed = this.HitSpeed * 0.8;
}
if (this._currentframe == 1) {
this._x = this._x + (Math.sin(this.rotation * (Math.PI/180)) * this.speed);
this._y = this._y + (Math.cos(this.rotation * (Math.PI/180)) * (-this.speed));
}
if (this.Damage > 25) {
this.play();
}
this.speed = this.speed * 0.9;
if (((((this._y > 380) or (this._currentframe >= 18)) or (this._y < -600)) or (this._x < -140)) or (this._x > 440)) {
SetCar(this.Spot, this);
}
}
function RightOnEnter() {
if (this._rotation < 0) {
this._rotation = this._rotation + 360;
} else if (this._rotation > 360) {
this._rotation = this._rotation - 360;
}
if (this.rotation <= 0) {
this.rotation = this.rotation + 360;
} else if (this.rotation > 360) {
this.rotation = this.rotation - 360;
}
if (this.HitSpeed < 2) {
if ((((_root.RGo or (this._x <= 100)) or this.HasHit) or (this._x > 290)) or ((this.Turn != 1) && ((this._y > 240) or (this._y < 140)))) {
if ((this.Turn == 1) or (this._x > 240)) {
if ((this.rotation > 279) && (this.rotation <= 90)) {
this._rotation = this._rotation - 5;
} else if ((this.rotation > 90) && (this.rotation <= 261)) {
this._rotation = this._rotation + 5;
}
} else if (this.Turn == 2) {
if (this._x < 240) {
if ((this._rotation > -180) && (this._rotation < -9)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
} else if ((this._rotation <= 180) && (this._rotation > 9)) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
}
}
} else if (this.Turn == 3) {
if (this._x < 180) {
if ((this._rotation > 0) && (this._rotation < 171)) {
this._rotation = this._rotation + 5;
this.rotation = this.rotation + 5;
this.speed = this.speed * 0.5;
} else if ((this._rotation > -171) && (this._rotation <= 0)) {
this._rotation = this._rotation - 5;
this.rotation = this.rotation - 5;
this.speed = this.speed * 0.5;
}
}
}
this.rotation = this._rotation;
this.speed = this.speed + 2;
if (this.speed > 20) {
this.speed = 20;
}
} else if ((this._x > 100) && (!_root.RGo)) {
this.speed = this.speed * 0.6;
}
i = 0;
while (i < _root.Cars.length) {
var _local3 = _root.Cars[i];
var _local5 = this._x - _local3._x;
var _local4 = this._y - _local3._y;
var _local6 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((_local6 < 50) && (_local3 != this)) {
this.speed = this.speed * 0.85;
if (_local3._y > this._y) {
this.rotation = this.rotation + 9;
this._rotation = this._rotation + 9;
} else {
this.rotation = this.rotation - 9;
this._rotation = this._rotation - 9;
}
}
i++;
}
var i = 0;
while (i < (_root.Cars.length + 1)) {
var _local3 = _root.Cars[i];
if (_local3 != this) {
Hit = false;
_root.GetHit(this, _local3);
}
i++;
}
} else {
this.rotation = this.rotation + this.HitSpeed;
this._rotation = this._rotation + this.HitSpeed;
this.HitSpeed = this.HitSpeed * 0.8;
}
if (this._currentframe == 1) {
this._x = this._x + (Math.sin(this.rotation * (Math.PI/180)) * this.speed);
this._y = this._y + (Math.cos(this.rotation * (Math.PI/180)) * (-this.speed));
}
if (this.Damage > 25) {
this.play();
}
this.speed = this.speed * 0.9;
if (((((this._x < -40) or (this._currentframe >= 18)) or (this._x > 1000)) or (this._y < -100)) or (this._y > 480)) {
SetCar(this.Spot, this);
}
}
function SetCar(Spot, car) {
car.Spot = Spot;
car.speed = random(20);
car.HitSpeed = 0;
car.HasHit = false;
car.Damage = 0;
car.gotoAndStop(1);
Type = random(4) + 1;
car.Car.gotoAndStop(Type);
var _local5 = random(100) + 1;
var _local3 = 0;
if (_local5 > 75) {
_local3 = 3;
} else if (_local5 > 50) {
_local3 = 2;
} else {
_local3 = 1;
}
car.Turn = _local3;
car.weight = Weights[Type - 1];
if (Spot == "Bottom") {
car.rotation = 0;
car._y = 440 + random(400);
car._x = 180;
car._rotation = 0;
} else if (Spot == "Left") {
car.rotation = 90;
car._x = -100 - random(400);
car._y = 220;
car._rotation = 90;
} else if (Spot == "Top") {
car.rotation = 180;
car._y = -60 - random(400);
car._x = 120;
car._rotation = 180;
} else if (Spot == "Right") {
car.rotation = -90;
car._x = 400 + random(400);
car._y = 160;
car._rotation = -90;
}
car.onEnterFrame = _root[Spot + "OnEnter"];
}
fscommand ("allowscale", true);
Weights = new Array(500, 1000, 500, 400);
Frame 3
stop();
Cars = new Array();
Crashes = 0;
Wrecks = 0;
Instance of Symbol 136 MovieClip in Frame 3
onClipEvent (load) {
speed = 0;
rotation = 0;
_root.Cars.push(this);
weight = 500;
HitSpeed = 0;
HasHit = false;
Damage = 0;
Spot = "Bottom";
_root.SetCar(Spot, this);
}
Instance of Symbol 136 MovieClip in Frame 3
onClipEvent (load) {
speed = 0;
rotation = 90;
_root.Cars.push(this);
weight = 500;
HitSpeed = 0;
HasHit = false;
Damage = 0;
Spot = "Left";
_root.SetCar(Spot, this);
}
Instance of Symbol 136 MovieClip in Frame 3
onClipEvent (load) {
speed = 0;
rotation = -90;
_root.Cars.push(this);
weight = 500;
HitSpeed = 0;
HasHit = false;
Damage = 0;
Spot = "Right";
_root.SetCar(Spot, this);
}
Instance of Symbol 136 MovieClip in Frame 3
onClipEvent (load) {
speed = 0;
rotation = 180;
_root.Cars.push(this);
weight = 500;
HitSpeed = 0;
HasHit = false;
Damage = 0;
Spot = "Top";
_root.SetCar(Spot, this);
}
Instance of Symbol 142 MovieClip in Frame 3
onClipEvent (load) {
_root.BGo = true;
Red = false;
}
onClipEvent (enterFrame) {
if (this.Red) {
_root.BGo = false;
R.gotoAndStop(2);
G.gotoAndStop(1);
} else {
_root.BGo = true;
R.gotoAndStop(1);
G.gotoAndStop(2);
}
}
Instance of Symbol 142 MovieClip in Frame 3
onClipEvent (load) {
_root.LGo = false;
Red = true;
}
onClipEvent (enterFrame) {
if (this.Red) {
_root.LGo = false;
R.gotoAndStop(2);
G.gotoAndStop(1);
} else {
_root.LGo = true;
R.gotoAndStop(1);
G.gotoAndStop(2);
}
}
Instance of Symbol 142 MovieClip in Frame 3
onClipEvent (load) {
_root.TGo = true;
Red = false;
}
onClipEvent (enterFrame) {
if (this.Red) {
_root.TGo = false;
R.gotoAndStop(2);
G.gotoAndStop(1);
} else {
_root.TGo = true;
R.gotoAndStop(1);
G.gotoAndStop(2);
}
}
Instance of Symbol 142 MovieClip in Frame 3
onClipEvent (load) {
_root.RGo = false;
Red = true;
}
onClipEvent (enterFrame) {
if (this.Red) {
_root.RGo = false;
R.gotoAndStop(2);
G.gotoAndStop(1);
} else {
_root.RGo = true;
R.gotoAndStop(1);
G.gotoAndStop(2);
}
}
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 2
stop();
Symbol 9 MovieClip Frame 3
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 13 MovieClip Frame 3
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 17 MovieClip Frame 3
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
stop();
Symbol 21 MovieClip Frame 3
stop();
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
stop();
Symbol 25 MovieClip Frame 3
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 3
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
stop();
Symbol 33 MovieClip Frame 3
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
stop();
Symbol 40 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 3
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 52 MovieClip Frame 3
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 3
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 3
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
stop();
Symbol 64 MovieClip Frame 3
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 3
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 3
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 3
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 83 MovieClip Frame 3
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 3
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 3
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 95 MovieClip Frame 3
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 3
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 121 MovieClip Frame 3
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 125 MovieClip Frame 3
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 3
stop();
Symbol 127 MovieClip Frame 4
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
_root.Wrecks++;
_root.Wrecked = _root.Wrecks;
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
stop();
Instance of Symbol 141 MovieClip in Symbol 142 MovieClip Frame 1
on (release) {
if (_parent.Red) {
_parent.Red = false;
} else {
_parent.Red = true;
}
}
onClipEvent (enterFrame) {
if (_parent.Red) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 158 Button
on (release) {
getURL ("http://www.albinoblacksheep.com");
}