Frame 1
if (getBytesLoaded() == getBytesTotal()) {
gotoAndStop (3);
}
Instance of Symbol 12 MovieClip "1" in Frame 1
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 12 MovieClip "2" in Frame 1
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 12 MovieClip "3" in Frame 1
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Frame 2
gotoAndPlay (1);
Frame 5
score = 0;
kills = 0;
milli = 30;
secs = 60;
balloons = 0;
speed_pin = 8;
s_throw = new Sound();
s_throw.attachSound("throw");
s_pop = new Sound();
s_pop.attachSound("pop");
Mouse.hide();
Frame 6
Mouse.show();
Instance of Symbol 12 MovieClip "1" in Frame 6
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 12 MovieClip "2" in Frame 6
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Instance of Symbol 12 MovieClip "3" in Frame 6
onClipEvent (load) {
myNum = _name;
}
onClipEvent (enterFrame) {
_root[("r" + myNum) + "Diff"] = _root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Old"];
_root[("r" + myNum) + "Change"] = _root[("r" + myNum) + "Diff"] / 3;
_root[("g" + myNum) + "Diff"] = _root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Old"];
_root[("g" + myNum) + "Change"] = _root[("g" + myNum) + "Diff"] / 3;
_root[("b" + myNum) + "Diff"] = _root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Old"];
_root[("b" + myNum) + "Change"] = _root[("b" + myNum) + "Diff"] / 3;
swatchColor = new Color(this);
swatchColor.setRGB(((_root[("r" + myNum) + "Change"] << 16) | (_root[("g" + myNum) + "Change"] << 8)) | _root[("b" + myNum) + "Change"]);
_root[("r" + myNum) + "Old"] = _root[("r" + myNum) + "Old"] - (_root[("r" + myNum) + "New"] - _root[("r" + myNum) + "Change"]);
_root[("g" + myNum) + "Old"] = _root[("g" + myNum) + "Old"] - (_root[("g" + myNum) + "New"] - _root[("g" + myNum) + "Change"]);
_root[("b" + myNum) + "Old"] = _root[("b" + myNum) + "Old"] - (_root[("b" + myNum) + "New"] - _root[("b" + myNum) + "Change"]);
if (i < 3) {
i++;
_root[("r" + i) + "New"] = random(255);
_root[("g" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
_root[("b" + i) + "New"] = random(255);
} else {
i = 0;
}
}
Frame 7
prevFrame();
Symbol 9 Button
on (release) {
getURL ("http://www.etgames.com", "_blank");
}
Symbol 18 Button
on (release) {
nextFrame();
}
Symbol 22 Button
on (release) {
gotoAndStop (5);
}
Symbol 31 MovieClip Frame 1
if (timer == 0) {
if (_root.balloons < 3) {
timer = "";
_root.balloons++;
gotoAndPlay (3);
}
} else if (0 < timer) {
timer--;
} else {
timer = random(200);
}
Symbol 31 MovieClip Frame 2
gotoAndPlay (1);
Symbol 31 MovieClip Frame 6
_root["balloon" + (substring(_name, 7, 7))].gotoAndStop("live");
Symbol 31 MovieClip Frame 39
if (_root["balloon" + (substring(_name, 7, 7))]._currentFrame != 3) {
_root["balloon" + (substring(_name, 7, 7))].gotoAndStop("limbo");
_root.balloons--;
}
Symbol 35 MovieClip Frame 1
if (((((_parent._x < (_root.pin._x + 60)) && ((_root.pin._x - 60) < _parent._x)) && (_parent._y < (_root.pin._y + 60))) && ((_root.pin._y - 60) < _parent._y)) && (_root.pin._xscale < 5)) {
_root.kills++;
_root.s_pop.start();
_parent.gotoAndStop("pop");
}
Symbol 35 MovieClip Frame 2
gotoAndPlay (1);
Symbol 39 MovieClip Frame 7
_root.balloons--;
_parent.gotoAndStop("limbo");
Symbol 40 MovieClip Frame 1
stop();
Symbol 43 Button
on (release) {
_root.s_throw.start();
gotoAndStop (2);
}
Symbol 45 MovieClip Frame 1
_parent._xscale = _parent._xscale - _root.speed_pin;
_parent._yscale = _parent._xscale;
_parent._rotation = _parent._rotation + (_root.speed_pin * 4);
if (0 >= _parent._xscale) {
_parent.gotoAndStop("crosshair");
}
Symbol 45 MovieClip Frame 2
gotoAndPlay (1);
Symbol 46 MovieClip Frame 1
stop();
_xscale = 100;
_yscale = 100;
_rotation = 0;
startDrag (this, true);
Symbol 46 MovieClip Frame 2
stopDrag();
Symbol 57 MovieClip Frame 1
clock.gotoAndStop(_root.secs + 1);
_root.milli--;
if (_root.milli == 0) {
if (_root.secs == 0) {
_root.score = _root.kills * 10;
_root.gotoAndStop("end");
} else {
_root.milli = 30;
_root.secs--;
}
}
Symbol 57 MovieClip Frame 2
gotoAndPlay (1);
Symbol 62 Button
on (release) {
gotoAndStop (5);
}
Symbol 68 Button
on (release) {
_root.gotoAndStop("scores");
}
Symbol 69 MovieClip Frame 1
if (_root.local != 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 77 Button
on (release) {
if (((_root.scoredone == "done") and (_root.hiscore20 < _root.score)) and (_root.old_score != _root.score)) {
_root.old_score = _root.score;
_root.hiscore = _root.score;
if (_root.xname eq "Name Here") {
_root.xname = "etgames";
}
loadVariablesNum ((((((("/scores.php?action=sendscore&game=" + _root.game) + "&hiscore=") + _root.hiscore) + "&xname=") + _root.xname) + "&randx=") + random(100), 0, "POST");
}
_visible = 0;
}
Symbol 80 MovieClip Frame 1
if ((_root.hiscore20 < _root.score) and (_root.local == 1)) {
_visible = 1;
} else {
_visible = 0;
stop();
}
Symbol 122 MovieClip Frame 1
if (_root.local == 1) {
_visible = 1;
} else {
_visible = 0;
stop();
}
Symbol 122 MovieClip Frame 2
_root.game = "evilballoons";
loadVariablesNum ((("/scores.php?action=getscores&game=" + _root.game) + "&randx=") + random(100000), 0, "POST");
Symbol 122 MovieClip Frame 5
if (_root.scoredone == "done") {
nothing = nothing;
} else {
gotoAndPlay (3);
}
Symbol 122 MovieClip Frame 7
stop();