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/52048352?noj=FRM52048352-22DC" width="1" height="1"></div>

Pollenization.swf

This is the info page for
Flash #68370

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


Text
1

Score

User

Smallzworld

Attention Deficit Disorder

Content

level

Score

Continue

Programming - Scott Slaby

Artwork - Nutter666

Soundtrack - DemonicScythe
(Winter Green)

Credits

The goal of the game is to pollenate flowers of the same color.

Click on a flower and your bee will fly to the flower and collect pollen of that color.

Now you are able to score points by pollenating other flowers of that color. You get a multiplier for each consecutive flower of the same color that you pollenate.

Pollenating 6 flowers of the same color in a row, gives you a bonus powerup. Each color has a different powerup type.

Instructions

High Scores

Play Game

Instructions

Credits

View High Scores

Leaderboards

Game Title

nonoba_text

Game Paused

150000

Continue

Default

User Name :

Score :

Cancel

Submit

Game Over

Title Text

This is example of text you might want to put here on your popup

Audio Clips

100000

Hello

This is an example of achievement text.

Smallzworld.com

ActionScript [AS3]

Section 1
//Color (fl.motion.Color) package fl.motion { import flash.geom.*; import flash.display.*; public class Color extends ColorTransform { private var _tintMultiplier:Number;// = 0 private var _tintColor:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ _tintColor = 0; _tintMultiplier = 0; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function setTint(_arg1:uint, _arg2:Number):void{ var _local3:uint; var _local4:uint; var _local5:uint; this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } private function deriveTintColor():uint{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = (1 / this.tintMultiplier); _local2 = Math.round((this.redOffset * _local1)); _local3 = Math.round((this.greenOffset * _local1)); _local4 = Math.round((this.blueOffset * _local1)); _local5 = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function get tintColor():uint{ return (this._tintColor); } public function set brightness(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; _local2 = (1 - Math.abs(_arg1)); _local3 = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local2:XML; var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; _local2 = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:uint; var _local14:uint; var _local15:uint; var _local16:uint; var _local17:uint; _local4 = (1 - _arg3); _local5 = ((_arg1 >> 24) & 0xFF); _local6 = ((_arg1 >> 16) & 0xFF); _local7 = ((_arg1 >> 8) & 0xFF); _local8 = (_arg1 & 0xFF); _local9 = ((_arg2 >> 24) & 0xFF); _local10 = ((_arg2 >> 16) & 0xFF); _local11 = ((_arg2 >> 8) & 0xFF); _local12 = (_arg2 & 0xFF); _local13 = ((_local5 * _local4) + (_local9 * _arg3)); _local14 = ((_local6 * _local4) + (_local10 * _arg3)); _local15 = ((_local7 * _local4) + (_local11 * _arg3)); _local16 = ((_local8 * _local4) + (_local12 * _arg3)); _local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number; var _local5:ColorTransform; _local4 = (1 - _arg3); _local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motion
Section 2
//audio_clips_36 (pollenization_fla.audio_clips_36) package pollenization_fla { import flash.display.*; public dynamic class audio_clips_36 extends MovieClip { public function audio_clips_36(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package pollenization_fla
Section 3
//CancelButton_32 (pollenization_fla.CancelButton_32) package pollenization_fla { import flash.display.*; import flash.text.*; public dynamic class CancelButton_32 extends MovieClip { public var message_text:TextField; } }//package pollenization_fla
Section 4
//content_holder_12 (pollenization_fla.content_holder_12) package pollenization_fla { import flash.display.*; public dynamic class content_holder_12 extends MovieClip { public function content_holder_12(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package pollenization_fla
Section 5
//earth2_3 (pollenization_fla.earth2_3) package pollenization_fla { import flash.display.*; public dynamic class earth2_3 extends MovieClip { public var earth:MovieClip; } }//package pollenization_fla
Section 6
//LoadBar_10 (pollenization_fla.LoadBar_10) package pollenization_fla { import flash.display.*; public dynamic class LoadBar_10 extends MovieClip { public var Fill:MovieClip; } }//package pollenization_fla
Section 7
//NonobaSubmitBox_28 (pollenization_fla.NonobaSubmitBox_28) package pollenization_fla { import flash.display.*; import flash.text.*; public dynamic class NonobaSubmitBox_28 extends MovieClip { public var score:TextField; public var Continue:MovieClip; } }//package pollenization_fla
Section 8
//PointText_44 (pollenization_fla.PointText_44) package pollenization_fla { import flash.display.*; import flash.text.*; public dynamic class PointText_44 extends MovieClip { public var PointText:TextField; } }//package pollenization_fla
Section 9
//PreloaderScreen_1 (pollenization_fla.PreloaderScreen_1) package pollenization_fla { import flash.display.*; public dynamic class PreloaderScreen_1 extends MovieClip { public var loader:LoadBarSymbol; } }//package pollenization_fla
Section 10
//smallz_earth_2 (pollenization_fla.smallz_earth_2) package pollenization_fla { import flash.display.*; public dynamic class smallz_earth_2 extends MovieClip { public var earth:MovieClip; } }//package pollenization_fla
Section 11
//SmallzSubmitBox_31 (pollenization_fla.SmallzSubmitBox_31) package pollenization_fla { import flash.display.*; import flash.text.*; public dynamic class SmallzSubmitBox_31 extends MovieClip { public var Submit:MovieClip; public var user_name:TextField; public var message_text:TextField; public var score:TextField; public var Cancel:MovieClip; } }//package pollenization_fla
Section 12
//SubmitButton_33 (pollenization_fla.SubmitButton_33) package pollenization_fla { import flash.display.*; import flash.text.*; public dynamic class SubmitButton_33 extends MovieClip { public var message_text:TextField; } }//package pollenization_fla
Section 13
//submitcancelButton_30 (pollenization_fla.submitcancelButton_30) package pollenization_fla { import flash.display.*; import flash.text.*; public dynamic class submitcancelButton_30 extends MovieClip { public var message_text:TextField; } }//package pollenization_fla
Section 14
//AchievementBox (AchievementBox) package { import flash.geom.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class AchievementBox extends MovieClip { public var _duration:Number; public var _isComplete:Boolean; public var _type:int; public var achievement_text:TextField; public var _speed:Number; public var _scale:Number; public var _initTime:Number; public var _spawnState:Boolean;// = true public var user_name:TextField; public var _state:String; public var _defaultAchievementText:String;// = "You know how we do!" public var _defaultDuration:Number;// = 3 public var _scaleSpeed:Number;// = 250 public var _defalutLoc:Point; public function AchievementBox():void{ _scaleSpeed = 250; _defaultDuration = 3; _defalutLoc = new Point(0, 0); _defaultAchievementText = "You know how we do!"; _spawnState = true; super(); deactivate(); } public function startTimer():void{ _initTime = getTimer(); } public function activate():void{ _state = "Active"; visible = true; _spawnState = false; } public function transitionIn():void{ _scale = 0.01; scaleX = _scale; scaleY = _scale; _state = "Grow"; } public function deactivate():void{ _state = "Inactive"; visible = false; _isComplete = true; } public function transitionOut():void{ _state = "Shrink"; } public function update(_arg1:Number):void{ switch (_state){ case "Active": if (isDone()){ transitionOut(); }; break; case "Grow": _scale = (_scale + ((_arg1 * _scaleSpeed) / 100)); if (_scale >= 1){ _scale = 1; startTimer(); _state = "Active"; }; scaleX = _scale; scaleY = _scale; break; case "Shrink": _scale = (_scale - ((_arg1 * _scaleSpeed) / 100)); if (_scale <= 0.1){ _scale = 1; deactivate(); }; scaleX = _scale; scaleY = _scale; break; case "Inactive": break; }; } public function isDone():Boolean{ var _local1:Boolean; _local1 = false; if (GameManager.elapsedTime(_initTime) >= _duration){ _local1 = true; }; return (_local1); } } }//package
Section 15
//AchievementBoxManager (AchievementBoxManager) package { import flash.display.*; public class AchievementBoxManager extends MovieClip { public var active:Array; public var clips:Array; public function AchievementBoxManager():void{ clips = new Array(); active = new Array(); super(); } public function init(_arg1:Number):void{ var _local2:int; _local2 = 0; while (_local2 < _arg1) { clips[_local2] = new AchievementBox(); clips[_local2].alpha = 0.95; addChild(clips[_local2]); _local2++; }; } public function inactiveAchievementBox():int{ var _local1:int; var _local2:int; var _local3:int; _local2 = -1; _local3 = clips.length; _local1 = 0; while (_local1 < _local3) { if (clips[_local1]._spawnState){ _local2 = _local1; break; }; _local1++; }; return (_local2); } public function deactivateAllAchievementBoxes():void{ var _local1:int; var _local2:int; _local2 = clips.length; _local1 = 0; while (_local1 < _local2) { clips[_local1].deactivate(); clips[_local1]._spawnState = true; _local1++; }; active = new Array(); } public function spawn(_arg1:String, _arg2:Number):void{ var clipIndex:int; var achievementText = _arg1; var duration = _arg2; clipIndex = inactiveAchievementBox(); if (clipIndex >= 0){ var _local4 = clips[clipIndex]; with (_local4) { activate(); scaleX = 1; scaleY = 1; x = (15 + (201 * clipIndex)); y = (480 - (height + 25)); user_name.text = GameManager._userName; achievement_text.text = achievementText; _duration = duration; transitionIn(); _isComplete = false; active.push(clips[clipIndex]); }; }; } public function update(_arg1:Number):void{ var index:int; var clipCount:int; var elapsedTime = _arg1; clipCount = active.length; index = 0; while (index < clipCount) { var _local3 = active[index]; with (_local3) { if (_state == "Inactive"){ _spawnState = true; active.splice(index, 1); index--; clipCount--; } else { update(elapsedTime); }; }; index = (index + 1); }; } } }//package
Section 16
//AchievementRecord (AchievementRecord) package { public class AchievementRecord { public var _experiencePoints:int; public var _achievementKey:String; public var _achievementName:String; public var _isAchieved:Boolean; public function AchievementRecord(_arg1:String, _arg2:String, _arg3:int):void{ _achievementName = _arg1; _achievementKey = _arg2; _experiencePoints = _arg3; _isAchieved = false; } } }//package
Section 17
//Background (Background) package { import flash.display.*; public dynamic class Background extends MovieClip { public var flower_4:WhiteFlower; public var flower_2:GreenFlower; public var flower_5:YellowFlower; public var flower_3:RedFlower; public var flower_1:BlueFlower; } }//package
Section 18
//Bee (Bee) package { import flash.events.*; import flash.geom.*; import flash.display.*; public class Bee extends MovieClip { public const ARRIVED_AT_FLOWER:String = "ArrivedAtFlower"; public var _type:int; public var _clip:MovieClip; public var _speed:Number; public var _clipScale:Number;// = 0.45 public var _scale:Number;// = 0.3 public var _color:int; public var _targetLoc:Point; public var _defaultSpeed;// = 100 public var _state:String; public var _velocityVector:Point; public var _carryingPollen:Boolean;// = false public var _originIndex:int; public var _flying:Boolean;// = false public var _originLoc:Point; public var _frames:Array; public var _angle:Number; public function Bee():void{ _scale = 0.3; _frames = new Array(); _clip = new MovieClip(); _clipScale = 0.45; _flying = false; _carryingPollen = false; _velocityVector = new Point(0, 0); _defaultSpeed = 100; super(); addChild(_clip); initFrames(); deactivate(); scaleX = _scale; scaleY = _scale; smallzFilter.glow(this, 0, 1, 1, 5, 5); } public function activate():void{ _state = "Active"; visible = true; _speed = _defaultSpeed; } public function setFrame(_arg1:int):void{ if (_clip.numChildren > 0){ _clip.removeChildAt(0); }; if (_arg1 >= 0){ _clip.addChild(_frames[_arg1]); _color = _arg1; _clip.x = 50; _clip.y = 25; _clip.scaleX = _clipScale; _clip.scaleY = _clipScale; }; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function setTarget(_arg1:MovieClip):void{ _targetLoc = new Point(0, 0); _originLoc = new Point(x, y); _targetLoc = _arg1.localToGlobal(_targetLoc); _angle = smallzMath.pGetAngle(_originLoc, _targetLoc); rotation = ((_angle / Math.PI) * 180); if (_targetLoc.x < _originLoc.x){ scaleY = -(_scale); } else { scaleY = _scale; }; _flying = true; } public function update(_arg1:Number):void{ var _local2:Number; var _local3:Number; switch (_state){ case "Active": if (_flying){ _velocityVector.x = (_speed * _arg1); _velocityVector.y = (_speed * _arg1); x = (x + (_velocityVector.x * Math.cos(_angle))); y = (y + (_velocityVector.y * Math.sin(_angle))); _local2 = smallzMath.pDistance(_originLoc, new Point(x, y)); _local3 = smallzMath.pDistance(_originLoc, _targetLoc); if (_local2 > _local3){ x = _targetLoc.x; y = _targetLoc.y; dispatchEvent(new Event(ARRIVED_AT_FLOWER)); if (_targetLoc < _originLoc){ rotation = 180; scaleY = -(_scale); } else { rotation = 0; scaleY = _scale; }; _flying = false; }; }; break; }; } public function initFrames():void{ _frames.push(new RedFlower()); _frames.push(new BlueFlower()); _frames.push(new GreenFlower()); _frames.push(new YellowFlower()); _frames.push(new WhiteFlower()); } } }//package
Section 19
//BlueFlower (BlueFlower) package { import flash.display.*; public dynamic class BlueFlower extends MovieClip { } }//package
Section 20
//BlueOrb (BlueOrb) package { import flash.display.*; public dynamic class BlueOrb extends MovieClip { } }//package
Section 21
//CreditsScreen (CreditsScreen) package { import flash.events.*; 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():void{ _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():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package
Section 22
//Flower (Flower) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.utils.*; public class Flower extends MovieClip { public var _centerRadius:Number; public var _type:String; public var _clip:MovieClip; public var _flowerBody:MovieClip; public var _speed:Number;// = 50 public var _petals:Array; public var _explodeDuration:Number; public var _scale:Number;// = 150 public var _color:int; public var _spawnState:Boolean;// = true public var _state:String; public var _stem:MovieClip; public var _highlighted:Boolean;// = false public var _explodeTimer:Timer; public var _index:int; public var _angle:Number; public var _gridLoc:Point; public var _flowerScale:Number; public function Flower():void{ _scale = 150; _speed = 50; _spawnState = true; _flowerBody = new MovieClip(); _stem = new MovieClip(); _clip = new MovieClip(); _gridLoc = new Point(0, 0); _highlighted = false; super(); addChild(_clip); deactivate(); } public function activate():void{ _state = "Active"; visible = true; createFlower(_color); rotation = 0; cacheAsBitmap = true; _spawnState = false; } public function explosionDoneHandler(_arg1:TimerEvent):void{ _explodeTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, explosionDoneHandler); deactivate(); } public function unhighlight():void{ smallzFilter.removeFilters(this); _highlighted = false; } public function createFlower(_arg1:int):void{ var _local2:Array; var _local3:Class; _local2 = new Array("RedFlower", "BlueFlower", "GreenFlower", "YellowFlower", "WhiteFlower"); _local3 = (getDefinitionByName(_local2[_arg1]) as Class); if (_clip.numChildren > 0){ _clip.removeChildAt(0); }; _flowerBody = new (_local3); _clip.addChild(_flowerBody); _clip.scaleX = _flowerScale; _clip.scaleY = _flowerScale; } public function deactivate():void{ _state = "Inactive"; visible = false; } private function drawPetals(_arg1:int, _arg2:int, _arg3:Number):void{ var index:int; var petalAngle:Number; var petalCount = _arg1; var colorCode = _arg2; var bodyRadius = _arg3; _petals = new Array(); index = 0; while (index < petalCount) { petalAngle = ((360 / petalCount) * index); _petals[index] = new flower_petal(); var _local5 = _petals[index]; with (_local5) { x = (bodyRadius * Math.cos(((petalAngle * Math.PI) / 180))); y = (bodyRadius * Math.sin(((petalAngle * Math.PI) / 180))); width = _scale; rotation = petalAngle; }; _flowerBody.addChild(_petals[index]); smallzColor.Tint(_petals[index].petal_color, colorCode, 2); index = (index + 1); }; } public function highlight():void{ var _local1:Number; unhighlight(); _highlighted = true; _local1 = ((Math.random() * 3) + 2); smallzFilter.glow(this, 0, 1.5, 1, 5, 5); smallzFilter.glow(this, 0xFFFF00, _local1, 1, 10, 10); } public function update(_arg1:Number):void{ if (_highlighted){ highlight(); }; switch (_state){ case "Active": break; case "Explode": rotation = (rotation + 20); break; }; } public function explode():void{ _explodeTimer = new Timer(500, 1); _explodeTimer.start(); _explodeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, explosionDoneHandler); _state = "Explode"; } } }//package
Section 23
//flower_petal (flower_petal) package { import flash.display.*; public dynamic class flower_petal extends MovieClip { public var petal_color:MovieClip; } }//package
Section 24
//FlowerManager (FlowerManager) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.utils.*; public class FlowerManager extends MovieClip { public const GAME_OVER:String = "GameOver"; public const WHITE_OUT:String = "WhiteOut"; public const SPAWN_PAUSED:String = "SpawnPaused"; public const BEE_SPEED_INCREASED:String = "BeeSpeedIncreased"; public const SPAWN_REDUCED:String = "SpawnReduced"; public const YELLOW_POW:String = "YellowPow"; public const MINI_PAUSE:String = "MiniPause"; public var active:Array; public var clips:Array; public var _grid:Array; public var LevelControl:LevelManager; public var _flowerWidth:Number; public var _hive:hive; public var spawnTimer:Timer; public var _pauseTimer:Timer; public var spawnInitTime:Number; public var _multiplier:int;// = 0 public var PlayerBee:Bee; public var _miniPause:Boolean;// = false public var _miniPauseTimer:Timer; public var spawnDelay:Number;// = 1.25 public var _spawnPause:Boolean;// = false public var _flowerScale:Number;// = 0.5 public function FlowerManager():void{ clips = new Array(); active = new Array(); spawnDelay = 1.25; spawnInitTime = getTimer(); _grid = new Array(); _flowerScale = 0.5; _multiplier = 0; _spawnPause = false; _miniPause = false; super(); _hive = new hive(); addChild(_hive); _hive.alpha = 0.5; _hive.cacheAsBitmap = true; } public function deactivateAll():void{ var _local1:int; var _local2:int; _local2 = clips.length; _local1 = 0; while (_local1 < _local2) { clips[_local1].deactivate(); clips[_local1]._spawnState = true; _local1++; }; active = new Array(); } public function activate():void{ visible = true; spawnTimer = new Timer((LevelControl._spawnDelay + LevelControl._spawnOffset), 0); spawnTimer.start(); activateHandlers(); } public function executeWhiteOut():void{ var _local1:int; var _local2:int; var _local3:Flower; _local2 = active.length; _local1 = 0; while (_local1 < _local2) { _local3 = (active[_local1] as Flower); if (_local3._color == 4){ _local3._color = int((Math.random() * 4)); _local3.createFlower(_local3._color); }; _local1++; }; unhighlightAll(); PlayerBee._carryingPollen = false; PlayerBee._color = -1; PlayerBee.setFrame(PlayerBee._color); } public function init(_arg1:Number, _arg2:LevelManager, _arg3:Bee):void{ var index:int; var amount = _arg1; var levelControl = _arg2; var playerBee = _arg3; PlayerBee = playerBee; LevelControl = levelControl; index = 0; while (index < amount) { clips[index] = new Flower(); clips[index]._flowerScale = _flowerScale; clips[index]._index = index; addChild(clips[index]); _flowerWidth = (_flowerScale * 100); index = (index + 1); }; resetGrid(); _hive.width = ((8 * _flowerWidth) + 4); _hive.height = ((8 * _flowerWidth) + 4); var _local5 = graphics; with (_local5) { beginFill(0); lineStyle(2, 0xFFFFFF); drawRect(0, 0, ((8 * _flowerWidth) + 4), ((8 * _flowerWidth) + 4)); endFill(); }; } public function increasedBeeSpeedHandler(_arg1:Event):void{ PlayerBee._speed = (PlayerBee._speed + 15); } public function checkClick():void{ var _local1:int; var _local2:int; var _local3:MovieClip; _local2 = active.length; _local1 = 0; while (_local1 < _local2) { _local3 = active[_local1]; if (_local3.hitTestPoint(stage.mouseX, stage.mouseY, true)){ PlayerBee.setTarget(_local3); break; }; _local1++; }; } public function resetGrid():void{ initGrid(8, 8); } public function isGameOver():Boolean{ var _local1:int; var _local2:int; var _local3:Boolean; _local3 = true; _local1 = 0; while (_local1 < _grid.length) { _local2 = 0; while (_local2 < _grid[_local1].length) { if (_grid[_local1][_local2] == -1){ _local3 = false; break; }; _local2++; }; _local1++; }; return (_local3); } public function checkCollision():void{ var _local1:int; var _local2:int; var _local3:Number; var _local4:Flower; var _local5:Point; var _local6:Number; var _local7:String; _local2 = active.length; _local3 = 25; _local1 = 0; while (_local1 < _local2) { _local4 = active[_local1]; if (_local4.hitTestPoint(PlayerBee.x, PlayerBee.y)){ if (!PlayerBee._carryingPollen){ PlayerBee._carryingPollen = true; PlayerBee.setFrame(_local4._color); PlayerBee._originIndex = _local4._index; unhighlightAll(); _local4.highlight(); _multiplier = 0; } else { if (_local4._color == PlayerBee._color){ if (_local4._index != PlayerBee._originIndex){ _multiplier++; _local5 = new Point(0, 0); _local5 = clips[PlayerBee._originIndex].localToGlobal(_local5); _local6 = smallzMath.pDistance(_local5, new Point(PlayerBee.x, PlayerBee.y)); _local3 = (_local3 * _multiplier); _local7 = String(_local3); if (_multiplier > 1){ _local7 = ((("x" + String(_multiplier)) + " ") + _local7); }; GameManager.scorePopUp(_local7, new Point(PlayerBee.x, PlayerBee.y)); GameManager.incrementScore(_local3); _local4.explode(); dispatchEvent(new Event(MINI_PAUSE)); if (_multiplier == 6){ switch (PlayerBee._color){ case 0: GameManager.scorePopUp("Flower Spawn Paused", new Point(PlayerBee.x, (PlayerBee.y + 25))); dispatchEvent(new Event(SPAWN_PAUSED)); break; case 1: GameManager.scorePopUp("Reduced Spawn Speed", new Point(PlayerBee.x, (PlayerBee.y + 25))); dispatchEvent(new Event(SPAWN_REDUCED)); break; case 2: GameManager.scorePopUp("Bee Speed Increased", new Point(PlayerBee.x, (PlayerBee.y + 25))); dispatchEvent(new Event(BEE_SPEED_INCREASED)); break; case 3: GameManager.scorePopUp("YELLOW POW!", new Point(PlayerBee.x, (PlayerBee.y + 25))); dispatchEvent(new Event(YELLOW_POW)); break; case 4: GameManager.scorePopUp("WHITE OUT!", new Point(PlayerBee.x, (PlayerBee.y + 25))); dispatchEvent(new Event(WHITE_OUT)); break; }; }; }; } else { _multiplier = 0; PlayerBee.setFrame(_local4._color); PlayerBee._originIndex = _local4._index; unhighlightAll(); _local4.highlight(); }; }; break; }; _local1++; }; } public function inactiveClip():int{ var _local1:int; var _local2:int; var _local3:int; _local2 = -1; _local3 = clips.length; _local1 = 0; while (_local1 < _local3) { if (clips[_local1]._spawnState){ _local2 = _local1; break; }; _local1++; }; return (_local2); } public function yellowPowHandler(_arg1:Event):void{ blastYellows(); } public function whiteOutHandler(_arg1:Event):void{ executeWhiteOut(); } public function unhighlightAll():void{ var _local1:int; var _local2:int; _local2 = active.length; _local1 = 0; while (_local1 < _local2) { active[_local1].unhighlight(); _local1++; }; } public function miniUnpauseSpawn(_arg1:TimerEvent):void{ _miniPause = false; } public function blastYellows():void{ var _local1:int; var _local2:int; var _local3:Flower; var _local4:Point; var _local5:Point; var _local6:Number; var _local7:Number; var _local8:String; _local2 = active.length; _local1 = 0; while (_local1 < _local2) { _local3 = (active[_local1] as Flower); if (_local3._color == 3){ _multiplier++; _local4 = new Point(0, 0); _local5 = new Point(0, 0); _local4 = clips[PlayerBee._originIndex].localToGlobal(_local4); _local5 = _local3.localToGlobal(_local5); _local6 = smallzMath.pDistance(_local4, _local5); _local7 = 25; _local7 = (_local7 * _multiplier); _local8 = String(_local7); if (_multiplier > 1){ _local8 = ((("x" + String(_multiplier)) + " ") + _local8); }; GameManager.scorePopUp(_local8, _local5); GameManager.incrementScore(_local7); _local3.explode(); }; _local1++; }; unhighlightAll(); PlayerBee._carryingPollen = false; PlayerBee._color = -1; PlayerBee.setFrame(PlayerBee._color); dispatchEvent(new Event(MINI_PAUSE)); } public function spawn():void{ var clipIndex:int; var colorIndex:int; var spawnLoc:Point; clipIndex = inactiveClip(); colorIndex = (Math.random() * LevelControl._colorCount); if (((!(_spawnPause)) && (!(_miniPause)))){ if (clipIndex >= 0){ var _local2 = clips[clipIndex]; with (_local2) { _gridLoc = randomGridLocation(); if (_gridLoc.x < 0){ this.dispatchEvent(new Event(GAME_OVER)); deactivateHandlers(); } else { _color = colorIndex; activate(); x = ((_gridLoc.x * width) + (width * 0.5)); y = ((_gridLoc.y * width) + (width * 0.5)); active.push(clips[clipIndex]); }; }; }; }; } public function activateHandlers():void{ spawnTimer.addEventListener(TimerEvent.TIMER, spawnHandler); addEventListener(BEE_SPEED_INCREASED, increasedBeeSpeedHandler); addEventListener(YELLOW_POW, yellowPowHandler); addEventListener(WHITE_OUT, whiteOutHandler); addEventListener(SPAWN_REDUCED, spawnReduced); addEventListener(SPAWN_PAUSED, spawnPaused); addEventListener(MINI_PAUSE, miniPause); } public function initGrid(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; _grid = new Array(); _local3 = 0; while (_local3 < _arg1) { _grid[_local3] = new Array(); _local4 = 0; while (_local4 < _arg2) { _grid[_local3][_local4] = -1; _local4++; }; _local3++; }; } public function unpauseSpawn(_arg1:TimerEvent):void{ _spawnPause = false; } public function spawnPaused(_arg1:Event):void{ _spawnPause = true; _pauseTimer = new Timer(2000, 1); _pauseTimer.start(); _pauseTimer.addEventListener(TimerEvent.TIMER_COMPLETE, unpauseSpawn); } public function update(_arg1:Number):void{ var index:int; var clipCount:int; var curFlower:*; var elapsedTime = _arg1; clipCount = active.length; index = 0; while (index < clipCount) { var _local3 = active[index]; with (_local3) { if (_state == "Inactive"){ curFlower = (active[index] as Flower); _grid[curFlower._gridLoc.x][curFlower._gridLoc.y] = -1; _spawnState = true; active.splice(index, 1); index--; clipCount--; } else { update(elapsedTime); }; }; index = (index + 1); }; } public function spawnReduced(_arg1:Event):void{ LevelControl._spawnOffset = (LevelControl._spawnOffset + 10); spawnTimer.removeEventListener(TimerEvent.TIMER, spawnHandler); spawnTimer.stop(); spawnTimer = new Timer((LevelControl._spawnDelay + LevelControl._spawnOffset), 0); spawnTimer.start(); spawnTimer.addEventListener(TimerEvent.TIMER, spawnHandler); } public function randomGridLocation():Point{ var _local1:int; var _local2:int; var _local3:Point; var _local4:Boolean; var _local5:int; var _local6:int; _local3 = new Point(0, 0); _local4 = false; _local6 = 300; while (((!(_local4)) && ((_local5 < _local6)))) { _local3.x = int((Math.random() * _grid.length)); _local3.y = int((Math.random() * _grid[0].length)); if (_grid[_local3.x][_local3.y] == -1){ _grid[_local3.x][_local3.y] = 0; _local4 = true; }; _local5++; }; if (_local5 >= _local6){ if (isGameOver()){ _local3 = new Point(-1, -1); } else { _local1 = 0; while (_local1 < _grid.length) { _local2 = 0; while (_local2 < _grid[_local1].length) { if (_grid[_local1][_local2] == -1){ _local3 = new Point(_local1, _local2); break; }; _local2++; }; _local1++; }; }; }; return (_local3); } public function spawnHandler(_arg1:TimerEvent):void{ spawn(); } public function miniPause(_arg1:Event):void{ _miniPause = true; _miniPauseTimer = new Timer(200, 1); _miniPauseTimer.start(); _miniPauseTimer.addEventListener(TimerEvent.TIMER_COMPLETE, miniUnpauseSpawn); } public function deactivateHandlers():void{ spawnTimer.removeEventListener(TimerEvent.TIMER, spawnHandler); removeEventListener(BEE_SPEED_INCREASED, increasedBeeSpeedHandler); removeEventListener(YELLOW_POW, yellowPowHandler); removeEventListener(WHITE_OUT, whiteOutHandler); removeEventListener(SPAWN_REDUCED, spawnReduced); removeEventListener(SPAWN_PAUSED, spawnPaused); removeEventListener(MINI_PAUSE, miniPause); } } }//package
Section 25
//GameManager (GameManager) package { import flash.geom.*; import flash.utils.*; public class GameManager { public static var _highScores:Array; public static var ScorePopUpControl:ScorePopUpManager; public static var _gameTitle:String = "Pollenization"; public static var gameID:int = 356; public static var _nonobaHighScoresEnabled:Boolean = true; public static var _nonobaDebuggerEnabled:Boolean = false; public static var _highScoresLoaded:Boolean = false; public static var playerScore:uint = 0; public static var centerLoc:Point = new Point((screenWidth / 2), (screenHeight / 2)); public static var Debug:Boolean = false; public static var screenWidth:Number = 640; public static var _nonobaAchievementsEnabled:Boolean = true; public static var isMochi:Boolean = true; public static var screenHeight:Number = 480; public static var gameState:String = "Game"; public static var clockPulseInitTime:Number = getTimer(); public static var isNonoba:Boolean = false; public static var _userName:String; public static var _nonobaSendEnabled:Boolean = true; public static var health:Number = 100; public static var mochiID:String = "7b513c90da7ae89f"; public static var _highScoresEnabled:Boolean = true; public static var _detailLevel:String = ""; public function GameManager():void{ } public static function clockPulse():Number{ var _local1:Number; _local1 = elapsedTime(clockPulseInitTime); clockPulseInitTime = getTimer(); return (_local1); } public static function initScorePopUpManager(_arg1:ScorePopUpManager):void{ ScorePopUpControl = _arg1; } 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 incrementHealth(_arg1:Number):void{ health = (health + _arg1); if (health > 100){ health = 100; }; } public static function decrementHealth(_arg1:Number):void{ health = (health - _arg1); if (health < 0){ health = 0; }; } public static function scorePopUp(_arg1:String, _arg2:Point):void{ ScorePopUpControl.activate(_arg2, _arg1); } public static function resetGame():void{ playerScore = 0; health = 100; } public static function incrementScore(_arg1:int):void{ playerScore = (playerScore + _arg1); } public static function elapsedTime(_arg1:Number):Number{ var _local2:Number; _local2 = ((getTimer() - _arg1) / 1000); return (_local2); } } }//package
Section 26
//GameUIScreen (GameUIScreen) package { import flash.display.*; import flash.text.*; public class GameUIScreen extends MovieClip { public var level:TextField; public var score:TextField; public var _state:String; public function GameUIScreen():void{ x = 0; y = 0; deactivate(); } public function activate():void{ _state = "Active"; visible = true; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package
Section 27
//GrayBallSymbol (GrayBallSymbol) package { import flash.display.*; public dynamic class GrayBallSymbol extends MovieClip { } }//package
Section 28
//GreenFlower (GreenFlower) package { import flash.display.*; public dynamic class GreenFlower extends MovieClip { } }//package
Section 29
//GreenOrb (GreenOrb) package { import flash.display.*; public dynamic class GreenOrb extends MovieClip { } }//package
Section 30
//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 31
//HighScoreManager (HighScoreManager) package { import flash.events.*; import flash.display.*; import flash.net.*; public class HighScoreManager extends MovieClip { public function HighScoreManager():void{ } public function load_highscores(_arg1:int):void{ 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("high scores sent"); } private function highscores_handler(_arg1:Event):void{ var _local2:URLLoader; var _local3:int; var _local4:Array; _local2 = URLLoader(_arg1.target); _local4 = new Array(); trace("high scores handler"); _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"; } public function save_highscore(_arg1:int, _arg2:int, _arg3:String, _arg4:int, _arg5:int, _arg6:int, _arg7:String):void{ 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"); } 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"; } } }//package
Section 32
//HighScoreRecord (HighScoreRecord) package { 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
Section 33
//HighScoresScreen (HighScoresScreen) package { import flash.events.*; 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():void{ var _local1:int; _state = "Active"; visible = true; _local1 = 1; while (_local1 <= 10) { this[("score_" + _local1)].visible = false; _local1++; }; } public function check_rollovers():void{ 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():void{ _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
Section 34
//hive (hive) package { import flash.display.*; public dynamic class hive extends MovieClip { } }//package
Section 35
//InstructionsScreen (InstructionsScreen) package { import flash.events.*; 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():void{ _state = "Active"; visible = true; } public function check_rollovers():void{ 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():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package
Section 36
//LevelManager (LevelManager) package { import flash.events.*; import flash.utils.*; public class LevelManager { public var _currentLevel:int; public var _colorCount:int; public var _timer:Timer; public var _duration:Number; public var _timerInit:Number; public var _spawnOffset:Number;// = 0 public var _spawnDelay:Number; public function LevelManager():void{ _spawnOffset = 0; super(); } public function startTimer():void{ _timer = new Timer((_duration * 1000), 1); _timer.addEventListener(TimerEvent.TIMER_COMPLETE, levelComplete); _timer.start(); _timerInit = getTimer(); } public function levelComplete(_arg1:TimerEvent):void{ SoundManager.playSound("LevelChange"); nextLevel(); } public function initLevel():void{ trace(("current level : " + _currentLevel)); switch (_currentLevel){ case 1: _spawnOffset = 0; _duration = 30; _spawnDelay = 900; _colorCount = 5; break; case 2: _duration = 30; _spawnDelay = 850; break; case 3: _duration = 30; _spawnDelay = 800; break; case 4: _duration = 30; _spawnDelay = 750; break; case 5: _duration = 30; _spawnDelay = 700; break; case 6: _duration = 30; _spawnDelay = 650; break; case 7: _duration = 30; _spawnDelay = 600; break; case 8: _duration = 30; _spawnDelay = 550; break; case 9: _duration = 30; _spawnDelay = 500; break; case 10: _duration = 30; _spawnDelay = 450; break; case 11: _duration = 30; _spawnDelay = 425; break; case 12: _duration = 30; _spawnDelay = 400; break; case 13: _duration = 30; _spawnDelay = 375; break; case 14: _duration = 30; _spawnDelay = 350; break; case 15: _duration = 30; _spawnDelay = 300; break; case 16: _duration = 30; _spawnDelay = 250; break; case 17: _duration = 30; _spawnDelay = 200; break; case 18: _duration = 30; _spawnDelay = 175; break; case 19: _duration = 30; _spawnDelay = 150; break; case 20: _duration = 30; _spawnDelay = 125; break; case 21: _duration = 30; _spawnDelay = 100; break; case 22: _duration = 30; _spawnDelay = 75; break; case 23: _duration = 30; _spawnDelay = 50; break; }; } public function nextLevel():void{ _currentLevel++; initLevel(); startTimer(); } public function timerValue():Number{ var _local1:Number; _local1 = GameManager.elapsedTime(_timerInit); return (_local1); } } }//package
Section 37
//LoadBarSymbol (LoadBarSymbol) package { import flash.display.*; public dynamic class LoadBarSymbol extends MovieClip { public var load_bar:MovieClip; } }//package
Section 38
//MainMenuScreen (MainMenuScreen) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public class MainMenuScreen extends MovieClip { public var _smallzScale:Number; public var PlayGame:MovieClip; public var HighScores:MovieClip; public var _state:String; public var Credits:MovieClip; public var nonoba_text:TextField; public var Instructions:MovieClip; public var game_title:TextField; public var LeaderBoards:MovieClip; public var Smallzworld:MovieClip; public function MainMenuScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; Smallzworld.useHandCursor = true; Smallzworld.buttonMode = true; game_title.text = GameManager._gameTitle; } public function activate():void{ _state = "Active"; visible = true; } public function check_rollovers():void{ 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 (LeaderBoards.hitTestPoint(mouseX, mouseY)){ LeaderBoards.scaleX = 1.25; LeaderBoards.scaleY = 1.25; } else { LeaderBoards.scaleX = 1; LeaderBoards.scaleY = 1; }; } public function menu_mouseUp(_arg1:MouseEvent){ var _local2:URLRequest; var _local3:URLRequest; if (PlayGame.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "Reset"; }; 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)) && (!(GameManager.isNonoba)))){ deactivate(); GameManager.gameState = "HighScores"; }; if (((LeaderBoards.hitTestPoint(_arg1.stageX, _arg1.stageY)) && (!(GameManager.isNonoba)))){ _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); }; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package
Section 39
//MochiAd (MochiAd) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.system.*; import flash.net.*; 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 40
//MuteButton (MuteButton) package { import flash.display.*; public dynamic class MuteButton extends MovieClip { } }//package
Section 41
//MyArial (MyArial) package { import flash.text.*; public dynamic class MyArial extends Font { } }//package
Section 42
//NonobaAPI (NonobaAPI) package { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public class NonobaAPI { public static const SUCCESS:String = "success"; public static const ERROR:String = "error"; public static const NOT_LOGGED_IN:String = "user not logged in"; private static var isInited:Boolean = false; private static var cachedRequests:Array = []; private static var api:Object; private static var loading:Boolean = false; private static var failed:Boolean = false; public function NonobaAPI(){ throw (new Error("You cannot create an instance of the NonobaAPI class!")); } public static function SubmitScore(_arg1:Stage, _arg2:String, _arg3:Number, _arg4:Function=null){ var stage = _arg1; var key = _arg2; var score = _arg3; var callback = _arg4; if (!isInited){ init(stage); }; if (failed){ if (callback != null){ callback(ERROR); }; return; }; if (((api.content) && (api.content.SubmitScore))){ api.content.SubmitScore(stage, key, score, callback); } else { cachedRequests.push(function (){ SubmitScore(stage, key, score, callback); }); }; } private static function handleLoadCompleate(_arg1:Event){ emptyQueue(); } private static function emptyQueue(){ var _local1:int; _local1 = 0; while (_local1 < cachedRequests.length) { var _local2 = cachedRequests; _local2[_local1](); _local1++; }; cachedRequests = []; } private static function init(_arg1:Stage){ var _local2:Object; var _local3:URLRequest; isInited = true; _local2 = LoaderInfo(_arg1.root.loaderInfo).parameters; if (!_local2.nonoba$apicodeas3){ enterErrorState(); return; }; Security.allowDomain("*"); Security.allowInsecureDomain("*"); api = new Loader(); _local3 = new URLRequest(_local2.nonoba$apicodeas3); api.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadCompleate); api.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, enterErrorState); api.load(_local3); } private static function enterErrorState(_arg1:Event=null){ failed = true; emptyQueue(); } public static function GetUserData(_arg1:Stage, _arg2:String, _arg3:Function=null){ var stage = _arg1; var key = _arg2; var callback = _arg3; if (!isInited){ init(stage); }; if (failed){ if (callback != null){ callback(ERROR); }; return; }; if (((api.content) && (api.content.GetUserData))){ api.content.GetUserData(stage, key, callback); } else { cachedRequests.push(function (){ GetUserData(stage, key, callback); }); }; } public static function AwardAchievement(_arg1:Stage, _arg2:String, _arg3:Function=null){ var stage = _arg1; var key = _arg2; var callback = _arg3; if (!isInited){ init(stage); }; if (failed){ if (callback != null){ callback(ERROR, 0); }; return; }; if (((api.content) && (api.content.AwardAchievement))){ api.content.AwardAchievement(stage, key, callback); } else { cachedRequests.push(function (){ AwardAchievement(stage, key, callback); }); }; } public static function GetUsername(_arg1:Stage, _arg2:Function=null){ var stage = _arg1; var callback = _arg2; if (!isInited){ init(stage); }; if (failed){ if (callback != null){ callback(ERROR, ""); }; return; }; if (((api.content) && (api.content.GetUsername))){ api.content.GetUsername(stage, callback); } else { cachedRequests.push(function (){ GetUsername(stage, callback); }); }; } public static function SetUserData(_arg1:Stage, _arg2:String, _arg3:String, _arg4:Function=null){ var stage = _arg1; var key = _arg2; var value = _arg3; var callback = _arg4; if (!isInited){ init(stage); }; if (failed){ if (callback != null){ callback(ERROR); }; return; }; if (((api.content) && (api.content.SetUserData))){ api.content.SetUserData(stage, key, value, callback); } else { cachedRequests.push(function (){ SetUserData(stage, key, value, callback); }); }; } } }//package
Section 43
//NonobaDebugBox (NonobaDebugBox) package { import flash.display.*; import flash.text.*; public dynamic class NonobaDebugBox extends MovieClip { public var log:TextField; } }//package
Section 44
//NonobaManager (NonobaManager) package { import flash.display.*; import flash.utils.*; public class NonobaManager extends MovieClip { public var _achievements:Array; public var _userName:String;// = "Default" public var AchievementBoxControl:AchievementBoxManager; public var _state:String; public var _debugToggleDelay:Number;// = 0.25 public var _debugBox:NonobaDebugBox; public var _debugToggleInitTime:Number; public function NonobaManager():void{ _userName = "Default"; _achievements = new Array(); _debugToggleDelay = 0.25; super(); AchievementBoxControl = new AchievementBoxManager(); addChild(AchievementBoxControl); AchievementBoxControl.init(15); if (GameManager._nonobaDebuggerEnabled){ _debugBox = new NonobaDebugBox(); addChild(_debugBox); _debugToggleInitTime = getTimer(); }; } public function toggleDebugBox():void{ if (((GameManager.isNonoba) && (GameManager._nonobaDebuggerEnabled))){ if (GameManager.elapsedTime(_debugToggleInitTime) > _debugToggleDelay){ trace("toggle it"); if (_debugBox.visible){ _debugBox.visible = false; } else { trace("hide"); _debugBox.visible = true; }; _debugToggleInitTime = getTimer(); }; }; } public function resetAchievements():void{ var _local1:int; var _local2:int; _local2 = _achievements.length; _local1 = 0; while (_local1 < _local2) { _achievements[_local1]._isAchieved = false; _local1++; }; } public function markAchievement(_arg1:String):void{ var _local2:int; var _local3:int; _local3 = _achievements.length; _local2 = 0; while (_local2 < _local3) { if (_achievements[_local2]._achievementKey == _arg1){ setAchievement(_arg1); _achievements[_local2]._isAchieved = true; spawnAchievementBox((("Congrats, you achieved " + _achievements[_local2]._achievementName) + "!"), 3); break; }; _local2++; }; } public function getUsername():void{ _userName = "Error Clown Sent"; NonobaAPI.GetUsername(stage, function (_arg1:String, _arg2:String){ switch (_arg1){ case NonobaAPI.SUCCESS: _userName = _arg2; break; case NonobaAPI.NOT_LOGGED_IN: _arg2 = "Clown"; break; case NonobaAPI.ERROR: _arg2 = "Error Clown"; break; }; _userName = _arg2; GameManager._userName = _userName; }); } public function updateDebugBox():void{ if (((GameManager.isNonoba) && (GameManager._nonobaDebuggerEnabled))){ _debugBox.log.text = achievementsLogString(); }; } public function spawnAchievementBox(_arg1:String, _arg2:Number):void{ AchievementBoxControl.spawn(_arg1, _arg2); } public function setAchievement(_arg1:String):void{ var achievementKey = _arg1; if (GameManager._nonobaSendEnabled){ NonobaAPI.AwardAchievement(this.stage, achievementKey, function (_arg1:String, _arg2:Number){ switch (_arg1){ case NonobaAPI.SUCCESS: trace("The achievement was successfully awarded."); trace((("It has been awarded " + _arg2) + " times.")); break; case NonobaAPI.NOT_LOGGED_IN: trace("The user is not logged in."); break; case NonobaAPI.ERROR: trace("An error occurred."); break; }; }); }; } public function isAchieved(_arg1:String):Boolean{ var _local2:int; var _local3:int; var _local4:Boolean; _local3 = _achievements.length; _local2 = 0; while (_local2 < _local3) { if (_achievements[_local2]._achievementKey == _arg1){ _local4 = _achievements[_local2]._isAchieved; break; }; _local2++; }; return (_local4); } public function saveHighscore(_arg1:String, _arg2:Number):void{ var keyName = _arg1; var playerScore = _arg2; if (GameManager._nonobaSendEnabled){ NonobaAPI.SubmitScore(this.stage, keyName, playerScore, function (_arg1:String){ switch (_arg1){ case NonobaAPI.SUCCESS: break; case NonobaAPI.NOT_LOGGED_IN: break; case NonobaAPI.ERROR: break; }; }); }; } public function achievementsLogString():String{ var _local1:String; var _local2:int; var _local3:int; _local1 = ""; _local3 = _achievements.length; _local2 = 0; while (_local2 < _local3) { _local1 = ((((_local1 + _achievements[_local2]._achievementName) + " : ") + String(_achievements[_local2]._isAchieved)) + "\n"); _local2++; }; return (_local1); } public function addAchievement(_arg1:String, _arg2:String, _arg3:int):void{ _achievements[_achievements.length] = new AchievementRecord(_arg1, _arg2, _arg3); } } }//package
Section 45
//PauseScreen (PauseScreen) package { import flash.events.*; 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():void{ _state = "Active"; visible = true; } public function menu_mouseUp(_arg1:MouseEvent):void{ if (Continue.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package
Section 46
//pollenization (pollenization) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.system.*; import flash.net.*; public dynamic class pollenization extends MovieClip { private var load_percent:Number; public var NonobaControl:NonobaManager; private var UI_HighScores:HighScoresScreen; private var UI_MainMenu:MainMenuScreen; public var PopUp_UI:PopUp; public var FPS_Display:smallzFPS; public var _loader:Loader; private var UI_Submit:SubmitScoreScreen; public var Mute:MuteButton; public var KeyboardControl:smallzKeyboardManager; private var TheBackground:Background; public var LevelControl:LevelManager; public var ScorePopUpControl:ScorePopUpManager; public var FlowerControl:FlowerManager; private var UI_Instructions:InstructionsScreen; public var HighScoreControl:HighScoreManager; public var PlayerBee:Bee; private var Soundtrack:SoundtrackMusic; private var UI_Credits:CreditsScreen; private var UI_Game:GameUIScreen; public var load_screen:MovieClip; public var _browser:MovieClip; public static var Debug:smallzDebug; public function pollenization(){ addFrameScript(0, frame1, 2, frame3, 3, frame4); Security.allowDomain("*"); Security.allowInsecureDomain("*"); Security.loadPolicyFile("http://games.smallzworld.com/crossdomain.xml"); } private function checkEndGameAchievements():void{ } public function mouseUp_handler(_arg1:MouseEvent){ if (Mute.hitTestPoint(mouseX, mouseY)){ if (!SoundManager._mute){ SoundManager._mute = true; SoundManager.stopSound("Soundtrack"); Mute.gotoAndStop(2); } else { SoundManager._mute = false; SoundManager.restartSound("Soundtrack", 999); Mute.gotoAndStop(1); }; } else { switch (GameManager.gameState){ case "Game": FlowerControl.checkClick(); break; case "LevelPrompt": PopUp_UI._duration = 0; break; case "MainMenu": UI_MainMenu.menu_mouseUp(_arg1); break; case "Instructions": UI_Instructions.menu_mouseUp(_arg1); break; case "Credits": UI_Credits.menu_mouseUp(_arg1); break; case "HighScores": UI_HighScores.menu_mouseUp(_arg1); break; case "GameOver": UI_Submit.menu_mouseUp(_arg1); break; }; }; } public function loadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = ((_arg1.bytesLoaded / _arg1.bytesTotal) * 100); load_screen.loader.load_bar.scaleX = (_local2 / 100); } function browserLoadedHandler(_arg1:Event):void{ _browser.addChild(_loader.content); _browser.x = 0; _browser.y = 400; } private function checkAchievements():void{ } public function initApplication(){ loadBrowser("http://games.smallzworld.com/media/flash/headers/browser.swf"); Soundtrack = new SoundtrackMusic(); SoundManager.addSound("Soundtrack", Soundtrack); TheBackground = new Background(); TheBackground.y = 0; TheBackground.cacheAsBitmap = true; addChild(TheBackground); LevelControl = new LevelManager(); NonobaControl = new NonobaManager(); PlayerBee = new Bee(); FlowerControl = new FlowerManager(); FlowerControl.init(75, LevelControl, PlayerBee); addChild(FlowerControl); FlowerControl.x = (GameManager.centerLoc.x - (FlowerControl.width / 2)); FlowerControl.y = (GameManager.centerLoc.y - (FlowerControl.width / 2)); FlowerControl.visible = false; 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_HighScores = new HighScoresScreen(); addChild(UI_HighScores); UI_Submit = new SubmitScoreScreen(); addChild(UI_Submit); PopUp_UI = new PopUp(); addChild(PopUp_UI); addChild(PlayerBee); ScorePopUpControl = new ScorePopUpManager(); addChild(ScorePopUpControl); ScorePopUpControl.init(25); GameManager.initScorePopUpManager(ScorePopUpControl); addChild(NonobaControl); Mute = new MuteButton(); addChild(Mute); Mute.gotoAndStop(1); Mute.x = 10; Mute.y = 10; FPS_Display = new smallzFPS(10, 75, 20); HighScoreControl = new HighScoreManager(); KeyboardControl = new smallzKeyboardManager(); addChild(KeyboardControl); KeyboardControl.init(); stage.addEventListener(Event.ENTER_FRAME, mainLoop); stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp_handler); stage.focus = this; if (GameManager.isNonoba){ NonobaControl.getUsername(); defineAchievements(); UI_MainMenu.LeaderBoards.visible = false; UI_MainMenu.HighScores.visible = false; }; SoundManager.loopSound("Soundtrack"); addChild(_browser); } public function isItLoaded(_arg1:Event):void{ if (loaderInfo.bytesLoaded == loaderInfo.bytesTotal){ this.removeEventListener(Event.ENTER_FRAME, isItLoaded); this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loadProgress); showAds(GameManager.mochiID, GameManager.isMochi); }; } private function checkEndLevelAchievements():void{ } function frame3(){ stop(); } function frame4(){ gotoAndStop(3); } function frame1(){ this.stop(); load_screen.alpha = 100; this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress); this.addEventListener(Event.ENTER_FRAME, isItLoaded); } private function defineAchievements():void{ } public function resumeGameAfterAd():void{ SoundManager.loopSound("Soundtrack"); } function loadBrowser(_arg1:String):void{ var _local2:URLRequest; _local2 = new URLRequest(((_arg1 + "?") + String(getTimer()))); _browser = new MovieClip(); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, browserLoadedHandler); _loader.load(_local2); } public function gameOverHandler(_arg1:Event):void{ GameManager.gameState = "GameOver"; FlowerControl.visible = false; FlowerControl.removeEventListener(FlowerControl.GAME_OVER, gameOverHandler); } private function processInput(){ if (KeyboardControl.isPressed(37)){ }; if (KeyboardControl.isPressed(38)){ }; if (KeyboardControl.isPressed(39)){ }; if (KeyboardControl.isPressed(40)){ }; if (KeyboardControl.isPressed(32)){ }; } public function adFinished():void{ load_screen.visible = false; GameManager.gameState = "MainMenu"; gotoAndPlay(2); initApplication(); } public function beeArrivalHandler(_arg1:Event):void{ FlowerControl.checkCollision(); } public function showAds(_arg1:String, _arg2:Boolean){ stop(); if (_arg2){ MochiAd.showPreGameAd({clip:root, id:_arg1, res:"640x480", background:0, color:204, outline:0xFFFFFF, no_bg:false, ad_finished:adFinished}); } else { adFinished(); }; } private function mainLoop(_arg1:Event){ var _local2:Number; var _local3:String; _local2 = GameManager.clockPulse(); processInput(); FPS_Display.update(); if (GameManager.isNonoba){ NonobaControl.AchievementBoxControl.update(_local2); }; if (GameManager.gameState != "Game"){ TheBackground.flower_1.rotation = (TheBackground.flower_1.rotation + 1); TheBackground.flower_2.rotation = (TheBackground.flower_2.rotation + 1); TheBackground.flower_3.rotation = (TheBackground.flower_3.rotation + 1); TheBackground.flower_4.rotation = (TheBackground.flower_4.rotation + 1); TheBackground.flower_5.rotation = (TheBackground.flower_5.rotation + 1); }; if (_browser){ if (GameManager.gameState != "MainMenu"){ if (_browser.visible){ _browser.visible = false; }; }; }; switch (GameManager.gameState){ case "Game": if (UI_Game._state == "Inactive"){ UI_Game.activate(); PlayerBee.activate(); FlowerControl.activate(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); FlowerControl.spawn(); PlayerBee.addEventListener(PlayerBee.ARRIVED_AT_FLOWER, beeArrivalHandler); FlowerControl.addEventListener(FlowerControl.GAME_OVER, gameOverHandler); }; if (((GameManager.isNonoba) && (GameManager._nonobaAchievementsEnabled))){ checkAchievements(); NonobaControl.updateDebugBox(); }; FlowerControl.update(_local2); PlayerBee.update(_local2); ScorePopUpControl.update(_local2); UI_Game.score.text = ("Score " + GameManager.playerScore); UI_Game.level.text = ("Level " + LevelControl._currentLevel); break; case "MainMenu": if (UI_MainMenu._state == "Inactive"){ UI_MainMenu.activate(); UI_Game.deactivate(); }; if (GameManager.isNonoba){ UI_MainMenu.nonoba_text.text = (("Welcome " + NonobaControl._userName) + "!\nGood luck in Global Defense 2, and don't forget to check out my profile for new games!"); } else { UI_MainMenu.nonoba_text.visible = false; }; UI_MainMenu.check_rollovers(); break; case "LevelSetup": ScorePopUpControl.deactivateAllPopups(); FlowerControl.deactivateAll(); FlowerControl.resetGrid(); FlowerControl.unhighlightAll(); PlayerBee._carryingPollen = false; PlayerBee._flying = false; PlayerBee.x = GameManager.centerLoc.x; PlayerBee.y = GameManager.centerLoc.y; LevelControl.nextLevel(); PlayerBee.update(_local2); GameManager.gameState = "Game"; 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"){ PlayerBee.deactivate(); UI_Submit.activate(); if (GameManager.isNonoba){ if (GameManager._nonobaAchievementsEnabled){ checkEndGameAchievements(); }; if (GameManager._nonobaHighScoresEnabled){ NonobaControl.saveHighscore("highscores", GameManager.playerScore); }; }; }; UI_Submit.check_rollovers(); break; case "SaveHighScore": if (GameManager._highScoresEnabled){ if (GameManager.isNonoba){ _local3 = ("Nonoba - " + GameManager._userName); } else { _local3 = GameManager._userName; }; HighScoreControl.save_highscore(GameManager.gameID, 0, _local3, LevelControl._currentLevel, GameManager.playerScore, 0, "No Comment"); if (GameManager.isMochi){ SoundManager.stopSound("Soundtrack"); MochiAd.showInterLevelAd({clip:root, id:GameManager.mochiID, res:"640x480", ad_finished:resumeGameAfterAd}); }; }; 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 "Reset": GameManager.resetGame(); NonobaControl.resetAchievements(); LevelControl._currentLevel = 0; GameManager.gameState = "LevelSetup"; break; }; } } }//package
Section 47
//PopUp (PopUp) package { import flash.geom.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class PopUp extends MovieClip { public var _duration:Number; public var _isComplete:Boolean; public var box_text:TextField; public var _scale:Number; public var _initTime:Number; public var _state:String; public var _defaultCaption:String;// = "You know how we do!" public var title_text:TextField; public var _defaultDuration:Number;// = 3 public var _scaleSpeed:Number;// = 250 public var _defalutLoc:Point; public var _defaultBody:String;// = "This is where you put popup text" public function PopUp():void{ _scaleSpeed = 250; _defaultDuration = 3; _defalutLoc = new Point(0, 0); _defaultCaption = "You know how we do!"; _defaultBody = "This is where you put popup text"; super(); deactivate(); } public function startTimer():void{ _initTime = getTimer(); } public function activate(_arg1, _arg2:String, _arg3:Point, _arg4:Number):void{ x = _arg3.x; y = _arg3.y; _state = "Active"; title_text.text = _arg1; box_text.text = _arg2; _duration = _arg4; transitionIn(); _isComplete = false; visible = true; } public function transitionIn():void{ _scale = 0.01; scaleX = _scale; scaleY = _scale; _state = "Grow"; } public function deactivate():void{ _state = "Inactive"; visible = false; _isComplete = true; } public function transitionOut():void{ _state = "Shrink"; } public function update(_arg1:Number):void{ switch (_state){ case "Active": if (isDone()){ transitionOut(); }; break; case "Grow": _scale = (_scale + ((_arg1 * _scaleSpeed) / 100)); if (_scale >= 1){ _scale = 1; startTimer(); _state = "Active"; }; scaleX = _scale; scaleY = _scale; break; case "Shrink": _scale = (_scale - ((_arg1 * _scaleSpeed) / 100)); if (_scale <= 0.1){ _scale = 1; deactivate(); }; scaleX = _scale; scaleY = _scale; break; case "Inactive": break; }; } public function isDone():Boolean{ var _local1:Boolean; _local1 = false; if (GameManager.elapsedTime(_initTime) >= _duration){ _local1 = true; }; return (_local1); } } }//package
Section 48
//RedFlower (RedFlower) package { import flash.display.*; public dynamic class RedFlower extends MovieClip { } }//package
Section 49
//RedOrb (RedOrb) package { import flash.display.*; public dynamic class RedOrb extends MovieClip { } }//package
Section 50
//ScorePopUp (ScorePopUp) package { import flash.display.*; import classes.smallz.*; import classes.game.*; public class ScorePopUp extends MovieClip { public var _speed;// = 35 public var _spawnState:Boolean;// = true public var _state:String; public var _scoreValue:String; public var PointText:MovieClip; public function ScorePopUp():void{ _speed = 35; _spawnState = true; super(); addFrameScript(33, frame34); deactivate(); } public function activate():void{ visible = true; _state = "Active"; _spawnState = false; } public function deactivate():void{ _state = "Inactive"; visible = false; } function frame34(){ this.stop(); } public function update(_arg1:Number):void{ switch (_state){ case "Active": y = (y - (_arg1 * _speed)); if (PointText){ if (PointText.PointText){ PointText.PointText.text = _scoreValue; }; }; if (currentFrame == totalFrames){ deactivate(); }; break; }; } } }//package
Section 51
//ScorePopUpManager (ScorePopUpManager) package { import flash.geom.*; import flash.display.*; public class ScorePopUpManager extends MovieClip { public var active:Array; public var popups:Array; public var _scale:Number;// = 0.5 public function ScorePopUpManager():void{ popups = new Array(); active = new Array(); _scale = 0.5; super(); } public function inactive_popup():int{ var _local1:int; var _local2:int; var _local3:int; _local2 = -1; _local3 = popups.length; _local1 = 0; while (_local1 < _local3) { if (popups[_local1]._spawnState){ _local2 = _local1; break; }; _local1++; }; return (_local2); } public function activate(_arg1:Point, _arg2:String):void{ var popupIndex:int; var screenLoc = _arg1; var scoreString = _arg2; popupIndex = inactive_popup(); active.push(popups[popupIndex]); var _local4 = popups[popupIndex]; with (_local4) { activate(); x = screenLoc.x; y = screenLoc.y; scaleX = _scale; scaleY = _scale; _scoreValue = scoreString; gotoAndPlay(1); }; } public function init(_arg1:int){ var _local2:int; _local2 = 0; while (_local2 < _arg1) { popups[_local2] = new ScorePopUp(); addChild(popups[_local2]); _local2++; }; } public function deactivateAllPopups():void{ var _local1:int; var _local2:int; _local2 = popups.length; _local1 = 0; while (_local1 < _local2) { popups[_local1].deactivate(); popups[_local1]._spawnState = true; _local1++; }; active = new Array(); } public function update(_arg1:Number):void{ var index:int; var popupCount:int; var elapsedTime = _arg1; popupCount = active.length; index = 0; while (index < popupCount) { var _local3 = active[index]; with (_local3) { if (_state == "Inactive"){ _spawnState = true; active.splice(index, 1); index--; popupCount--; } else { update(elapsedTime); }; }; index = (index + 1); }; } } }//package
Section 52
//smallzColor (smallzColor) package { import flash.display.*; import fl.motion.*; public class smallzColor { public function smallzColor():void{ } public static function Tint(_arg1:MovieClip, _arg2:int, _arg3:Number):void{ var _local4:*; _local4 = new Color(); _local4.setTint(_arg2, _arg3); _arg1.transform.colorTransform = _local4; } } }//package
Section 53
//smallzDebug (smallzDebug) package { 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 = 480; _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:int; 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
Section 54
//smallzFilter (smallzFilter) package { import flash.display.*; import flash.filters.*; public class smallzFilter { public function smallzFilter():void{ } public static function bevel(_arg1:MovieClip, _arg2:String, _arg3:Number, _arg4:String, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:int, _arg12:String, _arg13:Boolean):void{ var _local14:BevelFilter; var _local15:Array; _local14 = new BevelFilter(); _local15 = new Array(); _local15 = _arg1.filters; _local14.distance = _arg6; _local14.angle = _arg7; _local14.highlightColor = new Number(_arg2); _local14.highlightAlpha = _arg3; _local14.shadowColor = new Number(_arg4); _local14.shadowAlpha = _arg5; _local14.blurX = _arg8; _local14.blurY = _arg9; _local14.strength = _arg10; _local14.quality = _arg11; _local14.type = _arg12; _local14.knockout = _arg13; _local15.push(_local14); _arg1.filters = _local15; } public static function glow(_arg1:MovieClip, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:GlowFilter; var _local8:Array; _local7 = new GlowFilter(); _local8 = new Array(); _local8 = _arg1.filters; _local7.color = _arg2; _local7.alpha = _arg4; _local7.strength = _arg3; _local7.blurX = _arg5; _local7.blurY = _arg6; _local8.push(_local7); _arg1.filters = _local8; } public static function removeFilters(_arg1:MovieClip):void{ var _local2:Array; _local2 = new Array(); _arg1.filters = _local2; } } }//package
Section 55
//smallzFPS (smallzFPS) package { import flash.utils.*; import flash.text.*; 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 = 14; _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
Section 56
//smallzKeyboardManager (smallzKeyboardManager) package { import flash.events.*; import flash.display.*; public class smallzKeyboardManager extends Sprite { public var pressed:Array; public function smallzKeyboardManager(){ pressed = new Array(); super(); } public function init(){ stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); stage.addEventListener(KeyboardEvent.KEY_UP, keyReleased); } public function kill(){ stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyPressed); stage.removeEventListener(KeyboardEvent.KEY_UP, keyReleased); } public function isPressed(_arg1:int){ if (pressed.indexOf(_arg1) == -1){ return (false); }; return (true); } public function keyPressed(_arg1:KeyboardEvent){ var _local2:int; _local2 = pressed.indexOf(_arg1.keyCode); if (_local2 == -1){ pressed.push(_arg1.keyCode); }; } public function keyReleased(_arg1:KeyboardEvent){ var _local2:int; _local2 = pressed.indexOf(_arg1.keyCode); if (_local2 != -1){ pressed.splice(_local2, 1); }; } } }//package
Section 57
//smallzMath (smallzMath) package { import flash.geom.*; public class smallzMath { 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 pGetAngle(_arg1:Point, _arg2:Point):Number{ return (Math.atan2((_arg2.y - _arg1.y), (_arg2.x - _arg1.x))); } public static function pDistance(_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); } public static function getDistance(_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_angle_point(_arg1:Point, _arg2:Point):Number{ return (Math.atan2((_arg2.y - _arg1.y), (_arg2.x - _arg1.x))); } public static function getAngle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1))); } } }//package
Section 58
//SoundManager (SoundManager) package { import flash.media.*; public class SoundManager { public static var _sounds:Array = new Array(); public static var _mute:Boolean = false; public function SoundManager():void{ } public static function loopSound(_arg1:String):void{ var _local2:int; var _local3:int; _local3 = _sounds.length; if (!_mute){ _local2 = 0; while (_local2 < _local3) { if (_sounds[_local2]._identifier == _arg1){ _sounds[_local2]._channel = _sounds[_local2]._sound.play(0, 999, _sounds[_local2]._transform); break; }; _local2++; }; }; } public static function restartSound(_arg1:String, _arg2:int=0):void{ var _local3:int; var _local4:int; _local4 = _sounds.length; _local3 = 0; while (_local3 < _local4) { if (_sounds[_local3]._identifier == _arg1){ _sounds[_local3]._channel = _sounds[_local3]._sound.play(_sounds[_local3]._position, _arg2); break; }; _local3++; }; } public static function stopAllSounds():void{ var _local1:int; var _local2:int; _local2 = _sounds.length; _local1 = 0; while (_local1 < _local2) { _local1++; }; } public static function playSound(_arg1:String):void{ var _local2:int; var _local3:int; _local3 = _sounds.length; if (!_mute){ _local2 = 0; while (_local2 < _local3) { if (_sounds[_local2]._identifier == _arg1){ _sounds[_local2]._channel = _sounds[_local2]._sound.play(0, 0, _sounds[_local2]._transform); break; }; _local2++; }; }; } public static function stopSound(_arg1:String):void{ var _local2:int; var _local3:int; _local3 = _sounds.length; _local2 = 0; while (_local2 < _local3) { if (_sounds[_local2]._identifier == _arg1){ _sounds[_local2]._position = _sounds[_local2]._channel.position; _sounds[_local2]._channel.stop(); break; }; _local2++; }; } public static function addSound(_arg1:String, _arg2:Sound):void{ var _local3:SoundRecord; var _local4:SoundChannel; var _local5:SoundTransform; _local5 = new SoundTransform(); _local5.volume = 1; _local3 = new SoundRecord(_arg1, _arg2, _local4, _local5); _sounds.push(_local3); } } }//package
Section 59
//SoundRecord (SoundRecord) package { import flash.media.*; public class SoundRecord { public var _channel:SoundChannel; public var _position:Number; public var _transform:SoundTransform; public var _identifier:String; public var _sound:Sound; public function SoundRecord(_arg1:String, _arg2:Sound, _arg3:SoundChannel, _arg4:SoundTransform):void{ _identifier = _arg1; _sound = _arg2; _channel = _arg3; _transform = _arg4; _position = 0; } } }//package
Section 60
//SoundtrackMusic (SoundtrackMusic) package { import flash.media.*; public dynamic class SoundtrackMusic extends Sound { } }//package
Section 61
//SubmitScoreScreen (SubmitScoreScreen) package { import flash.events.*; import flash.display.*; public class SubmitScoreScreen extends MovieClip { public var _state:String; public var nonoba_box:MovieClip; public var smallz_box:MovieClip; public function SubmitScoreScreen():void{ x = 0; y = 0; _state = "Inactive"; visible = false; } public function activate():void{ _state = "Active"; visible = true; if (GameManager.isNonoba){ nonoba_box.visible = true; smallz_box.visible = false; nonoba_box.x = 190; nonoba_box.y = 180; nonoba_box.score.text = ("Final Score " + String(GameManager.playerScore)); } else { nonoba_box.visible = false; smallz_box.visible = true; smallz_box.x = 190; smallz_box.y = 180; smallz_box.score.text = ("Final Score " + String(GameManager.playerScore)); }; } public function check_rollovers():void{ if (GameManager.isNonoba){ if (nonoba_box.Continue.hitTestPoint(mouseX, mouseY)){ nonoba_box.Continue.scaleX = 1.25; nonoba_box.Continue.scaleY = 1.25; } else { nonoba_box.Continue.scaleX = 1; nonoba_box.Continue.scaleY = 1; }; } else { if (smallz_box.Submit.hitTestPoint(mouseX, mouseY)){ smallz_box.Submit.scaleX = 1.25; smallz_box.Submit.scaleY = 1.25; } else { smallz_box.Submit.scaleX = 1; smallz_box.Submit.scaleY = 1; }; if (smallz_box.Cancel.hitTestPoint(mouseX, mouseY)){ smallz_box.Cancel.scaleX = 1.25; smallz_box.Cancel.scaleY = 1.25; } else { smallz_box.Cancel.scaleX = 1; smallz_box.Cancel.scaleY = 1; }; }; } public function menu_mouseUp(_arg1:MouseEvent):void{ if (GameManager.isNonoba){ if (nonoba_box.Continue.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; } else { if (smallz_box.Cancel.hitTestPoint(_arg1.stageX, _arg1.stageY)){ deactivate(); GameManager.gameState = "MainMenu"; }; if (((smallz_box.Submit.hitTestPoint(_arg1.stageX, _arg1.stageY)) && (smallz_box.Submit.visible))){ deactivate(); GameManager._userName = smallz_box.user_name.text; GameManager.gameState = "SaveHighScore"; }; }; } public function deactivate():void{ _state = "Inactive"; visible = false; } public function update():void{ switch (_state){ case "Active": break; }; } } }//package
Section 62
//tinkle_sfx (tinkle_sfx) package { import flash.media.*; public dynamic class tinkle_sfx extends Sound { } }//package
Section 63
//WhiteFlower (WhiteFlower) package { import flash.display.*; public dynamic class WhiteFlower extends MovieClip { } }//package
Section 64
//YellowFlower (YellowFlower) package { import flash.display.*; public dynamic class YellowFlower extends MovieClip { } }//package

Library Items

Symbol 1 Font {MyArial}Used by:62 105 109
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip {GrayBallSymbol}Uses:2
Symbol 4 FontUsed by:5 6 7
Symbol 5 EditableTextUses:4Used by:8
Symbol 6 EditableTextUses:4Used by:8
Symbol 7 EditableTextUses:4Used by:8
Symbol 8 MovieClip {HighScoreListingSymbol}Uses:5 6 7Used by:47
Symbol 9 GraphicUsed by:12
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip {pollenization_fla.LoadBar_10}Uses:9 11Used by:13
Symbol 13 MovieClip {LoadBarSymbol}Uses:12Used by:29
Symbol 14 GraphicUsed by:29
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:21
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:18 19Used by:21
Symbol 21 MovieClip {pollenization_fla.earth2_3}Uses:16 20Used by:28
Symbol 22 FontUsed by:23
Symbol 23 TextUses:22Used by:24
Symbol 24 MovieClipUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:28
Symbol 26 FontUsed by:27
Symbol 27 TextUses:26Used by:28
Symbol 28 MovieClip {pollenization_fla.smallz_earth_2}Uses:21 25 27Used by:29 61
Symbol 29 MovieClip {pollenization_fla.PreloaderScreen_1}Uses:14 28 13Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip {hive}Uses:31Used by:141
Symbol 33 FontUsed by:34 35 36 38 40 41 43 44 46 48 50 52 54 56 58 66 67 70 71 72 73 75 78 83 84 86 102
Symbol 34 EditableTextUses:33Used by:141
Symbol 35 EditableTextUses:33Used by:37
Symbol 36 EditableTextUses:33Used by:37
Symbol 37 MovieClip {GameUIScreen}Uses:35 36Used by:141
Symbol 38 EditableTextUses:33Used by:39
Symbol 39 MovieClipUses:38Used by:42 45 47 63
Symbol 40 EditableTextUses:33Used by:42
Symbol 41 TextUses:33Used by:42
Symbol 42 MovieClip {CreditsScreen}Uses:39 40 41Used by:141
Symbol 43 EditableTextUses:33Used by:45
Symbol 44 TextUses:33Used by:45
Symbol 45 MovieClip {InstructionsScreen}Uses:43 39 44Used by:141
Symbol 46 TextUses:33Used by:47
Symbol 47 MovieClip {HighScoresScreen}Uses:8 39 46Used by:141
Symbol 48 EditableTextUses:33Used by:49
Symbol 49 MovieClipUses:48Used by:61
Symbol 50 EditableTextUses:33Used by:51
Symbol 51 MovieClipUses:50Used by:61
Symbol 52 EditableTextUses:33Used by:53
Symbol 53 MovieClipUses:52Used by:61
Symbol 54 EditableTextUses:33Used by:55
Symbol 55 MovieClipUses:54Used by:61
Symbol 56 EditableTextUses:33Used by:57
Symbol 57 MovieClipUses:56Used by:61
Symbol 58 EditableTextUses:33Used by:61
Symbol 59 FontUsed by:60 108
Symbol 60 EditableTextUses:59Used by:61
Symbol 61 MovieClip {MainMenuScreen}Uses:28 49 51 53 55 57 58 60Used by:141
Symbol 62 EditableTextUses:1Used by:63
Symbol 63 MovieClip {PauseScreen}Uses:62 39Used by:141
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:69 77
Symbol 66 EditableTextUses:33Used by:69
Symbol 67 EditableTextUses:33Used by:68
Symbol 68 MovieClip {pollenization_fla.submitcancelButton_30}Uses:67Used by:69
Symbol 69 MovieClip {pollenization_fla.NonobaSubmitBox_28}Uses:65 66 68Used by:79
Symbol 70 EditableTextUses:33Used by:77
Symbol 71 EditableTextUses:33Used by:77
Symbol 72 EditableTextUses:33Used by:77
Symbol 73 EditableTextUses:33Used by:74
Symbol 74 MovieClip {pollenization_fla.CancelButton_32}Uses:73Used by:77
Symbol 75 EditableTextUses:33Used by:76
Symbol 76 MovieClip {pollenization_fla.SubmitButton_33}Uses:75Used by:77
Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31}Uses:65 70 71 72 74 76Used by:79
Symbol 78 TextUses:33Used by:79
Symbol 79 MovieClip {SubmitScoreScreen}Uses:69 77 78Used by:141
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:85
Symbol 82 GraphicUsed by:85
Symbol 83 EditableTextUses:33Used by:85
Symbol 84 EditableTextUses:33Used by:85
Symbol 85 MovieClip {PopUp}Uses:81 82 83 84Used by:141
Symbol 86 EditableTextUses:33Used by:89
Symbol 87 Sound {SoundtrackMusic}Used by:89
Symbol 88 Sound {tinkle_sfx}Used by:89
Symbol 89 MovieClip {pollenization_fla.audio_clips_36}Uses:86 87 88Used by:141
Symbol 90 GraphicUsed by:101
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClip {RedFlower}Uses:91Used by:101 141
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClip {WhiteFlower}Uses:93Used by:101 141
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClip {GreenFlower}Uses:95Used by:101 141
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClip {YellowFlower}Uses:97Used by:101 141
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClip {BlueFlower}Uses:99Used by:101 141
Symbol 101 MovieClip {Background}Uses:90 92 94 96 98 100Used by:141
Symbol 102 EditableTextUses:33Used by:103
Symbol 103 MovieClip {pollenization_fla.PointText_44}Uses:102Used by:104
Symbol 104 MovieClip {ScorePopUp}Uses:103Used by:141
Symbol 105 EditableTextUses:1Used by:106
Symbol 106 MovieClip {NonobaDebugBox}Uses:105Used by:141
Symbol 107 GraphicUsed by:110
Symbol 108 EditableTextUses:59Used by:110
Symbol 109 EditableTextUses:1Used by:110
Symbol 110 MovieClip {AchievementBox}Uses:107 108 109Used by:141
Symbol 111 GraphicUsed by:116
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:116
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:116
Symbol 116 MovieClip {MuteButton}Uses:111 113 115Used by:141
Symbol 117 GraphicUsed by:120
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:120
Symbol 120 MovieClip {flower_petal}Uses:117 119Used by:141
Symbol 121 GraphicUsed by:134
Symbol 122 GraphicUsed by:130
Symbol 123 GraphicUsed by:130
Symbol 124 GraphicUsed by:130
Symbol 125 GraphicUsed by:130
Symbol 126 GraphicUsed by:130
Symbol 127 GraphicUsed by:130
Symbol 128 GraphicUsed by:130
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:122 123 124 125 126 127 128 129Used by:134
Symbol 131 GraphicUsed by:133
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:131 132Used by:134
Symbol 134 MovieClip {Bee}Uses:121 130 133Used by:141
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip {GreenOrb}Uses:135Used by:141
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClip {BlueOrb}Uses:137Used by:141
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClip {RedOrb}Uses:139Used by:141
Symbol 141 MovieClip {pollenization_fla.content_holder_12}Uses:32 34 37 42 45 47 61 63 79 85 89 101 104 106 110 116 120 100 96 92 94 98 134 136 138 140Used by:Timeline

Instance Names

"load_screen"Frame 1Symbol 29 MovieClip {pollenization_fla.PreloaderScreen_1}
"Rank"Symbol 8 MovieClip {HighScoreListingSymbol} Frame 1Symbol 5 EditableText
"Score"Symbol 8 MovieClip {HighScoreListingSymbol} Frame 1Symbol 6 EditableText
"User"Symbol 8 MovieClip {HighScoreListingSymbol} Frame 1Symbol 7 EditableText
"Fill"Symbol 12 MovieClip {pollenization_fla.LoadBar_10} Frame 1Symbol 11 MovieClip
"load_bar"Symbol 13 MovieClip {LoadBarSymbol} Frame 1Symbol 12 MovieClip {pollenization_fla.LoadBar_10}
"earth"Symbol 21 MovieClip {pollenization_fla.earth2_3} Frame 1Symbol 16 MovieClip
"earth"Symbol 28 MovieClip {pollenization_fla.smallz_earth_2} Frame 1Symbol 21 MovieClip {pollenization_fla.earth2_3}
"loader"Symbol 29 MovieClip {pollenization_fla.PreloaderScreen_1} Frame 1Symbol 13 MovieClip {LoadBarSymbol}
"level"Symbol 37 MovieClip {GameUIScreen} Frame 1Symbol 35 EditableText
"score"Symbol 37 MovieClip {GameUIScreen} Frame 1Symbol 36 EditableText
"Continue"Symbol 42 MovieClip {CreditsScreen} Frame 1Symbol 39 MovieClip
"Continue"Symbol 45 MovieClip {InstructionsScreen} Frame 1Symbol 39 MovieClip
"score_1"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_2"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_3"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_4"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_5"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_6"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_7"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_8"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_9"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"score_10"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 8 MovieClip {HighScoreListingSymbol}
"Continue"Symbol 47 MovieClip {HighScoresScreen} Frame 1Symbol 39 MovieClip
"Smallzworld"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 28 MovieClip {pollenization_fla.smallz_earth_2}
"PlayGame"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 49 MovieClip
"Instructions"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 51 MovieClip
"Credits"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 53 MovieClip
"HighScores"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 55 MovieClip
"LeaderBoards"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 57 MovieClip
"game_title"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 58 EditableText
"nonoba_text"Symbol 61 MovieClip {MainMenuScreen} Frame 1Symbol 60 EditableText
"Continue"Symbol 63 MovieClip {PauseScreen} Frame 1Symbol 39 MovieClip
"message_text"Symbol 68 MovieClip {pollenization_fla.submitcancelButton_30} Frame 1Symbol 67 EditableText
"score"Symbol 69 MovieClip {pollenization_fla.NonobaSubmitBox_28} Frame 1Symbol 66 EditableText
"Continue"Symbol 69 MovieClip {pollenization_fla.NonobaSubmitBox_28} Frame 1Symbol 68 MovieClip {pollenization_fla.submitcancelButton_30}
"message_text"Symbol 74 MovieClip {pollenization_fla.CancelButton_32} Frame 1Symbol 73 EditableText
"message_text"Symbol 76 MovieClip {pollenization_fla.SubmitButton_33} Frame 1Symbol 75 EditableText
"user_name"Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31} Frame 1Symbol 70 EditableText
"message_text"Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31} Frame 1Symbol 71 EditableText
"score"Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31} Frame 1Symbol 72 EditableText
"Cancel"Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31} Frame 1Symbol 74 MovieClip {pollenization_fla.CancelButton_32}
"Submit"Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31} Frame 1Symbol 76 MovieClip {pollenization_fla.SubmitButton_33}
"nonoba_box"Symbol 79 MovieClip {SubmitScoreScreen} Frame 1Symbol 69 MovieClip {pollenization_fla.NonobaSubmitBox_28}
"smallz_box"Symbol 79 MovieClip {SubmitScoreScreen} Frame 1Symbol 77 MovieClip {pollenization_fla.SmallzSubmitBox_31}
"title_text"Symbol 85 MovieClip {PopUp} Frame 1Symbol 83 EditableText
"box_text"Symbol 85 MovieClip {PopUp} Frame 1Symbol 84 EditableText
"flower_3"Symbol 101 MovieClip {Background} Frame 1Symbol 92 MovieClip {RedFlower}
"flower_4"Symbol 101 MovieClip {Background} Frame 1Symbol 94 MovieClip {WhiteFlower}
"flower_2"Symbol 101 MovieClip {Background} Frame 1Symbol 96 MovieClip {GreenFlower}
"flower_5"Symbol 101 MovieClip {Background} Frame 1Symbol 98 MovieClip {YellowFlower}
"flower_1"Symbol 101 MovieClip {Background} Frame 1Symbol 100 MovieClip {BlueFlower}
"PointText"Symbol 103 MovieClip {pollenization_fla.PointText_44} Frame 1Symbol 102 EditableText
"PointText"Symbol 104 MovieClip {ScorePopUp} Frame 1Symbol 103 MovieClip {pollenization_fla.PointText_44}
"log"Symbol 106 MovieClip {NonobaDebugBox} Frame 1Symbol 105 EditableText
"achievement_text"Symbol 110 MovieClip {AchievementBox} Frame 1Symbol 108 EditableText
"user_name"Symbol 110 MovieClip {AchievementBox} Frame 1Symbol 109 EditableText
"petal_color"Symbol 120 MovieClip {flower_petal} Frame 1Symbol 119 MovieClip

Special Tags

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




http://swfchan.com/14/68370/info.shtml
Created: 11/4 -2019 01:47:10 Last modified: 11/4 -2019 01:47:10 Server time: 22/12 -2024 09:33:24