Frame 1
if (false) {
}
Instance of Symbol 23 MovieClip "loader" in Frame 3
onClipEvent (load) {
this.percentage = "0%";
this.stop();
}
onClipEvent (enterFrame) {
theFrame = Math.max(1, Math.min(100, int(100 * (this._framesloaded / this._totalframes))));
this.percentage = theFrame + "%";
this.gotoAndStop(theFrame);
if (theFrame == 100) {
_parent.gotoAndPlay("load out");
}
}
Frame 3
if (false) {
}
Frame 9
stop();
Frame 10
if (false) {
}
Frame 26
function playMusic(theSound) {
_global.Music.stop();
_global.Music.attachSound(theSound);
_global.MusicName = theSound;
if (_global.MUSICState || (_global.MusicName == "MUSIC_main")) {
_global.Music.start(0, 10000);
}
}
function setMusic() {
if (_global.MUSICState) {
if (_global.MusicName == "MUSIC_game") {
_global.Music.start(0, 10000);
}
} else if (_global.MusicName == "MUSIC_game") {
_global.Music.stop();
}
}
createEmptyMovieClip("music_clip", -100001);
_global.Music = new Sound("music_clip");
_global.MUSICState = true;
gotoAndPlay ("main in");
Frame 27
if (false) {
}
Frame 30
if (false) {
}
Frame 63
function createBugMain() {
i = 0;
while (i < 5) {
all_bugs.bug.duplicateMovieClip("b" + i, _global.startDepth + i, {frozen:false, speed:10, avoid:false, armTarget:random(10), destinationX:100 + random(450), destinationY:30 + random(300), _x:random(500), _y:-30, counter:0, angle:Math.PI, approachSteps:0});
theRandom = random(100);
if (theRandom > 80) {
all_bugs["b" + i].gotoAndStop(3);
} else if (theRandom > 50) {
all_bugs["b" + i].gotoAndStop(2);
} else {
all_bugs["b" + i].gotoAndStop(1);
}
i++;
}
}
function updateBugMain(theBug) {
if (theBug.skeeter._currentframe == 1) {
theBug.skeeter.gotoAndStop(2);
}
if (theBug.skeeter._currentframe == 2) {
if (theBug.counter == 1) {
theBug.angle = theBug.angle + 0.1;
xDiff = theBug._x - theBug.destinationX;
yDiff = theBug._y - theBug.destinationY;
if (((xDiff / theBug.speed) + (5 * Math.cos(theBug.angle))) < 0) {
theBug._xscale = -100;
} else {
theBug._xscale = 100;
}
theBug._x = (theBug._x - (xDiff / theBug.speed)) + (5 * Math.cos(theBug.angle));
theBug._y = (theBug._y - (yDiff / theBug.speed)) + (5 * Math.sin(theBug.angle));
if (((Math.abs(xDiff) < 5) || (Math.abs(yDiff) < 5)) && (random(100) > 50)) {
theBug.destinationY = -50 + random(450);
theBug.destinationX = 0 + random(650);
}
theBug.counter = 0;
theBug.swapDepths(_global.startDepth + theBug._y);
} else {
theBug.counter++;
}
}
}
playMusic("MUSIC_main");
Instance of Symbol 130 MovieClip "all_bugs" in Frame 63
onClipEvent (load) {
_global.startDepth = this.bug.getDepth() + 1;
_parent.createBugMain();
}
Instance of Symbol 132 MovieClip "kidsBrand" in Frame 63
on (press) {
getURL ("http://www.cbc.ca/kids/games/", "_top");
}
Frame 83
stop();
Frame 91
if (_global.Dest == 1) {
gotoAndPlay ("how in");
} else if (_global.Dest == 2) {
gotoAndPlay ("game in in");
}
Frame 92
playMusic("MUSIC_main");
Instance of Symbol 132 MovieClip "kidsBrand" in Frame 92
on (press) {
getURL ("http://www.cbc.ca/kids/games/", "_top");
}
Frame 100
if (false) {
}
Frame 107
if (false) {
}
Frame 114
stop();
Frame 122
if (_global.Dest == 1) {
gotoAndPlay ("main back in");
} else if (_global.Dest == 2) {
gotoAndPlay ("game in in");
}
Frame 123
if (false) {
}
Frame 133
if (false) {
}
Frame 134
if (false) {
}
Frame 135
if (false) {
}
Frame 136
if (false) {
}
Frame 137
if (false) {
}
Frame 138
if (false) {
}
Frame 139
if (false) {
}
Frame 147
stop();
Frame 148
if (false) {
}
Frame 149
if (false) {
}
Frame 150
if (false) {
}
Frame 151
if (false) {
}
Frame 152
if (false) {
}
Frame 153
if (false) {
}
Frame 171
gotoAndStop ("back");
Frame 173
if (false) {
}
Frame 174
if (false) {
}
Frame 175
if (false) {
}
Frame 176
if (false) {
}
Frame 177
if (false) {
}
Frame 179
gotoAndPlay ("how out zero");
Frame 180
playMusic("MUSIC_game");
Frame 188
if (false) {
}
Frame 190
if (false) {
}
Frame 191
if (false) {
}
Frame 209
if (false) {
}
Frame 210
if (false) {
}
Frame 228
if (false) {
}
Frame 229
if (false) {
}
Frame 251
_global.Score = 0;
_global.BiteMeter = 125;
gotoAndPlay (252);
Frame 252
function playSound(theSound) {
_global.SFX.attachSound(theSound);
_global.SFX.start(0, 1);
}
function setUpGlobals() {
_global.CurrentBugs = new Array();
_global.DeadBugs = new Array();
_global.CreateSkeeterTimer = 0;
_global.RedCount = 0;
_global.SkeeterCount = 0;
_global.AvoidPercent = 0;
_global.BiteMeterMax = 125;
_global.SuckRate = 1;
_global.MaxSpeed = 3;
_global.TargetSpeed = 15;
_global.ArmTimer = 0;
_global.SpecialTimer = (getTimer() + 2000) + random(2000);
_global.SpiderTimer = (getTimer() + 1000) + random(1000);
}
function setUpSpecials() {
i = 0;
while (i < 5) {
all_specials.special.duplicateMovieClip("s" + i, (all_specials.special.getDepth() + 1) + i, {theCounter:0, _visible:false, speed:0, _x:600, _y:600, startY:600, angle:Math.PI});
i++;
}
}
function setUpSpiders() {
i = 0;
while (i < 3) {
all_spiders.spider.duplicateMovieClip("sp" + i, (all_spiders.spider.getDepth() + 1) + i, {_x:700, _y:600, startX:600, startY:600});
i++;
}
}
function updateSpiders() {
i = 0;
while (i < 3) {
if (((all_spiders["sp" + i]._currentframe != 1) && (all_spiders["sp" + i]._currentframe != 137)) && (all_spiders["sp" + i]._x < 550)) {
if (all_spiders["sp" + i].spider._currentframe == 2) {
all_spiders["sp" + i]._alpha = Math.max(0, all_spiders["sp" + i]._alpha - 2);
if (all_spiders["sp" + i]._alpha == 0) {
all_spiders["sp" + i]._x = 650;
all_spiders["sp" + i].gotoAndStop(1);
all_spiders["sp" + i]._alpha = 100;
}
}
} else if (((all_spiders["sp" + i]._currentframe == 1) || (all_spiders["sp" + i]._currentframe == 137)) && (_global.SpiderTimer < getTimer())) {
all_spiders["sp" + i]._x = 150 + random(350);
all_spiders["sp" + i]._y = -50 - random(150);
all_spiders["sp" + i].gotoAndPlay(2);
_global.SpiderTimer = (getTimer() + 7000) + random(5000);
}
i++;
}
}
function updateSpecials() {
i = 0;
while (i < 5) {
if (((all_specials["s" + i].theCounter == 0) && (all_specials["s" + i]._visible)) && (all_specials["s" + i]._y < 500)) {
all_specials["s" + i]._x = all_specials["s" + i]._x + all_specials["s" + i].speed;
all_specials["s" + i]._y = all_specials["s" + i].startY + (50 * Math.cos(all_specials["s" + i].angle));
all_specials["s" + i].angle = all_specials["s" + i].angle + 0.1;
if ((all_specials["s" + i]._x < 0) || (all_specials["s" + i]._x > 600)) {
all_specials["s" + i]._y = 600;
all_specials["s" + i]._visible = false;
}
} else if ((all_specials["s" + i].theCounter == 0) && (_global.SpecialTimer < getTimer())) {
theRandom = random(100);
theSpeeds = new Array(-7, 7);
theXStart = new Array(600, 0);
theRandomDir = random(theSpeeds.length);
all_specials["s" + i]._xscale = 100;
if (theRandom < (50 - _global.AvoidPercent)) {
all_specials["s" + i].gotoAndStop(1);
} else if (theRandom > 85) {
all_specials["s" + i].gotoAndStop(2);
} else if (theRandom > 65) {
all_specials["s" + i].gotoAndStop(3);
} else if (theRandom > 35) {
all_specials["s" + i].gotoAndStop(5);
all_specials["s" + i].bug.gotoAndStop(1);
if (theRandomDir == 1) {
all_specials["s" + i]._xscale = -100;
}
} else {
all_specials["s" + i].gotoAndStop(4);
}
all_specials["s" + i].speed = theSpeeds[theRandomDir];
all_specials["s" + i]._x = theXStart[theRandomDir];
all_specials["s" + i]._y = 50 + random(200);
all_specials["s" + i].startY = all_specials["s" + i]._y;
all_specials["s" + i]._visible = true;
_global.SpecialTimer = (getTimer() + 5000) + random(5000);
}
i++;
}
}
function updateBiteMeter(theBite) {
if (theBite.meter._height != _global.BiteMeter) {
theBite.meter._height = _global.BiteMeter;
theBite.meter._y = 67;
}
if (_global.BiteMeter < 1) {
gotoAndPlay ("gameover in");
}
}
function avoidMouse(theBug) {
if (random(100) < (_global.AvoidPercent * theBug._currentframe)) {
if ((Math.abs(theBug._x - this._xmouse) < 50) && (Math.abs(theBug._y - this._ymouse) < 50)) {
return(true);
}
return(false);
}
}
function createBug() {
if ((_global.CreateSkeeterTimer < getTimer()) && (_global.CurrentBugs.length < 25)) {
theXStarts = new Array(0, 600, random(550));
theYStarts = new Array(random(350), random(350), -30);
theRandom = random(3);
all_bugs.bug.duplicateMovieClip("b" + _global.SkeeterCount, _global.startDepth + _global.SkeeterCount, {frozen:false, speed:_global.TargetSpeed, avoid:false, armTarget:random(10), destinationX:100 + random(450), destinationY:30 + random(300), _x:theXStarts[theRandom], _y:theYStarts[theRandom], counter:0, angle:Math.PI, approachSteps:0});
theRandom = random(100);
if (theRandom > 80) {
all_bugs["b" + _global.SkeeterCount].gotoAndStop(3);
} else if (theRandom > 50) {
all_bugs["b" + _global.SkeeterCount].gotoAndStop(2);
} else {
all_bugs["b" + _global.SkeeterCount].gotoAndStop(1);
}
_global.CurrentBugs.push(all_bugs["b" + _global.SkeeterCount]);
_global.SkeeterCount++;
if (_global.SkeeterCount > 2) {
if ((_global.SkeeterCount % 10) == 0) {
_global.AvoidPercent++;
}
if ((_global.SkeeterCount % 50) == 0) {
_global.TargetSpeed = Math.max(_global.MaxSpeed, _global.TargetSpeed - 1);
}
_global.CreateSkeeterTimer = getTimer() + Math.max(400, (400 + random(2000)) - (_global.SkeeterCount * 10));
}
}
}
function eraseBugs() {
while (_global.DeadBugs.length) {
i = 0;
while (i < _global.CurrentBugs.length) {
if (_global.CurrentBugs[i]._name == _global.DeadBugs[0]._name) {
_global.CurrentBugs.splice(i, 1);
}
i++;
}
_global.DeadBugs[0].swapDepths(0);
_global.DeadBugs[0].removeMovieClip();
_global.DeadBugs.splice(0, 1);
}
}
function killAllBugs(theSpecial) {
i = 0;
while (i < _global.CurrentBugs.length) {
myColor = new Color(_global.CurrentBugs[i]);
myColor.removeTint();
_global.CurrentBugs[i].skeeter.gotoAndStop(5);
i++;
}
playSound("SFX_zap");
addPoints(theSpecial, 1000);
}
function freezeAllBugs(theSpecial) {
i = 0;
while (i < _global.CurrentBugs.length) {
myColor = new Color(_global.CurrentBugs[i]);
myColor.setTint(0, 255, 255, 50);
_global.CurrentBugs[i].frozen = true;
_global.CurrentBugs[i].skeeter.animation.stop();
_global.CurrentBugs[i].skeeter.animation.bite.stop();
i++;
}
playSound("SFX_freeze");
}
function killAllLandedBugs(theSpecial) {
i = 0;
while (i < _global.CurrentBugs.length) {
if (_global.CurrentBugs[i].skeeter._currentframe == 3) {
myColor = new Color(_global.CurrentBugs[i]);
myColor.removeTint();
_global.CurrentBugs[i].skeeter.gotoAndStop(4);
}
i++;
}
_global.ArmTimer = getTimer() + 5000;
arm.safe_arm._visible = true;
playSound("SFX_spray");
addPoints(theSpecial, 500);
}
function addHealth(theSpecial) {
playSound("SFX_health");
_global.BiteMeter = Math.min(_global.BiteMeter + 25, _global.BiteMeterMax);
}
function hitSpider(theClip) {
theClip._parent.stop();
theClip.gotoAndStop(2);
loseHealth(theClip);
}
function loseHealth(theSpecial) {
playSound("SFX_splat_" + random(6));
_global.BiteMeter = Math.max(_global.BiteMeter - 25, 0);
}
function removeBug(theBug) {
_global.DeadBugs.push(theBug);
}
function updateBug(theBug) {
if (theBug.skeeter._currentframe == 1) {
theBug.skeeter.gotoAndStop(2);
}
if ((theBug.skeeter._currentframe == 2) && (!theBug.frozen)) {
if (theBug.counter == 1) {
theBug.angle = theBug.angle + 0.1;
xDiff = theBug._x - theBug.destinationX;
yDiff = theBug._y - theBug.destinationY;
if (((xDiff / theBug.speed) + (5 * Math.cos(theBug.angle))) < 0) {
theBug._xscale = -100;
} else {
theBug._xscale = 100;
}
theBug._x = (theBug._x - (xDiff / theBug.speed)) + (5 * Math.cos(theBug.angle));
theBug._y = (theBug._y - (yDiff / theBug.speed)) + (5 * Math.sin(theBug.angle));
if ((theBug._y > 320) && (arm.safe_arm._visible)) {
theBug.speed = _global.MaxSpeed;
theBug.avoid = true;
theBug.destinationX = 100 + random(450);
theBug.destinationY = theBug._y - random(300);
} else if (avoidMouse(theBug) && (!theBug.avoid)) {
theBug.speed = _global.MaxSpeed;
theBug.avoid = true;
theBug.destinationX = this._xmouse + (random(450) - 225);
theBug.destinationY = this._ymouse + (random(400) - 200);
} else if (((Math.abs(xDiff) < 5) || (Math.abs(yDiff) < 5)) && (random(100) > 50)) {
if (theBug.avoid) {
theBug.speed = _global.TargetSpeed;
theBug.avoid = false;
}
theBug.approachSteps++;
if ((((theBug._y > 375) && (theBug._y < 400)) && (theBug._x > 120)) && (theBug._x < 540)) {
arm.red.duplicateMovieClip(theBug._name + "_r", (arm.red.getDepth() + 1) + _global.RedCount, {_x:theBug._x, _y:theBug._y});
_global.RedCount++;
theBug.skeeter.gotoAndStop(3);
} else {
if (theBug.approachSteps > 3) {
theBug.destinationY = 375 + random(25);
} else {
theBug.destinationY = 25 + random(375);
}
if (theBug.destinationY > 350) {
theBug.destinationX = 120 + (theBug.armTarget * 40);
} else {
theBug.destinationX = 100 + random(450);
}
}
}
theBug.counter = 0;
theBug.swapDepths(_global.startDepth + theBug._y);
} else {
theBug.counter++;
}
}
if (theBug.frozen) {
if (theBug.counter == 1) {
theBug._alpha = Math.max(0, theBug._alpha - 1);
if (theBug._alpha == 0) {
removeBug(theBug);
}
theBug.counter = 0;
} else {
theBug.counter++;
}
}
}
function hitBug(theBug) {
if (theBug.skeeter._currentframe != 4) {
myColor = new Color(theBug);
myColor.removeTint();
playSound("SFX_splat_" + random(6));
addPoints(theBug, Math.max(10, Math.min(100, int(100 * (((400 - theBug._y) + theBug._height) / 400)))) * theBug._currentframe);
theBug.skeeter.gotoAndStop(4);
}
}
function addPoints(theClip, points) {
thePoints.theText = points;
thePoints._alpha = 100;
thePoints._x = theClip._x;
thePoints._y = theClip._y;
_global.Score = _global.Score + points;
}
createEmptyMovieClip("sfx_clip", -100000);
_global.SFX = new Sound("sfx_clip");
Color.prototype.setTint = function (r, g, b, amount) {
var _local4 = 100 - amount;
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = _local4));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Color.prototype.removeTint = function () {
this.setTint(0, 0, 0, 0);
};
Instance of Symbol 264 MovieClip "arm" in Frame 252
onClipEvent (load) {
this.safe_arm._visible = false;
}
onClipEvent (enterFrame) {
if ((_global.ArmTimer < getTimer()) && (this.safe_arm._visible)) {
this.safe_arm._visible = false;
}
}
Instance of Symbol 238 MovieClip "bite" in Frame 252
onClipEvent (enterFrame) {
_parent.updateBiteMeter(this);
}
Instance of Symbol 266 MovieClip "theScore" in Frame 252
onClipEvent (load) {
this.theText = _global.Score;
}
onClipEvent (enterFrame) {
if (this.theText != _global.Score) {
this.theText = _global.Score;
}
}
Instance of Symbol 283 MovieClip in Frame 252
onClipEvent (load) {
trace(_global.MUSICState);
if (_global.MUSICState) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 254
if ((cbc_mc.getBytesTotal() < 1) || (cbc_mc.getBytesLoaded() < cbc_mc.getBytesTotal())) {
gotoAndPlay ("cbcscores");
} else {
cbc_mc.loadMovie("/kids/games/loader2.swf");
}
Frame 255
setUpGlobals();
stop();
Instance of Symbol 286 MovieClip "all_bugs" in Frame 255
onClipEvent (load) {
_global.startDepth = this.bug.getDepth() + 1;
}
onClipEvent (enterFrame) {
_parent.updateSpiders();
_parent.updateSpecials();
_parent.createBug();
_parent.eraseBugs();
}
Instance of Symbol 291 MovieClip "all_specials" in Frame 255
onClipEvent (load) {
_parent.setUpSpecials();
}
Instance of Symbol 308 MovieClip "all_spiders" in Frame 255
onClipEvent (load) {
_parent.setUpSpiders();
}
Instance of Symbol 310 MovieClip "thePoints" in Frame 255
onClipEvent (enterFrame) {
if (this._y < 500) {
this._y = this._y - 2;
this._alpha = Math.max(0, this._alpha - 5);
if (this._alpha == 0) {
this._y = 999;
}
}
}
Frame 256
if (false) {
}
Instance of Symbol 329 MovieClip "gameoverdata" in Frame 258
onClipEvent (load) {
if (this.score != _global.Score) {
this.score = _global.Score;
}
}
Frame 258
if (false) {
}
Frame 272
playMusic("MUSIC_main");
stop();
Frame 273
if (false) {
}
Frame 277
stop();
Frame 278
if (false) {
}
Frame 283
stop();
Frame 284
if (false) {
}
Frame 285
if (false) {
}
Frame 286
if (false) {
}
Frame 287
if (false) {
}
Frame 288
if (false) {
}
Frame 289
if (false) {
}
Frame 292
if (_global.Dest == 1) {
gotoAndPlay ("main back in");
} else if (_global.Dest == 2) {
gotoAndPlay ("game in in");
} else if (_global.Dest == 3) {
gotoAndPlay ("how in");
}
Frame 299
if (_global.Dest == 1) {
gotoAndPlay ("main back in");
} else if (_global.Dest == 2) {
gotoAndPlay ("game in in");
} else if (_global.Dest == 3) {
gotoAndPlay ("how in");
}
Symbol 23 MovieClip Frame 100
stop();
Symbol 24 MovieClip Frame 15
stop();
Symbol 72 MovieClip Frame 1
_global.BiteMeter = _global.BiteMeter - (_global.SuckRate * _parent._parent._parent._currentframe);
Symbol 76 MovieClip Frame 405
stop();
Symbol 85 MovieClip Frame 11
_parent._parent._parent._parent.removeBug(_parent._parent);
stop();
Symbol 94 MovieClip Frame 11
_parent._parent._parent._parent.removeBug(_parent._parent);
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 95 MovieClip Frame 3
stop();
Symbol 95 MovieClip Frame 4
stop();
Symbol 95 MovieClip Frame 5
stop();
Symbol 111 MovieClip Frame 405
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 3
stop();
Symbol 112 MovieClip Frame 4
stop();
Symbol 112 MovieClip Frame 5
stop();
Symbol 127 MovieClip Frame 405
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 3
stop();
Symbol 128 MovieClip Frame 4
stop();
Symbol 128 MovieClip Frame 5
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
stop();
Instance of Symbol 112 MovieClip "skeeter" in Symbol 129 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._name != "bug") {
_parent.updateBug(this);
}
}
Symbol 129 MovieClip Frame 3
stop();
Instance of Symbol 128 MovieClip "skeeter" in Symbol 129 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this._name != "bug") {
_parent.updateBug(this);
}
}
Instance of Symbol 129 MovieClip "bug" in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._name != "bug") {
_parent._parent.updateBugMain(this);
}
}
Symbol 150 MovieClip Frame 10
stop();
Symbol 156 MovieClip Frame 10
stop();
Symbol 157 Button
on (press) {
_global.Dest = 1;
gotoAndPlay ("main out");
}
Symbol 158 Button
on (press) {
_global.Dest = 2;
gotoAndPlay ("main out");
}
Symbol 189 MovieClip Frame 11
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 2
stop();
Symbol 232 Button
on (press) {
gotoAndPlay ("more in");
}
Symbol 233 Button
on (press) {
_global.Dest = 1;
gotoAndPlay ("how out");
}
Symbol 234 Button
on (press) {
_global.Dest = 2;
gotoAndPlay ("how out");
}
Symbol 237 MovieClip Frame 14
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 244 Button
on (press) {
gotoAndPlay ("more back");
}
Symbol 245 Button
on (press) {
_global.Dest = 1;
gotoAndPlay ("more out");
}
Symbol 246 Button
on (press) {
_global.Dest = 2;
gotoAndPlay ("more out");
}
Symbol 262 MovieClip Frame 60
gotoAndPlay (1);
Symbol 262 MovieClip Frame 91
stop();
Symbol 263 MovieClip Frame 234
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 267 Button
on (press) {
_global.Dest = 1;
gotoAndPlay ("game out");
}
Symbol 276 Button
on (press) {
_global.MUSICState = false;
_parent.setMusic();
gotoAndStop (2);
}
Symbol 278 MovieClip Frame 10
stop();
Symbol 281 MovieClip Frame 10
stop();
Symbol 282 Button
on (press) {
_global.MUSICState = true;
_parent.setMusic();
gotoAndStop (1);
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
stop();
Symbol 284 Button
on (press) {
_global.Dest = 3;
gotoAndPlay ("game out");
}
Symbol 285 Button
on (press) {
_global.Dest = 2;
gotoAndPlay ("game out");
}
Instance of Symbol 129 MovieClip "bug" in Symbol 286 MovieClip Frame 1
on (press) {
_parent._parent.hitBug(this);
}
onClipEvent (enterFrame) {
if (this._name != "bug") {
_parent._parent.updateBug(this);
}
}
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 3
stop();
Symbol 290 MovieClip Frame 4
stop();
Symbol 290 MovieClip Frame 5
stop();
Instance of Symbol 290 MovieClip "special" in Symbol 291 MovieClip Frame 1
on (press) {
if (this._name != "special") {
if (this._currentframe == 1) {
_parent._parent.addHealth(this);
theCounter = 1;
} else if (this._currentframe == 5) {
_parent._parent.loseHealth(this);
this.bug.gotoAndStop(2);
theCounter = 90;
} else if (this._currentframe == 2) {
_parent._parent.killAllBugs(this);
theCounter = 1;
} else if (this._currentframe == 3) {
_parent._parent.killAllLandedBugs(this);
theCounter = 1;
} else if (this._currentframe == 4) {
_parent._parent.freezeAllBugs(this);
theCounter = 1;
}
}
}
onClipEvent (enterFrame) {
if (theCounter > 0) {
theCounter--;
if (theCounter == 0) {
this._visible = false;
this._y = 600;
}
} else if ((theCounter == 0) && (this._visible)) {
}
}
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 2
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 296 MovieClip "spider" in Symbol 307 MovieClip Frame 1
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 299 MovieClip "spider" in Symbol 307 MovieClip Frame 30
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 302 MovieClip "spider" in Symbol 307 MovieClip Frame 31
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 299 MovieClip "spider" in Symbol 307 MovieClip Frame 35
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 193 MovieClip "spider" in Symbol 307 MovieClip Frame 36
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 305 MovieClip "spider" in Symbol 307 MovieClip Frame 37
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 299 MovieClip "spider" in Symbol 307 MovieClip Frame 39
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 302 MovieClip "spider" in Symbol 307 MovieClip Frame 40
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 193 MovieClip "spider" in Symbol 307 MovieClip Frame 43
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 305 MovieClip "spider" in Symbol 307 MovieClip Frame 44
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 299 MovieClip "spider" in Symbol 307 MovieClip Frame 45
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 193 MovieClip "spider" in Symbol 307 MovieClip Frame 47
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 306 MovieClip "spider" in Symbol 307 MovieClip Frame 55
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 305 MovieClip "spider" in Symbol 307 MovieClip Frame 122
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 302 MovieClip "spider" in Symbol 307 MovieClip Frame 123
on (press) {
_parent._parent._parent.hitSpider(this);
}
Instance of Symbol 193 MovieClip "spider" in Symbol 307 MovieClip Frame 136
on (press) {
_parent._parent._parent.hitSpider(this);
}
Symbol 307 MovieClip Frame 137
stop();
Symbol 311 Button
on (press) {
_global.Dest = 1;
gotoAndPlay ("gameover out");
}
Symbol 312 Button
on (press) {
_global.Dest = 3;
gotoAndPlay ("gameover out");
}
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 3
!!!ERROR
Symbol 329 MovieClip Frame 1
!!!ERROR
Symbol 329 MovieClip Frame 2
!!!ERROR
Symbol 329 MovieClip Frame 3
!!!ERROR
Symbol 329 MovieClip Frame 4
!!!ERROR
Symbol 332 Button
on (press) {
trace(_global.Score);
trace(gameoverdata.username);
theResult = cbc_mc.subscor(410, gameoverdata.username, _global.Score, 0, 0);
trace(theResult);
gotoAndPlay ("sent");
}
Symbol 333 Button
on (press) {
!!!ERROR