Frame 1
_root.chandHealth = 100;
Instance of Symbol 55 MovieClip "chand" in Frame 1
onClipEvent (enterFrame) {
if (_root.chandHealth <= 0) {
this.gotoAndPlay("fall");
}
}
Instance of Symbol 62 MovieClip in Frame 1
onClipEvent (mouseDown) {
shpoo = new Sound(this);
shpoo.attachSound("guns");
shpoo.start(0, 1);
}
Symbol 9 MovieClip [yeller] Frame 1
xtotal = 0;
ytotal = 0;
stop();
xdist = Math.abs(_root._xmouse - this._x);
ydist = Math.abs(_root._ymouse - this._y);
theta = Math.atan(ydist / xdist);
if ((_root._xmouse >= this._x) && (_root._ymouse <= this._y)) {
angle = theta;
xdiv = xdist / 8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse <= this._y)) {
angle = Math.PI - theta;
xdiv = xdist / -8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse > this._y)) {
angle = Math.PI + theta;
xdiv = xdist / -8;
ydiv = ydist / 8;
} else {
angle = 6.28318530717959 /* Math.PI*2 */ - theta;
xdiv = xdist / 8;
ydiv = ydist / 8;
}
this._rotation = -((180 * angle) / Math.PI);
onEnterFrame = function () {
if (((ytotal >= ydist) || (xtotal >= xdist)) || ((-xtotal) >= xdist)) {
gotoAndStop ("pop");
stopp = 1;
}
if (stopp != 1) {
this._x = this._x + xdiv;
this._y = this._y + ydiv;
xtotal = xtotal + xdiv;
ytotal = ytotal + ydiv;
}
};
Symbol 9 MovieClip [yeller] Frame 2
rand = random(3) + 1;
rand2 = random(99999);
if (rand == 1) {
sound = "pop1";
}
if (rand == 2) {
sound = "pop2";
}
if (rand == 3) {
sound = "pop3";
}
if (rand == 4) {
sound = "pop4";
}
if (rand == 5) {
sound = "pop5";
}
blammo = new Sound(this);
blammo.attachSound(sound);
blammo.start(0, 1);
_root.attachMovie("boom", "boom" + rand2, rand2);
_root["boom" + rand2]._x = this._x;
_root["boom" + rand2]._y = this._y;
if (this.hitTest(_root.chand) == true) {
_root.chandHealth = _root.chandHealth - 5;
}
this.removeMovieClip();
Symbol 12 MovieClip [green] Frame 1
xtotal = 0;
ytotal = 0;
stop();
xdist = Math.abs(_root._xmouse - this._x);
ydist = Math.abs(_root._ymouse - this._y);
theta = Math.atan(ydist / xdist);
if ((_root._xmouse >= this._x) && (_root._ymouse <= this._y)) {
angle = theta;
xdiv = xdist / 8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse <= this._y)) {
angle = Math.PI - theta;
xdiv = xdist / -8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse > this._y)) {
angle = Math.PI + theta;
xdiv = xdist / -8;
ydiv = ydist / 8;
} else {
angle = 6.28318530717959 /* Math.PI*2 */ - theta;
xdiv = xdist / 8;
ydiv = ydist / 8;
}
this._rotation = -((180 * angle) / Math.PI);
onEnterFrame = function () {
if (((ytotal >= ydist) || (xtotal >= xdist)) || ((-xtotal) >= xdist)) {
gotoAndStop ("pop");
stopp = 1;
}
if (stopp != 1) {
this._x = this._x + xdiv;
this._y = this._y + ydiv;
xtotal = xtotal + xdiv;
ytotal = ytotal + ydiv;
}
};
Symbol 12 MovieClip [green] Frame 2
rand = random(3) + 1;
rand2 = random(99999);
if (rand == 1) {
sound = "pop1";
}
if (rand == 2) {
sound = "pop2";
}
if (rand == 3) {
sound = "pop3";
}
if (rand == 4) {
sound = "pop4";
}
if (rand == 5) {
sound = "pop5";
}
blammo = new Sound(this);
blammo.attachSound(sound);
blammo.start(0, 1);
_root.attachMovie("boom", "boom" + rand2, rand2);
_root["boom" + rand2]._x = this._x;
_root["boom" + rand2]._y = this._y;
if (this.hitTest(_root.chand) == true) {
_root.chandHealth = _root.chandHealth - 5;
}
this.removeMovieClip();
Symbol 15 MovieClip [blue] Frame 1
xtotal = 0;
ytotal = 0;
stop();
xdist = Math.abs(_root._xmouse - this._x);
ydist = Math.abs(_root._ymouse - this._y);
theta = Math.atan(ydist / xdist);
if ((_root._xmouse >= this._x) && (_root._ymouse <= this._y)) {
angle = theta;
xdiv = xdist / 8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse <= this._y)) {
angle = Math.PI - theta;
xdiv = xdist / -8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse > this._y)) {
angle = Math.PI + theta;
xdiv = xdist / -8;
ydiv = ydist / 8;
} else {
angle = 6.28318530717959 /* Math.PI*2 */ - theta;
xdiv = xdist / 8;
ydiv = ydist / 8;
}
this._rotation = -((180 * angle) / Math.PI);
onEnterFrame = function () {
if (((ytotal >= ydist) || (xtotal >= xdist)) || ((-xtotal) >= xdist)) {
gotoAndStop ("pop");
stopp = 1;
}
if (stopp != 1) {
this._x = this._x + xdiv;
this._y = this._y + ydiv;
xtotal = xtotal + xdiv;
ytotal = ytotal + ydiv;
}
};
Symbol 15 MovieClip [blue] Frame 2
rand = random(3) + 1;
rand2 = random(99999);
if (rand == 1) {
sound = "pop1";
}
if (rand == 2) {
sound = "pop2";
}
if (rand == 3) {
sound = "pop3";
}
if (rand == 4) {
sound = "pop4";
}
if (rand == 5) {
sound = "pop5";
}
blammo = new Sound(this);
blammo.attachSound(sound);
blammo.start(0, 1);
_root.attachMovie("boom", "boom" + rand2, rand2);
_root["boom" + rand2]._x = this._x;
_root["boom" + rand2]._y = this._y;
if (this.hitTest(_root.chand) == true) {
_root.chandHealth = _root.chandHealth - 5;
}
this.removeMovieClip();
Symbol 18 MovieClip [red] Frame 1
xtotal = 0;
ytotal = 0;
stop();
xdist = Math.abs(_root._xmouse - this._x);
ydist = Math.abs(_root._ymouse - this._y);
theta = Math.atan(ydist / xdist);
if ((_root._xmouse >= this._x) && (_root._ymouse <= this._y)) {
angle = theta;
xdiv = xdist / 8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse <= this._y)) {
angle = Math.PI - theta;
xdiv = xdist / -8;
ydiv = ydist / -8;
} else if ((_root._xmouse < this._x) && (_root._ymouse > this._y)) {
angle = Math.PI + theta;
xdiv = xdist / -8;
ydiv = ydist / 8;
} else {
angle = 6.28318530717959 /* Math.PI*2 */ - theta;
xdiv = xdist / 8;
ydiv = ydist / 8;
}
this._rotation = -((180 * angle) / Math.PI);
onEnterFrame = function () {
if (((ytotal >= ydist) || (xtotal >= xdist)) || ((-xtotal) >= xdist)) {
gotoAndStop ("pop");
stopp = 1;
}
if (stopp != 1) {
this._x = this._x + xdiv;
this._y = this._y + ydiv;
xtotal = xtotal + xdiv;
ytotal = ytotal + ydiv;
}
};
Symbol 18 MovieClip [red] Frame 2
rand = random(3) + 1;
rand2 = random(99999);
if (rand == 1) {
sound = "pop1";
}
if (rand == 2) {
sound = "pop2";
}
if (rand == 3) {
sound = "pop3";
}
if (rand == 4) {
sound = "pop4";
}
if (rand == 5) {
sound = "pop5";
}
blammo = new Sound(this);
blammo.attachSound(sound);
blammo.start(0, 1);
_root.attachMovie("boom", "boom" + rand2, rand2);
_root["boom" + rand2]._x = this._x;
_root["boom" + rand2]._y = this._y;
if (this.hitTest(_root.chand) == true) {
_root.chandHealth = _root.chandHealth - 5;
}
this.removeMovieClip();
Symbol 37 MovieClip [boom] Frame 1
if (this.hitTest(_root.chand) == true) {
_root.chandHealth = _root.chandHealth - 50;
}
Symbol 37 MovieClip [boom] Frame 9
this.removeMovieClip();
Symbol 51 Button
on (release) {
getURL ("http://www.albinoblacksheep.com");
}
Symbol 55 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.chandHealth <= 0) {
this.gotoAndPlay("fall");
}
};
Symbol 55 MovieClip Frame 16
stop();
Symbol 61 MovieClip Frame 1
onEnterFrame = function () {
xdist = Math.abs(_root._xmouse - this._x);
ydist = Math.abs(_root._ymouse - this._y);
theta = Math.atan(ydist / xdist);
if ((_root._xmouse >= this._x) && (_root._ymouse <= this._y)) {
angle = theta;
} else if ((_root._xmouse < this._x) && (_root._ymouse <= this._y)) {
angle = Math.PI - theta;
} else if ((_root._xmouse < this._x) && (_root._ymouse > this._y)) {
angle = Math.PI + theta;
} else {
angle = 6.28318530717959 /* Math.PI*2 */ - theta;
}
this._rotation = -((180 * angle) / Math.PI);
};
onMouseDown = function () {
rand = random(4) + 1;
rand2 = random(99999);
if (rand == 1) {
_root.attachMovie("blue", "currentBulb" + rand2, rand2);
} else if (rand == 2) {
_root.attachMovie("red", "currentBulb" + rand2, rand2);
} else if (rand == 3) {
_root.attachMovie("green", "currentBulb" + rand2, rand2);
} else if (rand == 4) {
_root.attachMovie("yeller", "currentBulb" + rand2, rand2);
}
_root["currentBulb" + rand2]._x = this._x;
_root["currentBulb" + rand2]._y = this._y;
};