STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228074
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/22084569?noj=FRM22084569-30DC" width="1" height="1"></div>

The Ant Arena.swf

This is the info page for
Flash #19244

(Click the ID number above for more basic data on this flash file.)


Text
YOU DID IT!

YOU DID IT!

HI SCORER

HI SCORER

you are a

you are a

you have won
a total of

you have won
a total of

0.10

£

£

CONGRATULATIONS!

CONGRATULATIONS!

YOU HAVE WON!

YOU HAVE WON!

0.10

p

p

OH NO!!

OH NO!!

YOU HAVE

YOU HAVE

CREDITS!

CREDITS!

NO MORE

NO MORE

restart game

restart game

restart game

see hi scores

see hi scores

see hi scores

YOU HAVE DIED!

YOU HAVE DIED!

revenge

revenge

revenge

3

2

1

GO

YOU NEED TO INSTALL THE  FLASH 5 PLUG-IN
TO PLAY THIS GAME

Loading

Loading .

Loading . .

Loading . . .

Ant Arena

the

instructions page

start game

start game

start game

don't get hit
head on!

use the arrow
keys to control
your ant

hit other ants from
behind or side to
kill them

//bgLoop here!

music

W

your credit

35

p

//sounds here!

35

35

35

35

35

35

35

35

Choose your badge

Submit Score

Name

enter name here

High Scores
for Your Game

BACK

1
2
3
4
5
6
7
8
9
10

Name

Works best using
an embedded
monospaced font,
such as Andale
Mono.

Score

Works best
using an
embedded
monospaced
font, such as
Andale Mono.

Rank

Score

Name

Congratulations!
Your ranking is 10th
out of 100 scores!

ActionScript [AS1/AS2]

Frame 1
with (_root) { gotoAndPlay(3); }
Frame 2
stop();
Frame 3
play();
Frame 4
play();
Frame 5
_framesloaded = 36; if (36) { nextFrame(); } else { prevFrame(); }
Frame 6
play();
Frame 38
maxBarWidth = 125; loadedBytes = getBytesLoaded(); totalBytes = getBytesTotal(); setProperty("loadingBar", _width , (maxBarWidth * loadedBytes) / totalBytes); if (loadedBytes == totalBytes) { gotoAndStop (40); } play();
Frame 39
prevFrame();
Frame 40
stop();
Frame 41
_root.music = true;
Instance of Symbol 148 MovieClip "MusicButton" in Frame 41
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 42
_root.bgLoop.play();
Frame 43
textLevel = "LEVEL 1";
Frame 136
level = 1; credit = 10; reward = 10; x0 = 195; y0 = 230; clockRadius = 135; enemyNumber = 1; _root.enemy._visible = false;
Instance of Symbol 154 MovieClip "enemy" in Frame 136
onClipEvent (load) { alive = true; enemySpeed = 5; } onClipEvent (enterFrame) { if (this._name != "enemy") { if (this.moving == true) { x1 = this._x; y1 = this._y; enemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= enemyRadius) { xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else { moveLegs = false; newRotation = (random(25) - 12) * 15; xmov = enemySpeed * Math.sin((Math.PI/180) * newRotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * newRotation); x1 = this._x + xmov; y1 = this._y + ymov; newEnemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= newEnemyRadius) { moveLegs = true; this._rotation = newRotation; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { k = 1; while (_root.enemyNumber >= k) { if (k == i) { } else if (_root["enemy" + i].head.hitTest(_root["enemy" + k].body)) { this._rotation = this._rotation - 180; xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); newYmov = -xmov; this._x = this._x + ymov; this._y = this._y + newYmov; } k++; } i++; } if (this.head.hitTest(_root.ant.body) || (this.head.hitTest(_root.ant.head))) { _root.ant.alive = false; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if (((this.alive == false) && (_root.ant.alive == true)) && (tweezers != true)) { _root.sounds.gotoAndPlay("enemyDie"); tweezers = true; this.moving = false; extract = substring(this._name, 6, 1); tweezerOut = "tweezer" + extract; _root.attachMovie("tweezerOut", tweezerOut, 90 + extract); _root[tweezerOut]._x = this._x; _root[tweezerOut]._y = this._y; _root[tweezerOut]._rotation = this._rotation; _root[tweezerOut].enemy = this._name; } } }
Instance of Symbol 161 MovieClip "bgLoop" in Frame 136
onClipEvent (load) { if (_root.music == false) { this.stop(); } }
Instance of Symbol 148 MovieClip "MusicButton" in Frame 136
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 137
enemyCount = enemyNumber; _root.attachMovie("countDown", "countDown", 100); _root.countDown._x = x0; _root.countDown._y = y0; _root.countDown._alpha = 40; _root.ant._visible = true; _root.ant.moving = false; _root.ant._x = x0; _root.ant._y = y0 + 80; _root.ant._rotation = 0; posX1 = x0; posY1 = 160; rot1 = 180; _root.enemy._visible = false; i = 1; while (enemyNumber >= i) { enemy.duplicateMovieClip("enemy" + i, i); _root["enemy" + i]._visible = true; _root["enemy" + i].alive = true; _root["enemy" + i].moveLegs = false; _root["enemy" + i].moving = false; _root["enemy" + i]._x = _root["posX" + i]; _root["enemy" + i]._y = _root["posY" + i]; _root["enemy" + i]._rotation = _root["rot" + i]; i++; }
Instance of Symbol 162 MovieClip "ant" in Frame 137
onClipEvent (load) { alive = true; antSpeed = 8; moveLegs = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) or Key.isDown(65)) { moveLegs = true; this._rotation = this._rotation + 15; } else if (Key.isDown(Key.LEFT) or Key.isDown(68)) { moveLegs = true; this._rotation = this._rotation - 15; } if (moving == true) { x1 = this._x; y1 = this._y; antRadius = Math.sqrt(((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2); if (_root.clockRadius >= antRadius) { xmov = antSpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-antSpeed) * Math.cos((Math.PI/180) * this._rotation); if (Key.isDown(Key.UP) or Key.isDown(87)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN) or Key.isDown(83)) { moveLegs = true; this._x = this._x - (xmov / 2); this._y = this._y - (ymov / 2); } } else { ymov = ((antRadius - _root.clockRadius) * (_root.y0 - y1)) / antRadius; xmov = ((antRadius - _root.clockRadius) * (_root.x0 - x1)) / antRadius; if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { if (this.head.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x - xmov; this._y = this._y - ymov; if (this.alive == true) { _root["enemy" + i].alive = false; } } } else if (this.body.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + (xmov + (xmov / 4)); this._y = this._y + (ymov + (ymov / 4)); } } i++; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if ((this.alive == false) && (dead != true)) { this.moving = false; i = 1; while (_root.enemyNumber >= i) { _root["enemy" + i].moving = false; _root["enemy" + i].moveLegs = false; i++; } this._visible = false; _root.attachMovie("deadAnt", "deadAnt", 90); _root.deadAnt._x = this._x; _root.deadAnt._y = this._y; _root.deadAnt._rotation = this._rotation; dead = true; } if (((_root.enemyCount == 0) && (this.alive == true)) && (won != true)) { _root.ant.moving = false; _root.attachMovie("youWon", "youWon", 100); _root.youWon._x = _root.x0; _root.youWon._y = _root.y0; _root.youWon.play(); won = true; } } onClipEvent (keyUp) { moveLegs = false; }
Frame 138
stop();
Frame 143
textLevel = "LEVEL 2";
Instance of Symbol 148 MovieClip "MusicButton" in Frame 143
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 238
level = 2; reward = 20; enemyNumber = 2; _root.enemy._visible = false;
Instance of Symbol 164 MovieClip "enemy" in Frame 238
onClipEvent (load) { alive = true; enemySpeed = random(2) + 5; } onClipEvent (enterFrame) { if (this._name != "enemy") { if (this.moving == true) { x1 = this._x; y1 = this._y; enemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= enemyRadius) { xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else { moveLegs = false; newRotation = (random(25) - 12) * 15; xmov = enemySpeed * Math.sin((Math.PI/180) * newRotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * newRotation); x1 = this._x + xmov; y1 = this._y + ymov; newEnemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= newEnemyRadius) { moveLegs = true; this._rotation = newRotation; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { k = 1; while (_root.enemyNumber >= k) { if (k == i) { } else if (_root["enemy" + i].head.hitTest(_root["enemy" + k].body)) { this._rotation = this._rotation - 180; xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); newYmov = -xmov; this._x = this._x + ymov; this._y = this._y + newYmov; } k++; } i++; } if (this.head.hitTest(_root.ant.body) || (this.head.hitTest(_root.ant.head))) { _root.ant.alive = false; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if (((this.alive == false) && (_root.ant.alive == true)) && (tweezers != true)) { _root.sounds.gotoAndPlay("enemyDie"); tweezers = true; this.moving = false; extract = substring(this._name, 6, 1); tweezerOut = "tweezer" + extract; _root.attachMovie("tweezerOut", tweezerOut, 90 + extract); _root[tweezerOut]._x = this._x; _root[tweezerOut]._y = this._y; _root[tweezerOut]._rotation = this._rotation; _root[tweezerOut].enemy = this._name; } } }
Instance of Symbol 161 MovieClip "bgLoop" in Frame 238
onClipEvent (load) { if (_root.music == false) { this.stop(); } }
Instance of Symbol 148 MovieClip "MusicButton" in Frame 238
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 239
enemyCount = enemyNumber; _root.attachMovie("countDown", "countDown", 100); _root.countDown._x = x0; _root.countDown._y = y0; _root.countDown._alpha = 40; _root.ant._visible = true; _root.ant.moving = false; _root.ant._x = x0; _root.ant._y = y0 + 80; _root.ant._rotation = 0; posX1 = x0 - 75; posY1 = 180; rot1 = 150; posX2 = x0 + 75; posY2 = 180; rot2 = -150; _root.enemy._visible = false; i = 1; while (enemyNumber >= i) { enemy.duplicateMovieClip("enemy" + i, i); _root["enemy" + i]._visible = true; _root["enemy" + i].alive = true; _root["enemy" + i].moveLegs = false; _root["enemy" + i].moving = false; _root["enemy" + i]._x = _root["posX" + i]; _root["enemy" + i]._y = _root["posY" + i]; _root["enemy" + i]._rotation = _root["rot" + i]; i++; }
Instance of Symbol 162 MovieClip "ant" in Frame 239
onClipEvent (load) { alive = true; antSpeed = 8; moveLegs = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) or Key.isDown(65)) { moveLegs = true; this._rotation = this._rotation + 15; } else if (Key.isDown(Key.LEFT) or Key.isDown(68)) { moveLegs = true; this._rotation = this._rotation - 15; } if (moving == true) { x1 = this._x; y1 = this._y; antRadius = Math.sqrt(((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2); if (_root.clockRadius >= antRadius) { xmov = antSpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-antSpeed) * Math.cos((Math.PI/180) * this._rotation); if (Key.isDown(Key.UP) or Key.isDown(87)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN) or Key.isDown(83)) { moveLegs = true; this._x = this._x - (xmov / 2); this._y = this._y - (ymov / 2); } } else { ymov = ((antRadius - _root.clockRadius) * (_root.y0 - y1)) / antRadius; xmov = ((antRadius - _root.clockRadius) * (_root.x0 - x1)) / antRadius; if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { if (this.head.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x - xmov; this._y = this._y - ymov; if (this.alive == true) { _root["enemy" + i].alive = false; } } } else if (this.body.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + (xmov + (xmov / 4)); this._y = this._y + (ymov + (ymov / 4)); } } i++; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if ((this.alive == false) && (dead != true)) { this.moving = false; i = 1; while (_root.enemyNumber >= i) { _root["enemy" + i].moving = false; _root["enemy" + i].moveLegs = false; i++; } this._visible = false; _root.attachMovie("deadAnt", "deadAnt", 90); _root.deadAnt._x = this._x; _root.deadAnt._y = this._y; _root.deadAnt._rotation = this._rotation; dead = true; } if (((_root.enemyCount == 0) && (this.alive == true)) && (won != true)) { _root.ant.moving = false; _root.attachMovie("youWon", "youWon", 100); _root.youWon._x = _root.x0; _root.youWon._y = _root.y0; _root.youWon.play(); won = true; } } onClipEvent (keyUp) { moveLegs = false; }
Frame 240
stop();
Frame 245
textLevel = "LEVEL 3";
Instance of Symbol 148 MovieClip "MusicButton" in Frame 245
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 340
level = 3; reward = 30; enemyNumber = 3; _root.enemy._visible = false;
Instance of Symbol 164 MovieClip "enemy" in Frame 340
onClipEvent (load) { alive = true; enemySpeed = random(2) + 5; } onClipEvent (enterFrame) { if (this._name != "enemy") { if (this.moving == true) { x1 = this._x; y1 = this._y; enemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= enemyRadius) { xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else { moveLegs = false; newRotation = (random(25) - 12) * 15; xmov = enemySpeed * Math.sin((Math.PI/180) * newRotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * newRotation); x1 = this._x + xmov; y1 = this._y + ymov; newEnemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= newEnemyRadius) { moveLegs = true; this._rotation = newRotation; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { k = 1; while (_root.enemyNumber >= k) { if (k == i) { } else if (_root["enemy" + i].head.hitTest(_root["enemy" + k].body)) { this._rotation = this._rotation - 180; xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); newYmov = -xmov; this._x = this._x + ymov; this._y = this._y + newYmov; } k++; } i++; } if (this.head.hitTest(_root.ant.body) || (this.head.hitTest(_root.ant.head))) { _root.ant.alive = false; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if (((this.alive == false) && (_root.ant.alive == true)) && (tweezers != true)) { _root.sounds.gotoAndPlay("enemyDie"); tweezers = true; this.moving = false; extract = substring(this._name, 6, 1); tweezerOut = "tweezer" + extract; _root.attachMovie("tweezerOut", tweezerOut, 90 + extract); _root[tweezerOut]._x = this._x; _root[tweezerOut]._y = this._y; _root[tweezerOut]._rotation = this._rotation; _root[tweezerOut].enemy = this._name; } } }
Instance of Symbol 161 MovieClip "bgLoop" in Frame 340
onClipEvent (load) { if (_root.music == false) { this.stop(); } }
Instance of Symbol 148 MovieClip "MusicButton" in Frame 340
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 341
enemyCount = enemyNumber; _root.attachMovie("countDown", "countDown", 100); _root.countDown._x = x0; _root.countDown._y = y0; _root.countDown._alpha = 40; _root.ant._visible = true; _root.ant.moving = false; _root.ant._x = x0; _root.ant._y = y0 + 80; _root.ant._rotation = 0; posX1 = x0; posY1 = 160; rot1 = 180; posX2 = x0 - 75; posY2 = 180; rot2 = 150; posX3 = x0 + 75; posY3 = 180; rot3 = -150; _root.enemy._visible = false; i = 1; while (enemyNumber >= i) { enemy.duplicateMovieClip("enemy" + i, i); _root["enemy" + i]._visible = true; _root["enemy" + i].alive = true; _root["enemy" + i].moveLegs = false; _root["enemy" + i].moving = false; _root["enemy" + i]._x = _root["posX" + i]; _root["enemy" + i]._y = _root["posY" + i]; _root["enemy" + i]._rotation = _root["rot" + i]; i++; }
Instance of Symbol 162 MovieClip "ant" in Frame 341
onClipEvent (load) { alive = true; antSpeed = 8; moveLegs = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) or Key.isDown(65)) { moveLegs = true; this._rotation = this._rotation + 15; } else if (Key.isDown(Key.LEFT) or Key.isDown(68)) { moveLegs = true; this._rotation = this._rotation - 15; } if (moving == true) { x1 = this._x; y1 = this._y; antRadius = Math.sqrt(((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2); if (_root.clockRadius >= antRadius) { xmov = antSpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-antSpeed) * Math.cos((Math.PI/180) * this._rotation); if (Key.isDown(Key.UP) or Key.isDown(87)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN) or Key.isDown(83)) { moveLegs = true; this._x = this._x - (xmov / 2); this._y = this._y - (ymov / 2); } } else { ymov = ((antRadius - _root.clockRadius) * (_root.y0 - y1)) / antRadius; xmov = ((antRadius - _root.clockRadius) * (_root.x0 - x1)) / antRadius; if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { if (this.head.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x - xmov; this._y = this._y - ymov; if (this.alive == true) { _root["enemy" + i].alive = false; } } } else if (this.body.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + (xmov + (xmov / 4)); this._y = this._y + (ymov + (ymov / 4)); } } i++; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if ((this.alive == false) && (dead != true)) { this.moving = false; i = 1; while (_root.enemyNumber >= i) { _root["enemy" + i].moving = false; _root["enemy" + i].moveLegs = false; i++; } this._visible = false; _root.attachMovie("deadAnt", "deadAnt", 90); _root.deadAnt._x = this._x; _root.deadAnt._y = this._y; _root.deadAnt._rotation = this._rotation; dead = true; } if (((_root.enemyCount == 0) && (this.alive == true)) && (won != true)) { _root.ant.moving = false; _root.attachMovie("youWon", "youWon", 100); _root.youWon._x = _root.x0; _root.youWon._y = _root.y0; _root.youWon.play(); won = true; } } onClipEvent (keyUp) { moveLegs = false; }
Frame 342
stop();
Frame 347
textLevel = "LEVEL 4";
Instance of Symbol 148 MovieClip "MusicButton" in Frame 347
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 442
level = 4; reward = 40; enemyNumber = 4; _root.enemy._visible = false;
Instance of Symbol 164 MovieClip "enemy" in Frame 442
onClipEvent (load) { alive = true; enemySpeed = random(2) + 5; } onClipEvent (enterFrame) { if (this._name != "enemy") { if (this.moving == true) { x1 = this._x; y1 = this._y; enemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= enemyRadius) { xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else { moveLegs = false; newRotation = (random(25) - 12) * 15; xmov = enemySpeed * Math.sin((Math.PI/180) * newRotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * newRotation); x1 = this._x + xmov; y1 = this._y + ymov; newEnemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= newEnemyRadius) { moveLegs = true; this._rotation = newRotation; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { k = 1; while (_root.enemyNumber >= k) { if (k == i) { } else if (_root["enemy" + i].head.hitTest(_root["enemy" + k].body)) { this._rotation = this._rotation - 180; xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); newYmov = -xmov; this._x = this._x + ymov; this._y = this._y + newYmov; } k++; } i++; } if (this.head.hitTest(_root.ant.body) || (this.head.hitTest(_root.ant.head))) { _root.ant.alive = false; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if (((this.alive == false) && (_root.ant.alive == true)) && (tweezers != true)) { _root.sounds.gotoAndPlay("enemyDie"); tweezers = true; this.moving = false; extract = substring(this._name, 6, 1); tweezerOut = "tweezer" + extract; _root.attachMovie("tweezerOut", tweezerOut, 90 + extract); _root[tweezerOut]._x = this._x; _root[tweezerOut]._y = this._y; _root[tweezerOut]._rotation = this._rotation; _root[tweezerOut].enemy = this._name; } } }
Instance of Symbol 161 MovieClip "bgLoop" in Frame 442
onClipEvent (load) { if (_root.music == false) { this.stop(); } }
Instance of Symbol 148 MovieClip "MusicButton" in Frame 442
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 443
enemyCount = enemyNumber; _root.attachMovie("countDown", "countDown", 100); _root.countDown._x = x0; _root.countDown._y = y0; _root.countDown._alpha = 40; _root.ant._visible = true; _root.ant.moving = false; _root.ant._x = x0; _root.ant._y = y0 + 80; _root.ant._rotation = 0; posX1 = x0 - 85; posY1 = 200; rot1 = 135; posX2 = x0 + 85; posY2 = 200; rot2 = -135; posX3 = x0 - 35; posY3 = 160; rot3 = 165; posX4 = x0 + 35; posY4 = 160; rot4 = -165; _root.enemy._visible = false; i = 1; while (enemyNumber >= i) { enemy.duplicateMovieClip("enemy" + i, i); _root["enemy" + i]._visible = true; _root["enemy" + i].alive = true; _root["enemy" + i].moveLegs = false; _root["enemy" + i].moving = false; _root["enemy" + i]._x = _root["posX" + i]; _root["enemy" + i]._y = _root["posY" + i]; _root["enemy" + i]._rotation = _root["rot" + i]; i++; }
Instance of Symbol 162 MovieClip "ant" in Frame 443
onClipEvent (load) { alive = true; antSpeed = 8; moveLegs = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) or Key.isDown(65)) { moveLegs = true; this._rotation = this._rotation + 15; } else if (Key.isDown(Key.LEFT) or Key.isDown(68)) { moveLegs = true; this._rotation = this._rotation - 15; } if (moving == true) { x1 = this._x; y1 = this._y; antRadius = Math.sqrt(((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2); if (_root.clockRadius >= antRadius) { xmov = antSpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-antSpeed) * Math.cos((Math.PI/180) * this._rotation); if (Key.isDown(Key.UP) or Key.isDown(87)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN) or Key.isDown(83)) { moveLegs = true; this._x = this._x - (xmov / 2); this._y = this._y - (ymov / 2); } } else { ymov = ((antRadius - _root.clockRadius) * (_root.y0 - y1)) / antRadius; xmov = ((antRadius - _root.clockRadius) * (_root.x0 - x1)) / antRadius; if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { if (this.head.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x - xmov; this._y = this._y - ymov; if (this.alive == true) { _root["enemy" + i].alive = false; } } } else if (this.body.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + (xmov + (xmov / 4)); this._y = this._y + (ymov + (ymov / 4)); } } i++; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if ((this.alive == false) && (dead != true)) { this.moving = false; i = 1; while (_root.enemyNumber >= i) { _root["enemy" + i].moving = false; _root["enemy" + i].moveLegs = false; i++; } this._visible = false; _root.attachMovie("deadAnt", "deadAnt", 90); _root.deadAnt._x = this._x; _root.deadAnt._y = this._y; _root.deadAnt._rotation = this._rotation; dead = true; } if (((_root.enemyCount == 0) && (this.alive == true)) && (won != true)) { _root.ant.moving = false; _root.attachMovie("youWon", "youWon", 100); _root.youWon._x = _root.x0; _root.youWon._y = _root.y0; _root.youWon.play(); won = true; } } onClipEvent (keyUp) { moveLegs = false; }
Frame 444
stop();
Frame 449
textLevel = "LEVEL 5";
Instance of Symbol 148 MovieClip "MusicButton" in Frame 449
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 544
level = 5; reward = 50; enemyNumber = 5; _root.enemy._visible = false;
Instance of Symbol 164 MovieClip "enemy" in Frame 544
onClipEvent (load) { alive = true; enemySpeed = random(2) + 5; } onClipEvent (enterFrame) { if (this._name != "enemy") { if (this.moving == true) { x1 = this._x; y1 = this._y; enemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= enemyRadius) { xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else { moveLegs = false; newRotation = (random(25) - 12) * 15; xmov = enemySpeed * Math.sin((Math.PI/180) * newRotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * newRotation); x1 = this._x + xmov; y1 = this._y + ymov; newEnemyRadius = Math.sqrt((((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2)); if (_root.clockRadius >= newEnemyRadius) { moveLegs = true; this._rotation = newRotation; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { k = 1; while (_root.enemyNumber >= k) { if (k == i) { } else if (_root["enemy" + i].head.hitTest(_root["enemy" + k].body)) { this._rotation = this._rotation - 180; xmov = enemySpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-enemySpeed) * Math.cos((Math.PI/180) * this._rotation); newYmov = -xmov; this._x = this._x + ymov; this._y = this._y + newYmov; } k++; } i++; } if (this.head.hitTest(_root.ant.body) || (this.head.hitTest(_root.ant.head))) { _root.ant.alive = false; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if (((this.alive == false) && (_root.ant.alive == true)) && (tweezers != true)) { _root.sounds.gotoAndPlay("enemyDie"); tweezers = true; this.moving = false; extract = substring(this._name, 6, 1); tweezerOut = "tweezer" + extract; _root.attachMovie("tweezerOut", tweezerOut, 90 + extract); _root[tweezerOut]._x = this._x; _root[tweezerOut]._y = this._y; _root[tweezerOut]._rotation = this._rotation; _root[tweezerOut].enemy = this._name; } } }
Instance of Symbol 161 MovieClip "bgLoop" in Frame 544
onClipEvent (load) { if (_root.music == false) { this.stop(); } }
Instance of Symbol 148 MovieClip "MusicButton" in Frame 544
onClipEvent (load) { if (_root.music == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 545
enemyCount = enemyNumber; _root.attachMovie("countDown", "countDown", 100); _root.countDown._x = x0; _root.countDown._y = y0; _root.countDown._alpha = 40; _root.ant._visible = true; _root.ant.moving = false; _root.ant._x = x0; _root.ant._y = y0 + 80; _root.ant._rotation = 0; posX1 = x0; posY1 = 140; rot1 = 180; posX2 = x0 - 85; posY2 = 200; rot2 = 135; posX3 = x0 + 85; posY3 = 200; rot3 = -135; posX4 = x0 - 35; posY4 = 160; rot4 = 165; posX5 = x0 + 35; posY5 = 160; rot5 = -165; _root.enemy._visible = false; i = 1; while (enemyNumber >= i) { enemy.duplicateMovieClip("enemy" + i, i); _root["enemy" + i]._visible = true; _root["enemy" + i].alive = true; _root["enemy" + i].moveLegs = false; _root["enemy" + i].moving = false; _root["enemy" + i]._x = _root["posX" + i]; _root["enemy" + i]._y = _root["posY" + i]; _root["enemy" + i]._rotation = _root["rot" + i]; i++; }
Instance of Symbol 172 MovieClip "ant" in Frame 545
onClipEvent (load) { alive = true; antSpeed = 8; moveLegs = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) or Key.isDown(65)) { moveLegs = true; this._rotation = this._rotation + 15; } else if (Key.isDown(Key.LEFT) or Key.isDown(68)) { moveLegs = true; this._rotation = this._rotation - 15; } if (moving == true) { x1 = this._x; y1 = this._y; antRadius = Math.sqrt(((x1 - _root.x0) * (x1 - _root.x0)) + ((y1 - _root.y0) * (y1 - _root.y0))) + (getProperty(this, _height) / 2); if (_root.clockRadius >= antRadius) { xmov = antSpeed * Math.sin((Math.PI/180) * this._rotation); ymov = (-antSpeed) * Math.cos((Math.PI/180) * this._rotation); if (Key.isDown(Key.UP) or Key.isDown(87)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN) or Key.isDown(83)) { moveLegs = true; this._x = this._x - (xmov / 2); this._y = this._y - (ymov / 2); } } else { ymov = ((antRadius - _root.clockRadius) * (_root.y0 - y1)) / antRadius; xmov = ((antRadius - _root.clockRadius) * (_root.x0 - x1)) / antRadius; if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } else if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + xmov; this._y = this._y + ymov; } } i = 1; while (_root.enemyNumber >= i) { if (this.head.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.UP)) { moveLegs = true; this._x = this._x - xmov; this._y = this._y - ymov; if (this.alive == true) { _root["enemy" + i].alive = false; } } } else if (this.body.hitTest(_root["enemy" + i].body)) { if (Key.isDown(Key.DOWN)) { moveLegs = true; this._x = this._x + (xmov + (xmov / 4)); this._y = this._y + (ymov + (ymov / 4)); } } i++; } } if (moveLegs == true) { this.Play(); } else { this.Stop(); } if ((this.alive == false) && (dead != true)) { this.moving = false; i = 1; while (_root.enemyNumber >= i) { _root["enemy" + i].moving = false; _root["enemy" + i].moveLegs = false; i++; } this._visible = false; _root.attachMovie("deadAnt", "deadAnt", 90); _root.deadAnt._x = this._x; _root.deadAnt._y = this._y; _root.deadAnt._rotation = this._rotation; dead = true; } if (((_root.enemyCount == 0) && (this.alive == true)) && (won != true)) { _root.ant.moving = false; _root.attachMovie("hiScorer", "hiScorer", 100); _root.hiScorer._x = _root.x0; _root.hiScorer._y = _root.y0; _root.hiScorer.play(); won = true; } } onClipEvent (keyUp) { moveLegs = false; }
Frame 546
stop();
Frame 547
stop();
Frame 586
stop();
Instance of Symbol 201 MovieClip "badgets" in Frame 598
onClipEvent (load) { this.gotoAndStop(_root.icon); }
Frame 643
if (see_scores == true) { scoreKeeper.gotoAndStop(2); } stop();
Instance of Symbol 232 MovieClip "scoreKeeper" in Frame 643
onClipEvent (load) { sk_url = "http://www.seethru.co.uk/cgi-bin/games/sk.pl"; script_timeout = 10; game_title = "Ants Arena"; game_author = "Leandro Barreto"; my_name = ""; attempt_to_collect_name = 1; my_score = "_root.credit"; additional_data_name = new array(); additional_data_name["0"] = ""; additional_data_name["1"] = ""; additional_data_name["2"] = ""; additional_data_name["3"] = ""; additional_data_name["4"] = ""; additional_data_name["5"] = ""; additional_data = new array(); additional_data["0"] = ""; additional_data["1"] = ""; additional_data["2"] = ""; additional_data["3"] = ""; additional_data["4"] = ""; additional_data["5"] = ""; scores_to_return = 100; scores_per_person = 5; anonymous_name = "Anonymous"; sort_scores_in_reverse = ""; }
Symbol 15 MovieClip Frame 1
if (_root.enemyCount == 0) { stop(); }
Symbol 18 MovieClip [tweezerOut] Frame 7
removeMovieClip("_root." + enemy); _root.enemyCount = _root.enemyCount - 1;
Symbol 18 MovieClip [tweezerOut] Frame 15
removeMovieClip(this);
Symbol 25 MovieClip [deadAnt] Frame 14
if (_root.credit == 0) { _root.attachMovie("noCredit", "noCredit", 100); _root.noCredit._x = _root.x0; _root.noCredit._y = _root.y0; } else { _root.attachMovie("youDied", "youDied", 100); _root.youDied._x = _root.x0; _root.youDied._y = _root.y0; } stop();
Symbol 40 MovieClip [hiScorer] Frame 50
_root.credit = _root.credit + _root.reward; totalCredit = _root.credit / 100; _root.play();
Symbol 40 MovieClip [hiScorer] Frame 105
_root.play(); removeMovieClip(this);
Symbol 49 MovieClip [youWon] Frame 60
_root.credit = _root.credit + _root.reward; _root.play(); removeMovieClip(this);
Symbol 65 Button
on (release, keyPress "<Enter>") { removeMovieClip(_root.deadAnt); i = 1; while (_root.enemyNumber >= i) { if (_root["enemy" + i]) { removeMovieClip(_root["enemy" + i]); } i++; } _root.gotoAndPlay("restart"); removeMovieClip(this); }
Symbol 73 Button
on (release) { removeMovieClip(_root.deadAnt); i = 1; while (_root.enemyNumber >= i) { if (_root["enemy" + i]) { removeMovieClip(_root["enemy" + i]); } i++; } _root.credit = null; _root.see_scores = true; _root.gotoAndStop("sk"); removeMovieClip(this); }
Symbol 74 MovieClip [noCredit] Frame 51
stop();
Symbol 84 Button
on (release, keyPress "<Enter>") { _root.credit = _root.credit - 5; _root.attachMovie("hands", "hands", 110); removeMovieClip(this); }
Symbol 93 MovieClip [hands] Frame 1
deadAnt = true; flag = false; k = 1; while (_root.enemyNumber >= k) { if ((_root["enemy" + k].alive == true) && (flag == false)) { flag = true; e = k; } k++; }
Symbol 93 MovieClip [hands] Frame 2
if (_root.enemyNumber >= e) { this._x = _root["enemy" + e]._x; this._y = _root["enemy" + e]._y; } else { this._x = _root.deadAnt._x; this._y = _root.deadAnt._y; }
Symbol 93 MovieClip [hands] Frame 8
if (_root.enemyNumber < e) { gotoAndPlay (16); }
Symbol 93 MovieClip [hands] Frame 16
if (_root.enemyNumber >= e) { removeMovieClip(_root["enemy" + e]); } else { deadAnt = false; removeMovieClip(_root.deadAnt); }
Symbol 93 MovieClip [hands] Frame 22
oldE = e; flag = false; k = e + 1; while (_root.enemyNumber >= k) { if ((_root["enemy" + k].alive == true) && (flag == false)) { flag = true; e = k; } k++; } if (e == oldE) { e = _root.enemyNumber + 1; } if (deadAnt) { gotoAndPlay (2); } else { _root.ant.dead = false; _root.ant.alive = true; _root.gotoAndPlay("start" + _root.level); removeMovieClip(this); }
Symbol 100 MovieClip [countDown] Frame 1
_root.bgSound.play();
Symbol 100 MovieClip [countDown] Frame 35
k = 1; while (_root.enemyNumber >= k) { _root["enemy" + k].moving = true; k++; } _root.ant.moving = true; removeMovieClip(this);
Symbol 107 Button
on (release) { getURL ("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"); }
Symbol 127 Button
on (release, keyPress "<Enter>") { play(); }
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 21
gotoAndStop (1);
Symbol 142 Button
on (release) { _root.music = false; stopAllSounds(); play(); }
Symbol 147 Button
on (release) { _root.music = true; _root.bgLoop.play(); play(); }
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 84
stop();
Symbol 153 MovieClip Frame 1
text = _root.TextLevel; i = 1; max = length(text); kerning = "55"; size = "20"; setProperty("char", _visible , "0");
Symbol 153 MovieClip Frame 2
duplicateMovieClip ("char", "char" + i, i); Set(("_root.lettering.char" + i) + ".letter.char", substring(text, i, 1)); setProperty("_root.lettering.char" + i, _x , i * kerning); setProperty("_root.lettering.char" + i, _xscale , 10 * size); setProperty("_root.lettering.char" + i, _yscale , 10 * size); i = i + 1;
Symbol 153 MovieClip Frame 3
if (max < i) { stop(); } else { gotoAndPlay (2); }
Symbol 154 MovieClip Frame 1
if (_root.enemyCount == 0) { stop(); }
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 21
gotoAndStop (1);
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 21
gotoAndStop (1);
Symbol 162 MovieClip Frame 1
if (_root.enemyCount == 0) { stop(); }
Symbol 164 MovieClip Frame 1
if (_root.enemyCount == 0) { stop(); }
Symbol 172 MovieClip Frame 1
if (_root.enemyCount == 0) { stop(); }
Symbol 190 Button
on (release) { icon = "scorpio"; _root.play(); }
Symbol 191 Button
on (release) { icon = "skull"; _root.play(); }
Symbol 192 Button
on (release) { icon = "dragon"; _root.play(); }
Symbol 193 Button
on (release) { icon = "smiley"; _root.play(); }
Symbol 194 Button
on (release) { icon = "peace"; _root.play(); }
Symbol 195 Button
on (release) { icon = "french"; _root.play(); }
Symbol 196 Button
on (release) { icon = "pegasus"; _root.play(); }
Symbol 197 Button
on (release) { icon = "nuclear"; _root.play(); }
Symbol 201 MovieClip Frame 6
stop();
Symbol 201 MovieClip Frame 10
stop();
Symbol 201 MovieClip Frame 14
stop();
Symbol 201 MovieClip Frame 19
stop();
Symbol 201 MovieClip Frame 24
stop();
Symbol 201 MovieClip Frame 29
stop();
Symbol 201 MovieClip Frame 34
stop();
Symbol 201 MovieClip Frame 39
stop();
Symbol 205 Button
on (release) { play(); }
Symbol 215 Button
on (release) { _root.gotoAndPlay("restart"); }
Symbol 224 Button
on (release) { _root.gotoAndPlay("restart"); }
Symbol 227 Button
on (press) { scrollaction.up = true; } on (rollOut, release, dragOut, releaseOutside) { scrollaction.up = false; }
Symbol 228 Button
on (press) { scrollaction.down = true; } on (rollOut, release, dragOut, releaseOutside) { scrollaction.down = false; }
Symbol 229 MovieClip Frame 1
var sk_url = _parent._parent.sk_url; var return_type = "PLAIN"; var game_title = _parent._parent.game_title; var game_author = _parent._parent.game_author; var script_timeout = _parent._parent.script_timeout; var my_name = _parent._parent.my_name; if (my_name == "") { my_name = _parent._parent.anonymous_name; } var my_score = _parent._parent.my_score; i = 0; while (_parent._parent.additional_data.length >= i) { if (eval (_parent._parent.additional_data[i]) != "") { Set(_parent._parent.additional_data_name[i], eval (_parent._parent.additional_data[i])); } i++; } var scores_to_return = _parent._parent.scores_to_return; var scores_per_person = _parent._parent.scores_per_person; var anonymous_name = _parent._parent.anonymous_name; var sort_scores_in_reverse = _parent._parent.sort_scores_in_reverse; _parent.rank = ""; _parent.name = "Loading"; _parent.score = ""; _parent.message_text = ""; script_timeout = (getTimer() / 1000) + script_timeout; loadVariables (sk_url, this, "POST"); play();
Symbol 229 MovieClip Frame 2
test_timeout = getTimer() / 1000; if (sk_done == "yes") { sk_done = "no"; _parent.name = ""; gotoAndPlay (4); } else if (error != null) { _parent.name = error; stop(); } else if (test_timeout >= script_timeout) { _parent.name = "This script has\rtimed out."; stop(); } else { if (_parent.name == "Loading....") { _parent.name = "Loading"; } else { _parent.name = _parent.name + "."; } play(); }
Symbol 229 MovieClip Frame 3
prevFrame();
Symbol 229 MovieClip Frame 4
var pos = my_name.indexOf("|"); while (pos >= 0) { var start_string = my_name.substr(0, pos); var end_string = my_name.substr(pos + 1); my_name = (start_string + "/") + end_string; pos = my_name.indexOf("|"); } var i = 1; var match = 0; while (eval ("score_" + i) != null) { _parent.rank = _parent.rank + (i + newline); _parent.name = _parent.name + (eval ("name_" + i) + newline); _parent.score = _parent.score + (eval ("score_" + i) + newline); if (((escape(my_name) == eval ("name_" + i)) && (my_score == eval ("score_" + i))) && (match == 0)) { match = i; } i++; } var scores_returned = (i - 1); if (!score_1) { _parent.name = "No data yet."; stop(); } play();
Symbol 229 MovieClip Frame 5
var n = ""; if (match == 1) { n = "st"; } else if (match == 2) { n = "nd"; } else if (match == 3) { n = "rd"; } else if (20 >= match) { n = "th"; } else if (Number(match.toString().substr(match.toString().length - 1)) == 1) { n = "st"; } else if (Number(match.toString().substr(match.toString().length - 1)) == 2) { n = "nd"; } else if (Number(match.toString().substr(match.toString().length - 1)) == 3) { n = "rd"; } else { n = "th"; } if ((match == 0) && (my_score != null)) { _parent.message_text = "Sorry.\rYou did not make the\rhigh scores list."; } else if (my_score == null) { _parent.message_text = "\r"; } else { _parent.message_text = ((((("Congratulations!\rYour ranking is " + match) + n) + newline) + "out of ") + scores_returned) + " scores!"; _parent.rank.scroll = match - 3; _parent.name.scroll = match - 3; _parent.score.scroll = match - 3; } stop();
Symbol 230 MovieClip Frame 1
if (up == true) { _parent.rank.scroll = _parent.rank.scroll - 1; _parent.name.scroll = _parent.name.scroll - 1; _parent.score.scroll = _parent.score.scroll - 1; } else if (down == true) { _parent.rank.scroll = _parent.rank.scroll + 1; _parent.name.scroll = _parent.name.scroll + 1; _parent.score.scroll = _parent.score.scroll + 1; } play();
Symbol 230 MovieClip Frame 2
prevFrame();
Symbol 231 MovieClip Frame 1
title_text = "High Scores\r" + _parent.game_title; stop();
Symbol 231 MovieClip Frame 2
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
if (_root.see_scores == true) { _root.see_scores = false; board.gotoAndStop(2); } var my_name = eval (my_name); if ((my_name == "") or (my_name == null)) { my_name = anonymous_name; } var my_score = eval (my_score); if (my_name != anonymous_name) { board.gotoAndStop(2); } else if (attempt_to_collect_name == 0) { board.gotoAndStop(2); } else { my_name = ""; } stop();

Library Items

Symbol 1 GraphicUsed by:18
Symbol 2 GraphicUsed by:18
Symbol 3 GraphicUsed by:15 152 154 162 164 172  Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:15 25 152 154 162 164 172  Timeline
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:15 25 152 154 162 164 172  Timeline
Symbol 8 GraphicUsed by:12
Symbol 9 GraphicUsed by:12
Symbol 10 GraphicUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:8 9 10 11Used by:15 152 154 162 164 172  Timeline
Symbol 13 GraphicUsed by:15 152 154 162 164 172  Timeline
Symbol 14 GraphicUsed by:15 152 154 162 164 172  Timeline
Symbol 15 MovieClipUses:3 5 7 12 13 14Used by:18
Symbol 16 GraphicUsed by:18
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip [tweezerOut]Uses:1 2 15 16 17
Symbol 19 GraphicUsed by:25
Symbol 20 GraphicUsed by:25
Symbol 21 GraphicUsed by:25
Symbol 22 SoundUsed by:25
Symbol 23 ShapeTweeningUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClip [deadAnt]Uses:19 7 20 5 21 22 23 24
Symbol 26 FontUsed by:27 28 29 30 31 32 33 34 35 36 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 61 66 67 69 75 76 77 78 80 94 96 97 98 108 109 110 111 113 114 119 120 121 123 128 129 130 135 149 156 158 163 165 166 167 168 169 170 171 203 209 210 211 213 217 218 219 220 221 222 223
Symbol 27 TextUses:26Used by:40
Symbol 28 TextUses:26Used by:40
Symbol 29 TextUses:26Used by:40
Symbol 30 TextUses:26Used by:40
Symbol 31 TextUses:26Used by:40
Symbol 32 TextUses:26Used by:40
Symbol 33 TextUses:26Used by:40
Symbol 34 TextUses:26Used by:40
Symbol 35 EditableTextUses:26Used by:40
Symbol 36 EditableTextUses:26Used by:40
Symbol 37 FontUsed by:38 39
Symbol 38 TextUses:37Used by:40
Symbol 39 TextUses:37Used by:40
Symbol 40 MovieClip [hiScorer]Uses:27 28 29 30 31 32 33 34 35 36 38 39
Symbol 41 TextUses:26Used by:49
Symbol 42 TextUses:26Used by:49
Symbol 43 TextUses:26Used by:49
Symbol 44 TextUses:26Used by:49
Symbol 45 EditableTextUses:26Used by:49
Symbol 46 EditableTextUses:26Used by:49
Symbol 47 TextUses:26Used by:49
Symbol 48 TextUses:26Used by:49
Symbol 49 MovieClip [youWon]Uses:41 42 43 44 45 46 47 48
Symbol 50 TextUses:26Used by:74
Symbol 51 TextUses:26Used by:74
Symbol 52 TextUses:26Used by:74
Symbol 53 TextUses:26Used by:74
Symbol 54 TextUses:26Used by:74
Symbol 55 TextUses:26Used by:74
Symbol 56 TextUses:26Used by:74
Symbol 57 TextUses:26Used by:74
Symbol 58 TextUses:26Used by:65 73 127
Symbol 59 TextUses:26Used by:65
Symbol 60 GraphicUsed by:65
Symbol 61 TextUses:26Used by:65 73 127
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 ButtonUses:58 59 60 61 62 63 64Used by:74
Symbol 66 TextUses:26Used by:73
Symbol 67 TextUses:26Used by:73
Symbol 68 GraphicUsed by:73
Symbol 69 TextUses:26Used by:73
Symbol 70 GraphicUsed by:73
Symbol 71 GraphicUsed by:73
Symbol 72 GraphicUsed by:73
Symbol 73 ButtonUses:66 67 68 69 70 71 58 61 72Used by:74
Symbol 74 MovieClip [noCredit]Uses:50 51 52 53 54 55 56 57 65 73
Symbol 75 TextUses:26Used by:85
Symbol 76 TextUses:26Used by:85
Symbol 77 TextUses:26Used by:84
Symbol 78 TextUses:26Used by:84
Symbol 79 GraphicUsed by:84
Symbol 80 TextUses:26Used by:84
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 ButtonUses:77 78 79 80 81 82 83Used by:85
Symbol 85 MovieClip [youDied]Uses:75 76 84
Symbol 86 BitmapUsed by:87 88 89
Symbol 87 GraphicUses:86Used by:93
Symbol 88 GraphicUses:86Used by:93
Symbol 89 GraphicUses:86Used by:93
Symbol 90 BitmapUsed by:91 92
Symbol 91 GraphicUses:90Used by:93
Symbol 92 GraphicUses:90Used by:93
Symbol 93 MovieClip [hands]Uses:87 88 89 91 92
Symbol 94 TextUses:26Used by:100
Symbol 95 SoundUsed by:100
Symbol 96 TextUses:26Used by:100
Symbol 97 TextUses:26Used by:100
Symbol 98 TextUses:26Used by:100
Symbol 99 SoundUsed by:100
Symbol 100 MovieClip [countDown]Uses:94 95 96 97 98 99
Symbol 101 GraphicUsed by:Timeline
Symbol 102 FontUsed by:103
Symbol 103 TextUses:102Used by:Timeline
Symbol 104 BitmapUsed by:105 106
Symbol 105 GraphicUses:104Used by:107
Symbol 106 GraphicUses:104Used by:107
Symbol 107 ButtonUses:105 106Used by:Timeline
Symbol 108 TextUses:26Used by:112
Symbol 109 TextUses:26Used by:112
Symbol 110 TextUses:26Used by:112
Symbol 111 TextUses:26Used by:112
Symbol 112 MovieClipUses:108 109 110 111Used by:Timeline
Symbol 113 TextUses:26Used by:Timeline
Symbol 114 TextUses:26Used by:Timeline
Symbol 115 GraphicUsed by:Timeline
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:Timeline
Symbol 118 GraphicUsed by:Timeline
Symbol 119 TextUses:26Used by:Timeline
Symbol 120 TextUses:26Used by:127
Symbol 121 TextUses:26Used by:127
Symbol 122 GraphicUsed by:127
Symbol 123 TextUses:26Used by:127
Symbol 124 GraphicUsed by:127
Symbol 125 GraphicUsed by:127
Symbol 126 GraphicUsed by:127
Symbol 127 ButtonUses:120 121 122 123 124 125 58 61 126Used by:Timeline
Symbol 128 TextUses:26Used by:Timeline
Symbol 129 TextUses:26Used by:Timeline
Symbol 130 TextUses:26Used by:Timeline
Symbol 131 GraphicUsed by:Timeline
Symbol 132 GraphicUsed by:Timeline
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:Timeline
Symbol 135 TextUses:26Used by:137 161
Symbol 136 SoundUsed by:137 161
Symbol 137 MovieClipUses:135 136Used by:Timeline
Symbol 138 GraphicUsed by:142
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142 147
Symbol 142 ButtonUses:138 139 140 141Used by:148
Symbol 143 FontUsed by:144 155 157 178
Symbol 144 TextUses:143Used by:148
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 ButtonUses:145 146 141Used by:148
Symbol 148 MovieClipUses:142 144 147Used by:Timeline
Symbol 149 EditableTextUses:26Used by:150
Symbol 150 MovieClipUses:149Used by:152
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:150 151 3 5 7 12 13 14Used by:153
Symbol 153 MovieClipUses:152Used by:Timeline
Symbol 154 MovieClipUses:3 5 7 12 13 14Used by:Timeline
Symbol 155 TextUses:143Used by:Timeline
Symbol 156 EditableTextUses:26Used by:Timeline
Symbol 157 TextUses:143Used by:Timeline
Symbol 158 TextUses:26Used by:160
Symbol 159 SoundUsed by:160
Symbol 160 MovieClipUses:158 159Used by:Timeline
Symbol 161 MovieClipUses:135 136Used by:Timeline
Symbol 162 MovieClipUses:3 5 7 12 13 14Used by:Timeline
Symbol 163 EditableTextUses:26Used by:Timeline
Symbol 164 MovieClipUses:3 5 7 12 13 14Used by:Timeline
Symbol 165 EditableTextUses:26Used by:Timeline
Symbol 166 EditableTextUses:26Used by:Timeline
Symbol 167 EditableTextUses:26Used by:Timeline
Symbol 168 EditableTextUses:26Used by:Timeline
Symbol 169 EditableTextUses:26Used by:Timeline
Symbol 170 EditableTextUses:26Used by:Timeline
Symbol 171 EditableTextUses:26Used by:Timeline
Symbol 172 MovieClipUses:3 5 7 12 13 14Used by:Timeline
Symbol 173 GraphicUsed by:Timeline
Symbol 174 GraphicUsed by:Timeline
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175Used by:Timeline
Symbol 177 GraphicUsed by:Timeline
Symbol 178 TextUses:143Used by:Timeline
Symbol 179 GraphicUsed by:201  Timeline
Symbol 180 GraphicUsed by:201  Timeline
Symbol 181 GraphicUsed by:201  Timeline
Symbol 182 GraphicUsed by:201  Timeline
Symbol 183 GraphicUsed by:201  Timeline
Symbol 184 GraphicUsed by:201  Timeline
Symbol 185 GraphicUsed by:201  Timeline
Symbol 186 GraphicUsed by:190 191 192 193 194 195 196 197
Symbol 187 GraphicUsed by:190 191 192 193 194 195 196 197
Symbol 188 GraphicUsed by:190 191 192 193 194 195 196 197
Symbol 189 GraphicUsed by:190 191 192 193 194 195 196 197
Symbol 190 ButtonUses:186 187 188 189Used by:Timeline
Symbol 191 ButtonUses:186 187 188 189Used by:Timeline
Symbol 192 ButtonUses:186 187 188 189Used by:Timeline
Symbol 193 ButtonUses:186 187 188 189Used by:Timeline
Symbol 194 ButtonUses:186 187 188 189Used by:Timeline
Symbol 195 ButtonUses:186 187 188 189Used by:Timeline
Symbol 196 ButtonUses:186 187 188 189Used by:Timeline
Symbol 197 ButtonUses:186 187 188 189Used by:Timeline
Symbol 198 GraphicUsed by:199 201
Symbol 199 MovieClipUses:198Used by:Timeline
Symbol 200 GraphicUsed by:Timeline
Symbol 201 MovieClipUses:198 179 180 181 182 183 184 185Used by:Timeline
Symbol 202 GraphicUsed by:205
Symbol 203 TextUses:26Used by:205
Symbol 204 GraphicUsed by:205
Symbol 205 ButtonUses:202 203 204Used by:231 232
Symbol 206 GraphicUsed by:207
Symbol 207 ButtonUses:206Used by:231
Symbol 208 GraphicUsed by:231
Symbol 209 TextUses:26Used by:231
Symbol 210 EditableTextUses:26Used by:231
Symbol 211 EditableTextUses:26Used by:231
Symbol 212 GraphicUsed by:215 224
Symbol 213 TextUses:26Used by:215 224
Symbol 214 GraphicUsed by:215 224
Symbol 215 ButtonUses:212 213 214Used by:231
Symbol 216 GraphicUsed by:231
Symbol 217 EditableTextUses:26Used by:231
Symbol 218 EditableTextUses:26Used by:231
Symbol 219 EditableTextUses:26Used by:231
Symbol 220 TextUses:26Used by:231
Symbol 221 TextUses:26Used by:231
Symbol 222 TextUses:26Used by:231
Symbol 223 EditableTextUses:26Used by:231
Symbol 224 ButtonUses:212 213 214Used by:231
Symbol 225 GraphicUsed by:227 228
Symbol 226 GraphicUsed by:227 228
Symbol 227 ButtonUses:225 226Used by:231
Symbol 228 ButtonUses:225 226Used by:231
Symbol 229 MovieClipUsed by:231
Symbol 230 MovieClipUsed by:231
Symbol 231 MovieClipUses:207 208 209 210 211 205 215 216 217 218 219 220 221 222 223 224 227 228 229 230Used by:232
Symbol 232 MovieClipUses:205 231Used by:Timeline

Instance Names

"head"Frame 4Symbol 5 MovieClip
"body"Frame 4Symbol 7 MovieClip
"head"Frame 9Symbol 5 MovieClip
"body"Frame 9Symbol 7 MovieClip
"head"Frame 14Symbol 5 MovieClip
"body"Frame 14Symbol 7 MovieClip
"head"Frame 18Symbol 5 MovieClip
"body"Frame 18Symbol 7 MovieClip
"head"Frame 23Symbol 5 MovieClip
"body"Frame 23Symbol 7 MovieClip
"loadingBar"Frame 38Symbol 117 MovieClip
"head"Frame 40Symbol 5 MovieClip
"body"Frame 40Symbol 7 MovieClip
"head"Frame 40Symbol 5 MovieClip
"body"Frame 40Symbol 7 MovieClip
"head"Frame 40Symbol 5 MovieClip
"body"Frame 40Symbol 7 MovieClip
"head"Frame 40Symbol 5 MovieClip
"body"Frame 40Symbol 7 MovieClip
"bgLoop"Frame 41Symbol 137 MovieClip
"MusicButton"Frame 41Symbol 148 MovieClip
"lettering"Frame 43Symbol 153 MovieClip
"enemy"Frame 136Symbol 154 MovieClip
"sounds"Frame 136Symbol 160 MovieClip
"bgLoop"Frame 136Symbol 161 MovieClip
"MusicButton"Frame 136Symbol 148 MovieClip
"ant"Frame 137Symbol 162 MovieClip
"lettering"Frame 143Symbol 153 MovieClip
"bgLoop"Frame 143Symbol 137 MovieClip
"MusicButton"Frame 143Symbol 148 MovieClip
"enemy"Frame 238Symbol 164 MovieClip
"sounds"Frame 238Symbol 160 MovieClip
"bgLoop"Frame 238Symbol 161 MovieClip
"MusicButton"Frame 238Symbol 148 MovieClip
"ant"Frame 239Symbol 162 MovieClip
"lettering"Frame 245Symbol 153 MovieClip
"bgLoop"Frame 245Symbol 137 MovieClip
"MusicButton"Frame 245Symbol 148 MovieClip
"enemy"Frame 340Symbol 164 MovieClip
"sounds"Frame 340Symbol 160 MovieClip
"bgLoop"Frame 340Symbol 161 MovieClip
"MusicButton"Frame 340Symbol 148 MovieClip
"ant"Frame 341Symbol 162 MovieClip
"lettering"Frame 347Symbol 153 MovieClip
"bgLoop"Frame 347Symbol 137 MovieClip
"MusicButton"Frame 347Symbol 148 MovieClip
"enemy"Frame 442Symbol 164 MovieClip
"sounds"Frame 442Symbol 160 MovieClip
"bgLoop"Frame 442Symbol 161 MovieClip
"MusicButton"Frame 442Symbol 148 MovieClip
"ant"Frame 443Symbol 162 MovieClip
"lettering"Frame 449Symbol 153 MovieClip
"bgLoop"Frame 449Symbol 137 MovieClip
"MusicButton"Frame 449Symbol 148 MovieClip
"enemy"Frame 544Symbol 164 MovieClip
"sounds"Frame 544Symbol 160 MovieClip
"bgLoop"Frame 544Symbol 161 MovieClip
"MusicButton"Frame 544Symbol 148 MovieClip
"ant"Frame 545Symbol 172 MovieClip
"head"Frame 564Symbol 5 MovieClip
"body"Frame 564Symbol 7 MovieClip
"head"Frame 576Symbol 5 MovieClip
"body"Frame 576Symbol 7 MovieClip
"badgets"Frame 598Symbol 201 MovieClip
"scoreKeeper"Frame 643Symbol 232 MovieClip
"head"Symbol 15 MovieClip Frame 1Symbol 5 MovieClip
"body"Symbol 15 MovieClip Frame 1Symbol 7 MovieClip
"enemy1"Symbol 18 MovieClip [tweezerOut] Frame 8Symbol 15 MovieClip
"letter"Symbol 152 MovieClip Frame 1Symbol 150 MovieClip
"head"Symbol 152 MovieClip Frame 1Symbol 5 MovieClip
"body"Symbol 152 MovieClip Frame 1Symbol 7 MovieClip
"head"Symbol 152 MovieClip Frame 70Symbol 5 MovieClip
"body"Symbol 152 MovieClip Frame 70Symbol 7 MovieClip
"char"Symbol 153 MovieClip Frame 1Symbol 152 MovieClip
"head"Symbol 154 MovieClip Frame 1Symbol 5 MovieClip
"body"Symbol 154 MovieClip Frame 1Symbol 7 MovieClip
"head"Symbol 162 MovieClip Frame 1Symbol 5 MovieClip
"body"Symbol 162 MovieClip Frame 1Symbol 7 MovieClip
"head"Symbol 164 MovieClip Frame 1Symbol 5 MovieClip
"body"Symbol 164 MovieClip Frame 1Symbol 7 MovieClip
"head"Symbol 172 MovieClip Frame 1Symbol 5 MovieClip
"body"Symbol 172 MovieClip Frame 1Symbol 7 MovieClip
"scrollaction"Symbol 231 MovieClip Frame 2Symbol 230 MovieClip
"board"Symbol 232 MovieClip Frame 2Symbol 231 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 18 as "tweezerOut"
ExportAssets (56)Timeline Frame 1Symbol 25 as "deadAnt"
ExportAssets (56)Timeline Frame 1Symbol 40 as "hiScorer"
ExportAssets (56)Timeline Frame 1Symbol 49 as "youWon"
ExportAssets (56)Timeline Frame 1Symbol 74 as "noCredit"
ExportAssets (56)Timeline Frame 1Symbol 85 as "youDied"
ExportAssets (56)Timeline Frame 1Symbol 93 as "hands"
ExportAssets (56)Timeline Frame 1Symbol 100 as "countDown"

Labels

"restart"Frame 43
"start1"Frame 137
"start2"Frame 239
"start3"Frame 341
"start4"Frame 443
"start5"Frame 545
"sk"Frame 643
"pickUp"Symbol 93 MovieClip [hands] Frame 16
"on"Symbol 148 MovieClip Frame 1
"off"Symbol 148 MovieClip Frame 2
"enemyDie"Symbol 160 MovieClip Frame 5
"scorpio"Symbol 201 MovieClip Frame 6
"skull"Symbol 201 MovieClip Frame 10
"dragon"Symbol 201 MovieClip Frame 14
"smiley"Symbol 201 MovieClip Frame 19
"peace"Symbol 201 MovieClip Frame 24
"french"Symbol 201 MovieClip Frame 29
"pegasus"Symbol 201 MovieClip Frame 34
"nuclear"Symbol 201 MovieClip Frame 39

Dynamic Text Variables

totalCreditSymbol 35 EditableText""
totalCreditSymbol 36 EditableText"0.10"
_root.rewardSymbol 45 EditableText""
_root.rewardSymbol 46 EditableText"0.10"
charSymbol 149 EditableText"W"
creditSymbol 156 EditableText"35"
creditSymbol 163 EditableText"35"
creditSymbol 165 EditableText"35"
creditSymbol 166 EditableText"35"
creditSymbol 167 EditableText"35"
creditSymbol 168 EditableText"35"
creditSymbol 169 EditableText"35"
creditSymbol 170 EditableText"35"
creditSymbol 171 EditableText"35"
_parent.my_nameSymbol 210 EditableText"enter name here"
title_textSymbol 211 EditableText"High Scores for Your Game"
rankSymbol 217 EditableText"1 2 3 4 5 6 7 8 9 10"
nameSymbol 218 EditableText"Name Works best using an embedded monospaced font, such as Andale Mono."
scoreSymbol 219 EditableText"Score Works best using an embedded monospaced font, such as Andale Mono."
message_textSymbol 223 EditableText"Congratulations! Your ranking is 10th out of 100 scores!"




http://swfchan.com/4/19244/info.shtml
Created: 30/5 -2019 05:28:43 Last modified: 30/5 -2019 05:28:43 Server time: 30/04 -2024 01:45:40