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

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

Ant Splat.swf

This is the info page for
Flash #74059

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


Text
1

Score

User

ArcadeVoid.com

Smallzworld.com

Click the mouse button to splat the ants
before time runs out!

It's really that simple, but watch out for red ants who
lay larvae. If you don't smash the larvae,
they hatch more ants!!

Score higher by splatting multiple ants, and maintaining a high Splat %.

Continue

Instructions

Play Game

Instructions

smallzworld.com

Credits

View High Scores

Official Leaderboards

Ant Splat

Visit ArcadeVoid.com

High Scores

click_pct

Level

Time Remaining :

Score

Programming - Scott Slaby

Music - Nemesis Theory
Give No Mercy

Credits

Game Paused

Audio Clips

Default

User Name :

Score :

Cancel

Submit

Game Over

This is an example of some headline text that you can put in a game.

100000

ActionScript [AS3]

Section 1
//AntGuy_23 (ant_splat_fla.AntGuy_23) package ant_splat_fla { import flash.display.*; import flash.text.*; public dynamic class AntGuy_23 extends MovieClip { public var bubble_text:TextField; public var arcade_void:MovieClip; } }//package ant_splat_fla
Section 2
//audio_clips_26 (ant_splat_fla.audio_clips_26) package ant_splat_fla { import flash.display.*; public dynamic class audio_clips_26 extends MovieClip { public function audio_clips_26(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ant_splat_fla
Section 3
//BlackAnt_37 (ant_splat_fla.BlackAnt_37) package ant_splat_fla { import flash.display.*; public dynamic class BlackAnt_37 extends MovieClip { public function BlackAnt_37(){ addFrameScript(7, frame8); } function frame8(){ this.gotoAndPlay(1); } } }//package ant_splat_fla
Section 4
//CancelButton_29 (ant_splat_fla.CancelButton_29) package ant_splat_fla { import flash.display.*; import flash.text.*; public dynamic class CancelButton_29 extends MovieClip { public var message_text:TextField; } }//package ant_splat_fla
Section 5
//LoadBar_3 (ant_splat_fla.LoadBar_3) package ant_splat_fla { import flash.display.*; public dynamic class LoadBar_3 extends MovieClip { public var Fill:MovieClip; } }//package ant_splat_fla
Section 6
//PointText_39 (ant_splat_fla.PointText_39) package ant_splat_fla { import flash.display.*; import flash.text.*; public dynamic class PointText_39 extends MovieClip { public var PointText:TextField; } }//package ant_splat_fla
Section 7
//PreloaderScreen_1 (ant_splat_fla.PreloaderScreen_1) package ant_splat_fla { import flash.display.*; public dynamic class PreloaderScreen_1 extends MovieClip { public var loader:LoadBarSymbol; } }//package ant_splat_fla
Section 8
//RedAnt_41 (ant_splat_fla.RedAnt_41) package ant_splat_fla { import flash.display.*; public dynamic class RedAnt_41 extends MovieClip { public function RedAnt_41(){ addFrameScript(7, frame8); } function frame8(){ this.gotoAndPlay(1); } } }//package ant_splat_fla
Section 9
//SubmitButton_30 (ant_splat_fla.SubmitButton_30) package ant_splat_fla { import flash.display.*; import flash.text.*; public dynamic class SubmitButton_30 extends MovieClip { public var message_text:TextField; } }//package ant_splat_fla
Section 10
//Ant (classes.game.Ant) package classes.game { import flash.display.*; import flash.geom.*; import classes.smallz.*; public class Ant extends MovieClip { public var points:PointsSymbol; public var _power:Number; public var _targetObject:int; public var _type:String;// = "black" public var _speed:Number; public var _scale:Number;// = 1 public var _lastDistance:Number; public var _damage:Number; public var _xs:Number; public var _state:String;// = "Inactive" public var _targetY:Number; public var _targetX:Number; public var health_bar:MovieClip; public var _ys:Number; public var _dropLarvae:Boolean;// = false public var _angle:Number; public var _hitPoints:Number; public var _splatDuration:int;// = 15 public var _splatTimer:int;// = 0 public var ant:MovieClip; public var _facing:Number; public var _ss:Number; public function Ant(){ _state = "Inactive"; _type = "black"; _scale = 1; _splatTimer = 0; _splatDuration = 15; _dropLarvae = false; super(); gotoAndStop(_type); deactivate(); } public function activate(_arg1:String, _arg2:Number, _arg3:Number):void{ _state = "ReadyActive"; x = (Math.random() * GameManager.screenWidth); y = (Math.random() * GameManager.screenHeight); _speed = _arg2; _scale = _arg3; _type = _arg1; get_new_path(); gotoAndStop(_type); visible = false; } public function splat():void{ _state = "Splat"; _splatTimer = _splatDuration; } public function get_new_path():void{ var _local1:Number; var _local2:Number; _targetX = (Math.random() * GameManager.screenWidth); _targetY = (Math.random() * GameManager.screenHeight); _local1 = smallzMath.get_angle(x, y, _targetX, _targetY); _xs = (_speed * Math.cos(_local1)); _ys = (_speed * Math.sin(_local1)); _facing = (((_local1 / Math.PI) * 180) + 90); _local2 = smallzMath.get_distance(x, y, _targetX, _targetY); if (ant){ ant.rotation = _facing; }; } public function increment_damage(_arg1:Number):void{ _damage = (_damage + _arg1); health_bar.height = (25 * (1 - (_damage / _hitPoints))); } public function deactivate():void{ _state = "Inactive"; visible = false; } public function spawn_hatchling(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ _state = "ReadyActive"; x = _arg2; y = _arg3; _speed = _arg4; _scale = _arg5; _type = _arg1; get_new_path(); gotoAndStop(_type); visible = false; } public function update():void{ var _local1:*; var _local2:*; var _local3:Number; _local1 = new Point(0, 0); _local2 = new Point(_targetX, _targetY); switch (_state){ case "ReadyActive": if (ant){ ant.scaleX = _scale; ant.scaleY = _scale; ant.rotation = _facing; health_bar.visible = false; points.visible = false; _state = "Active"; visible = true; }; break; case "Active": x = (x + _xs); y = (y + _ys); _local1 = new Point(x, y); _local3 = smallzMath.get_distance_point(_local1, _local2); if ((((_lastDistance < _local3)) && ((_lastDistance > 0)))){ get_new_path(); if (_type == "red"){ _dropLarvae = true; }; _lastDistance = 0; } else { _lastDistance = _local3; }; break; case "Splat": if (points){ if (points.currentFrame == points.totalFrames){ deactivate(); }; }; break; }; } } }//package classes.game
Section 11
//AntManager (classes.game.AntManager) package classes.game { public class AntManager { public var LarvaeControl:LarvaeManager; public var ants:Array; public var LevelControl:LevelManager; public function AntManager(_arg1:Array, _arg2:LarvaeManager, _arg3:LevelManager):void{ ants = new Array(); super(); ants = _arg1; LevelControl = _arg3; LarvaeControl = _arg2; } public function spawn_hatchlings(_arg1:Number, _arg2:Number, _arg3:int):void{ var _local4:int; var _local5:int; var _local6:Number; var _local7:Number; var _local8:Number; _local6 = (LevelControl._maxSpeed - LevelControl._minSpeed); _local4 = 0; while (_local4 < _arg3) { LevelControl._blackAnts++; _local5 = inactive_ant(); if (_local5 >= 0){ _local7 = (((Math.random() * _local6) + 1) + LevelControl._minSpeed); _local8 = 0.5; ants[_local5].spawn_hatchling("black", _arg1, _arg2, _local7, _local8); }; _local4++; }; } public function update():void{ var _local1:int; var _local2:int; _local2 = ants.length; _local1 = 0; while (_local1 < _local2) { ants[_local1].update(); if (((ants[_local1]._dropLarvae) && ((ants[_local1]._state == "Active")))){ ants[_local1]._dropLarvae = false; LarvaeControl.drop_larvae(ants[_local1].x, ants[_local1].y); }; _local1++; }; } public function check_collision_finger(_arg1:Finger):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; _local3 = 0; _local4 = 0; _local5 = ants.length; _local2 = 0; while (_local2 < _local5) { if (ants[_local2]._state == "Active"){ if (ants[_local2].ant.hitTestObject(_arg1.splat_radius)){ _local4++; _local3 = (_local3 + (int((GameManager.clickPct() * 500)) * _local4)); GameManager.playerScore = (GameManager.playerScore + _local3); GameManager._antsKilled++; if (GameManager._antsKilled == 1){ _local3 = 500; }; ant_splat.Splat.play(); ants[_local2].splat(); ants[_local2].gotoAndStop("splat"); ants[_local2].points.visible = true; ants[_local2].points.PointText.PointText.text = _local3; ants[_local2].points.gotoAndPlay(1); }; }; _local2++; }; } public function deactivate_all_ants():void{ var _local1:int; var _local2:int; _local2 = ants.length; _local1 = 0; while (_local1 < _local2) { ants[_local1].deactivate(); _local1++; }; } public function inactive_ant():int{ var _local1:int; var _local2:int; var _local3:int; _local2 = -1; _local3 = ants.length; _local1 = 0; while (_local1 < _local3) { if (ants[_local1]._state == "Inactive"){ _local2 = _local1; break; }; _local1++; }; return (_local2); } public function check_larvae_incubation():void{ var index:int; var larvae_count:int; larvae_count = LarvaeControl.larvaes.length; index = 0; while (index < larvae_count) { var _local2 = LarvaeControl.larvaes[index]; with (_local2) { if (_state == "Hatch"){ trace("hatch this one"); spawn_hatchlings(x, y, _litterSize); deactivate(); }; }; index = (index + 1); }; } public function activate_ants():void{ var _local1:int; var _local2:int; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local3 = (LevelControl._maxSpeed - LevelControl._minSpeed); _local4 = (LevelControl._maxScale - LevelControl._minScale); _local2 = 0; while (_local2 < LevelControl._blackAnts) { _local1 = inactive_ant(); if (_local1 >= 0){ _local5 = (((Math.random() * _local3) + 1) + LevelControl._minSpeed); _local6 = ((((Math.random() * _local4) + 1) + LevelControl._minScale) / 100); ants[_local1].activate("black", _local5, _local6); }; _local2++; }; _local2 = 0; while (_local2 < LevelControl._redAnts) { _local1 = inactive_ant(); if (_local1 >= 0){ _local5 = LevelControl._minSpeed; _local6 = ((((Math.random() * _local4) + 1) + LevelControl._minScale) / 100); ants[_local1].activate("red", _local5, _local6); }; _local2++; }; } } }//package classes.game
Section 12
//Background (classes.game.Background) package classes.game { import flash.display.*; public dynamic class Background extends MovieClip { } }//package classes.game
Section 13
//Finger (classes.game.Finger) package classes.game { import flash.display.*; public class Finger extends MovieClip { public var _scale:Number; public var splat_radius:MovieClip; public var _state:String; public function Finger(){ deactivate(); } public function activate():void{ _scale = 2; _state = "Active"; scaleX = _scale; scaleY = _scale; splat_radius.visible = false; visible = true; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": x = stage.mouseX; y = stage.mouseY; break; }; } } }//package classes.game
Section 14
//GameManager (classes.game.GameManager) package classes.game { import flash.utils.*; public class GameManager { public static var _highScores:Array; public static var level:int = 1; public static var _clicks:int = 0; public static var gameID:int = 12; public static var levelPromptCounter:Number; public static var Debug:Boolean = false; public static var health:Number = 100; public static var _voidClick:Boolean = false; public static var _highScoresLoaded:Boolean = false; public static var _antsKilled:int = 0; public static var elapsedTime:Number; public static var playerScore:uint = 0; public static var screenHeight:Number = 480; public static var screenWidth:Number = 640; public static var initTime:Number; public static var gameState:String = "MainMenu"; public function GameManager():void{ } public static function timeString(_arg1:int):String{ var _local2:int; var _local3:String; _local2 = Math.floor((_arg1 / 60)); _arg1 = (_arg1 - (_local2 * 60)); _local3 = ((_local2 + ":") + String((_arg1 + 100)).substr(1, 2)); return (_local3); } public static function increment_score(_arg1:uint):void{ playerScore = (playerScore + _arg1); } public static function decrement_health(_arg1:Number):void{ health = (health - _arg1); if (health < 0){ health = 0; }; } public static function resetGame():void{ playerScore = 0; level = 1; gameState = "LevelSetup"; } public static function increment_health(_arg1:Number):void{ health = (health + _arg1); if (health > 100){ health = 100; }; } public static function clickPct():Number{ return ((_antsKilled / GameManager._clicks)); } public static function updateTimer(){ elapsedTime = ((getTimer() - initTime) / 1000); } } }//package classes.game
Section 15
//Larvae (classes.game.Larvae) package classes.game { import flash.display.*; import flash.utils.*; public class Larvae extends MovieClip { public var _scale:Number;// = 1 public var _initTime:Number; public var _state:String;// = "Inactive" public var _elapsedTime:int; public var _hatchTime:int; public var _splatDuration:int;// = 15 public var _splatTimer:int;// = 0 public var _litterSize:int; public function Larvae(){ _state = "Inactive"; _scale = 1; _splatTimer = 0; _splatDuration = 15; super(); deactivate(); } public function updateTimer():void{ _elapsedTime = ((getTimer() - _initTime) / 1000); } public function splat():void{ _state = "Splat"; _splatTimer = _splatDuration; gotoAndStop("splat"); } public function activate(_arg1:Number, _arg2:Number):void{ _state = "Active"; _initTime = getTimer(); x = _arg1; y = _arg2; gotoAndStop("larvae"); visible = true; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": updateTimer(); if (_elapsedTime >= _hatchTime){ trace(((("time to hatch" + _elapsedTime) + " : ") + _hatchTime)); _state = "Hatch"; }; break; case "Splat": if (_splatTimer > 0){ _splatTimer--; } else { deactivate(); }; break; }; } } }//package classes.game
Section 16
//LarvaeManager (classes.game.LarvaeManager) package classes.game { public class LarvaeManager { public var larvaes:Array; public var LevelControl:LevelManager; public function LarvaeManager(_arg1:Array, _arg2:LevelManager):void{ larvaes = new Array(); super(); larvaes = _arg1; LevelControl = _arg2; } public function update():void{ var _local1:int; var _local2:int; _local2 = larvaes.length; _local1 = 0; while (_local1 < _local2) { larvaes[_local1].update(); _local1++; }; } public function check_collision_finger(_arg1:Finger):void{ var _local2:int; var _local3:int; var _local4:int; _local4 = larvaes.length; _local2 = 0; while (_local2 < _local4) { if (larvaes[_local2]._state == "Active"){ if (larvaes[_local2].hitTestObject(_arg1.splat_radius)){ _local3 = int((GameManager.clickPct() * 500)); GameManager.playerScore = (GameManager.playerScore + _local3); ant_splat.Splat.play(); larvaes[_local2].splat(); }; }; _local2++; }; } public function inactive_larvae():int{ var _local1:int; var _local2:int; var _local3:int; _local2 = -1; _local3 = larvaes.length; _local1 = 0; while (_local1 < _local3) { if (larvaes[_local1]._state == "Inactive"){ _local2 = _local1; break; }; _local1++; }; return (_local2); } public function drop_larvae(_arg1:Number, _arg2:Number):void{ var _local3:int; var _local4:int; _local3 = inactive_larvae(); larvaes[_local3].activate(_arg1, _arg2); larvaes[_local3]._hatchTime = LevelControl._hatchTime; larvaes[_local3]._litterSize = LevelControl._litterSize; } } }//package classes.game
Section 17
//LevelManager (classes.game.LevelManager) package classes.game { public class LevelManager { public var _maxSpeed:Number; public var _maxScale:Number; public var _levelMessage:String; public var _blackAnts:Number; public var _litterSize:int; public var _minSpeed:Number; public var _hatchTime:int; public var _timeLimit:int; public var _minScale:Number; public var _redAnts:Number; public function set_level(_arg1:int):void{ switch (_arg1){ case 1: _minSpeed = 1; _maxSpeed = 3; _minScale = 85; _maxScale = 100; _blackAnts = 10; _redAnts = 0; _timeLimit = 60; _hatchTime = 0; _litterSize = 0; _levelMessage = (("Here's Level " + _arg1) + "\n\n Do you really think that you can splat our whole colony ? Not likely, you look a bit slow"); break; case 2: _minSpeed = 1.25; _maxSpeed = 3.25; _minScale = 80; _maxScale = 100; _blackAnts = 15; _redAnts = 0; _timeLimit = 60; _hatchTime = 0; _litterSize = 0; _levelMessage = (("Here's Level " + _arg1) + "\n\n You did ok, but did you really think that was our whole colony ? Let's see if you can handle the next wave, we'll see if you got game now."); break; case 3: _minSpeed = 1.5; _maxSpeed = 3.5; _minScale = 75; _maxScale = 100; _blackAnts = 20; _redAnts = 1; _timeLimit = 60; _hatchTime = 3; _litterSize = 3; _levelMessage = (("Here's Level " + _arg1) + "\n\n Ok, you have some skillz. But you haven't even seen a red ant yet. Don't worry, they're completely harmless if you don't touch them. heh."); break; case 4: _minSpeed = 1.75; _maxSpeed = 3.75; _minScale = 55; _maxScale = 100; _blackAnts = 25; _redAnts = 2; _timeLimit = 60; _hatchTime = 3; _litterSize = 5; _levelMessage = (("Here's Level " + _arg1) + "\n\n It seems you are keeping up ok so far, so now it's time for us to step up our game and show you who's in control."); break; case 5: _minSpeed = 2; _maxSpeed = 4; _minScale = 50; _maxScale = 100; _blackAnts = 30; _redAnts = 3; _timeLimit = 60; _hatchTime = 3; _litterSize = 5; _levelMessage = (("Here's Level " + _arg1) + "\n\n Now you are testing my patience. It's about time we put you in your place. It's time to prepare for all out war."); break; case 6: _minSpeed = 2.25; _maxSpeed = 4.25; _minScale = 45; _maxScale = 100; _blackAnts = 35; _redAnts = 4; _timeLimit = 60; _hatchTime = 2.5; _litterSize = 5; _levelMessage = (("Here's Level " + _arg1) + "\n\n It seems you just don't want to give up. I bet your mouse finger is getting tired. You've won a few battles, but winning the war will be futile for you."); break; case 7: _minSpeed = 2.5; _maxSpeed = 4.5; _minScale = 45; _maxScale = 100; _blackAnts = 40; _redAnts = 5; _timeLimit = 60; _hatchTime = 2; _litterSize = 7; _levelMessage = (("Here's Level " + _arg1) + "\n\n Ok, no more playing around, this is getting ridiculous. It's been fun toying with you, now prepare to meet your doom."); break; case 8: _minSpeed = 2.75; _maxSpeed = 5; _minScale = 45; _maxScale = 100; _blackAnts = 45; _redAnts = 5; _timeLimit = 60; _hatchTime = 2; _litterSize = 9; _levelMessage = (("Here's Level " + _arg1) + "\n\n I guess we've underestimated you a bit. Quite impressive, but you we have just begun breaking a sweat, and I'm sure you are ready to collapse by now."); break; case 9: _minSpeed = 2.75; _maxSpeed = 5.25; _minScale = 45; _maxScale = 100; _blackAnts = 50; _redAnts = 6; _timeLimit = 60; _hatchTime = 2; _litterSize = 9; _levelMessage = (("Here's Level " + _arg1) + "\n\n If you get past this wave, then you really have something to be proud of!"); break; case 10: _minSpeed = 3; _maxSpeed = 5.5; _minScale = 45; _maxScale = 100; _blackAnts = 50; _redAnts = 7; _timeLimit = 60; _hatchTime = 2; _litterSize = 11; _levelMessage = (("Here's Level " + _arg1) + "\n\n Ok, now it's on... Like Donkey Kong!!"); break; case 11: _minSpeed = 3.25; _maxSpeed = 5.75; _minScale = 45; _maxScale = 100; _blackAnts = 55; _redAnts = 7; _timeLimit = 90; _hatchTime = 2; _litterSize = 11; _levelMessage = (("Here's Level " + _arg1) + "\n\n I have no idea how you are able to squash so many ants, you must be a God."); break; case 12: _minSpeed = 3.25; _maxSpeed = 5.75; _minScale = 45; _maxScale = 100; _blackAnts = 60; _redAnts = 7; _timeLimit = 90; _hatchTime = 1.5; _litterSize = 15; _levelMessage = (("Here's Level " + _arg1) + "\n\n This is getting ridiculous. We bow to you... but only after this wave."); break; }; } } }//package classes.game
Section 18
//smallzDebug (classes.smallz.smallzDebug) package classes.smallz { import classes.game.*; import flash.text.*; import flash.filters.*; public class smallzDebug { private var _log:Array; private var _active:Boolean; public var _window:TextField; public function smallzDebug(_arg1:Number, _arg2:Number, _arg3:Boolean):void{ var _local4:DropShadowFilter; var _local5:GlowFilter; var _local6:TextFormat; super(); _local4 = new DropShadowFilter(2, 45, 0, 25, 3, 3, 2, 2); _local5 = new GlowFilter(0, 100, 2, 2, 2000, 1, false, false); _active = _arg3; _window = new TextField(); _window.x = _arg1; _window.y = _arg2; _window.multiline = true; _window.wordWrap = true; _window.width = 640; _window.height = 545; _window.selectable = false; _window.text = ""; _window.filters = [_local5]; _log = new Array(); _local6 = new TextFormat(); _local6.font = "Arial"; _local6.bold = true; _local6.size = 16; _local6.color = 0xFFFFFF; _window.defaultTextFormat = _local6; } public function update():void{ var _local1:uint; if (_active){ if (!_window.visible){ _window.visible = true; }; _window.text = ""; _local1 = 0; while (_local1 <= (_log.length - 1)) { _window.appendText(_log[_local1]); _window.appendText("\n"); _local1++; }; } else { if (_window.visible){ _window.visible = false; }; }; } public function add_trace(_arg1:String):void{ if (GameManager.Debug){ _log.push(_arg1); }; } public function clear_log():void{ var _local1:int; var _local2:int; _local2 = _log.length; _local1 = 0; while (_local1 < _local2) { _log.pop(); _local1++; }; } public function deactivate():void{ _active = false; } public function activate():void{ _active = true; } } }//package classes.smallz
Section 19
//smallzFPS (classes.smallz.smallzFPS) package classes.smallz { import flash.text.*; import flash.utils.*; public class smallzFPS { private var _frameCount:int; private var _initTime:Number; private var _fps:Number; private var _curTime:Number; private var _sampleSize:int; public var _fpsCounter:TextField; public function smallzFPS(_arg1:Number, _arg2:Number, _arg3:int):void{ var _local4:Font; var _local5:TextFormat; super(); _local4 = new MyArial(); _local5 = new TextFormat(); _local5.font = _local4.fontName; _local5.bold = true; _local5.size = 22; _local5.color = 0xFFFFFF; _initTime = getTimer(); _sampleSize = _arg3; _frameCount = 0; _fps = 0; _fpsCounter = new TextField(); _fpsCounter.embedFonts = true; _fpsCounter.defaultTextFormat = _local5; _fpsCounter.x = _arg1; _fpsCounter.y = _arg2; } public function get_fps():Number{ return (_fps); } public function update(){ var _local1:Number; _frameCount++; _curTime = getTimer(); if (_frameCount == _sampleSize){ _local1 = (_curTime - _initTime); _fps = ((_frameCount / _local1) * 1000); _initTime = _curTime; _frameCount = 0; _fpsCounter.text = String(("FPS : " + int(_fps))); }; } } }//package classes.smallz
Section 20
//smallzMath (classes.smallz.smallzMath) package classes.smallz { import flash.geom.*; public class smallzMath { public static function get_angle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1))); } public static function get_angle_point(_arg1:Point, _arg2:Point):Number{ return (Math.atan2((_arg2.y - _arg1.y), (_arg2.x - _arg1.x))); } public static function random_point(_arg1:Number, _arg2:Number):Point{ var _local3:Point; _local3 = new Point(0, 0); _local3.x = (Math.random() * _arg1); _local3.y = (Math.random() * _arg2); return (_local3); } public static function get_distance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; _local5 = Math.sqrt((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4)))); return (_local5); } public static function get_distance_point(_arg1:Point, _arg2:Point):Number{ var _local3:Number; _local3 = Math.sqrt((((_arg1.x - _arg2.x) * (_arg1.x - _arg2.x)) + ((_arg1.y - _arg2.y) * (_arg1.y - _arg2.y)))); return (_local3); } } }//package classes.smallz
Section 21
//CreditsScreen (classes.ui.CreditsScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; public class CreditsScreen extends MovieClip { public var _state:String; public var Continue:MovieClip; public function CreditsScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate(){ _state = "Active"; visible = true; } public function check_rollovers(){ if (Continue.hitTestPoint(mouseX, mouseY)){ Continue.scaleX = 1.25; Continue.scaleY = 1.25; } else { Continue.scaleX = 1; Continue.scaleY = 1; }; } public function menu_mouseUp(_arg1:MouseEvent){ if (Continue.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package classes.ui
Section 22
//GameUIScreen (classes.ui.GameUIScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; import flash.text.*; import flash.net.*; public class GameUIScreen extends MovieClip { public var ant_dude:MovieClip; public var remaining_time:TextField; public var level_prompt:TextField; public var score:TextField; public var _state:String; public var click_pct:TextField; public function GameUIScreen():void{ x = 0; y = 0; deactivate(); } public function activate(){ _state = "Active"; visible = true; } public function menu_mouseUp(_arg1:MouseEvent){ var _local2:URLRequest; if (ant_dude.arcade_void.hitTestPoint(_arg1.stageX, _arg1.stageY)){ trace("it's hit now"); _local2 = new URLRequest("http://www.arcadevoid.com"); navigateToURL(_local2); GameManager._voidClick = true; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package classes.ui
Section 23
//HighScoreManager (classes.ui.HighScoreManager) package classes.ui { import flash.events.*; import classes.game.*; import flash.net.*; public class HighScoreManager { public function HighScoreManager():void{ } private function highscores_handler(_arg1:Event):void{ var _local2:URLLoader; var _local3:int; var _local4:Array; _local2 = URLLoader(_arg1.target); _local4 = new Array(); trace("Back"); _local3 = 1; while (_local3 <= 10) { if (_local2.data[("Score_" + _local3)]){ _local4[(_local3 - 1)] = new HighScoreRecord(_local3, _local2.data[("User_" + _local3)], _local2.data[("Score_" + _local3)], 0, ""); }; _local3++; }; GameManager._highScores = _local4; GameManager._highScoresLoaded = true; GameManager.gameState = "HighScores"; } private function save_highscore_handler(_arg1:Event):void{ var _local2:URLLoader; var _local3:int; _local2 = URLLoader(_arg1.target); trace("Back from save high score"); GameManager.gameState = "HighScores"; } public function load_highscores(_arg1:int){ var _local2:URLRequest; var _local3:URLVariables; var _local4:URLLoader; _local2 = new URLRequest("http://games.smallzworld.com/RecordManagement.php"); _local3 = new URLVariables(); _local3.Routine = "AS3LoadHighScores"; _local3.Game_ID = _arg1; _local2.data = _local3; _local4 = new URLLoader(); _local4.dataFormat = URLLoaderDataFormat.VARIABLES; _local4.addEventListener(Event.COMPLETE, highscores_handler); _local4.load(_local2); GameManager.gameState = "Loading"; GameManager._highScoresLoaded = false; trace("Sent"); } public function save_highscore(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:int, _arg7:String){ var _local8:URLRequest; var _local9:URLVariables; var _local10:URLLoader; _local8 = new URLRequest("http://games.smallzworld.com/RecordManagement.php"); _local9 = new URLVariables(); _local9.Routine = "AddHighScore"; _local9.Game_ID = _arg1; _local9.Profile_ID = _arg2; _local9.UserName = _arg3; _local9.Level = _arg4; _local9.Score = _arg5; _local9.TimeScore = _arg6; _local9.Comment = _arg7; _local8.data = _local9; _local10 = new URLLoader(); _local10.dataFormat = URLLoaderDataFormat.VARIABLES; _local10.addEventListener(Event.COMPLETE, save_highscore_handler); _local10.load(_local8); GameManager.gameState = "Saving"; trace("Sent High Score"); } } }//package classes.ui
Section 24
//HighScoreRecord (classes.ui.HighScoreRecord) package classes.ui { public class HighScoreRecord { public var _comment:String; public var _level:int; public var _rank:int; public var _user:String; public var _score:Number; public function HighScoreRecord(_arg1:int, _arg2:String, _arg3:Number, _arg4:int, _arg5:String):void{ _rank = _arg1; _user = _arg2; _score = _arg3; _level = _arg4; _comment = _arg5; } } }//package classes.ui
Section 25
//HighScoresScreen (classes.ui.HighScoresScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; public class HighScoresScreen extends MovieClip { public var score_10:HighScoreListingSymbol; public var _state:String; public var score_2:HighScoreListingSymbol; public var score_6:HighScoreListingSymbol; public var score_7:HighScoreListingSymbol; public var score_9:HighScoreListingSymbol; public var score_3:HighScoreListingSymbol; public var Continue:MovieClip; public var score_5:HighScoreListingSymbol; public var score_8:HighScoreListingSymbol; public var score_1:HighScoreListingSymbol; public var score_4:HighScoreListingSymbol; public function HighScoresScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate(){ var _local1:int; _state = "Active"; visible = true; _local1 = 1; while (_local1 <= 10) { this[("score_" + _local1)].visible = false; _local1++; }; } public function check_rollovers(){ if (Continue.hitTestPoint(mouseX, mouseY)){ Continue.scaleX = 1.25; Continue.scaleY = 1.25; } else { Continue.scaleX = 1; Continue.scaleY = 1; }; } public function menu_mouseUp(_arg1:MouseEvent):void{ if (Continue.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function update():void{ var index:int; var score_count:int; var score_index:int; score_count = GameManager._highScores.length; index = 0; while (index < score_count) { var _local2 = GameManager; with (_local2) { score_index = (index + 1); this[("score_" + score_index)].Rank.text = String(_highScores[index]._rank); this[("score_" + score_index)].Score.text = String(_highScores[index]._score); this[("score_" + score_index)].User.text = _highScores[index]._user; this[("score_" + score_index)].visible = true; }; index = (index + 1); }; } } }//package classes.ui
Section 26
//InstructionsScreen (classes.ui.InstructionsScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; public class InstructionsScreen extends MovieClip { public var _state:String; public var Continue:MovieClip; public function InstructionsScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate(){ _state = "Active"; visible = true; } public function check_rollovers(){ if (Continue.hitTestPoint(mouseX, mouseY)){ Continue.scaleX = 1.25; Continue.scaleY = 1.25; } else { Continue.scaleX = 1; Continue.scaleY = 1; }; } public function menu_mouseUp(_arg1:MouseEvent){ if (Continue.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package classes.ui
Section 27
//MainMenuScreen (classes.ui.MainMenuScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; import flash.net.*; public class MainMenuScreen extends MovieClip { public var arcade_void:MovieClip; public var PlayGame:MovieClip; public var HighScores:MovieClip; public var _state:String; public var Credits:MovieClip; public var Instructions:MovieClip; public var LeaderBoards:MovieClip; public var Smallzworld:MovieClip; public function MainMenuScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate(){ _state = "Active"; visible = true; } public function check_rollovers(){ if (PlayGame.hitTestPoint(mouseX, mouseY)){ PlayGame.scaleX = 1.25; PlayGame.scaleY = 1.25; } else { PlayGame.scaleX = 1; PlayGame.scaleY = 1; }; if (Instructions.hitTestPoint(mouseX, mouseY)){ Instructions.scaleX = 1.25; Instructions.scaleY = 1.25; } else { Instructions.scaleX = 1; Instructions.scaleY = 1; }; if (Credits.hitTestPoint(mouseX, mouseY)){ Credits.scaleX = 1.25; Credits.scaleY = 1.25; } else { Credits.scaleX = 1; Credits.scaleY = 1; }; if (HighScores.hitTestPoint(mouseX, mouseY)){ HighScores.scaleX = 1.25; HighScores.scaleY = 1.25; } else { HighScores.scaleX = 1; HighScores.scaleY = 1; }; if (Smallzworld.hitTestPoint(mouseX, mouseY)){ Smallzworld.scaleX = 1.25; Smallzworld.scaleY = 1.25; } else { Smallzworld.scaleX = 1; Smallzworld.scaleY = 1; }; if (LeaderBoards.hitTestPoint(mouseX, mouseY)){ LeaderBoards.scaleX = 1.25; LeaderBoards.scaleY = 1.25; } else { LeaderBoards.scaleX = 1; LeaderBoards.scaleY = 1; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function menu_mouseUp(_arg1:MouseEvent){ var _local2:URLRequest; var _local3:URLRequest; var _local4:URLRequest; if (PlayGame.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.resetGame(); }; if (Instructions.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "Instructions"; }; if (Credits.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "Credits"; }; if (HighScores.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "HighScores"; }; if (LeaderBoards.hitTestPoint(_arg1.stageX, _arg1.stageY)){ _local2 = new URLRequest(("http://games.smallzworld.com/Main.php?PageType=DisplayHighScores&Game_ID=" + GameManager.gameID)); navigateToURL(_local2); }; if (Smallzworld.hitTestPoint(_arg1.stageX, _arg1.stageY)){ _local3 = new URLRequest("http://games.smallzworld.com/"); navigateToURL(_local3); }; if (arcade_void.hitTestPoint(_arg1.stageX, _arg1.stageY)){ _local4 = new URLRequest("http://www.arcadevoid.com"); navigateToURL(_local4); GameManager._voidClick = true; }; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package classes.ui
Section 28
//Message (classes.ui.Message) package classes.ui { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public class Message extends MovieClip { public var loader:Loader; public var _messageText:String; public var message_text:TextField; public var _imageLoaded:Boolean;// = false public var _imageURL:String; public var _state:String; public var _linkURL:String; public var image_icon:MovieClip; public function Message():void{ _imageLoaded = false; loader = new Loader(); super(); trace("initialize this"); _state = "Inactive"; visible = false; } public function activate():void{ _state = "Active"; visible = true; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function display_message(_arg1:Number, _arg2:Number, _arg3:String, _arg4:String):void{ var _local5:URLRequest; if (image_icon){ removeChild(image_icon); }; image_icon = new MovieClip(); addChild(image_icon); loader = new Loader(); if (_arg4 == ""){ _arg4 = "http://www.smallzworld.com/media/images/avatars/smallz_avatar.jpg"; }; _local5 = new URLRequest((_arg4 + "?hey=1")); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, iconLoaded); activate(); message_text.text = _arg3; x = _arg1; y = _arg2; loader.load(_local5); trace("make request"); } private function iconLoaded(_arg1:Event):void{ var _local2:String; trace("it's loaded"); image_icon.addChild(loader.content); image_icon.x = 50; image_icon.y = 40; _local2 = _imageURL.substr((_imageURL.length - 3), 3); trace(_local2); if (_local2 != "swf"){ image_icon.width = 60; image_icon.height = 60; }; } } }//package classes.ui
Section 29
//MessageManager (classes.ui.MessageManager) package classes.ui { import flash.events.*; import classes.game.*; import flash.net.*; public class MessageManager { public var _messageLoaded;// = false public var messagePod:Message; public function MessageManager():void{ _messageLoaded = false; super(); messagePod = new Message(); } private function message_handler(_arg1:Event):void{ var _local2:URLLoader; var _local3:int; _local2 = URLLoader(_arg1.target); trace("message_handler()"); if (_local2.data.MessageText){ messagePod._messageText = _local2.data.MessageText; messagePod._linkURL = _local2.data.LinkURL; messagePod._imageURL = _local2.data.ImageURL; trace(messagePod._linkURL); }; _messageLoaded = true; } public function load_message(_arg1:int){ var _local2:URLRequest; var _local3:URLVariables; var _local4:URLLoader; _local2 = new URLRequest("http://games.smallzworld.com/RecordManagement.php"); _local3 = new URLVariables(); _local3.Routine = "AS3Message"; _local3.Game_ID = _arg1; _local2.data = _local3; _local4 = new URLLoader(); _local4.dataFormat = URLLoaderDataFormat.VARIABLES; _local4.addEventListener(Event.COMPLETE, message_handler); _local4.load(_local2); GameManager.gameState = "MainMenu"; _messageLoaded = false; trace("load_message()"); } public function display_message(_arg1:Number, _arg2:Number){ messagePod.display_message(_arg1, _arg2, messagePod._messageText, messagePod._imageURL); _messageLoaded = false; } } }//package classes.ui
Section 30
//PauseScreen (classes.ui.PauseScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; public class PauseScreen extends MovieClip { public var _state:String; public var Continue:MovieClip; public function PauseScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate(){ _state = "Active"; visible = true; } public function menu_mouseUp(_arg1:MouseEvent){ if (Continue.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package classes.ui
Section 31
//SubmitScoreScreen (classes.ui.SubmitScoreScreen) package classes.ui { import flash.events.*; import classes.game.*; import flash.display.*; import flash.text.*; public class SubmitScoreScreen extends MovieClip { public var Submit:MovieClip; public var user_name:TextField; public var message_text:TextField; public var score:TextField; public var Cancel:MovieClip; public var _state:String; public function SubmitScoreScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate(){ _state = "Active"; visible = true; score.text = ("Final Score " + String(GameManager.playerScore)); } public function check_rollovers(){ if (Submit.hitTestPoint(mouseX, mouseY)){ Submit.scaleX = 1.25; Submit.scaleY = 1.25; } else { Submit.scaleX = 1; Submit.scaleY = 1; }; if (Cancel.hitTestPoint(mouseX, mouseY)){ Cancel.scaleX = 1.25; Cancel.scaleY = 1.25; } else { Cancel.scaleX = 1; Cancel.scaleY = 1; }; } public function menu_mouseUp(_arg1:MouseEvent){ if (Cancel.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "HighScores"; }; if (((Submit.hitTestPoint(_arg1.stageX, _arg1.stageY)) && (Submit.visible))){ deactivate(); GameManager.gameState = "SaveHighScore"; }; } public function deactivate(){ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package classes.ui
Section 32
//ant_splat (ant_splat) package { import flash.events.*; import classes.game.*; import flash.display.*; import classes.ui.*; import classes.smallz.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import flash.ui.*; public dynamic class ant_splat extends MovieClip { private var load_percent:Number; private var UI_HighScores:HighScoresScreen; private var UI_MainMenu:MainMenuScreen; public var FPS_Display:smallzFPS; private var UI_Submit:SubmitScoreScreen; private var TheBackground:Background; private var LarvaeControl:LarvaeManager; private var UI_Pause:PauseScreen; private var LevelControl:LevelManager; private var MessageControl:MessageManager; private var Ant_Count:int;// = 150 private var UI_Instructions:InstructionsScreen; private var Larvaes:Array; private var HighScoreControl:HighScoreManager; private var Larvae_Count:int;// = 25 private var Ants:Array; private var AntControl:AntManager; private var UI_Credits:CreditsScreen; private var PlayerFinger:Finger; private var Soundtrack:SoundtrackMusic; private var UI_Game:GameUIScreen; public var load_screen:MovieClip; private var ant_timer:Timer; public static var Splat:splat_sfx; public static var Debug:smallzDebug; public function ant_splat(){ Ant_Count = 150; Ants = new Array(); Larvae_Count = 25; Larvaes = new Array(); super(); addFrameScript(0, frame1, 2, frame3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); Security.loadPolicyFile("http://games.smallzworld.com/crossdomain.xml"); } private function process_input(_arg1:KeyboardEvent){ var _local2:int; switch (_arg1.keyCode){ case 32: if (GameManager.Debug){ }; break; case 39: break; case 37: break; case 38: break; case 40: break; }; } public function preload(){ stop(); GameManager.gameState = "Loader"; this.addEventListener(Event.ENTER_FRAME, showProgress); stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp_handler); } public function mouseUp_handler(_arg1:MouseEvent){ var _local2:URLRequest; var _local3:URLRequest; switch (GameManager.gameState){ case "Loader": if (load_screen.loader.arcade_void.hitTestPoint(stage.mouseX, stage.mouseY)){ _local2 = new URLRequest("http://www.arcadevoid.com"); navigateToURL(_local2); }; break; case "Game": AntControl.check_collision_finger(PlayerFinger); LarvaeControl.check_collision_finger(PlayerFinger); GameManager._clicks++; break; case "MainMenu": UI_MainMenu.menu_mouseUp(_arg1); if (MessageControl.messagePod.hitTestPoint(mouseX, mouseY)){ _local3 = new URLRequest(MessageControl.messagePod._linkURL); navigateToURL(_local3); }; if (GameManager.gameState != "MainMenu"){ MessageControl.messagePod.visible = false; }; break; case "Instructions": UI_Instructions.menu_mouseUp(_arg1); break; case "Credits": UI_Credits.menu_mouseUp(_arg1); break; case "Pause": UI_Pause.menu_mouseUp(_arg1); break; case "GameOver": UI_Submit.menu_mouseUp(_arg1); break; case "HighScores": UI_HighScores.menu_mouseUp(_arg1); break; case "LevelPrompt": UI_Game.menu_mouseUp(_arg1); if (!GameManager._voidClick){ UI_Game.level_prompt.visible = false; GameManager.gameState = "Game"; GameManager.initTime = getTimer(); GameManager._clicks = 0; UI_Game.ant_dude.visible = false; }; GameManager._voidClick = false; break; }; } private function main_loop(_arg1:Event){ switch (GameManager.gameState){ case "Game": if (UI_Game._state == "Inactive"){ UI_Game.activate(); Mouse.hide(); UI_Game.click_pct.text = "Splat %0"; }; GameManager.updateTimer(); PlayerFinger.update(); AntControl.update(); LarvaeControl.update(); AntControl.check_larvae_incubation(); UI_Game.score.text = ("Score " + GameManager.playerScore); if (GameManager._clicks > 0){ UI_Game.click_pct.text = ("Splat %" + int((GameManager.clickPct() * 100))); }; UI_Game.remaining_time.text = ("Time Remaining : " + GameManager.timeString((LevelControl._timeLimit - GameManager.elapsedTime))); if (GameManager._antsKilled >= (LevelControl._blackAnts + LevelControl._redAnts)){ GameManager.level++; GameManager.gameState = "LevelSetup"; }; if (GameManager.elapsedTime >= LevelControl._timeLimit){ GameManager.gameState = "GameOver"; }; break; case "MainMenu": if (UI_MainMenu._state == "Inactive"){ UI_MainMenu.activate(); UI_Game.deactivate(); if (!MessageControl._messageLoaded){ MessageControl.load_message(GameManager.gameID); }; }; if (MessageControl._messageLoaded){ MessageControl.display_message(163, 145); }; UI_MainMenu.check_rollovers(); break; case "LevelSetup": if (UI_Game._state != "Active"){ UI_Game.visible = true; UI_Game.level_prompt.visible = false; }; PlayerFinger.activate(); Mouse.hide(); GameManager.levelPromptCounter = 60; LevelControl.set_level(GameManager.level); GameManager._antsKilled = 0; AntControl.deactivate_all_ants(); AntControl.activate_ants(); UI_Game.ant_dude.visible = true; UI_Game.ant_dude.bubble_text.text = ((LevelControl._levelMessage + "\n\n") + "Click to Start"); UI_Game.click_pct.text = ""; PlayerFinger.update(); GameManager.gameState = "LevelPause"; break; case "LevelPause": if (GameManager.levelPromptCounter > 0){ GameManager.levelPromptCounter--; } else { GameManager.gameState = "LevelPrompt"; }; PlayerFinger.update(); break; case "LevelPrompt": PlayerFinger.update(); break; case "Instructions": if (UI_Instructions._state == "Inactive"){ UI_Instructions.activate(); }; UI_Instructions.check_rollovers(); break; case "Credits": if (UI_Credits._state == "Inactive"){ UI_Credits.activate(); }; UI_Credits.check_rollovers(); break; case "GameOver": if (UI_Submit._state == "Inactive"){ UI_Submit.activate(); Mouse.show(); PlayerFinger.deactivate(); }; UI_Submit.check_rollovers(); break; case "Pause": if (UI_Pause._state == "Inactive"){ UI_Pause.activate(); }; break; case "SaveHighScore": HighScoreControl.save_highscore(GameManager.gameID, 0, UI_Submit.user_name.text, GameManager.level, GameManager.playerScore, 0, "No Comment"); break; case "HighScores": if (UI_HighScores._state == "Inactive"){ UI_HighScores.activate(); HighScoreControl.load_highscores(GameManager.gameID); }; if (GameManager._highScoresLoaded){ UI_HighScores.update(); GameManager._highScoresLoaded = false; }; UI_HighScores.check_rollovers(); break; case "Saving": break; case "Reset": GameManager.resetGame(); break; }; } function frame3(){ stop(); } function frame1(){ preload(); } public function showProgress(_arg1:Event):void{ load_percent = Math.round(((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100)); load_screen.loader.load_bar.Fill.width = (198 * (load_percent / 100)); trace("Preloading"); if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal){ trace("Done loading"); this.removeEventListener(Event.ENTER_FRAME, showProgress); load_screen.visible = false; showAds(); }; } public function adFinished():void{ load_screen.visible = false; GameManager.gameState = "MainMenu"; gotoAndPlay(2); initApplication(); } public function initApplication(){ var _local1:int; Soundtrack = new SoundtrackMusic(); Splat = new splat_sfx(); TheBackground = new Background(); addChild(TheBackground); TheBackground.x = 0; TheBackground.y = 0; _local1 = 0; while (_local1 < Ant_Count) { Larvaes[_local1] = new Larvae(); addChild(Larvaes[_local1]); _local1++; }; _local1 = 0; while (_local1 < Ant_Count) { Ants[_local1] = new Ant(); addChild(Ants[_local1]); _local1++; }; UI_Game = new GameUIScreen(); addChild(UI_Game); UI_MainMenu = new MainMenuScreen(); addChild(UI_MainMenu); UI_Instructions = new InstructionsScreen(); addChild(UI_Instructions); UI_Credits = new CreditsScreen(); addChild(UI_Credits); UI_Pause = new PauseScreen(); addChild(UI_Pause); UI_HighScores = new HighScoresScreen(); addChild(UI_HighScores); UI_Submit = new SubmitScoreScreen(); addChild(UI_Submit); PlayerFinger = new Finger(); addChild(PlayerFinger); FPS_Display = new smallzFPS(10, 450, 20); Debug = new smallzDebug(10, 10, true); addChild(FPS_Display._fpsCounter); HighScoreControl = new HighScoreManager(); LevelControl = new LevelManager(); LarvaeControl = new LarvaeManager(Larvaes, LevelControl); AntControl = new AntManager(Ants, LarvaeControl, LevelControl); MessageControl = new MessageManager(); addChild(MessageControl.messagePod); stage.addEventListener(Event.ENTER_FRAME, main_loop); stage.addEventListener(KeyboardEvent.KEY_DOWN, process_input); Soundtrack.play(0, 999); } public function showAds(){ stop(); MochiAd.showPreGameAd({clip:root, id:"611913c25991fbf3", res:"640x480", ad_finished:adFinished}); } } }//package
Section 33
//HighScoreListingSymbol (HighScoreListingSymbol) package { import flash.display.*; import flash.text.*; public dynamic class HighScoreListingSymbol extends MovieClip { public var User:TextField; public var Rank:TextField; public var Score:TextField; } }//package
Section 34
//LoadBarSymbol (LoadBarSymbol) package { import flash.display.*; public dynamic class LoadBarSymbol extends MovieClip { public var arcade_void:MovieClip; public var load_bar:MovieClip; } }//package
Section 35
//MochiAd (MochiAd) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.1"); } public static function showTimedAd(_arg1:Object):void{ MochiAd.showInterLevelAd(_arg1); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var f:Function; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip._mochiad_loaded){ return (null); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; lv.lc = name; lv.st = getTimer(); loader = new Loader(); f = function (_arg1:Object):void{ mc._mochiad_ctr_failed = true; }; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); g = function (_arg1:Object):void{ MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["sendHighScore", _arg1], _arg2, _arg3); return (true); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; return (_local3); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; _arg1.removeChild(_arg1._mochiad); delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ this.clip.stop(); }, ad_finished:function ():void{ this.clip.play(); }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = _local1.loaderInfo.bytesTotal; if ((((_local4 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ _local3 = true; }; }; }; if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _loadCommunicator(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var clipname:String; var server:String; var depth:Number; var mc:MovieClip; var lv:URLVariables; var k:String; var lc:LocalConnection; var name:String; var req:URLRequest; var loader:Loader; var options = _arg1; DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; clipname = ("_mochiad_com_" + options.id); if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip[clipname]){ return (clip[clipname]); }; server = (options.com_server + options.id); MochiAd._allowDomains(server); delete options.id; delete options.com_server; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, clipname, depth); lv = new URLVariables(); for (k in options) { lv[k] = options[k]; }; lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.name = name; mc.lc = lc; lv.lc = name; mc._id = 0; mc._queue = []; mc.rpcResult = function (_arg1:Object):void{ var _local3:Array; var _local4:Array; var _local5:Number; var _local6:Object; var _local7:Object; _arg1 = parseInt(_arg1.toString()); _local3 = mc._callbacks[_arg1]; if (typeof(_local3) == "undefined"){ return; }; delete mc._callbacks[_arg1]; _local4 = []; _local5 = 2; while (_local5 < _local3.length) { _local4.push(_local3[_local5]); _local5++; }; _local5 = 1; while (_local5 < arguments.length) { _local4.push(arguments[_local5]); _local5++; }; _local6 = _local3[1]; _local7 = _local3[0]; if (((_local7) && ((typeof(_local6) == "string")))){ _local6 = _local7[_local6]; }; if (typeof(_local6) == "function"){ _local6.apply(_local7, _local4); }; }; mc._didConnect = function (_arg1:String):void{ var _local2:Array; var _local3:Function; var _local4:Number; var _local5:Array; mc._endpoint = _arg1; _local2 = mc._queue; delete mc._queue; _local3 = mc.doSend; _local4 = 0; while (_local4 < _local2.length) { _local5 = _local2[_local4]; _local3.apply(this, _local5); _local4++; }; }; mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{ var _local5:Number; var _local6:LocalConnection; var _local7:Array; var _local8:Number; if (mc._endpoint == null){ _local7 = []; _local8 = 0; while (_local8 < arguments.length) { _local7.push(arguments[_local8]); _local8++; }; mc._queue.push(_local7); return; }; mc._id = (mc._id + 1); _local5 = mc._id; mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))]; _local6 = new LocalConnection(); _local6.send(mc._endpoint, "rpc", _local5, _arg1); }; mc._callbacks = {}; mc._callbacks[0] = [mc, "_didConnect"]; lv.st = getTimer(); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader = new Loader(); loader.load(req); mc.addChild(loader); mc._mochiad_com = loader; return (mc); } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{ this.clip.stop(); }, ad_finished:function ():void{ this.clip.play(); }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); bar.x = 10; bar.y = (h - 20); bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (!this.parent.parent){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); if (!chk.showing){ _local11 = _local2.loaderInfo.bytesTotal; if ((((_local11 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local3 > chk.ad_timeout){ _local4 = true; }; }; }; if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ MochiAd.showPreGameAd(_arg1); } public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3); return (true); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { mc.removeEventListener(Event.ENTER_FRAME, f); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 36
//MyArial (MyArial) package { import flash.text.*; public dynamic class MyArial extends Font { } }//package
Section 37
//PointsSymbol (PointsSymbol) package { import flash.display.*; public dynamic class PointsSymbol extends MovieClip { public var PointText:MovieClip; public function PointsSymbol(){ addFrameScript(15, frame16); } function frame16(){ this.stop(); } } }//package
Section 38
//SoundtrackMusic (SoundtrackMusic) package { import flash.media.*; public dynamic class SoundtrackMusic extends Sound { } }//package
Section 39
//splat_sfx (splat_sfx) package { import flash.media.*; public dynamic class splat_sfx extends Sound { } }//package

Library Items

Symbol 1 Font {MyArial}Used by:22 67 68 69 70 72 76
Symbol 2 FontUsed by:3 4 5 95
Symbol 3 EditableTextUses:2Used by:6
Symbol 4 EditableTextUses:2Used by:6
Symbol 5 EditableTextUses:2Used by:6
Symbol 6 MovieClip {HighScoreListingSymbol}Uses:3 4 5Used by:47
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:10
Symbol 10 MovieClip {ant_splat_fla.LoadBar_3}Uses:7 9Used by:14
Symbol 11 FontUsed by:12 25 26 28 30 32 34 36 38 40 42 43 46 48 50 52 53 54 56 57 59 61 74
Symbol 12 EditableTextUses:11Used by:13
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClip {LoadBarSymbol}Uses:10 13Used by:24
Symbol 15 GraphicUsed by:24
Symbol 16 GraphicUsed by:20
Symbol 17 GraphicUsed by:20
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClipUses:16 17 19Used by:21
Symbol 21 MovieClipUses:20Used by:23
Symbol 22 EditableTextUses:1Used by:23
Symbol 23 MovieClipUses:21 22Used by:24
Symbol 24 MovieClip {ant_splat_fla.PreloaderScreen_1}Uses:15 14 23Used by:Timeline
Symbol 25 EditableTextUses:11Used by:29
Symbol 26 EditableTextUses:11Used by:27
Symbol 27 MovieClipUses:26Used by:29 47 58 60
Symbol 28 EditableTextUses:11Used by:29
Symbol 29 MovieClip {classes.ui.InstructionsScreen}Uses:25 27 28Used by:Timeline
Symbol 30 EditableTextUses:11Used by:31
Symbol 31 MovieClipUses:30Used by:45
Symbol 32 EditableTextUses:11Used by:33
Symbol 33 MovieClipUses:32Used by:45
Symbol 34 EditableTextUses:11Used by:35
Symbol 35 MovieClipUses:34Used by:45
Symbol 36 EditableTextUses:11Used by:37
Symbol 37 MovieClipUses:36Used by:45
Symbol 38 EditableTextUses:11Used by:39
Symbol 39 MovieClipUses:38Used by:45
Symbol 40 EditableTextUses:11Used by:41
Symbol 41 MovieClipUses:40Used by:45
Symbol 42 EditableTextUses:11Used by:45
Symbol 43 EditableTextUses:11Used by:44
Symbol 44 MovieClipUses:43Used by:45 51
Symbol 45 MovieClip {classes.ui.MainMenuScreen}Uses:31 33 35 37 39 41 42 44Used by:Timeline
Symbol 46 EditableTextUses:11Used by:47
Symbol 47 MovieClip {classes.ui.HighScoresScreen}Uses:6 27 46Used by:Timeline
Symbol 48 EditableTextUses:11Used by:55
Symbol 49 GraphicUsed by:51
Symbol 50 EditableTextUses:11Used by:51
Symbol 51 MovieClip {ant_splat_fla.AntGuy_23}Uses:49 50 44Used by:55
Symbol 52 EditableTextUses:11Used by:55
Symbol 53 EditableTextUses:11Used by:55
Symbol 54 EditableTextUses:11Used by:55
Symbol 55 MovieClip {classes.ui.GameUIScreen}Uses:48 51 52 53 54Used by:Timeline
Symbol 56 EditableTextUses:11Used by:58
Symbol 57 EditableTextUses:11Used by:58
Symbol 58 MovieClip {classes.ui.CreditsScreen}Uses:27 56 57Used by:Timeline
Symbol 59 EditableTextUses:11Used by:60
Symbol 60 MovieClip {classes.ui.PauseScreen}Uses:59 27Used by:Timeline
Symbol 61 EditableTextUses:11Used by:64
Symbol 62 Sound {splat_sfx}Used by:64
Symbol 63 Sound {SoundtrackMusic}Used by:64
Symbol 64 MovieClip {ant_splat_fla.audio_clips_26}Uses:61 62 63Used by:Timeline
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:75 77
Symbol 67 EditableTextUses:1Used by:75
Symbol 68 EditableTextUses:1Used by:75
Symbol 69 EditableTextUses:1Used by:75
Symbol 70 EditableTextUses:1Used by:71
Symbol 71 MovieClip {ant_splat_fla.CancelButton_29}Uses:70Used by:75
Symbol 72 EditableTextUses:1Used by:73
Symbol 73 MovieClip {ant_splat_fla.SubmitButton_30}Uses:72Used by:75
Symbol 74 EditableTextUses:11Used by:75
Symbol 75 MovieClip {classes.ui.SubmitScoreScreen}Uses:66 67 68 69 71 73 74Used by:Timeline
Symbol 76 EditableTextUses:1Used by:77
Symbol 77 MovieClip {classes.ui.Message}Uses:66 76Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:82
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:82
Symbol 82 MovieClip {classes.game.Finger}Uses:79 81Used by:Timeline
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:85
Symbol 85 MovieClip {classes.game.Background}Uses:84Used by:Timeline
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:90
Symbol 88 BitmapUsed by:89 105
Symbol 89 GraphicUses:88Used by:90
Symbol 90 MovieClip {classes.game.Larvae}Uses:87 89Used by:Timeline
Symbol 91 GraphicUsed by:94
Symbol 92 GraphicUsed by:94
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClip {ant_splat_fla.BlackAnt_37}Uses:91 92 93Used by:106
Symbol 95 EditableTextUses:2Used by:96
Symbol 96 MovieClip {ant_splat_fla.PointText_39}Uses:95Used by:97
Symbol 97 MovieClip {PointsSymbol}Uses:96Used by:106
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:106
Symbol 100 GraphicUsed by:104
Symbol 101 GraphicUsed by:104
Symbol 102 GraphicUsed by:104
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClip {ant_splat_fla.RedAnt_41}Uses:100 101 102 103Used by:106
Symbol 105 GraphicUses:88Used by:106
Symbol 106 MovieClip {classes.game.Ant}Uses:94 97 99 104 105Used by:Timeline

Instance Names

"load_screen"Frame 1Symbol 24 MovieClip {ant_splat_fla.PreloaderScreen_1}
"Rank"Symbol 6 MovieClip {HighScoreListingSymbol} Frame 1Symbol 3 EditableText
"Score"Symbol 6 MovieClip {HighScoreListingSymbol} Frame 1Symbol 4 EditableText
"User"Symbol 6 MovieClip {HighScoreListingSymbol} Frame 1Symbol 5 EditableText
"Fill"Symbol 10 MovieClip {ant_splat_fla.LoadBar_3} Frame 1Symbol 9 MovieClip
"load_bar"Symbol 14 MovieClip {LoadBarSymbol} Frame 1Symbol 10 MovieClip {ant_splat_fla.LoadBar_3}
"arcade_void"Symbol 14 MovieClip {LoadBarSymbol} Frame 1Symbol 13 MovieClip
"loader"Symbol 24 MovieClip {ant_splat_fla.PreloaderScreen_1} Frame 1Symbol 14 MovieClip {LoadBarSymbol}
"Continue"Symbol 29 MovieClip {classes.ui.InstructionsScreen} Frame 1Symbol 27 MovieClip
"PlayGame"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 31 MovieClip
"Instructions"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 33 MovieClip
"Smallzworld"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 35 MovieClip
"Credits"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 37 MovieClip
"HighScores"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 39 MovieClip
"LeaderBoards"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 41 MovieClip
"arcade_void"Symbol 45 MovieClip {classes.ui.MainMenuScreen} Frame 1Symbol 44 MovieClip
"score_1"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_2"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_3"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_4"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_5"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_6"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_7"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_8"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_9"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"score_10"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 6 MovieClip {HighScoreListingSymbol}
"Continue"Symbol 47 MovieClip {classes.ui.HighScoresScreen} Frame 1Symbol 27 MovieClip
"bubble_text"Symbol 51 MovieClip {ant_splat_fla.AntGuy_23} Frame 1Symbol 50 EditableText
"arcade_void"Symbol 51 MovieClip {ant_splat_fla.AntGuy_23} Frame 1Symbol 44 MovieClip
"click_pct"Symbol 55 MovieClip {classes.ui.GameUIScreen} Frame 1Symbol 48 EditableText
"ant_dude"Symbol 55 MovieClip {classes.ui.GameUIScreen} Frame 1Symbol 51 MovieClip {ant_splat_fla.AntGuy_23}
"level_prompt"Symbol 55 MovieClip {classes.ui.GameUIScreen} Frame 1Symbol 52 EditableText
"remaining_time"Symbol 55 MovieClip {classes.ui.GameUIScreen} Frame 1Symbol 53 EditableText
"score"Symbol 55 MovieClip {classes.ui.GameUIScreen} Frame 1Symbol 54 EditableText
"Continue"Symbol 58 MovieClip {classes.ui.CreditsScreen} Frame 1Symbol 27 MovieClip
"Continue"Symbol 60 MovieClip {classes.ui.PauseScreen} Frame 1Symbol 27 MovieClip
"message_text"Symbol 71 MovieClip {ant_splat_fla.CancelButton_29} Frame 1Symbol 70 EditableText
"message_text"Symbol 73 MovieClip {ant_splat_fla.SubmitButton_30} Frame 1Symbol 72 EditableText
"user_name"Symbol 75 MovieClip {classes.ui.SubmitScoreScreen} Frame 1Symbol 67 EditableText
"message_text"Symbol 75 MovieClip {classes.ui.SubmitScoreScreen} Frame 1Symbol 68 EditableText
"score"Symbol 75 MovieClip {classes.ui.SubmitScoreScreen} Frame 1Symbol 69 EditableText
"Cancel"Symbol 75 MovieClip {classes.ui.SubmitScoreScreen} Frame 1Symbol 71 MovieClip {ant_splat_fla.CancelButton_29}
"Submit"Symbol 75 MovieClip {classes.ui.SubmitScoreScreen} Frame 1Symbol 73 MovieClip {ant_splat_fla.SubmitButton_30}
"message_text"Symbol 77 MovieClip {classes.ui.Message} Frame 1Symbol 76 EditableText
"splat_radius"Symbol 82 MovieClip {classes.game.Finger} Frame 1Symbol 79 MovieClip
"PointText"Symbol 96 MovieClip {ant_splat_fla.PointText_39} Frame 1Symbol 95 EditableText
"PointText"Symbol 97 MovieClip {PointsSymbol} Frame 1Symbol 96 MovieClip {ant_splat_fla.PointText_39}
"ant"Symbol 106 MovieClip {classes.game.Ant} Frame 1Symbol 94 MovieClip {ant_splat_fla.BlackAnt_37}
"points"Symbol 106 MovieClip {classes.game.Ant} Frame 1Symbol 97 MovieClip {PointsSymbol}
"health_bar"Symbol 106 MovieClip {classes.game.Ant} Frame 1Symbol 99 MovieClip
"ant"Symbol 106 MovieClip {classes.game.Ant} Frame 2Symbol 104 MovieClip {ant_splat_fla.RedAnt_41}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.

Labels

"larvae"Symbol 90 MovieClip {classes.game.Larvae} Frame 1
"splat"Symbol 90 MovieClip {classes.game.Larvae} Frame 2
"black"Symbol 106 MovieClip {classes.game.Ant} Frame 1
"red"Symbol 106 MovieClip {classes.game.Ant} Frame 2
"splat"Symbol 106 MovieClip {classes.game.Ant} Frame 3




http://swfchan.com/15/74059/info.shtml
Created: 7/4 -2019 16:25:57 Last modified: 7/4 -2019 16:25:57 Server time: 22/12 -2024 19:45:03