Section 1
//BossEntity (Enemy.Bosses.BossEntity)
package Enemy.Bosses {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import flash.text.*;
import ToadLib.audio.*;
import Player.*;
public class BossEntity extends AnimatedSprite implements IBossObject {
private var _level:Level;// = null
private var _endTextField:TextField;// = null
private var _explosionDelay:Number;// = 150
private var _explosionCount:Number;// = 0
private var _textFormat:TextFormat;// = null
protected var scoreBonus:Number;// = 5000
public var _isActive:Boolean;// = false
private var _bossMusic:SoundObject;// = null
protected var _invincible:Boolean;// = true
protected var moneyBonus:Number;// = 1000
private var _explodeTemplate:AnimatedSprite;// = null
protected var _isDead:Boolean;// = false
protected var _plyrObject:PlayerObject;// = null
private var _explodeDuration:Number;// = 1000
protected var health:int;// = 20
private var _exploding:Boolean;// = false
protected var startHealth:int;
protected var _stage:Stage;// = null
public function BossEntity(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
startHealth = health;
super(_arg1, _arg2, _arg3);
_stage = _arg2.stage;
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 0xFFFFFF;
_textFormat.size = 32;
_textFormat.align = TextFormatAlign.CENTER;
Level.activeBossArray.push(this);
worldLimit.bottom = (worldLimit.bottom + 700);
worldLimit.top = (worldLimit.top - 700);
worldLimCallback = true;
limitMode = Scene.WORLD_LIM_MODE_NULL;
collisionReceive = false;
_level = (_arg2 as Level);
_bossMusic = SoundManager.getSound("sfx_bossambient0000");
_bossMusic.stop();
_explodeTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("alienexplosion"), _arg2, false);
_endTextField = createTextField("VICTORY!", 0, 0, 0xFFFFFF);
_endTextField.x = (300 - (_endTextField.width * 0.5));
_endTextField.y = (250 - (_endTextField.height * 0.5));
_endTextField.alpha = 0;
_endTextField.name = "EnemyScoreText";
_endTextField.appendText("\n");
_scene.addChild(_endTextField);
}
public function deactivateBoss():void{
onRemove();
_isActive = false;
}
public function doIntro():void{
_isActive = true;
if (_level){
_level.stopBGMusicLoop();
};
_bossMusic.play(true);
_bossMusic.fadeIn(1, 1);
_plyrObject = (GlobalVarContainer.vars.playerObject as PlayerObject);
}
public function isDead():Boolean{
return (_isDead);
}
private function createTextField(_arg1:String, _arg2:Number=0, _arg3:Number=0, _arg4:uint=8765151):TextField{
var _local5:TextField = new TextField();
_local5.embedFonts = true;
_local5.defaultTextFormat = _textFormat;
_local5.text = _arg1;
_local5.textColor = _arg4;
_local5.width = 250;
_local5.x = _arg2;
_local5.y = _arg3;
_local5.selectable = false;
_local5.mouseEnabled = false;
_local5.cacheAsBitmap = true;
_local5.autoSize = TextFieldAutoSize.CENTER;
_local5.antiAliasType = AntiAliasType.ADVANCED;
_local5.mouseEnabled = false;
_local5.selectable = false;
return (_local5);
}
public function doOutro():void{
_endTextField.appendText(("+$" + moneyBonus.toString()));
_endTextField.appendText((("\n+" + scoreBonus.toString()) + " POINTS"));
if (_endTextField){
_endTextField.alpha = 1;
};
}
override public function onRemove():void{
super.onRemove();
var _local1:int = Level.activeBossArray.indexOf(this);
if (_local1 != -1){
Level.activeBossArray.splice(_local1, 1);
};
_bossMusic.fadeOut(0, 1);
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (_exploding){
doExplosions(_arg1);
};
}
public function isActive():Boolean{
return (_isActive);
}
protected function getHealthRatio():Number{
var _local1:Number = (health / startHealth);
return (MathUtils.clamp(_local1, 0.5, 1));
}
protected function startExplosion(_arg1:Number):void{
_exploding = true;
_explodeDuration = _arg1;
}
protected function doExplosions(_arg1:Number):void{
if (!_explodeTemplate){
return;
};
_explosionCount = (_explosionCount + _arg1);
_explodeDuration = (_explodeDuration - _arg1);
if (_explodeDuration <= 0){
endExplosion();
};
if (_explosionCount < _explosionDelay){
return;
};
_explosionCount = (_explosionCount - _explosionDelay);
var _local2:Number = getPositionX();
var _local3:Number = (_local2 + this.getFrameWidth());
var _local4:Number = getPositionY();
var _local5:Number = (_local4 + this.getFrameHeight());
var _local6:Number = MathUtils.randRange(_local2, _local3);
var _local7:Number = MathUtils.randRange(_local4, _local5);
var _local8:AnimatedSprite = _explodeTemplate.clone();
_local8.x = (_local6 - (_local8.width * 0.5));
_local8.y = (_local7 - (_local8.height * 0.5));
_local8.setAnimation("enemy_explode_0");
_local8.deleteOnEnd = true;
_local8.layer = (layer - 1);
}
protected function endExplosion():void{
_exploding = false;
_explosionCount = 0;
_explodeDuration = 1000;
}
}
}//package Enemy.Bosses
Section 2
//GlowBomb (Enemy.Bosses.GlowBomb)
package Enemy.Bosses {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Enemy.*;
public class GlowBomb extends BombObject {
private var numBottomHits:uint;// = 0
public var maxBounces:uint;// = 5
public var restitution:Number;// = 0.8
public function GlowBomb(_arg1:XML, _arg2:Scene, _arg3:Boolean=true, _arg4:uint=5, _arg5:Number=0.8){
super(_arg1, _arg2, _arg3);
worldLimit.left = 0;
worldLimit.right = 600;
collisionSend = true;
collisionReceive = true;
this.restitution = _arg5;
this.maxBounces = _arg4;
releaseHits = HITS_TO_RELEASE;
health = 1;
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
if (((StringUtils.contains(_arg2, "left")) || (StringUtils.contains(_arg2, "right")))){
if (numBottomHits >= 1){
setLinearVelocityX(-(getLinearVelocityX()));
};
};
if (StringUtils.contains(_arg2, "bottom")){
numBottomHits++;
if (numBottomHits >= maxBounces){
super.onWorldLimit(_arg1, _arg2);
};
setLinearVelocityY((-(getLinearVelocityY()) * restitution));
if (numBottomHits == 1){
setLinearVelocityX(MathUtils.randRange(-300, 300));
};
};
}
override public function clone():AnimatedSprite{
var _local1:GlowBomb = new GlowBomb(_origXML, scene, true);
return (_local1);
}
}
}//package Enemy.Bosses
Section 3
//GunPlatform (Enemy.Bosses.GunPlatform)
package Enemy.Bosses {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class GunPlatform extends AnimatedSprite {
private const ENTITY_FIRING:uint = 1;
private const ENTITY_DEAD:uint = 2;
private const MAX_EXPLOSIONS:uint = 20;
private const ENTITY_IDLE:uint = 0;
private var _currState:uint;// = 0
private var _explodeTemplate:AnimatedSprite;// = null
private var _explosionDelay:Number;// = 150
private var _explosionCount:Number;// = 0
public var health:Number;// = 20000
private var _explodeDuration:Number;// = 1000
private var _exploding:Boolean;// = false
private var _hasExploded:Boolean;// = false
private var _numExplosions:uint;// = 0
public var startHealth:Number;
public function GunPlatform(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
startHealth = health;
super(_arg1, _arg2, _arg3);
_explodeTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("alienexplosion"), _arg2, false);
}
protected function endExplosion():void{
_exploding = false;
_explosionCount = 0;
_explodeDuration = 1000;
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if ((((((_currState == ENTITY_DEAD)) && (!(_exploding)))) && (!(_hasExploded)))){
startExplosion(8000);
};
if (_exploding){
doExplosions(_arg1);
};
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:PlayerProj;
super.onCollision(_arg1, _arg2);
if ((((_arg1 is PlayerProj)) && (!((_currState == ENTITY_DEAD))))){
_local3 = (_arg1 as PlayerProj);
if (!_local3){
return;
};
startShaking(2, 2, 1000);
health = (health - _local3.power);
};
if ((((health <= 0)) && (!((_currState == ENTITY_DEAD))))){
doDeath();
};
}
private function doExplosions(_arg1:Number):void{
if (!_explodeTemplate){
return;
};
_explosionCount = (_explosionCount + _arg1);
_explodeDuration = (_explodeDuration - _arg1);
if (_explodeDuration <= 0){
endExplosion();
};
if (_explosionCount < _explosionDelay){
return;
};
_explosionCount = (_explosionCount - _explosionDelay);
var _local2:Number = getWorldPosition().x;
var _local3:Number = (_local2 + getFrameWidth());
var _local4:Number = getWorldPosition().y;
var _local5:Number = (_local4 + getFrameHeight());
var _local6:Number = MathUtils.randRange(_local2, _local3);
var _local7:Number = MathUtils.randRange(_local4, _local5);
var _local8:AnimatedSprite = _explodeTemplate.clone();
_local8.x = (_local6 - (_local8.width * 0.5));
_local8.y = (_local7 - (_local8.height * 0.5));
_local8.setAnimation("enemy_explode_0");
_local8.deleteOnEnd = true;
_local8.layer = (layer - 1);
}
protected function startExplosion(_arg1:Number):void{
_exploding = true;
_explodeDuration = _arg1;
_hasExploded = true;
}
private function doDeath():void{
_currState = ENTITY_DEAD;
collisionReceive = false;
collisionSend = false;
collisionCallback = false;
}
public function getHealthRatio():Number{
var _local1:Number = (health / startHealth);
return (MathUtils.clamp(_local1, 0.3, 1));
}
}
}//package Enemy.Bosses
Section 4
//IBossObject (Enemy.Bosses.IBossObject)
package Enemy.Bosses {
public interface IBossObject {
function doOutro():void;
function deactivateBoss():void;
function isActive():Boolean;
function doIntro():void;
function isDead():Boolean;
}
}//package Enemy.Bosses
Section 5
//MothershipBoss (Enemy.Bosses.MothershipBoss)
package Enemy.Bosses {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.geom.*;
import Enemy.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
import gs.easing.*;
public class MothershipBoss extends BossEntity implements IBossObject {
private const BOSS_MODE_MOVING:uint = 1;
private const BOSS_MODE_IDLE:uint = 0;
private const BOSS_MODE_DEAD:uint = 5;
private const BOSS_MODE_MOVE_TURRETS:uint = 3;
private const BOSS_MODE_MOVE_BEAM:uint = 2;
private const BOSS_MODE_MOVE_BEAM_TURRETS:uint = 4;
private var _currState:uint;// = 1
private var _laserGroundLarge:AnimatedSprite;// = null
private var _lastFiringMode:int;// = 0
private var _largeBeam:BeamWeapon;// = null
private var _gunPlatform:GunPlatform;// = null
private var _laserSFX:SoundObject;// = null
private var _muzzleTemplate:AnimatedSprite;// = null
private var _lastWeaponState:uint;// = 3
public var firstMove:Boolean;// = true
private var _muzzleLarge:AnimatedSprite;// = null
public var moveTime:Number;// = 3
private var _pulseTemplate:EnemyProj;// = null
public var tweenTime:Number;// = 6
private var _lastMovePoint:uint;// = 0
private var _currTween:TweenLite;// = null
private var _turretPositionArray:Array;
public var numMoves:int;// = 0
private var _doNextMoveSchedule:Schedule;// = null
private var _fireTurretsSchedule:Schedule;// = null
private var _movePointArray:Array;
public function MothershipBoss(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
_movePointArray = [];
_turretPositionArray = [];
super(_arg1, _arg2, true);
this.layer = 15;
_gunPlatform = new GunPlatform(AssetImporter.getXMLAsset("mothershipboss"), _arg2, true);
_gunPlatform.setAnimation("gunplatform_0");
_gunPlatform.layer = 14;
_gunPlatform.x = 85;
_gunPlatform.y = 150;
addChildObject(_gunPlatform);
_currState = BOSS_MODE_MOVING;
var _local4:BeamSegment = new BeamSegment(AssetImporter.getXMLAsset("beamlarge"), _scene, false);
_largeBeam = new BeamWeapon(AssetImporter.getXMLAsset("beamlarge"), _arg2, 500, true, 1, 16, _local4, [5]);
_largeBeam.x = ((width * 0.5) - (_largeBeam.width * 0.5));
_largeBeam.y = height;
_largeBeam.visible = false;
_pulseTemplate = new EnemyProj(AssetImporter.getXMLAsset("enemyProjectile0"), _arg2, 1, false);
_muzzleTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("muzzle0"), _arg2, false);
_muzzleLarge = new AnimatedSprite(AssetImporter.getXMLAsset("lasermuzzlebig"), _arg2, true);
_muzzleLarge.x = (165 - (_muzzleLarge.width * 0.5));
_muzzleLarge.y = 5;
_muzzleLarge.visible = false;
_gunPlatform.addChildObject(_muzzleLarge);
_laserGroundLarge = new AnimatedSprite(AssetImporter.getXMLAsset("lasergroundbig"), _arg2, true);
_laserGroundLarge.visible = false;
_laserGroundLarge.layer = 3;
collisionReceive = true;
collisionCallback = true;
_gunPlatform.collisionReceive = true;
_gunPlatform.collisionCallback = true;
addChildObject(_largeBeam);
_lastFiringMode = MathUtils.randRange(0, 1);
moneyBonus = 10000;
scoreBonus = 15000;
health = 20000;
startHealth = health;
_laserSFX = new SoundObject("sfx_lazerloop0000PNG", 1, false, 528);
initMovePoints();
initTurretPositions();
}
override public function deactivateBoss():void{
super.deactivateBoss();
if (_currTween){
TweenLite.removeTween(_currTween);
_currTween = null;
};
_currState = BOSS_MODE_IDLE;
if (_doNextMoveSchedule){
Scheduler.removeSchedule(_doNextMoveSchedule);
_doNextMoveSchedule = null;
};
if (_fireTurretsSchedule){
Scheduler.removeSchedule(_fireTurretsSchedule);
_fireTurretsSchedule = null;
};
var _local1:int = Level.activeBossArray.indexOf(this);
if (_local1 != -1){
Level.activeBossArray.splice(_local1, 1);
};
}
public function onCompleteMoveToPlayer():void{
fireBeam();
_currState = BOSS_MODE_MOVING;
chasePlayerWithBeam();
}
private function getRandomTurret():Point{
if (((((((!(_gunPlatform)) || ((_gunPlatform.health <= 0)))) || (!(_turretPositionArray)))) || (!(_turretPositionArray.length)))){
return (null);
};
var _local1:uint = MathUtils.randRange(0, (_turretPositionArray.length - 1));
return (_turretPositionArray[_local1]);
}
private function fireBeam():void{
_largeBeam.visible = true;
_muzzleLarge.visible = true;
_laserSFX.play();
}
public function doNextMove():void{
if (((((_isDead) || (!(_stage)))) || (!(_plyrObject)))){
return;
};
var _local1:Point = getMovePosition();
if (!_local1){
return;
};
var _local2:Number = MathUtils.randRange(-30, 30);
_currTween = TweenManager.to(this, (tweenTime * _gunPlatform.getHealthRatio()), {x:(_local1.x - (width * 0.5)), y:(_local1.y + _local2), onComplete:onCompleteMoveTween});
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:PlayerProj;
super.onCollision(_arg1, _arg2);
if (_invincible){
return;
};
if ((_arg1 is PlayerProj)){
_local3 = (_arg1 as PlayerProj);
if (!_local3){
return;
};
health = (health - _local3.power);
startShaking(2, 2);
};
if ((((health <= 0)) && (!((_currState == BOSS_MODE_DEAD))))){
doDeath();
};
}
private function getMovePosition():Point{
var _local1:uint;
if (_movePointArray.length == 2){
if (_lastMovePoint == 0){
_local1 = 1;
} else {
if (_lastMovePoint == 1){
_local1 = 0;
};
};
} else {
if (_movePointArray.length == 1){
_local1 = 0;
} else {
_local1 = MathUtils.randRange(0, (_movePointArray.length - 1));
};
};
var _local2:Point = _movePointArray[_local1];
_lastMovePoint = _local1;
return (_local2);
}
public function chasePlayerWithBeam():void{
if (!_plyrObject){
return;
};
var _local1:Number = (_plyrObject.x + (_plyrObject.width * 0.5));
var _local2:Number = _plyrObject.y;
if (_local1 <= (x + (width * 0.5))){
_currTween = TweenManager.to(this, 7, {x:_movePointArray[0].x, y:_movePointArray[0].y, onComplete:onCompleteMoveTween});
} else {
if (_local1 > (x + (width * 0.5))){
_currTween = TweenManager.to(this, 7, {x:(_movePointArray[1].x - (width * 0.5)), y:_movePointArray[1].y, onComplete:onCompleteMoveTween});
};
};
}
private function doDeath():void{
stopShaking();
startShaking(4, 4, 10000);
_currState = BOSS_MODE_DEAD;
startExplosion(10000);
Scheduler.setSchedule(10000, deactivateBoss, this);
if (_currTween){
TweenLite.removeTween(_currTween);
};
if (_doNextMoveSchedule){
Scheduler.removeSchedule(_doNextMoveSchedule);
};
_largeBeam.visible = false;
doOutro();
collisionReceive = false;
collisionSend = false;
if (GlobalVarContainer.vars.playerObject){
GlobalVarContainer.vars.playerObject.addMoney(moneyBonus);
GlobalVarContainer.vars.playerObject.addScore(scoreBonus);
};
}
private function initTurretPositions():void{
_turretPositionArray.push(new Point(37, 12));
_turretPositionArray.push(new Point(164, 12));
_turretPositionArray.push(new Point(291, 12));
}
public function onIntroComplete():void{
_invincible = false;
var _local1:Point = getMovePosition();
_currTween = TweenManager.to(this, 4, {x:(_local1.x - (width * 0.5)), y:_local1.y, onComplete:onCompleteMoveTween});
}
override public function isDead():Boolean{
return (super.isDead());
}
override public function doIntro():void{
_currTween = TweenManager.to(this, 4, {x:50, y:10, onComplete:onIntroComplete});
}
private function initMovePoints():void{
_movePointArray.push(new Point(90, 10));
_movePointArray.push(new Point(510, 10));
_lastMovePoint = MathUtils.randRange(0, 1);
}
public function moveToPlayer():void{
if (!_plyrObject){
return;
};
var _local1:Number = (_plyrObject.x - (width * 0.5));
_currTween = TweenManager.to(this, 2, {x:_local1, y:10, onComplete:onCompleteMoveToPlayer});
}
override public function isActive():Boolean{
return (super.isActive());
}
public function updateFiringMode():void{
switch (_currState){
case BOSS_MODE_MOVE_BEAM:
fireBeam();
break;
case BOSS_MODE_MOVE_TURRETS:
if (((!(_gunPlatform)) || ((_gunPlatform.health <= 0)))){
break;
};
_gunPlatform.setAnimation("gunplatform_0");
Scheduler.setSchedule(_gunPlatform.getAnimationLength(), fireTurrets, this);
break;
};
}
public function onCompleteMoveTween():void{
_largeBeam.visible = false;
_muzzleLarge.visible = false;
if (_fireTurretsSchedule){
Scheduler.removeSchedule(_fireTurretsSchedule);
};
numMoves++;
switch (_currState){
case BOSS_MODE_MOVING:
_currState = MathUtils.randRange(BOSS_MODE_MOVE_BEAM, BOSS_MODE_MOVE_TURRETS);
_lastWeaponState = _currState;
if (((!(_gunPlatform)) || ((_gunPlatform.health <= 0)))){
_currState = BOSS_MODE_MOVE_BEAM;
_lastWeaponState = _currState;
};
Scheduler.setSchedule(1000, updateFiringMode, this);
_doNextMoveSchedule = Scheduler.setSchedule(1100, doNextMove, this);
break;
case BOSS_MODE_MOVE_TURRETS:
case BOSS_MODE_MOVE_BEAM:
if (numMoves >= 4){
moveToPlayer();
numMoves = 0;
} else {
_currState = MathUtils.randRange(BOSS_MODE_MOVE_BEAM, BOSS_MODE_MOVE_TURRETS);
if (((!(_gunPlatform)) || ((_gunPlatform.health <= 0)))){
_currState = BOSS_MODE_MOVE_BEAM;
_lastWeaponState = _currState;
};
Scheduler.setSchedule(1000, updateFiringMode, this);
_doNextMoveSchedule = Scheduler.setSchedule(1000, doNextMove, this);
};
break;
case BOSS_MODE_MOVE_BEAM_TURRETS:
break;
};
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (((_laserGroundLarge) && (_largeBeam))){
_laserGroundLarge.visible = _largeBeam.visible;
if (_laserGroundLarge.visible){
_laserGroundLarge.visible = true;
_laserGroundLarge.x = ((x + (width * 0.5)) - (_laserGroundLarge.width * 0.5));
_laserGroundLarge.y = (580 - (_laserGroundLarge.height * 0.5));
};
};
}
private function fireTurrets():void{
if (((!(_gunPlatform)) || ((_gunPlatform.health <= 0)))){
return;
};
var _local1:Point = getRandomTurret();
if (((((!(_local1)) || (!(_pulseTemplate)))) || (!(_muzzleTemplate)))){
return;
};
var _local2:EnemyProj = (_pulseTemplate.clone() as EnemyProj);
var _local3:AnimatedSprite = _muzzleTemplate.clone();
if (((!(_local2)) || (!(_local3)))){
return;
};
_local2.x = ((_gunPlatform.getWorldPosition().x + _local1.x) - (_local2.width * 0.5));
_local2.y = (_gunPlatform.getWorldPosition().y + _local1.y);
_local2.setCollisionGroups([5], true);
_local2.collisionSend = true;
_local2.collisionCallback = true;
_local3.x = (_local1.x - (_local3.width * 0.5));
_local3.y = _local1.y;
_local3.play(1, 0);
_local3.deleteOnEnd = true;
_gunPlatform.addChildObject(_local3);
_local2.setLinearVelocityY(200);
_fireTurretsSchedule = Scheduler.setSchedule((400 * _gunPlatform.getHealthRatio()), fireTurrets, this);
}
}
}//package Enemy.Bosses
Section 6
//SmasherBoss (Enemy.Bosses.SmasherBoss)
package Enemy.Bosses {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.geom.*;
import Enemy.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
import gs.easing.*;
public class SmasherBoss extends BossEntity implements IBossObject {
private const SMASHES_TO_BOMB:uint = 3;
private const BOSS_MODE_IDLE:uint = 0;
private const BOSS_MODE_DEAD:uint = 3;
private const BOSS_MODE_SMASHING:uint = 1;
private const BOSS_MODE_BOMBING:uint = 2;
private var _currState:uint;// = 1
private var _explosionSound:Array;
private var _bombTemplate:BombObject;// = null
private var _bombSchedule:Schedule;// = null
public var moveTime:Number;// = 3
private var _numSmashes:uint;// = 0
private var _currBombingEndPoint:Point;// = null
private var _currBomb:BombObject;// = null
public var tweenTime:Number;// = 2
private var _currTween:TweenLite;// = null
private var _deathTriggered:Boolean;// = false
private var _bombingStartPoints:Array;
private var _doNextMoveSchedule:Schedule;// = null
public function SmasherBoss(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
_bombingStartPoints = [];
_explosionSound = [];
super(_arg1, _arg2, true);
layer = 4;
moneyBonus = 2000;
_bombTemplate = new BombObject(AssetImporter.getXMLAsset("bombobject"), _arg2, false);
initBombingStartPoints();
collisionReceive = true;
collisionCallback = true;
_explosionSound.push(new SoundObject("sfx_enemyexplode_0000", 1, false, 300));
_explosionSound.push(new SoundObject("sfx_enemyexplode_0001", 1, false, 300));
health = 13000;
startHealth = health;
}
override public function deactivateBoss():void{
super.deactivateBoss();
if (_currTween){
TweenLite.removeTween(_currTween);
_currTween = null;
};
if (_doNextMoveSchedule){
Scheduler.removeSchedule(_doNextMoveSchedule);
_doNextMoveSchedule = null;
};
if (_currBomb){
_currBomb = null;
};
}
private function doNextMove():void{
if (((((_isDead) || (!(_stage)))) || (!(_plyrObject)))){
return;
};
var _local1:Number = MathUtils.randRange(0, (_stage.stageWidth - this.width));
var _local2:Number = MathUtils.randRange(50, (_stage.stageHeight - (this.height * 2)));
var _local3:Number = (_plyrObject.x + (_plyrObject.width * 0.5));
var _local4:Number = (_local3 - (this.width * 0.5));
_currTween = TweenManager.to(this, (tweenTime * getHealthRatio()), {x:_local4, y:_local2, ease:Back.easeOut, onComplete:onCompleteMoveTween});
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:PlayerProj;
if (_invincible){
return;
};
if ((_arg1 is PlayerProj)){
_local3 = (_arg1 as PlayerProj);
health = (health - _local3.power);
this.startShaking(2, 2);
};
}
override public function doIntro():void{
super.doIntro();
_currTween = TweenManager.to(this, 4, {x:200, y:100, onComplete:onIntroComplete});
}
private function onCompleteAttack():void{
}
private function doDeath():void{
startShaking(2, 2, 5000);
startExplosion(5000);
layer = 22;
if (_currBomb){
_currBomb.destroyMine();
};
if (_currTween){
TweenLite.removeTween(_currTween);
};
if (_bombSchedule){
Scheduler.removeSchedule(_bombSchedule);
};
doOutro();
TweenManager.to(this, 2, {x:200, y:200});
Scheduler.setSchedule(2000, setConstantForceY, this, 300);
Scheduler.setSchedule(5000, safeDelete, this);
_deathTriggered = true;
collisionReceive = false;
collisionSend = false;
if (GlobalVarContainer.vars.playerObject){
GlobalVarContainer.vars.playerObject.addMoney(moneyBonus);
GlobalVarContainer.vars.playerObject.addScore(scoreBonus);
};
}
public function onIntroComplete():void{
spawnBomb();
_invincible = false;
}
private function doSmashing():void{
if (!_plyrObject){
return;
};
var _local1:Number = _plyrObject.y;
var _local2:Number = ((_local1 + _plyrObject.height) - this.height);
setAnimation("smasher_thump_0");
_currTween = TweenManager.to(this, (1 * getHealthRatio()), {y:_local2, ease:Back.easeIn, onComplete:onThumpGround});
}
private function onThumpGround():void{
if (!_scene){
return;
};
_scene.startShaking(0, 8, 5000);
setAnimation("smasher_0");
if (((_currBomb) && (!(_currBomb._isBeingDeleted)))){
_currBomb.destroyMine();
startShaking(4, 4, 2000);
if (health >= (startHealth * 0.2)){
health = (health - (startHealth * 0.04));
};
};
_numSmashes++;
var _local1:Function = spawnBomb;
if (_numSmashes >= SMASHES_TO_BOMB){
_numSmashes = 0;
_local1 = startBombingRun;
};
_currTween = TweenManager.to(this, (2 * getHealthRatio()), {y:(this.y - 200), ease:Back.easeOut, onComplete:_local1});
}
public function spawnBomb():void{
var _local1:BombObject = (_bombTemplate.clone() as BombObject);
_local1.x = ((width * 0.5) - (_local1.width * 0.5));
_local1.y = 80;
_local1.layer = (layer + 1);
_local1.visible = true;
_local1.play(1, 2);
_local1.collisionSend = true;
_local1.collisionCallback = true;
_local1.collisionGroup = 5;
_local1.setCollisionGroups([5], true);
_currBomb = _local1;
_currBomb.canDetach = false;
addChildObject(_local1);
_currTween = TweenManager.to(_local1, 2, {y:144, onComplete:doNextMove});
}
private function dropBomb():void{
if (((!(_bombTemplate)) || (!(_isActive)))){
return;
};
var _local1:BombObject = (_bombTemplate.clone() as BombObject);
_local1.x = ((this.x + (width * 0.5)) - (_local1.width * 0.5));
_local1.y = (this.y + (height * 0.7));
_local1.constantForceY = 300;
_local1.testWorldLims = true;
_local1.worldLimCallback = true;
_local1.layer = (this.layer + 1);
_local1.collisionSend = true;
_local1.collisionReceive = true;
_local1.collisionCallback = true;
_local1.collisionGroup = 0;
_local1.setCollisionGroups([5], true);
_local1.visible = this.visible;
_bombSchedule = Scheduler.setSchedule((1300 * getHealthRatio()), dropBomb, this);
}
private function onCompleteMoveTween():void{
switch (_currState){
case BOSS_MODE_SMASHING:
doSmashing();
break;
case BOSS_MODE_BOMBING:
if (!_currBombingEndPoint){
return;
};
_currTween = TweenManager.to(this, 6, {x:_currBombingEndPoint.x, y:_currBombingEndPoint.y, onComplete:onCompleteBombingRun});
dropBomb();
break;
};
}
override public function isDead():Boolean{
return (super.isDead());
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (health <= 0){
_currState = BOSS_MODE_DEAD;
};
if ((((_currState == BOSS_MODE_DEAD)) && (!(_deathTriggered)))){
doDeath();
};
}
private function onCompleteBombingRun():void{
_currState = BOSS_MODE_SMASHING;
doNextMove();
Scheduler.removeSchedule(_bombSchedule);
}
override public function isActive():Boolean{
return (super.isActive());
}
private function startBombingRun():void{
if (!_isActive){
return;
};
_currState = BOSS_MODE_BOMBING;
var _local1:uint = MathUtils.randRange(0, (_bombingStartPoints.length - 1));
var _local2:uint = ((_local1)==0) ? 1 : 0;
var _local3:Point = _bombingStartPoints[_local1];
_currBombingEndPoint = _bombingStartPoints[_local2];
_currTween = TweenManager.to(this, 2, {x:_local3.x, y:_local3.y, ease:Back.easeOut, onComplete:onCompleteMoveTween});
}
private function initBombingStartPoints():void{
_bombingStartPoints.push(new Point(0, 50));
_bombingStartPoints.push(new Point(400, 50));
}
}
}//package Enemy.Bosses
Section 7
//WalkerBoss (Enemy.Bosses.WalkerBoss)
package Enemy.Bosses {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import Enemy.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
import flash.utils.*;
import gs.easing.*;
public class WalkerBoss extends BossEntity implements IBossObject {
private const BOSS_MODE_DEAD:uint = 3;
private const BOSS_MOVING:uint = 1;
private const BOSS_IDLE:uint = 0;
private const BOSS_FIRING:uint = 2;
private const BOSS_MODE_IDLE:uint = 0;
private const END_BEAM_POS:uint = 580;
private const BOSS_MODE_FIRING:uint = 1;
private const BOSS_MODE_BOMBING:uint = 2;
private var _currState:uint;// = 2
private var _largeBeam:BeamWeapon;// = null
private var _laserSFX:SoundObject;// = null
private var _endFireFrame:uint;// = 14
private var _bombObject:BombObject;// = null
private var _bombTemplate:GlowBomb;// = null
private var _textFormat:TextFormat;// = null
private var _camShakeAnchor:Point;// = null
private var _globalTweenGroup:TweenGroup;// = null
private var _bombSchedule:Schedule;// = null
public var moveTime:Number;// = 3
private var _currBombingEndPoint:Point;// = null
private var _muzzleAnm:AnimatedSprite;// = null
private var _bombingStartPoints:Array;
private var _doNextMoveSchedule:Schedule;// = null
private var _deathTriggered:Boolean;// = false
private var _beamArray:Array;
private var _beamBase:LargeBeam;// = null
private var _camShakeFirstRun:Boolean;// = true
private var _beamGround:AnimatedSprite;// = null
private var _shakeSchedule:Schedule;// = null
private var _bossIntroText:TextField;// = null
private var _currFiringPos:uint;// = 0
private var _walkerHead:BitmapSprite;// = null
public var tweenTime:Number;// = 2
private var _currTween:TweenLite;// = null
private var _currFrame:uint;// = 0
private var _firingFrame:uint;// = 8
public function WalkerBoss(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
var _local4:Number;
_beamArray = [];
_bombingStartPoints = [];
super(_arg1, _arg2, true);
stop();
_beamBase = new LargeBeam(AssetImporter.getXMLAsset("beamsmall"), _arg2, false);
_bombObject = new BombObject(AssetImporter.getXMLAsset("bombobject"), _arg2, false);
layer = 4;
initBombingStartPoints();
initBossIntroText();
health = 7000;
startHealth = health;
_muzzleAnm = new AnimatedSprite(AssetImporter.getXMLAsset("bossmuzzle"), _scene, true);
_muzzleAnm.visible = false;
_local4 = ((y + height) - 20);
_muzzleAnm.x = ((x + (width * 0.5)) - (_muzzleAnm.width * 0.5));
_muzzleAnm.y = ((_local4 + 10) - (_muzzleAnm.height * 0.3));
addChildObject(_muzzleAnm);
_bombTemplate = new GlowBomb(AssetImporter.getXMLAsset("glowbouncer"), _scene, false);
_beamGround = new AnimatedSprite(AssetImporter.getXMLAsset("beamground"), _scene, true);
_beamGround.visible = false;
var _local5:BeamSegment = new BeamSegment(AssetImporter.getXMLAsset("beamsmall"), _scene, false);
_largeBeam = new BeamWeapon(AssetImporter.getXMLAsset("beamsmall"), _arg2, 500, true, 1, 4, _local5, [5]);
_largeBeam.x = ((width * 0.5) - (_largeBeam.width * 0.5));
_largeBeam.y = height;
_largeBeam.visible = false;
addChildObject(_largeBeam);
collisionReceive = true;
collisionCallback = true;
var _local6 = ("AssetImporter_" + "bosswalker0008PNG");
var _local7:Class = Class(getDefinitionByName(_local6));
var _local8:Bitmap = Bitmap(new (_local7));
_walkerHead = new BitmapSprite(_arg2, _local8, true);
_walkerHead.x = 70;
_walkerHead.y = 70;
_walkerHead.layer = 20;
x = 70;
y = 70;
visible = false;
_laserSFX = new SoundObject("sfx_lazerloop0000PNG", 1, false, 528);
}
override public function deactivateBoss():void{
super.deactivateBoss();
if (_currTween){
TweenLite.removeTween(_currTween);
_currTween = null;
};
_currState = BOSS_MODE_IDLE;
if (_doNextMoveSchedule){
Scheduler.removeSchedule(_doNextMoveSchedule);
_doNextMoveSchedule = null;
};
}
override public function onFrameChanged():void{
super.onFrameChanged();
}
private function doNextMove():void{
if (((_isDead) || (!(_isActive)))){
return;
};
var _local1:Number = MathUtils.randRange(0, (_stage.stageWidth - this.width));
var _local2:Number = MathUtils.randRange(50, (_stage.stageHeight - (this.height * 2)));
setBeamVisible(false);
var _local3:Number = (_plyrObject.x + (_plyrObject.width * 0.5));
var _local4:Number = (_local3 - (this.width * 0.5));
_currTween = TweenManager.to(this, tweenTime, {x:_local4, y:_local2, ease:Back.easeOut, onComplete:onCompleteMoveTween});
}
private function setBeamVisible(_arg1:Boolean):void{
if (!_isActive){
return;
};
_largeBeam.visible = _arg1;
_muzzleAnm.visible = _arg1;
_muzzleAnm.stop();
_beamGround.visible = false;
_beamGround.stop();
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:PlayerProj;
super.onCollision(_arg1, _arg2);
if (_invincible){
return;
};
if ((_arg1 is PlayerProj)){
_local3 = (_arg1 as PlayerProj);
if (!_local3){
return;
};
health = (health - _local3.power);
startShaking(2, 2);
if (health <= 0){
_currState = BOSS_MODE_DEAD;
};
};
}
public function onIntroComplete():void{
_invincible = false;
if (_currState == BOSS_MODE_BOMBING){
startBombingRun();
} else {
_doNextMoveSchedule = Scheduler.setSchedule(1000, doNextMove, this);
};
this.renderMethod = SceneObject.VECTOR_RENDERER;
}
private function dropBomb():void{
if (((!(_bombTemplate)) || (!(_isActive)))){
return;
};
var _local1:GlowBomb = (_bombTemplate.clone() as GlowBomb);
_local1.setAnimation("glow_bouncer_0");
_local1.x = ((this.x + (width * 0.5)) - (_local1.width * 0.5));
_local1.y = (this.y + (height * 0.7));
_local1.constantForceY = 1000;
_local1.testWorldLims = true;
_local1.worldLimCallback = true;
_local1.layer = (this.layer + 1);
_local1.collisionSend = true;
_local1.collisionCallback = true;
_local1.collisionGroup = 0;
_local1.setCollisionGroups([5], true);
_local1.maxBounces = 3;
_local1.visible = this.visible;
_bombSchedule = Scheduler.setSchedule((2500 * getHealthRatio()), dropBomb, this);
}
private function startBombingRun():void{
if (!_isActive){
return;
};
_currState = BOSS_MODE_BOMBING;
var _local1:uint = MathUtils.randRange(0, (_bombingStartPoints.length - 1));
var _local2:uint = ((_local1)==0) ? 1 : 0;
var _local3:Point = _bombingStartPoints[_local1];
_currBombingEndPoint = _bombingStartPoints[_local2];
_currTween = TweenManager.to(this, 2, {x:_local3.x, y:_local3.y, ease:Back.easeOut, onComplete:onCompleteMoveTween});
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
super.onWorldLimit(_arg1, _arg2);
if (StringUtils.contains(_arg2, "bottom")){
safeDelete();
_currState = BOSS_MODE_IDLE;
};
}
private function initBossIntroText():void{
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 0xFFFFFF;
_textFormat.size = 40;
_textFormat.align = "center";
_bossIntroText = new TextField();
_bossIntroText.embedFonts = true;
_bossIntroText.autoSize = TextFieldAutoSize.CENTER;
_bossIntroText.antiAliasType = AntiAliasType.NORMAL;
_bossIntroText.defaultTextFormat = _textFormat;
_bossIntroText.text = "WARNING!";
_bossIntroText.width = 250;
_bossIntroText.x = (300 - (_bossIntroText.width * 0.5));
_bossIntroText.y = -150;
}
private function spawnImpact(_arg1:SceneObject):void{
if (((!(_XMLDef)) || (!(_scene)))){
return;
};
var _local2:AnimatedSprite = new AnimatedSprite(_XMLDef, _scene);
_local2.setAnimation("boss_impact_0");
_local2.setLinearVelocityX(0);
_local2.setLinearVelocityY(0);
_local2._nextPos.x = (_arg1.x - (_arg1.width * 0.5));
_local2._nextPos.y = (_arg1.y - (_arg1.height * 0.5));
_local2.layer = (this.layer - 1);
_local2.collisionSend = false;
_local2.testWorldLims = false;
_local2.deleteOnEnd = true;
var _local3:Number = Math.random();
_local3 = (_local3 * 100);
}
override public function doIntro():void{
super.doIntro();
_currTween = TweenManager.to(this, 5, {y:50, onComplete:onIntroComplete});
_isActive = true;
_walkerHead.visible = false;
visible = true;
x = 70;
y = 70;
}
private function doDeath():void{
if (_deathTriggered){
return;
};
startShaking(2, 2, 2000);
startExplosion(10000);
setBeamVisible(false);
layer = 22;
if (_currTween){
TweenLite.removeTween(_currTween);
};
if (_bombSchedule){
Scheduler.removeSchedule(_bombSchedule);
};
Scheduler.setSchedule(2000, endShaking, this);
doOutro();
_deathTriggered = true;
collisionReceive = false;
collisionSend = false;
if (GlobalVarContainer.vars.playerObject){
GlobalVarContainer.vars.playerObject.addMoney(moneyBonus);
GlobalVarContainer.vars.playerObject.addScore(scoreBonus);
};
}
override public function isDead():Boolean{
return (_isDead);
}
private function onCompleteMoveTween():void{
if (!_isActive){
return;
};
var _local1:uint = frame;
if (_currState == BOSS_MODE_FIRING){
switch (_currFiringPos){
case 0:
_currTween = TweenManager.to(this, 1, {_rotation:90, onComplete:doFiring});
frame = _local1;
break;
case 1:
frame = _local1;
_currTween = TweenManager.to(this, 1, {_rotation:180, onComplete:doFiring});
break;
case 2:
frame = _local1;
_currTween = TweenManager.to(this, 1, {_rotation:270, onComplete:doFiring});
break;
case 3:
frame = _local1;
_currTween = TweenManager.to(this, 1, {_rotation:0, onComplete:doFiring});
break;
case 4:
_currFiringPos = 0;
startBombingRun();
break;
};
} else {
if (_currState == BOSS_MODE_BOMBING){
if (!_currBombingEndPoint){
return;
};
_currTween = TweenManager.to(this, 6, {x:_currBombingEndPoint.x, y:_currBombingEndPoint.y, onComplete:onCompleteBombingRun});
dropBomb();
} else {
if (_currState == BOSS_MODE_DEAD){
doDeath();
};
};
};
}
private function onCompleteBombingRun():void{
_currState = BOSS_MODE_FIRING;
doNextMove();
Scheduler.removeSchedule(_bombSchedule);
}
override public function isActive():Boolean{
return (_isActive);
}
private function moveAfterFiring():void{
setAnimation("rotatetofiring0", 8, false, -1);
_doNextMoveSchedule = Scheduler.setSchedule(getAnimationLength(), doNextMove, this);
}
override public function update(_arg1:Number):void{
var _local2:Number;
super.update(_arg1);
if ((((_currState == BOSS_MODE_FIRING)) && (_beamGround))){
_local2 = ((x + (width * 0.5)) - (_beamGround.width * 0.5));
_beamGround.y = (595 - (_beamGround.height * 0.6));
_beamGround.x = _local2;
};
if ((((_currState == BOSS_MODE_DEAD)) && (!(_deathTriggered)))){
doDeath();
};
}
private function doFiring():void{
if (!_isActive){
return;
};
var _local1:Number = _beamBase.height;
var _local2:Number = _beamBase.width;
var _local3:Number = ((y + height) - 20);
var _local4:Number = ((x + (width * 0.5)) - (_local2 * 0.5));
var _local5:Number = ((x + (width * 0.5)) - (_beamGround.width * 0.5));
_muzzleAnm.visible = true;
_muzzleAnm.layer = (this.layer - 1);
_muzzleAnm.setAnimation("boss_muzzle_0");
_largeBeam.visible = true;
_laserSFX.play();
var _local6:Number = (_plyrObject.x + (_plyrObject.width * 0.5));
if (_local6 <= _local4){
TweenLite.to(this, 4, {x:0, onComplete:doNextMove});
} else {
TweenLite.to(this, 4, {x:(600 - width), onComplete:doNextMove});
};
_beamGround.visible = true;
_beamGround.layer = 5;
_beamGround.play();
_currFiringPos++;
}
private function constructBeamSegments():void{
var _local4:LargeBeam;
if (!_beamBase){
return;
};
var _local1:uint = (_stage.height / _beamBase.height);
var _local2:Number = _stage.height;
var _local3:uint;
while (_local3 < _local1) {
_local4 = _beamBase.cloneBeam();
_beamArray.push(_local4);
_local4.visible = false;
_local4.layer = (this.layer + 3);
_local4._beamArray = _beamArray;
_local4.collisionGroup = 5;
_local4._shootTime = moveTime;
_local3++;
};
}
private function endShaking():void{
setConstantForceY(400);
}
private function initBombingStartPoints():void{
_bombingStartPoints.push(new Point(0, 50));
_bombingStartPoints.push(new Point(400, 50));
}
}
}//package Enemy.Bosses
Section 8
//AlienEscapePod (Enemy.AlienEscapePod)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.text.*;
import gs.*;
import Player.*;
import gs.easing.*;
public class AlienEscapePod extends AnimatedSprite {
private var _escapeCashSub:Number;// = 50
private var _destroyCash:TextField;// = null
private var _escapeTextLine2:TextField;// = null
private var _plyrObject:PlayerObject;// = null
private var _textFormat:TextFormat;// = null
private var _escapeText:TextField;// = null
private var _textFormat2:TextFormat;// = null
private var _destroyCashAdd:Number;
public function AlienEscapePod(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
_destroyCashAdd = (80 * GlobalVarContainer.vars.cashDiffMult);
super(_arg1, _arg2, _arg3);
collisionReceive = true;
collisionCallback = true;
limitMode = Scene.WORLD_LIM_MODE_NULL;
testWorldLims = true;
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 0xFFFFFF;
_textFormat.size = 10;
_textFormat.align = TextFormatAlign.CENTER;
_plyrObject = GlobalVarContainer.vars.playerObject;
_destroyCash = new TextField();
_destroyCash.embedFonts = true;
_destroyCash.antiAliasType = AntiAliasType.ADVANCED;
_destroyCash.autoSize = TextFieldAutoSize.CENTER;
_destroyCash.defaultTextFormat = _textFormat;
_destroyCash.text = "NO PRISONERS! \n +$";
_destroyCash.x = x;
_destroyCash.y = (y - height);
_destroyCash.selectable = false;
_destroyCash.mouseEnabled = false;
_destroyCash.textColor = 0xFFFFFF;
_destroyCash.name = "EnemyScoreText";
worldLimit.left = 0;
worldLimit.right = 600;
worldLimit.bottom = 600;
worldLimit.top = 0;
}
override public function onRemove():void{
super.onRemove();
var _local1:int = Level.activeEntityArray.indexOf(this);
if (_local1 != -1){
Level.activeEntityArray.splice(_local1, 1);
};
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
super.onWorldLimit(_arg1, _arg2);
if (StringUtils.contains(_arg2, "bottom")){
doAlienEscape();
this.safeDelete();
} else {
if (((StringUtils.contains(_arg2, "left")) || (StringUtils.contains(_arg2, "right")))){
setLinearVelocityX(-(getLinearVelocityX()));
};
};
}
private function spawnDeathExplosion():void{
var _local1:AnimatedSprite = new AnimatedSprite(AssetImporter.getXMLAsset("alienexplosion"), _scene, true);
_local1.setAnimation("enemy_explode_0");
var _local2:Number = Math.abs(((this.width * 0.5) - (_local1.width * 0.5)));
var _local3:Number = Math.abs(((this.height * 0.5) - (_local1.height * 0.5)));
_local1.x = (this.x - _local2);
_local1.y = (this.y - _local3);
_local1.deleteOnEnd = true;
_local1.layer = (this.layer - 1);
_destroyCash.appendText(_destroyCashAdd.toString());
_destroyCash.x = ((x + (width * 0.5)) - (_destroyCash.width * 0.5));
_destroyCash.y = (y - height);
_destroyCash.name = "EnemyScoreText";
scene.addChild(_destroyCash);
TweenManager.to(_destroyCash, 1, {y:(_destroyCash.y - 30), autoAlpha:0, overwrite:0, ease:Back.easeIn});
if (_plyrObject){
_plyrObject.addMoney(_destroyCashAdd);
};
}
private function doAlienEscape():void{
if (_plyrObject){
_plyrObject.addMoney(-(_escapeCashSub));
};
doEscapeText();
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
if ((_arg1 is PlayerProj)){
spawnDeathExplosion();
safeDelete();
};
}
private function doEscapeText():void{
_escapeText = new TextField();
_escapeText.embedFonts = true;
_escapeText.antiAliasType = AntiAliasType.ADVANCED;
_escapeText.autoSize = TextFieldAutoSize.LEFT;
_escapeText.defaultTextFormat = _textFormat;
_escapeText.text = "Escaped!";
_escapeText.x = ((x + (width * 0.5)) - (_escapeText.width * 0.5));
_escapeText.y = (y - _escapeText.height);
_escapeText.selectable = false;
_escapeText.mouseEnabled = false;
_escapeText.textColor = 0xFF0000;
_escapeText.name = "EnemyScoreText";
scene.addChild(_escapeText);
_escapeTextLine2 = new TextField();
_escapeTextLine2.embedFonts = true;
_escapeTextLine2.antiAliasType = AntiAliasType.ADVANCED;
_escapeTextLine2.autoSize = TextFieldAutoSize.LEFT;
_escapeTextLine2.defaultTextFormat = _textFormat;
_escapeTextLine2.text = ("-$" + _escapeCashSub.toString());
_escapeTextLine2.x = ((_escapeText.x + (_escapeText.width * 0.5)) - (_escapeTextLine2.width * 0.5));
_escapeTextLine2.y = (_escapeText.y + _escapeText.height);
_escapeTextLine2.selectable = false;
_escapeTextLine2.mouseEnabled = false;
_escapeTextLine2.name = "EnemyScoreText";
scene.addChild(_escapeTextLine2);
TweenManager.to(_escapeText, 1, {y:(_escapeText.y - 30), autoAlpha:0, overwrite:0, ease:Back.easeIn});
TweenManager.to(_escapeTextLine2, 1, {y:(_escapeTextLine2.y - 30), autoAlpha:0, overwrite:0, ease:Back.easeIn});
}
}
}//package Enemy
Section 9
//ArrowFormation (Enemy.ArrowFormation)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class ArrowFormation extends EnemyFormation {
private var _lastLimHit:String;// = "none"
private var _startXVel:Number;// = 100
private var _speedMult:Number;// = 1
private var _yPopdown:Number;// = 100
private var _limitMode:int;// = 4
public function ArrowFormation(_arg1:Scene, _arg2:Object){
super(_arg1, _arg2);
var _local3:uint = _arg2.cols;
_startChild = 0;
generateArrowFormation(_local3, _arg2.cols, _arg2.startXPos, _arg2.startYPos, _arg2.xspacing, _arg2.yspacing, _arg2.limitMode, _arg2.layer, _arg2.enemyType);
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
updateOnWorldLimit(_arg2);
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if ((((((_startXVel == 0)) || ((this._groupArray.length == _startChild)))) || ((_groupArray.length == _groupCountLastFrame)))){
return;
};
updateSpeed();
}
public function updateOnWorldLimit(_arg1:String):void{
var _local3:Number;
if (((((StringUtils.contains(_arg1, "bottom")) || (StringUtils.contains(_arg1, "top")))) || ((_limitMode == Scene.WORLD_LIM_MODE_TRANSFER)))){
return;
};
var _local2:SceneObject;
if (StringUtils.contains(_arg1, "left")){
_local3 = (getWLPenetrationDepthLeft() + 1);
if (_local3 > 0){
doGroupApproach(5);
};
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(-(_local2.getLinearVelocityX()));
_local2.setPositionX((_local2.getPositionX() + _local3));
};
_lastLimHit = "left";
return;
} else {
if (StringUtils.contains(_arg1, "right")){
_local3 = (getWLPenetrationDepthRight() + 1);
if (_local3 > 0){
doGroupApproach(5);
};
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(-(_local2.getLinearVelocityX()));
_local2.setPositionX((_local2.getPositionX() - _local3));
};
_lastLimHit = "right";
return;
};
};
_lastLimHit = "none";
}
public function generateArrowFormation(_arg1:uint, _arg2:uint, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:uint, _arg9:int):void{
var _local14:uint;
var _local15:EnemyObject;
var _local10:uint = (_arg1 * _arg2);
var _local11:Number = _arg3;
var _local12:Number = _arg4;
_formationType = "GRID";
_limitMode = _arg7;
var _local13:uint;
while (_local13 < _arg1) {
_local14 = 0;
while (_local14 < _arg2) {
_local15 = EnemyFactory.createEnemyObject(_scene, _arg9, _local11, _local12, true, _limitMode, true, _arg8);
_local15.frame = MathUtils.randRange(0, (_local15.numFrames - 1));
_local15.objectGroup = this;
_local15.worldLimit.left = 0;
_local15.worldLimit.right = 600;
this.addSceneObject(_local15);
if (_local15.limitMode == Scene.WORLD_LIM_MODE_TRANSFER){
_local15.worldLimit.left = (_local15.worldLimit.left - _local15.width);
_local15.worldLimit.right = (_local15.worldLimit.right + _local15.width);
};
_local11 = (_local11 + (_local15.renderable.getWidth() + _arg5));
_local15.setLinearVelocityX(_startXVel);
_local15.worldLimCallback = true;
_startChild++;
_local14++;
};
_arg2--;
_local11 = ((_arg3 + ((_local13 + 1) * (_local15.width * 0.5))) + (((_local13 + 1) * _arg5) * 0.5));
_local12 = (_local12 + (_local15.renderable.getHeight() + _arg6));
_local13++;
};
Scheduler.setSchedule(MathUtils.randRange(1000, 3000), doRandomPairedFiring, this);
}
}
}//package Enemy
Section 10
//BeamSegment (Enemy.BeamSegment)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class BeamSegment extends AnimatedSprite {
private var colFrameCount:uint;// = 0
public var power:Number;// = 2
public var powerMult:Number;// = 1
private var sendCol:Boolean;// = true
public var beamParent:BeamWeapon;// = null
public function BeamSegment(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
super(_arg1, _arg2, _arg3);
_layer = 4;
collisionSend = true;
collisionCallback = true;
collisionGroup = 5;
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local4:PlayerObject;
super.onCollision(_arg1, _arg2);
if (!_parent){
return;
};
if ((_arg2 is PlayerObject)){
_local4 = (_arg2 as PlayerObject);
_local4.doHit(power);
};
var _local3:BeamWeapon = (_parent as BeamWeapon);
_local3.setCollisionSend(false);
Scheduler.setSchedule(2000, _local3.setCollisionSend, _local3, true);
}
override public function clone():AnimatedSprite{
var _local1:BeamSegment = new BeamSegment(_XMLDef, _scene, true);
return (_local1);
}
}
}//package Enemy
Section 11
//BeamWeapon (Enemy.BeamWeapon)
package Enemy {
import ToadLib.Graphics.*;
public class BeamWeapon extends AnimatedSprite {
private var _direction:int;// = 1
public var registeredHits:int;// = 0
private var _segmentArray:Array;
private var _collisionGroups:Array;
private var _length:Number;// = 0
private var _numSegments:uint;// = 0
private var _segment:AnimatedSprite;// = null
public var maxCol:int;// = 1
public function BeamWeapon(_arg1:XML, _arg2:Scene, _arg3:Number, _arg4:Boolean=true, _arg5:int=1, _arg6:uint=4, _arg7:AnimatedSprite=null, _arg8:Array=null, _arg9:int=3){
_segmentArray = [];
_collisionGroups = [];
super(_arg1, _arg2, _arg4);
_scene = _arg2;
_length = _arg3;
_layer = _arg6;
collisionSend = true;
collisionCallback = true;
collisionGroup = 5;
if (_arg8){
setCollisionGroups(_arg8, true);
};
_collisionGroups = _arg8;
_direction = _arg5;
_segment = _arg7;
this.maxCol = _arg9;
initBeamSegments();
}
public function setCollisionSend(_arg1:Boolean):void{
var _local2:AnimatedSprite;
for each (_local2 in _children) {
_local2.collisionSend = _arg1;
};
}
public function setBeamCollisionGroup(_arg1:uint):void{
var _local2:AnimatedSprite;
this.collisionGroup = _arg1;
for each (_local2 in _children) {
_local2.collisionGroup = _arg1;
};
}
private function initBeamSegments():void{
var _local4:AnimatedSprite;
if (!_segment){
return;
};
var _local1:uint = (_length / height);
var _local2:Number = (height - 2);
var _local3:uint;
while (_local3 < _local1) {
_local4 = _segment.clone();
_local4.y = (_local2 * _direction);
_local4.x = x;
_local2 = (_local2 + (height - 2));
_local4._inheritVisible = true;
_local4.layer = _layer;
_local4.collisionGroup = 5;
if (_collisionGroups){
_local4.setCollisionGroups(_collisionGroups, true);
};
_local4.collisionSend = true;
_local4.collisionCallback = true;
addChildObject(_local4);
_local3++;
};
}
}
}//package Enemy
Section 12
//BomberAI (Enemy.BomberAI)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class BomberAI extends EnemyAI {
private var numHitsToBomb:uint;// = 1
private var numHits:uint;// = 0
public function BomberAI(_arg1:EnemyObject, _arg2:Scene){
super(_arg1, _arg2);
_enemyObj = _arg1;
_scene = _arg2;
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
}
override public function spawnProjectile(_arg1:SceneObject, _arg2:Number):void{
if (((_enemyObj) && ((_enemyObj._children.length > 0)))){
return;
};
super.spawnProjectile(_arg1, _arg2);
}
}
}//package Enemy
Section 13
//BomberObject (Enemy.BomberObject)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class BomberObject extends EnemyObject {
public var _bomb:BombObject;// = null
private var _glowBomb:AnimatedSprite;// = null
public var _xmlFile:String;// = "bombobject"
public function BomberObject(_arg1:XML, _arg2:Scene, _arg3:int, _arg4:Boolean=false){
super(_arg1, _arg2, _arg3, _arg4);
setupBomberObject();
}
override public function onRemove():void{
if (_bomb){
_bomb.releaseBombObject();
};
super.onRemove();
}
private function initTemplates():void{
_glowBomb = new AnimatedSprite(AssetImporter.getXMLAsset("glowbouncer"), scene, false);
}
private function setupBomberObject():void{
_bomb = new BombObject(AssetImporter.getXMLAsset(_xmlFile), _scene, false);
var _local1:Number = (this.width - _bomb.width);
var _local2:Number = (this.height - _bomb.height);
_bomb.y = (this.y + (this.height * 0.7));
_bomb.x = (this.x + (_local1 * 0.5));
_bomb.collisionReceive = true;
_bomb.collisionSend = true;
_bomb.layer = 5;
_bomb.testWorldLims = true;
_bomb.worldLimCallback = true;
_bomb.frame = this.frame;
_bomb.collisionCallback = true;
_bomb.collisionGroup = 0;
_bomb.setCollisionGroups([5], true);
_bomb.play(1, 2, false);
addChildObject(_bomb);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
if (!(_arg1 is PlayerProj)){
return;
};
var _local3:PlayerProj = (_arg1 as PlayerProj);
health = (health - _local3.power);
}
}
}//package Enemy
Section 14
//BombObject (Enemy.BombObject)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import ToadLib.audio.*;
import Player.*;
public class BombObject extends EnemyProj {
public const HITS_TO_RELEASE:int = 2;
public var canDetach:Boolean;// = true
private var _plyrObject:PlayerObject;// = null
public var bombDropCheckSchedule:Schedule;// = null
public var _origXML:XML;// = null
private var _explosionSound:Array;
public var _bombExplosion:AnimatedSprite;// = null
public var health:int;// = 5
public var destroyMineSchedule:Schedule;// = null
public var releaseHits:int;// = 0
private var _shrapnelDone:Boolean;// = false
public var _xmlFile:String;// = "bombobject"
private var _isInGround:Boolean;// = false
public function BombObject(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
_explosionSound = [];
super(_arg1, _arg2, 0, _arg3);
_origXML = _arg1;
worldLimit.bottom = 585;
actualPower = 2;
collisionGroup = 0;
collisionReceive = true;
collisionCallback = true;
_plyrObject = GlobalVarContainer.vars.playerObject;
checkDropBomb();
_bombExplosion = new AnimatedSprite(AssetImporter.getXMLAsset("alienexplosion"), _arg2, false);
_explosionSound.push(new SoundObject("sfx_enemyexplode_0000", 1, false, 300));
_explosionSound.push(new SoundObject("sfx_enemyexplode_0001", 1, false, 300));
}
private function embedInGround():void{
if (_isInGround){
return;
};
y = (worldLimit.bottom - (height * 0.5));
setLinearVelocityX(0);
setLinearVelocityY(0);
setConstantForceX(0);
setConstantForceY(0);
stop();
_isInGround = true;
destroyMineSchedule = Scheduler.setSchedule(3000, doGroundExplode, this);
}
private function spawnShrapnel(_arg1:SceneObject):void{
var _local5:int;
var _local6:AnimatedSprite;
var _local7:String;
if (_shrapnelDone){
return;
};
_shrapnelDone = true;
var _local2 = 1;
var _local3 = 200;
var _local4:int;
while (_local4 < 4) {
_local5 = (Math.random() * 100);
_local6 = new AnimatedSprite(AssetImporter.getXMLAsset("shrapnel"), scene);
_local7 = ("shrapnel" + MathUtils.randRange(0, (_local6.getNumAnimations() - 1)));
_local6.setAnimation(_local7);
_local6.setLinearVelocityX((_local2 * _local5));
_local6.setLinearVelocityY(-200);
_local6.frame = MathUtils.randRange(0, (_local6.numFrames - 1));
_local6.x = _arg1.x;
_local6.y = _arg1.y;
_local6.layer = (this.layer + 1);
_local6.constantForceY = (800 - (Math.random() * _local3));
_local6.collisionSend = false;
_local6.testWorldLims = true;
_local6.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local2 = -(_local2);
_local4++;
};
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
super.onWorldLimit(_arg1, _arg2);
if (StringUtils.contains(_arg2, "bottom")){
embedInGround();
};
}
private function doGroundExplode():void{
var _local1:Number = width;
var _local2:Number = height;
var _local3:Number = (x + (_local1 * 0.5));
var _local4:Number = (y + (_local2 * 0.5));
this.setAnimation("bomb_groundexplode_0");
this.setLinearVelocityY(0);
this.setConstantForceY(0);
this.setLinearVelocityX(0);
this.setConstantForceX(0);
this.testWorldLims = false;
var _local5:Number = (_local1 - this.width);
var _local6:Number = (_local2 - this.height);
x = (_local3 - (width * 0.5));
y = (worldLimit.bottom - height);
this.layer = 2;
this.collisionReceive = false;
if (_explosionSound){
_explosionSound[MathUtils.randRange(0, (_explosionSound.length - 1))].play();
};
Scheduler.setSchedule(this.getAnimationLength(), this.safeDelete, this);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:Number;
if ((_arg1 is PlayerProj)){
_local3 = Math.random();
_local3 = (_local3 * 100);
if (_local3 < 50){
spawnShrapnel(_arg1);
};
releaseHits++;
if (((((this._parent) && ((releaseHits >= HITS_TO_RELEASE)))) && (canDetach))){
releaseBombObject();
} else {
health--;
if (health <= 0){
destroyMine();
};
};
} else {
if ((_arg2 is PlayerObject)){
doPlayerDamage((_arg2 as PlayerObject));
if (!_isInGround){
destroyMine();
safeDelete();
} else {
doGroundExplode();
};
collisionSend = false;
if (((destroyMineSchedule) && (Scheduler.isShedulePending(destroyMineSchedule)))){
Scheduler.removeSchedule(destroyMineSchedule);
};
};
};
}
override public function clone():AnimatedSprite{
var _local1:BombObject = new BombObject(_origXML, scene, true);
return (_local1);
}
private function checkDropBomb():void{
var _local1:Number;
var _local2:Number;
if (_plyrObject){
_local1 = MathUtils.randRange(0, 99);
_local2 = (_plyrObject.x + (_plyrObject.width * 0.5));
if ((((((_local2 >= getWorldPosition().x)) && ((_local2 <= (getWorldPosition().x + width))))) && ((_local1 <= 10)))){
releaseBombObject();
};
};
bombDropCheckSchedule = Scheduler.setSchedule(1000, checkDropBomb, this);
}
private function spawnImpact(_arg1:SceneObject):void{
var _local2:AnimatedSprite = new AnimatedSprite(AssetImporter.getXMLAsset(_xmlFile), this.scene);
_local2.setAnimation("bomb_impact_0");
_local2.setLinearVelocityX(0);
_local2.setLinearVelocityY(0);
_local2.x = (_arg1.x - (_arg1.width * 0.5));
_local2.y = (_arg1.y - (_arg1.height * 0.5));
_local2.layer = 0;
_local2.collisionSend = false;
_local2.testWorldLims = false;
_local2.deleteOnEnd = true;
}
private function doPlayerDamage(_arg1:PlayerObject):void{
_arg1.doHit(actualPower);
}
public function destroyMine():void{
var _local1:AnimatedSprite = _bombExplosion.clone();
_local1.x = ((getWorldPosition().x + (width * 0.5)) - (_local1.width * 0.5));
_local1.y = ((getWorldPosition().y + (height * 0.5)) - (_local1.height * 0.5));
_local1.visible = true;
_local1.deleteOnEnd = true;
if (_explosionSound){
_explosionSound[MathUtils.randRange(0, (_explosionSound.length - 1))].play();
};
this.safeDelete();
}
public function releaseBombObject():void{
if (!this._parent){
return;
};
_parent.removeChildObject(this, true);
this.setConstantForceY(200);
}
}
}//package Enemy
Section 15
//BurningAlien (Enemy.BurningAlien)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.text.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
import gs.easing.*;
public class BurningAlien extends AnimatedSprite {
private var _shrapnelTemplate:AnimatedSprite;// = null
private var _textFormat:TextFormat;// = null
private var _shotSFX:SoundObject;// = null
private var _textField:TextField;// = null
private var _plyrObject:PlayerObject;// = null
private var _mercyShotCash:Number;
public function BurningAlien(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
_mercyShotCash = (50 * GlobalVarContainer.vars.cashDiffMult);
super(_arg1, _arg2, _arg3);
collisionReceive = true;
collisionCallback = true;
worldLimCallback = true;
worldLimit.left = 0;
worldLimit.right = 600;
worldLimit.bottom = 600;
testWorldLims = true;
limitMode = Scene.WORLD_LIM_MODE_NULL;
_plyrObject = GlobalVarContainer.vars.playerObject;
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 0xFFFFFF;
_textFormat.size = 10;
_textFormat.align = TextFormatAlign.CENTER;
_textField = new TextField();
_textField.embedFonts = true;
_textField.antiAliasType = AntiAliasType.ADVANCED;
_textField.autoSize = TextFieldAutoSize.CENTER;
_textField.defaultTextFormat = _textFormat;
_textField.text = "NO MERCY! \n +$";
_textField.x = x;
_textField.y = (y - height);
_textField.selectable = false;
_textField.mouseEnabled = false;
_textField.textColor = 0xFFFFFF;
_textField.name = "EnemyScoreText";
_shrapnelTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("shrapnel"), _scene, false);
_shotSFX = new SoundObject("sfx_onfirealien0000", 1, false);
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
if (StringUtils.contains(_arg2, "bottom")){
safeDelete();
} else {
if ((((_arg2 == "left")) || ((_arg2 == "right")))){
setLinearVelocityX(-(getLinearVelocityX()));
};
};
}
override public function onRemove():void{
super.onRemove();
var _local1:int = Level.activeEntityArray.indexOf(this);
if (_local1 != -1){
Level.activeEntityArray.splice(_local1, 1);
};
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local6:int;
var _local7:AnimatedSprite;
var _local8:String;
super.onCollision(_arg1, _arg2);
if (!(_arg1 is PlayerProj)){
return;
};
_shotSFX.play();
var _local3 = 1;
var _local4 = 200;
var _local5:int;
while (_local5 < 2) {
_local6 = (Math.random() * 100);
_local7 = _shrapnelTemplate.clone();
_local8 = "shrapnel1";
_local7.setAnimation(_local8);
_local7.setLinearVelocityX((_local3 * _local6));
_local7.setLinearVelocityY(-200);
_local7.frame = MathUtils.randRange(0, (_local7.numFrames - 1));
_local7._nextPos.x = _arg1.x;
_local7._nextPos.y = _arg1.y;
_local7.layer = (this.layer + 1);
_local7.constantForceY = (800 - (Math.random() * _local4));
_local7.collisionSend = false;
_local7.testWorldLims = true;
_local7.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local3 = -(_local3);
_local5++;
};
_textField.x = x;
_textField.y = (y - height);
_textField.appendText(_mercyShotCash.toString());
scene.addChild(_textField);
TweenManager.to(_textField, 1, {y:(_textField.y - 30), autoAlpha:0, overwrite:0, ease:Back.easeIn});
if (_plyrObject){
_plyrObject.addMoney(_mercyShotCash);
};
safeDelete();
}
override public function clone():AnimatedSprite{
var _local1:BurningAlien = new BurningAlien(_XMLDef, _scene, true);
_local1.worldLimCallback = worldLimCallback;
_local1.worldLimit = worldLimit;
_local1.collisionSend = collisionSend;
_local1.collisionReceive = collisionReceive;
_local1.testWorldLims = testWorldLims;
return (_local1);
}
}
}//package Enemy
Section 16
//CircleFormation (Enemy.CircleFormation)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.geom.*;
public class CircleFormation extends EnemyFormation {
private var _rotStepTimer:Number;// = 0
private var _radMoveDir:Number;// = -1
private var _minRad:Number;// = 70
private var _radius:Number;// = 150
private var _anchor:SceneObject;// = null
private var _maxRad:Number;// = 150
private var _lastLimHit:String;// = ""
public function CircleFormation(_arg1:Scene, _arg2:Object){
super(_arg1, _arg2);
_anchor = new SceneObject(_arg1, true);
_anchor.x = (_arg2.centerx - _arg2.radius);
_anchor.y = (_arg2.centery - _arg2.radius);
_anchor.limitMode = Scene.WORLD_LIM_MODE_NULL;
_anchor.layer = _arg2.layer;
_anchor.collisionSend = false;
_anchor.collisionReceive = false;
_anchor.collisionCallback = false;
_anchor.setLinearVelocityX(-100);
_anchor.width = (_arg2.radius * 2);
_anchor.height = (_arg2.radius * 2);
_anchor.objectGroup = this;
_anchor.worldLimCallback = true;
_anchor.testWorldLims = true;
_radius = _arg2.radius;
_anchor.worldLimit.left = 0;
_anchor.worldLimit.right = 600;
generateCircleFormation(_arg2.radius, new Point(_arg2.centerx, _arg2.centery), _arg2.numentities, _arg2.layer, _arg2.enemytype);
}
override public function update(_arg1:Number):void{
super.update(_arg1);
updateCircleFormation(_arg1);
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
updateOnWorldLimit(_arg2);
}
public function generateCircleFormation(_arg1:Number, _arg2:Point, _arg3:uint, _arg4:uint, _arg5:int):void{
var _local6:uint;
var _local11:uint;
var _local12:EnemyObject;
_local6 = (360 / _arg3);
var _local7:uint;
var _local8:Number = 0;
var _local9:Number = 0;
var _local10:Number = 0;
_circleCenter = _arg2;
while (_local11 < _arg3) {
_local8 = (_local7 * (Math.PI / 180));
_local9 = (_anchor.x + (_arg1 * Math.cos(_local8)));
_local10 = (_anchor.y + (_arg1 * Math.sin(_local8)));
_local12 = EnemyFactory.createEnemyObject(_scene, _arg5, _local9, _local10, true, 0, true, _arg4);
_local12.frame = MathUtils.randRange(0, (_local12.numFrames - 1));
_local12.rotation = _local7;
_local12.testWorldLims = true;
_local12.limitMode = Scene.WORLD_LIM_MODE_NULL;
_local12.collisionReceive = true;
_local12.layer = _arg4;
_local12.setLinearVelocityX(0);
_local12.setLinearVelocityY(0);
_local12.setConstantForceX(0);
_local12.setConstantForceY(0);
this.addSceneObject(_local12);
_local12.objectGroup = this;
_local7 = (_local7 + _local6);
_local11++;
};
Scheduler.setSchedule(MathUtils.randRange(1000, 3000), doRandomPairedFiring, this);
}
public function updateOnWorldLimit(_arg1:String):void{
if (((((StringUtils.contains(_arg1, "bottom")) || (StringUtils.contains(_arg1, "top")))) || ((_lastLimHit == _arg1)))){
return;
};
_anchor._linearVelocity.x = -(_anchor._linearVelocity.x);
_lastLimHit = _arg1;
}
public function updateCircleFormation(_arg1:Number):void{
var _local5:EnemyObject;
var _local6:Number;
var _local7:Number;
var _local2:Number = (_anchor.width * 0.5);
var _local3:Number = (_anchor.height * 0.5);
var _local4:uint;
while (_local4 < _groupArray.length) {
_local5 = (_groupArray[_local4] as EnemyObject);
if (!_local5){
} else {
_local5.rotation = (_local5.rotation + (10 * _arg1));
_local6 = (((_anchor.x + _local2) - (_local5.width * 0.5)) + (_radius * MathUtils.cosTable[Math.floor(_local5.rotation)]));
_local7 = (((_anchor.y + _local3) - (_local5.height * 0.5)) + (_radius * MathUtils.sinTable[Math.floor(_local5.rotation)]));
_local5.rotation = (_local5.rotation % 360);
_local5.x = _local6;
_local5.y = _local7;
};
_local4++;
};
}
}
}//package Enemy
Section 17
//EnemyAI (Enemy.EnemyAI)
package Enemy {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.text.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
import gs.easing.*;
public class EnemyAI extends Controller {
private const ENEMYAIREXPLODE_ANM:int = 5;
private const IMPACT_ANM:int = 1;
private const IDLE_ANM:int = 0;
private const DEATH_ANM:int = 2;
private const ENEMY_FILE_PREFIX:String = "enemy";
private const MUZZLE_ANM:int = 3;
private const ENEMYGROUNDEXPLODE_ANM:int = 4;
private var _currBehavior:Function;// = null
private var textFormat:TextFormat;// = null
protected var _scene:Scene;// = null
private var _shootAccum:Number;// = 0
private var _explosionSound:Array;
private var _anmStrings:Array;
private var _velocityFlipped:Boolean;// = false
private var _muzzleTemplate:AnimatedSprite;// = null
protected var _enemyObj:EnemyObject;// = null
private var _alienOfFireTemplate:BurningAlien;// = null
private var _deathExplosionTemplate:AnimatedSprite;// = null
private var _alienEscapePodSFX:SoundObject;// = null
private var anmArray:Array;
private var _scoreTextArray:Array;
private var _shrapnelTemplate:AnimatedSprite;// = null
private var _shotTemplate:EnemyProj;// = null
private var _impactTemplate:AnimatedSprite;// = null
private static var _enemyShootSFX:Array = [];
public function EnemyAI(_arg1:EnemyObject, _arg2:Scene){
anmArray = [];
_anmStrings = new Array("enemy_idle_", "enemy_impact_", "enemy_death_", "enemy_muzzle_", "enemy_groundexplode_", "enemy_airexplode_");
_scoreTextArray = [];
_explosionSound = [];
super(_arg1);
_currBehavior = doFiring;
_enemyObj = _arg1;
_scene = _arg2;
_enemyObj._enemyAIController = this;
textFormat = new TextFormat();
textFormat.font = "MarsAttacks";
textFormat.color = 0xFFFFFF;
textFormat.size = 10;
textFormat.align = "center";
initShootSFX();
initTemplates();
}
private function addBonusAerialShotPoints():void{
GlobalVarContainer.vars.playerObject.addScore((_enemyObj.bonusAerialShotPoints * GlobalVarContainer.vars.multiplier));
}
private function initTemplates():void{
_alienOfFireTemplate = new BurningAlien(AssetImporter.getXMLAsset("alienonfire"), _scene, false);
_deathExplosionTemplate = new AnimatedSprite(AssetImporter.getXMLAsset(getEntityAssetFile()), _scene, false);
_impactTemplate = new AnimatedSprite(AssetImporter.getXMLAsset(getEntityAssetFile()), _scene, false);
_shrapnelTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("shrapnel"), _scene, false);
_shotTemplate = new EnemyProj(AssetImporter.getXMLAsset("enemyProjectile0"), _scene, 1, false);
_muzzleTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("muzzle0"), _scene, false);
_muzzleTemplate.x = 0;
_muzzleTemplate.y = (_target.height * 0.5);
_muzzleTemplate.visible = false;
_target.addChildObject(_muzzleTemplate);
}
private function spawnShrapnel(_arg1:SceneObject):void{
var _local5:int;
var _local6:AnimatedSprite;
var _local7:String;
var _local2 = 1;
var _local3 = 200;
var _local4:int;
while (_local4 < 2) {
_local5 = (Math.random() * 100);
_local6 = _shrapnelTemplate.clone();
_local7 = ("shrapnel" + MathUtils.randRange(0, (_local6.getNumAnimations() - 1)));
_local6.setAnimation(_local7);
_local6.setLinearVelocityX((_local2 * _local5));
_local6.setLinearVelocityY(-200);
_local6.frame = MathUtils.randRange(0, (_local6.numFrames - 1));
_local6._nextPos.x = _arg1.x;
_local6._nextPos.y = _arg1.y;
_local6.layer = (_target.layer + 1);
_local6.constantForceY = (800 - (Math.random() * _local3));
_local6.collisionSend = false;
_local6.testWorldLims = true;
_local6.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local2 = -(_local2);
_local4++;
};
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
if (((StringUtils.contains(_arg2, "bottom")) && (_enemyObj._isDead))){
doGroundExplode();
};
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:EnemyObject;
var _local4:Number;
var _local5:Number;
if ((_arg1 is PlayerProj)){
_local3 = (_arg2 as EnemyObject);
if ((((_local3.health <= 0)) && (!(_enemyObj._isDead)))){
doDeath(_arg1);
} else {
if ((((_local3.health <= 0)) && (_enemyObj._isDead))){
addBonusAerialShotPoints();
addBonusAerialShotMoney();
spawnDeathExplosion();
_enemyObj.collisionReceive = false;
_local4 = MathUtils.randRange(0, 99);
if ((((_local4 < 30)) && (!(_enemyObj._pilotEjected)))){
spawnAlienOnFire();
};
addDeathPoints();
addBonusAerialShotPoints();
} else {
_local5 = Math.random();
_local5 = (_local5 * 100);
if (_local5 < 40){
spawnShrapnel(_arg1);
};
};
};
};
}
public function initShootSFX():void{
if (!_enemyShootSFX.length){
_enemyShootSFX.push(new SoundObject("sfx_enemyshoot_0000", 1, false, 400));
_enemyShootSFX.push(new SoundObject("sfx_enemyshoot_0001", 1, false, 400));
};
_explosionSound.push(new SoundObject("sfx_enemyexplode_0000", 1, false, 300));
_explosionSound.push(new SoundObject("sfx_enemyexplode_0001", 1, false, 300));
_alienEscapePodSFX = new SoundObject("sfx_escapepod0000", 1, false, 500);
}
private function addBonusAerialShotMoney():void{
GlobalVarContainer.vars.playerObject.addMoney((_enemyObj.bonusAerialShotMoney * GlobalVarContainer.vars.multiplier));
doScorePopup(_enemyObj.bonusAerialShotMoney, _enemyObj.x, _enemyObj.y, "Bonus!");
}
private function addDeathPoints():void{
GlobalVarContainer.vars.playerObject.addScore((_enemyObj.points * GlobalVarContainer.vars.multiplier));
}
private function doGroundExplode():void{
var _local1:Number = _enemyObj.width;
var _local2:Number = _enemyObj.height;
var _local3:Number = (_enemyObj.x + (_local1 * 0.5));
var _local4:Number = (_enemyObj.y + (_local2 * 0.5));
_enemyObj.setAnimation(getAnmStringEnemyType(ENEMYGROUNDEXPLODE_ANM));
_enemyObj.setLinearVelocityY(0);
_enemyObj.setConstantForceY(0);
_enemyObj.setLinearVelocityX(0);
_enemyObj.setConstantForceX(0);
_enemyObj.testWorldLims = false;
var _local5:Number = (_local1 - _enemyObj.width);
var _local6:Number = (_local2 - _enemyObj.height);
_enemyObj.x = (_local3 - (_enemyObj.width * 0.5));
_enemyObj.y = (_enemyObj.worldLimit.bottom - _enemyObj.height);
_enemyObj.layer = 2;
_enemyObj.collisionReceive = false;
Scheduler.setSchedule(_enemyObj.getAnimationLength(), _enemyObj.safeDelete, _enemyObj);
spawnShrapnel(_enemyObj);
}
private function addMoney():void{
GlobalVarContainer.vars.playerObject.addMoney((_enemyObj.money * GlobalVarContainer.vars.multiplier));
doScorePopup(_enemyObj.money, _enemyObj.x, _enemyObj.y, "");
}
public function doScorePopup(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:String):void{
var _local5:String = ("$" + (_arg1 * GlobalVarContainer.vars.multiplier).toString());
_local5 = (_local5 + (" " + _arg4));
var _local6:TextField = new TextField();
_local6.embedFonts = true;
_local6.autoSize = TextFieldAutoSize.CENTER;
_local6.antiAliasType = AntiAliasType.NORMAL;
_local6.defaultTextFormat = textFormat;
_local6.text = _local5;
_local6.x = ((_arg2 + (_enemyObj.width * 0.5)) - (_local6.width * 0.5));
_local6.y = (_arg3 - _local6.height);
TweenManager.to(_local6, 1, {y:(_arg3 - 30), alpha:0, overwrite:0, ease:Back.easeIn});
_local6.name = "EnemyScoreText";
_scene.addChild(_local6);
_scoreTextArray.push(_local6);
}
private function spawnImpact(_arg1:SceneObject):void{
if (!_impactTemplate){
return;
};
var _local2:AnimatedSprite = _impactTemplate.clone();
_local2.setAnimation(getAnmStringEnemyType(IMPACT_ANM));
_local2.setLinearVelocityX(0);
_local2.setLinearVelocityY(0);
_local2._nextPos.x = (_arg1.x - (_arg1.width * 0.5));
_local2._nextPos.y = (_arg1.y - (_arg1.height * 0.5));
_local2.layer = (_target.layer - 1);
_local2.collisionSend = false;
_local2.testWorldLims = false;
_local2.deleteOnEnd = true;
}
public function doDeath(_arg1:SceneObject):void{
var _local5:Number;
_enemyObj.setAnimation(getAnmStringEnemyType(DEATH_ANM), 0, false, 1, 1);
var _local2:int = (Math.random() * 100);
if (_local2 > 30){
spawnDeathExplosion();
_local5 = MathUtils.randRange(0, 99);
if (((!(_enemyObj._pilotEjected)) && ((_local5 < 15)))){
spawnAlienOnFire();
};
_enemyObj.collisionReceive = false;
addDeathPoints();
addMoney();
return;
};
var _local3:Number = _enemyObj.getLinearVelocityX();
if (_enemyObj._parent){
_local3 = _enemyObj._parent.getLinearVelocityX();
_enemyObj._parent.removeChildObject(_enemyObj);
};
if (_enemyObj.objectGroup){
_enemyObj.objectGroup.removeSceneObject(_enemyObj);
_enemyObj.objectGroup = null;
};
_enemyObj.constantForceY = 800;
_enemyObj.setLinearVelocityY(-100);
_enemyObj.maxLinearVelocity.y = 300;
if (!_local3){
_local3 = MathUtils.randRange(-1, 1);
};
if (_local3 < 0){
_enemyObj.setLinearVelocityX(-200);
_enemyObj.constantForceX = 200;
} else {
if (_local3 > 0){
_enemyObj.setLinearVelocityX(200);
_enemyObj.constantForceX = -200;
};
};
_enemyObj._isDead = true;
_enemyObj.startExplosion(2000);
var _local4:Number = MathUtils.randRange(0, 99);
if (((!(_enemyObj._pilotEjected)) && ((_local4 < 20)))){
_enemyObj._pilotEjected = true;
spawnAlienEscapee();
};
}
override public function onAnimationEnd():void{
if (_enemyObj.getAnimation() == getAnmStringEnemyType(IMPACT_ANM)){
_enemyObj.setAnimation(getAnmStringEnemyType(IDLE_ANM));
} else {
if (_enemyObj.getAnimation() == getAnmStringEnemyType(DEATH_ANM)){
};
};
}
override public function handleKeyUp(_arg1:KeyboardEvent):void{
}
override public function onRemove():void{
super.onRemove();
}
public function getAnmStringEnemyType(_arg1:int):String{
return ((_anmStrings[_arg1] + _enemyObj.enemyType.toString()));
}
override public function update(_arg1:Number):void{
var _local2:EnemyObject = (_target as EnemyObject);
}
private function removeText():void{
}
public function spawnProjectile(_arg1:SceneObject, _arg2:Number):void{
if (((!(_enemyObj)) || ((_enemyObj.getAnimation() == getAnmStringEnemyType(DEATH_ANM))))){
return;
};
var _local3:EnemyProj = (_shotTemplate.clone() as EnemyProj);
_local3.setLinearVelocityX(0);
_local3.setLinearVelocityY(200);
_local3.x = ((_arg1.getWorldPosition().x + (_arg1.width * 0.5)) - (_local3.width * 0.5));
_local3.y = _arg1.getWorldPosition().y;
_local3.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local3.layer = 3;
_local3.collisionSend = true;
_local3.testWorldLims = true;
_local3.collisionCallback = true;
_local3.collisionGroup = 5;
_local3.setCollisionGroups([5], true);
_local3.worldLimit.bottom = 600;
var _local4:SoundObject = EnemyAI._enemyShootSFX[MathUtils.randRange(0, (_enemyShootSFX.length - 1))];
_local4.play();
var _local5:String = ("enemy_shoot_" + _arg2.toString());
_local3.setAnimation(_local5, 0, false, 1, 1);
}
private function loadAllAnimations():void{
}
public function spawnAlienEscapee():void{
var _local1:int = MathUtils.randRange(-1, 1);
var _local2:AlienEscapePod = new AlienEscapePod(AssetImporter.getXMLAsset("alienescapepod"), _scene, true);
_local2.setAnimation("alien_escapepod_0", 0, false, 1, 1);
_local2._nextPos.x = _target.x;
_local2._nextPos.y = _target.y;
_local2.layer = (_target.layer - 1);
_local2.setConstantForceY(300);
_local2.maxLinearVelocity.y = 100;
_local2.setLinearVelocityY(-100);
_local2.setLinearVelocityX((_local1 * 100));
_local2.testWorldLims = true;
_local2.limitMode = Scene.WORLD_LIM_MODE_CLAMP;
_local2.name = "alien_escape_pod";
_local2.worldLimCallback = true;
Level.activeEntityArray.push(_local2);
_alienEscapePodSFX.play();
}
override public function onLevelEnded():void{
}
override public function handleKeyDown(_arg1:KeyboardEvent):void{
}
private function spawnDeathExplosion():void{
if (!_deathExplosionTemplate){
return;
};
var _local1:AnimatedSprite = _deathExplosionTemplate.clone();
_local1.setAnimation(getAnmStringEnemyType(ENEMYAIREXPLODE_ANM));
var _local2:Number = Math.abs(((_target.width * 0.5) - (_local1.width * 0.5)));
var _local3:Number = Math.abs(((_target.height * 0.5) - (_local1.height * 0.5)));
_local1._nextPos.x = (_target.x - _local2);
_local1._nextPos.y = (_target.y - _local3);
_local1.deleteOnEnd = true;
_local1.layer = (_target.layer - 1);
_explosionSound[MathUtils.randRange(0, (_explosionSound.length - 1))].play();
Scheduler.setSchedule(_local1.getAnimationLength(), _enemyObj.safeDelete, _enemyObj);
_enemyObj.enabled = false;
_enemyObj.visible = false;
}
private function getEntityAssetFile():String{
return ((ENEMY_FILE_PREFIX + _enemyObj.enemyType.toString()));
}
private function spawnAlienOnFire():void{
if (!_alienOfFireTemplate){
return;
};
var _local1:int = MathUtils.randRange(-1, 1);
var _local2:BurningAlien = (_alienOfFireTemplate.clone() as BurningAlien);
_local2.setAnimation("alien_onfire_0", 0, false, 1, 1);
_local2._nextPos.x = _enemyObj.x;
_local2._nextPos.y = _enemyObj.y;
_local2.layer = 1;
_local2.setLinearVelocityX((_local1 * 100));
_local2.setLinearVelocityY(-200);
_local2.setConstantForceY(400);
_local2.worldLimCallback = true;
_local2.testWorldLims = true;
_local2.worldLimit.left = 0;
_local2.worldLimit.right = 600;
Level.activeEntityArray.push(_local2);
}
public function doFiring():void{
if (((!(_enemyObj)) || ((_enemyObj.getAnimation() == getAnmStringEnemyType(DEATH_ANM))))){
return;
};
var _local1:Number = MathUtils.randRange(0, GlobalVarContainer.vars.maxEnemyProjType);
var _local2:String = ("enemy_muzzle_" + _local1.toString());
_muzzleTemplate.setAnimation(_local2);
_muzzleTemplate.layer = 3;
_muzzleTemplate.visible = true;
Scheduler.setSchedule((33 * 9), spawnProjectile, this, _muzzleTemplate, _local1);
}
}
}//package Enemy
Section 18
//EnemyFactory (Enemy.EnemyFactory)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class EnemyFactory {
private static const ENEMY_FILE_PREFIX:String = "enemy";
private static function getEnemyObjectOfType(_arg1:XML, _arg2:Scene, _arg3:int):EnemyObject{
var _local4:EnemyObject;
var _local5:EnemyAI;
switch (_arg3){
case 0:
_local4 = new EnemyObject(_arg1, _arg2, _arg3, true);
return (_local4);
case 1:
_local4 = new EnemyObject(_arg1, _arg2, _arg3, true);
return (_local4);
case 2:
_local4 = new BomberObject(_arg1, _arg2, _arg3, true);
return (_local4);
case 3:
_local4 = new EnemyObject(_arg1, _arg2, _arg3, true);
return (_local4);
case 4:
_local4 = new EnemyObject(_arg1, _arg2, _arg3, true);
return (_local4);
default:
return (null);
};
}
public static function createEnemyObject(_arg1:Scene, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Boolean, _arg6:int, _arg7:Boolean, _arg8:uint, _arg9:uint=0):EnemyObject{
var _local10:int = _arg2;
if (_local10 == -1){
_local10 = MathUtils.randRange(0, 4);
if (_local10 == 2){
_local10 = 0;
};
};
var _local11:String = (ENEMY_FILE_PREFIX + _local10.toString());
var _local12:EnemyObject = getEnemyObjectOfType(AssetImporter.getXMLAsset(_local11), _arg1, _local10);
_local12.x = _arg3;
_local12.y = _arg4;
_local12.testWorldLims = _arg5;
_local12.limitMode = _arg6;
_local12.collisionReceive = _arg7;
_local12.layer = _arg8;
_local12.addController(getEnemyAIProfile(_arg9, _local12, _arg1));
_local12.worldLimit.bottom = 585;
Level.activeEntityArray.push(_local12);
return (_local12);
}
private static function getEnemyAIProfile(_arg1:uint, _arg2:EnemyObject, _arg3:Scene):EnemyAI{
switch (_arg1){
case 0:
return (new EnemyAI(_arg2, _arg3));
case 1:
return (new FreeRoamingAI(_arg2, _arg3));
case 2:
return (new BomberAI(_arg2, _arg3));
default:
return (new EnemyAI(_arg2, _arg3));
};
}
}
}//package Enemy
Section 19
//EnemyFormation (Enemy.EnemyFormation)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.geom.*;
import flash.utils.*;
public class EnemyFormation extends SceneObjectGroup {
protected const ENEMY_FILE_PREFIX:String = "enemy";
protected var formationData:Object;// = null
private var _level:Level;// = null
protected var _formationType:String;// = null
protected var _scene:Scene;// = null
private var _currFiringMember:uint;// = 0
protected var _seqFiringMin:Number;// = 3000
protected var _firstRun:Boolean;// = true
protected var _circleCenter:Point;// = null
protected var _originalXVelocity:Number;// = 0
protected var _velocityFlipped:Boolean;// = false
protected var _seqFiringMax:Number;// = 6000
protected var _sceneObjectGroup:SceneObjectGroup;// = null
protected var _groupCountLastFrame:uint;// = 0
protected var _startTime:Number;// = 0
private var _canApproach:Boolean;// = true
protected var _lastTime:int;// = 0
protected var _lastLimitHit:String;// = ""
protected var _animationLoader:AnimationLoader;// = null
protected var _startChild:uint;// = 0
protected var _rigidMovement:Boolean;// = true
public function EnemyFormation(_arg1:Scene, _arg2:Object, _arg3:Boolean=true){
super(_arg1);
_rigidMovement = _arg3;
_scene = _arg1;
_level = (_scene as Level);
this.formationData = _arg2;
_formationType = new String("");
}
public function doGroupFire():void{
var _local1:EnemyObject;
for each (_local1 in _groupArray) {
if (!_local1._enemyAIController){
} else {
_local1._enemyAIController.doFiring();
};
};
Scheduler.setSchedule(getNewRandomRange(3000, 6000), doGroupFire, this);
}
public function getLevelSegment():Number{
return ((1 - (_level.currLevelNum / (_level.currLevelNum + 15))));
}
public function doRandomPairedFiring():void{
var _local1:Number = getLevelSegment();
if (_groupArray.length < 2){
if (_groupArray[0]){
_groupArray[0]._enemyAIController.doFiring();
};
Scheduler.setSchedule(getNewRandomRange((3000 * _local1), (6000 * _local1)), doRandomPairedFiring, this);
return;
};
var _local2:Number = MathUtils.randRange(0, (_groupArray.length - 1));
var _local3:Number = MathUtils.randRange(0, (_groupArray.length - 1));
if (_local2 == _local3){
if (_local2 > 0){
_local3 = (_local2 - 1);
} else {
if (_local2 == 0){
_local3 = (_local2 + 1);
};
};
};
if (((!(_groupArray[_local2]._enemyAIController)) || (!(_groupArray[_local3]._enemyAIController)))){
return;
};
_groupArray[_local2]._enemyAIController.doFiring();
_groupArray[_local3]._enemyAIController.doFiring();
Scheduler.setSchedule(getNewRandomRange((3000 * _local1), (6000 * _local1)), doRandomPairedFiring, this);
}
public function getWLPenetrationDepthLeft():Number{
var _local2:SceneObject;
var _local3:Number;
var _local1:Number = 0;
for each (_local2 in _groupArray) {
_local3 = (_local2.worldLimit.left - _local2.getPositionX());
if (_local3 > _local1){
_local1 = _local3;
};
};
return (Math.abs(_local1));
}
public function startSequentialFiringSequence():void{
var _local3:Number;
var _local1:Number = getLevelSegment();
if (_currFiringMember >= _groupArray.length){
_currFiringMember = 0;
_local3 = getNewRandomRange((3000 * _local1), (6000 * _local1));
Scheduler.setSchedule(_local3, startSequentialFiringSequence, this);
return;
};
var _local2:EnemyObject = _groupArray[_currFiringMember];
if (!_local2._enemyAIController){
return;
};
_local2._enemyAIController.doFiring();
_currFiringMember++;
Scheduler.setSchedule((1000 * _local1), startSequentialFiringSequence, this);
}
protected function updateSineLayout(_arg1:Number, _arg2:Number):void{
var _local7:EnemyObject;
var _local8:Number;
if (((!(_groupArray)) || (!(_groupArray.length)))){
return;
};
var _local3:int = getTimer();
var _local4:int = (_local3 - _lastTime);
var _local5:int;
var _local6:Number = (_local4 / 1000);
for each (_local7 in _groupArray) {
_local8 = (_local7.rotation * MathUtils.PI_DIV_180);
_local7.y = (_arg1 + (_arg2 * Math.sin(_local8)));
_local7.rotation = (_local7.rotation + (500 * _local6));
};
_lastTime = _local3;
}
override public function update(_arg1:Number):void{
var _local2:EnemyObject;
super.update(_arg1);
if (_canApproach){
for each (_local2 in _groupArray) {
if ((_local2.y + _local2.height) >= 510){
_canApproach = false;
break;
};
};
};
}
public function getWLPenetrationDepthRight():Number{
var _local2:SceneObject;
var _local3:Number;
var _local1:Number = 0;
for each (_local2 in _groupArray) {
_local3 = (_local2.worldLimit.right - (_local2.getPositionX() + _local2.width));
if (_local3 < _local1){
_local1 = _local3;
};
};
return (Math.abs(_local1));
}
protected function layoutSineWave():void{
var _local2:EnemyObject;
if (((!(_groupArray)) || (!(_groupArray.length)))){
return;
};
var _local1 = 1;
for each (_local2 in _groupArray) {
_local1 = (_local1 + 50);
_local2.rotation = (_local2.rotation + _local1);
};
}
protected function doGroupApproach(_arg1:int):void{
var _local2:EnemyObject;
if (!_canApproach){
return;
};
for each (_local2 in _groupArray) {
_local2.setPositionY((_local2.getPositionY() + _arg1));
};
}
public function updateSpeed():void{
var _local1:SceneObject;
var _local2:Number;
var _local3:Number;
return;
_groupCountLastFrame = _groupArray.length;
}
public function getNewRandomRange(_arg1:Number, _arg2:Number):Number{
return (MathUtils.randRange(_arg1, _arg2));
}
}
}//package Enemy
Section 20
//EnemyObject (Enemy.EnemyObject)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class EnemyObject extends AnimatedSprite {
public var acceleration:Number;// = 0.5
public var speedUp:Number;// = 1
public var _explodeTemplate:AnimatedSprite;// = null
private var _level:Level;// = null
public var _isDead:Boolean;// = false
public var money:uint;
private var _explosionDelay:Number;// = 300
private var _explodeDuration:Number;// = 1000
private var _explosionCount:Number;// = 0
public var health:int;// = 5
private var _exploding:Boolean;// = false
public var bonusAerialShotMoney:uint;
public var enemyType:int;// = 0
public var points:uint;// = 125
public var bonusAerialShotPoints:uint;// = 50
public var _enemyAIController:EnemyAI;// = null
public var rateOfFire:uint;// = 1
public var _pilotEjected:Boolean;// = false
public function EnemyObject(_arg1:XML, _arg2:Scene, _arg3:int, _arg4:Boolean=false){
money = (30 * GlobalVarContainer.vars.cashDiffMult);
bonusAerialShotMoney = (50 * GlobalVarContainer.vars.cashDiffMult);
super(_arg1, _arg2, _arg4);
this.enemyType = _arg3;
collisionCallback = true;
worldLimCallback = true;
testWorldLims = true;
_level = (_arg2 as Level);
var _local5:Number = (_level.currLevelNum * 3);
health = (health + MathUtils.randRange((_local5 * 0.5), _local5));
_explodeTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("alienexplosion"), _arg2, false);
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
super.onWorldLimit(_arg1, _arg2);
if (StringUtils.contains(_arg2, "bottom")){
endExplosion();
};
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (_exploding){
doExplosions(_arg1);
};
}
override public function onRemove():void{
super.onRemove();
var _local1:int = Level.activeEntityArray.indexOf(this);
if (_local1 != -1){
Level.activeEntityArray.splice(_local1, 1);
};
}
public function startExplosion(_arg1:Number):void{
_exploding = true;
_explodeDuration = _arg1;
}
protected function doExplosions(_arg1:Number):void{
if (!_explodeTemplate){
return;
};
_explosionCount = (_explosionCount + _arg1);
_explodeDuration = (_explodeDuration - _arg1);
if (_explodeDuration <= 0){
endExplosion();
};
if (_explosionCount < _explosionDelay){
return;
};
_explosionCount = (_explosionCount - _explosionDelay);
var _local2:Number = getPositionX();
var _local3:Number = (_local2 + this.getFrameWidth());
var _local4:Number = getPositionY();
var _local5:Number = (_local4 + this.getFrameHeight());
var _local6:Number = MathUtils.randRange(_local2, _local3);
var _local7:Number = MathUtils.randRange(_local4, _local5);
var _local8:AnimatedSprite = _explodeTemplate.clone();
_local8.x = (_local6 - (_local8.width * 0.5));
_local8.y = (_local7 - (_local8.height * 0.5));
_local8.setAnimation("enemy_explode_0");
_local8.deleteOnEnd = true;
_local8.layer = (layer - 1);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
if (!(_arg1 is PlayerProj)){
return;
};
var _local3:PlayerProj = (_arg1 as PlayerProj);
health = (health - _local3.power);
super.onCollision(_arg1, _arg2);
}
public function endExplosion():void{
_exploding = false;
_explosionCount = 0;
_explodeDuration = 1000;
}
}
}//package Enemy
Section 21
//EnemyProj (Enemy.EnemyProj)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class EnemyProj extends AnimatedSprite {
protected var basePower:int;// = 1
protected var actualPower:int;// = 1
public function EnemyProj(_arg1:XML, _arg2:Scene, _arg3:int, _arg4:Boolean=true){
super(_arg1, _arg2, _arg4);
actualPower = (basePower * _arg3);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
if (!(_arg2 is PlayerObject)){
return;
};
var _local3:PlayerObject = (_arg2 as PlayerObject);
_local3.doHit(actualPower);
this.safeDelete();
collisionSend = false;
collisionReceive = false;
this.enabled = false;
}
override public function clone():AnimatedSprite{
var _local1:EnemyProj = new EnemyProj(_XMLDef, _scene, 1, true);
return (_local1);
}
}
}//package Enemy
Section 22
//FreeRoamingAI (Enemy.FreeRoamingAI)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import gs.*;
import gs.easing.*;
public class FreeRoamingAI extends EnemyAI {
public var shootPeriod:Number;// = 3000
public var moveTime:Number;// = 3
private var enemyObject:EnemyObject;// = null
private var _shootSched:Schedule;// = null
public var tweenTime:Number;// = 2
private var _currTween:TweenLite;// = null
public var stage:Stage;// = null
public function FreeRoamingAI(_arg1:EnemyObject, _arg2:Scene){
this.stage = _arg2.stage;
super(_arg1, _arg2);
enemyObject = _arg1;
Scheduler.setSchedule((moveTime * 1000), doNextMove, this);
_shootSched = Scheduler.setSchedule(MathUtils.randRange(2000, 3000), doShooting, this);
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (!enemyObject){
return;
};
if ((((enemyObject.health <= 0)) && (_currTween))){
if (Scheduler.isShedulePending(_shootSched)){
Scheduler.removeSchedule(_shootSched);
};
_currTween.clear();
};
}
override public function onRemove():void{
super.onRemove();
if (Scheduler.isShedulePending(_shootSched)){
Scheduler.removeSchedule(_shootSched);
};
}
private function doNextMove():void{
if (((!(_enemyObj)) || (_enemyObj._isDead))){
return;
};
var _local1:Number = MathUtils.randRange(20, (600 - _enemyObj.width));
var _local2:Number = MathUtils.randRange(50, (600 - 200));
TweenManager.to(_enemyObj, tweenTime, {x:_local1, y:_local2, ease:Back.easeOut});
Scheduler.setSchedule((moveTime * 1000), doNextMove, this);
}
public function doShooting():void{
doFiring();
_shootSched = Scheduler.setSchedule(MathUtils.randRange(3000, 4000), doShooting, this);
}
}
}//package Enemy
Section 23
//GridFormation (Enemy.GridFormation)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class GridFormation extends EnemyFormation {
private var _cols:int;// = 0
private var _speedMult:Number;// = 1
private var _startXVel:Number;// = 0
private var _rows:int;// = 0
private var _yPopdown:Number;// = 100
private var _lastLimHit:String;// = "none"
private var _limitMode:int;// = 4
public function GridFormation(_arg1:Scene, _arg2:Object){
super(_arg1, _arg2);
_rows = _arg2.rows;
_cols = _arg2.cols;
_startXVel = _arg2.startXVel;
_originalXVelocity = _arg2.startXVel;
generateGridFormation(_arg2.rows, _arg2.cols, _arg2.startXPos, _arg2.startYPos, _arg2.xspacing, _arg2.yspacing, _arg2.startXVel, _arg2.limMode, _arg2.layer, _arg2.enemyType);
_startChild = (_arg2.rows * _arg2.cols);
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
updateOnWorldLimit(_arg2);
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if ((((((_startXVel == 0)) || ((this._groupArray.length == _startChild)))) || ((_groupArray.length == _groupCountLastFrame)))){
return;
};
updateSpeed();
}
public function updateOnWorldLimit(_arg1:String):void{
var _local4:Number;
if (((((StringUtils.contains(_arg1, "bottom")) || (StringUtils.contains(_arg1, "top")))) || ((_limitMode == Scene.WORLD_LIM_MODE_TRANSFER)))){
return;
};
var _local2:SceneObject;
var _local3:Number = 0;
if (StringUtils.contains(_arg1, "left")){
_local4 = (getWLPenetrationDepthLeft() + 1);
if (_local4 > 0){
doGroupApproach(5);
};
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(-(_local2.getLinearVelocityX()));
_local2.setPositionX((_local2.getPositionX() + _local4));
};
_lastLimHit = "left";
return;
} else {
if (StringUtils.contains(_arg1, "right")){
_local4 = (getWLPenetrationDepthRight() + 1);
if (_local4 > 0){
doGroupApproach(5);
};
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(-(_local2.getLinearVelocityX()));
_local2.setPositionX((_local2.getPositionX() - _local4));
};
_lastLimHit = "right";
return;
};
};
_lastLimHit = "none";
}
public function generateGridFormation(_arg1:uint, _arg2:uint, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:int, _arg9:uint, _arg10:int):void{
var _local15:uint;
var _local16:EnemyObject;
var _local11:int = (_arg1 * _arg2);
var _local12:Number = _arg3;
var _local13:Number = _arg4;
_formationType = "GRID";
_limitMode = _arg8;
var _local14:uint;
while (_local14 < _arg1) {
_local15 = 0;
while (_local15 < _arg2) {
_local16 = EnemyFactory.createEnemyObject(_scene, _arg10, _local12, _local13, true, _arg8, true, _arg9);
_local16.frame = MathUtils.randRange(0, (_local16.numFrames - 1));
_local16.objectGroup = this;
_local16.worldLimit.left = 0;
_local16.worldLimit.right = 600;
this.addSceneObject(_local16);
if (_local16.limitMode == Scene.WORLD_LIM_MODE_TRANSFER){
_local16.worldLimit.left = (_local16.worldLimit.left - _local16.width);
_local16.worldLimit.right = (_local16.worldLimit.right + _local16.width);
};
_local12 = (_local12 + (_local16.renderable.getWidth() + _arg5));
_local16.setLinearVelocityX(_startXVel);
_local16.worldLimCallback = true;
GlobalVarContainer.vars.activeEntities++;
_local15++;
};
_local12 = _arg3;
_local13 = (_local13 + (_local16.renderable.getHeight() + _arg6));
_local14++;
};
Scheduler.setSchedule(MathUtils.randRange(1000, 3000), doRandomPairedFiring, this);
_groupCountLastFrame = _groupArray.length;
}
}
}//package Enemy
Section 24
//LargeBeam (Enemy.LargeBeam)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class LargeBeam extends AnimatedSprite {
public var _suppressTime:Number;// = 0
public var _shootTime:Number;// = 0
private var damage:uint;// = 2
public var _beamArray:Array;
public function LargeBeam(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
_beamArray = [];
super(_arg1, _arg2, _arg3);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
if (!(_arg2 is PlayerObject)){
return;
};
var _local3:PlayerObject = (_arg2 as PlayerObject);
_local3.armour = (_local3.armour - 2);
_suppressTime = (_shootTime / 2);
suppressCollision(true);
Scheduler.setSchedule((_suppressTime * 1000), suppressCollision, this, false);
}
public function cloneBeam():LargeBeam{
var _local1:LargeBeam = new LargeBeam(_XMLDef, _scene, true);
return (_local1);
}
private function suppressCollision(_arg1:Boolean):void{
var _local2:LargeBeam;
if (!_beamArray.length){
return;
};
for each (_local2 in _beamArray) {
_local2.collisionSend = !(_arg1);
};
}
}
}//package Enemy
Section 25
//PowerUp (Enemy.PowerUp)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.text.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
public class PowerUp extends AnimatedSprite {
private var _alienEscapePodSFX:SoundObject;// = null
private var _textFormat:TextFormat;// = null
private var _destroyCash:TextField;// = null
private var fadeTween:TweenLite;// = null
public var type:int;// = 1
public static const ROF_UP:int = 1;
public static const ARMOUR_UP:int = 0;
public function PowerUp(_arg1:XML, _arg2:Scene, _arg3:Boolean=true, _arg4:int=0){
super(_arg1, _arg2, _arg3);
worldLimCallback = true;
worldLimit.bottom = 585;
testWorldLims = true;
renderMethod = SceneObject.VECTOR_RENDERER;
this.type = _arg4;
switch (this.type){
case ARMOUR_UP:
setAnimation("powerupA");
break;
case ROF_UP:
setAnimation("powerupB");
break;
};
Level.activeEntityArray.push(this);
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 0xFFFFFF;
_textFormat.size = 10;
_textFormat.align = TextFormatAlign.CENTER;
_destroyCash = new TextField();
_destroyCash.embedFonts = true;
_destroyCash.antiAliasType = AntiAliasType.ADVANCED;
_destroyCash.autoSize = TextFieldAutoSize.CENTER;
_destroyCash.defaultTextFormat = _textFormat;
_destroyCash.text = "ARMOUR BONUS!";
_destroyCash.x = x;
_destroyCash.y = (y - height);
_destroyCash.selectable = false;
_destroyCash.mouseEnabled = false;
_destroyCash.textColor = 0xFFFFFF;
_destroyCash.name = "EnemyScoreText";
_alienEscapePodSFX = new SoundObject("sfx_escapepod0000", 1, false, 500);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:PlayerObject;
if ((_arg2 is PlayerObject)){
_local3 = (_arg2 as PlayerObject);
if (((_local3) && ((type == ARMOUR_UP)))){
_destroyCash.text = "ARMOUR UP!";
_destroyCash.x = ((x + (width * 0.5)) - (_destroyCash.width * 0.5));
_destroyCash.y = (y - 35);
scene.addChild(_destroyCash);
TweenManager.to(_destroyCash, 1.5, {y:(y - 30), alpha:0});
_local3.addArmour();
} else {
if (((_local3) && ((type == ROF_UP)))){
_destroyCash.text = "RATE OF FIRE UP!";
_destroyCash.x = ((x + (width * 0.5)) - (_destroyCash.width * 0.5));
_destroyCash.y = (y - 35);
scene.addChild(_destroyCash);
TweenManager.to(_destroyCash, 1.5, {y:(y - 30), alpha:0});
_local3.tempRaiseROF(3.5, 5000);
};
};
_alienEscapePodSFX.play();
if (fadeTween){
fadeTween.clear();
fadeTween = null;
};
safeDelete();
};
}
override public function onRemove():void{
super.onRemove();
var _local1:int = Level.activeEntityArray.indexOf(this);
if (_local1 != -1){
Level.activeEntityArray.splice(_local1, 1);
};
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
if (!StringUtils.contains(_arg2, "bottom")){
return;
};
_linearVelocity.x = 0;
_linearVelocity.y = 0;
constantForceX = 0;
constantForceY = 0;
collisionReceive = true;
collisionSend = true;
collisionGroup = 5;
setCollisionGroups([5], true);
collisionCallback = true;
y = (worldLimit.bottom - height);
fadeTween = TweenManager.to(this, 5, {_alpha:0, onComplete:safeDelete});
}
override public function clone():AnimatedSprite{
return ((new PowerUp(_XMLDef, _scene, true) as AnimatedSprite));
}
}
}//package Enemy
Section 26
//SineWave (Enemy.SineWave)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class SineWave extends EnemyFormation {
private var limitMode:int;
private var num:uint;
private var startXVel:Number;
private var xspacing:int;
private var startXPos:Number;
private var layer:uint;
private var radius:int;
private var startChild:int;// = 0
private var startYPos:Number;
private var enemyType:int;
private var _aiProfile:int;// = 0
private var _lastLimHit:String;// = "none"
private var periodicy:Number;
public function SineWave(_arg1:Scene, _arg2:Object){
super(_arg1, _arg2);
this.num = _arg2.num;
this.radius = _arg2.radius;
this.periodicy = _arg2.periodicy;
this.startXPos = _arg2.startXPos;
this.startYPos = _arg2.startYPos;
this.xspacing = _arg2.xspacing;
this.layer = _arg2.layer;
this.limitMode = _arg2.limitMode;
this.startXVel = _arg2.startXVel;
this.enemyType = _arg2.enemyType;
_aiProfile = _arg2.aiprofile;
startChild = _arg2.num;
generateSineWave();
}
public function updateOnWorldLimit(_arg1:String):void{
var _local4:Number;
if (((((StringUtils.contains(_arg1, "bottom")) || (StringUtils.contains(_arg1, "top")))) || ((limitMode == Scene.WORLD_LIM_MODE_TRANSFER)))){
return;
};
var _local2:SceneObject;
var _local3:Number = 0;
if (StringUtils.contains(_arg1, "left")){
_local4 = (getWLPenetrationDepthLeft() + 1);
if (_local4 > 0){
doGroupApproach(5);
};
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(-(_local2.getLinearVelocityX()));
_local2.setPositionX((_local2.getPositionX() + _local4));
};
_lastLimHit = "left";
return;
} else {
if (StringUtils.contains(_arg1, "right")){
_local4 = (getWLPenetrationDepthRight() + 1);
if (_local4 > 0){
doGroupApproach(5);
};
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(-(_local2.getLinearVelocityX()));
_local2.setPositionX((_local2.getPositionX() - _local4));
};
_lastLimHit = "right";
return;
};
};
_lastLimHit = "none";
}
override public function onWorldLimit(_arg1:int, _arg2:String):void{
updateOnWorldLimit(_arg2);
}
override public function update(_arg1:Number):void{
super.update(_arg1);
this.updateSineLayout(this.startYPos, this.radius);
if ((((((startXVel == 0)) || ((this._groupArray.length == _startChild)))) || ((_groupArray.length == _groupCountLastFrame)))){
return;
};
updateSpeed();
}
private function generateSineWave():void{
var _local4:EnemyObject;
var _local1:Number = startXPos;
var _local2:Number = startYPos;
var _local3:uint;
while (_local3 < num) {
_local4 = EnemyFactory.createEnemyObject(_scene, enemyType, _local1, _local2, true, limitMode, true, layer, _aiProfile);
_local4.frame = MathUtils.randRange(0, (_local4.numFrames - 1));
_local4.worldLimit.left = 0;
_local4.worldLimit.right = 600;
_local4.objectGroup = this;
_groupArray.push(_local4);
if (_local4.limitMode == Scene.WORLD_LIM_MODE_TRANSFER){
_local4.worldLimit.left = (_local4.worldLimit.left - _local4.width);
_local4.worldLimit.right = (_local4.worldLimit.right + _local4.width);
};
_local4.setLinearVelocityX(startXVel);
_local4.worldLimCallback = true;
_local1 = (_local1 + (_local4.width + xspacing));
_local3++;
};
Scheduler.setSchedule(MathUtils.randRange(1000, 3000), doRandomPairedFiring, this);
this.layoutSineWave();
}
}
}//package Enemy
Section 27
//SpecialShip (Enemy.SpecialShip)
package Enemy {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Player.*;
public class SpecialShip extends AnimatedSprite {
private var powerupTemplate:PowerUp;// = null
private var maxExplosions:int;// = 5
private var explodeCount:int;// = 0
public function SpecialShip(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
super(_arg1, _arg2, _arg3);
}
override public function onRemove():void{
super.onRemove();
var _local1:int = Level.activeEntityArray.indexOf(this);
if (_local1 != -1){
Level.activeEntityArray.splice(_local1, 1);
};
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:PowerUp;
super.onCollision(_arg1, _arg2);
if ((_arg1 is PlayerProj)){
_local3 = new PowerUp(AssetImporter.getXMLAsset("powerupA"), _scene, true, MathUtils.randRange(PowerUp.ARMOUR_UP, PowerUp.ROF_UP));
_local3.setConstantForceY(250);
_local3.x = ((x + (width * 0.5)) - (_local3.width * 0.5));
_local3.y = 70;
_local3.layer = (layer + 1);
collisionReceive = false;
collisionCallback = false;
safeDelete();
spawnDeathExplosion();
};
}
override public function clone():AnimatedSprite{
return ((new SpecialShip(_XMLDef, _scene, true) as AnimatedSprite));
}
private function spawnDeathExplosion():void{
var _local1:AnimatedSprite = new AnimatedSprite(AssetImporter.getXMLAsset("alienexplosion"), _scene, true);
_local1.setAnimation("enemy_explode_0");
_local1.x = (MathUtils.randRange(x, (x + width)) - (_local1.width * 0.5));
_local1.y = (MathUtils.randRange(y, (y + height)) - (_local1.height * 0.5));
_local1.deleteOnEnd = true;
_local1.layer = (this.layer - 1);
explodeCount++;
if (explodeCount < maxExplosions){
Scheduler.setSchedule(200, spawnDeathExplosion, this);
};
}
}
}//package Enemy
Section 28
//Highscore (GameStates.Highscore)
package GameStates {
import flash.display.*;
import flash.text.*;
public class Highscore extends Sprite {
public var score:TextField;// = null
public var username:TextField;// = null
public function Highscore(_arg1:String, _arg2:String, _arg3:TextFormat, _arg4:TextFormat){
username = createTextField(_arg1, _arg3, 0, 0);
this.score = createTextField(_arg2, _arg4, 130, 0);
addChild(username);
addChild(this.score);
}
private function createTextField(_arg1:String, _arg2:TextFormat, _arg3:Number=0, _arg4:Number=0, _arg5:uint=8765151, _arg6:String="left"):TextField{
var _local7:TextField = new TextField();
_local7.embedFonts = true;
_local7.defaultTextFormat = _arg2;
_local7.text = _arg1;
_local7.textColor = _arg5;
_local7.width = 250;
_local7.x = _arg3;
_local7.y = _arg4;
_local7.selectable = false;
_local7.mouseEnabled = false;
_local7.cacheAsBitmap = true;
_local7.autoSize = _arg6;
_local7.antiAliasType = AntiAliasType.ADVANCED;
_local7.mouseEnabled = false;
_local7.selectable = false;
return (_local7);
}
}
}//package GameStates
Section 29
//Highscores (GameStates.Highscores)
package GameStates {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import ToadLib.ui.*;
public class Highscores extends Sprite {
private const HIGHSCORETEXTSIZE:int = 10;
private var titleimage:Bitmap;// = null
private var _textFormat:TextFormat;// = null
private var hs:Array;
private var textArray:Array;
private var _textFormatScore:TextFormat;// = null
private var backButton:SimpleTextButton;// = null
public function Highscores(_arg1:Level){
var _local6:Highscore;
textArray = [];
hs = [];
super();
var _local2 = "AssetImporter_titlemenubg_00PNG";
var _local3:Class = Class(getDefinitionByName(_local2));
titleimage = Bitmap(new (_local3));
addChild(titleimage);
visible = false;
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 8765151;
_textFormat.size = HIGHSCORETEXTSIZE;
_textFormat.align = TextFormatAlign.LEFT;
_textFormatScore = new TextFormat();
_textFormatScore.font = "MarsAttacks";
_textFormatScore.color = 8765151;
_textFormatScore.size = HIGHSCORETEXTSIZE;
_textFormatScore.align = TextFormatAlign.RIGHT;
var _local4 = 145;
var _local5:int;
while (_local5 < 15) {
_local6 = new Highscore("", "", _textFormat, _textFormatScore);
_local6.y = _local4;
_local6.x = 30;
_local4 = (_local4 + (HIGHSCORETEXTSIZE + 5));
addChild(_local6);
hs.push(_local6);
_local5++;
};
backButton = new SimpleTextButton("AssetImporter_buttonupstate", "AssetImporter_buttonhover", "AssetImporter_buttondownstate", 0xFFFFFF, 12);
backButton.x = ((titleimage.width * 0.5) - (backButton.width * 0.5));
backButton.y = 380;
backButton.addEventListener(MouseEvent.CLICK, onBackButton);
addChild(backButton);
}
public function hide():void{
visible = false;
}
public function scoresCallback(_arg1:Object):void{
var _local3:Highscore;
if (((!(_arg1)) || (!(_arg1.list)))){
return;
};
var _local2:int;
while (_local2 < _arg1.list.length) {
_local3 = (hs[_local2] as Highscore);
_local3.username.text = _arg1.list[_local2].username;
_local3.score.text = _arg1.list[_local2].score;
_local2++;
};
}
public function show():void{
if (!titleimage){
return;
};
visible = true;
}
private function onBackButton(_arg1:MouseEvent):void{
hide();
}
}
}//package GameStates
Section 30
//Instructions (GameStates.Instructions)
package GameStates {
import flash.display.*;
import flash.utils.*;
public class Instructions extends Sprite {
private var instructionImage:Bitmap;// = null
public function Instructions(_arg1:Level){
var _local2 = "AssetImporter_instructions0000PNG";
var _local3:Class = Class(getDefinitionByName(_local2));
instructionImage = Bitmap(new (_local3));
addChild(instructionImage);
visible = false;
}
public function hide():void{
if (!instructionImage){
return;
};
visible = false;
}
public function show():void{
if (!instructionImage){
return;
};
visible = true;
}
}
}//package GameStates
Section 31
//ShopScreen (GameStates.ShopScreen)
package GameStates {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import flash.text.*;
import ToadLib.audio.*;
import Player.*;
import flash.utils.*;
import flash.ui.*;
public class ShopScreen extends Sprite {
private const RANK_YSTART:int = 20;
private const BUTTON_YSPACING:int = -2;
private const SPEED_POS:uint = 2;
private const BUTTON_YSTART:int = 65;
private const ARMOUR_BASE:uint = 150;
private const RANK_XSTART:int = 320;
private const BUTTON_TEST_YSPACING:int = 40;
private const CANON_BASE:uint = 700;
private const RANK_XSPACING:int = -7;
private const ADDON_BASE:uint = 3500;
private const ADDON_POS:uint = 3;
private const CANON_POS:uint = 1;
private const ROF_POS:uint = 4;
private const ROF_BASE:uint = 1500;
private const PRICE_XSTART:int = 207;
private const BUTTON_XPOS:int = 15;
private const ARMOUR_POS:uint = 0;
private const SPEED_BASE:uint = 500;
private var addonsText:TextField;// = null
private var upgradeROF:TextField;// = null
private var upgradeArmourText:TextField;// = null
private var moneyText:TextField;// = null
private var levelsCompleteText:TextField;// = null
private var ROFCost:uint;// = 1500
public var _keyboardButton:Bitmap;// = null
private var _isDownKeyDown:Boolean;// = false
private var ROFPrice:TextField;// = null
private var _textFormat:TextFormat;// = null
private var canonCost:uint;// = 700
private var addonCost:uint;// = 3500
private var ROFButton:SimpleButton;// = null
public var scoreNumberField:TextField;// = null
private var speedPrice:TextField;// = null
private var _textFormatPrices:TextFormat;// = null
public var playerObj:PlayerObject;// = null
private var upgradeSpeedText:TextField;// = null
private var speedButton:SimpleButton;// = null
private var _currMenuSelection:int;// = 0
private var armourCost:uint;// = 150
private var continueText:TextField;// = null
private var _buttonArray:Array;
private var _mouseClick:SoundObject;// = null
private var addonButton:SimpleButton;// = null
private var level:Level;// = null
private var blankRankArray:Array;
private var _buttonsEnabled:Boolean;// = true
private var rankImgArray:Array;
public var continueButton:SimpleButton;// = null
private var speedCost:uint;// = 500
private var _isUpKeyDown:Boolean;// = false
private var upgradeCanonText:TextField;// = null
private var canonButton:SimpleButton;// = null
private var armourButton:SimpleButton;// = null
private var armourPrice:TextField;// = null
private var _buttonHeight:Number;// = 0
private var canonPrice:TextField;// = null
private var scoreText:TextField;// = null
private var _isEnterDown:Boolean;// = false
private var tankrankBM:BitmapSprite;// = null
private var numFields:uint;// = 5
private var addonPrice:TextField;// = null
private var windowBack:Bitmap;// = null
private var numRanks:uint;// = 5
public var cashNumberField:TextField;// = null
public function ShopScreen(_arg1:Level){
var _local4:Array;
var _local5:uint;
var _local6:Bitmap;
rankImgArray = [];
blankRankArray = [];
_buttonArray = [];
super();
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 8765151;
_textFormat.size = 10;
_textFormat.align = "center";
_textFormatPrices = new TextFormat();
_textFormatPrices.font = "MarsAttacks";
_textFormatPrices.color = 8765151;
_textFormatPrices.size = 12;
_textFormatPrices.align = TextFormatAlign.LEFT;
this.level = _arg1;
if (this.level){
playerObj = this.level.getPlayerObject();
};
setupShopScreen();
var _local2:Bitmap = AssetImporter.getBitmapAsset("AssetImporter_tankrank0");
setupBlankImages();
var _local3:uint;
while (_local3 < numFields) {
_local4 = new Array();
_local5 = 0;
while (_local5 < numRanks) {
_local6 = new Bitmap(_local2.bitmapData);
addChild(_local6);
_local4.push(_local6);
_local5++;
};
rankImgArray.push(_local4);
_local3++;
};
setTankRankPos(rankImgArray);
setTankRankPos(blankRankArray);
update();
_arg1.flashStage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
_arg1.flashStage.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp);
_mouseClick = new SoundObject("sfx_mouseclick0000", 1, false, 10);
}
private function handleKeyUp(_arg1:KeyboardEvent):void{
if (!_buttonsEnabled){
return;
};
switch (_arg1.keyCode){
case Keyboard.CONTROL:
case Keyboard.SHIFT:
case Keyboard.ENTER:
case Keyboard.SPACE:
handleSelect();
break;
case Keyboard.UP:
if (!_isUpKeyDown){
moveSelectionUp();
};
break;
case Keyboard.DOWN:
if (!_isDownKeyDown){
moveSelectionDown();
};
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "w":
case "W":
if (!_isUpKeyDown){
moveSelectionUp();
};
break;
case "s":
case "S":
if (!_isDownKeyDown){
moveSelectionDown();
};
break;
case "x":
case "X":
case "Z":
case "z":
_isEnterDown = false;
break;
};
}
private function setupPriceText():void{
armourPrice = addTextField(("$" + armourCost.toString()), 0, 0);
armourPrice.defaultTextFormat = _textFormatPrices;
armourPrice.x = PRICE_XSTART;
armourPrice.y = (((armourButton.y + (armourButton.height * 0.5)) - (armourPrice.height * 0.5)) + BUTTON_TEST_YSPACING);
canonPrice = addTextField(("$" + canonCost.toString()), 0, 0);
canonPrice.defaultTextFormat = _textFormatPrices;
canonPrice.x = PRICE_XSTART;
canonPrice.y = (((canonButton.y + (canonButton.height * 0.5)) - (canonPrice.height * 0.5)) + BUTTON_TEST_YSPACING);
speedPrice = addTextField(("$" + speedCost.toString()), 0, 0);
speedPrice.defaultTextFormat = _textFormatPrices;
speedPrice.x = PRICE_XSTART;
speedPrice.y = (((speedButton.y + (speedButton.height * 0.5)) - (speedPrice.height * 0.5)) + BUTTON_TEST_YSPACING);
addonPrice = addTextField(("$" + addonCost.toString()), 0, 0);
addonPrice.defaultTextFormat = _textFormatPrices;
addonPrice.x = PRICE_XSTART;
addonPrice.y = (((addonButton.y + (addonButton.height * 0.5)) - (addonPrice.height * 0.5)) + BUTTON_TEST_YSPACING);
ROFPrice = addTextField(("$" + ROFCost.toString()), 0, 0);
ROFPrice.defaultTextFormat = _textFormatPrices;
ROFPrice.x = PRICE_XSTART;
ROFPrice.y = (((ROFButton.y + (ROFButton.height * 0.5)) - (ROFPrice.height * 0.5)) + BUTTON_TEST_YSPACING);
}
private function setupButton(_arg1:String, _arg2:SimpleButton):void{
var _local3:Bitmap = AssetImporter.getBitmapAsset((_arg1 + "upstate"));
var _local4:Bitmap = AssetImporter.getBitmapAsset((_arg1 + "downstate"));
var _local5:Bitmap = AssetImporter.getBitmapAsset((_arg1 + "hover"));
_arg2.upState = _local3;
_arg2.downState = _local4;
_arg2.overState = _local5;
_arg2.hitTestState = _local3;
}
private function ROFOnClick(_arg1:Event):void{
if (!this.playerObj){
return;
};
if ((((playerObj.money < ROFCost)) || ((playerObj.ROFLevel >= PlayerObject.MAX_ROF)))){
return;
};
playerObj.addMoney(-(ROFCost));
this.playerObj.addROF();
update();
if (_mouseClick){
_mouseClick.play();
};
}
public function setupBlankImages():void{
var _local3:Array;
var _local4:uint;
var _local5:Bitmap;
var _local1:Bitmap = AssetImporter.getBitmapAsset("AssetImporter_tankrankback0");
var _local2:uint;
while (_local2 < numFields) {
_local3 = new Array();
_local4 = 0;
while (_local4 < numRanks) {
_local5 = new Bitmap(_local1.bitmapData);
addChild(_local5);
_local3.push(_local5);
_local4++;
};
blankRankArray.push(_local3);
_local2++;
};
}
private function setRanksVisible(_arg1:uint, _arg2:uint):void{
var _local3:uint;
var _local4:uint = playerObj.armourLevel;
var _local5:Boolean;
if (_local3 == _arg2){
_local5 = false;
};
var _local6:uint;
while (_local6 < 5) {
rankImgArray[_arg1][_local6].visible = _local5;
_local3++;
if (_local3 == _arg2){
_local5 = false;
};
_local6++;
};
}
private function updateCost():void{
if (!playerObj){
return;
};
armourCost = ((playerObj.armourLevel + 1) * ARMOUR_BASE);
canonCost = ((playerObj.canonLevel + 1) * CANON_BASE);
speedCost = ((playerObj.speedLevel + 1) * SPEED_BASE);
addonCost = ((playerObj.numAddons + 1) * ADDON_BASE);
ROFCost = ((playerObj.ROFLevel + 1) * ROF_BASE);
armourPrice.text = ("$" + armourCost.toString());
canonPrice.text = ("$" + canonCost.toString());
speedPrice.text = ("$" + speedCost.toString());
if (playerObj.numAddons == PlayerObject.MAX_ADDON){
addonPrice.text = "MAXED!";
} else {
addonPrice.text = ("$" + addonCost.toString());
};
ROFPrice.text = ("$" + ROFCost.toString());
moneyText.text = "CASH";
scoreText.text = "SCORE";
cashNumberField.text = ("$" + playerObj.money.toString());
scoreNumberField.text = playerObj.currPoints.toString();
levelsCompleteText.text = ((" Level " + level.currLevelNum.toString()) + "\n Complete!");
}
private function canonOnClick(_arg1:Event):void{
if (!this.playerObj){
return;
};
if ((((playerObj.money < canonCost)) || ((playerObj.canonLevel >= PlayerObject.MAX_CANON)))){
return;
};
playerObj.addMoney(-(canonCost));
playerObj.addCanonPower();
update();
if (_mouseClick){
_mouseClick.play();
};
}
private function continueOnClick(_arg1:Event):void{
if (!_buttonsEnabled){
return;
};
level.onContinueButton(null);
disableButtons();
if (_mouseClick){
_mouseClick.play();
};
}
private function handleSelect():void{
if (!_buttonsEnabled){
return;
};
var _local1:SimpleButton;
_local1 = _buttonArray[_currMenuSelection];
if (!_local1){
return;
};
if (_local1.name == "armour"){
armourOnClick(null);
} else {
if (_local1.name == "cannon"){
canonOnClick(null);
} else {
if (_local1.name == "speed"){
speedOnClick(null);
} else {
if (_local1.name == "addon"){
addonOnClick(null);
} else {
if (_local1.name == "rateoffire"){
ROFOnClick(null);
} else {
if (_local1.name == "continue"){
continueOnClick(null);
};
};
};
};
};
};
}
private function setupShopScreen():void{
armourButton = new SimpleButton();
setupButton("AssetImporter_button", armourButton);
armourButton.x = BUTTON_XPOS;
armourButton.y = BUTTON_YSTART;
armourButton.name = "armour";
_buttonArray.push(armourButton);
_buttonHeight = armourButton.height;
canonButton = new SimpleButton();
setupButton("AssetImporter_button", canonButton);
canonButton.x = BUTTON_XPOS;
canonButton.y = (canonButton.y + ((armourButton.y + armourButton.height) + BUTTON_YSPACING));
canonButton.name = "cannon";
_buttonArray.push(canonButton);
speedButton = new SimpleButton();
setupButton("AssetImporter_button", speedButton);
speedButton.x = BUTTON_XPOS;
speedButton.y = (speedButton.y + ((canonButton.y + canonButton.height) + BUTTON_YSPACING));
speedButton.name = "speed";
_buttonArray.push(speedButton);
addonButton = new SimpleButton();
setupButton("AssetImporter_button", addonButton);
addonButton.x = BUTTON_XPOS;
addonButton.y = (addonButton.y + ((speedButton.y + speedButton.height) + BUTTON_YSPACING));
addonButton.name = "addon";
_buttonArray.push(addonButton);
ROFButton = new SimpleButton();
setupButton("AssetImporter_button", ROFButton);
ROFButton.x = BUTTON_XPOS;
ROFButton.y = (ROFButton.y + ((addonButton.y + addonButton.height) + BUTTON_YSPACING));
ROFButton.name = "rateoffire";
_buttonArray.push(ROFButton);
continueButton = new SimpleButton();
setupButton("AssetImporter_button", continueButton);
continueButton.x = BUTTON_XPOS;
continueButton.y = (continueButton.y + ((ROFButton.y + ROFButton.height) + BUTTON_YSPACING));
continueButton.name = "continue";
_buttonArray.push(continueButton);
var _local1 = ("AssetImporter_" + "optionsbg_00PNG");
var _local2:Class = Class(getDefinitionByName(_local1));
windowBack = Bitmap(new (_local2));
addChild(windowBack);
addChild(armourButton);
addChild(canonButton);
addChild(speedButton);
addChild(addonButton);
addChild(ROFButton);
addChild(continueButton);
this.x = (300 - (windowBack.width * 0.5));
this.y = (300 - (windowBack.height * 0.5));
_local1 = "AssetImporter_buttondownstate";
_local2 = Class(getDefinitionByName(_local1));
_keyboardButton = Bitmap(new (_local2));
_keyboardButton.visible = true;
_keyboardButton.x = BUTTON_XPOS;
_keyboardButton.y = BUTTON_YSTART;
addChild(_keyboardButton);
setupButtonText();
setupPriceText();
layoutText();
addEventListeners();
}
private function handleKeyDown(_arg1:KeyboardEvent):void{
if (!_buttonsEnabled){
return;
};
switch (_arg1.keyCode){
case Keyboard.CONTROL:
case Keyboard.SHIFT:
case Keyboard.ENTER:
case Keyboard.SPACE:
if (!_isEnterDown){
return;
};
_isEnterDown = false;
break;
case Keyboard.UP:
_isUpKeyDown = false;
break;
case Keyboard.DOWN:
_isDownKeyDown = false;
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "w":
case "W":
_isUpKeyDown = false;
break;
case "s":
case "S":
_isDownKeyDown = false;
break;
case "x":
case "X":
case "Z":
case "z":
if (((!(_isEnterDown)) && (_buttonsEnabled))){
handleSelect();
};
break;
};
}
public function addTextField(_arg1:String, _arg2:Number, _arg3:Number, _arg4:uint=8765151):TextField{
var _local5:TextField = new TextField();
_local5.embedFonts = true;
_local5.antiAliasType = AntiAliasType.ADVANCED;
_local5.defaultTextFormat = _textFormat;
_local5.text = _arg1;
_local5.textColor = _arg4;
_local5.width = 250;
_local5.x = _arg2;
_local5.y = _arg3;
_local5.selectable = false;
_local5.cacheAsBitmap = true;
_local5.mouseEnabled = false;
addChild(_local5);
return (_local5);
}
private function removeEventListeners():void{
armourButton.removeEventListener(MouseEvent.CLICK, armourOnClick);
canonButton.removeEventListener(MouseEvent.CLICK, canonOnClick);
speedButton.removeEventListener(MouseEvent.CLICK, speedOnClick);
addonButton.removeEventListener(MouseEvent.CLICK, addonOnClick);
ROFButton.removeEventListener(MouseEvent.CLICK, ROFOnClick);
}
private function armourOnClick(_arg1:Event):void{
if (!this.playerObj){
return;
};
if ((((playerObj.money < armourCost)) || ((playerObj.armourLevel >= PlayerObject.MAX_ARMOUR)))){
return;
};
playerObj.addMoney(-(armourCost));
playerObj.addArmour();
update();
if (_mouseClick){
_mouseClick.play();
};
}
private function layoutText():void{
upgradeArmourText.x = ((armourButton.x + (armourButton.width * 0.5)) - (upgradeArmourText.width * 0.5));
upgradeArmourText.y = (((armourButton.y + (armourButton.height * 0.5)) - (upgradeArmourText.height * 0.5)) + BUTTON_TEST_YSPACING);
upgradeCanonText.x = ((canonButton.x + (canonButton.width * 0.5)) - (upgradeCanonText.width * 0.5));
upgradeCanonText.y = (((canonButton.y + (canonButton.height * 0.5)) - (upgradeCanonText.height * 0.5)) + BUTTON_TEST_YSPACING);
upgradeSpeedText.x = ((speedButton.x + (speedButton.width * 0.5)) - (upgradeSpeedText.width * 0.5));
upgradeSpeedText.y = (((speedButton.y + (speedButton.height * 0.5)) - (upgradeSpeedText.height * 0.5)) + BUTTON_TEST_YSPACING);
addonsText.x = ((addonButton.x + (addonButton.width * 0.5)) - (addonsText.width * 0.5));
addonsText.y = (((addonButton.y + (addonButton.height * 0.5)) - (addonsText.height * 0.5)) + BUTTON_TEST_YSPACING);
upgradeROF.x = ((ROFButton.x + (ROFButton.width * 0.5)) - (upgradeROF.width * 0.5));
upgradeROF.y = (((ROFButton.y + (ROFButton.height * 0.5)) - (upgradeROF.height * 0.5)) + BUTTON_TEST_YSPACING);
continueText.x = ((continueButton.x + (continueButton.width * 0.5)) - (continueText.width * 0.5));
continueText.y = (((continueButton.y + (continueButton.height * 0.5)) - (continueText.height * 0.5)) + BUTTON_TEST_YSPACING);
}
private function setTankRankPos(_arg1:Array):void{
var _local6:uint;
var _local7:Bitmap;
var _local2:uint = RANK_XSTART;
var _local3:uint = _local2;
var _local4:uint = (BUTTON_YSTART - 1.5);
var _local5:uint;
while (_local5 < numFields) {
_local6 = 0;
while (_local6 < numRanks) {
_local7 = _arg1[_local5][_local6];
_local7.x = _local3;
_local7.y = _local4;
_local3 = (_local3 + (_local7.width + RANK_XSPACING));
_local6++;
};
_local3 = _local2;
_local4 = (_local4 + (_buttonHeight + BUTTON_YSPACING));
_local5++;
};
}
public function enableButtons():void{
var _local1:SimpleButton;
_buttonsEnabled = true;
for each (_local1 in _buttonArray) {
_local1.mouseEnabled = true;
_local1.enabled = true;
};
addEventListeners();
}
public function disableButtons():void{
var _local1:SimpleButton;
_buttonsEnabled = false;
for each (_local1 in _buttonArray) {
_local1.mouseEnabled = false;
_local1.enabled = false;
};
removeEventListeners();
}
private function addonOnClick(_arg1:Event):void{
if (!this.playerObj){
return;
};
if ((((playerObj.money < addonCost)) || ((playerObj.numAddons >= PlayerObject.MAX_ADDON)))){
return;
};
playerObj.addMoney(-(addonCost));
playerObj.addAddon();
update();
if (_mouseClick){
_mouseClick.play();
};
}
private function speedOnClick(_arg1:Event):void{
if (!this.playerObj){
return;
};
if ((((playerObj.money < speedCost)) || ((playerObj.speedLevel >= PlayerObject.MAX_SPEED)))){
return;
};
playerObj.addMoney(-(speedCost));
this.playerObj.doSpeedUp();
update();
if (_mouseClick){
_mouseClick.play();
};
}
private function moveSelectionUp():void{
var _local1:SimpleButton;
_isUpKeyDown = true;
_currMenuSelection--;
_currMenuSelection = MathUtils.clamp(_currMenuSelection, 0, (_buttonArray.length - 1));
_local1 = _buttonArray[_currMenuSelection];
_keyboardButton.x = _local1.x;
_keyboardButton.y = _local1.y;
_keyboardButton.visible = true;
}
private function addEventListeners():void{
armourButton.addEventListener(MouseEvent.CLICK, armourOnClick);
canonButton.addEventListener(MouseEvent.CLICK, canonOnClick);
speedButton.addEventListener(MouseEvent.CLICK, speedOnClick);
addonButton.addEventListener(MouseEvent.CLICK, addonOnClick);
ROFButton.addEventListener(MouseEvent.CLICK, ROFOnClick);
}
public function update():void{
if (!playerObj){
return;
};
setRanksVisible(0, playerObj.armourLevel);
setRanksVisible(1, playerObj.canonLevel);
setRanksVisible(2, playerObj.speedLevel);
setRanksVisible(3, playerObj.numAddons);
setRanksVisible(4, playerObj.ROFLevel);
updateCost();
}
private function setupButtonText():void{
upgradeArmourText = addTextField("ARMOUR", 0, 0);
upgradeCanonText = addTextField("CANNON", 0, 0);
upgradeSpeedText = addTextField("SPEED", 0, 0);
addonsText = addTextField("ADD-ON", 0, 0);
upgradeROF = addTextField("RATE OF FIRE", 0, 0);
continueText = addTextField("CONTINUE", 0, 0);
moneyText = addTextField("CASH:", 210, 30);
moneyText.defaultTextFormat = _textFormatPrices;
scoreText = addTextField("SCORE:", 210, 10);
scoreText.defaultTextFormat = _textFormatPrices;
levelsCompleteText = addTextField("LEVEL:", 42, 11);
levelsCompleteText.defaultTextFormat = _textFormatPrices;
cashNumberField = addTextField("", 325, 30);
cashNumberField.defaultTextFormat = _textFormatPrices;
scoreNumberField = addTextField("", 335, 10);
scoreNumberField.defaultTextFormat = _textFormatPrices;
addChild(upgradeArmourText);
addChild(upgradeCanonText);
addChild(upgradeSpeedText);
addChild(addonsText);
addChild(upgradeROF);
addChild(continueText);
addChild(moneyText);
}
private function moveSelectionDown():void{
var _local1:SimpleButton;
_isDownKeyDown = true;
_currMenuSelection++;
_currMenuSelection = MathUtils.clamp(_currMenuSelection, 0, (_buttonArray.length - 1));
_local1 = _buttonArray[_currMenuSelection];
_keyboardButton.x = _local1.x;
_keyboardButton.y = _local1.y;
_keyboardButton.visible = true;
}
}
}//package GameStates
Section 32
//TitleScreen (GameStates.TitleScreen)
package GameStates {
import flash.events.*;
import ToadLib.Framework.*;
import flash.display.*;
import flash.text.*;
import ToadLib.audio.*;
import gs.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.ui.*;
public class TitleScreen extends Sprite {
private const BUTTON_YSPACING:uint = 10;
private const BUTTON_YPOS:uint = 0xFF;
private const STATE_INGAME:int = 1;
private const BUTTON_XPOS:uint = 209;
private const STATE_TITLESCREEN:int = 0;
private var _menubg:Bitmap;// = null
private var titlescreenBM:Bitmap;// = null
private var toadtripButton:SimpleButton;// = null
private var _isDownKeyDown:Boolean;// = false
private var _keyboardButton:Bitmap;// = null
private var _textFormat:TextFormat;// = null
private var _buttonText:Array;
private var _moreGamesPlate:Bitmap;// = null
private var _optionsText:TextField;// = null
private var instructionsFocus:Boolean;// = false
private var instructionsButton:SimpleButton;// = null
private var highscoresButton:SimpleButton;// = null
private var _currMenuSelection:int;// = 0
private var _blurFilter:BlurFilter;
private var _continueGameText:TextField;// = null
private var currButt:SimpleButton;// = null
private var optionsButton:SimpleButton;// = null
private var continuePressed:Boolean;// = false
private var _mouseClick:SoundObject;// = null
private var _highscoreText:TextField;// = null
public var _titleLoopMusic:SoundObject;// = null
private var _scene:Level;// = null
private var _buttonArray:Array;
private var ttBackButton:SimpleButton;// = null
private var _buttonsEnabled:Boolean;// = true
private var _resumeText:TextField;// = null
private var _state:int;// = 0
private var _startGameSchedule:Schedule;// = null
private var _toadtripText:TextField;// = null
private var _isUpKeyDown:Boolean;// = false
private var resumeButton:SimpleButton;// = null
private var _startGameText:TextField;// = null
private var highscoreScreen:Highscores;// = null
private var startGameButton:SimpleButton;// = null
private var continueGameButton:SimpleButton;// = null
private var _instructionsText:TextField;// = null
public var isDisplayed:Boolean;// = false
private var _backButtonText:TextField;// = null
private var _isEnterDown:Boolean;// = false
private var instructionsState:Instructions;// = null
private var _moreGames:Bitmap;// = null
private var emailButton:SimpleButton;// = null
private var backButton:SimpleButton;// = null
private var _emailButtonText:TextField;// = null
public function TitleScreen(_arg1:Level){
_blurFilter = new BlurFilter(16, 16);
_buttonArray = [];
_buttonText = [];
super();
_scene = _arg1;
setupTitlescreen();
_titleLoopMusic = new SoundObject("mus_titlescreen_0000", 0, true);
_titleLoopMusic.play(true);
_titleLoopMusic.fadeIn(1, 1);
_mouseClick = new SoundObject("sfx_mouseclick0000", 1);
_mouseClick.delay = 500;
_arg1.stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
_arg1.stage.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp);
updateMenuSelection();
instructionsState = new Instructions(_arg1);
instructionsState.x = 0;
instructionsState.y = (550 - instructionsState.height);
addChild(instructionsState);
instructionsState.addChild(backButton);
backButton.x = ((instructionsState.x + (instructionsState.width * 0.5)) - (backButton.width * 0.5));
backButton.y = (instructionsState.height - backButton.height);
instructionsState.addChild(_backButtonText);
_backButtonText.y = ((instructionsState.height - (backButton.height * 0.5)) - (_backButtonText.height * 0.5));
_backButtonText.x = ((instructionsState.x + (instructionsState.width * 0.5)) - (_backButtonText.width * 0.5));
highscoreScreen = new Highscores(_arg1);
addChild(highscoreScreen);
highscoreScreen.x = (300 - (highscoreScreen.width * 0.5));
highscoreScreen.y = (300 - (highscoreScreen.height * 0.5));
}
private function onToadtrip(_arg1:Event):void{
if (_mouseClick){
_mouseClick.play();
};
var _local2:URLRequest = new URLRequest("http://www.toadtrip.com");
navigateToURL(_local2, "_blank");
}
private function setupTitlescreen():void{
setupBackground();
var _local1 = ("AssetImporter_" + "titlemenubg_00PNG");
var _local2:Class = Class(getDefinitionByName(_local1));
_menubg = Bitmap(new (_local2));
var _local3 = ("AssetImporter_" + "toadtrip0000PNG");
var _local4:Class = (getDefinitionByName(_local3) as Class);
_moreGames = Bitmap(new (_local4));
addChild(_menubg);
_menubg.x = (300 - (_menubg.width * 0.5));
_menubg.y = (300 - (_menubg.height * 0.5));
startGameButton = new SimpleButton();
setupButton("AssetImporter_button", startGameButton);
startGameButton.x = BUTTON_XPOS;
startGameButton.y = BUTTON_YPOS;
startGameButton.doubleClickEnabled = false;
startGameButton.tabEnabled = false;
startGameButton.name = "start_game";
resumeButton = new SimpleButton();
setupButton("AssetImporter_button", resumeButton);
resumeButton.x = BUTTON_XPOS;
resumeButton.y = BUTTON_YPOS;
resumeButton.doubleClickEnabled = false;
resumeButton.name = "resume_button";
resumeButton.tabEnabled = false;
resumeButton.visible = false;
continueGameButton = new SimpleButton();
setupButton("AssetImporter_button", continueGameButton);
continueGameButton.x = BUTTON_XPOS;
continueGameButton.y = ((startGameButton.y + continueGameButton.height) + BUTTON_YSPACING);
continueGameButton.doubleClickEnabled = false;
continueGameButton.name = "continue_game";
continueGameButton.tabEnabled = false;
highscoresButton = new SimpleButton();
setupButton("AssetImporter_button", highscoresButton);
highscoresButton.x = BUTTON_XPOS;
highscoresButton.y = (highscoresButton.y + ((continueGameButton.y + highscoresButton.height) + BUTTON_YSPACING));
highscoresButton.doubleClickEnabled = false;
highscoresButton.tabEnabled = false;
instructionsButton = new SimpleButton();
setupButton("AssetImporter_button", instructionsButton);
instructionsButton.x = BUTTON_XPOS;
instructionsButton.y = (instructionsButton.y + ((continueGameButton.y + instructionsButton.height) + BUTTON_YSPACING));
instructionsButton.doubleClickEnabled = false;
instructionsButton.name = "instructions";
instructionsButton.tabEnabled = false;
ttBackButton = new SimpleButton();
setupButton("AssetImporter_button", ttBackButton);
ttBackButton.x = BUTTON_XPOS;
ttBackButton.y = (ttBackButton.y + ((instructionsButton.y + ttBackButton.height) + BUTTON_YSPACING));
ttBackButton.doubleClickEnabled = false;
ttBackButton.name = "toadtrip";
ttBackButton.tabEnabled = false;
emailButton = new SimpleButton();
setupButton("AssetImporter_button", emailButton);
emailButton.upState = AssetImporter.getBitmapAsset("AssetImporter_yourwebsite0000PNG");
emailButton.downState = AssetImporter.getBitmapAsset("AssetImporter_yourwebsite0000PNG");
emailButton.overState = AssetImporter.getBitmapAsset("AssetImporter_yourwebsite0000PNG");
emailButton.hitTestState = AssetImporter.getBitmapAsset("AssetImporter_yourwebsite0000PNG");
emailButton.x = (595 - emailButton.width);
emailButton.y = (emailButton.y + (600 - emailButton.height));
emailButton.doubleClickEnabled = false;
emailButton.name = "toadtrip";
emailButton.tabEnabled = false;
backButton = new SimpleButton();
setupButton("AssetImporter_button", backButton);
backButton.doubleClickEnabled = false;
backButton.name = "backbutton";
backButton.tabEnabled = false;
toadtripButton = new SimpleButton();
toadtripButton.upState = _moreGames;
toadtripButton.downState = _moreGames;
toadtripButton.overState = _moreGames;
toadtripButton.hitTestState = _moreGames;
toadtripButton.x = ((x + (width * 0.5)) - (_moreGames.width * 0.5));
toadtripButton.y = (toadtripButton.y + (((instructionsButton.y + toadtripButton.height) + BUTTON_YSPACING) + 10));
toadtripButton.doubleClickEnabled = false;
toadtripButton.tabEnabled = false;
_buttonArray = [startGameButton, highscoresButton, instructionsButton, ttBackButton];
addChild(startGameButton);
addChild(continueGameButton);
addChild(resumeButton);
addChild(instructionsButton);
addChild(emailButton);
_local1 = "AssetImporter_buttondownstate";
_local2 = Class(getDefinitionByName(_local1));
_keyboardButton = Bitmap(new (_local2));
_keyboardButton.visible = false;
addChild(_keyboardButton);
addChild(toadtripButton);
setupText();
addEventListeners();
}
private function handleKeyUp(_arg1:KeyboardEvent):void{
if (!_buttonsEnabled){
return;
};
switch (_arg1.keyCode){
case Keyboard.SPACE:
case Keyboard.CONTROL:
case Keyboard.ENTER:
_isEnterDown = false;
break;
case Keyboard.UP:
_isUpKeyDown = false;
break;
case Keyboard.DOWN:
_isDownKeyDown = false;
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "X":
case "x":
case "z":
case "Z":
_isEnterDown = false;
break;
};
}
private function doStartNewGame():void{
if (((!(_scene)) || (Scheduler.isShedulePending(_startGameSchedule)))){
return;
};
_scene.endGame();
Main.setInTransistion(true);
GlobalVarContainer.vars.canPause = false;
_scene.setPaused(!(_scene.paused));
Scheduler.clearAllSchedules();
Scheduler.resume();
TweenManager.resume();
if (((!(GlobalVarContainer.vars.isGameCompleted)) && (continuePressed))){
_scene.currLevelNum = (Main.userData.data.startLevel - 1);
GlobalVarContainer.vars.restorePlayerData = true;
} else {
_scene.currLevelNum = 0;
Main.userData.clear();
Main.userData.data.startLevel = 1;
};
continuePressed = false;
GlobalVarContainer.vars.isGameCompleted = false;
TweenManager.to(this, 2, {autoAlpha:0, onComplete:startNewGameCallback});
_titleLoopMusic.fadeOut(0, 2);
isDisplayed = false;
setButtonsEnabled(false);
GlobalVarContainer.vars.escapeEnabled = false;
GlobalVarContainer.vars.startNewGame = true;
if (_mouseClick){
_mouseClick.play();
};
_state = STATE_INGAME;
}
private function setupButton(_arg1:String, _arg2:SimpleButton):void{
var _local3:Bitmap = AssetImporter.getBitmapAsset((_arg1 + "upstate"));
var _local4:Bitmap = AssetImporter.getBitmapAsset((_arg1 + "downstate"));
var _local5:Bitmap = AssetImporter.getBitmapAsset((_arg1 + "hover"));
_arg2.upState = _local3;
_arg2.downState = _local4;
_arg2.overState = _local5;
_arg2.hitTestState = _local3;
}
private function onInstructions(_arg1:Event):void{
var _local2:SimpleButton;
if (!instructionsState){
return;
};
setButtonTextVisible(false);
instructionsState.show();
if (_mouseClick){
_mouseClick.play();
};
if (((!(_buttonArray)) || (!(_buttonArray.length)))){
return;
};
for each (_local2 in _buttonArray) {
_local2.visible = false;
};
currButt = backButton;
instructionsFocus = true;
}
private function createTextField(_arg1:String, _arg2:Number=0, _arg3:Number=0, _arg4:uint=8765151):TextField{
var _local5:TextField = new TextField();
_local5.embedFonts = true;
_local5.defaultTextFormat = _textFormat;
_local5.text = _arg1;
_local5.textColor = _arg4;
_local5.width = 250;
_local5.x = _arg2;
_local5.y = _arg3;
_local5.selectable = false;
_local5.mouseEnabled = false;
_local5.cacheAsBitmap = true;
_local5.autoSize = TextFieldAutoSize.CENTER;
_local5.antiAliasType = AntiAliasType.ADVANCED;
_local5.mouseEnabled = false;
_local5.selectable = false;
return (_local5);
}
private function doStartGame():void{
if (((!(_scene)) || (Scheduler.isShedulePending(_startGameSchedule)))){
return;
};
setButtonsEnabled(false);
Main.userData.data.startLevel = 1;
_scene.currLevelNum = 0;
GlobalVarContainer.vars.canPause = false;
Main.setInTransistion(true);
TweenManager.to(this, 2, {autoAlpha:0, onComplete:startGameCallback});
_titleLoopMusic.fadeOut(0, 2);
isDisplayed = false;
GlobalVarContainer.vars.escapeEnabled = false;
GlobalVarContainer.vars.startNewGame = true;
GlobalVarContainer.vars.isGameCompleted = false;
if (_mouseClick){
_mouseClick.play();
};
_state = STATE_INGAME;
}
private function onInstructionsBack(_arg1:Event):void{
var _local2:SimpleButton;
if (!instructionsState){
return;
};
setButtonsEnabled(true);
setButtonTextVisible(true);
instructionsState.hide();
if (_mouseClick){
_mouseClick.play();
};
if (((!(_buttonArray)) || (!(_buttonArray.length)))){
return;
};
for each (_local2 in _buttonArray) {
_local2.visible = true;
};
currButt = instructionsButton;
instructionsFocus = false;
}
private function makeSelection():void{
switch (_currMenuSelection){
case 0:
break;
};
}
public function toggleEnabled():void{
setButtonsEnabled(!(_buttonsEnabled));
alpha = (alpha) ? 0 : 1;
visible = (visible) ? false : true;
isDisplayed = visible;
if (((isDisplayed) && (GlobalVarContainer.vars.appRoot))){
GlobalVarContainer.vars.appRoot.removeChild(this);
GlobalVarContainer.vars.appRoot.addChild(this);
};
if (((isDisplayed) && (_titleLoopMusic))){
_titleLoopMusic.play(true);
_titleLoopMusic.setVolume(1);
_scene.stopBGMusic();
} else {
if (((!(isDisplayed)) && (_scene))){
_titleLoopMusic.stop();
_scene.playBGMusic();
};
};
}
private function setupText():void{
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 8765151;
_textFormat.size = 10;
_textFormat.align = "center";
_startGameText = createTextField("START GAME");
_continueGameText = createTextField("CONTINUE GAME");
_highscoreText = createTextField("HIGH SCORES");
_optionsText = createTextField("OPTIONS");
_instructionsText = createTextField("INSTRUCTIONS");
_resumeText = createTextField("RESUME GAME");
_backButtonText = createTextField("BACK");
_buttonText.push(_startGameText);
_buttonText.push(_continueGameText);
_buttonText.push(_highscoreText);
_buttonText.push(_optionsText);
_buttonText.push(_instructionsText);
_buttonText.push(_resumeText);
addChild(_startGameText);
addChild(_continueGameText);
addChild(_instructionsText);
layoutText();
}
private function handleKeyDown(_arg1:KeyboardEvent):void{
if (!_buttonsEnabled){
return;
};
switch (_arg1.keyCode){
case Keyboard.CONTROL:
case Keyboard.SPACE:
case Keyboard.ENTER:
if (((_isEnterDown) || (!(currButt)))){
return;
};
if (currButt.name == "start_game"){
onStartGame(null);
} else {
if (currButt.name == "toadtrip"){
onToadtrip(null);
} else {
if (currButt.name == "instructions"){
onInstructions(null);
} else {
if (currButt.name == "backbutton"){
onInstructionsBack(null);
};
};
};
};
break;
case Keyboard.UP:
if (instructionsFocus){
return;
};
if (!_isUpKeyDown){
_isUpKeyDown = true;
_currMenuSelection--;
_currMenuSelection = MathUtils.clamp(_currMenuSelection, 0, (_buttonArray.length - 1));
currButt = _buttonArray[_currMenuSelection];
_keyboardButton.x = currButt.x;
_keyboardButton.y = currButt.y;
_keyboardButton.visible = true;
};
break;
case Keyboard.DOWN:
if (instructionsFocus){
return;
};
if (!_isDownKeyDown){
_isDownKeyDown = true;
_currMenuSelection++;
_currMenuSelection = MathUtils.clamp(_currMenuSelection, 0, (_buttonArray.length - 1));
currButt = _buttonArray[_currMenuSelection];
_keyboardButton.x = currButt.x;
_keyboardButton.y = currButt.y;
_keyboardButton.visible = true;
};
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "X":
case "x":
case "z":
case "Z":
if (((_isEnterDown) || (!(currButt)))){
return;
};
if (currButt.name == "start_game"){
onStartGame(null);
} else {
if (currButt.name == "toadtrip"){
onToadtrip(null);
} else {
if (currButt.name == "instructions"){
onInstructions(null);
} else {
if (currButt.name == "backbutton"){
onInstructionsBack(null);
};
};
};
};
break;
};
}
private function onStartGame(_arg1:Event):void{
if (_state == STATE_TITLESCREEN){
doStartGame();
} else {
if (_state == STATE_INGAME){
doStartNewGame();
};
};
}
private function doContinueGame(_arg1:Event):void{
continuePressed = true;
if (((GlobalVarContainer.vars.plyrDead) || (GlobalVarContainer.vars.isGameCompleted))){
toggleEnabled();
doStartNewGame();
GlobalVarContainer.vars.isGameCompleted = false;
return;
};
if (_state == STATE_INGAME){
_scene.setPaused(false);
Scheduler.resume();
TweenManager.resume();
toggleEnabled();
_scene.visible = true;
_titleLoopMusic.fadeOut(0, 1);
continuePressed = false;
return;
};
if (((!(_scene)) || (Scheduler.isShedulePending(_startGameSchedule)))){
return;
};
GlobalVarContainer.vars.canPause = false;
Main.setInTransistion(true);
TweenManager.to(this, 2, {autoAlpha:0, onComplete:Main.setInTransistion, onCompleteParams:[false]});
_startGameSchedule = Scheduler.setSchedule(2500, _scene.loadNextLevel, _scene);
_titleLoopMusic.fadeOut(0, 2);
Scheduler.setSchedule(2050, _titleLoopMusic.stop, _titleLoopMusic);
_scene.currLevelNum = (Main.userData.data.startLevel - 1);
setButtonsEnabled(false);
isDisplayed = false;
GlobalVarContainer.vars.escapeEnabled = false;
GlobalVarContainer.vars.startNewGame = false;
GlobalVarContainer.vars.restorePlayerData = true;
if (_mouseClick){
_mouseClick.play();
};
_state = STATE_INGAME;
continuePressed = false;
}
private function layoutText():void{
_startGameText.x = ((startGameButton.x + (startGameButton.width * 0.5)) - (_startGameText.width * 0.5));
_startGameText.y = ((startGameButton.y + (startGameButton.height * 0.5)) - (_startGameText.height * 0.5));
_continueGameText.x = ((continueGameButton.x + (continueGameButton.width * 0.5)) - (_continueGameText.width * 0.5));
_continueGameText.y = ((continueGameButton.y + (continueGameButton.height * 0.5)) - (_continueGameText.height * 0.5));
_instructionsText.x = ((instructionsButton.x + (instructionsButton.width * 0.5)) - (_instructionsText.width * 0.5));
_instructionsText.y = ((instructionsButton.y + (instructionsButton.height * 0.5)) - (_instructionsText.height * 0.5));
_backButtonText.x = ((backButton.x + (backButton.width * 0.5)) - (_backButtonText.width * 0.5));
_backButtonText.y = ((backButton.y + (backButton.height * 0.5)) - (_backButtonText.height * 0.5));
}
public function setEnabled():void{
setButtonsEnabled(true);
alpha = 1;
visible = true;
isDisplayed = true;
if (((isDisplayed) && (GlobalVarContainer.vars.appRoot))){
GlobalVarContainer.vars.appRoot.removeChild(this);
GlobalVarContainer.vars.appRoot.addChild(this);
};
if (((isDisplayed) && (_titleLoopMusic))){
_titleLoopMusic.play(true);
_titleLoopMusic.setVolume(1);
_scene.stopBGMusic();
} else {
if (((!(isDisplayed)) && (_scene))){
_titleLoopMusic.stop();
_scene.playBGMusic();
};
};
}
private function setButtonsEnabled(_arg1:Boolean):void{
_buttonsEnabled = _arg1;
startGameButton.enabled = _arg1;
startGameButton.mouseEnabled = _arg1;
if (_state == STATE_TITLESCREEN){
_startGameText.text = "START GAME";
} else {
if (_state == STATE_INGAME){
_startGameText.text = "NEW GAME";
};
};
highscoresButton.enabled = _arg1;
highscoresButton.mouseEnabled = _arg1;
instructionsButton.enabled = _arg1;
instructionsButton.mouseEnabled = _arg1;
toadtripButton.enabled = _arg1;
toadtripButton.mouseEnabled = _arg1;
continueGameButton.enabled = _arg1;
continueGameButton.mouseEnabled = _arg1;
}
private function setupBackground():void{
var _local1 = ("AssetImporter_" + "bgFarLayer0001JPG");
var _local2:Class = Class(getDefinitionByName(_local1));
titlescreenBM = Bitmap(new (_local2));
titlescreenBM.filters = [_blurFilter];
titlescreenBM.alpha = 0.4;
addChild(titlescreenBM);
var _local3:Number = MathUtils.randRange(20, (600 - 320));
var _local4:Number = _local3;
var _local5:Number = 50;
_local1 = ("AssetImporter_" + "plyrTankIdle0000PNG");
_local2 = Class(getDefinitionByName(_local1));
var _local6:Bitmap = Bitmap(new (_local2));
_local6.filters = [_blurFilter];
_local6.y = 516;
_local6.x = 440;
_local6.alpha = 0.4;
addChild(_local6);
}
private function startNewGameCallback():void{
_scene.loadNextLevel();
Main.setInTransistion(false);
_titleLoopMusic.stop();
}
private function onEmailButton(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("mailto:sales@toadtrip.com");
navigateToURL(_local2, "_blank");
}
private function updateMenuSelection():void{
switch (_currMenuSelection){
case 0:
_scene.stage.focus = startGameButton;
break;
};
}
private function onHighScores(_arg1:Event):void{
if (highscoreScreen){
highscoreScreen.show();
};
}
private function setButtonTextVisible(_arg1:Boolean):void{
var _local2:TextField;
for each (_local2 in _buttonText) {
_local2.visible = _arg1;
};
}
private function setSceneVisible(_arg1:Boolean):void{
if (!_scene){
return;
};
_scene.visible = _arg1;
}
private function addEventListeners():void{
startGameButton.addEventListener(MouseEvent.CLICK, onStartGame);
continueGameButton.addEventListener(MouseEvent.CLICK, doContinueGame);
toadtripButton.addEventListener(MouseEvent.CLICK, onToadtrip);
instructionsButton.addEventListener(MouseEvent.CLICK, onInstructions);
backButton.addEventListener(MouseEvent.CLICK, onInstructionsBack);
emailButton.addEventListener(MouseEvent.CLICK, onEmailButton);
}
private function resumeGame():void{
}
private function onOptions(_arg1:Event):void{
if (_mouseClick){
_mouseClick.play();
};
}
private function startGameCallback():void{
_scene.loadNextLevel();
Main.setInTransistion(false);
_titleLoopMusic.stop();
}
public function setDisabled():void{
setButtonsEnabled(false);
alpha = 0;
visible = false;
isDisplayed = false;
if (((isDisplayed) && (GlobalVarContainer.vars.appRoot))){
GlobalVarContainer.vars.appRoot.removeChild(this);
GlobalVarContainer.vars.appRoot.addChild(this);
};
if (((isDisplayed) && (_titleLoopMusic))){
_titleLoopMusic.play(true);
_titleLoopMusic.setVolume(1);
_scene.stopBGMusic();
} else {
if (((!(isDisplayed)) && (_scene))){
_titleLoopMusic.stop();
_scene.playBGMusic();
};
};
}
}
}//package GameStates
Section 33
//Back (gs.easing.Back)
package gs.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2));
};
_arg1 = (_arg1 - 2);
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2));
}
}
}//package gs.easing
Section 34
//OverwriteManager (gs.OverwriteManager)
package gs {
import flash.utils.*;
import flash.errors.*;
public class OverwriteManager {
public static const ALL:int = 1;
public static const NONE:int = 0;
public static const AUTO:int = 2;
public static const CONCURRENT:int = 3;
public static const version:Number = 1;
public static var mode:int;
public static var enabled:Boolean;
public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array, _arg4:Array, _arg5:Array):void{
var _local6:int;
var _local7:String;
_local6 = (_arg4.length - 1);
while (_local6 > -1) {
if (_arg1[_arg4[_local6].name] != undefined){
_arg4.splice(_local6, 1);
};
_local6--;
};
_local6 = (_arg3.length - 1);
while (_local6 > -1) {
if (_arg1[_arg3[_local6][4]] != undefined){
_arg3.splice(_local6, 1);
};
_local6--;
};
_local6 = (_arg5.length - 1);
while (_local6 > -1) {
if (_arg1[_arg5[_local6].name] != undefined){
_arg5.splice(_local6, 1);
};
_local6--;
};
for (_local7 in _arg1) {
delete _arg2[_local7];
};
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{
var _local7:int;
var _local8:TweenLite;
var _local9:Object;
var _local10:String;
var _local3:Object = _arg1.vars;
var _local4:int = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite);
if ((((_local4 < 2)) || ((_arg2 == null)))){
return;
};
var _local5:Number = _arg1.startTime;
var _local6:Array = [];
_local7 = (_arg2.length - 1);
while (_local7 > -1) {
_local8 = _arg2[_local7];
if (((((!((_local8 == _arg1))) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){
_local6[_local6.length] = _local8;
};
_local7--;
};
if (_local6.length == 0){
return;
};
if (_local4 == AUTO){
if (_local3.isTV == true){
_local3 = _local3.exposedProps;
};
_local9 = {};
for (_local10 in _local3) {
if ((((((((((((((((((((((((((((((((((((((((((((_local10 == "ease")) || ((_local10 == "delay")))) || ((_local10 == "overwrite")))) || ((_local10 == "onComplete")))) || ((_local10 == "onCompleteParams")))) || ((_local10 == "runBackwards")))) || ((_local10 == "persist")))) || ((_local10 == "onUpdate")))) || ((_local10 == "onUpdateParams")))) || ((_local10 == "timeScale")))) || ((_local10 == "onStart")))) || ((_local10 == "onStartParams")))) || ((_local10 == "renderOnStart")))) || ((_local10 == "proxiedEase")))) || ((_local10 == "easeParams")))) || ((_local10 == "onCompleteAll")))) || ((_local10 == "onCompleteAllParams")))) || ((_local10 == "yoyo")))) || ((_local10 == "loop")))) || ((_local10 == "onCompleteListener")))) || ((_local10 == "onStartListener")))) || ((_local10 == "onUpdateListener")))){
} else {
_local9[_local10] = 1;
if (_local10 == "shortRotate"){
_local9.rotation = 1;
} else {
if (_local10 == "removeTint"){
_local9.tint = 1;
} else {
if (_local10 == "autoAlpha"){
_local9.alpha = 1;
_local9.visible = 1;
};
};
};
};
};
_local7 = (_local6.length - 1);
while (_local7 > -1) {
_local6[_local7].killVars(_local9);
_local7--;
};
} else {
_local7 = (_local6.length - 1);
while (_local7 > -1) {
_local6[_local7].enabled = false;
_local7--;
};
};
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 9.29){
trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.");
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
}
}//package gs
Section 35
//TweenGroup (gs.TweenGroup)
package gs {
import flash.events.*;
import flash.utils.*;
public dynamic class TweenGroup extends Proxy implements IEventDispatcher {
protected var _align:String;
protected var _tweens:Array;
protected var _reversed:Boolean;
public var loop:Number;
public var expired:Boolean;
public var yoyo:Number;
public var onComplete:Function;
protected var _dispatcher:EventDispatcher;
public var endTime:Number;
protected var _startTime:Number;
protected var _initTime:Number;
public var onCompleteParams:Array;
protected var _pauseTime:Number;
protected var _stagger:Number;
protected var _repeatCount:Number;
public static const ALIGN_NONE:String = "none";
public static const version:Number = 1.02;
public static const ALIGN_END:String = "end";
public static const ALIGN_START:String = "start";
public static const ALIGN_INIT:String = "init";
public static const ALIGN_SEQUENCE:String = "sequence";
protected static var _classInitted:Boolean;
protected static var _unexpired:Array = [];
protected static var _TweenFilterLite:Class;
protected static var _TweenMax:Class;
protected static var _prevTime:uint = 0;
public function TweenGroup(_arg1:Array=null, _arg2:Class=null, _arg3:String="none", _arg4:Number=0){
var overwriteMode:int;
var $tweens = _arg1;
var $DefaultTweenClass = _arg2;
var $align = _arg3;
var $stagger = _arg4;
super();
if (!_classInitted){
if (TweenLite.version < 9.291){
trace("TweenGroup error! Please update your TweenLite class or try deleting your ASO files. TweenGroup requires a more recent version. Download updates at http://www.TweenLite.com.");
};
try {
_TweenMax = (getDefinitionByName("gs.TweenMax") as Class);
} catch($e:Error) {
_TweenMax = Array;
};
try {
_TweenFilterLite = (getDefinitionByName("gs.TweenFilterLite") as Class);
} catch($e:Error) {
_TweenFilterLite = Array;
};
overwriteMode = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init(2);
TweenLite.timingSprite.addEventListener(Event.ENTER_FRAME, checkExpiration, false, -1, true);
_classInitted = true;
};
this.expired = true;
_repeatCount = 0;
_align = $align;
_stagger = $stagger;
_dispatcher = new EventDispatcher(this);
if ($tweens != null){
_tweens = parse($tweens, $DefaultTweenClass);
updateTimeSpan();
realign();
} else {
_tweens = [];
_initTime = (_startTime = (this.endTime = 0));
};
}
protected function offsetTime(_arg1:Array, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Array;
var _local6:Boolean;
var _local7:TweenLite;
var _local8:Boolean;
var _local9:Number;
var _local10:Number;
var _local11:int;
var _local12:Array;
if (_arg1.length != 0){
_local3 = (_arg2 * 1000);
_local4 = (isNaN(_pauseTime)) ? TweenLite.currentTime : _pauseTime;
_local5 = getRenderOrder(_arg1, _local4);
_local12 = [];
_local11 = (_local5.length - 1);
while (_local11 > -1) {
_local7 = _local5[_local11];
_local5[_local11].initTime = (_local7.initTime + _local3);
_local6 = Boolean((_local7.startTime == 999999999999999));
_local9 = (_local7.initTime + (_local7.delay * (1000 / _local7.combinedTimeScale)));
_local10 = getEndTime(_local7);
_local8 = (((((_local9 <= _local4)) || (((_local9 - _local3) <= _local4)))) && ((((_local10 >= _local4)) || (((_local10 - _local3) >= _local4)))));
if (((isNaN(_pauseTime)) && ((_local10 >= _local4)))){
_local7.enabled = true;
};
if (!_local6){
_local7.startTime = _local9;
};
if (_local9 >= _local4){
if (!_local7.initted){
_local8 = false;
};
_local7.active = false;
};
if (_local8){
_local12[_local12.length] = _local7;
};
_local11--;
};
_local11 = (_local12.length - 1);
while (_local11 > -1) {
renderTween(_local12[_local11], _local4);
_local11--;
};
this.endTime = (this.endTime + _local3);
_startTime = (_startTime + _local3);
_initTime = (_initTime + _local3);
if (((this.expired) && ((this.endTime > _local4)))){
this.expired = false;
_unexpired[_unexpired.length] = this;
};
};
}
protected function renderTween(_arg1:TweenLite, _arg2:Number):void{
var _local4:Number;
var _local5:Boolean;
var _local6:Boolean;
var _local7:Number;
var _local3:Number = getEndTime(_arg1);
if (_arg1.startTime == 999999999999999){
_arg1.startTime = (_arg1.initTime + (_arg1.delay * (1000 / _arg1.combinedTimeScale)));
_local5 = true;
};
if (!_arg1.initted){
_local6 = _arg1.active;
_arg1.active = false;
if (_local5){
_arg1.initTweenVals();
if (_arg1.vars.onStart != null){
_arg1.vars.onStart.apply(null, _arg1.vars.onStartParams);
};
} else {
_arg1.activate();
};
_arg1.active = _local6;
};
if (_arg1.startTime > _arg2){
_local4 = _arg1.startTime;
} else {
if (_local3 < _arg2){
_local4 = _local3;
} else {
_local4 = _arg2;
};
};
if (_local4 < 0){
_local7 = _arg1.startTime;
_arg1.startTime = (_arg1.startTime - _local4);
_arg1.render(0);
_arg1.startTime = _local7;
} else {
_arg1.render(_local4);
};
if (_local5){
_arg1.startTime = 999999999999999;
};
}
public function get align():String{
return (_align);
}
public function set align(_arg1:String):void{
_align = _arg1;
realign();
}
public function set reversed(_arg1:Boolean):void{
if (_reversed != _arg1){
reverse(true);
};
}
public function willTrigger(_arg1:String):Boolean{
return (_dispatcher.willTrigger(_arg1));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{
var _local2 = " progress progressWithDelay duration durationWithDelay paused reversed timeScale align stagger tweens ";
if (_tweens.hasOwnProperty(_arg1)){
return (true);
};
if (_local2.indexOf(((" " + _arg1) + " ")) != -1){
return (true);
};
return (false);
}
protected function getEndTime(_arg1:TweenLite):Number{
return ((_arg1.initTime + ((_arg1.delay + _arg1.duration) * (1000 / _arg1.combinedTimeScale))));
}
public function get duration():Number{
if (_tweens.length == 0){
return (0);
};
return (((this.endTime - _startTime) / 1000));
}
public function restart(_arg1:Boolean=false):void{
setProgress(0, _arg1);
_repeatCount = 0;
resume();
}
protected function getStartTime(_arg1:TweenLite):Number{
return ((_arg1.initTime + ((_arg1.delay * 1000) / _arg1.combinedTimeScale)));
}
protected function pauseTween(_arg1:TweenLite):void{
if ((_arg1 is _TweenMax)){
(_arg1 as Object).pauseTime = _pauseTime;
};
_arg1.startTime = 999999999999999;
_arg1.enabled = false;
}
protected function getRenderOrder(_arg1:Array, _arg2:Number):Array{
var _local3:int;
var _local4:TweenLite;
var _local5:Number;
var _local6:Array = [];
var _local7:Array = [];
var _local8:Array = [];
_local3 = (_arg1.length - 1);
while (_local3 > -1) {
_local5 = getStartTime(_arg1[_local3]);
if (_local5 >= _arg2){
_local6[_local6.length] = {start:_local5, tween:_arg1[_local3]};
} else {
_local7[_local7.length] = {end:getEndTime(_arg1[_local3]), tween:_arg1[_local3]};
};
_local3--;
};
_local6.sortOn("start", Array.NUMERIC);
_local7.sortOn("end", Array.NUMERIC);
_local3 = (_local6.length - 1);
while (_local3 > -1) {
_local8[_local3] = _local6[_local3].tween;
_local3--;
};
_local3 = (_local7.length - 1);
while (_local3 > -1) {
_local8[_local8.length] = _local7[_local3].tween;
_local3--;
};
return (_local8);
}
protected function getProgress(_arg1:Boolean=false):Number{
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_tweens.length == 0){
return (0);
};
_local2 = (isNaN(_pauseTime)) ? TweenLite.currentTime : _pauseTime;
_local3 = (_arg1) ? _initTime : _startTime;
_local4 = ((_local2 - _local3) / (this.endTime - _local3));
if (_local4 < 0){
return (0);
};
if (_local4 > 1){
return (1);
};
return (_local4);
}
protected function setTweenStartTime(_arg1:TweenLite, _arg2:Number):void{
var _local3:Number = (_arg2 - getStartTime(_arg1));
_arg1.initTime = (_arg1.initTime + _local3);
if (_arg1.startTime != 999999999999999){
_arg1.startTime = _arg2;
};
}
public function mergeGroup(_arg1:TweenGroup, _arg2:Number=NaN):void{
var _local5:int;
if (((isNaN(_arg2)) || ((_arg2 > _tweens.length)))){
_arg2 = _tweens.length;
};
var _local3:Array = _arg1.tweens;
var _local4:uint = _local3.length;
_local5 = 0;
while (_local5 < _local4) {
_tweens.splice((_arg2 + _local5), 0, _local3[_local5]);
_local5++;
};
realign();
}
public function get durationWithDelay():Number{
if (_tweens.length == 0){
return (0);
};
return (((this.endTime - _initTime) / 1000));
}
public function handleCompletion():void{
if (((!(isNaN(this.yoyo))) && ((((_repeatCount < this.yoyo)) || ((this.yoyo == 0)))))){
_repeatCount++;
reverse(true);
} else {
if (((!(isNaN(this.loop))) && ((((_repeatCount < this.loop)) || ((this.loop == 0)))))){
_repeatCount++;
setProgress(0, true);
};
};
if (this.onComplete != null){
this.onComplete.apply(null, this.onCompleteParams);
};
_dispatcher.dispatchEvent(new Event(Event.COMPLETE));
}
public function resume():void{
var _local2:int;
var _local4:Number;
var _local1:Array = [];
var _local3:Number = TweenLite.currentTime;
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if (_tweens[_local2].startTime == 999999999999999){
resumeTween(_tweens[_local2]);
_local1[_local1.length] = _tweens[_local2];
};
if ((((_tweens[_local2].startTime >= _local3)) && (!(_tweens[_local2].enabled)))){
_tweens[_local2].enabled = true;
_tweens[_local2].active = false;
};
_local2--;
};
if (!isNaN(_pauseTime)){
_local4 = ((TweenLite.currentTime - _pauseTime) / 1000);
_pauseTime = NaN;
offsetTime(_local1, _local4);
};
}
public function get paused():Boolean{
return (!(isNaN(_pauseTime)));
}
public function updateTimeSpan():void{
var _local1:int;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:TweenLite;
if (_tweens.length == 0){
this.endTime = (_startTime = (_initTime = 0));
} else {
_local5 = _tweens[0];
_initTime = _local5.initTime;
_startTime = (_initTime + (_local5.delay * (1000 / _local5.combinedTimeScale)));
this.endTime = (_startTime + (_local5.duration * (1000 / _local5.combinedTimeScale)));
_local1 = (_tweens.length - 1);
while (_local1 > 0) {
_local5 = _tweens[_local1];
_local3 = _local5.initTime;
_local2 = (_local3 + (_local5.delay * (1000 / _local5.combinedTimeScale)));
_local4 = (_local2 + (_local5.duration * (1000 / _local5.combinedTimeScale)));
if (_local3 < _initTime){
_initTime = _local3;
};
if (_local2 < _startTime){
_startTime = _local2;
};
if (_local4 > this.endTime){
this.endTime = _local4;
};
_local1--;
};
if (((this.expired) && ((this.endTime > TweenLite.currentTime)))){
this.expired = false;
_unexpired[_unexpired.length] = this;
};
};
}
public function get progressWithDelay():Number{
return (getProgress(true));
}
public function realign():void{
var _local1:uint;
var _local2:int;
var _local3:Number;
if (((!((_align == ALIGN_NONE))) && ((_tweens.length > 1)))){
_local1 = _tweens.length;
_local3 = (_stagger * 1000);
if (_align == ALIGN_SEQUENCE){
setTweenInitTime(_tweens[0], _initTime);
_local2 = 1;
while (_local2 < _local1) {
setTweenInitTime(_tweens[_local2], (getEndTime(_tweens[(_local2 - 1)]) + _local3));
_local2++;
};
} else {
if (_align == ALIGN_INIT){
_local2 = 0;
while (_local2 < _local1) {
setTweenInitTime(_tweens[_local2], (_initTime + (_local3 * _local2)));
_local2++;
};
} else {
if (_align == ALIGN_START){
_local2 = 0;
while (_local2 < _local1) {
setTweenStartTime(_tweens[_local2], (_startTime + (_local3 * _local2)));
_local2++;
};
} else {
_local2 = 0;
while (_local2 < _local1) {
setTweenInitTime(_tweens[_local2], ((this.endTime - (((_tweens[_local2].delay + _tweens[_local2].duration) * 1000) / _tweens[_local2].combinedTimeScale)) - (_local3 * _local2)));
_local2++;
};
};
};
};
};
updateTimeSpan();
}
public function get progress():Number{
return (getProgress(false));
}
protected function setProgress(_arg1:Number, _arg2:Boolean=false):void{
var _local3:Number;
var _local4:Number;
if (_tweens.length != 0){
_local3 = (isNaN(_pauseTime)) ? TweenLite.currentTime : _pauseTime;
_local4 = (_arg2) ? _initTime : _startTime;
offsetTime(_tweens, ((_local3 - (_local4 + ((this.endTime - _local4) * _arg1))) / 1000));
};
}
protected function resumeTween(_arg1:TweenLite):void{
if ((_arg1 is _TweenMax)){
(_arg1 as Object).pauseTime = NaN;
};
_arg1.startTime = (_arg1.initTime + (_arg1.delay * (1000 / _arg1.combinedTimeScale)));
}
public function dispatchEvent(_arg1:Event):Boolean{
return (_dispatcher.dispatchEvent(_arg1));
}
public function get stagger():Number{
return (_stagger);
}
public function get reversed():Boolean{
return (_reversed);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
return (_tweens[_arg1]);
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
_dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
_dispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function callProperty(_arg1, ... _args){
var _local3:* = _tweens[_arg1].apply(null, _args);
realign();
if (!isNaN(_pauseTime)){
pause();
};
return (_local3);
}
protected function setTweenInitTime(_arg1:TweenLite, _arg2:Number):void{
var _local3:Number = (_arg2 - _arg1.initTime);
_arg1.initTime = _arg2;
if (_arg1.startTime != 999999999999999){
_arg1.startTime = (_arg1.startTime + _local3);
};
}
public function set progress(_arg1:Number):void{
setProgress(_arg1, false);
}
public function set progressWithDelay(_arg1:Number):void{
setProgress(_arg1, true);
}
public function set stagger(_arg1:Number):void{
_stagger = _arg1;
realign();
}
public function reverse(_arg1:Boolean=true):void{
var _local2:int;
var _local3:TweenLite;
var _local4:ReverseProxy;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
_reversed = !(_reversed);
var _local10:Number = 0;
var _local11:Boolean;
var _local12:Number = (isNaN(_pauseTime)) ? TweenLite.currentTime : _pauseTime;
if (this.endTime <= _local12){
_local10 = (int((this.endTime - _local12)) + 1);
_local11 = true;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
if ((_local3 is _TweenMax)){
_local6 = _local3.startTime;
_local7 = _local3.initTime;
(_local3 as Object).reverse(false, false);
_local3.startTime = _local6;
_local3.initTime = _local7;
} else {
if (_local3.ease != _local3.vars.ease){
_local3.ease = _local3.vars.ease;
} else {
_local4 = new ReverseProxy(_local3);
_local3.ease = _local4.reverseEase;
};
};
_local9 = _local3.combinedTimeScale;
_local8 = (((((_local12 - _local3.initTime) / 1000) - (_local3.delay / _local9)) / _local3.duration) * _local9);
_local6 = int(((_local12 - ((((1 - _local8) * _local3.duration) * 1000) / _local9)) + _local10));
_local3.initTime = int((_local6 - (_local3.delay * (1000 / _local9))));
if (_local3.startTime != 999999999999999){
_local3.startTime = _local6;
};
if (_local3.startTime > _local12){
_local3.enabled = true;
_local3.active = false;
};
_local2--;
};
updateTimeSpan();
if (_arg1){
if (_local11){
setProgress(0, true);
};
resume();
};
}
public function clear(_arg1:Boolean=true):void{
var _local2:int = (_tweens.length - 1);
while (_local2 > -1) {
if (_arg1){
TweenLite.removeTween(_tweens[_local2], true);
};
_tweens[_local2] = null;
_tweens.splice(_local2, 1);
_local2--;
};
if (!this.expired){
_local2 = (_unexpired.length - 1);
while (_local2 > -1) {
if (_unexpired[_local2] == this){
_unexpired.splice(_local2, 1);
break;
};
_local2--;
};
this.expired = true;
};
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
onSetProperty(_arg1, _arg2);
}
public function get tweens():Array{
return (_tweens.slice());
}
public function set paused(_arg1:Boolean):void{
if (_arg1){
pause();
} else {
resume();
};
}
public function get length():uint{
return (_tweens.length);
}
public function hasEventListener(_arg1:String):Boolean{
return (_dispatcher.hasEventListener(_arg1));
}
public function pause():void{
if (isNaN(_pauseTime)){
_pauseTime = TweenLite.currentTime;
};
var _local1:int = (_tweens.length - 1);
while (_local1 > -1) {
if (_tweens[_local1].startTime != 999999999999999){
pauseTween(_tweens[_local1]);
};
_local1--;
};
}
protected function onSetProperty(_arg1, _arg2):void{
if (((!(isNaN(_arg1))) && (!((_arg2 is TweenLite))))){
trace("TweenGroup error: an attempt was made to add a non-TweenLite element.");
} else {
_tweens[_arg1] = _arg2;
realign();
if (((!(isNaN(_pauseTime))) && ((_arg2 is TweenLite)))){
pauseTween((_arg2 as TweenLite));
};
};
}
public function set timeScale(_arg1:Number):void{
var _local2:int = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2] is _TweenFilterLite)){
_tweens[_local2].timeScale = _arg1;
};
_local2--;
};
updateTimeSpan();
}
public function getActive():Array{
var _local2:int;
var _local3:Number;
var _local1:Array = [];
if (isNaN(_pauseTime)){
_local3 = TweenLite.currentTime;
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((((_tweens[_local2].startTime <= _local3)) && ((getEndTime(_tweens[_local2]) >= _local3)))){
_local1[_local1.length] = _tweens[_local2];
};
_local2--;
};
};
return (_local1);
}
public function get timeScale():Number{
var _local1:uint;
while (_local1 < _tweens.length) {
if ((_tweens[_local1] is _TweenFilterLite)){
return (_tweens[_local1].timeScale);
};
_local1++;
};
return (1);
}
protected static function checkExpiration(_arg1:Event):void{
var _local4:TweenGroup;
var _local5:int;
var _local2:uint = TweenLite.currentTime;
var _local3:Array = _unexpired;
_local5 = (_local3.length - 1);
while (_local5 > -1) {
_local4 = _local3[_local5];
if ((((((_local4.endTime > _prevTime)) && ((_local4.endTime <= _local2)))) && (!(_local4.paused)))){
_local3.splice(_local5, 1);
_local4.expired = true;
_local4.handleCompletion();
};
_local5--;
};
_prevTime = _local2;
}
public static function parse(_arg1:Array, _arg2:Class=null):Array{
var _local4:int;
var _local5:Object;
var _local6:Number;
if (_arg2 == null){
_arg2 = TweenLite;
};
var _local3:Array = [];
_local4 = 0;
while (_local4 < _arg1.length) {
if ((_arg1[_local4] is TweenLite)){
_local3[_local3.length] = _arg1[_local4];
} else {
_local5 = _arg1[_local4].target;
_local6 = _arg1[_local4].time;
delete _arg1[_local4].target;
delete _arg1[_local4].time;
_local3[_local3.length] = new _arg2(_local5, _local6, _arg1[_local4]);
};
_local4++;
};
return (_local3);
}
public static function allFrom(_arg1:Array, _arg2:Number, _arg3:Object, _arg4:Class=null):TweenGroup{
_arg3.runBackwards = true;
return (allTo(_arg1, _arg2, _arg3, _arg4));
}
public static function allTo(_arg1:Array, _arg2:Number, _arg3:Object, _arg4:Class=null):TweenGroup{
var _local5:int;
var _local6:Object;
var _local7:Object;
var _local8:String;
if (_arg4 == null){
_arg4 = TweenLite;
};
var _local9:TweenGroup = new TweenGroup(null, _arg4, ALIGN_INIT, ((_arg3.stagger) || (0)));
_local9.onComplete = _arg3.onCompleteAll;
_local9.onCompleteParams = _arg3.onCompleteAllParams;
delete _arg3.stagger;
delete _arg3.onCompleteAll;
delete _arg3.onCompleteAllParams;
_local5 = 0;
while (_local5 < _arg1.length) {
_local7 = {};
for (_local8 in _arg3) {
_local7[_local8] = _arg3[_local8];
};
_local9[_local9.length] = new _arg4(_arg1[_local5], _arg2, _local7);
_local5++;
};
if (_local9.stagger < 0){
_local9.progressWithDelay = 0;
};
return (_local9);
}
}
}//package gs
class ReverseProxy {
private var _tween:TweenLite;
private function ReverseProxy(_arg1:TweenLite){
_tween = _arg1;
}
public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (_tween.vars.ease((_arg4 - _arg1), _arg2, _arg3, _arg4));
}
}
Section 36
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class TweenLite {
public var started:Boolean;
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _subTweens:Array;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
protected var _hst:Boolean;
public var gc:Boolean;
protected var _isDisplayObject:Boolean;
public var tweens:Array;
public var vars:Object;
public var ease:Function;
protected var _specialVars:Object;
public var initTime:Number;
public var combinedTimeScale:Number;
private static var _timer:Timer = new Timer(2000);
private static var _classInitted:Boolean;
public static var defaultEase:Function = TweenLite.easeOut;
public static var version:Number = 9.3;
public static var masterList:Dictionary = new Dictionary(false);
public static var currentTime:uint;
public static var overwriteManager:Object;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
if (_arg1 == null){
return;
};
if (!_classInitted){
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_classInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
_isDisplayObject = Boolean((((_arg1 is DisplayObject)) || (_arg1.hasOwnProperty("isTweenProxy"))));
if (!(this.vars.ease is Function)){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
if (!isNaN(Number(this.vars.autoAlpha))){
this.vars.alpha = Number(this.vars.autoAlpha);
this.vars.visible = Boolean((this.vars.alpha > 0));
};
_specialVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars;
this.tweens = [];
_subTweens = [];
_hst = (this.initted = false);
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if ((((masterList[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){
masterList[_arg1] = [];
};
masterList[_arg1].push(this);
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((_specialVars.visible == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){
this.target.visible = _specialVars.visible;
};
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function render(_arg1:uint):void{
var _local3:Number;
var _local4:Object;
var _local5:int;
var _local2:Number = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4[0][_local4[1]] = (_local4[2] + (_local3 * _local4[3]));
_local5--;
};
if (_hst){
_local5 = (_subTweens.length - 1);
while (_local5 > -1) {
_subTweens[_local5].proxy(_subTweens[_local5], _local2);
_local5--;
};
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (masterList[this.target] == undefined){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
masterList[this.target].push(this);
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function clear():void{
this.tweens = [];
_subTweens = [];
this.vars = {};
_hst = (_hasUpdate = false);
}
protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{
var _local6:String;
_subTweens[_subTweens.length] = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5};
for (_local6 in _arg4) {
if (typeof(_arg4[_local6]) == "number"){
this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], (_arg4[_local6] - _arg3[_local6]), _arg1];
} else {
this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], Number(_arg4[_local6]), _arg1];
};
};
_hst = true;
}
public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:String;
var _local4:int;
var _local5:Array;
var _local6:ColorTransform;
var _local7:ColorTransform;
var _local8:Object;
if (((!(_arg1)) && (overwriteManager.enabled))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
if ((this.target is Array)){
_local5 = ((this.vars.endArray) || ([]));
_local4 = 0;
while (_local4 < _local5.length) {
if (((!((this.target[_local4] == _local5[_local4]))) && (!((this.target[_local4] == undefined))))){
this.tweens[this.tweens.length] = [this.target, _local4.toString(), this.target[_local4], (_local5[_local4] - this.target[_local4]), _local4.toString()];
};
_local4++;
};
} else {
if (((((!((typeof(_specialVars.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (this.target.hasOwnProperty("transform")))){
_local6 = this.target.transform.colorTransform;
_local7 = new ColorTransform();
if (_specialVars.alpha != undefined){
_local7.alphaMultiplier = _specialVars.alpha;
delete _specialVars.alpha;
} else {
_local7.alphaMultiplier = this.target.alpha;
};
if (((!((this.vars.removeTint == true))) && (((((!((_specialVars.tint == null))) && (!((_specialVars.tint == ""))))) || ((_specialVars.tint == 0)))))){
_local7.color = _specialVars.tint;
};
addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local6, endColor:_local7});
};
if (((!((_specialVars.frame == null))) && (_isDisplayObject))){
addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_specialVars.frame}, {target:this.target});
};
if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){
addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target});
};
if (((!((_specialVars.visible == null))) && (_isDisplayObject))){
addSubTween("visible", visibleProxy, {}, {}, {tween:this});
};
for (_local3 in _specialVars) {
if ((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){
} else {
if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){
if (typeof(_specialVars[_local3]) == "number"){
this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], (_specialVars[_local3] - this.target[_local3]), _local3];
} else {
this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], Number(_specialVars[_local3]), _local3];
};
};
};
};
};
if (this.vars.runBackwards == true){
_local4 = (this.tweens.length - 1);
while (_local4 > -1) {
_local8 = this.tweens[_local4];
_local8[2] = (_local8[2] + _local8[3]);
_local8[3] = (_local8[3] * -1);
_local4--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []);
};
}
public function complete(_arg1:Boolean=false):void{
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function frameProxy(_arg1:Object, _arg2:Number=0):void{
_arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame));
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function visibleProxy(_arg1:Object, _arg2:Number):void{
var _local3:TweenLite = _arg1.info.tween;
if (_local3.duration == _arg2){
if (((!((_local3.vars.runBackwards == true))) && ((_local3.ease == _local3.vars.ease)))){
_local3.target.visible = _local3.vars.visible;
};
} else {
if (_local3.target.visible != true){
_local3.target.visible = true;
};
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && (!((masterList[_arg1] == undefined))))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function updateAll(_arg1:Event=null):void{
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
var _local2:uint = (currentTime = getTimer());
var _local3:Dictionary = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6 == null){
} else {
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
};
_local5--;
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function tintProxy(_arg1:Object, _arg2:Number=0):void{
var _local3:Number = _arg1.target.progress;
var _local4:Number = (1 - _local3);
var _local5:Object = _arg1.info.color;
var _local6:Object = _arg1.info.endColor;
_arg1.info.target.transform.colorTransform = new ColorTransform(((_local5.redMultiplier * _local4) + (_local6.redMultiplier * _local3)), ((_local5.greenMultiplier * _local4) + (_local6.greenMultiplier * _local3)), ((_local5.blueMultiplier * _local4) + (_local6.blueMultiplier * _local3)), ((_local5.alphaMultiplier * _local4) + (_local6.alphaMultiplier * _local3)), ((_local5.redOffset * _local4) + (_local6.redOffset * _local3)), ((_local5.greenOffset * _local4) + (_local6.greenOffset * _local3)), ((_local5.blueOffset * _local4) + (_local6.blueOffset * _local3)), ((_local5.alphaOffset * _local4) + (_local6.alphaOffset * _local3)));
}
public static function volumeProxy(_arg1:Object, _arg2:Number=0):void{
_arg1.info.target.soundTransform = _arg1.target;
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local3:Object;
var _local4:Array;
var _local2:Dictionary = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 37
//TweenManager (gs.TweenManager)
package gs {
public class TweenManager {
private static var _tweenGroup:TweenGroup = new TweenGroup();
public static function togglePause():void{
if (!_tweenGroup){
return;
};
if (_tweenGroup.paused){
_tweenGroup.resume();
} else {
_tweenGroup.pause();
};
}
public static function resume():void{
if (!_tweenGroup){
return;
};
_tweenGroup.resume();
}
public static function pause():void{
if (!_tweenGroup){
return;
};
_tweenGroup.pause();
}
public static function complete():void{
var _local1:TweenLite;
for each (_local1 in _tweenGroup) {
_local1.complete(true);
};
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
if (!_tweenGroup){
return (null);
};
var _local4:TweenLite = TweenLite.to(_arg1, _arg2, _arg3);
_tweenGroup.push(_local4);
return (_local4);
}
public static function clear():void{
if (!_tweenGroup){
return;
};
_tweenGroup.clear();
}
}
}//package gs
Section 38
//BitmapAsset (mx.core.BitmapAsset)
package mx.core {
import flash.display.*;
public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject {
mx_internal static const VERSION:String = "3.3.0.4852";
public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
public function get measuredWidth():Number{
if (bitmapData){
return (bitmapData.width);
};
return (0);
}
public function get measuredHeight():Number{
if (bitmapData){
return (bitmapData.height);
};
return (0);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
}
}//package mx.core
Section 39
//ByteArrayAsset (mx.core.ByteArrayAsset)
package mx.core {
import flash.utils.*;
public class ByteArrayAsset extends ByteArray implements IFlexAsset {
mx_internal static const VERSION:String = "3.3.0.4852";
}
}//package mx.core
Section 40
//FlexBitmap (mx.core.FlexBitmap)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexBitmap extends Bitmap {
mx_internal static const VERSION:String = "3.3.0.4852";
public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
var bitmapData = _arg1;
var pixelSnapping = _arg2;
var smoothing = _arg3;
super(bitmapData, pixelSnapping, smoothing);
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 41
//FontAsset (mx.core.FontAsset)
package mx.core {
import flash.text.*;
public class FontAsset extends Font implements IFlexAsset {
mx_internal static const VERSION:String = "3.3.0.4852";
}
}//package mx.core
Section 42
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 43
//IFlexDisplayObject (mx.core.IFlexDisplayObject)
package mx.core {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.accessibility.*;
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher {
function get visible():Boolean;
function get rotation():Number;
function localToGlobal(_arg1:Point):Point;
function get name():String;
function set width(_arg1:Number):void;
function get measuredHeight():Number;
function get blendMode():String;
function get scale9Grid():Rectangle;
function set name(_arg1:String):void;
function set scaleX(_arg1:Number):void;
function set scaleY(_arg1:Number):void;
function get measuredWidth():Number;
function get accessibilityProperties():AccessibilityProperties;
function set scrollRect(_arg1:Rectangle):void;
function get cacheAsBitmap():Boolean;
function globalToLocal(_arg1:Point):Point;
function get height():Number;
function set blendMode(_arg1:String):void;
function get parent():DisplayObjectContainer;
function getBounds(_arg1:DisplayObject):Rectangle;
function get opaqueBackground():Object;
function set scale9Grid(_arg1:Rectangle):void;
function setActualSize(_arg1:Number, _arg2:Number):void;
function set alpha(_arg1:Number):void;
function set accessibilityProperties(_arg1:AccessibilityProperties):void;
function get width():Number;
function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean;
function set cacheAsBitmap(_arg1:Boolean):void;
function get scaleX():Number;
function get scaleY():Number;
function get scrollRect():Rectangle;
function get mouseX():Number;
function get mouseY():Number;
function set height(_arg1:Number):void;
function set mask(_arg1:DisplayObject):void;
function getRect(_arg1:DisplayObject):Rectangle;
function get alpha():Number;
function set transform(_arg1:Transform):void;
function move(_arg1:Number, _arg2:Number):void;
function get loaderInfo():LoaderInfo;
function get root():DisplayObject;
function hitTestObject(_arg1:DisplayObject):Boolean;
function set opaqueBackground(_arg1:Object):void;
function set visible(_arg1:Boolean):void;
function get mask():DisplayObject;
function set x(_arg1:Number):void;
function set y(_arg1:Number):void;
function get transform():Transform;
function set filters(_arg1:Array):void;
function get x():Number;
function get y():Number;
function get filters():Array;
function set rotation(_arg1:Number):void;
function get stage():Stage;
}
}//package mx.core
Section 44
//IRepeaterClient (mx.core.IRepeaterClient)
package mx.core {
public interface IRepeaterClient {
function get instanceIndices():Array;
function set instanceIndices(_arg1:Array):void;
function get isDocument():Boolean;
function set repeaters(_arg1:Array):void;
function initializeRepeaterArrays(_arg1:IRepeaterClient):void;
function get repeaters():Array;
function set repeaterIndices(_arg1:Array):void;
function get repeaterIndices():Array;
}
}//package mx.core
Section 45
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 46
//SoundAsset (mx.core.SoundAsset)
package mx.core {
import flash.media.*;
public class SoundAsset extends Sound implements IFlexAsset {
mx_internal static const VERSION:String = "3.3.0.4852";
}
}//package mx.core
Section 47
//NameUtil (mx.utils.NameUtil)
package mx.utils {
import flash.display.*;
import mx.core.*;
import flash.utils.*;
public class NameUtil {
mx_internal static const VERSION:String = "3.3.0.4852";
private static var counter:int = 0;
public static function displayObjectToString(_arg1:DisplayObject):String{
var result:String;
var o:DisplayObject;
var s:String;
var indices:Array;
var displayObject = _arg1;
try {
o = displayObject;
while (o != null) {
if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){
break;
};
s = o.name;
if ((o is IRepeaterClient)){
indices = IRepeaterClient(o).instanceIndices;
if (indices){
s = (s + (("[" + indices.join("][")) + "]"));
};
};
result = ((result == null)) ? s : ((s + ".") + result);
o = o.parent;
};
} catch(e:SecurityError) {
};
return (result);
}
public static function createUniqueName(_arg1:Object):String{
if (!_arg1){
return (null);
};
var _local2:String = getQualifiedClassName(_arg1);
var _local3:int = _local2.indexOf("::");
if (_local3 != -1){
_local2 = _local2.substr((_local3 + 2));
};
var _local4:int = _local2.charCodeAt((_local2.length - 1));
if ((((_local4 >= 48)) && ((_local4 <= 57)))){
_local2 = (_local2 + "_");
};
return ((_local2 + counter++));
}
}
}//package mx.utils
Section 48
//Bullet (Player.Bullet)
package Player {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class Bullet extends PlayerProj {
public function Bullet(_arg1:XML, _arg2:Scene, _arg3:Boolean){
super(_arg1, _arg2, _arg3);
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
safeDelete();
enabled = false;
spawnImpact();
}
}
}//package Player
Section 49
//MissleSalvo (Player.MissleSalvo)
package Player {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class MissleSalvo extends PlayerProj {
public function MissleSalvo(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
super(_arg1, _arg2, _arg3);
power = 20;
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
safeDelete();
enabled = false;
spawnImpact();
}
override public function clone():AnimatedSprite{
var _local1:MissleSalvo = new MissleSalvo(_XMLDef, scene, true);
return (_local1);
}
}
}//package Player
Section 50
//PlayerObject (Player.PlayerObject)
package Player {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.text.*;
import ToadLib.audio.*;
import gs.*;
import flash.utils.*;
import flash.net.*;
public class PlayerObject extends AnimatedSprite {
public var canonLevel:uint;// = 0
private var _explosionCount:Number;// = 0
public var rateOfFireBase:Number;// = 1.7
private var _lowerROFSchedule:Schedule;// = null
public var isROFAltApplied:Boolean;// = false
public var orginalROF:Number;
private var _explodeTemplate:AnimatedSprite;// = null
public var speed:Number;// = 750
private var _endGameTextFormat:TextFormat;// = null
public var ROFSpeedUp:Number;// = 0.3
public var ROFLevel:uint;// = 0
public var health:uint;// = 200
private var _explodeDuration:Number;// = 1000
public var numAddons:uint;// = 0
private var _warningSignFlash:Schedule;// = null
public var armour:uint;// = 3
private var _endGameText:TextField;// = null
public var rateOfFireMult:Number;// = 1
public var acceleration:Number;// = 0.3
public var speedLevel:uint;// = 0
private var _explosionDelay:Number;// = 150
public var speedUpMult:Number;// = 0.6
private var _impactExplTemplate:AnimatedSprite;// = null
private var _hasExploded:Boolean;// = false
private var _invincibleTime:Number;// = 2
private var currMoney:int;// = 0
public var currPoints:int;// = 0
private var _warningSign:TextField;// = null
private var _invincible:Boolean;// = false
private var _warningTextFormat:TextFormat;// = null
public var _isDead:Boolean;// = false
public var canonPowerUp:Number;// = 1
public var _addOnObj:AnimatedSprite;// = null
private var _exploding:Boolean;// = false
public var canonPowerMult:Number;// = 1
private var saveProps:String;// = "armour canonDamage canonPowerMult canonPowerUp speed speedUpMult acceleration rateOfFireBase rateOfFireMult numAddons canonLevel speedLevel armourLevel ROFLevel currPoints currMoney"
public var armourLevel:int;// = 3
private var _plyrExplodeSFX:SoundObject;// = null
public var canonDamage:Number;// = 10
public static const MAX_CANON:uint = 5;
public static const MAX_ADDON:uint = 3;
public static const MAX_ARMOUR:uint = 5;
public static const MAX_SPEED:Number = 5;
public static const MAX_ROF:Number = 5;
public function PlayerObject(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
orginalROF = rateOfFireMult;
super(_arg1, _arg2, _arg3);
setupAddon();
_addOnObj.visible = false;
collisionCallback = true;
updateAddonEntity();
addChildObject(_addOnObj);
name = "PlayerObject";
_endGameTextFormat = new TextFormat();
_endGameTextFormat.font = "MarsAttacks";
_endGameTextFormat.color = 0xFFFFFF;
_endGameTextFormat.size = 36;
_endGameTextFormat.align = TextFormatAlign.CENTER;
_warningTextFormat = new TextFormat();
_warningTextFormat.font = "MarsAttacks";
_warningTextFormat.color = 0xFF0000;
_warningTextFormat.size = 10;
_warningTextFormat.align = TextFormatAlign.CENTER;
_endGameText = createTextField("DEFEAT!", _endGameTextFormat, 0, 0, 0xFFFFFF);
_endGameText.defaultTextFormat = _endGameTextFormat;
_endGameText.x = (300 - (_endGameText.width * 0.5));
_endGameText.y = (300 - (_endGameText.height * 0.5));
_scene.addChild(_endGameText);
_endGameText.visible = false;
_plyrExplodeSFX = new SoundObject("sfx_enemyexplode_0000", 1, false, 140);
GlobalVarContainer.vars.plyrDead = false;
_impactExplTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("playermissleimpact"), _arg2, false);
}
private function lowerROF():void{
isROFAltApplied = false;
rateOfFireMult = orginalROF;
}
public function doHit(_arg1:int):void{
if (_invincible){
return;
};
var _local2:AnimatedSprite = _impactExplTemplate.clone();
_local2.x = ((x + (width * 0.5)) - (_local2.width * 0.5));
_local2.y = ((y + (height * 0.5)) - (_local2.height * 0.5));
_local2.deleteOnEnd = true;
_local2.setAnimation("plyr_missle_impact_0");
_local2.visible = true;
if (GlobalVarContainer.vars.multiplier > 1){
GlobalVarContainer.vars.multiplier = (GlobalVarContainer.vars.multiplier * 0.5);
GlobalVarContainer.vars.multiplier = Math.ceil(GlobalVarContainer.vars.multiplier);
};
GlobalVarContainer.vars.multiplier = MathUtils.clamp(GlobalVarContainer.vars.multiplier, 1, 9);
armourLevel = (armourLevel - _arg1);
if (armourLevel == 0){
setWarningVisible(true);
};
if (armourLevel < 0){
_isDead = true;
if (!_hasExploded){
startExplosion(6000);
};
_endGameText.visible = true;
collisionReceive = false;
setLinearVelocityX(0);
setLinearVelocityY(0);
setConstantForceX(0);
setConstantForceY(0);
setAnimation("player_idle");
Scheduler.setSchedule(4000, returnToTitle, this);
GlobalVarContainer.vars.escapeEnabled = false;
GlobalVarContainer.vars.plyrDead = true;
if (Scheduler.isShedulePending(_warningSignFlash)){
Scheduler.removeSchedule(_warningSignFlash);
};
};
armourLevel = MathUtils.clamp(armourLevel, 0, MAX_ARMOUR);
_invincibleTime = 2000;
_invincible = true;
}
public function addCanonPower():void{
if (canonLevel >= MAX_CANON){
return;
};
canonLevel++;
canonPowerMult = (canonPowerMult + canonPowerUp);
}
public function setFireAnmAddon():void{
if (numAddons <= 0){
return;
};
var _local1:String = ("addon_shoot_" + numAddons.toString());
_addOnObj.setAnimation(_local1, 0, true);
_addOnObj.frame = this.frame;
}
public function parsePlayerObjectData(_arg1:Object):Boolean{
var _local4:String;
var _local2:Array = saveProps.split(" ");
var _local3:int;
while (_local3 < _local2.length) {
_local4 = ("@" + _local2[_local3]);
this[_local2[_local3]] = _arg1[_local2[_local3]];
trace(this[_local2[_local3]]);
_local3++;
};
return (true);
}
public function addAddon():void{
if (numAddons >= MAX_ADDON){
return;
};
numAddons++;
setupAddon();
updateAddonEntity();
if (numAddons > 0){
_addOnObj.visible = true;
};
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
}
private function createTextField(_arg1:String, _arg2:TextFormat, _arg3:Number=0, _arg4:Number=0, _arg5:uint=8765151):TextField{
var _local6:TextField = new TextField();
_local6.embedFonts = true;
_local6.defaultTextFormat = _arg2;
_local6.text = _arg1;
_local6.width = 250;
_local6.textColor = _arg5;
_local6.x = _arg3;
_local6.y = _arg4;
_local6.selectable = false;
_local6.mouseEnabled = false;
_local6.cacheAsBitmap = true;
_local6.autoSize = TextFieldAutoSize.CENTER;
_local6.antiAliasType = AntiAliasType.ADVANCED;
_local6.mouseEnabled = false;
_local6.selectable = false;
return (_local6);
}
public function doSpeedUp():void{
if (speedLevel >= MAX_SPEED){
return;
};
speedUpMult = (speedUpMult + acceleration);
speedLevel++;
}
public function tempRaiseROF(_arg1:Number, _arg2:Number):void{
if (isROFAltApplied){
return;
};
orginalROF = rateOfFireMult;
isROFAltApplied = true;
rateOfFireMult = _arg1;
_lowerROFSchedule = Scheduler.setSchedule(_arg2, lowerROF, this);
}
public function setWarningVisible(_arg1:Boolean):void{
if (armourLevel > 2){
_warningSign.visible = false;
return;
};
_warningSign.visible = _arg1;
_warningSignFlash = Scheduler.setSchedule(500, setWarningVisible, this, !(_arg1));
}
override public function onLevelLoaded():void{
var _local1:SharedObject;
super.onLevelLoaded();
if (GlobalVarContainer.vars.restorePlayerData){
_local1 = SharedObject.getLocal("spacemutantsdata");
if (_local1.data.playerdata){
parsePlayerObjectData(_local1.data.playerdata);
};
GlobalVarContainer.vars.restorePlayerData = false;
currPoints = 0;
currMoney = 0;
armourLevel = 3;
};
if (numAddons > 0){
setupAddon();
};
worldLimit.left = 0;
worldLimit.right = 600;
limitMode = Scene.WORLD_LIM_MODE_CLAMP;
_warningSign = createTextField("WARNING!", _warningTextFormat, 0, 0, 0xFF0000);
_warningSign.defaultTextFormat = _warningTextFormat;
_warningSign.visible = false;
_warningSign.name = "EnemyScoreText";
_scene.addChild(_warningSign);
if (isROFAltApplied){
if (Scheduler.isShedulePending(_lowerROFSchedule)){
Scheduler.removeSchedule(_lowerROFSchedule);
};
rateOfFireMult = orginalROF;
isROFAltApplied = false;
};
}
public function returnToTitle():void{
var _local1:Level = (scene as Level);
if (_local1){
_local1.endGame();
};
scene.setPaused(true);
Scheduler.pause();
TweenManager.clear();
TweenManager.to(_scene, 1, {alpha:0, onComplete:turnOnTitle});
_endGameText.visible = false;
}
public function parseXML(_arg1:String):void{
var x:XML;
var xl:XMLList;
var n:XML;
var varNameStr:String;
var varTypeStr:String;
var varValueStr:String;
var s = _arg1;
try {
x = new XML(s);
xl = x..variable;
if (xl.length() == 0){
throw ("DataObj Error: XML does not contain any variable nodes.");
} else {
for each (n in xl) {
varNameStr = n.@name;
varTypeStr = n.@type;
varValueStr = n.toString();
if (hasOwnProperty(varNameStr) == true){
try {
this[varNameStr] = varValueStr;
} catch(e:Error) {
switch (varTypeStr){
case "Array":
this[varNameStr] = varValueStr.split(",");
break;
default:
throw (((((((("DataObj Error: Conversion of " + varValueStr) + " to ") + varTypeStr) + " failed for variable ") + varNameStr) + ". \r") + e.message));
break;
};
};
} else {
throw ("DataObj Error: XML contains a variable node that is not a class variable.");
};
};
};
} catch(e:Error) {
throw (e.message);
};
}
public function addROF():void{
if (ROFLevel >= MAX_ROF){
return;
};
rateOfFireMult = (rateOfFireMult + ROFSpeedUp);
if (isROFAltApplied){
orginalROF = (orginalROF + ROFSpeedUp);
};
ROFLevel++;
}
public function addArmour():void{
if (armourLevel >= MAX_ARMOUR){
return;
};
armour++;
armourLevel++;
armourLevel = MathUtils.clamp(armourLevel, 0, 5);
}
protected function endExplosion():void{
_exploding = false;
_explosionCount = 0;
_explodeDuration = 1000;
_hasExploded = true;
}
public function turnOnTitle():void{
if (!Main.titleScreen){
return;
};
Main.titleScreen.setEnabled();
}
public function addScore(_arg1:uint):void{
currPoints = (currPoints + _arg1);
currPoints = MathUtils.clamp(currPoints, 0, uint.MAX_VALUE);
}
public function removePowerUps():void{
if (Scheduler.isShedulePending(_lowerROFSchedule)){
Scheduler.removeSchedule(_lowerROFSchedule);
};
if (isROFAltApplied){
rateOfFireMult = orginalROF;
};
}
public function addMoney(_arg1:uint):void{
currMoney = (currMoney + _arg1);
currMoney = MathUtils.clamp(currMoney, 0, uint.MAX_VALUE);
}
public function setIdleAnmAddon():void{
if (numAddons <= 0){
return;
};
var _local1:String = ("addon_idle_" + numAddons.toString());
_addOnObj.setAnimation(_local1);
_addOnObj.frame = this.frame;
}
public function getPlayerObjectData():Object{
var _local4:String;
var _local1:Object = new Object();
if (isROFAltApplied){
rateOfFireMult = orginalROF;
isROFAltApplied = false;
};
var _local2:Array = saveProps.split(" ");
var _local3:int;
while (_local3 < _local2.length) {
_local4 = ("@" + _local2[_local3]);
_local1[_local2[_local3]] = this[_local2[_local3]];
_local3++;
};
return (_local1);
}
public function setupAddon():void{
if (_addOnObj){
removeChildObject(_addOnObj);
_addOnObj.safeDelete();
};
_addOnObj = new AnimatedSprite(AssetImporter.getXMLAsset("addon"), scene, true);
_addOnObj.x = 16;
_addOnObj.y = -16;
_addOnObj.visible = false;
_addOnObj.layer = (this.layer - 1);
updateAddonEntity();
addChildObject(_addOnObj);
}
public function get money():uint{
return (currMoney);
}
public function updateAddonEntity():void{
if (numAddons <= 0){
return;
};
var _local1:String = ("addon_idle_" + numAddons.toString());
_addOnObj.setAnimation(_local1);
_addOnObj.frame = this.frame;
_addOnObj.visible = true;
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (_invincibleTime > 0){
_invincibleTime = (_invincibleTime - _arg1);
if (_invincibleTime <= 0){
_invincible = false;
};
};
if (((_exploding) && (!(_hasExploded)))){
doExplosions(_arg1);
};
if (_warningSign){
_warningSign.x = ((x + (width * 0.5)) - (_warningSign.width * 0.5));
_warningSign.y = (y - 10);
if (armourLevel > 0){
if (Scheduler.isShedulePending(_warningSignFlash)){
Scheduler.removeSchedule(_warningSignFlash);
};
_warningSign.visible = false;
};
};
}
protected function startExplosion(_arg1:Number):void{
_exploding = true;
_explodeDuration = _arg1;
}
public function toXMLString():String{
var _local4:XML;
var _local1:XML = describeType(this);
var _local2:XMLList = _local1..variable;
var _local3 = "";
_local3 = (("<object type=\"" + getQualifiedClassName(this)) + "\">\r");
for each (_local4 in _local2) {
_local3 = (_local3 + (((("<variable name=\"" + _local4.@name.toString()) + "\" type=\"") + _local4.@type.toString()) + "\">"));
_local3 = (_local3 + this[_local4.@name.toString()].toString());
_local3 = (_local3 + "</variable>\r");
};
_local3 = (_local3 + "</object>");
return (_local3);
}
protected function doExplosions(_arg1:Number):void{
if (!_impactExplTemplate){
return;
};
_explosionCount = (_explosionCount + _arg1);
_explodeDuration = (_explodeDuration - _arg1);
if (_explodeDuration <= 0){
endExplosion();
};
if (_explosionCount < _explosionDelay){
return;
};
_explosionCount = (_explosionCount - _explosionDelay);
var _local2:Number = getPositionX();
var _local3:Number = (_local2 + this.getFrameWidth());
var _local4:Number = getPositionY();
var _local5:Number = (_local4 + this.getFrameHeight());
var _local6:Number = MathUtils.randRange(_local2, _local3);
var _local7:Number = MathUtils.randRange(_local4, _local5);
var _local8:AnimatedSprite = _impactExplTemplate.clone();
_local8.x = (_local6 - (_local8.width * 0.5));
_local8.y = (_local7 - (_local8.height * 0.5));
_local8.setAnimation("plyr_missle_impact_0");
_local8.deleteOnEnd = true;
_local8.layer = (layer - 1);
_plyrExplodeSFX.play();
}
}
}//package Player
Section 51
//PlayerProj (Player.PlayerProj)
package Player {
import ToadLib.Graphics.*;
import ToadLib.audio.*;
public class PlayerProj extends AnimatedSprite {
public var power:Number;// = 10
protected var _explosionSound:SoundObject;// = null
protected var _impactTemplate:AnimatedSprite;// = null
public function PlayerProj(_arg1:XML, _arg2:Scene, _arg3:Boolean){
super(_arg1, _arg2, _arg3);
_impactTemplate = new AnimatedSprite(AssetImporter.getXMLAsset("playermissleimpact"), _arg2, false);
_explosionSound = SoundManager.getSound("sfx_enemyexplode_0000");
collisionSend = true;
collisionCallback = true;
}
protected function spawnImpact():void{
if (!_impactTemplate){
return;
};
var _local1:AnimatedSprite = _impactTemplate.clone();
_local1.setAnimation("plyr_missle_impact_0");
_local1.setLinearVelocityX(0);
_local1.setLinearVelocityY(0);
_local1.x = (this.x - (this.width * 0.5));
_local1.y = (this.y - (this.height * 0.5));
_local1.layer = 4;
_local1.collisionSend = false;
_local1.testWorldLims = false;
_local1.deleteOnEnd = true;
_explosionSound.play();
}
}
}//package Player
Section 52
//PlyrBeamSegment (Player.PlyrBeamSegment)
package Player {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import Enemy.*;
public class PlyrBeamSegment extends PlayerProj {
private var colFrameCount:uint;// = 0
private var sendCol:Boolean;// = true
public static var _totalHitsFrame:uint = 0;
public function PlyrBeamSegment(_arg1:XML, _arg2:Scene, _arg3:Boolean){
super(_arg1, _arg2, _arg3);
_layer = 4;
collisionSend = true;
collisionCallback = true;
collisionGroup = 5;
setCollisionGroups([0], true);
power = 100;
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:BeamWeapon;
super.onCollision(_arg1, _arg2);
if (!_parent){
return;
};
_totalHitsFrame++;
if (_totalHitsFrame >= 2){
_local3 = (_parent as BeamWeapon);
_local3.setCollisionSend(false);
Scheduler.setSchedule(528, _local3.setCollisionSend, _local3, true);
_totalHitsFrame = 0;
};
}
override public function clone():AnimatedSprite{
var _local1:PlyrBeamSegment = new PlyrBeamSegment(_XMLDef, _scene, true);
return (_local1);
}
}
}//package Player
Section 53
//ScudMissile (Player.ScudMissile)
package Player {
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
public class ScudMissile extends PlayerProj {
public function ScudMissile(_arg1:XML, _arg2:Scene, _arg3:Boolean=true){
super(_arg1, _arg2, _arg3);
power = 30;
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
safeDelete();
enabled = false;
spawnImpact();
}
override public function clone():AnimatedSprite{
var _local1:ScudMissile = new ScudMissile(_XMLDef, _scene, true);
return (_local1);
}
}
}//package Player
Section 54
//SoundManager (ToadLib.audio.SoundManager)
package ToadLib.audio {
public class SoundManager {
public static var isMuted:Boolean = false;
public static var globalMusicVolume:Number = 0.2;
private static var lastSFXVolume:Number = globalSFXVolume;
public static var soundObjectArray:Array = [];
private static var lastMusicVolume:Number = globalMusicVolume;
public static var globalSFXVolume:Number = 0.7;
public static function getSound(_arg1:String):SoundObject{
var _local2:SoundObject = getSoundByName(_arg1);
if (!_local2){
_local2 = new SoundObject(_arg1, 1);
};
return (_local2);
}
public static function addSoundObject(_arg1:SoundObject):void{
if (!soundObjectArray){
return;
};
soundObjectArray.push(_arg1);
}
public static function setMuted():void{
var _local1:SoundObject;
isMuted = true;
lastMusicVolume = globalMusicVolume;
lastSFXVolume = globalSFXVolume;
globalMusicVolume = 0;
globalSFXVolume = 0;
for each (_local1 in soundObjectArray) {
_local1.pause();
};
}
public static function toggleMute():Boolean{
var _local1:SoundObject;
isMuted = !(isMuted);
if (isMuted){
lastMusicVolume = globalMusicVolume;
lastSFXVolume = globalSFXVolume;
globalMusicVolume = 0;
globalSFXVolume = 0;
} else {
globalMusicVolume = lastMusicVolume;
globalSFXVolume = lastSFXVolume;
};
if (!isMuted){
for each (_local1 in soundObjectArray) {
_local1.resume();
};
} else {
for each (_local1 in soundObjectArray) {
_local1.pause();
};
};
return (isMuted);
}
public static function setUnmuted():void{
var _local1:SoundObject;
isMuted = false;
globalMusicVolume = lastMusicVolume;
globalSFXVolume = lastSFXVolume;
for each (_local1 in soundObjectArray) {
_local1.resume();
};
}
public static function getSoundByName(_arg1:String):SoundObject{
var _local2:SoundObject;
if (!soundObjectArray){
return (null);
};
for each (_local2 in soundObjectArray) {
if (_local2._name == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package ToadLib.audio
Section 55
//SoundObject (ToadLib.audio.SoundObject)
package ToadLib.audio {
import gs.*;
import flash.media.*;
import flash.utils.*;
public class SoundObject {
public var _pausePosition:Number;// = 0
public var delay:Number;// = 1000
public var _channel:SoundChannel;// = null
public var _paused:Boolean;// = false
public var lastPlayTime:int;// = 0
public var _pauseStartTime:int;// = 0
public var isMusic:Boolean;// = false
private var _assetName:String;// = ""
private var _audio:Sound;// = null
public var _fadeOutPos:Number;
public var _isPlaying:Boolean;// = false
public var volume:Number;// = 1
public var _name:String;// = ""
public var _fadeInTween:TweenLite;// = null
public var _transform:SoundTransform;// = null
public var _lastPlayLoop:Boolean;// = false
public var _lastVolume:Number;// = 1
public var _fadeOutTween:TweenLite;// = null
public function SoundObject(_arg1:String, _arg2:Number, _arg3:Boolean=false, _arg4:Number=1000){
_audio = AssetImporter.getAudioAsset(_arg1);
_assetName = _arg1;
_name = _arg1;
this.isMusic = _arg3;
this.delay = _arg4;
SoundManager.addSoundObject(this);
volume = _arg2;
}
public function fadeIn(_arg1:Number, _arg2:Number):void{
if (!_channel){
return;
};
if (_fadeOutTween){
TweenLite.removeTween(_fadeOutTween);
};
_fadeInTween = TweenLite.to(_channel, _arg2, {volume:(_arg1 * SoundManager.globalMusicVolume), overwrite:1, onComplete:onFadeInComplete});
}
public function resume():void{
if (((((((!(_channel)) || (!(_audio)))) || (!(_lastPlayLoop)))) || (!(_paused)))){
return;
};
_paused = false;
volume = 1;
if (isMusic){
_transform.volume = (volume * SoundManager.globalMusicVolume);
} else {
_transform.volume = (volume * SoundManager.globalSFXVolume);
};
_channel = null;
if (_lastPlayLoop){
_channel = _audio.play(0, int.MAX_VALUE, _transform);
};
_isPlaying = true;
}
public function stop():void{
if (!_channel){
return;
};
_isPlaying = false;
_channel.stop();
}
public function togglePause():void{
if (((((((!(_channel)) || (!(_audio)))) || (!(_isPlaying)))) || (!(_lastPlayLoop)))){
return;
};
_paused = !(_paused);
if (!_paused){
volume = 1;
play(_lastPlayLoop, _pausePosition);
} else {
if (!_isPlaying){
return;
};
_pauseStartTime = getTimer();
_pausePosition = (_channel.position % _audio.length);
_channel.stop();
};
}
private function onFadeInComplete():void{
volume = _channel.soundTransform.volume;
}
public function clone():SoundObject{
var _local1:SoundObject = new SoundObject(_assetName, volume);
return (_local1);
}
public function setVolume(_arg1:Number):void{
if (!_channel){
return;
};
volume = (_arg1 * SoundManager.globalMusicVolume);
var _local2:SoundTransform = new SoundTransform(volume);
_channel.soundTransform = _local2;
}
public function isPlaying():Boolean{
return (_isPlaying);
}
private function onFadeOutComplete():void{
volume = _channel.soundTransform.volume;
stop();
}
public function fadeOut(_arg1:Number, _arg2:Number):void{
if (!_channel){
return;
};
if (_fadeInTween){
TweenLite.removeTween(_fadeInTween);
};
_fadeOutTween = TweenLite.to(_channel, _arg2, {volume:(_arg1 * SoundManager.globalMusicVolume), overwrite:1, onComplete:onFadeOutComplete});
}
public function play(_arg1:Boolean=false, _arg2:Number=0, _arg3:Number=0):SoundChannel{
if (((((getTimer() - lastPlayTime) < delay)) || (SoundManager.isMuted))){
return (null);
};
if (!_audio){
return (null);
};
lastPlayTime = getTimer();
_lastPlayLoop = _arg1;
_transform = new SoundTransform(volume, 0);
if (isMusic){
_transform.volume = (volume * SoundManager.globalMusicVolume);
} else {
_transform.volume = (volume * SoundManager.globalSFXVolume);
};
_channel = null;
if (_arg1){
_channel = _audio.play(_arg2, int.MAX_VALUE, _transform);
} else {
_channel = _audio.play(_arg2, 0, _transform);
};
_isPlaying = true;
return (_channel);
}
public function pause():void{
if (((((((((!(_channel)) || (!(_audio)))) || (!(_isPlaying)))) || (!(_lastPlayLoop)))) || (_paused))){
return;
};
_paused = true;
_pauseStartTime = getTimer();
_pausePosition = (_channel.position % _audio.length);
stop();
}
}
}//package ToadLib.audio
Section 56
//Collision (ToadLib.Collision.Collision)
package ToadLib.Collision {
import ToadLib.Framework.*;
import flash.display.*;
import flash.geom.*;
import Enemy.*;
import Player.*;
public class Collision {
public static function hitTestObject(_arg1:SceneObject, _arg2:SceneObject, _arg3:Boolean=false, _arg4:int=0xFF):Boolean{
var _local8:BitmapData;
var _local9:BitmapData;
var _local10:Point;
var _local11:Point;
var _local12:int;
var _local5:Point;
var _local6:Rectangle;
var _local7:Rectangle;
if (_arg2._parent){
_local5 = _arg2.getWorldPosition();
_local6 = new Rectangle(_local5.x, _local5.y, _arg2.width, _arg2.height);
} else {
_local6 = new Rectangle(_arg2.x, _arg2.y, _arg2.width, _arg2.height);
};
if (_arg1._parent){
_local5 = _arg1.getWorldPosition();
_local7 = new Rectangle(_local5.x, _local5.y, _arg1.width, _arg1.height);
} else {
_local7 = new Rectangle(_arg1.x, _arg1.y, _arg1.width, _arg1.height);
};
if (_local7.intersects(_local6)){
if ((((_arg1 is BeamSegment)) || ((_arg2 is PlayerObject)))){
_local12 = 0;
};
if (((((!(_arg3)) || (!(_arg1.renderable)))) || (!(_arg2.renderable)))){
return (true);
};
_local8 = _arg1.renderable.pixels;
_local9 = _arg2.renderable.pixels;
_local10 = new Point(_arg1.x, _arg1.y);
_local11 = null;
if (_arg2._parent){
_local11 = new Point(_arg2.getWorldPosition().x, _arg2.getWorldPosition().y);
} else {
_local11 = new Point(_arg2.x, _arg2.y);
};
if (_arg1._parent){
_local10 = new Point(_arg1.getWorldPosition().x, _arg1.getWorldPosition().y);
} else {
_local10 = new Point(_arg1.x, _arg1.y);
};
if (((!(_local8)) || (!(_local9)))){
return (false);
};
return (_local8.hitTest(_local10, 0xFF, _local9, _local11, 0xFF));
};
return (false);
}
}
}//package ToadLib.Collision
Section 57
//ActiveGraph (ToadLib.Framework.ActiveGraph)
package ToadLib.Framework {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
public class ActiveGraph extends Sprite {
private const PAGE:Number = 0x1000;
private const MEGABYTES:Number = 0;
private const WIDTH:Number = 50;
private const HEIGHT:Number = 15;
private var output:String;
private var textFormat:TextFormat;
private var numerator:Number;
private var history:Array;
private var graphBackground:Sprite;
private var average:int;
private var itr:Number;
private var high:Number;
private var lastPlot1:int;
private var plotLength:int;
private var sign:String;
private var old:int;
private var verboseMode:Boolean;
private var fn:Function;
private var returnVal:Boolean;
private var backY:Number;
private var low:Number;
private var backX:Number;
private var textBox:TextField;
private var plot:int;
private var caught2:Boolean;// = false
private var denominator:Number;
private var timer:Timer;
private var plotLine:Shape;
private var lastPlot2:int;
public function ActiveGraph(_arg1:Number=0, _arg2:Boolean=false, _arg3:Boolean=true, _arg4:int=2):void{
_arg4 = Math.min(_arg4, 2);
lastPlot1 = (lastPlot2 = (plot = (plotLength = 0)));
history = new Array();
numerator = (denominator = (average = 0));
timer = new Timer(_arg1);
verboseMode = _arg2;
switch (_arg4){
case 0:
fn = test0;
break;
case 2:
fn = test2;
break;
default:
fn = test1;
break;
};
if (_arg3){
textBox = new TextField();
textFormat = new TextFormat();
graphBackground = new Sprite();
plotLine = new Shape();
textFormat.size = 9;
textFormat.font = "Monaco";
textFormat.color = 0xFFFFFF;
textBox.selectable = false;
textBox.autoSize = TextFieldAutoSize.LEFT;
textBox.x = (WIDTH + 5);
textBox.height = HEIGHT;
graphBackground.graphics.beginFill(0);
graphBackground.graphics.drawRect(0, 0, (WIDTH + 85), HEIGHT);
graphBackground.graphics.endFill();
graphBackground.graphics.lineStyle(0.5, 0xFFFFFF);
graphBackground.graphics.drawRect(0, 0, WIDTH, (HEIGHT - 1));
this.addChild(graphBackground);
this.addChild(plotLine);
this.addChild(textBox);
timer.addEventListener(TimerEvent.TIMER, drawMem, false, 0, true);
textBox.mouseEnabled = false;
backX = x;
backY = y;
graphBackground.addEventListener(MouseEvent.MOUSE_DOWN, handleDrag, false, 0, true);
graphBackground.addEventListener(MouseEvent.MOUSE_UP, handleDrag, false, 0, true);
this.addEventListener(Event.ADDED_TO_STAGE, loadDrag, false, 0, true);
} else {
trace("ActiveGraph Running.");
timer.addEventListener(TimerEvent.TIMER, trackMem, false, 0, true);
};
timer.start();
}
public function get data():Number{
return (plot);
}
private function trackMem(_arg1:TimerEvent=null):Boolean{
returnVal = false;
plot = (System.totalMemory / PAGE);
old = average;
numerator = (numerator + plot);
denominator++;
average = (numerator / denominator);
if (((fn()) && (verboseMode))){
trace(plot);
};
return (returnVal);
}
private function loadDrag(_arg1:Event):void{
this.stage.addEventListener(Event.MOUSE_LEAVE, handleDrag, false, 0, true);
}
private function test1():Boolean{
returnVal = ((!(lastPlot1)) || ((lastPlot1 > plot)));
lastPlot1 = plot;
return (returnVal);
}
private function test2():Boolean{
if ((((lastPlot1 > plot)) || (!(lastPlot1)))){
if ((((lastPlot2 > plot)) || (!(lastPlot2)))){
caught2 = true;
};
lastPlot2 = plot;
} else {
if ((((lastPlot1 < plot)) && (caught2))){
plot = lastPlot2;
returnVal = true;
caught2 = false;
};
};
lastPlot1 = plot;
return (returnVal);
}
private function test0():Boolean{
if (lastPlot1 != plot){
returnVal = true;
lastPlot1 = plot;
};
return (returnVal);
}
private function drawMem(_arg1:TimerEvent=null):void{
if (!visible){
return;
};
if (trackMem()){
plotLine.graphics.clear();
if (plotLength == 21){
history.shift();
plotLength--;
};
if (plot > history[int((plotLength - 1))]){
sign = "+ , ";
} else {
if (plot < history[int((plotLength - 1))]){
sign = "- , ";
} else {
sign = " , ";
};
};
history.push(plot);
plotLength = history.length;
if (plotLength > 1){
plotLine.graphics.lineStyle(2.5, 0xFF0000);
high = 0;
low = Infinity;
itr = 0;
while (itr < plotLength) {
high = Math.max(history[itr], high);
low = Math.min(history[itr], low);
itr++;
};
plotLine.graphics.moveTo(0, (HEIGHT * (1 - ((history[0] - low) / (high - low)))));
itr = 1;
while (itr < plotLength) {
plotLine.graphics.lineTo(((WIDTH * itr) / (plotLength - 1)), (HEIGHT * (1 - ((history[itr] - low) / (high - low)))));
itr++;
};
};
output = (plot + sign);
textBox.text = (String(output) + String(average));
textBox.setTextFormat(textFormat);
};
}
private function handleDrag(_arg1:Event):void{
switch (_arg1.type){
case MouseEvent.MOUSE_DOWN:
backX = x;
backY = y;
startDrag();
break;
case MouseEvent.MOUSE_UP:
stopDrag();
break;
case Event.MOUSE_LEAVE:
stopDrag();
x = backX;
y = backY;
break;
};
}
}
}//package ToadLib.Framework
Section 58
//Controller (ToadLib.Framework.Controller)
package ToadLib.Framework {
import flash.events.*;
import ToadLib.Interfaces.*;
public class Controller extends EventDispatcher implements IController {
protected var _target:SceneObject;// = null
public function Controller(_arg1:SceneObject){
_target = _arg1;
}
public function onAdd():void{
}
public function onRemove():void{
}
public function onFrameChanged():void{
}
public function onWorldLimit(_arg1:int, _arg2:String):void{
}
public function update(_arg1:Number):void{
}
public function handleMouseMove(_arg1:MouseEvent):void{
}
public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
}
public function onLevelEnded():void{
}
public function handleMouseDown(_arg1:MouseEvent):void{
}
public function handleKeyUp(_arg1:KeyboardEvent):void{
}
public function onLevelLoaded():void{
}
public function handleKeyDown(_arg1:KeyboardEvent):void{
}
public function onAnimationEnd():void{
}
}
}//package ToadLib.Framework
Section 59
//FrameTimer (ToadLib.Framework.FrameTimer)
package ToadLib.Framework {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
public class FrameTimer {
private var messageTextField:TextField;
public var y:int;
public var messagePoint:Point;
public var messageRect:Rectangle;
private var messageText:String;
public var frameTimer:Timer;
public var canvasBD:BitmapData;
private var messageBitmapData:BitmapData;
public var parent:Sprite;
public var framesCounted:int;// = 0
public var x:int;
public var visible:Boolean;// = true
private var format:TextFormat;
public function FrameTimer(_arg1:Sprite, _arg2:int, _arg3:int, _arg4:BitmapData):void{
format = new TextFormat();
messageTextField = new TextField();
super();
x = _arg2;
y = _arg3;
canvasBD = _arg4;
format.size = 12;
format.font = "Arial";
format.color = "0xffffff";
format.bold = true;
messageText = "0";
messageTextField.text = messageText;
messageTextField.setTextFormat(format);
messageTextField.width = 30;
messageTextField.height = 20;
messageBitmapData = new BitmapData(messageTextField.width, messageTextField.height, true, 4294901760);
parent = _arg1;
frameTimer = new Timer(1000, 0);
frameTimer.addEventListener(TimerEvent.TIMER, frameCounter, false, 0, true);
frameTimer.start();
messagePoint = new Point(x, y);
messageRect = new Rectangle(0, 0, messageTextField.width, messageTextField.height);
}
public function frameCounter(_arg1:TimerEvent):void{
messageText = framesCounted.toString();
messageTextField.text = messageText;
framesCounted = 0;
}
public function countFrames():void{
framesCounted++;
}
public function render():void{
if (!visible){
return;
};
format.size = 12;
format.font = "Arial";
format.color = "0xffffff";
format.bold = true;
messageTextField.setTextFormat(format);
messageBitmapData.fillRect(messageRect, 4294901760);
messageBitmapData.draw(messageTextField);
canvasBD.copyPixels(messageBitmapData, messageRect, messagePoint);
}
}
}//package ToadLib.Framework
Section 60
//GlobalVarContainer (ToadLib.Framework.GlobalVarContainer)
package ToadLib.Framework {
public class GlobalVarContainer {
public static var vars:Object = [];
}
}//package ToadLib.Framework
Section 61
//MathUtils (ToadLib.Framework.MathUtils)
package ToadLib.Framework {
public class MathUtils {
public static const PI_MULT_180:Number = 565.486677646163;
public static const PI_DIV_180:Number = 0.0174532925199433;
public static var cosTable:Array = [];
public static var sinTable:Array = [];
public function MathUtils(){
calcCosTable();
calcSinTable();
}
private static function calcSinTable():void{
var _local1:uint;
while (_local1 <= 360) {
sinTable.push(Math.sin((_local1 * PI_DIV_180)));
_local1++;
};
}
public static function randRange(_arg1:Number, _arg2:Number):Number{
return ((Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1));
}
public static function clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{
return (((_arg1 < _arg2)) ? _arg2 : ((_arg1 > _arg3)) ? _arg3 : _arg1);
}
private static function calcCosTable():void{
var _local1:uint;
while (_local1 <= 360) {
cosTable.push(Math.cos((_local1 * PI_DIV_180)));
_local1++;
};
}
}
}//package ToadLib.Framework
Section 62
//SceneObject (ToadLib.Framework.SceneObject)
package ToadLib.Framework {
import ToadLib.Interfaces.*;
import ToadLib.Graphics.*;
import flash.geom.*;
import ToadLib.utils.*;
public class SceneObject implements ISceneObject {
private const PI_BY_180:Number = 0.0174532925199433;
public var worldLimCallback:Boolean;// = false
public var minLinearVelocity:Point;
public var renderMethod:int;// = 0
public var testWorldLims:Boolean;// = false
private var _isShaking:Boolean;// = false
private var _paused:Boolean;// = false
public var _layer:uint;// = 0
private var _height:Number;// = 0
private var _isMovingTo:Boolean;// = false
public var _alpha:Number;// = 1
private var _pauseTime:Number;// = 0
public var collisionGroup:uint;// = 0
private var _angleTarget:Number;// = 0
public var name:String;// = ""
public var scene:Scene;// = null
private var _linearMoveToSpeed:Number;// = 0
protected var _controllers:Array;
private var _isRotatingTo:Boolean;// = false
public var _isBeingDeleted:Boolean;// = false
private var _width:Number;// = 0
private var _angularRotateToSpeed:Number;// = 0
private var _startShakeTime:Number;// = 0
public var _rotation:Number;// = 0
public var angularVelocity:Number;// = 0
private var _objectgroup:ISceneObjectGroup;// = null
private var _currShakeTime:Number;// = 0
private var canMoveXFrame:Boolean;// = true
private var _startShakeMag:Point;
private var _startMag:Point;
public var _sortPoint:Point;
public var _inheritVisible:Boolean;// = false
public var _nextPos:Point;
public var _visible:Boolean;// = true
public var _linearVelocity:Point;
public var enabled:Boolean;// = true
public var worldLimit:Rectangle;
public var collisionReceive:Boolean;// = false
private var _targetPosY:Number;// = 0
private var _targetPosX:Number;// = 0
public var _children:Array;
public var flipX:Boolean;// = false
public var flipY:Boolean;// = false
private var _renderable:IRenderable;// = null
private var canMoveYFrame:Boolean;// = true
public var collisionCallback:Boolean;// = false
public var maxLinearVelocity:Point;
private var _constantForce:Point;
private var colLimsFrame:String;
private var collisionGroups:BitVector;
private var _renderOffset:Point;
public var _damping:Number;// = 0
public var _parent:SceneObject;// = null
private var _shakeMag:Point;
public var groups:uint;// = 0
public var collisionSend:Boolean;// = false
public var _x:Number;// = 0
public var _y:Number;// = 0
public var limitMode:int;
public static const COPY_RENDERER:int = 0;
public static const VECTOR_RENDERER:int = 1;
public function SceneObject(_arg1:Scene, _arg2:Boolean=true){
_linearVelocity = new Point(0, 0);
maxLinearVelocity = new Point(0, 0);
minLinearVelocity = new Point(0, 0);
_constantForce = new Point();
_nextPos = new Point(0, 0);
_controllers = [];
_sortPoint = new Point(0.5, 0.5);
worldLimit = new Rectangle();
limitMode = Scene.WORLD_LIM_MODE_NULL;
colLimsFrame = new String("");
_children = [];
_startShakeMag = new Point();
_renderOffset = new Point();
_shakeMag = new Point();
_startMag = new Point();
collisionGroups = new BitVector(32);
super();
_linearVelocity = new Point(0, 0);
angularVelocity = 0;
_layer = 0;
groups = 0;
this.scene = _arg1;
if (_arg2){
this.scene.addSceneObject(this);
};
worldLimit = _arg1.stage.getRect(_arg1.stage);
}
public function set damping(_arg1:Number):void{
_damping = _arg1;
}
public function setPositionX(_arg1:Number):void{
_nextPos.x = _arg1;
}
public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
var _local3:IController;
for each (_local3 in _controllers) {
_local3.onCollision(_arg1, _arg2);
};
}
public function setPositionY(_arg1:Number):void{
_nextPos.y = _arg1;
}
public function addChildObject(_arg1:SceneObject):void{
if (((!(_arg1)) || ((_children.indexOf(_arg1) >= 0)))){
return;
};
_children.push(_arg1);
_arg1._parent = this;
scene.addSceneObject(_arg1);
}
private function resolveClamp(_arg1:String):void{
var _local2:Boolean = StringUtils.contains(_arg1, "left");
var _local3:Boolean = StringUtils.contains(_arg1, "right");
var _local4:Boolean = StringUtils.contains(_arg1, "top");
var _local5:Boolean = StringUtils.contains(_arg1, "bottom");
var _local6:Number = _nextPos.x;
var _local7:Number = (_nextPos.x + _width);
var _local8:Number = _nextPos.y;
var _local9:Number = (_nextPos.y + _height);
var _local10:Number = (worldLimit.right - _local7);
var _local11:Number = (worldLimit.left - _local6);
var _local12:Number = Math.abs(((x + width) - this.worldLimit.right));
var _local13:Number = Math.abs((x - this.worldLimit.left));
var _local14:Number = Math.abs(((y + height) - this.worldLimit.bottom));
var _local15:Number = Math.abs((y - this.worldLimit.top));
if (_local2){
_nextPos.x = (x - _local13);
};
if (_local3){
_nextPos.x = (x + _local12);
};
if (_local4){
_nextPos.y = (y - _local15);
};
if (_local5){
_nextPos.y = (y + _local14);
};
}
public function setPaused(_arg1:Boolean):void{
_paused = _arg1;
}
public function updateObjectMovement(_arg1:Number):void{
var _local3:IController;
if (((((_paused) || (!(enabled)))) || (_isBeingDeleted))){
return;
};
var _local2:Number = (_arg1 / 1000);
for each (_local3 in _controllers) {
_local3.update(_local2);
};
if (objectGroup){
objectGroup.update(_local2);
};
_linearVelocity.x = (_linearVelocity.x + (_constantForce.x * _local2));
_linearVelocity.y = (_linearVelocity.y + (_constantForce.y * _local2));
var _local4:Number = (_linearVelocity.x * (_damping * _local2));
var _local5:Number = (_linearVelocity.y * (_damping * _local2));
_linearVelocity.x = (_linearVelocity.x - _local4);
_linearVelocity.y = (_linearVelocity.y - _local5);
if ((((_linearVelocity.x <= 0.5)) && ((_linearVelocity.x >= -0.5)))){
_linearVelocity.x = 0;
};
if ((((_linearVelocity.y <= 0.5)) && ((_linearVelocity.y >= -0.5)))){
_linearVelocity.y = 0;
};
checkMaxLinearVelocity();
if (_isRotatingTo){
_rotation = (_rotation + (_angularRotateToSpeed * _local2));
if (_rotation >= _angleTarget){
_rotation = _angleTarget;
_isRotatingTo = false;
};
};
_nextPos.x = (this.x + (_linearVelocity.x * _local2));
_nextPos.y = (this.y + (_linearVelocity.y * _local2));
}
public function moveTo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=true, _arg5:Boolean=false, _arg6:Boolean=true):void{
_isMovingTo = true;
_targetPosX = _arg1;
_targetPosY = _arg2;
_linearMoveToSpeed = _arg3;
}
public function onAdd():void{
var _local1:IController;
for each (_local1 in _controllers) {
_local1.onAdd();
};
}
public function set linearVelocity(_arg1:Point):void{
_linearVelocity = _arg1;
}
public function set height(_arg1:Number):void{
_height = _arg1;
}
public function removeChildObject(_arg1:SceneObject, _arg2:Boolean=true):void{
if (((((!(_arg1)) || (!(_children)))) || (!(_children.length)))){
return;
};
var _local3:int = _children.indexOf(_arg1);
if (_local3 < 0){
return;
};
var _local4:Point = _arg1.getWorldPosition();
_children.splice(_local3, 1);
_arg1.x = _local4.x;
_arg1.y = _local4.y;
_arg1._parent = null;
}
public function testWorldLimits():String{
var _local1:Number = (_width * 0.5);
var _local2:Number = (_height * 0.5);
var _local3:Number = _nextPos.x;
var _local4:Number = (_nextPos.x + _width);
var _local5:Number = _nextPos.y;
var _local6:Number = (_nextPos.y + _height);
colLimsFrame = "";
if (_local3 <= worldLimit.left){
colLimsFrame = (colLimsFrame + "left");
};
if ((_local4 >= worldLimit.right)){
colLimsFrame = (colLimsFrame + " right");
};
if (_local5 <= worldLimit.top){
colLimsFrame = (colLimsFrame + " top");
};
if (_local6 >= worldLimit.bottom){
colLimsFrame = (colLimsFrame + " bottom");
};
colLimsFrame = StringUtils.trim(colLimsFrame);
return (colLimsFrame);
}
public function onRotationTarget():void{
}
public function get visible():Boolean{
return (_visible);
}
public function get x():Number{
return (_x);
}
public function get y():Number{
return (_y);
}
public function setEnabled(_arg1:Boolean):void{
this.enabled = _arg1;
}
public function get objectGroup():ISceneObjectGroup{
return (_objectgroup);
}
public function getConstantForceX():Number{
return (_constantForce.x);
}
public function onWorldLimit(_arg1:int, _arg2:String):void{
}
public function setConstantForceY(_arg1:Number):void{
_constantForce.y = _arg1;
}
private function integrateTransforms():void{
if (!_parent){
return;
};
var _local1:Number = (_parent.rotation * PI_BY_180);
var _local2:Number = ((Math.cos(_local1) * x) + (Math.sin(_local1) * y));
var _local3:Number = ((Math.sin(_local1) * x) + (Math.cos(_local1) * y));
_local2 = (_local2 + _parent.x);
_local3 = (_local3 + _parent.y);
x = _local2;
y = _local3;
}
public function getConstantForceY():Number{
return (_constantForce.y);
}
public function set layer(_arg1:uint):void{
_layer = _arg1;
if (scene){
scene.sortScene();
};
}
public function isCollisionGroupSet(_arg1:int):Boolean{
if (!collisionGroups){
return (false);
};
if (collisionGroups.getBit(_arg1)){
return (true);
};
return (false);
}
public function setLinearVelocityX(_arg1:Number):void{
_linearVelocity.x = _arg1;
}
public function setLinearVelocityY(_arg1:Number):void{
_linearVelocity.y = _arg1;
}
public function setConstantForceX(_arg1:Number):void{
_constantForce.x = _arg1;
}
public function update(_arg1:Number):void{
var _local2:Number = (_arg1 / 1000);
if (_isShaking){
updateShaking(_arg1);
};
this.x = _nextPos.x;
this.y = _nextPos.y;
if (_renderable){
_renderable.update(_arg1);
};
canMoveXFrame = true;
canMoveYFrame = true;
colLimsFrame = "";
}
private function resolveLimitCollision(_arg1:String):void{
var _local2:IController;
if (limitMode == Scene.WORLD_LIM_MODE_CLAMP){
resolveClamp(_arg1);
} else {
if (limitMode == Scene.WORLD_LIM_MODE_KILL){
resolveKill(_arg1);
} else {
if (limitMode == Scene.WORLD_LIM_MODE_TRANSFER){
resolveTransfer(_arg1);
};
};
};
if (worldLimCallback){
this.onWorldLimit(limitMode, _arg1);
for each (_local2 in _controllers) {
_local2.onWorldLimit(limitMode, _arg1);
};
if (this._objectgroup){
this._objectgroup.onWorldLimit(limitMode, _arg1);
};
};
}
public function onLevelEnded():void{
var _local1:IController;
for each (_local1 in _controllers) {
_local1.onLevelEnded();
};
}
public function setCollisionGroups(_arg1:Array, _arg2:Boolean):void{
if (!collisionGroups){
return;
};
var _local3:uint;
while (_local3 < _arg1.length) {
collisionGroups.setBit(_arg1[_local3], _arg2);
_local3++;
};
}
public function set visible(_arg1:Boolean):void{
var _local2:SceneObject;
_visible = _arg1;
if (((_children) || (_children.length))){
for each (_local2 in _children) {
if (_local2._inheritVisible){
_local2._visible = _visible;
};
};
};
}
public function set x(_arg1:Number):void{
_x = _arg1;
_nextPos.x = _arg1;
}
public function set y(_arg1:Number):void{
_y = _arg1;
_nextPos.y = _arg1;
}
public function set rotation(_arg1:Number):void{
_rotation = _arg1;
}
public function set objectGroup(_arg1:ISceneObjectGroup):void{
_objectgroup = _arg1;
}
public function set constantForceY(_arg1:Number):void{
_constantForce.y = _arg1;
}
public function get height():Number{
return (_height);
}
public function set constantForceX(_arg1:Number):void{
_constantForce.x = _arg1;
}
public function getWorldPosition():Point{
if (!_parent){
return (new Point(x, y));
};
var _local1:Point = new Point();
_local1.x = (_parent.getWorldPosition().x + x);
_local1.y = (_parent.getWorldPosition().y + y);
return (_local1);
}
public function rotateTo(_arg1:Number, _arg2:Number, _arg3:Boolean=true, _arg4:Boolean=false, _arg5:Boolean=true):void{
_isRotatingTo = true;
_angleTarget = _arg1;
_angularRotateToSpeed = _arg2;
}
public function updateShaking(_arg1:Number):void{
_currShakeTime = (_currShakeTime - _arg1);
var _local2:Number = (_currShakeTime / _startShakeTime);
_shakeMag.x = (_startShakeMag.x * _local2);
_shakeMag.y = (_startShakeMag.y * _local2);
if (_currShakeTime <= 0){
stopShaking();
return;
};
_renderOffset.x = MathUtils.randRange(-(_shakeMag.x), _shakeMag.x);
_renderOffset.y = MathUtils.randRange(-(_shakeMag.y), _shakeMag.y);
}
public function addController(_arg1:IController):void{
if (!_controllers){
return;
};
_controllers.push(_arg1);
}
public function getLinearVelocityX():Number{
return (_linearVelocity.x);
}
public function onRemove():void{
var _local1:IController;
for each (_local1 in _controllers) {
_local1.onRemove();
};
}
public function setWorldLimit(_arg1:int, _arg2:Rectangle, _arg3:Boolean):void{
this.limitMode = _arg1;
this.worldLimit = _arg2;
worldLimCallback = _arg3;
}
public function updateObjectWorldCollision(_arg1:Number):void{
if (((((_paused) || (!(enabled)))) || (_isBeingDeleted))){
return;
};
var _local2 = "";
if (testWorldLims){
_local2 = testWorldLimits();
};
if (_local2.length > 0){
resolveLimitCollision(_local2);
};
}
public function get layer():uint{
return (_layer);
}
public function onLevelLoaded():void{
var _local1:IController;
for each (_local1 in _controllers) {
_local1.onLevelLoaded();
};
}
public function getLinearVelocityY():Number{
return (_linearVelocity.y);
}
private function resolveKill(_arg1:String):void{
testWorldLims = false;
if (_parent){
_parent.removeChildObject(this);
};
safeDelete();
}
private function smoothstep(_arg1:Number):Number{
return (((_arg1 * _arg1) * (3 - (2 * x))));
}
private function checkMaxLinearVelocity():void{
if (maxLinearVelocity.x != 0){
if (_linearVelocity.x >= maxLinearVelocity.x){
_linearVelocity.x = maxLinearVelocity.x;
};
};
if (maxLinearVelocity.y != 0){
if (_linearVelocity.y >= maxLinearVelocity.y){
_linearVelocity.y = maxLinearVelocity.y;
};
};
if (minLinearVelocity.x != 0){
if (_linearVelocity.x <= minLinearVelocity.x){
_linearVelocity.x = minLinearVelocity.x;
};
};
if (minLinearVelocity.y != 0){
if (_linearVelocity.y <= minLinearVelocity.y){
_linearVelocity.y = minLinearVelocity.y;
};
};
}
public function startShaking(_arg1:Number, _arg2:Number, _arg3:Number=1000):void{
_isShaking = true;
_shakeMag.x = _arg1;
_shakeMag.y = _arg2;
_startShakeMag.x = _arg1;
_startShakeMag.y = _arg2;
_currShakeTime = _arg3;
_startShakeTime = _arg3;
}
public function get rotation():Number{
return (_rotation);
}
public function set width(_arg1:Number):void{
_width = _arg1;
}
public function render():void{
var _local1:Number;
var _local2:Number;
var _local3:Point;
var _local4:Point;
if (((!(visible)) || (!(enabled)))){
return;
};
if (_renderable){
_local1 = _renderable.getWidth();
_local2 = _renderable.getHeight();
if (_parent){
_local3 = getWorldPosition();
if (_isShaking){
_local3.x = (_local3.x + _renderOffset.x);
_local3.y = (_local3.y + _renderOffset.y);
};
_renderable.render(this.scene.stageBuffer, _local3, _rotation, _alpha, renderMethod);
} else {
_local4 = new Point(this.x, this.y);
if (_isShaking){
_local4.x = (_local4.x + _renderOffset.x);
_local4.y = (_local4.y + _renderOffset.y);
};
_renderable.render(this.scene.stageBuffer, _local4, _rotation, _alpha, renderMethod);
};
};
}
public function getPositionX():Number{
return (x);
}
public function getPositionY():Number{
return (y);
}
public function removeAllChildren(_arg1:Boolean=false):void{
if (((!(_children)) || (!(_children.length)))){
return;
};
var _local2:int = (_children.length - 1);
while (_local2 > -1) {
if (_arg1){
_children[_local2].safeDelete();
};
_children[_local2]._parent = null;
_children[_local2] = null;
_children.splice(_local2, 1);
_local2--;
};
}
public function safeDelete():void{
if (_isBeingDeleted){
return;
};
if (this.scene){
this.scene.addDeleteRequest(this);
};
}
public function get width():Number{
return (_width);
}
public function stopShaking():void{
_isShaking = false;
_renderOffset.x = 0;
_renderOffset.y = 0;
}
private function updateChildren(_arg1:Number):void{
var _local2:SceneObject;
if (!_children.length){
return;
};
for each (_local2 in _children) {
_local2.updateObjectMovement(_arg1);
};
for each (_local2 in _children) {
_local2.updateObjectWorldCollision(_arg1);
};
for each (_local2 in _children) {
_local2.update(_arg1);
};
}
private function resolveTransfer(_arg1:String):void{
var _local2:Boolean = StringUtils.contains(_arg1, "left");
var _local3:Boolean = StringUtils.contains(_arg1, "right");
var _local4:Boolean = StringUtils.contains(_arg1, "top");
var _local5:Boolean = StringUtils.contains(_arg1, "bottom");
if (_local2){
_nextPos.x = ((worldLimit.right - width) + 1);
} else {
if (_local3){
_nextPos.x = (worldLimit.left + 1);
};
};
}
public function set renderable(_arg1:IRenderable):void{
_renderable = _arg1;
_width = _renderable.getWidth();
_height = _renderable.getHeight();
}
public function get renderable():IRenderable{
return (_renderable);
}
}
}//package ToadLib.Framework
Section 63
//SceneObjectGroup (ToadLib.Framework.SceneObjectGroup)
package ToadLib.Framework {
import ToadLib.Interfaces.*;
import ToadLib.Graphics.*;
public class SceneObjectGroup implements ISceneObjectGroup {
protected var _groupArray:Array;
public function SceneObjectGroup(_arg1:Scene){
_groupArray = [];
super();
}
public function get size():Number{
return (_groupArray.length);
}
public function getElement(_arg1:uint):SceneObject{
if (_groupArray.length < _arg1){
return (null);
};
return (_groupArray[_arg1]);
}
public function removeSceneObject(_arg1:SceneObject):void{
if (!_arg1){
return;
};
var _local2:int = _groupArray.indexOf(_arg1);
if (_local2 < 0){
return;
};
_groupArray.splice(_local2, 1);
}
public function onWorldLimit(_arg1:int, _arg2:String):void{
}
public function update(_arg1:Number):void{
}
public function addSceneObject(_arg1:SceneObject):void{
_groupArray.push(_arg1);
}
public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
}
public function setLayer(_arg1:uint):void{
}
public function isInGroup(_arg1:ISceneObject):Boolean{
if (_groupArray.indexOf(_arg1) >= 0){
return (true);
};
return (false);
}
public function setVelocityX(_arg1:Number):void{
var _local2:SceneObject;
for each (_local2 in _groupArray) {
_local2.setLinearVelocityX(_arg1);
};
}
public function setVelocityY(_arg1:Number):void{
var _local2:SceneObject;
for each (_local2 in _groupArray) {
_local2.setLinearVelocityY(_arg1);
};
}
public function setCollisionGroup(_arg1:uint):void{
}
}
}//package ToadLib.Framework
Section 64
//Schedule (ToadLib.Framework.Schedule)
package ToadLib.Framework {
public class Schedule {
private var _frameCount:uint;// = 0
private var _callParams:Array;// = null
private var _currTime:uint;// = 0
private var _executionTime:uint;// = 0
private var _target:Function;// = null
private var _type:String;// = null
private var _object:Object;
public function Schedule(_arg1:uint, _arg2:Function, _arg3:Object, ... _args){
_target = _arg2;
_executionTime = _arg1;
_callParams = _args[0];
_object = _arg3;
}
public function update(_arg1:Number):Boolean{
_currTime = (_currTime + _arg1);
_frameCount++;
if (_currTime < _executionTime){
return (false);
};
if (((_object) && (!((_target == null))))){
_target.apply(_object, _callParams);
};
return (true);
}
}
}//package ToadLib.Framework
Section 65
//Scheduler (ToadLib.Framework.Scheduler)
package ToadLib.Framework {
import flash.events.*;
import flash.utils.*;
public class Scheduler {
private var _scheduleDeletes:Array;
private var _timer:Timer;// = null
private static var _paused:Boolean = false;
private static var _tasks:Array = [];
private static var _lastTime:int = 0;
private static var _schedules:Array = [];
public function Scheduler(){
_scheduleDeletes = [];
super();
_timer = new Timer(8);
_timer.addEventListener(TimerEvent.TIMER, update);
_timer.start();
}
private function update(_arg1:Event):void{
var _local4:int;
var _local2:int = getTimer();
var _local3:int = (_local2 - _lastTime);
if (!_paused){
_local4 = (_schedules.length - 1);
while (_local4 > -1) {
if (_schedules[_local4].update(_local3)){
_scheduleDeletes.push(_schedules[_local4]);
};
_local4--;
};
};
_lastTime = _local2;
processDeleteRequests();
}
private function processDeleteRequests():void{
var _local1:Schedule;
for each (_local1 in _scheduleDeletes) {
removeSchedule(_local1);
};
}
public static function isShedulePending(_arg1:Schedule):Boolean{
var _local2:int = _schedules.indexOf(_arg1);
if (_local2 < 0){
return (false);
};
return (true);
}
public static function togglePause():void{
_paused = !(_paused);
if (!_paused){
_lastTime = getTimer();
};
}
public static function removeTask(_arg1:Task):void{
var _local2:int = _tasks.indexOf(_arg1);
if (_local2 < 0){
return;
};
_tasks.splice(_local2, 1);
}
public static function resume():void{
_lastTime = getTimer();
_paused = false;
}
public static function pause():void{
_paused = true;
}
public static function clearAllSchedules():void{
if (!_schedules){
return;
};
_schedules.splice(0, _schedules.length);
}
public static function setSchedule(_arg1:uint, _arg2:Function, _arg3:Object, ... _args):Schedule{
var _local5:Schedule = new Schedule(_arg1, _arg2, _arg3, _args);
_schedules.push(_local5);
return (_local5);
}
public static function removeSchedule(_arg1:Schedule):void{
var _local2:int = _schedules.indexOf(_arg1);
if (_local2 < 0){
return;
};
_schedules.splice(_local2, 1);
}
}
}//package ToadLib.Framework
Section 66
//StringUtils (ToadLib.Framework.StringUtils)
package ToadLib.Framework {
public class StringUtils {
private static function _swapCase(_arg1:String, ... _args):String{
var _local3:String = _arg1.toLowerCase();
var _local4:String = _arg1.toUpperCase();
switch (_arg1){
case _local3:
return (_local4);
case _local4:
return (_local3);
default:
return (_arg1);
};
}
public static function isEmpty(_arg1:String):Boolean{
if (_arg1 == null){
return (true);
};
return (!(_arg1.length));
}
public static function remove(_arg1:String, _arg2:String, _arg3:Boolean=true):String{
if (_arg1 == null){
return ("");
};
var _local4:String = escapePattern(_arg2);
var _local5:String = (_arg3) ? "g" : "ig";
return (_arg1.replace(new RegExp(_local4, _local5), ""));
}
public static function countOf(_arg1:String, _arg2:String, _arg3:Boolean=true):uint{
if (_arg1 == null){
return (0);
};
var _local4:String = escapePattern(_arg2);
var _local5:String = (_arg3) ? "g" : "ig";
return (_arg1.match(new RegExp(_local4, _local5)).length);
}
public static function between(_arg1:String, _arg2:String, _arg3:String):String{
var _local6:int;
var _local4 = "";
if (_arg1 == null){
return (_local4);
};
var _local5:int = _arg1.indexOf(_arg2);
if (_local5 != -1){
_local5 = (_local5 + _arg2.length);
_local6 = _arg1.indexOf(_arg3, _local5);
if (_local6 != -1){
_local4 = _arg1.substr(_local5, (_local6 - _local5));
};
};
return (_local4);
}
public static function padRight(_arg1:String, _arg2:String, _arg3:uint):String{
var _local4:String = _arg1;
while (_local4.length < _arg3) {
_local4 = (_local4 + _arg2);
};
return (_local4);
}
public static function isNumeric(_arg1:String):Boolean{
if (_arg1 == null){
return (false);
};
var _local2:RegExp = /^[-+]?\d*\.?\d+(?:[eE][-+]?\d+)?$/;
return (_local2.test(_arg1));
}
public static function block(_arg1:String, _arg2:uint, _arg3:String="."):Array{
var _local8:String;
var _local4:Array = new Array();
if ((((_arg1 == null)) || (!(contains(_arg1, _arg3))))){
return (_local4);
};
var _local5:uint;
var _local6:uint = _arg1.length;
var _local7:RegExp = new RegExp((("[^" + escapePattern(_arg3)) + "]+$"));
while (_local5 < _local6) {
_local8 = _arg1.substr(_local5, _arg2);
if (!contains(_local8, _arg3)){
_local4.push(truncate(_local8, _local8.length));
_local5 = (_local5 + _local8.length);
};
_local8 = _local8.replace(_local7, "");
_local4.push(_local8);
_local5 = (_local5 + _local8.length);
};
return (_local4);
}
public static function trim(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/^\s+|\s+$/g, ""));
}
public static function beginsWith(_arg1:String, _arg2:String):Boolean{
if (_arg1 == null){
return (false);
};
return ((_arg1.indexOf(_arg2) == 0));
}
public static function stripTags(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/<\/?[^>]+>/igm, ""));
}
public static function afterLast(_arg1:String, _arg2:String):String{
if (_arg1 == null){
return ("");
};
var _local3:int = _arg1.lastIndexOf(_arg2);
if (_local3 == -1){
return ("");
};
_local3 = (_local3 + _arg2.length);
return (_arg1.substr(_local3));
}
private static function _minimum(_arg1:uint, _arg2:uint, _arg3:uint):uint{
return (Math.min(_arg1, Math.min(_arg2, Math.min(_arg3, _arg1))));
}
private static function escapePattern(_arg1:String):String{
return (_arg1.replace(/(\]|\[|\{|\}|\(|\)|\*|\+|\?|\.|\\)/g, "\\$1"));
}
public static function removeExtraWhitespace(_arg1:String):String{
if (_arg1 == null){
return ("");
};
var _local2:String = trim(_arg1);
return (_local2.replace(/\s+/g, " "));
}
public static function trimRight(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/\s+$/, ""));
}
public static function endsWith(_arg1:String, _arg2:String):Boolean{
return ((_arg1.lastIndexOf(_arg2) == (_arg1.length - _arg2.length)));
}
public static function contains(_arg1:String, _arg2:String):Boolean{
if (_arg1 == null){
return (false);
};
return (!((_arg1.indexOf(_arg2) == -1)));
}
public static function properCase(_arg1:String):String{
if (_arg1 == null){
return ("");
};
var _local2:String = _arg1.toLowerCase().replace(/\b([^.?;!]+)/, capitalize);
return (_local2.replace(/\b[i]\b/, "I"));
}
public static function trimLeft(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/^\s+/, ""));
}
public static function similarity(_arg1:String, _arg2:String):Number{
var _local3:uint = editDistance(_arg1, _arg2);
var _local4:uint = Math.max(_arg1.length, _arg2.length);
if (_local4 == 0){
return (100);
};
return (((1 - (_local3 / _local4)) * 100));
}
public static function wordCount(_arg1:String):uint{
if (_arg1 == null){
return (0);
};
return (_arg1.match(/\b\w+\b/g).length);
}
public static function editDistance(_arg1:String, _arg2:String):uint{
var _local3:uint;
var _local5:uint;
var _local8:uint;
var _local9:String;
var _local10:String;
if (_arg1 == null){
_arg1 = "";
};
if (_arg2 == null){
_arg2 = "";
};
if (_arg1 == _arg2){
return (0);
};
var _local4:Array = new Array();
var _local6:uint = _arg1.length;
var _local7:uint = _arg2.length;
if (_local6 == 0){
return (_local7);
};
if (_local7 == 0){
return (_local6);
};
_local3 = 0;
while (_local3 <= _local6) {
_local4[_local3] = new Array();
_local3++;
};
_local3 = 0;
while (_local3 <= _local6) {
_local4[_local3][0] = _local3;
_local3++;
};
_local8 = 0;
while (_local8 <= _local7) {
_local4[0][_local8] = _local8;
_local8++;
};
_local3 = 1;
while (_local3 <= _local6) {
_local9 = _arg1.charAt((_local3 - 1));
_local8 = 1;
while (_local8 <= _local7) {
_local10 = _arg2.charAt((_local8 - 1));
if (_local9 == _local10){
_local5 = 0;
} else {
_local5 = 1;
};
_local4[_local3][_local8] = _minimum((_local4[(_local3 - 1)][_local8] + 1), (_local4[_local3][(_local8 - 1)] + 1), (_local4[(_local3 - 1)][(_local8 - 1)] + _local5));
_local8++;
};
_local3++;
};
return (_local4[_local6][_local7]);
}
public static function hasText(_arg1:String):Boolean{
var _local2:String = removeExtraWhitespace(_arg1);
return (!(!(_local2.length)));
}
public static function reverse(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.split("").reverse().join(""));
}
public static function swapCase(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.replace(/(\w)/, _swapCase));
}
public static function capitalize(_arg1:String, ... _args):String{
var _local3:String = trimLeft(_arg1);
if (_args[0] === true){
return (_local3.replace(/^.|\b./g, _upperCase));
};
return (_local3.replace(/(^\w)/, _upperCase));
}
public static function truncate(_arg1:String, _arg2:uint, _arg3:String="..."):String{
if (_arg1 == null){
return ("");
};
_arg2 = (_arg2 - _arg3.length);
var _local4:String = _arg1;
if (_local4.length > _arg2){
_local4 = _local4.substr(0, _arg2);
if (/[^\s]/.test(_arg1.charAt(_arg2))){
_local4 = trimRight(_local4.replace(/\w+$|\s+$/, ""));
};
_local4 = (_local4 + _arg3);
};
return (_local4);
}
public static function reverseWords(_arg1:String):String{
if (_arg1 == null){
return ("");
};
return (_arg1.split(/\s+/).reverse().join(""));
}
public static function beforeFirst(_arg1:String, _arg2:String):String{
if (_arg1 == null){
return ("");
};
var _local3:int = _arg1.indexOf(_arg2);
if (_local3 == -1){
return ("");
};
return (_arg1.substr(0, _local3));
}
private static function _upperCase(_arg1:String, ... _args):String{
return (_arg1.toUpperCase());
}
public static function afterFirst(_arg1:String, _arg2:String):String{
if (_arg1 == null){
return ("");
};
var _local3:int = _arg1.indexOf(_arg2);
if (_local3 == -1){
return ("");
};
_local3 = (_local3 + _arg2.length);
return (_arg1.substr(_local3));
}
public static function beforeLast(_arg1:String, _arg2:String):String{
if (_arg1 == null){
return ("");
};
var _local3:int = _arg1.lastIndexOf(_arg2);
if (_local3 == -1){
return ("");
};
return (_arg1.substr(0, _local3));
}
public static function padLeft(_arg1:String, _arg2:String, _arg3:uint):String{
var _local4:String = _arg1;
while (_local4.length < _arg3) {
_local4 = (_arg2 + _local4);
};
return (_local4);
}
public static function quote(_arg1:String):String{
var _local2:RegExp = /[\\"\r\n]/g;
return ((("\"" + _arg1.replace(_local2, _quote)) + "\""));
}
private static function _quote(_arg1:String, ... _args):String{
switch (_arg1){
case "\\":
return ("\\\\");
case "\r":
return ("\\r");
case "\n":
return ("\\n");
case "\"":
return ("\\\"");
default:
return ("");
};
}
}
}//package ToadLib.Framework
Section 67
//Task (ToadLib.Framework.Task)
package ToadLib.Framework {
public class Task {
private var _frameCount:uint;// = 0
private var _callParams:Array;// = null
private var _currTime:uint;// = 0
private var _startFrame:uint;// = 0
private var _target:Function;// = null
private var _type:String;// = null
private var _repeat:Boolean;// = false
private var _object:Object;
public function Task(_arg1:uint, _arg2:Function, _arg3:Object, _arg4:Boolean, ... _args){
_target = _arg2;
_startFrame = _arg1;
_callParams = _args[0];
_object = _arg3;
_repeat = _arg4;
}
public function update():Boolean{
_frameCount++;
if (_frameCount < _startFrame){
return (false);
};
var _local1:uint = _callParams.length;
_target.apply(_object, _callParams);
if (_repeat){
return (false);
};
return (true);
}
public function get repeats():Boolean{
return (_repeat);
}
}
}//package ToadLib.Framework
Section 68
//AnimatedSprite (ToadLib.Graphics.AnimatedSprite)
package ToadLib.Graphics {
import ToadLib.Framework.*;
public class AnimatedSprite extends SceneObject {
protected var _scene:Scene;// = null
private var _deleteOnEnd:Boolean;// = false
private var _prevAnmStream:AnimationStream;// = null
private var _revertAnm:Boolean;// = false
protected var _XMLDef:XML;// = null
private var _currAnmStream:AnimationStream;// = null
private var _anmArray:Array;// = null
private var _currAnmNum:uint;// = 0
private var _prevAnmNum:uint;// = 0
public function AnimatedSprite(_arg1:XML=null, _arg2:Scene=null, _arg3:Boolean=true){
_scene = _arg2;
super(_arg2, _arg3);
if (_arg1){
_anmArray = AnimationLoader.loadFromXML(_arg1);
_XMLDef = _arg1;
};
if (((_anmArray) && (_anmArray[0]))){
_currAnmStream = _anmArray[0];
this.renderable = _currAnmStream;
_currAnmStream.animationEndCallback = this.onAnimationEnd;
};
}
public function setAnimation(_arg1:String, _arg2:int=0, _arg3:Boolean=false, _arg4:int=1, _arg5:int=0):void{
var _local7:AnimationStream;
var _local6:int;
while (_local6 < _anmArray.length) {
_local7 = _anmArray[_local6];
if (_local7.name == _arg1){
_prevAnmStream = _currAnmStream;
_currAnmStream.animationEndCallback = null;
_currAnmStream = _local7;
this.renderable = _currAnmStream;
_currAnmStream.animationEndCallback = this.onAnimationEnd;
_currAnmStream.setFrame = _arg2;
_currAnmStream.play(_arg4, _arg5);
_revertAnm = _arg3;
_prevAnmNum = _currAnmNum;
_currAnmNum = _local6;
};
_local6++;
};
}
public function getFrameHeight():Number{
if (!_currAnmStream){
return (0);
};
return (_currAnmStream.getHeight());
}
public function onFrameChanged():void{
var _local1:Controller;
if (_controllers){
for each (_local1 in _controllers) {
_local1.onFrameChanged();
};
};
}
public function stop():void{
if (_currAnmStream){
_currAnmStream.stop();
};
}
public function get numFrames():uint{
if (!_currAnmStream){
return (0);
};
return (_currAnmStream.numFrames);
}
public function getAnimation():String{
if (!_currAnmStream){
return ("");
};
return (_currAnmStream.name);
}
public function getFrameWidth():Number{
if (!_currAnmStream){
return (0);
};
return (_currAnmStream.getWidth());
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
}
public function getAnimationLength():uint{
if (!_currAnmStream){
return (0);
};
return (_currAnmStream.getTotalTime());
}
public function get direction():int{
if (!_currAnmStream){
return (0);
};
return (_currAnmStream.direction);
}
public function clone():AnimatedSprite{
var _local2:AnimationStream;
var _local1:AnimatedSprite = new AnimatedSprite(null, _scene, true);
if (_anmArray){
_local1._anmArray = [];
for each (_local2 in _anmArray) {
_local1._anmArray.push(_local2.clone());
};
};
_local1._currAnmNum = _currAnmNum;
_local1._deleteOnEnd = _deleteOnEnd;
_local1._prevAnmNum = _prevAnmNum;
_local1._revertAnm = _revertAnm;
_local1._scene = _scene;
_local1._XMLDef = _XMLDef;
_local1._currAnmStream = _local1._anmArray[_currAnmNum];
_local1.renderable = _local1._currAnmStream;
_local1._prevAnmStream = _local1._anmArray[_prevAnmNum];
if (_local1._currAnmStream){
_local1._currAnmStream.animationEndCallback = _local1.onAnimationEnd;
};
return (_local1);
}
public function getNumAnimations():uint{
if (!_anmArray){
return (0);
};
return (_anmArray.length);
}
public function getAnimationFinished():Boolean{
if (!_currAnmStream){
return (false);
};
return (!(_currAnmStream.isPlaying));
}
public function set deleteOnEnd(_arg1:Boolean):void{
_deleteOnEnd = _arg1;
}
public function set frame(_arg1:uint):void{
_currAnmStream.setFrame = _arg1;
}
public function play(_arg1:int=1, _arg2:int=1, _arg3:Boolean=false):void{
if (_currAnmStream){
_currAnmStream.play(_arg1, _arg2);
};
_revertAnm = _arg3;
}
public function pause():void{
}
public function get frame():uint{
return (_currAnmStream.getFrame);
}
public function onAnimationEnd():void{
var _local1:Controller;
if (_controllers){
for each (_local1 in _controllers) {
_local1.onAnimationEnd();
};
};
if (((_revertAnm) && (_prevAnmStream))){
_currAnmStream.animationEndCallback = null;
_currAnmStream.animationFrameChangedCallback = null;
_currAnmStream = _prevAnmStream;
this.renderable = _currAnmStream;
_currAnmStream.setFrame = 0;
_currAnmStream.animationEndCallback = this.onAnimationEnd;
_currAnmStream.animationFrameChangedCallback = this.onFrameChanged;
_prevAnmStream = null;
_revertAnm = false;
};
if (_deleteOnEnd){
this.safeDelete();
};
}
}
}//package ToadLib.Graphics
Section 69
//AnimationFrame (ToadLib.Graphics.AnimationFrame)
package ToadLib.Graphics {
import flash.display.*;
import flash.geom.*;
public class AnimationFrame {
public var delay:Number;
public var rotationCache:Array;
public var width:Number;
public var height:Number;
public var flippedCache:Array;
public var center:Point;
public var frameData:BitmapData;
public var collisionBox:Rectangle;
public var flippedBitmapData:BitmapData;// = null
public var frameSize:Rectangle;
public var origBitmap:Bitmap;
public function AnimationFrame(_arg1:Rectangle, _arg2:Rectangle, _arg3:Number, _arg4:Point, _arg5:Bitmap){
rotationCache = [];
flippedCache = [];
super();
this.collisionBox = _arg1;
this.frameSize = _arg2;
this.center = _arg4;
this.delay = _arg3;
width = _arg5.width;
height = _arg5.height;
origBitmap = _arg5;
frameData = _arg5.bitmapData;
}
public function generateRotateCache():void{
var _local4:Matrix;
var _local5:BitmapData;
var _local1:Matrix = new Matrix();
var _local2:Number = 10;
rotationCache.push(origBitmap.bitmapData);
var _local3:uint;
while (_local3 < 35) {
_local4 = new Matrix();
_local4.translate(-((origBitmap.width * 0.5)), -((origBitmap.height * 0.5)));
_local4.rotate(((Math.PI * 2) * (_local2 / 360)));
_local4.translate((origBitmap.width * 0.5), (origBitmap.height * 0.5));
_local5 = new BitmapData(origBitmap.width, origBitmap.height, true, 0);
_local5.draw(origBitmap.bitmapData, _local4);
rotationCache.push(_local5);
_local2 = (_local2 + 10);
_local3++;
};
}
public function generateFlip():void{
if (flippedBitmapData){
return;
};
var _local1:Matrix = new Matrix();
_local1.translate(-((origBitmap.width * 0.5)), -((origBitmap.height * 0.5)));
_local1.scale(1, 1);
_local1.translate((origBitmap.width * 0.5), (origBitmap.height * 0.5));
flippedBitmapData = new BitmapData(origBitmap.width, origBitmap.height, true, 0);
flippedBitmapData.draw(origBitmap.bitmapData, _local1);
flippedCache.push(flippedBitmapData);
_local1 = new Matrix();
_local1.translate(-((origBitmap.width * 0.5)), -((origBitmap.height * 0.5)));
_local1.scale(-1, 1);
_local1.translate((origBitmap.width * 0.5), (origBitmap.height * 0.5));
flippedBitmapData = new BitmapData(origBitmap.width, origBitmap.height, true, 0);
flippedBitmapData.draw(origBitmap.bitmapData, _local1);
flippedCache.push(flippedBitmapData);
_local1 = new Matrix();
_local1.translate(-((origBitmap.width * 0.5)), -((origBitmap.height * 0.5)));
_local1.scale(1, -1);
_local1.translate((origBitmap.width * 0.5), (origBitmap.height * 0.5));
flippedBitmapData = new BitmapData(origBitmap.width, origBitmap.height, true, 0);
flippedBitmapData.draw(origBitmap.bitmapData, _local1);
flippedCache.push(flippedBitmapData);
_local1 = new Matrix();
_local1.translate(-((origBitmap.width * 0.5)), -((origBitmap.height * 0.5)));
_local1.scale(-1, -1);
_local1.translate((origBitmap.width * 0.5), (origBitmap.height * 0.5));
flippedBitmapData = new BitmapData(origBitmap.width, origBitmap.height, true, 0);
flippedBitmapData.draw(origBitmap.bitmapData, _local1);
flippedCache.push(flippedBitmapData);
}
}
}//package ToadLib.Graphics
Section 70
//AnimationLoader (ToadLib.Graphics.AnimationLoader)
package ToadLib.Graphics {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class AnimationLoader extends EventDispatcher {
private static var streamCache:Object = new Object();
private static var anmXmlCache:Object = new Object();
private static var bitmaps:Object = new Object();
public function createAnimationStream():void{
}
private static function getBitmapFromCache(_arg1:String):Bitmap{
if (!bitmaps){
return (null);
};
return (bitmaps[_arg1]);
}
public static function loadFromXML(_arg1:XML):Array{
var _local4:XML;
var _local5:AnimationStream;
var _local6:XMLList;
var _local7:XML;
var _local8:AnimationStream;
var _local9:AnimationFrame;
var _local2:Array = new Array();
var _local3:XMLList = _arg1.animation;
for each (_local4 in _local3) {
_local5 = null;
if (_local4.hasOwnProperty("@name")){
_local8 = streamCache[_local4.@name];
if (_local8){
_local5 = _local8.clone();
_local2.push(_local5);
continue;
};
_local5 = new AnimationStream();
_local5.name = _local4.@name;
};
if (_local4.hasOwnProperty("@loop")){
switch (_local4.@loop.toString()){
case "0":
_local5.anmMode = 0;
break;
case "1":
_local5.anmMode = 1;
break;
case "2":
_local5.anmMode = 2;
break;
default:
_local5.isLooping = false;
break;
};
};
_local6 = _local4.frame;
for each (_local7 in _local6) {
_local9 = null;
if (_local7.hasOwnProperty("@asset")){
_local9 = getAnimationFrame(_local7.@asset, _local7.@delay);
};
if (_local9){
_local5.appendFrame(_local9);
};
};
_local2.push(_local5);
streamCache[_local5.name] = _local5;
};
return (_local2);
}
public static function getCachedAnimationStream(_arg1:String):AnimationStream{
if (!streamCache[_arg1]){
return (null);
};
return (streamCache[_arg1].clone());
}
private static function getAnimationFrame(_arg1:String, _arg2:Number):AnimationFrame{
var _local9:Class;
var _local3:Bitmap;
var _local4:String = ("AssetImporter_" + _arg1);
var _local5:Bitmap = getBitmapFromCache(_local4);
if (!_local5){
_local9 = Class(getDefinitionByName(_local4));
_local5 = Bitmap(new (_local9));
bitmaps[_local4] = _local5;
};
var _local6:Rectangle = new Rectangle(0, 0, _local5.width, _local5.height);
var _local7:Point = new Point(0, 0);
var _local8:AnimationFrame = new AnimationFrame(_local6, _local6, _arg2, _local7, _local5);
return (_local8);
}
}
}//package ToadLib.Graphics
Section 71
//AnimationStream (ToadLib.Graphics.AnimationStream)
package ToadLib.Graphics {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Interfaces.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class AnimationStream extends EventDispatcher implements IAnimatedObject, IRenderable {
public var name:String;// = ""
public var anmMode:int;// = 0
private var _isPlaying:Boolean;// = true
private var frames:Array;
private var _anmFrameChangedCallback:Function;// = null
private var _totalTime:uint;// = 0
private var _callbackObj:AnimatedSprite;// = null
private var _timePassed:Number;// = 0
public var timer:Timer;// = null
public var speed:Number;// = 1
private var _loops:Boolean;// = false
private var _currFrame:int;// = 0
private var _anmEndCallback:Function;// = null
public var direction:int;// = 1
public static const ANM_MODE_PINGPONG:int = 2;
public static const ANM_MODE_REWIND:int = 1;
public static const ANM_MODE_STOP:int = 0;
public function AnimationStream(_arg1:AnimatedSprite=null){
frames = new Array();
_callbackObj = _arg1;
timer = new Timer(0);
timer.addEventListener(TimerEvent.TIMER, timerEvent);
}
public function get pixels():BitmapData{
if (((((!(frames.length)) || ((_currFrame > (frames.length - 1))))) || ((_currFrame < 0)))){
return (null);
};
return (frames[_currFrame].frameData);
}
public function stop():void{
_isPlaying = false;
_currFrame = 0;
}
public function getWidth():Number{
if (((((!(frames.length)) || ((_currFrame > (frames.length - 1))))) || ((_currFrame < 0)))){
return (0);
};
return (frames[_currFrame].width);
}
public function set animationFrameChangedCallback(_arg1:Function):void{
_anmFrameChangedCallback = _arg1;
}
public function get isPlaying():Boolean{
return (_isPlaying);
}
public function getHeight():Number{
if (((((!(frames.length)) || ((_currFrame > (frames.length - 1))))) || ((_currFrame < 0)))){
return (0);
};
return (frames[_currFrame].height);
}
public function render(_arg1:Bitmap, _arg2:Point, _arg3:Number, _arg4:Number=1, _arg5:int=1):void{
var _local8:Matrix;
if (((!(frames.length)) || (!(_arg1)))){
return;
};
var _local6:AnimationFrame = frames[_currFrame];
var _local7:Rectangle = new Rectangle(0, 0, (_local6.frameData.width - 1), (_local6.frameData.height - 1));
if (_arg5 == SceneObject.COPY_RENDERER){
_arg1.bitmapData.copyPixels(_local6.frameData, _local7, _arg2);
} else {
if (_arg5 == SceneObject.VECTOR_RENDERER){
_local8 = new Matrix();
_local8.identity();
_local8.translate(-((getWidth() * 0.5)), -((getHeight() * 0.5)));
_local8.rotate((_arg3 * MathUtils.PI_DIV_180));
_local8.translate((_arg2.x + (getWidth() * 0.5)), (_arg2.y + (getHeight() * 0.5)));
_arg1.bitmapData.draw(_local6.frameData, _local8, new ColorTransform(1, 1, 1, _arg4));
};
};
}
public function get totalTime():uint{
return (_totalTime);
}
public function get isLooping():Boolean{
return (_loops);
}
public function play(_arg1:int=1, _arg2:int=1):void{
_isPlaying = true;
this.direction = _arg1;
if (this.direction == 0){
this.direction = 1;
};
anmMode = _arg2;
}
public function set animationEndCallback(_arg1:Function):void{
_anmEndCallback = _arg1;
}
public function update(_arg1:Number):void{
if (!_isPlaying){
return;
};
_timePassed = (_timePassed + _arg1);
var _local2:AnimationFrame = frames[_currFrame];
if (_timePassed >= _local2.delay){
_currFrame = (_currFrame + direction);
if (_currFrame < 0){
_currFrame = 0;
};
_timePassed = (_timePassed - _local2.delay);
if (_anmFrameChangedCallback != null){
_anmFrameChangedCallback.call();
};
};
if ((((_currFrame >= frames.length)) && ((direction == 1)))){
if (anmMode == 1){
_currFrame = 0;
} else {
if (anmMode == 0){
_currFrame = (frames.length - 1);
_isPlaying = false;
} else {
if (anmMode == 2){
_currFrame = (frames.length - 1);
direction = -(direction);
_isPlaying = true;
};
};
};
if (_anmEndCallback != null){
_anmEndCallback.call();
};
} else {
if ((((_currFrame <= 0)) && ((direction == -1)))){
if (anmMode == 1){
_currFrame = (frames.length - 1);
} else {
if (anmMode == 0){
_isPlaying = false;
} else {
if (anmMode == 2){
direction = 1;
};
};
};
if (_anmEndCallback != null){
_anmEndCallback.call();
};
};
};
}
public function get getFrame():int{
return (_currFrame);
}
public function get numFrames():uint{
if (!frames){
return (0);
};
return (frames.length);
}
private function timerEvent(_arg1:TimerEvent):void{
}
public function clone():AnimationStream{
var _local1:AnimationStream = new AnimationStream();
_local1.frames = frames;
_local1._loops = _loops;
_local1.anmMode = anmMode;
_local1.speed = speed;
_local1._isPlaying = _isPlaying;
_local1._currFrame = _currFrame;
_local1.name = this.name;
_local1._totalTime = _totalTime;
_local1.direction = direction;
return (_local1);
}
public function set totalTime(_arg1:uint):void{
_totalTime = _arg1;
}
public function set setFrame(_arg1:int):void{
if (_arg1 >= frames.length){
_arg1 = (frames.length - 1);
};
_currFrame = _arg1;
}
public function set isLooping(_arg1:Boolean):void{
_loops = _arg1;
}
public function appendFrame(_arg1:AnimationFrame):Boolean{
if (!frames.push(_arg1)){
return (false);
};
_totalTime = (_totalTime + _arg1.delay);
return (true);
}
public function getTotalTime():uint{
return (_totalTime);
}
}
}//package ToadLib.Graphics
Section 72
//BitmapSprite (ToadLib.Graphics.BitmapSprite)
package ToadLib.Graphics {
import ToadLib.Framework.*;
import ToadLib.Interfaces.*;
import flash.display.*;
import flash.geom.*;
public class BitmapSprite extends SceneObject implements ISceneObject {
private var bmData:BitmapData;// = null
private var image:Bitmap;// = null
public function BitmapSprite(_arg1:Scene, _arg2:Bitmap, _arg3:Boolean=true){
super(_arg1, _arg3);
if (_arg2){
image = _arg2;
bmData = image.bitmapData;
};
}
public function clone():BitmapSprite{
var _local1:BitmapSprite = new BitmapSprite(scene, image);
return (_local1);
}
override public function render():void{
super.render();
if (((((((((((!(visible)) || (!(enabled)))) || (!(scene)))) || (!(bmData)))) || (!(image)))) || (!(scene.stageBuffer)))){
return;
};
var _local1:Rectangle = new Rectangle(0, 0, (image.width - 1), (image.height - 1));
scene.stageBuffer.bitmapData.copyPixels(bmData, _local1, new Point(x, y), null, null, true);
}
override public function get width():Number{
return (image.width);
}
override public function get height():Number{
return (image.height);
}
override public function set width(_arg1:Number):void{
}
public function get pixels():BitmapData{
return (bmData);
}
override public function set height(_arg1:Number):void{
}
override public function update(_arg1:Number):void{
super.update(_arg1);
}
public function getWidth():Number{
if (!bmData){
return (0);
};
return (image.width);
}
public function getHeight():Number{
if (!bmData){
return (0);
};
return (image.height);
}
}
}//package ToadLib.Graphics
Section 73
//Scene (ToadLib.Graphics.Scene)
package ToadLib.Graphics {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Interfaces.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
import ToadLib.Collision.*;
public class Scene extends Sprite {
public var _debugRender:Shape;
public var _simSpeed:Number;// = 1
private var _excess:int;// = 0
public var sceneTimer:Timer;// = null
private var _renderDebug:Boolean;// = false
private var _currentTime:int;
private var _debugBitmap:Bitmap;
private var _deleteRequests:Array;
private var _renderOffset:Point;
private var _containers:Array;// = null
private var _isShaking:Boolean;// = false
private var _sleepTime:int;// = 0
private var _afterTime:int;
protected var _canRenderScene:Boolean;// = true
private var _paused:Boolean;// = false
public var renderTimer:Timer;// = null
private var _startShakeTime:Number;// = 0
private var _overSleepTime:int;// = 0
private var _shakeMag:Point;
private var _timeDiff:int;// = 0
public var stageBuffer:StageBuffer;// = null
private var _matrix:Matrix;
private var _period:Number;// = 16.6666666666667
private var _currShakeTime:Number;// = 0
private var _debugBitmapData:BitmapData;
public var flashStage:Stage;// = null
private var _startShakeMag:Point;
public var objectList:Array;// = null
public static const TIME_SMOOTHING_CONSTANT:Number = 0.9;
public static const WORLD_LIM_MODE_NULL:int = 0;
public static const WORLD_LIM_MODE_BOUNCE:int = 2;
public static const WORLD_LIM_MODE_TRANSFER:int = 4;
public static const FRAME_RATE:int = 60;
public static const WORLD_LIM_MODE_CLAMP:int = 1;
public static const WORLD_LIM_MODE_KILL:int = 3;
public static var lastFrameTime:int = getTimer();
public static var frameDelta:int = 0;
public static var frameDeltaSmoothed:Number = 0;
public function Scene(_arg1:Stage, _arg2:Sprite=null){
_debugRender = new Shape();
_debugBitmapData = new BitmapData(600, 600, true);
_debugBitmap = new Bitmap(_debugBitmapData);
_matrix = new Matrix();
_currentTime = getTimer();
_afterTime = getTimer();
_deleteRequests = new Array();
_shakeMag = new Point();
_startShakeMag = new Point();
_renderOffset = new Point();
super();
stageBuffer = new StageBuffer(new BitmapData(_arg1.stageWidth, _arg1.stageHeight, false, 0));
flashStage = _arg1;
objectList = new Array();
_arg1.addEventListener(Event.ENTER_FRAME, updateScene);
addChild(stageBuffer);
if (_arg2){
_arg2.addChild(this);
};
}
public function startShaking(_arg1:Number, _arg2:Number, _arg3:Number=1000):void{
_isShaking = true;
_shakeMag.x = _arg1;
_shakeMag.y = _arg2;
_startShakeMag = _shakeMag;
_currShakeTime = _arg3;
_startShakeTime = _arg3;
}
private function updateObjects():void{
var _local1:SceneObject;
if (((!(objectList)) || ((objectList.length <= 0)))){
return;
};
for each (_local1 in objectList) {
_local1.updateObjectMovement(frameDeltaSmoothed);
};
}
public function sortScene():void{
if (!objectList){
return;
};
objectList.sortOn("layer", (Array.DESCENDING | Array.NUMERIC));
}
private function renderScene():void{
var _local1:ISceneObject;
if (((((!(objectList)) || ((objectList.length <= 0)))) || (!(_canRenderScene)))){
return;
};
stageBuffer.bitmapData.lock();
stageBuffer.clear();
for each (_local1 in objectList) {
_local1.render();
};
stageBuffer.bitmapData.unlock();
}
private function checkCollisions():void{
var _local3:SceneObject;
var _local4:uint;
var _local5:SceneObject;
var _local1:uint;
var _local2:Boolean;
while (_local1 < objectList.length) {
_local3 = objectList[_local1];
if (((((((((!(_local3)) || (_local3._isBeingDeleted))) || (!(_local3.collisionSend)))) || (!(_local3.enabled)))) || (!(_local3.visible)))){
} else {
_local4 = 0;
while (_local4 < objectList.length) {
_local5 = objectList[_local4];
if (((((((((((!(_local5)) || ((_local5 == _local3)))) || (_local5._isBeingDeleted))) || (!(_local5.enabled)))) || (!(_local5.collisionReceive)))) || (!(_local3.visible)))){
} else {
if (!_local3.isCollisionGroupSet(_local5.collisionGroup)){
} else {
_local2 = Collision.hitTestObject(_local3, _local5, true, 0xFF);
if (_local2){
if (_local3.collisionCallback){
_local3.onCollision(_local3, _local5);
};
if (_local5.collisionCallback){
_local5.onCollision(_local3, _local5);
};
};
};
};
_local4++;
};
};
_local1++;
};
}
private function createContainers():void{
var _local6:uint;
if (!flashStage){
return;
};
if (_containers){
_containers.length = 0;
};
_containers = new Array();
var _local1:Number = (flashStage.width * 0.5);
var _local2:Number = (flashStage.height * 0.5);
var _local3:Number = 0;
var _local4:Number = 0;
var _local5:uint;
while (_local5 < 2) {
_local6 = 0;
while (_local6 < 2) {
_containers.push(new Rectangle(_local3, _local4, _local1, _local2));
_local3 = (_local3 + _local1);
_local6++;
};
_local3 = 0;
_local4 = (_local4 + _local2);
_local5++;
};
}
private function finalize():void{
var _local1:SceneObject;
for each (_local1 in objectList) {
_local1.update(frameDeltaSmoothed);
};
}
public function addSceneObject(_arg1:SceneObject):void{
if (!_arg1){
return;
};
if (objectList.indexOf(_arg1) >= 0){
return;
};
_arg1.updateObjectMovement(frameDeltaSmoothed);
_arg1.updateObjectWorldCollision(frameDeltaSmoothed);
_arg1.update(frameDeltaSmoothed);
objectList.push(_arg1);
_arg1.onAdd();
}
private function updateDisplay(_arg1:TimerEvent):void{
_arg1.updateAfterEvent();
}
public function get paused():Boolean{
return (_paused);
}
public function setPaused(_arg1:Boolean):void{
_paused = _arg1;
if (_paused){
_simSpeed = 0;
} else {
lastFrameTime = getTimer();
_simSpeed = 1;
};
}
public function set renderDebug(_arg1:Boolean):void{
_renderDebug = _arg1;
}
private function updateWorldCollisions():void{
var _local1:SceneObject;
for each (_local1 in objectList) {
_local1.updateObjectWorldCollision(frameDeltaSmoothed);
};
}
private function renderDebugData():void{
var _local1:SceneObject;
var _local2:SceneObject;
_debugRender.graphics.clear();
_debugRender.graphics.lineStyle(2, 0x990000, 0.75);
for each (_local1 in objectList) {
_debugRender.graphics.drawRect(_local1.x, _local1.y, _local1.width, _local1.height);
if (_local1._children.length){
for each (_local2 in _local1._children) {
_debugRender.graphics.drawRect(_local2.getWorldPosition().x, _local2.getWorldPosition().y, _local2.width, _local2.height);
};
};
};
stageBuffer.bitmapData.draw(_debugRender, _matrix);
}
public function addDeleteRequest(_arg1:SceneObject):void{
if (!_deleteRequests){
_deleteRequests = new Array();
};
_deleteRequests.push(_arg1);
_arg1._isBeingDeleted = true;
}
public function get getStageBuffer():StageBuffer{
return (stageBuffer);
}
public function removeSceneObject(_arg1:SceneObject):void{
if (!_arg1){
return;
};
var _local2 = -1;
if (_arg1._parent){
_local2 = _arg1._parent._children.indexOf(_arg1);
if (_local2 == -1){
return;
};
_arg1._parent._children.splice(_local2, 1);
};
_local2 = objectList.indexOf(_arg1);
if (_local2 >= 0){
_arg1.removeAllChildren();
objectList.splice(_local2, 1);
};
_arg1.onRemove();
}
protected function updateScene(_arg1:Event):void{
if (_paused){
updateFrameDelta();
renderScene();
return;
};
updateFrameDelta();
if (_isShaking){
updateShaking(frameDeltaSmoothed);
};
processDeleteRequests();
updateObjects();
updateWorldCollisions();
checkCollisions();
finalize();
renderScene();
if (_renderDebug){
renderDebugData();
};
if (_renderDebug){
Main.frameTimer.countFrames();
Main.frameTimer.render();
};
stage.invalidate();
}
public function get renderDebug():Boolean{
return (_renderDebug);
}
public function clearScene():void{
var _local1:SceneObject;
for each (_local1 in objectList) {
_local1.safeDelete();
};
}
private function processDeleteRequests():void{
var _local1:SceneObject;
if (_deleteRequests.length <= 0){
return;
};
for each (_local1 in _deleteRequests) {
if (!_local1){
} else {
if (_local1._parent){
_local1._parent.removeChildObject(_local1, false);
};
if (_local1.objectGroup){
_local1.objectGroup.removeSceneObject(_local1);
};
removeSceneObject(_local1);
_local1 = null;
};
};
_deleteRequests.splice(0, _deleteRequests.length);
}
public function stopShaking():void{
_isShaking = false;
_renderOffset.x = 0;
_renderOffset.y = 0;
stageBuffer.x = 0;
stageBuffer.y = 0;
}
public function updateShaking(_arg1:Number):void{
_currShakeTime = (_currShakeTime - _arg1);
var _local2:Number = (_currShakeTime / _startShakeTime);
_shakeMag.x = (_shakeMag.x * _local2);
_shakeMag.y = (_shakeMag.y * _local2);
if (_currShakeTime <= 0){
stopShaking();
return;
};
_renderOffset.x = MathUtils.randRange(-(_shakeMag.x), _shakeMag.x);
_renderOffset.y = MathUtils.randRange(-(_shakeMag.y), _shakeMag.y);
stageBuffer.x = _renderOffset.x;
stageBuffer.y = _renderOffset.y;
}
public function set simSpeed(_arg1:Number):void{
_simSpeed = _arg1;
}
private function updateFrameDelta():void{
_currentTime = (getTimer() * _simSpeed);
var _local1:int = (_currentTime - lastFrameTime);
lastFrameTime = _currentTime;
frameDelta = _local1;
if (frameDelta > 300){
frameDelta = 300;
} else {
if (frameDelta < 0){
frameDelta = 0.0001;
};
};
if (frameDeltaSmoothed == 0){
frameDeltaSmoothed = (((1000 / FRAME_RATE) * TIME_SMOOTHING_CONSTANT) + (frameDelta * (1 - TIME_SMOOTHING_CONSTANT)));
} else {
frameDeltaSmoothed = ((frameDeltaSmoothed * TIME_SMOOTHING_CONSTANT) + (frameDelta * (1 - TIME_SMOOTHING_CONSTANT)));
};
}
}
}//package ToadLib.Graphics
Section 74
//StageBuffer (ToadLib.Graphics.StageBuffer)
package ToadLib.Graphics {
import ToadLib.Framework.*;
import flash.display.*;
import flash.geom.*;
import gs.*;
import gs.easing.*;
public class StageBuffer extends Bitmap {
private var _shakeMag:Point;
private var _renderOffset:Point;
private var _isShaking:Boolean;// = false
public function StageBuffer(_arg1:BitmapData){
_shakeMag = new Point();
_renderOffset = new Point();
super(_arg1);
}
public function startShaking(_arg1:Number, _arg2:Number):void{
_isShaking = true;
_shakeMag.x = _arg1;
_shakeMag.y = _arg2;
updateShaking();
}
public function fadeToBlack(_arg1:Number):void{
TweenManager.to(this, _arg1, {alpha:0, ease:Back.easeInOut, overwrite:0});
}
public function update(_arg1:Number):void{
}
public function clear():void{
var _local1:Rectangle = new Rectangle(0, 0, this.bitmapData.width, this.bitmapData.height);
bitmapData.fillRect(_local1, 0);
}
public function stopShaking():void{
_isShaking = false;
_renderOffset.x = 0;
_renderOffset.y = 0;
}
public function updateShaking():void{
_renderOffset.x = MathUtils.randRange(-(_shakeMag.x), _shakeMag.x);
_renderOffset.y = MathUtils.randRange(-(_shakeMag.y), _shakeMag.y);
}
}
}//package ToadLib.Graphics
Section 75
//IAnimatedObject (ToadLib.Interfaces.IAnimatedObject)
package ToadLib.Interfaces {
public interface IAnimatedObject {
function stop():void;
function play(_arg1:int=1, _arg2:int=0):void;
function set setFrame(_arg1:int):void;
function get getFrame():int;
function get isPlaying():Boolean;
}
}//package ToadLib.Interfaces
Section 76
//IController (ToadLib.Interfaces.IController)
package ToadLib.Interfaces {
import flash.events.*;
import ToadLib.Framework.*;
public interface IController {
function onAdd():void;
function onRemove():void;
function onFrameChanged():void;
function onWorldLimit(_arg1:int, _arg2:String):void;
function update(_arg1:Number):void;
function onLevelLoaded():void;
function handleMouseMove(_arg1:MouseEvent):void;
function handleKeyUp(_arg1:KeyboardEvent):void;
function onCollision(_arg1:SceneObject, _arg2:SceneObject):void;
function onLevelEnded():void;
function onAnimationEnd():void;
function handleKeyDown(_arg1:KeyboardEvent):void;
function handleMouseDown(_arg1:MouseEvent):void;
}
}//package ToadLib.Interfaces
Section 77
//IRenderable (ToadLib.Interfaces.IRenderable)
package ToadLib.Interfaces {
import flash.display.*;
import flash.geom.*;
public interface IRenderable {
function getWidth():Number;
function getHeight():Number;
function render(_arg1:Bitmap, _arg2:Point, _arg3:Number, _arg4:Number=1, _arg5:int=0):void;
function update(_arg1:Number):void;
function get pixels():BitmapData;
}
}//package ToadLib.Interfaces
Section 78
//ISceneObject (ToadLib.Interfaces.ISceneObject)
package ToadLib.Interfaces {
import ToadLib.Framework.*;
import flash.geom.*;
public interface ISceneObject {
function set renderable(_arg1:IRenderable):void;
function addChildObject(_arg1:SceneObject):void;
function set constantForceX(_arg1:Number):void;
function onRemove():void;
function set constantForceY(_arg1:Number):void;
function get objectGroup():ISceneObjectGroup;
function onWorldLimit(_arg1:int, _arg2:String):void;
function update(_arg1:Number):void;
function onLevelLoaded():void;
function setWorldLimit(_arg1:int, _arg2:Rectangle, _arg3:Boolean):void;
function onRotationTarget():void;
function set objectGroup(_arg1:ISceneObjectGroup):void;
function setPaused(_arg1:Boolean):void;
function onAdd():void;
function setConstantForceX(_arg1:Number):void;
function setConstantForceY(_arg1:Number):void;
function onLevelEnded():void;
function render():void;
function get renderable():IRenderable;
function onCollision(_arg1:SceneObject, _arg2:SceneObject):void;
function set damping(_arg1:Number):void;
}
}//package ToadLib.Interfaces
Section 79
//ISceneObjectGroup (ToadLib.Interfaces.ISceneObjectGroup)
package ToadLib.Interfaces {
import ToadLib.Framework.*;
public interface ISceneObjectGroup {
function get size():Number;
function getElement(_arg1:uint):SceneObject;
function removeSceneObject(_arg1:SceneObject):void;
function onWorldLimit(_arg1:int, _arg2:String):void;
function update(_arg1:Number):void;
function addSceneObject(_arg1:SceneObject):void;
function setLayer(_arg1:uint):void;
function isInGroup(_arg1:ISceneObject):Boolean;
function onCollision(_arg1:SceneObject, _arg2:SceneObject):void;
function setCollisionGroup(_arg1:uint):void;
function setVelocityX(_arg1:Number):void;
function setVelocityY(_arg1:Number):void;
}
}//package ToadLib.Interfaces
Section 80
//ProgressBar (ToadLib.ui.ProgressBar)
package ToadLib.ui {
import flash.display.*;
import flash.geom.*;
public class ProgressBar extends Sprite {
public var barRatios:Array;
public var highlightColors:Array;
public var cornerRadius:int;// = 2
public var barAlphas:Array;
private var barHeight:int;
public var backgroundShadowRatios:Array;
public var barShadowAlphas:Array;
private var min:Number;
public var backgroundColour:uint;// = 0xC9C9C9
public var highlightRatios:Array;
public var barColors:Array;
public var backgroundBorderColour:uint;// = 0xB2B2B2
public var highlightAlphas:Array;
public var backgroundShadowAlphas:Array;
private var max:Number;
private var progress:Number;
public var barShadowColors:Array;
private var barWidth:int;
public var borderWidth:int;// = 1
public var barShadowRatios:Array;
public var backgroundShadowColors:Array;
public function ProgressBar(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Number=0, _arg6:Number=100){
backgroundShadowColors = [0x444444, 0x444444, 0x444444, 0x444444];
backgroundShadowAlphas = [0.2, 0, 0, 0.2];
backgroundShadowRatios = [0, 7, 247, 0xFF];
barColors = [12972799, 9812971, 8651, 4898013];
barAlphas = [1, 1, 1, 1];
barRatios = [0, 111, 128, 0xFF];
barShadowColors = [0x444444, 0x444444, 0x444444, 0x444444];
barShadowAlphas = [0.2, 0, 0, 0.2];
barShadowRatios = [0, 7, 247, 0xFF];
highlightColors = [0xFFFFFF, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF];
highlightAlphas = [0.7, 0.1, 0, 0];
highlightRatios = [0, 48, 63, 0xFF];
super();
this.min = _arg5;
this.max = _arg6;
this.x = _arg1;
this.y = _arg2;
this.barWidth = _arg3;
this.barHeight = _arg4;
}
public function Update(_arg1:Number=NaN):void{
if (!isNaN(_arg1)){
this.progress = _arg1;
};
var _local2:Matrix = new Matrix();
graphics.clear();
graphics.beginFill(backgroundColour, 1);
graphics.lineStyle(borderWidth, backgroundBorderColour, 1);
graphics.drawRoundRect(0, 0, barWidth, barHeight, cornerRadius, cornerRadius);
graphics.endFill();
graphics.lineStyle(0, 0, 0);
_local2.createGradientBox(barWidth, barHeight, ((0 / 180) * Math.PI), 0, 0);
graphics.beginGradientFill(GradientType.LINEAR, backgroundShadowColors, backgroundShadowAlphas, backgroundShadowRatios, _local2, SpreadMethod.PAD);
graphics.drawRect(1, 1, (barWidth - 2), (barHeight - 2));
graphics.endFill();
graphics.lineStyle(1, 0xFFFFFF, 0.5);
graphics.drawRect(1, 1, (barWidth - 2), (barHeight - 2));
var _local3:int = Math.min((((barWidth - 2) / (max - min)) * this.progress), barWidth);
_local2.createGradientBox(barWidth, barHeight, ((90 / 180) * Math.PI), 0, 0);
graphics.lineStyle(0, 0, 0);
graphics.beginGradientFill(GradientType.LINEAR, barColors, barAlphas, barRatios, _local2, SpreadMethod.PAD);
graphics.drawRect(1, 1, _local3, (barHeight - 2));
graphics.endFill();
graphics.lineStyle(0, 0, 0);
_local2.createGradientBox(_local3, barHeight, ((0 / 180) * Math.PI), 0, 0);
graphics.beginGradientFill(GradientType.LINEAR, barShadowColors, barShadowAlphas, barRatios, _local2, SpreadMethod.PAD);
graphics.drawRect(1, 1, _local3, (barHeight - 2));
graphics.endFill();
graphics.lineStyle(0, 0, 0);
_local2.createGradientBox(barWidth, barHeight, ((90 / 180) * Math.PI), 0, 0);
graphics.beginGradientFill(GradientType.LINEAR, highlightColors, highlightAlphas, highlightRatios, _local2, SpreadMethod.PAD);
graphics.drawRect(1, 1, (barWidth - 2), (barHeight - 2));
graphics.endFill();
}
}
}//package ToadLib.ui
Section 81
//SimpleTextButton (ToadLib.ui.SimpleTextButton)
package ToadLib.ui {
import flash.display.*;
import flash.text.*;
public class SimpleTextButton extends SimpleButton {
private var textFormat:TextFormat;// = null
private var upStateCont:Sprite;
private var textSize:int;// = 12
private var hitStateCont:Sprite;
private var downStateCont:Sprite;
private var overStateCont:Sprite;
private var overStateTextField:TextField;// = null
private var textColor:int;// = 0xFFFFFF
private var upStateTextField:TextField;// = null
private var downStateTextField:TextField;// = null
public function SimpleTextButton(_arg1:String=null, _arg2:String=null, _arg3:String=null, _arg4:int=0xFFFFFF, _arg5:int=12){
upStateCont = new Sprite();
overStateCont = new Sprite();
downStateCont = new Sprite();
hitStateCont = new Sprite();
super(upStateCont, overStateCont, downStateCont, hitStateCont);
this.textColor = _arg4;
this.textSize = _arg5;
var _local6:Bitmap = AssetImporter.getBitmapAsset(_arg1);
var _local7:Bitmap = AssetImporter.getBitmapAsset(_arg2);
var _local8:Bitmap = AssetImporter.getBitmapAsset(_arg3);
if (_local6){
upStateCont.addChild(_local6);
};
if (_local7){
overStateCont.addChild(_local7);
};
if (_local8){
downStateCont.addChild(_local8);
};
hitTestState = overStateCont;
initTextFields();
}
public function setUpStateText(_arg1:String):void{
if (!upStateTextField){
return;
};
upStateTextField.text = _arg1;
alignText();
}
private function alignText():void{
upStateTextField.x = ((x + (upStateCont.width * 0.5)) - (upStateTextField.width * 0.5));
downStateTextField.x = ((x + (downStateCont.width * 0.5)) - (downStateTextField.width * 0.5));
overStateTextField.x = ((x + (overStateCont.width * 0.5)) - (overStateTextField.width * 0.5));
upStateTextField.y = ((y + (upStateCont.height * 0.5)) - (upStateTextField.height * 0.5));
downStateTextField.y = ((y + (downStateCont.height * 0.5)) - (downStateTextField.height * 0.5));
overStateTextField.y = ((y + (overStateCont.height * 0.5)) - (overStateTextField.height * 0.5));
}
public function setDownStateText(_arg1:String):void{
if (!downStateTextField){
return;
};
downStateTextField.text = _arg1;
alignText();
}
public function setOverStateText(_arg1:String):void{
if (!overStateTextField){
return;
};
overStateTextField.text = _arg1;
alignText();
}
private function createTextField(_arg1:String, _arg2:Number=0, _arg3:Number=0, _arg4:uint=8765151):TextField{
var _local5:TextField = new TextField();
_local5.embedFonts = true;
_local5.defaultTextFormat = textFormat;
_local5.text = _arg1;
_local5.textColor = _arg4;
_local5.x = _arg2;
_local5.y = _arg3;
_local5.selectable = false;
_local5.mouseEnabled = false;
_local5.cacheAsBitmap = true;
_local5.autoSize = TextFieldAutoSize.CENTER;
_local5.antiAliasType = AntiAliasType.ADVANCED;
_local5.mouseEnabled = false;
_local5.selectable = false;
return (_local5);
}
private function initTextFields():void{
textFormat = new TextFormat();
textFormat.font = "MarsAttacks";
textFormat.color = 0xFFFFFF;
textFormat.size = textSize;
textFormat.align = TextFormatAlign.LEFT;
upStateTextField = createTextField("BACK", 0, 0, textColor);
overStateTextField = createTextField("BACK", 0, 0, textColor);
downStateTextField = createTextField("BACK", 0, 0, textColor);
upStateCont.addChild(upStateTextField);
overStateCont.addChild(overStateTextField);
downStateCont.addChild(downStateTextField);
alignText();
}
}
}//package ToadLib.ui
Section 82
//BitVector (ToadLib.utils.BitVector)
package ToadLib.utils {
public class BitVector {
private var _arrSize:int;
private var _bits:Array;
private var _bitSize:int;
public function BitVector(_arg1:int){
_bits = [];
_arrSize = 0;
resize(_arg1);
}
public function get bitCount():int{
return ((_arrSize * 31));
}
public function setBit(_arg1:int, _arg2:Boolean):void{
var _local3:int = (_arg1 / 31);
var _local4 = (1 << (_arg1 % 31));
_bits[_local3] = (_arg2) ? (_bits[_local3] | _local4) : (_bits[_local3] & ~(_local4));
}
public function toString():String{
return ((("[BitVector, size=" + _bitSize) + "]"));
}
public function get cellCount():int{
return (_arrSize);
}
public function resize(_arg1:int):void{
if (_arg1 == _bitSize){
return;
};
_bitSize = _arg1;
if ((_arg1 % 31) == 0){
_arg1 = (_arg1 / 31);
} else {
_arg1 = ((_arg1 / 31) + 1);
};
if (_arg1 < _arrSize){
_bits.splice(_arg1);
_arrSize = _arg1;
} else {
_bits = _bits.concat(new Array((_arg1 - _arrSize)));
_arrSize = _bits.length;
};
}
public function getBit(_arg1:int):int{
var _local2:int = (_arg1 % 31);
return (((_bits[((_arg1 / 31) >> 0)] & (1 << _local2)) >> _local2));
}
public function clear():void{
var _local1:int = _bits.length;
var _local2:int;
while (_local2 < _local1) {
_bits[_local2] = 0;
_local2++;
};
}
public function setAll():void{
var _local1:int = _bits.length;
var _local2:int;
while (_local2 < _local1) {
_bits[_local2] = int.MAX_VALUE;
_local2++;
};
}
}
}//package ToadLib.utils
Section 83
//AssetImporter (AssetImporter)
package {
import flash.display.*;
import flash.media.*;
import flash.utils.*;
public final class AssetImporter {
public static const pauseicon0000PNG:Class = AssetImporter_pauseicon0000PNG;
public static const yourwebsite0000PNG:Class = AssetImporter_yourwebsite0000PNG;
public static const upgradeB0029PNG:Class = AssetImporter_upgradeB0029PNG;
public static const flyingsaucercidle0006PNG:Class = AssetImporter_flyingsaucercidle0006PNG;
public static const playermuzzle0002PNG:Class = AssetImporter_playermuzzle0002PNG;
public static const upgradeC0004PNG:Class = AssetImporter_upgradeC0004PNG;
public static const aliendie0024PNG:Class = AssetImporter_aliendie0024PNG;
public static const enemyshoot0010PNG:Class = AssetImporter_enemyshoot0010PNG;
public static const uipanelPNG:Class = AssetImporter_uipanelPNG;
public static const enemymuzzlepurple0007PNG:Class = AssetImporter_enemymuzzlepurple0007PNG;
public static const scud0010PNG:Class = AssetImporter_scud0010PNG;
public static const upgradeA0021PNG:Class = AssetImporter_upgradeA0021PNG;
public static const upgradeB0030PNG:Class = AssetImporter_upgradeB0030PNG;
public static const enemyexplode0013PNG:Class = AssetImporter_enemyexplode0013PNG;
public static const mus_stageloop0001:Class = AssetImporter_mus_stageloop0001;
public static const mus_stageloop0002:Class = AssetImporter_mus_stageloop0002;
public static const mine0005PNG:Class = AssetImporter_mine0005PNG;
public static const misslesalvo0003PNG:Class = AssetImporter_misslesalvo0003PNG;
public static const mus_stageloop0000:Class = AssetImporter_mus_stageloop0000;
public static const enemyimpact0002PNG:Class = AssetImporter_enemyimpact0002PNG;
public static const plyrtankmoving0001PNG:Class = AssetImporter_plyrtankmoving0001PNG;
public static const upgradeB0007PNG:Class = AssetImporter_upgradeB0007PNG;
public static const upgradeC0016PNG:Class = AssetImporter_upgradeC0016PNG;
public static const enemybeamsmall0001PNG:Class = AssetImporter_enemybeamsmall0001PNG;
public static const mus_stageloop0003:Class = AssetImporter_mus_stageloop0003;
public static const enemybeamlarge0003PNG:Class = AssetImporter_enemybeamlarge0003PNG;
public static const playermuzzle0014PNG:Class = AssetImporter_playermuzzle0014PNG;
public static const bossmuzzle_XML:Class = AssetImporter_bossmuzzle_XML;
public static const optionsbg_00PNG:Class = AssetImporter_optionsbg_00PNG;
public static const scud0000PNG:Class = AssetImporter_scud0000PNG;
public static const enemyshoot0022PNG:Class = AssetImporter_enemyshoot0022PNG;
public static const aliendie0002PNG:Class = AssetImporter_aliendie0002PNG;
public static const lazerground0004PNG:Class = AssetImporter_lazerground0004PNG;
public static const enemy1_XML:Class = AssetImporter_enemy1_XML;
public static const legionTTF:Class = AssetImporter_legionTTF;
public static const alienfall0009PNG:Class = AssetImporter_alienfall0009PNG;
public static const alienexplosion_XML:Class = AssetImporter_alienexplosion_XML;
public static const misslesalvo0015PNG:Class = AssetImporter_misslesalvo0015PNG;
public static const flyingsaucerbidle0000PNG:Class = AssetImporter_flyingsaucerbidle0000PNG;
public static const shrapnelB0004PNG:Class = AssetImporter_shrapnelB0004PNG;
public static const plyrShoot0000_XML:Class = AssetImporter_plyrShoot0000_XML;
public static const flyingSaucer0011PNG:Class = AssetImporter_flyingSaucer0011PNG;
public static const groundexplode0003PNG:Class = AssetImporter_groundexplode0003PNG;
public static const enemyMuzzle0007PNG:Class = AssetImporter_enemyMuzzle0007PNG;
public static const upgradeB0019PNG:Class = AssetImporter_upgradeB0019PNG;
public static const upgradeC0028PNG:Class = AssetImporter_upgradeC0028PNG;
public static const plyrShoot0002PNG:Class = AssetImporter_plyrShoot0002PNG;
public static const enemyimpact0014PNG:Class = AssetImporter_enemyimpact0014PNG;
public static const enemyshootpurple0005PNG:Class = AssetImporter_enemyshootpurple0005PNG;
public static const flyingsaucerdie0007PNG:Class = AssetImporter_flyingsaucerdie0007PNG;
public static const plyrtankshoot0004PNG:Class = AssetImporter_plyrtankshoot0004PNG;
public static const shrapnel0008PNG:Class = AssetImporter_shrapnel0008PNG;
public static const scud0012PNG:Class = AssetImporter_scud0012PNG;
public static const plyrTankIdle0008PNG:Class = AssetImporter_plyrTankIdle0008PNG;
public static const alienfall0010PNG:Class = AssetImporter_alienfall0010PNG;
public static const healthrank0000PNG:Class = AssetImporter_healthrank0000PNG;
public static const enemyshoot0000PNG:Class = AssetImporter_enemyshoot0000PNG;
public static const aliendie0014PNG:Class = AssetImporter_aliendie0014PNG;
public static const plyrtankimpact0002PNG:Class = AssetImporter_plyrtankimpact0002PNG;
public static const upgradeA0011PNG:Class = AssetImporter_upgradeA0011PNG;
public static const upgradeB0020PNG:Class = AssetImporter_upgradeB0020PNG;
public static const playerimpact0011PNG:Class = AssetImporter_playerimpact0011PNG;
public static const shrapnelA0007PNG:Class = AssetImporter_shrapnelA0007PNG;
public static const flyingsaucerbdie0007PNG:Class = AssetImporter_flyingsaucerbdie0007PNG;
public static const enemyexplode0003PNG:Class = AssetImporter_enemyexplode0003PNG;
public static const flyingsaucerAdie0004PNG:Class = AssetImporter_flyingsaucerAdie0004PNG;
public static const enemyshootpurple0017PNG:Class = AssetImporter_enemyshootpurple0017PNG;
public static const shrapnelB0016PNG:Class = AssetImporter_shrapnelB0016PNG;
public static const special0004PNG:Class = AssetImporter_special0004PNG;
public static const flyingsaucercdie0011PNG:Class = AssetImporter_flyingsaucercdie0011PNG;
public static const lazermuzzle0000PNG:Class = AssetImporter_lazermuzzle0000PNG;
public static const flyingsaucerbidle0012PNG:Class = AssetImporter_flyingsaucerbidle0012PNG;
public static const upgradeC0006PNG:Class = AssetImporter_upgradeC0006PNG;
public static const flyingsaucercidle0008PNG:Class = AssetImporter_flyingsaucercidle0008PNG;
public static const playermuzzle0004PNG:Class = AssetImporter_playermuzzle0004PNG;
public static const instructions0000PNG:Class = AssetImporter_instructions0000PNG;
public static const plyrShoot0014PNG:Class = AssetImporter_plyrShoot0014PNG;
public static const groundexplode0015PNG:Class = AssetImporter_groundexplode0015PNG;
public static const enemyshoot0012PNG:Class = AssetImporter_enemyshoot0012PNG;
public static const enemymuzzlepurple0009PNG:Class = AssetImporter_enemymuzzlepurple0009PNG;
public static const enemy0_XML:Class = AssetImporter_enemy0_XML;
public static const upgradeA0023PNG:Class = AssetImporter_upgradeA0023PNG;
public static const upgradeB0032PNG:Class = AssetImporter_upgradeB0032PNG;
public static const enemyexplode0015PNG:Class = AssetImporter_enemyexplode0015PNG;
public static const flyingSaucer0001PNG:Class = AssetImporter_flyingSaucer0001PNG;
public static const misslesalvo0005PNG:Class = AssetImporter_misslesalvo0005PNG;
public static const enemyimpact0004PNG:Class = AssetImporter_enemyimpact0004PNG;
public static const plyrtankmoving0003PNG:Class = AssetImporter_plyrtankmoving0003PNG;
public static const upgradeB0009PNG:Class = AssetImporter_upgradeB0009PNG;
public static const upgradeC0018PNG:Class = AssetImporter_upgradeC0018PNG;
public static const enemybeamsmall0003PNG:Class = AssetImporter_enemybeamsmall0003PNG;
public static const playermuzzle0016PNG:Class = AssetImporter_playermuzzle0016PNG;
public static const pickupa0000PNG:Class = AssetImporter_pickupa0000PNG;
public static const enemymuzzlepurple0010PNG:Class = AssetImporter_enemymuzzlepurple0010PNG;
public static const aliendie0004PNG:Class = AssetImporter_aliendie0004PNG;
public static const alienfall0000PNG:Class = AssetImporter_alienfall0000PNG;
public static const scud0002PNG:Class = AssetImporter_scud0002PNG;
public static const mus_titlescreen_0000:Class = AssetImporter_mus_titlescreen_0000;
public static const lazerground0006PNG:Class = AssetImporter_lazerground0006PNG;
public static const playerimpact0001PNG:Class = AssetImporter_playerimpact0001PNG;
public static const upgradeA0001PNG:Class = AssetImporter_upgradeA0001PNG;
public static const upgradeB0010PNG:Class = AssetImporter_upgradeB0010PNG;
public static const flyingsaucerbidle0002PNG:Class = AssetImporter_flyingsaucerbidle0002PNG;
public static const shrapnelB0006PNG:Class = AssetImporter_shrapnelB0006PNG;
public static const flyingSaucer0013PNG:Class = AssetImporter_flyingSaucer0013PNG;
public static const groundexplode0005PNG:Class = AssetImporter_groundexplode0005PNG;
public static const flyingsaucercdie0001PNG:Class = AssetImporter_flyingsaucercdie0001PNG;
public static const enemyMuzzle0009PNG:Class = AssetImporter_enemyMuzzle0009PNG;
public static const plyrShoot0004PNG:Class = AssetImporter_plyrShoot0004PNG;
public static const enemyimpact0016PNG:Class = AssetImporter_enemyimpact0016PNG;
public static const enemyshootpurple0007PNG:Class = AssetImporter_enemyshootpurple0007PNG;
public static const flyingsaucerdie0009PNG:Class = AssetImporter_flyingsaucerdie0009PNG;
public static const plyrtankshoot0006PNG:Class = AssetImporter_plyrtankshoot0006PNG;
public static const scud0014PNG:Class = AssetImporter_scud0014PNG;
public static const levels_XML:Class = AssetImporter_levels_XML;
public static const alienfall0012PNG:Class = AssetImporter_alienfall0012PNG;
public static const enemyshoot0002PNG:Class = AssetImporter_enemyshoot0002PNG;
public static const buttonhover:Class = AssetImporter_buttonhover;
public static const aliendie0016PNG:Class = AssetImporter_aliendie0016PNG;
public static const uirank2PNG:Class = AssetImporter_uirank2PNG;
public static const plyrtankimpact0004PNG:Class = AssetImporter_plyrtankimpact0004PNG;
public static const enemyMuzzle0010PNG:Class = AssetImporter_enemyMuzzle0010PNG;
public static const upgradeA0013PNG:Class = AssetImporter_upgradeA0013PNG;
public static const upgradeB0022PNG:Class = AssetImporter_upgradeB0022PNG;
public static const upgradeC0031PNG:Class = AssetImporter_upgradeC0031PNG;
public static const playerimpact0013PNG:Class = AssetImporter_playerimpact0013PNG;
public static const shrapnelA0009PNG:Class = AssetImporter_shrapnelA0009PNG;
public static const flyingsaucerdie0010PNG:Class = AssetImporter_flyingsaucerdie0010PNG;
public static const flyingsaucerbdie0009PNG:Class = AssetImporter_flyingsaucerbdie0009PNG;
public static const enemyexplode0005PNG:Class = AssetImporter_enemyexplode0005PNG;
public static const flyingsaucerAdie0006PNG:Class = AssetImporter_flyingsaucerAdie0006PNG;
public static const enemyshootpurple0019PNG:Class = AssetImporter_enemyshootpurple0019PNG;
public static const glowbouncer_XML:Class = AssetImporter_glowbouncer_XML;
public static const plyrTankIdle0011PNG:Class = AssetImporter_plyrTankIdle0011PNG;
public static const flyingsaucerbidle0014PNG:Class = AssetImporter_flyingsaucerbidle0014PNG;
public static const upgradeC0008PNG:Class = AssetImporter_upgradeC0008PNG;
public static const sfx_mouseclick0000:Class = AssetImporter_sfx_mouseclick0000;
public static const sfx_bossambient0000:Class = AssetImporter_sfx_bossambient0000;
public static const plyrShoot0016PNG:Class = AssetImporter_plyrShoot0016PNG;
public static const shrapnel0011PNG:Class = AssetImporter_shrapnel0011PNG;
public static const enemymuzzlepurple0000PNG:Class = AssetImporter_enemymuzzlepurple0000PNG;
public static const enemyshoot0014PNG:Class = AssetImporter_enemyshoot0014PNG;
public static const playermuzzle0006PNG:Class = AssetImporter_playermuzzle0006PNG;
public static const shrapnelA0010PNG:Class = AssetImporter_shrapnelA0010PNG;
public static const enemyshootpurple0020PNG:Class = AssetImporter_enemyshootpurple0020PNG;
public static const flyingsaucerbdie0010PNG:Class = AssetImporter_flyingsaucerbdie0010PNG;
public static const bossmothergun0001PNG:Class = AssetImporter_bossmothergun0001PNG;
public static const upgradeA0025PNG:Class = AssetImporter_upgradeA0025PNG;
public static const upgradeB0000PNG:Class = AssetImporter_upgradeB0000PNG;
public static const flyingsaucercidle0011PNG:Class = AssetImporter_flyingsaucercidle0011PNG;
public static const flyingSaucer0003PNG:Class = AssetImporter_flyingSaucer0003PNG;
public static const misslesalvo0007PNG:Class = AssetImporter_misslesalvo0007PNG;
public static const enemyimpact0006PNG:Class = AssetImporter_enemyimpact0006PNG;
public static const plyrtankmoving0005PNG:Class = AssetImporter_plyrtankmoving0005PNG;
public static const flyingsaucerAidle0001:Class = AssetImporter_flyingsaucerAidle0001;
public static const flyingsaucerAidle0002:Class = AssetImporter_flyingsaucerAidle0002;
public static const flyingsaucerAidle0003:Class = AssetImporter_flyingsaucerAidle0003;
public static const flyingsaucerAidle0004:Class = AssetImporter_flyingsaucerAidle0004;
public static const flyingsaucerAidle0005:Class = AssetImporter_flyingsaucerAidle0005;
public static const enemymuzzlepurple0012PNG:Class = AssetImporter_enemymuzzlepurple0012PNG;
public static const flyingsaucerAidle0000:Class = AssetImporter_flyingsaucerAidle0000;
public static const pickupa0002PNG:Class = AssetImporter_pickupa0002PNG;
public static const flyingsaucerAidle0006:Class = AssetImporter_flyingsaucerAidle0006;
public static const flyingsaucerAidle0007:Class = AssetImporter_flyingsaucerAidle0007;
public static const flyingsaucerAidle0008:Class = AssetImporter_flyingsaucerAidle0008;
public static const flyingsaucerAidle0009:Class = AssetImporter_flyingsaucerAidle0009;
public static const aliendie0006PNG:Class = AssetImporter_aliendie0006PNG;
public static const testBG0000PNG:Class = AssetImporter_testBG0000PNG;
public static const alienfall0002PNG:Class = AssetImporter_alienfall0002PNG;
public static const scud0004PNG:Class = AssetImporter_scud0004PNG;
public static const bosswalker0008PNG:Class = AssetImporter_bosswalker0008PNG;
public static const lazerground0008PNG:Class = AssetImporter_lazerground0008PNG;
public static const flyingsaucerAidle0010:Class = AssetImporter_flyingsaucerAidle0010;
public static const flyingsaucerAidle0011:Class = AssetImporter_flyingsaucerAidle0011;
public static const flyingsaucerAidle0012:Class = AssetImporter_flyingsaucerAidle0012;
public static const playerimpact0003PNG:Class = AssetImporter_playerimpact0003PNG;
public static const upgradeA0003PNG:Class = AssetImporter_upgradeA0003PNG;
public static const upgradeB0012PNG:Class = AssetImporter_upgradeB0012PNG;
public static const upgradeC0021PNG:Class = AssetImporter_upgradeC0021PNG;
public static const shrapnel0001PNG:Class = AssetImporter_shrapnel0001PNG;
public static const enemyMuzzle0000PNG:Class = AssetImporter_enemyMuzzle0000PNG;
public static const flyingsaucerdie0000PNG:Class = AssetImporter_flyingsaucerdie0000PNG;
public static const sfx_escapepod0000:Class = AssetImporter_sfx_escapepod0000;
public static const tankrankback0:Class = AssetImporter_tankrankback0;
public static const flyingSaucer0015PNG:Class = AssetImporter_flyingSaucer0015PNG;
public static const shrapnelB0008PNG:Class = AssetImporter_shrapnelB0008PNG;
public static const flyingsaucerAidle0015:Class = AssetImporter_flyingsaucerAidle0015;
public static const flyingsaucercdie0003PNG:Class = AssetImporter_flyingsaucercdie0003PNG;
public static const plyrTankIdle0001PNG:Class = AssetImporter_plyrTankIdle0001PNG;
public static const flyingsaucerAidle0013:Class = AssetImporter_flyingsaucerAidle0013;
public static const flyingsaucerAidle0014:Class = AssetImporter_flyingsaucerAidle0014;
public static const plyrShoot0006PNG:Class = AssetImporter_plyrShoot0006PNG;
public static const muzzle0_XML:Class = AssetImporter_muzzle0_XML;
public static const enemyshootpurple0009PNG:Class = AssetImporter_enemyshootpurple0009PNG;
public static const sfx_enemyshoot_0001:Class = AssetImporter_sfx_enemyshoot_0001;
public static const flyingsaucerbidle0004PNG:Class = AssetImporter_flyingsaucerbidle0004PNG;
public static const playerbeam0000PNG:Class = AssetImporter_playerbeam0000PNG;
public static const plyrtankshoot0008PNG:Class = AssetImporter_plyrtankshoot0008PNG;
public static const bossmasher0001PNG:Class = AssetImporter_bossmasher0001PNG;
public static const alienfall0014PNG:Class = AssetImporter_alienfall0014PNG;
public static const scud0016PNG:Class = AssetImporter_scud0016PNG;
public static const enemyshoot0004PNG:Class = AssetImporter_enemyshoot0004PNG;
public static const aliendie0018PNG:Class = AssetImporter_aliendie0018PNG;
public static const shrapnelA0000PNG:Class = AssetImporter_shrapnelA0000PNG;
public static const flyingsaucerbdie0000PNG:Class = AssetImporter_flyingsaucerbdie0000PNG;
public static const groundexplode0007PNG:Class = AssetImporter_groundexplode0007PNG;
public static const enemyshootpurple0010PNG:Class = AssetImporter_enemyshootpurple0010PNG;
public static const uirank4PNG:Class = AssetImporter_uirank4PNG;
public static const playerimpact0015PNG:Class = AssetImporter_playerimpact0015PNG;
public static const enemyMuzzle0012PNG:Class = AssetImporter_enemyMuzzle0012PNG;
public static const upgradeA0015PNG:Class = AssetImporter_upgradeA0015PNG;
public static const upgradeB0024PNG:Class = AssetImporter_upgradeB0024PNG;
public static const flyingsaucerbidle0016PNG:Class = AssetImporter_flyingsaucerbidle0016PNG;
public static const flyingsaucerdie0012PNG:Class = AssetImporter_flyingsaucerdie0012PNG;
public static const flyingsaucercidle0001PNG:Class = AssetImporter_flyingsaucercidle0001PNG;
public static const flyingsaucerAdie0008PNG:Class = AssetImporter_flyingsaucerAdie0008PNG;
public static const beamlarge_XML:Class = AssetImporter_beamlarge_XML;
public static const shrapnel0013PNG:Class = AssetImporter_shrapnel0013PNG;
public static const enemyexplode0007PNG:Class = AssetImporter_enemyexplode0007PNG;
public static const plyrTankIdle0013PNG:Class = AssetImporter_plyrTankIdle0013PNG;
public static const plyrShoot0018PNG:Class = AssetImporter_plyrShoot0018PNG;
public static const sfx_playershoot_0000:Class = AssetImporter_sfx_playershoot_0000;
public static const playermuzzle0008PNG:Class = AssetImporter_playermuzzle0008PNG;
public static const enemymuzzlepurple0002PNG:Class = AssetImporter_enemymuzzlepurple0002PNG;
public static const enemyshoot0016PNG:Class = AssetImporter_enemyshoot0016PNG;
public static const shrapnelA0012PNG:Class = AssetImporter_shrapnelA0012PNG;
public static const enemyshootpurple0022PNG:Class = AssetImporter_enemyshootpurple0022PNG;
public static const flyingsaucerbdie0012PNG:Class = AssetImporter_flyingsaucerbdie0012PNG;
public static const pickupb0001PNG:Class = AssetImporter_pickupb0001PNG;
public static const mine0000PNG:Class = AssetImporter_mine0000PNG;
public static const upgradeA0027PNG:Class = AssetImporter_upgradeA0027PNG;
public static const upgradeB0002PNG:Class = AssetImporter_upgradeB0002PNG;
public static const upgradeC0011PNG:Class = AssetImporter_upgradeC0011PNG;
public static const bgspotlight_XML:Class = AssetImporter_bgspotlight_XML;
public static const flyingsaucercidle0013PNG:Class = AssetImporter_flyingsaucercidle0013PNG;
public static const flyingSaucer0005PNG:Class = AssetImporter_flyingSaucer0005PNG;
public static const misslesalvo0009PNG:Class = AssetImporter_misslesalvo0009PNG;
public static const enemyimpact0008PNG:Class = AssetImporter_enemyimpact0008PNG;
public static const plyrtankmoving0007PNG:Class = AssetImporter_plyrtankmoving0007PNG;
public static const enemyProjectile0_XML:Class = AssetImporter_enemyProjectile0_XML;
public static const bossmothergun0003PNG:Class = AssetImporter_bossmothergun0003PNG;
public static const enemymuzzlepurple0014PNG:Class = AssetImporter_enemymuzzlepurple0014PNG;
public static const alienfall0004PNG:Class = AssetImporter_alienfall0004PNG;
public static const aliendie0008PNG:Class = AssetImporter_aliendie0008PNG;
public static const scud0006PNG:Class = AssetImporter_scud0006PNG;
public static const misslesalvo0010PNG:Class = AssetImporter_misslesalvo0010PNG;
public static const testBG0002PNG:Class = AssetImporter_testBG0002PNG;
public static const enemyshootpurple0000PNG:Class = AssetImporter_enemyshootpurple0000PNG;
public static const sfx_enemyshoot_0000:Class = AssetImporter_sfx_enemyshoot_0000;
public static const sfx_onfirealien0000:Class = AssetImporter_sfx_onfirealien0000;
public static const playerimpact0005PNG:Class = AssetImporter_playerimpact0005PNG;
public static const upgradeA0005PNG:Class = AssetImporter_upgradeA0005PNG;
public static const upgradeB0014PNG:Class = AssetImporter_upgradeB0014PNG;
public static const upgradeC0023PNG:Class = AssetImporter_upgradeC0023PNG;
public static const shrapnel0003PNG:Class = AssetImporter_shrapnel0003PNG;
public static const enemyMuzzle0002PNG:Class = AssetImporter_enemyMuzzle0002PNG;
public static const flyingsaucerdie0002PNG:Class = AssetImporter_flyingsaucerdie0002PNG;
public static const groundexplode0009PNG:Class = AssetImporter_groundexplode0009PNG;
public static const flyingsaucercdie0005PNG:Class = AssetImporter_flyingsaucercdie0005PNG;
public static const plyrTankIdle0003PNG:Class = AssetImporter_plyrTankIdle0003PNG;
public static const playerbeam0002PNG:Class = AssetImporter_playerbeam0002PNG;
public static const flyingsaucerbidle0006PNG:Class = AssetImporter_flyingsaucerbidle0006PNG;
public static const plyrShoot0008PNG:Class = AssetImporter_plyrShoot0008PNG;
public static const alienfall0016PNG:Class = AssetImporter_alienfall0016PNG;
public static const bossmasher0003PNG:Class = AssetImporter_bossmasher0003PNG;
public static const enemyshoot0006PNG:Class = AssetImporter_enemyshoot0006PNG;
public static const shrapnelA0002PNG:Class = AssetImporter_shrapnelA0002PNG;
public static const flyingsaucerbdie0002PNG:Class = AssetImporter_flyingsaucerbdie0002PNG;
public static const enemyshootpurple0012PNG:Class = AssetImporter_enemyshootpurple0012PNG;
public static const smasherboss_XML:Class = AssetImporter_smasherboss_XML;
public static const enemyMuzzle0014PNG:Class = AssetImporter_enemyMuzzle0014PNG;
public static const upgradeA0017PNG:Class = AssetImporter_upgradeA0017PNG;
public static const upgradeB0026PNG:Class = AssetImporter_upgradeB0026PNG;
public static const upgradeC0001PNG:Class = AssetImporter_upgradeC0001PNG;
public static const shrapnel0015PNG:Class = AssetImporter_shrapnel0015PNG;
public static const shrapnelB0011PNG:Class = AssetImporter_shrapnelB0011PNG;
public static const sfx_enemyexplode_0001:Class = AssetImporter_sfx_enemyexplode_0001;
public static const flyingsaucercidle0003PNG:Class = AssetImporter_flyingsaucercidle0003PNG;
public static const aliendie0021PNG:Class = AssetImporter_aliendie0021PNG;
public static const plyrTankIdle0015PNG:Class = AssetImporter_plyrTankIdle0015PNG;
public static const sfx_enemyexplode_0000:Class = AssetImporter_sfx_enemyexplode_0000;
public static const enemyexplode0009PNG:Class = AssetImporter_enemyexplode0009PNG;
public static const misslesalvo_XML:Class = AssetImporter_misslesalvo_XML;
public static const enemymuzzlepurple0004PNG:Class = AssetImporter_enemymuzzlepurple0004PNG;
public static const groundexplode0010PNG:Class = AssetImporter_groundexplode0010PNG;
public static const enemyshoot0018PNG:Class = AssetImporter_enemyshoot0018PNG;
public static const sfx_lazerloop0000PNG:Class = AssetImporter_sfx_lazerloop0000PNG;
public static const shrapnelA0014PNG:Class = AssetImporter_shrapnelA0014PNG;
public static const enemyexplode0010PNG:Class = AssetImporter_enemyexplode0010PNG;
public static const mine0002PNG:Class = AssetImporter_mine0002PNG;
public static const misslesalvo0000PNG:Class = AssetImporter_misslesalvo0000PNG;
public static const flyingsaucerAdie0011PNG:Class = AssetImporter_flyingsaucerAdie0011PNG;
public static const bossmothergun0005PNG:Class = AssetImporter_bossmothergun0005PNG;
public static const upgradeA0029PNG:Class = AssetImporter_upgradeA0029PNG;
public static const upgradeB0004PNG:Class = AssetImporter_upgradeB0004PNG;
public static const upgradeC0013PNG:Class = AssetImporter_upgradeC0013PNG;
public static const pickupb0003PNG:Class = AssetImporter_pickupb0003PNG;
public static const enemybeamlarge0000PNG:Class = AssetImporter_enemybeamlarge0000PNG;
public static const flyingsaucercidle0015PNG:Class = AssetImporter_flyingsaucercidle0015PNG;
public static const plyrShoot0021PNG:Class = AssetImporter_plyrShoot0021PNG;
public static const flyingSaucer0007PNG:Class = AssetImporter_flyingSaucer0007PNG;
public static const playermuzzle0011PNG:Class = AssetImporter_playermuzzle0011PNG;
public static const lazerground0001PNG:Class = AssetImporter_lazerground0001PNG;
public static const plyrtankmoving0009PNG:Class = AssetImporter_plyrtankmoving0009PNG;
public static const shrapnel_XML:Class = AssetImporter_shrapnel_XML;
public static const lazermuzzlebig0000PNG:Class = AssetImporter_lazermuzzlebig0000PNG;
public static const enemymuzzlepurple0016PNG:Class = AssetImporter_enemymuzzlepurple0016PNG;
public static const alienfall0006PNG:Class = AssetImporter_alienfall0006PNG;
public static const upgradeA0030PNG:Class = AssetImporter_upgradeA0030PNG;
public static const scud0008PNG:Class = AssetImporter_scud0008PNG;
public static const misslesalvo0012PNG:Class = AssetImporter_misslesalvo0012PNG;
public static const shrapnelB0001PNG:Class = AssetImporter_shrapnelB0001PNG;
public static const enemyshootpurple0002PNG:Class = AssetImporter_enemyshootpurple0002PNG;
public static const groundexplode0000PNG:Class = AssetImporter_groundexplode0000PNG;
public static const playerimpact0007PNG:Class = AssetImporter_playerimpact0007PNG;
public static const upgradeA0007PNG:Class = AssetImporter_upgradeA0007PNG;
public static const upgradeB0016PNG:Class = AssetImporter_upgradeB0016PNG;
public static const upgradeC0025PNG:Class = AssetImporter_upgradeC0025PNG;
public static const bgFarLayer0001JPG:Class = AssetImporter_bgFarLayer0001JPG;
public static const enemyimpact0011PNG:Class = AssetImporter_enemyimpact0011PNG;
public static const enemyMuzzle0004PNG:Class = AssetImporter_enemyMuzzle0004PNG;
public static const flyingsaucerdie0004PNG:Class = AssetImporter_flyingsaucerdie0004PNG;
public static const plyrtankshoot0001PNG:Class = AssetImporter_plyrtankshoot0001PNG;
public static const buttonupstate:Class = AssetImporter_buttonupstate;
public static const plyrtankmoving0010PNG:Class = AssetImporter_plyrtankmoving0010PNG;
public static const flyingsaucercdie0007PNG:Class = AssetImporter_flyingsaucercdie0007PNG;
public static const aliendie0011PNG:Class = AssetImporter_aliendie0011PNG;
public static const plyrTankIdle0005PNG:Class = AssetImporter_plyrTankIdle0005PNG;
public static const flyingsaucerbidle0008PNG:Class = AssetImporter_flyingsaucerbidle0008PNG;
public static const shrapnel0005PNG:Class = AssetImporter_shrapnel0005PNG;
public static const enemyshoot0008PNG:Class = AssetImporter_enemyshoot0008PNG;
public static const shrapnelB0013PNG:Class = AssetImporter_shrapnelB0013PNG;
public static const flyingsaucerbdie0004PNG:Class = AssetImporter_flyingsaucerbdie0004PNG;
public static const enemyexplode0000PNG:Class = AssetImporter_enemyexplode0000PNG;
public static const enemyshootpurple0014PNG:Class = AssetImporter_enemyshootpurple0014PNG;
public static const shrapnelA0004PNG:Class = AssetImporter_shrapnelA0004PNG;
public static const flyingsaucerAdie0001PNG:Class = AssetImporter_flyingsaucerAdie0001PNG;
public static const enemyMuzzle0016PNG:Class = AssetImporter_enemyMuzzle0016PNG;
public static const upgradeA0019PNG:Class = AssetImporter_upgradeA0019PNG;
public static const upgradeB0028PNG:Class = AssetImporter_upgradeB0028PNG;
public static const special0001PNG:Class = AssetImporter_special0001PNG;
public static const upgradeC0003PNG:Class = AssetImporter_upgradeC0003PNG;
public static const playermuzzle0001PNG:Class = AssetImporter_playermuzzle0001PNG;
public static const bossmother0000PNG:Class = AssetImporter_bossmother0000PNG;
public static const flyingsaucercidle0005PNG:Class = AssetImporter_flyingsaucercidle0005PNG;
public static const plyrShoot0011PNG:Class = AssetImporter_plyrShoot0011PNG;
public static const aliendie0023PNG:Class = AssetImporter_aliendie0023PNG;
public static const toadtrip0000PNG:Class = AssetImporter_toadtrip0000PNG;
public static const groundexplode0012PNG:Class = AssetImporter_groundexplode0012PNG;
public static const enemymuzzlepurple0006PNG:Class = AssetImporter_enemymuzzlepurple0006PNG;
public static const upgradeA0020PNG:Class = AssetImporter_upgradeA0020PNG;
public static const soundonicon0000PNG:Class = AssetImporter_soundonicon0000PNG;
public static const shrapnelA0016PNG:Class = AssetImporter_shrapnelA0016PNG;
public static const mine0004PNG:Class = AssetImporter_mine0004PNG;
public static const enemybeamsmall0000PNG:Class = AssetImporter_enemybeamsmall0000PNG;
public static const plyrtankmoving0000PNG:Class = AssetImporter_plyrtankmoving0000PNG;
public static const upgradeB0006PNG:Class = AssetImporter_upgradeB0006PNG;
public static const upgradeC0015PNG:Class = AssetImporter_upgradeC0015PNG;
public static const playermuzzle0013PNG:Class = AssetImporter_playermuzzle0013PNG;
public static const enemyexplode0012PNG:Class = AssetImporter_enemyexplode0012PNG;
public static const flyingSaucer0009PNG:Class = AssetImporter_flyingSaucer0009PNG;
public static const enemyimpact0001PNG:Class = AssetImporter_enemyimpact0001PNG;
public static const lazerground0003PNG:Class = AssetImporter_lazerground0003PNG;
public static const aliendie0001PNG:Class = AssetImporter_aliendie0001PNG;
public static const enemyshoot0021PNG:Class = AssetImporter_enemyshoot0021PNG;
public static const enemybeamlarge0002PNG:Class = AssetImporter_enemybeamlarge0002PNG;
public static const alienescapepod_XML:Class = AssetImporter_alienescapepod_XML;
public static const misslesalvo0002PNG:Class = AssetImporter_misslesalvo0002PNG;
public static const alienfall0008PNG:Class = AssetImporter_alienfall0008PNG;
public static const upgradeA0032PNG:Class = AssetImporter_upgradeA0032PNG;
public static const playermissleimpact_XML:Class = AssetImporter_playermissleimpact_XML;
public static const misslesalvo0014PNG:Class = AssetImporter_misslesalvo0014PNG;
public static const shrapnelB0003PNG:Class = AssetImporter_shrapnelB0003PNG;
public static const flyingSaucer0010PNG:Class = AssetImporter_flyingSaucer0010PNG;
public static const lasergroundbig_XML:Class = AssetImporter_lasergroundbig_XML;
public static const groundexplode0002PNG:Class = AssetImporter_groundexplode0002PNG;
public static const playerimpact0009PNG:Class = AssetImporter_playerimpact0009PNG;
public static const upgradeA0009PNG:Class = AssetImporter_upgradeA0009PNG;
public static const upgradeB0018PNG:Class = AssetImporter_upgradeB0018PNG;
public static const upgradeC0027PNG:Class = AssetImporter_upgradeC0027PNG;
public static const plyrShoot0001PNG:Class = AssetImporter_plyrShoot0001PNG;
public static const enemyimpact0013PNG:Class = AssetImporter_enemyimpact0013PNG;
public static const enemyMuzzle0006PNG:Class = AssetImporter_enemyMuzzle0006PNG;
public static const flyingsaucerdie0006PNG:Class = AssetImporter_flyingsaucerdie0006PNG;
public static const plyrtankshoot0003PNG:Class = AssetImporter_plyrtankshoot0003PNG;
public static const plyrtankmoving0012PNG:Class = AssetImporter_plyrtankmoving0012PNG;
public static const flyingsaucercdie0009PNG:Class = AssetImporter_flyingsaucercdie0009PNG;
public static const plyrTankIdle0007PNG:Class = AssetImporter_plyrTankIdle0007PNG;
public static const shrapnel0007PNG:Class = AssetImporter_shrapnel0007PNG;
public static const enemyshootpurple0004PNG:Class = AssetImporter_enemyshootpurple0004PNG;
public static const aliendie0013PNG:Class = AssetImporter_aliendie0013PNG;
public static const scud0011PNG:Class = AssetImporter_scud0011PNG;
public static const plyrtankimpact0001PNG:Class = AssetImporter_plyrtankimpact0001PNG;
public static const upgradeA0010PNG:Class = AssetImporter_upgradeA0010PNG;
public static const titlemenubg_00PNG:Class = AssetImporter_titlemenubg_00PNG;
public static const playerimpact0010PNG:Class = AssetImporter_playerimpact0010PNG;
public static const shrapnelA0006PNG:Class = AssetImporter_shrapnelA0006PNG;
public static const shrapnelB0015PNG:Class = AssetImporter_shrapnelB0015PNG;
public static const flyingsaucerbdie0006PNG:Class = AssetImporter_flyingsaucerbdie0006PNG;
public static const enemyexplode0002PNG:Class = AssetImporter_enemyexplode0002PNG;
public static const flyingsaucerAdie0003PNG:Class = AssetImporter_flyingsaucerAdie0003PNG;
public static const enemyshootpurple0016PNG:Class = AssetImporter_enemyshootpurple0016PNG;
public static const flyingsaucerbidle0011PNG:Class = AssetImporter_flyingsaucerbidle0011PNG;
public static const flyingsaucercdie0010PNG:Class = AssetImporter_flyingsaucercdie0010PNG;
public static const special0003PNG:Class = AssetImporter_special0003PNG;
public static const upgradeC0005PNG:Class = AssetImporter_upgradeC0005PNG;
public static const flyingsaucercidle0007PNG:Class = AssetImporter_flyingsaucercidle0007PNG;
public static const plyrShoot0013PNG:Class = AssetImporter_plyrShoot0013PNG;
public static const playermuzzle0003PNG:Class = AssetImporter_playermuzzle0003PNG;
public static const groundexplode0014PNG:Class = AssetImporter_groundexplode0014PNG;
public static const enemyshoot0011PNG:Class = AssetImporter_enemyshoot0011PNG;
public static const groundbg0000PNG:Class = AssetImporter_groundbg0000PNG;
public static const enemymuzzlepurple0008PNG:Class = AssetImporter_enemymuzzlepurple0008PNG;
public static const upgradeA0022PNG:Class = AssetImporter_upgradeA0022PNG;
public static const upgradeB0031PNG:Class = AssetImporter_upgradeB0031PNG;
public static const misslesalvo0004PNG:Class = AssetImporter_misslesalvo0004PNG;
public static const flyingSaucer0000PNG:Class = AssetImporter_flyingSaucer0000PNG;
public static const enemybeamsmall0002PNG:Class = AssetImporter_enemybeamsmall0002PNG;
public static const enemyimpact0003PNG:Class = AssetImporter_enemyimpact0003PNG;
public static const powerupA_XML:Class = AssetImporter_powerupA_XML;
public static const plyrtankmoving0002PNG:Class = AssetImporter_plyrtankmoving0002PNG;
public static const upgradeB0008PNG:Class = AssetImporter_upgradeB0008PNG;
public static const upgradeC0017PNG:Class = AssetImporter_upgradeC0017PNG;
public static const scud_XML:Class = AssetImporter_scud_XML;
public static const playermuzzle0015PNG:Class = AssetImporter_playermuzzle0015PNG;
public static const enemyexplode0014PNG:Class = AssetImporter_enemyexplode0014PNG;
public static const scud0001PNG:Class = AssetImporter_scud0001PNG;
public static const lazerground0005PNG:Class = AssetImporter_lazerground0005PNG;
public static const aliendie0003PNG:Class = AssetImporter_aliendie0003PNG;
public static const plyrAnimations0000_XML:Class = AssetImporter_plyrAnimations0000_XML;
public static const upgradeA0000PNG:Class = AssetImporter_upgradeA0000PNG;
public static const playerimpact0000PNG:Class = AssetImporter_playerimpact0000PNG;
public static const flyingsaucerbidle0001PNG:Class = AssetImporter_flyingsaucerbidle0001PNG;
public static const flyingSaucer0012PNG:Class = AssetImporter_flyingSaucer0012PNG;
public static const misslesalvo0016PNG:Class = AssetImporter_misslesalvo0016PNG;
public static const shrapnelB0005PNG:Class = AssetImporter_shrapnelB0005PNG;
public static const flyingsaucercdie0000PNG:Class = AssetImporter_flyingsaucercdie0000PNG;
public static const enemyimpact0015PNG:Class = AssetImporter_enemyimpact0015PNG;
public static const flyingsaucerdie0008PNG:Class = AssetImporter_flyingsaucerdie0008PNG;
public static const upgradeC0029PNG:Class = AssetImporter_upgradeC0029PNG;
public static const plyrShoot0003PNG:Class = AssetImporter_plyrShoot0003PNG;
public static const mothershipboss_XML:Class = AssetImporter_mothershipboss_XML;
public static const shrapnel0009PNG:Class = AssetImporter_shrapnel0009PNG;
public static const enemyMuzzle0008PNG:Class = AssetImporter_enemyMuzzle0008PNG;
public static const groundexplode0004PNG:Class = AssetImporter_groundexplode0004PNG;
public static const plyrtankshoot0005PNG:Class = AssetImporter_plyrtankshoot0005PNG;
public static const alienfall0011PNG:Class = AssetImporter_alienfall0011PNG;
public static const enemyshootpurple0006PNG:Class = AssetImporter_enemyshootpurple0006PNG;
public static const plyrTankIdle0009PNG:Class = AssetImporter_plyrTankIdle0009PNG;
public static const boss1legsPNG:Class = AssetImporter_boss1legsPNG;
public static const enemyshoot0001PNG:Class = AssetImporter_enemyshoot0001PNG;
public static const aliendie0015PNG:Class = AssetImporter_aliendie0015PNG;
public static const scud0013PNG:Class = AssetImporter_scud0013PNG;
public static const uirank1PNG:Class = AssetImporter_uirank1PNG;
public static const plyrtankimpact0003PNG:Class = AssetImporter_plyrtankimpact0003PNG;
public static const upgradeA0012PNG:Class = AssetImporter_upgradeA0012PNG;
public static const upgradeB0021PNG:Class = AssetImporter_upgradeB0021PNG;
public static const upgradeC0030PNG:Class = AssetImporter_upgradeC0030PNG;
public static const playerimpact0012PNG:Class = AssetImporter_playerimpact0012PNG;
public static const shrapnelA0008PNG:Class = AssetImporter_shrapnelA0008PNG;
public static const groundexplode0016PNG:Class = AssetImporter_groundexplode0016PNG;
public static const enemyexplode0004PNG:Class = AssetImporter_enemyexplode0004PNG;
public static const flyingsaucerAdie0005PNG:Class = AssetImporter_flyingsaucerAdie0005PNG;
public static const enemyshootpurple0018PNG:Class = AssetImporter_enemyshootpurple0018PNG;
public static const shrapnel0010PNG:Class = AssetImporter_shrapnel0010PNG;
public static const flyingsaucercdie0012PNG:Class = AssetImporter_flyingsaucercdie0012PNG;
public static const plyrTankIdle0010PNG:Class = AssetImporter_plyrTankIdle0010PNG;
public static const flyingsaucerbidle0013PNG:Class = AssetImporter_flyingsaucerbidle0013PNG;
public static const flyingsaucerbdie0008PNG:Class = AssetImporter_flyingsaucerbdie0008PNG;
public static const upgradeC0007PNG:Class = AssetImporter_upgradeC0007PNG;
public static const flyingsaucercidle0009PNG:Class = AssetImporter_flyingsaucercidle0009PNG;
public static const playermuzzle0005PNG:Class = AssetImporter_playermuzzle0005PNG;
public static const plyrShoot0015PNG:Class = AssetImporter_plyrShoot0015PNG;
public static const enemyshoot0013PNG:Class = AssetImporter_enemyshoot0013PNG;
public static const bossmothergun0000PNG:Class = AssetImporter_bossmothergun0000PNG;
public static const upgradeA0024PNG:Class = AssetImporter_upgradeA0024PNG;
public static const misslesalvo0006PNG:Class = AssetImporter_misslesalvo0006PNG;
public static const flyingsaucercidle0010PNG:Class = AssetImporter_flyingsaucercidle0010PNG;
public static const flyingSaucer0002PNG:Class = AssetImporter_flyingSaucer0002PNG;
public static const enemyexplode0016PNG:Class = AssetImporter_enemyexplode0016PNG;
public static const enemyimpact0005PNG:Class = AssetImporter_enemyimpact0005PNG;
public static const plyrtankmoving0004PNG:Class = AssetImporter_plyrtankmoving0004PNG;
public static const upgradeC0019PNG:Class = AssetImporter_upgradeC0019PNG;
public static const pickupa0001PNG:Class = AssetImporter_pickupa0001PNG;
public static const enemymuzzlepurple0011PNG:Class = AssetImporter_enemymuzzlepurple0011PNG;
public static const scud0003PNG:Class = AssetImporter_scud0003PNG;
public static const lazerground0007PNG:Class = AssetImporter_lazerground0007PNG;
public static const aliendie0005PNG:Class = AssetImporter_aliendie0005PNG;
public static const soundofficon0000PNG:Class = AssetImporter_soundofficon0000PNG;
public static const addon_XML:Class = AssetImporter_addon_XML;
public static const alienfall0001PNG:Class = AssetImporter_alienfall0001PNG;
public static const upgradeA0002PNG:Class = AssetImporter_upgradeA0002PNG;
public static const upgradeB0011PNG:Class = AssetImporter_upgradeB0011PNG;
public static const upgradeC0020PNG:Class = AssetImporter_upgradeC0020PNG;
public static const playerimpact0002PNG:Class = AssetImporter_playerimpact0002PNG;
public static const flyingsaucerbidle0003PNG:Class = AssetImporter_flyingsaucerbidle0003PNG;
public static const flyingSaucer0014PNG:Class = AssetImporter_flyingSaucer0014PNG;
public static const shrapnel0000PNG:Class = AssetImporter_shrapnel0000PNG;
public static const flyingsaucercdie0002PNG:Class = AssetImporter_flyingsaucercdie0002PNG;
public static const enemyshootpurple0008PNG:Class = AssetImporter_enemyshootpurple0008PNG;
public static const plyrTankIdle0000PNG:Class = AssetImporter_plyrTankIdle0000PNG;
public static const plyrShoot0005PNG:Class = AssetImporter_plyrShoot0005PNG;
public static const shrapnelB0007PNG:Class = AssetImporter_shrapnelB0007PNG;
public static const plyrtankshoot0007PNG:Class = AssetImporter_plyrtankshoot0007PNG;
public static const alienfall0013PNG:Class = AssetImporter_alienfall0013PNG;
public static const groundexplode0006PNG:Class = AssetImporter_groundexplode0006PNG;
public static const bossmasher0000PNG:Class = AssetImporter_bossmasher0000PNG;
public static const enemyshoot0003PNG:Class = AssetImporter_enemyshoot0003PNG;
public static const flyingSaucer0000_XML:Class = AssetImporter_flyingSaucer0000_XML;
public static const aliendie0017PNG:Class = AssetImporter_aliendie0017PNG;
public static const scud0015PNG:Class = AssetImporter_scud0015PNG;
public static const uirank3PNG:Class = AssetImporter_uirank3PNG;
public static const plyrtankimpact0005PNG:Class = AssetImporter_plyrtankimpact0005PNG;
public static const enemyMuzzle0011PNG:Class = AssetImporter_enemyMuzzle0011PNG;
public static const upgradeA0014PNG:Class = AssetImporter_upgradeA0014PNG;
public static const upgradeB0023PNG:Class = AssetImporter_upgradeB0023PNG;
public static const upgradeC0032PNG:Class = AssetImporter_upgradeC0032PNG;
public static const playerimpact0014PNG:Class = AssetImporter_playerimpact0014PNG;
public static const flyingsaucerdie0011PNG:Class = AssetImporter_flyingsaucerdie0011PNG;
public static const flyingsaucercidle0000PNG:Class = AssetImporter_flyingsaucercidle0000PNG;
public static const flyingsaucerAdie0007PNG:Class = AssetImporter_flyingsaucerAdie0007PNG;
public static const lasermuzzlebig_XML:Class = AssetImporter_lasermuzzlebig_XML;
public static const shrapnel0012PNG:Class = AssetImporter_shrapnel0012PNG;
public static const lazergroundbig0001:Class = AssetImporter_lazergroundbig0001;
public static const lazergroundbig0002:Class = AssetImporter_lazergroundbig0002;
public static const enemyexplode0006PNG:Class = AssetImporter_enemyexplode0006PNG;
public static const plyrTankIdle0012PNG:Class = AssetImporter_plyrTankIdle0012PNG;
public static const flyingsaucerbidle0015PNG:Class = AssetImporter_flyingsaucerbidle0015PNG;
public static const upgradeC0009PNG:Class = AssetImporter_upgradeC0009PNG;
public static const lazergroundbig0000:Class = AssetImporter_lazergroundbig0000;
public static const playermuzzle0007PNG:Class = AssetImporter_playermuzzle0007PNG;
public static const enemymuzzlepurple0001PNG:Class = AssetImporter_enemymuzzlepurple0001PNG;
public static const plyrShoot0017PNG:Class = AssetImporter_plyrShoot0017PNG;
public static const lazergroundbig0003:Class = AssetImporter_lazergroundbig0003;
public static const enemyshoot0015PNG:Class = AssetImporter_enemyshoot0015PNG;
public static const shrapnelA0011PNG:Class = AssetImporter_shrapnelA0011PNG;
public static const pickupb0000PNG:Class = AssetImporter_pickupb0000PNG;
public static const flyingsaucerbdie0011PNG:Class = AssetImporter_flyingsaucerbdie0011PNG;
public static const enemyshootpurple0021PNG:Class = AssetImporter_enemyshootpurple0021PNG;
public static const moregamesPNG:Class = AssetImporter_moregamesPNG;
public static const upgradeA0026PNG:Class = AssetImporter_upgradeA0026PNG;
public static const upgradeB0001PNG:Class = AssetImporter_upgradeB0001PNG;
public static const upgradeC0010PNG:Class = AssetImporter_upgradeC0010PNG;
public static const bossmothergun0002PNG:Class = AssetImporter_bossmothergun0002PNG;
public static const flyingsaucercidle0012PNG:Class = AssetImporter_flyingsaucercidle0012PNG;
public static const flyingSaucer0004PNG:Class = AssetImporter_flyingSaucer0004PNG;
public static const enemyimpact0007PNG:Class = AssetImporter_enemyimpact0007PNG;
public static const plyrtankmoving0006PNG:Class = AssetImporter_plyrtankmoving0006PNG;
public static const misslesalvo0008PNG:Class = AssetImporter_misslesalvo0008PNG;
public static const pickupa0003PNG:Class = AssetImporter_pickupa0003PNG;
public static const enemymuzzlepurple0013PNG:Class = AssetImporter_enemymuzzlepurple0013PNG;
public static const scud0005PNG:Class = AssetImporter_scud0005PNG;
public static const beamground_XML:Class = AssetImporter_beamground_XML;
public static const aliendie0007PNG:Class = AssetImporter_aliendie0007PNG;
public static const testBG0001PNG:Class = AssetImporter_testBG0001PNG;
public static const beamsmall_XML:Class = AssetImporter_beamsmall_XML;
public static const alienfall0003PNG:Class = AssetImporter_alienfall0003PNG;
public static const buttondownstate:Class = AssetImporter_buttondownstate;
public static const enemyMuzzle0001PNG:Class = AssetImporter_enemyMuzzle0001PNG;
public static const upgradeA0004PNG:Class = AssetImporter_upgradeA0004PNG;
public static const upgradeB0013PNG:Class = AssetImporter_upgradeB0013PNG;
public static const upgradeC0022PNG:Class = AssetImporter_upgradeC0022PNG;
public static const playerimpact0004PNG:Class = AssetImporter_playerimpact0004PNG;
public static const flyingsaucerbidle0005PNG:Class = AssetImporter_flyingsaucerbidle0005PNG;
public static const shrapnel0002PNG:Class = AssetImporter_shrapnel0002PNG;
public static const flyingsaucerdie0001PNG:Class = AssetImporter_flyingsaucerdie0001PNG;
public static const flyingsaucercdie0004PNG:Class = AssetImporter_flyingsaucercdie0004PNG;
public static const plyrTankIdle0002PNG:Class = AssetImporter_plyrTankIdle0002PNG;
public static const playerbeam0001PNG:Class = AssetImporter_playerbeam0001PNG;
public static const plyrShoot0007PNG:Class = AssetImporter_plyrShoot0007PNG;
public static const alienfall0015PNG:Class = AssetImporter_alienfall0015PNG;
public static const shrapnelB0009PNG:Class = AssetImporter_shrapnelB0009PNG;
public static const bossmasher0002PNG:Class = AssetImporter_bossmasher0002PNG;
public static const glowingbouncer0000PNG:Class = AssetImporter_glowingbouncer0000PNG;
public static const enemyshoot0005PNG:Class = AssetImporter_enemyshoot0005PNG;
public static const aliendie0019PNG:Class = AssetImporter_aliendie0019PNG;
public static const shrapnelA0001PNG:Class = AssetImporter_shrapnelA0001PNG;
public static const shrapnelB0010PNG:Class = AssetImporter_shrapnelB0010PNG;
public static const flyingsaucerbdie0001PNG:Class = AssetImporter_flyingsaucerbdie0001PNG;
public static const sfx_tank0000:Class = AssetImporter_sfx_tank0000;
public static const groundexplode0008PNG:Class = AssetImporter_groundexplode0008PNG;
public static const enemyshootpurple0011PNG:Class = AssetImporter_enemyshootpurple0011PNG;
public static const walkerBoss_XML:Class = AssetImporter_walkerBoss_XML;
public static const playerimpact0016PNG:Class = AssetImporter_playerimpact0016PNG;
public static const enemyMuzzle0013PNG:Class = AssetImporter_enemyMuzzle0013PNG;
public static const upgradeA0016PNG:Class = AssetImporter_upgradeA0016PNG;
public static const upgradeB0025PNG:Class = AssetImporter_upgradeB0025PNG;
public static const upgradeC0000PNG:Class = AssetImporter_upgradeC0000PNG;
public static const uirank5PNG:Class = AssetImporter_uirank5PNG;
public static const shrapnel0014PNG:Class = AssetImporter_shrapnel0014PNG;
public static const flyingsaucercidle0002PNG:Class = AssetImporter_flyingsaucercidle0002PNG;
public static const flyingsaucerAdie0009PNG:Class = AssetImporter_flyingsaucerAdie0009PNG;
public static const aliendie0020PNG:Class = AssetImporter_aliendie0020PNG;
public static const plyrTankIdle0014PNG:Class = AssetImporter_plyrTankIdle0014PNG;
public static const plyrShoot0019PNG:Class = AssetImporter_plyrShoot0019PNG;
public static const playermuzzle0009PNG:Class = AssetImporter_playermuzzle0009PNG;
public static const enemyexplode0008PNG:Class = AssetImporter_enemyexplode0008PNG;
public static const enemymuzzlepurple0003PNG:Class = AssetImporter_enemymuzzlepurple0003PNG;
public static const playerLaser_XML:Class = AssetImporter_playerLaser_XML;
public static const enemyshoot0017PNG:Class = AssetImporter_enemyshoot0017PNG;
public static const shrapnelA0013PNG:Class = AssetImporter_shrapnelA0013PNG;
public static const pickupb0002PNG:Class = AssetImporter_pickupb0002PNG;
public static const flyingsaucerAdie0010PNG:Class = AssetImporter_flyingsaucerAdie0010PNG;
public static const mine0001PNG:Class = AssetImporter_mine0001PNG;
public static const upgradeA0028PNG:Class = AssetImporter_upgradeA0028PNG;
public static const upgradeB0003PNG:Class = AssetImporter_upgradeB0003PNG;
public static const upgradeC0012PNG:Class = AssetImporter_upgradeC0012PNG;
public static const bossmothergun0004PNG:Class = AssetImporter_bossmothergun0004PNG;
public static const flyingsaucercidle0014PNG:Class = AssetImporter_flyingsaucercidle0014PNG;
public static const plyrShoot0020PNG:Class = AssetImporter_plyrShoot0020PNG;
public static const flyingSaucer0006PNG:Class = AssetImporter_flyingSaucer0006PNG;
public static const playermuzzle0010PNG:Class = AssetImporter_playermuzzle0010PNG;
public static const plyrtankmoving0008PNG:Class = AssetImporter_plyrtankmoving0008PNG;
public static const lazerground0000PNG:Class = AssetImporter_lazerground0000PNG;
public static const enemyimpact0009PNG:Class = AssetImporter_enemyimpact0009PNG;
public static const enemymuzzlepurple0015PNG:Class = AssetImporter_enemymuzzlepurple0015PNG;
public static const scud0007PNG:Class = AssetImporter_scud0007PNG;
public static const enemy4_XML:Class = AssetImporter_enemy4_XML;
public static const aliendie0009PNG:Class = AssetImporter_aliendie0009PNG;
public static const shrapnelB0000PNG:Class = AssetImporter_shrapnelB0000PNG;
public static const alienfall0005PNG:Class = AssetImporter_alienfall0005PNG;
public static const tankrank0:Class = AssetImporter_tankrank0;
public static const enemyshootpurple0001PNG:Class = AssetImporter_enemyshootpurple0001PNG;
public static const enemyMuzzle0003PNG:Class = AssetImporter_enemyMuzzle0003PNG;
public static const upgradeA0006PNG:Class = AssetImporter_upgradeA0006PNG;
public static const upgradeB0015PNG:Class = AssetImporter_upgradeB0015PNG;
public static const upgradeC0024PNG:Class = AssetImporter_upgradeC0024PNG;
public static const bgFarLayer0000JPG:Class = AssetImporter_bgFarLayer0000JPG;
public static const playerimpact0006PNG:Class = AssetImporter_playerimpact0006PNG;
public static const flyingsaucerbidle0007PNG:Class = AssetImporter_flyingsaucerbidle0007PNG;
public static const plyrtankshoot0000PNG:Class = AssetImporter_plyrtankshoot0000PNG;
public static const enemyimpact0010PNG:Class = AssetImporter_enemyimpact0010PNG;
public static const flyingsaucerdie0003PNG:Class = AssetImporter_flyingsaucerdie0003PNG;
public static const flyingsaucercdie0006PNG:Class = AssetImporter_flyingsaucercdie0006PNG;
public static const aliendie0010PNG:Class = AssetImporter_aliendie0010PNG;
public static const plyrTankIdle0004PNG:Class = AssetImporter_plyrTankIdle0004PNG;
public static const playerbeam0003PNG:Class = AssetImporter_playerbeam0003PNG;
public static const plyrShoot0009PNG:Class = AssetImporter_plyrShoot0009PNG;
public static const shrapnel0004PNG:Class = AssetImporter_shrapnel0004PNG;
public static const bossmasher0004PNG:Class = AssetImporter_bossmasher0004PNG;
public static const enemyshoot0007PNG:Class = AssetImporter_enemyshoot0007PNG;
public static const shrapnelA0003PNG:Class = AssetImporter_shrapnelA0003PNG;
public static const shrapnelB0012PNG:Class = AssetImporter_shrapnelB0012PNG;
public static const flyingsaucerbdie0003PNG:Class = AssetImporter_flyingsaucerbdie0003PNG;
public static const bombobject_XML:Class = AssetImporter_bombobject_XML;
public static const flyingsaucerAdie0000PNG:Class = AssetImporter_flyingsaucerAdie0000PNG;
public static const enemyshootpurple0013PNG:Class = AssetImporter_enemyshootpurple0013PNG;
public static const special0000PNG:Class = AssetImporter_special0000PNG;
public static const shrapnel0016PNG:Class = AssetImporter_shrapnel0016PNG;
public static const enemyMuzzle0015PNG:Class = AssetImporter_enemyMuzzle0015PNG;
public static const upgradeA0018PNG:Class = AssetImporter_upgradeA0018PNG;
public static const upgradeB0027PNG:Class = AssetImporter_upgradeB0027PNG;
public static const upgradeC0002PNG:Class = AssetImporter_upgradeC0002PNG;
public static const flyingsaucercidle0004PNG:Class = AssetImporter_flyingsaucercidle0004PNG;
public static const playermuzzle0000PNG:Class = AssetImporter_playermuzzle0000PNG;
public static const plyrShoot0010PNG:Class = AssetImporter_plyrShoot0010PNG;
public static const aliendie0022PNG:Class = AssetImporter_aliendie0022PNG;
public static const groundexplode0011PNG:Class = AssetImporter_groundexplode0011PNG;
public static const alienonfire_XML:Class = AssetImporter_alienonfire_XML;
public static const enemymuzzlepurple0005PNG:Class = AssetImporter_enemymuzzlepurple0005PNG;
public static const enemyshoot0019PNG:Class = AssetImporter_enemyshoot0019PNG;
public static const misslesalvo0011PNG:Class = AssetImporter_misslesalvo0011PNG;
public static const shrapnelA0015PNG:Class = AssetImporter_shrapnelA0015PNG;
public static const enemyexplode0011PNG:Class = AssetImporter_enemyexplode0011PNG;
public static const flyingsaucerAdie0012PNG:Class = AssetImporter_flyingsaucerAdie0012PNG;
public static const enemy3_XML:Class = AssetImporter_enemy3_XML;
public static const mine0003PNG:Class = AssetImporter_mine0003PNG;
public static const misslesalvo0001PNG:Class = AssetImporter_misslesalvo0001PNG;
public static const enemyimpact0000PNG:Class = AssetImporter_enemyimpact0000PNG;
public static const upgradeB0005PNG:Class = AssetImporter_upgradeB0005PNG;
public static const upgradeC0014PNG:Class = AssetImporter_upgradeC0014PNG;
public static const specialship_XML:Class = AssetImporter_specialship_XML;
public static const plyrShoot0022PNG:Class = AssetImporter_plyrShoot0022PNG;
public static const flyingSaucer0008PNG:Class = AssetImporter_flyingSaucer0008PNG;
public static const playermuzzle0012PNG:Class = AssetImporter_playermuzzle0012PNG;
public static const enemybeamlarge0001PNG:Class = AssetImporter_enemybeamlarge0001PNG;
public static const enemyshoot0020PNG:Class = AssetImporter_enemyshoot0020PNG;
public static const lazerground0002PNG:Class = AssetImporter_lazerground0002PNG;
public static const aliendie0000PNG:Class = AssetImporter_aliendie0000PNG;
public static const flyingsaucercidle0016PNG:Class = AssetImporter_flyingsaucercidle0016PNG;
public static const scud0009PNG:Class = AssetImporter_scud0009PNG;
public static const upgradeA0031PNG:Class = AssetImporter_upgradeA0031PNG;
public static const alienfall0007PNG:Class = AssetImporter_alienfall0007PNG;
public static const misslesalvo0013PNG:Class = AssetImporter_misslesalvo0013PNG;
public static const shrapnelB0002PNG:Class = AssetImporter_shrapnelB0002PNG;
public static const enemyshootpurple0003PNG:Class = AssetImporter_enemyshootpurple0003PNG;
public static const groundexplode0001PNG:Class = AssetImporter_groundexplode0001PNG;
public static const enemyMuzzle0005PNG:Class = AssetImporter_enemyMuzzle0005PNG;
public static const plyrtankmoving0011PNG:Class = AssetImporter_plyrtankmoving0011PNG;
public static const upgradeB0017PNG:Class = AssetImporter_upgradeB0017PNG;
public static const upgradeC0026PNG:Class = AssetImporter_upgradeC0026PNG;
public static const plyrShoot0000PNG:Class = AssetImporter_plyrShoot0000PNG;
public static const bgFarLayer0002JPG:Class = AssetImporter_bgFarLayer0002JPG;
public static const playerimpact0008PNG:Class = AssetImporter_playerimpact0008PNG;
public static const flyingsaucerbidle0009PNG:Class = AssetImporter_flyingsaucerbidle0009PNG;
public static const upgradeA0008PNG:Class = AssetImporter_upgradeA0008PNG;
public static const plyrtankshoot0002PNG:Class = AssetImporter_plyrtankshoot0002PNG;
public static const enemyimpact0012PNG:Class = AssetImporter_enemyimpact0012PNG;
public static const flyingsaucercdie0008PNG:Class = AssetImporter_flyingsaucercdie0008PNG;
public static const aliendie0012PNG:Class = AssetImporter_aliendie0012PNG;
public static const plyrTankIdle0006PNG:Class = AssetImporter_plyrTankIdle0006PNG;
public static const flyingsaucerdie0005PNG:Class = AssetImporter_flyingsaucerdie0005PNG;
public static const shrapnel0006PNG:Class = AssetImporter_shrapnel0006PNG;
public static const enemy2_XML:Class = AssetImporter_enemy2_XML;
public static const plyrtankimpact0000PNG:Class = AssetImporter_plyrtankimpact0000PNG;
public static const enemyshoot0009PNG:Class = AssetImporter_enemyshoot0009PNG;
public static const shrapnelA0005PNG:Class = AssetImporter_shrapnelA0005PNG;
public static const shrapnelB0014PNG:Class = AssetImporter_shrapnelB0014PNG;
public static const flyingsaucerbdie0005PNG:Class = AssetImporter_flyingsaucerbdie0005PNG;
public static const enemyexplode0001PNG:Class = AssetImporter_enemyexplode0001PNG;
public static const flyingsaucerAdie0002PNG:Class = AssetImporter_flyingsaucerAdie0002PNG;
public static const enemyshootpurple0015PNG:Class = AssetImporter_enemyshootpurple0015PNG;
public static const flyingsaucerbidle0010PNG:Class = AssetImporter_flyingsaucerbidle0010PNG;
public static const groundexplode0013PNG:Class = AssetImporter_groundexplode0013PNG;
public static const special0002PNG:Class = AssetImporter_special0002PNG;
public static const bglight0008PNG:Class = AssetImporter_bglight0008PNG;
public static const plyrShoot0012PNG:Class = AssetImporter_plyrShoot0012PNG;
public static function getXMLAsset(_arg1:String, _arg2:Boolean=true):XML{
var xml:XML;
var name = _arg1;
var ignoreWhiteSpace = _arg2;
var assetClass:Class = Class(getDefinitionByName((("AssetImporter_" + name) + "_XML")));
var ba:ByteArray = ByteArray(new (assetClass));
var s:String = ba.readUTFBytes(ba.length);
try {
xml = new XML(s.slice(s.indexOf("<")));
} catch(e:Error) {
trace(("Error: " + e.message));
return (new XML());
};
xml.ignoreWhitespace = true;
return (xml);
}
public static function getAudioAsset(_arg1:String):Sound{
var _local2:Class = (getDefinitionByName(("AssetImporter_" + _arg1)) as Class);
return ((new (_local2) as Sound));
}
public static function getBitmapAsset(_arg1:String):Bitmap{
var _local2:Class = Class(getDefinitionByName(_arg1));
return (Bitmap(new (_local2)));
}
}
}//package
Section 84
//AssetImporter_addon_XML (AssetImporter_addon_XML)
package {
import mx.core.*;
public class AssetImporter_addon_XML extends ByteArrayAsset {
}
}//package
Section 85
//AssetImporter_aliendie0000PNG (AssetImporter_aliendie0000PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0000PNG extends BitmapAsset {
}
}//package
Section 86
//AssetImporter_aliendie0001PNG (AssetImporter_aliendie0001PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0001PNG extends BitmapAsset {
}
}//package
Section 87
//AssetImporter_aliendie0002PNG (AssetImporter_aliendie0002PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0002PNG extends BitmapAsset {
}
}//package
Section 88
//AssetImporter_aliendie0003PNG (AssetImporter_aliendie0003PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0003PNG extends BitmapAsset {
}
}//package
Section 89
//AssetImporter_aliendie0004PNG (AssetImporter_aliendie0004PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0004PNG extends BitmapAsset {
}
}//package
Section 90
//AssetImporter_aliendie0005PNG (AssetImporter_aliendie0005PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0005PNG extends BitmapAsset {
}
}//package
Section 91
//AssetImporter_aliendie0006PNG (AssetImporter_aliendie0006PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0006PNG extends BitmapAsset {
}
}//package
Section 92
//AssetImporter_aliendie0007PNG (AssetImporter_aliendie0007PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0007PNG extends BitmapAsset {
}
}//package
Section 93
//AssetImporter_aliendie0008PNG (AssetImporter_aliendie0008PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0008PNG extends BitmapAsset {
}
}//package
Section 94
//AssetImporter_aliendie0009PNG (AssetImporter_aliendie0009PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0009PNG extends BitmapAsset {
}
}//package
Section 95
//AssetImporter_aliendie0010PNG (AssetImporter_aliendie0010PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0010PNG extends BitmapAsset {
}
}//package
Section 96
//AssetImporter_aliendie0011PNG (AssetImporter_aliendie0011PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0011PNG extends BitmapAsset {
}
}//package
Section 97
//AssetImporter_aliendie0012PNG (AssetImporter_aliendie0012PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0012PNG extends BitmapAsset {
}
}//package
Section 98
//AssetImporter_aliendie0013PNG (AssetImporter_aliendie0013PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0013PNG extends BitmapAsset {
}
}//package
Section 99
//AssetImporter_aliendie0014PNG (AssetImporter_aliendie0014PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0014PNG extends BitmapAsset {
}
}//package
Section 100
//AssetImporter_aliendie0015PNG (AssetImporter_aliendie0015PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0015PNG extends BitmapAsset {
}
}//package
Section 101
//AssetImporter_aliendie0016PNG (AssetImporter_aliendie0016PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0016PNG extends BitmapAsset {
}
}//package
Section 102
//AssetImporter_aliendie0017PNG (AssetImporter_aliendie0017PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0017PNG extends BitmapAsset {
}
}//package
Section 103
//AssetImporter_aliendie0018PNG (AssetImporter_aliendie0018PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0018PNG extends BitmapAsset {
}
}//package
Section 104
//AssetImporter_aliendie0019PNG (AssetImporter_aliendie0019PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0019PNG extends BitmapAsset {
}
}//package
Section 105
//AssetImporter_aliendie0020PNG (AssetImporter_aliendie0020PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0020PNG extends BitmapAsset {
}
}//package
Section 106
//AssetImporter_aliendie0021PNG (AssetImporter_aliendie0021PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0021PNG extends BitmapAsset {
}
}//package
Section 107
//AssetImporter_aliendie0022PNG (AssetImporter_aliendie0022PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0022PNG extends BitmapAsset {
}
}//package
Section 108
//AssetImporter_aliendie0023PNG (AssetImporter_aliendie0023PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0023PNG extends BitmapAsset {
}
}//package
Section 109
//AssetImporter_aliendie0024PNG (AssetImporter_aliendie0024PNG)
package {
import mx.core.*;
public class AssetImporter_aliendie0024PNG extends BitmapAsset {
}
}//package
Section 110
//AssetImporter_alienescapepod_XML (AssetImporter_alienescapepod_XML)
package {
import mx.core.*;
public class AssetImporter_alienescapepod_XML extends ByteArrayAsset {
}
}//package
Section 111
//AssetImporter_alienexplosion_XML (AssetImporter_alienexplosion_XML)
package {
import mx.core.*;
public class AssetImporter_alienexplosion_XML extends ByteArrayAsset {
}
}//package
Section 112
//AssetImporter_alienfall0000PNG (AssetImporter_alienfall0000PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0000PNG extends BitmapAsset {
}
}//package
Section 113
//AssetImporter_alienfall0001PNG (AssetImporter_alienfall0001PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0001PNG extends BitmapAsset {
}
}//package
Section 114
//AssetImporter_alienfall0002PNG (AssetImporter_alienfall0002PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0002PNG extends BitmapAsset {
}
}//package
Section 115
//AssetImporter_alienfall0003PNG (AssetImporter_alienfall0003PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0003PNG extends BitmapAsset {
}
}//package
Section 116
//AssetImporter_alienfall0004PNG (AssetImporter_alienfall0004PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0004PNG extends BitmapAsset {
}
}//package
Section 117
//AssetImporter_alienfall0005PNG (AssetImporter_alienfall0005PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0005PNG extends BitmapAsset {
}
}//package
Section 118
//AssetImporter_alienfall0006PNG (AssetImporter_alienfall0006PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0006PNG extends BitmapAsset {
}
}//package
Section 119
//AssetImporter_alienfall0007PNG (AssetImporter_alienfall0007PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0007PNG extends BitmapAsset {
}
}//package
Section 120
//AssetImporter_alienfall0008PNG (AssetImporter_alienfall0008PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0008PNG extends BitmapAsset {
}
}//package
Section 121
//AssetImporter_alienfall0009PNG (AssetImporter_alienfall0009PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0009PNG extends BitmapAsset {
}
}//package
Section 122
//AssetImporter_alienfall0010PNG (AssetImporter_alienfall0010PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0010PNG extends BitmapAsset {
}
}//package
Section 123
//AssetImporter_alienfall0011PNG (AssetImporter_alienfall0011PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0011PNG extends BitmapAsset {
}
}//package
Section 124
//AssetImporter_alienfall0012PNG (AssetImporter_alienfall0012PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0012PNG extends BitmapAsset {
}
}//package
Section 125
//AssetImporter_alienfall0013PNG (AssetImporter_alienfall0013PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0013PNG extends BitmapAsset {
}
}//package
Section 126
//AssetImporter_alienfall0014PNG (AssetImporter_alienfall0014PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0014PNG extends BitmapAsset {
}
}//package
Section 127
//AssetImporter_alienfall0015PNG (AssetImporter_alienfall0015PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0015PNG extends BitmapAsset {
}
}//package
Section 128
//AssetImporter_alienfall0016PNG (AssetImporter_alienfall0016PNG)
package {
import mx.core.*;
public class AssetImporter_alienfall0016PNG extends BitmapAsset {
}
}//package
Section 129
//AssetImporter_alienonfire_XML (AssetImporter_alienonfire_XML)
package {
import mx.core.*;
public class AssetImporter_alienonfire_XML extends ByteArrayAsset {
}
}//package
Section 130
//AssetImporter_beamground_XML (AssetImporter_beamground_XML)
package {
import mx.core.*;
public class AssetImporter_beamground_XML extends ByteArrayAsset {
}
}//package
Section 131
//AssetImporter_beamlarge_XML (AssetImporter_beamlarge_XML)
package {
import mx.core.*;
public class AssetImporter_beamlarge_XML extends ByteArrayAsset {
}
}//package
Section 132
//AssetImporter_beamsmall_XML (AssetImporter_beamsmall_XML)
package {
import mx.core.*;
public class AssetImporter_beamsmall_XML extends ByteArrayAsset {
}
}//package
Section 133
//AssetImporter_bgFarLayer0000JPG (AssetImporter_bgFarLayer0000JPG)
package {
import mx.core.*;
public class AssetImporter_bgFarLayer0000JPG extends BitmapAsset {
}
}//package
Section 134
//AssetImporter_bgFarLayer0001JPG (AssetImporter_bgFarLayer0001JPG)
package {
import mx.core.*;
public class AssetImporter_bgFarLayer0001JPG extends BitmapAsset {
}
}//package
Section 135
//AssetImporter_bgFarLayer0002JPG (AssetImporter_bgFarLayer0002JPG)
package {
import mx.core.*;
public class AssetImporter_bgFarLayer0002JPG extends BitmapAsset {
}
}//package
Section 136
//AssetImporter_bglight0008PNG (AssetImporter_bglight0008PNG)
package {
import mx.core.*;
public class AssetImporter_bglight0008PNG extends BitmapAsset {
}
}//package
Section 137
//AssetImporter_bgspotlight_XML (AssetImporter_bgspotlight_XML)
package {
import mx.core.*;
public class AssetImporter_bgspotlight_XML extends ByteArrayAsset {
}
}//package
Section 138
//AssetImporter_bombobject_XML (AssetImporter_bombobject_XML)
package {
import mx.core.*;
public class AssetImporter_bombobject_XML extends ByteArrayAsset {
}
}//package
Section 139
//AssetImporter_boss1legsPNG (AssetImporter_boss1legsPNG)
package {
import mx.core.*;
public class AssetImporter_boss1legsPNG extends BitmapAsset {
}
}//package
Section 140
//AssetImporter_bossmasher0000PNG (AssetImporter_bossmasher0000PNG)
package {
import mx.core.*;
public class AssetImporter_bossmasher0000PNG extends BitmapAsset {
}
}//package
Section 141
//AssetImporter_bossmasher0001PNG (AssetImporter_bossmasher0001PNG)
package {
import mx.core.*;
public class AssetImporter_bossmasher0001PNG extends BitmapAsset {
}
}//package
Section 142
//AssetImporter_bossmasher0002PNG (AssetImporter_bossmasher0002PNG)
package {
import mx.core.*;
public class AssetImporter_bossmasher0002PNG extends BitmapAsset {
}
}//package
Section 143
//AssetImporter_bossmasher0003PNG (AssetImporter_bossmasher0003PNG)
package {
import mx.core.*;
public class AssetImporter_bossmasher0003PNG extends BitmapAsset {
}
}//package
Section 144
//AssetImporter_bossmasher0004PNG (AssetImporter_bossmasher0004PNG)
package {
import mx.core.*;
public class AssetImporter_bossmasher0004PNG extends BitmapAsset {
}
}//package
Section 145
//AssetImporter_bossmother0000PNG (AssetImporter_bossmother0000PNG)
package {
import mx.core.*;
public class AssetImporter_bossmother0000PNG extends BitmapAsset {
}
}//package
Section 146
//AssetImporter_bossmothergun0000PNG (AssetImporter_bossmothergun0000PNG)
package {
import mx.core.*;
public class AssetImporter_bossmothergun0000PNG extends BitmapAsset {
}
}//package
Section 147
//AssetImporter_bossmothergun0001PNG (AssetImporter_bossmothergun0001PNG)
package {
import mx.core.*;
public class AssetImporter_bossmothergun0001PNG extends BitmapAsset {
}
}//package
Section 148
//AssetImporter_bossmothergun0002PNG (AssetImporter_bossmothergun0002PNG)
package {
import mx.core.*;
public class AssetImporter_bossmothergun0002PNG extends BitmapAsset {
}
}//package
Section 149
//AssetImporter_bossmothergun0003PNG (AssetImporter_bossmothergun0003PNG)
package {
import mx.core.*;
public class AssetImporter_bossmothergun0003PNG extends BitmapAsset {
}
}//package
Section 150
//AssetImporter_bossmothergun0004PNG (AssetImporter_bossmothergun0004PNG)
package {
import mx.core.*;
public class AssetImporter_bossmothergun0004PNG extends BitmapAsset {
}
}//package
Section 151
//AssetImporter_bossmothergun0005PNG (AssetImporter_bossmothergun0005PNG)
package {
import mx.core.*;
public class AssetImporter_bossmothergun0005PNG extends BitmapAsset {
}
}//package
Section 152
//AssetImporter_bossmuzzle_XML (AssetImporter_bossmuzzle_XML)
package {
import mx.core.*;
public class AssetImporter_bossmuzzle_XML extends ByteArrayAsset {
}
}//package
Section 153
//AssetImporter_bosswalker0008PNG (AssetImporter_bosswalker0008PNG)
package {
import mx.core.*;
public class AssetImporter_bosswalker0008PNG extends BitmapAsset {
}
}//package
Section 154
//AssetImporter_buttondownstate (AssetImporter_buttondownstate)
package {
import mx.core.*;
public class AssetImporter_buttondownstate extends BitmapAsset {
}
}//package
Section 155
//AssetImporter_buttonhover (AssetImporter_buttonhover)
package {
import mx.core.*;
public class AssetImporter_buttonhover extends BitmapAsset {
}
}//package
Section 156
//AssetImporter_buttonupstate (AssetImporter_buttonupstate)
package {
import mx.core.*;
public class AssetImporter_buttonupstate extends BitmapAsset {
}
}//package
Section 157
//AssetImporter_enemy0_XML (AssetImporter_enemy0_XML)
package {
import mx.core.*;
public class AssetImporter_enemy0_XML extends ByteArrayAsset {
}
}//package
Section 158
//AssetImporter_enemy1_XML (AssetImporter_enemy1_XML)
package {
import mx.core.*;
public class AssetImporter_enemy1_XML extends ByteArrayAsset {
}
}//package
Section 159
//AssetImporter_enemy2_XML (AssetImporter_enemy2_XML)
package {
import mx.core.*;
public class AssetImporter_enemy2_XML extends ByteArrayAsset {
}
}//package
Section 160
//AssetImporter_enemy3_XML (AssetImporter_enemy3_XML)
package {
import mx.core.*;
public class AssetImporter_enemy3_XML extends ByteArrayAsset {
}
}//package
Section 161
//AssetImporter_enemy4_XML (AssetImporter_enemy4_XML)
package {
import mx.core.*;
public class AssetImporter_enemy4_XML extends ByteArrayAsset {
}
}//package
Section 162
//AssetImporter_enemybeamlarge0000PNG (AssetImporter_enemybeamlarge0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamlarge0000PNG extends BitmapAsset {
}
}//package
Section 163
//AssetImporter_enemybeamlarge0001PNG (AssetImporter_enemybeamlarge0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamlarge0001PNG extends BitmapAsset {
}
}//package
Section 164
//AssetImporter_enemybeamlarge0002PNG (AssetImporter_enemybeamlarge0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamlarge0002PNG extends BitmapAsset {
}
}//package
Section 165
//AssetImporter_enemybeamlarge0003PNG (AssetImporter_enemybeamlarge0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamlarge0003PNG extends BitmapAsset {
}
}//package
Section 166
//AssetImporter_enemybeamsmall0000PNG (AssetImporter_enemybeamsmall0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamsmall0000PNG extends BitmapAsset {
}
}//package
Section 167
//AssetImporter_enemybeamsmall0001PNG (AssetImporter_enemybeamsmall0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamsmall0001PNG extends BitmapAsset {
}
}//package
Section 168
//AssetImporter_enemybeamsmall0002PNG (AssetImporter_enemybeamsmall0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamsmall0002PNG extends BitmapAsset {
}
}//package
Section 169
//AssetImporter_enemybeamsmall0003PNG (AssetImporter_enemybeamsmall0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemybeamsmall0003PNG extends BitmapAsset {
}
}//package
Section 170
//AssetImporter_enemyexplode0000PNG (AssetImporter_enemyexplode0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0000PNG extends BitmapAsset {
}
}//package
Section 171
//AssetImporter_enemyexplode0001PNG (AssetImporter_enemyexplode0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0001PNG extends BitmapAsset {
}
}//package
Section 172
//AssetImporter_enemyexplode0002PNG (AssetImporter_enemyexplode0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0002PNG extends BitmapAsset {
}
}//package
Section 173
//AssetImporter_enemyexplode0003PNG (AssetImporter_enemyexplode0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0003PNG extends BitmapAsset {
}
}//package
Section 174
//AssetImporter_enemyexplode0004PNG (AssetImporter_enemyexplode0004PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0004PNG extends BitmapAsset {
}
}//package
Section 175
//AssetImporter_enemyexplode0005PNG (AssetImporter_enemyexplode0005PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0005PNG extends BitmapAsset {
}
}//package
Section 176
//AssetImporter_enemyexplode0006PNG (AssetImporter_enemyexplode0006PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0006PNG extends BitmapAsset {
}
}//package
Section 177
//AssetImporter_enemyexplode0007PNG (AssetImporter_enemyexplode0007PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0007PNG extends BitmapAsset {
}
}//package
Section 178
//AssetImporter_enemyexplode0008PNG (AssetImporter_enemyexplode0008PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0008PNG extends BitmapAsset {
}
}//package
Section 179
//AssetImporter_enemyexplode0009PNG (AssetImporter_enemyexplode0009PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0009PNG extends BitmapAsset {
}
}//package
Section 180
//AssetImporter_enemyexplode0010PNG (AssetImporter_enemyexplode0010PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0010PNG extends BitmapAsset {
}
}//package
Section 181
//AssetImporter_enemyexplode0011PNG (AssetImporter_enemyexplode0011PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0011PNG extends BitmapAsset {
}
}//package
Section 182
//AssetImporter_enemyexplode0012PNG (AssetImporter_enemyexplode0012PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0012PNG extends BitmapAsset {
}
}//package
Section 183
//AssetImporter_enemyexplode0013PNG (AssetImporter_enemyexplode0013PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0013PNG extends BitmapAsset {
}
}//package
Section 184
//AssetImporter_enemyexplode0014PNG (AssetImporter_enemyexplode0014PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0014PNG extends BitmapAsset {
}
}//package
Section 185
//AssetImporter_enemyexplode0015PNG (AssetImporter_enemyexplode0015PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0015PNG extends BitmapAsset {
}
}//package
Section 186
//AssetImporter_enemyexplode0016PNG (AssetImporter_enemyexplode0016PNG)
package {
import mx.core.*;
public class AssetImporter_enemyexplode0016PNG extends BitmapAsset {
}
}//package
Section 187
//AssetImporter_enemyimpact0000PNG (AssetImporter_enemyimpact0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0000PNG extends BitmapAsset {
}
}//package
Section 188
//AssetImporter_enemyimpact0001PNG (AssetImporter_enemyimpact0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0001PNG extends BitmapAsset {
}
}//package
Section 189
//AssetImporter_enemyimpact0002PNG (AssetImporter_enemyimpact0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0002PNG extends BitmapAsset {
}
}//package
Section 190
//AssetImporter_enemyimpact0003PNG (AssetImporter_enemyimpact0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0003PNG extends BitmapAsset {
}
}//package
Section 191
//AssetImporter_enemyimpact0004PNG (AssetImporter_enemyimpact0004PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0004PNG extends BitmapAsset {
}
}//package
Section 192
//AssetImporter_enemyimpact0005PNG (AssetImporter_enemyimpact0005PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0005PNG extends BitmapAsset {
}
}//package
Section 193
//AssetImporter_enemyimpact0006PNG (AssetImporter_enemyimpact0006PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0006PNG extends BitmapAsset {
}
}//package
Section 194
//AssetImporter_enemyimpact0007PNG (AssetImporter_enemyimpact0007PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0007PNG extends BitmapAsset {
}
}//package
Section 195
//AssetImporter_enemyimpact0008PNG (AssetImporter_enemyimpact0008PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0008PNG extends BitmapAsset {
}
}//package
Section 196
//AssetImporter_enemyimpact0009PNG (AssetImporter_enemyimpact0009PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0009PNG extends BitmapAsset {
}
}//package
Section 197
//AssetImporter_enemyimpact0010PNG (AssetImporter_enemyimpact0010PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0010PNG extends BitmapAsset {
}
}//package
Section 198
//AssetImporter_enemyimpact0011PNG (AssetImporter_enemyimpact0011PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0011PNG extends BitmapAsset {
}
}//package
Section 199
//AssetImporter_enemyimpact0012PNG (AssetImporter_enemyimpact0012PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0012PNG extends BitmapAsset {
}
}//package
Section 200
//AssetImporter_enemyimpact0013PNG (AssetImporter_enemyimpact0013PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0013PNG extends BitmapAsset {
}
}//package
Section 201
//AssetImporter_enemyimpact0014PNG (AssetImporter_enemyimpact0014PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0014PNG extends BitmapAsset {
}
}//package
Section 202
//AssetImporter_enemyimpact0015PNG (AssetImporter_enemyimpact0015PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0015PNG extends BitmapAsset {
}
}//package
Section 203
//AssetImporter_enemyimpact0016PNG (AssetImporter_enemyimpact0016PNG)
package {
import mx.core.*;
public class AssetImporter_enemyimpact0016PNG extends BitmapAsset {
}
}//package
Section 204
//AssetImporter_enemyMuzzle0000PNG (AssetImporter_enemyMuzzle0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0000PNG extends BitmapAsset {
}
}//package
Section 205
//AssetImporter_enemyMuzzle0001PNG (AssetImporter_enemyMuzzle0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0001PNG extends BitmapAsset {
}
}//package
Section 206
//AssetImporter_enemyMuzzle0002PNG (AssetImporter_enemyMuzzle0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0002PNG extends BitmapAsset {
}
}//package
Section 207
//AssetImporter_enemyMuzzle0003PNG (AssetImporter_enemyMuzzle0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0003PNG extends BitmapAsset {
}
}//package
Section 208
//AssetImporter_enemyMuzzle0004PNG (AssetImporter_enemyMuzzle0004PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0004PNG extends BitmapAsset {
}
}//package
Section 209
//AssetImporter_enemyMuzzle0005PNG (AssetImporter_enemyMuzzle0005PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0005PNG extends BitmapAsset {
}
}//package
Section 210
//AssetImporter_enemyMuzzle0006PNG (AssetImporter_enemyMuzzle0006PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0006PNG extends BitmapAsset {
}
}//package
Section 211
//AssetImporter_enemyMuzzle0007PNG (AssetImporter_enemyMuzzle0007PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0007PNG extends BitmapAsset {
}
}//package
Section 212
//AssetImporter_enemyMuzzle0008PNG (AssetImporter_enemyMuzzle0008PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0008PNG extends BitmapAsset {
}
}//package
Section 213
//AssetImporter_enemyMuzzle0009PNG (AssetImporter_enemyMuzzle0009PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0009PNG extends BitmapAsset {
}
}//package
Section 214
//AssetImporter_enemyMuzzle0010PNG (AssetImporter_enemyMuzzle0010PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0010PNG extends BitmapAsset {
}
}//package
Section 215
//AssetImporter_enemyMuzzle0011PNG (AssetImporter_enemyMuzzle0011PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0011PNG extends BitmapAsset {
}
}//package
Section 216
//AssetImporter_enemyMuzzle0012PNG (AssetImporter_enemyMuzzle0012PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0012PNG extends BitmapAsset {
}
}//package
Section 217
//AssetImporter_enemyMuzzle0013PNG (AssetImporter_enemyMuzzle0013PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0013PNG extends BitmapAsset {
}
}//package
Section 218
//AssetImporter_enemyMuzzle0014PNG (AssetImporter_enemyMuzzle0014PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0014PNG extends BitmapAsset {
}
}//package
Section 219
//AssetImporter_enemyMuzzle0015PNG (AssetImporter_enemyMuzzle0015PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0015PNG extends BitmapAsset {
}
}//package
Section 220
//AssetImporter_enemyMuzzle0016PNG (AssetImporter_enemyMuzzle0016PNG)
package {
import mx.core.*;
public class AssetImporter_enemyMuzzle0016PNG extends BitmapAsset {
}
}//package
Section 221
//AssetImporter_enemymuzzlepurple0000PNG (AssetImporter_enemymuzzlepurple0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0000PNG extends BitmapAsset {
}
}//package
Section 222
//AssetImporter_enemymuzzlepurple0001PNG (AssetImporter_enemymuzzlepurple0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0001PNG extends BitmapAsset {
}
}//package
Section 223
//AssetImporter_enemymuzzlepurple0002PNG (AssetImporter_enemymuzzlepurple0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0002PNG extends BitmapAsset {
}
}//package
Section 224
//AssetImporter_enemymuzzlepurple0003PNG (AssetImporter_enemymuzzlepurple0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0003PNG extends BitmapAsset {
}
}//package
Section 225
//AssetImporter_enemymuzzlepurple0004PNG (AssetImporter_enemymuzzlepurple0004PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0004PNG extends BitmapAsset {
}
}//package
Section 226
//AssetImporter_enemymuzzlepurple0005PNG (AssetImporter_enemymuzzlepurple0005PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0005PNG extends BitmapAsset {
}
}//package
Section 227
//AssetImporter_enemymuzzlepurple0006PNG (AssetImporter_enemymuzzlepurple0006PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0006PNG extends BitmapAsset {
}
}//package
Section 228
//AssetImporter_enemymuzzlepurple0007PNG (AssetImporter_enemymuzzlepurple0007PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0007PNG extends BitmapAsset {
}
}//package
Section 229
//AssetImporter_enemymuzzlepurple0008PNG (AssetImporter_enemymuzzlepurple0008PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0008PNG extends BitmapAsset {
}
}//package
Section 230
//AssetImporter_enemymuzzlepurple0009PNG (AssetImporter_enemymuzzlepurple0009PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0009PNG extends BitmapAsset {
}
}//package
Section 231
//AssetImporter_enemymuzzlepurple0010PNG (AssetImporter_enemymuzzlepurple0010PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0010PNG extends BitmapAsset {
}
}//package
Section 232
//AssetImporter_enemymuzzlepurple0011PNG (AssetImporter_enemymuzzlepurple0011PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0011PNG extends BitmapAsset {
}
}//package
Section 233
//AssetImporter_enemymuzzlepurple0012PNG (AssetImporter_enemymuzzlepurple0012PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0012PNG extends BitmapAsset {
}
}//package
Section 234
//AssetImporter_enemymuzzlepurple0013PNG (AssetImporter_enemymuzzlepurple0013PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0013PNG extends BitmapAsset {
}
}//package
Section 235
//AssetImporter_enemymuzzlepurple0014PNG (AssetImporter_enemymuzzlepurple0014PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0014PNG extends BitmapAsset {
}
}//package
Section 236
//AssetImporter_enemymuzzlepurple0015PNG (AssetImporter_enemymuzzlepurple0015PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0015PNG extends BitmapAsset {
}
}//package
Section 237
//AssetImporter_enemymuzzlepurple0016PNG (AssetImporter_enemymuzzlepurple0016PNG)
package {
import mx.core.*;
public class AssetImporter_enemymuzzlepurple0016PNG extends BitmapAsset {
}
}//package
Section 238
//AssetImporter_enemyProjectile0_XML (AssetImporter_enemyProjectile0_XML)
package {
import mx.core.*;
public class AssetImporter_enemyProjectile0_XML extends ByteArrayAsset {
}
}//package
Section 239
//AssetImporter_enemyshoot0000PNG (AssetImporter_enemyshoot0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0000PNG extends BitmapAsset {
}
}//package
Section 240
//AssetImporter_enemyshoot0001PNG (AssetImporter_enemyshoot0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0001PNG extends BitmapAsset {
}
}//package
Section 241
//AssetImporter_enemyshoot0002PNG (AssetImporter_enemyshoot0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0002PNG extends BitmapAsset {
}
}//package
Section 242
//AssetImporter_enemyshoot0003PNG (AssetImporter_enemyshoot0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0003PNG extends BitmapAsset {
}
}//package
Section 243
//AssetImporter_enemyshoot0004PNG (AssetImporter_enemyshoot0004PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0004PNG extends BitmapAsset {
}
}//package
Section 244
//AssetImporter_enemyshoot0005PNG (AssetImporter_enemyshoot0005PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0005PNG extends BitmapAsset {
}
}//package
Section 245
//AssetImporter_enemyshoot0006PNG (AssetImporter_enemyshoot0006PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0006PNG extends BitmapAsset {
}
}//package
Section 246
//AssetImporter_enemyshoot0007PNG (AssetImporter_enemyshoot0007PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0007PNG extends BitmapAsset {
}
}//package
Section 247
//AssetImporter_enemyshoot0008PNG (AssetImporter_enemyshoot0008PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0008PNG extends BitmapAsset {
}
}//package
Section 248
//AssetImporter_enemyshoot0009PNG (AssetImporter_enemyshoot0009PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0009PNG extends BitmapAsset {
}
}//package
Section 249
//AssetImporter_enemyshoot0010PNG (AssetImporter_enemyshoot0010PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0010PNG extends BitmapAsset {
}
}//package
Section 250
//AssetImporter_enemyshoot0011PNG (AssetImporter_enemyshoot0011PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0011PNG extends BitmapAsset {
}
}//package
Section 251
//AssetImporter_enemyshoot0012PNG (AssetImporter_enemyshoot0012PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0012PNG extends BitmapAsset {
}
}//package
Section 252
//AssetImporter_enemyshoot0013PNG (AssetImporter_enemyshoot0013PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0013PNG extends BitmapAsset {
}
}//package
Section 253
//AssetImporter_enemyshoot0014PNG (AssetImporter_enemyshoot0014PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0014PNG extends BitmapAsset {
}
}//package
Section 254
//AssetImporter_enemyshoot0015PNG (AssetImporter_enemyshoot0015PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0015PNG extends BitmapAsset {
}
}//package
Section 255
//AssetImporter_enemyshoot0016PNG (AssetImporter_enemyshoot0016PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0016PNG extends BitmapAsset {
}
}//package
Section 256
//AssetImporter_enemyshoot0017PNG (AssetImporter_enemyshoot0017PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0017PNG extends BitmapAsset {
}
}//package
Section 257
//AssetImporter_enemyshoot0018PNG (AssetImporter_enemyshoot0018PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0018PNG extends BitmapAsset {
}
}//package
Section 258
//AssetImporter_enemyshoot0019PNG (AssetImporter_enemyshoot0019PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0019PNG extends BitmapAsset {
}
}//package
Section 259
//AssetImporter_enemyshoot0020PNG (AssetImporter_enemyshoot0020PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0020PNG extends BitmapAsset {
}
}//package
Section 260
//AssetImporter_enemyshoot0021PNG (AssetImporter_enemyshoot0021PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0021PNG extends BitmapAsset {
}
}//package
Section 261
//AssetImporter_enemyshoot0022PNG (AssetImporter_enemyshoot0022PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshoot0022PNG extends BitmapAsset {
}
}//package
Section 262
//AssetImporter_enemyshootpurple0000PNG (AssetImporter_enemyshootpurple0000PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0000PNG extends BitmapAsset {
}
}//package
Section 263
//AssetImporter_enemyshootpurple0001PNG (AssetImporter_enemyshootpurple0001PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0001PNG extends BitmapAsset {
}
}//package
Section 264
//AssetImporter_enemyshootpurple0002PNG (AssetImporter_enemyshootpurple0002PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0002PNG extends BitmapAsset {
}
}//package
Section 265
//AssetImporter_enemyshootpurple0003PNG (AssetImporter_enemyshootpurple0003PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0003PNG extends BitmapAsset {
}
}//package
Section 266
//AssetImporter_enemyshootpurple0004PNG (AssetImporter_enemyshootpurple0004PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0004PNG extends BitmapAsset {
}
}//package
Section 267
//AssetImporter_enemyshootpurple0005PNG (AssetImporter_enemyshootpurple0005PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0005PNG extends BitmapAsset {
}
}//package
Section 268
//AssetImporter_enemyshootpurple0006PNG (AssetImporter_enemyshootpurple0006PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0006PNG extends BitmapAsset {
}
}//package
Section 269
//AssetImporter_enemyshootpurple0007PNG (AssetImporter_enemyshootpurple0007PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0007PNG extends BitmapAsset {
}
}//package
Section 270
//AssetImporter_enemyshootpurple0008PNG (AssetImporter_enemyshootpurple0008PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0008PNG extends BitmapAsset {
}
}//package
Section 271
//AssetImporter_enemyshootpurple0009PNG (AssetImporter_enemyshootpurple0009PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0009PNG extends BitmapAsset {
}
}//package
Section 272
//AssetImporter_enemyshootpurple0010PNG (AssetImporter_enemyshootpurple0010PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0010PNG extends BitmapAsset {
}
}//package
Section 273
//AssetImporter_enemyshootpurple0011PNG (AssetImporter_enemyshootpurple0011PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0011PNG extends BitmapAsset {
}
}//package
Section 274
//AssetImporter_enemyshootpurple0012PNG (AssetImporter_enemyshootpurple0012PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0012PNG extends BitmapAsset {
}
}//package
Section 275
//AssetImporter_enemyshootpurple0013PNG (AssetImporter_enemyshootpurple0013PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0013PNG extends BitmapAsset {
}
}//package
Section 276
//AssetImporter_enemyshootpurple0014PNG (AssetImporter_enemyshootpurple0014PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0014PNG extends BitmapAsset {
}
}//package
Section 277
//AssetImporter_enemyshootpurple0015PNG (AssetImporter_enemyshootpurple0015PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0015PNG extends BitmapAsset {
}
}//package
Section 278
//AssetImporter_enemyshootpurple0016PNG (AssetImporter_enemyshootpurple0016PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0016PNG extends BitmapAsset {
}
}//package
Section 279
//AssetImporter_enemyshootpurple0017PNG (AssetImporter_enemyshootpurple0017PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0017PNG extends BitmapAsset {
}
}//package
Section 280
//AssetImporter_enemyshootpurple0018PNG (AssetImporter_enemyshootpurple0018PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0018PNG extends BitmapAsset {
}
}//package
Section 281
//AssetImporter_enemyshootpurple0019PNG (AssetImporter_enemyshootpurple0019PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0019PNG extends BitmapAsset {
}
}//package
Section 282
//AssetImporter_enemyshootpurple0020PNG (AssetImporter_enemyshootpurple0020PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0020PNG extends BitmapAsset {
}
}//package
Section 283
//AssetImporter_enemyshootpurple0021PNG (AssetImporter_enemyshootpurple0021PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0021PNG extends BitmapAsset {
}
}//package
Section 284
//AssetImporter_enemyshootpurple0022PNG (AssetImporter_enemyshootpurple0022PNG)
package {
import mx.core.*;
public class AssetImporter_enemyshootpurple0022PNG extends BitmapAsset {
}
}//package
Section 285
//AssetImporter_flyingSaucer0000_XML (AssetImporter_flyingSaucer0000_XML)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0000_XML extends ByteArrayAsset {
}
}//package
Section 286
//AssetImporter_flyingSaucer0000PNG (AssetImporter_flyingSaucer0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0000PNG extends BitmapAsset {
}
}//package
Section 287
//AssetImporter_flyingSaucer0001PNG (AssetImporter_flyingSaucer0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0001PNG extends BitmapAsset {
}
}//package
Section 288
//AssetImporter_flyingSaucer0002PNG (AssetImporter_flyingSaucer0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0002PNG extends BitmapAsset {
}
}//package
Section 289
//AssetImporter_flyingSaucer0003PNG (AssetImporter_flyingSaucer0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0003PNG extends BitmapAsset {
}
}//package
Section 290
//AssetImporter_flyingSaucer0004PNG (AssetImporter_flyingSaucer0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0004PNG extends BitmapAsset {
}
}//package
Section 291
//AssetImporter_flyingSaucer0005PNG (AssetImporter_flyingSaucer0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0005PNG extends BitmapAsset {
}
}//package
Section 292
//AssetImporter_flyingSaucer0006PNG (AssetImporter_flyingSaucer0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0006PNG extends BitmapAsset {
}
}//package
Section 293
//AssetImporter_flyingSaucer0007PNG (AssetImporter_flyingSaucer0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0007PNG extends BitmapAsset {
}
}//package
Section 294
//AssetImporter_flyingSaucer0008PNG (AssetImporter_flyingSaucer0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0008PNG extends BitmapAsset {
}
}//package
Section 295
//AssetImporter_flyingSaucer0009PNG (AssetImporter_flyingSaucer0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0009PNG extends BitmapAsset {
}
}//package
Section 296
//AssetImporter_flyingSaucer0010PNG (AssetImporter_flyingSaucer0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0010PNG extends BitmapAsset {
}
}//package
Section 297
//AssetImporter_flyingSaucer0011PNG (AssetImporter_flyingSaucer0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0011PNG extends BitmapAsset {
}
}//package
Section 298
//AssetImporter_flyingSaucer0012PNG (AssetImporter_flyingSaucer0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0012PNG extends BitmapAsset {
}
}//package
Section 299
//AssetImporter_flyingSaucer0013PNG (AssetImporter_flyingSaucer0013PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0013PNG extends BitmapAsset {
}
}//package
Section 300
//AssetImporter_flyingSaucer0014PNG (AssetImporter_flyingSaucer0014PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0014PNG extends BitmapAsset {
}
}//package
Section 301
//AssetImporter_flyingSaucer0015PNG (AssetImporter_flyingSaucer0015PNG)
package {
import mx.core.*;
public class AssetImporter_flyingSaucer0015PNG extends BitmapAsset {
}
}//package
Section 302
//AssetImporter_flyingsaucerAdie0000PNG (AssetImporter_flyingsaucerAdie0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0000PNG extends BitmapAsset {
}
}//package
Section 303
//AssetImporter_flyingsaucerAdie0001PNG (AssetImporter_flyingsaucerAdie0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0001PNG extends BitmapAsset {
}
}//package
Section 304
//AssetImporter_flyingsaucerAdie0002PNG (AssetImporter_flyingsaucerAdie0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0002PNG extends BitmapAsset {
}
}//package
Section 305
//AssetImporter_flyingsaucerAdie0003PNG (AssetImporter_flyingsaucerAdie0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0003PNG extends BitmapAsset {
}
}//package
Section 306
//AssetImporter_flyingsaucerAdie0004PNG (AssetImporter_flyingsaucerAdie0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0004PNG extends BitmapAsset {
}
}//package
Section 307
//AssetImporter_flyingsaucerAdie0005PNG (AssetImporter_flyingsaucerAdie0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0005PNG extends BitmapAsset {
}
}//package
Section 308
//AssetImporter_flyingsaucerAdie0006PNG (AssetImporter_flyingsaucerAdie0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0006PNG extends BitmapAsset {
}
}//package
Section 309
//AssetImporter_flyingsaucerAdie0007PNG (AssetImporter_flyingsaucerAdie0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0007PNG extends BitmapAsset {
}
}//package
Section 310
//AssetImporter_flyingsaucerAdie0008PNG (AssetImporter_flyingsaucerAdie0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0008PNG extends BitmapAsset {
}
}//package
Section 311
//AssetImporter_flyingsaucerAdie0009PNG (AssetImporter_flyingsaucerAdie0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0009PNG extends BitmapAsset {
}
}//package
Section 312
//AssetImporter_flyingsaucerAdie0010PNG (AssetImporter_flyingsaucerAdie0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0010PNG extends BitmapAsset {
}
}//package
Section 313
//AssetImporter_flyingsaucerAdie0011PNG (AssetImporter_flyingsaucerAdie0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0011PNG extends BitmapAsset {
}
}//package
Section 314
//AssetImporter_flyingsaucerAdie0012PNG (AssetImporter_flyingsaucerAdie0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAdie0012PNG extends BitmapAsset {
}
}//package
Section 315
//AssetImporter_flyingsaucerAidle0000 (AssetImporter_flyingsaucerAidle0000)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0000 extends BitmapAsset {
}
}//package
Section 316
//AssetImporter_flyingsaucerAidle0001 (AssetImporter_flyingsaucerAidle0001)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0001 extends BitmapAsset {
}
}//package
Section 317
//AssetImporter_flyingsaucerAidle0002 (AssetImporter_flyingsaucerAidle0002)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0002 extends BitmapAsset {
}
}//package
Section 318
//AssetImporter_flyingsaucerAidle0003 (AssetImporter_flyingsaucerAidle0003)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0003 extends BitmapAsset {
}
}//package
Section 319
//AssetImporter_flyingsaucerAidle0004 (AssetImporter_flyingsaucerAidle0004)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0004 extends BitmapAsset {
}
}//package
Section 320
//AssetImporter_flyingsaucerAidle0005 (AssetImporter_flyingsaucerAidle0005)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0005 extends BitmapAsset {
}
}//package
Section 321
//AssetImporter_flyingsaucerAidle0006 (AssetImporter_flyingsaucerAidle0006)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0006 extends BitmapAsset {
}
}//package
Section 322
//AssetImporter_flyingsaucerAidle0007 (AssetImporter_flyingsaucerAidle0007)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0007 extends BitmapAsset {
}
}//package
Section 323
//AssetImporter_flyingsaucerAidle0008 (AssetImporter_flyingsaucerAidle0008)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0008 extends BitmapAsset {
}
}//package
Section 324
//AssetImporter_flyingsaucerAidle0009 (AssetImporter_flyingsaucerAidle0009)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0009 extends BitmapAsset {
}
}//package
Section 325
//AssetImporter_flyingsaucerAidle0010 (AssetImporter_flyingsaucerAidle0010)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0010 extends BitmapAsset {
}
}//package
Section 326
//AssetImporter_flyingsaucerAidle0011 (AssetImporter_flyingsaucerAidle0011)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0011 extends BitmapAsset {
}
}//package
Section 327
//AssetImporter_flyingsaucerAidle0012 (AssetImporter_flyingsaucerAidle0012)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0012 extends BitmapAsset {
}
}//package
Section 328
//AssetImporter_flyingsaucerAidle0013 (AssetImporter_flyingsaucerAidle0013)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0013 extends BitmapAsset {
}
}//package
Section 329
//AssetImporter_flyingsaucerAidle0014 (AssetImporter_flyingsaucerAidle0014)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0014 extends BitmapAsset {
}
}//package
Section 330
//AssetImporter_flyingsaucerAidle0015 (AssetImporter_flyingsaucerAidle0015)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerAidle0015 extends BitmapAsset {
}
}//package
Section 331
//AssetImporter_flyingsaucerbdie0000PNG (AssetImporter_flyingsaucerbdie0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0000PNG extends BitmapAsset {
}
}//package
Section 332
//AssetImporter_flyingsaucerbdie0001PNG (AssetImporter_flyingsaucerbdie0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0001PNG extends BitmapAsset {
}
}//package
Section 333
//AssetImporter_flyingsaucerbdie0002PNG (AssetImporter_flyingsaucerbdie0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0002PNG extends BitmapAsset {
}
}//package
Section 334
//AssetImporter_flyingsaucerbdie0003PNG (AssetImporter_flyingsaucerbdie0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0003PNG extends BitmapAsset {
}
}//package
Section 335
//AssetImporter_flyingsaucerbdie0004PNG (AssetImporter_flyingsaucerbdie0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0004PNG extends BitmapAsset {
}
}//package
Section 336
//AssetImporter_flyingsaucerbdie0005PNG (AssetImporter_flyingsaucerbdie0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0005PNG extends BitmapAsset {
}
}//package
Section 337
//AssetImporter_flyingsaucerbdie0006PNG (AssetImporter_flyingsaucerbdie0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0006PNG extends BitmapAsset {
}
}//package
Section 338
//AssetImporter_flyingsaucerbdie0007PNG (AssetImporter_flyingsaucerbdie0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0007PNG extends BitmapAsset {
}
}//package
Section 339
//AssetImporter_flyingsaucerbdie0008PNG (AssetImporter_flyingsaucerbdie0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0008PNG extends BitmapAsset {
}
}//package
Section 340
//AssetImporter_flyingsaucerbdie0009PNG (AssetImporter_flyingsaucerbdie0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0009PNG extends BitmapAsset {
}
}//package
Section 341
//AssetImporter_flyingsaucerbdie0010PNG (AssetImporter_flyingsaucerbdie0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0010PNG extends BitmapAsset {
}
}//package
Section 342
//AssetImporter_flyingsaucerbdie0011PNG (AssetImporter_flyingsaucerbdie0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0011PNG extends BitmapAsset {
}
}//package
Section 343
//AssetImporter_flyingsaucerbdie0012PNG (AssetImporter_flyingsaucerbdie0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbdie0012PNG extends BitmapAsset {
}
}//package
Section 344
//AssetImporter_flyingsaucerbidle0000PNG (AssetImporter_flyingsaucerbidle0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0000PNG extends BitmapAsset {
}
}//package
Section 345
//AssetImporter_flyingsaucerbidle0001PNG (AssetImporter_flyingsaucerbidle0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0001PNG extends BitmapAsset {
}
}//package
Section 346
//AssetImporter_flyingsaucerbidle0002PNG (AssetImporter_flyingsaucerbidle0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0002PNG extends BitmapAsset {
}
}//package
Section 347
//AssetImporter_flyingsaucerbidle0003PNG (AssetImporter_flyingsaucerbidle0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0003PNG extends BitmapAsset {
}
}//package
Section 348
//AssetImporter_flyingsaucerbidle0004PNG (AssetImporter_flyingsaucerbidle0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0004PNG extends BitmapAsset {
}
}//package
Section 349
//AssetImporter_flyingsaucerbidle0005PNG (AssetImporter_flyingsaucerbidle0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0005PNG extends BitmapAsset {
}
}//package
Section 350
//AssetImporter_flyingsaucerbidle0006PNG (AssetImporter_flyingsaucerbidle0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0006PNG extends BitmapAsset {
}
}//package
Section 351
//AssetImporter_flyingsaucerbidle0007PNG (AssetImporter_flyingsaucerbidle0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0007PNG extends BitmapAsset {
}
}//package
Section 352
//AssetImporter_flyingsaucerbidle0008PNG (AssetImporter_flyingsaucerbidle0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0008PNG extends BitmapAsset {
}
}//package
Section 353
//AssetImporter_flyingsaucerbidle0009PNG (AssetImporter_flyingsaucerbidle0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0009PNG extends BitmapAsset {
}
}//package
Section 354
//AssetImporter_flyingsaucerbidle0010PNG (AssetImporter_flyingsaucerbidle0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0010PNG extends BitmapAsset {
}
}//package
Section 355
//AssetImporter_flyingsaucerbidle0011PNG (AssetImporter_flyingsaucerbidle0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0011PNG extends BitmapAsset {
}
}//package
Section 356
//AssetImporter_flyingsaucerbidle0012PNG (AssetImporter_flyingsaucerbidle0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0012PNG extends BitmapAsset {
}
}//package
Section 357
//AssetImporter_flyingsaucerbidle0013PNG (AssetImporter_flyingsaucerbidle0013PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0013PNG extends BitmapAsset {
}
}//package
Section 358
//AssetImporter_flyingsaucerbidle0014PNG (AssetImporter_flyingsaucerbidle0014PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0014PNG extends BitmapAsset {
}
}//package
Section 359
//AssetImporter_flyingsaucerbidle0015PNG (AssetImporter_flyingsaucerbidle0015PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0015PNG extends BitmapAsset {
}
}//package
Section 360
//AssetImporter_flyingsaucerbidle0016PNG (AssetImporter_flyingsaucerbidle0016PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerbidle0016PNG extends BitmapAsset {
}
}//package
Section 361
//AssetImporter_flyingsaucercdie0000PNG (AssetImporter_flyingsaucercdie0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0000PNG extends BitmapAsset {
}
}//package
Section 362
//AssetImporter_flyingsaucercdie0001PNG (AssetImporter_flyingsaucercdie0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0001PNG extends BitmapAsset {
}
}//package
Section 363
//AssetImporter_flyingsaucercdie0002PNG (AssetImporter_flyingsaucercdie0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0002PNG extends BitmapAsset {
}
}//package
Section 364
//AssetImporter_flyingsaucercdie0003PNG (AssetImporter_flyingsaucercdie0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0003PNG extends BitmapAsset {
}
}//package
Section 365
//AssetImporter_flyingsaucercdie0004PNG (AssetImporter_flyingsaucercdie0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0004PNG extends BitmapAsset {
}
}//package
Section 366
//AssetImporter_flyingsaucercdie0005PNG (AssetImporter_flyingsaucercdie0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0005PNG extends BitmapAsset {
}
}//package
Section 367
//AssetImporter_flyingsaucercdie0006PNG (AssetImporter_flyingsaucercdie0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0006PNG extends BitmapAsset {
}
}//package
Section 368
//AssetImporter_flyingsaucercdie0007PNG (AssetImporter_flyingsaucercdie0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0007PNG extends BitmapAsset {
}
}//package
Section 369
//AssetImporter_flyingsaucercdie0008PNG (AssetImporter_flyingsaucercdie0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0008PNG extends BitmapAsset {
}
}//package
Section 370
//AssetImporter_flyingsaucercdie0009PNG (AssetImporter_flyingsaucercdie0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0009PNG extends BitmapAsset {
}
}//package
Section 371
//AssetImporter_flyingsaucercdie0010PNG (AssetImporter_flyingsaucercdie0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0010PNG extends BitmapAsset {
}
}//package
Section 372
//AssetImporter_flyingsaucercdie0011PNG (AssetImporter_flyingsaucercdie0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0011PNG extends BitmapAsset {
}
}//package
Section 373
//AssetImporter_flyingsaucercdie0012PNG (AssetImporter_flyingsaucercdie0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercdie0012PNG extends BitmapAsset {
}
}//package
Section 374
//AssetImporter_flyingsaucercidle0000PNG (AssetImporter_flyingsaucercidle0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0000PNG extends BitmapAsset {
}
}//package
Section 375
//AssetImporter_flyingsaucercidle0001PNG (AssetImporter_flyingsaucercidle0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0001PNG extends BitmapAsset {
}
}//package
Section 376
//AssetImporter_flyingsaucercidle0002PNG (AssetImporter_flyingsaucercidle0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0002PNG extends BitmapAsset {
}
}//package
Section 377
//AssetImporter_flyingsaucercidle0003PNG (AssetImporter_flyingsaucercidle0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0003PNG extends BitmapAsset {
}
}//package
Section 378
//AssetImporter_flyingsaucercidle0004PNG (AssetImporter_flyingsaucercidle0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0004PNG extends BitmapAsset {
}
}//package
Section 379
//AssetImporter_flyingsaucercidle0005PNG (AssetImporter_flyingsaucercidle0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0005PNG extends BitmapAsset {
}
}//package
Section 380
//AssetImporter_flyingsaucercidle0006PNG (AssetImporter_flyingsaucercidle0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0006PNG extends BitmapAsset {
}
}//package
Section 381
//AssetImporter_flyingsaucercidle0007PNG (AssetImporter_flyingsaucercidle0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0007PNG extends BitmapAsset {
}
}//package
Section 382
//AssetImporter_flyingsaucercidle0008PNG (AssetImporter_flyingsaucercidle0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0008PNG extends BitmapAsset {
}
}//package
Section 383
//AssetImporter_flyingsaucercidle0009PNG (AssetImporter_flyingsaucercidle0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0009PNG extends BitmapAsset {
}
}//package
Section 384
//AssetImporter_flyingsaucercidle0010PNG (AssetImporter_flyingsaucercidle0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0010PNG extends BitmapAsset {
}
}//package
Section 385
//AssetImporter_flyingsaucercidle0011PNG (AssetImporter_flyingsaucercidle0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0011PNG extends BitmapAsset {
}
}//package
Section 386
//AssetImporter_flyingsaucercidle0012PNG (AssetImporter_flyingsaucercidle0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0012PNG extends BitmapAsset {
}
}//package
Section 387
//AssetImporter_flyingsaucercidle0013PNG (AssetImporter_flyingsaucercidle0013PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0013PNG extends BitmapAsset {
}
}//package
Section 388
//AssetImporter_flyingsaucercidle0014PNG (AssetImporter_flyingsaucercidle0014PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0014PNG extends BitmapAsset {
}
}//package
Section 389
//AssetImporter_flyingsaucercidle0015PNG (AssetImporter_flyingsaucercidle0015PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0015PNG extends BitmapAsset {
}
}//package
Section 390
//AssetImporter_flyingsaucercidle0016PNG (AssetImporter_flyingsaucercidle0016PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucercidle0016PNG extends BitmapAsset {
}
}//package
Section 391
//AssetImporter_flyingsaucerdie0000PNG (AssetImporter_flyingsaucerdie0000PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0000PNG extends BitmapAsset {
}
}//package
Section 392
//AssetImporter_flyingsaucerdie0001PNG (AssetImporter_flyingsaucerdie0001PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0001PNG extends BitmapAsset {
}
}//package
Section 393
//AssetImporter_flyingsaucerdie0002PNG (AssetImporter_flyingsaucerdie0002PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0002PNG extends BitmapAsset {
}
}//package
Section 394
//AssetImporter_flyingsaucerdie0003PNG (AssetImporter_flyingsaucerdie0003PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0003PNG extends BitmapAsset {
}
}//package
Section 395
//AssetImporter_flyingsaucerdie0004PNG (AssetImporter_flyingsaucerdie0004PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0004PNG extends BitmapAsset {
}
}//package
Section 396
//AssetImporter_flyingsaucerdie0005PNG (AssetImporter_flyingsaucerdie0005PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0005PNG extends BitmapAsset {
}
}//package
Section 397
//AssetImporter_flyingsaucerdie0006PNG (AssetImporter_flyingsaucerdie0006PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0006PNG extends BitmapAsset {
}
}//package
Section 398
//AssetImporter_flyingsaucerdie0007PNG (AssetImporter_flyingsaucerdie0007PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0007PNG extends BitmapAsset {
}
}//package
Section 399
//AssetImporter_flyingsaucerdie0008PNG (AssetImporter_flyingsaucerdie0008PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0008PNG extends BitmapAsset {
}
}//package
Section 400
//AssetImporter_flyingsaucerdie0009PNG (AssetImporter_flyingsaucerdie0009PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0009PNG extends BitmapAsset {
}
}//package
Section 401
//AssetImporter_flyingsaucerdie0010PNG (AssetImporter_flyingsaucerdie0010PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0010PNG extends BitmapAsset {
}
}//package
Section 402
//AssetImporter_flyingsaucerdie0011PNG (AssetImporter_flyingsaucerdie0011PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0011PNG extends BitmapAsset {
}
}//package
Section 403
//AssetImporter_flyingsaucerdie0012PNG (AssetImporter_flyingsaucerdie0012PNG)
package {
import mx.core.*;
public class AssetImporter_flyingsaucerdie0012PNG extends BitmapAsset {
}
}//package
Section 404
//AssetImporter_glowbouncer_XML (AssetImporter_glowbouncer_XML)
package {
import mx.core.*;
public class AssetImporter_glowbouncer_XML extends ByteArrayAsset {
}
}//package
Section 405
//AssetImporter_glowingbouncer0000PNG (AssetImporter_glowingbouncer0000PNG)
package {
import mx.core.*;
public class AssetImporter_glowingbouncer0000PNG extends BitmapAsset {
}
}//package
Section 406
//AssetImporter_groundbg0000PNG (AssetImporter_groundbg0000PNG)
package {
import mx.core.*;
public class AssetImporter_groundbg0000PNG extends BitmapAsset {
}
}//package
Section 407
//AssetImporter_groundexplode0000PNG (AssetImporter_groundexplode0000PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0000PNG extends BitmapAsset {
}
}//package
Section 408
//AssetImporter_groundexplode0001PNG (AssetImporter_groundexplode0001PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0001PNG extends BitmapAsset {
}
}//package
Section 409
//AssetImporter_groundexplode0002PNG (AssetImporter_groundexplode0002PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0002PNG extends BitmapAsset {
}
}//package
Section 410
//AssetImporter_groundexplode0003PNG (AssetImporter_groundexplode0003PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0003PNG extends BitmapAsset {
}
}//package
Section 411
//AssetImporter_groundexplode0004PNG (AssetImporter_groundexplode0004PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0004PNG extends BitmapAsset {
}
}//package
Section 412
//AssetImporter_groundexplode0005PNG (AssetImporter_groundexplode0005PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0005PNG extends BitmapAsset {
}
}//package
Section 413
//AssetImporter_groundexplode0006PNG (AssetImporter_groundexplode0006PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0006PNG extends BitmapAsset {
}
}//package
Section 414
//AssetImporter_groundexplode0007PNG (AssetImporter_groundexplode0007PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0007PNG extends BitmapAsset {
}
}//package
Section 415
//AssetImporter_groundexplode0008PNG (AssetImporter_groundexplode0008PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0008PNG extends BitmapAsset {
}
}//package
Section 416
//AssetImporter_groundexplode0009PNG (AssetImporter_groundexplode0009PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0009PNG extends BitmapAsset {
}
}//package
Section 417
//AssetImporter_groundexplode0010PNG (AssetImporter_groundexplode0010PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0010PNG extends BitmapAsset {
}
}//package
Section 418
//AssetImporter_groundexplode0011PNG (AssetImporter_groundexplode0011PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0011PNG extends BitmapAsset {
}
}//package
Section 419
//AssetImporter_groundexplode0012PNG (AssetImporter_groundexplode0012PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0012PNG extends BitmapAsset {
}
}//package
Section 420
//AssetImporter_groundexplode0013PNG (AssetImporter_groundexplode0013PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0013PNG extends BitmapAsset {
}
}//package
Section 421
//AssetImporter_groundexplode0014PNG (AssetImporter_groundexplode0014PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0014PNG extends BitmapAsset {
}
}//package
Section 422
//AssetImporter_groundexplode0015PNG (AssetImporter_groundexplode0015PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0015PNG extends BitmapAsset {
}
}//package
Section 423
//AssetImporter_groundexplode0016PNG (AssetImporter_groundexplode0016PNG)
package {
import mx.core.*;
public class AssetImporter_groundexplode0016PNG extends BitmapAsset {
}
}//package
Section 424
//AssetImporter_healthrank0000PNG (AssetImporter_healthrank0000PNG)
package {
import mx.core.*;
public class AssetImporter_healthrank0000PNG extends BitmapAsset {
}
}//package
Section 425
//AssetImporter_instructions0000PNG (AssetImporter_instructions0000PNG)
package {
import mx.core.*;
public class AssetImporter_instructions0000PNG extends BitmapAsset {
}
}//package
Section 426
//AssetImporter_lasergroundbig_XML (AssetImporter_lasergroundbig_XML)
package {
import mx.core.*;
public class AssetImporter_lasergroundbig_XML extends ByteArrayAsset {
}
}//package
Section 427
//AssetImporter_lasermuzzlebig_XML (AssetImporter_lasermuzzlebig_XML)
package {
import mx.core.*;
public class AssetImporter_lasermuzzlebig_XML extends ByteArrayAsset {
}
}//package
Section 428
//AssetImporter_lazerground0000PNG (AssetImporter_lazerground0000PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0000PNG extends BitmapAsset {
}
}//package
Section 429
//AssetImporter_lazerground0001PNG (AssetImporter_lazerground0001PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0001PNG extends BitmapAsset {
}
}//package
Section 430
//AssetImporter_lazerground0002PNG (AssetImporter_lazerground0002PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0002PNG extends BitmapAsset {
}
}//package
Section 431
//AssetImporter_lazerground0003PNG (AssetImporter_lazerground0003PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0003PNG extends BitmapAsset {
}
}//package
Section 432
//AssetImporter_lazerground0004PNG (AssetImporter_lazerground0004PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0004PNG extends BitmapAsset {
}
}//package
Section 433
//AssetImporter_lazerground0005PNG (AssetImporter_lazerground0005PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0005PNG extends BitmapAsset {
}
}//package
Section 434
//AssetImporter_lazerground0006PNG (AssetImporter_lazerground0006PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0006PNG extends BitmapAsset {
}
}//package
Section 435
//AssetImporter_lazerground0007PNG (AssetImporter_lazerground0007PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0007PNG extends BitmapAsset {
}
}//package
Section 436
//AssetImporter_lazerground0008PNG (AssetImporter_lazerground0008PNG)
package {
import mx.core.*;
public class AssetImporter_lazerground0008PNG extends BitmapAsset {
}
}//package
Section 437
//AssetImporter_lazergroundbig0000 (AssetImporter_lazergroundbig0000)
package {
import mx.core.*;
public class AssetImporter_lazergroundbig0000 extends BitmapAsset {
}
}//package
Section 438
//AssetImporter_lazergroundbig0001 (AssetImporter_lazergroundbig0001)
package {
import mx.core.*;
public class AssetImporter_lazergroundbig0001 extends BitmapAsset {
}
}//package
Section 439
//AssetImporter_lazergroundbig0002 (AssetImporter_lazergroundbig0002)
package {
import mx.core.*;
public class AssetImporter_lazergroundbig0002 extends BitmapAsset {
}
}//package
Section 440
//AssetImporter_lazergroundbig0003 (AssetImporter_lazergroundbig0003)
package {
import mx.core.*;
public class AssetImporter_lazergroundbig0003 extends BitmapAsset {
}
}//package
Section 441
//AssetImporter_lazermuzzle0000PNG (AssetImporter_lazermuzzle0000PNG)
package {
import mx.core.*;
public class AssetImporter_lazermuzzle0000PNG extends BitmapAsset {
}
}//package
Section 442
//AssetImporter_lazermuzzlebig0000PNG (AssetImporter_lazermuzzlebig0000PNG)
package {
import mx.core.*;
public class AssetImporter_lazermuzzlebig0000PNG extends BitmapAsset {
}
}//package
Section 443
//AssetImporter_legionTTF (AssetImporter_legionTTF)
package {
import mx.core.*;
public class AssetImporter_legionTTF extends FontAsset {
}
}//package
Section 444
//AssetImporter_levels_XML (AssetImporter_levels_XML)
package {
import mx.core.*;
public class AssetImporter_levels_XML extends ByteArrayAsset {
}
}//package
Section 445
//AssetImporter_mine0000PNG (AssetImporter_mine0000PNG)
package {
import mx.core.*;
public class AssetImporter_mine0000PNG extends BitmapAsset {
}
}//package
Section 446
//AssetImporter_mine0001PNG (AssetImporter_mine0001PNG)
package {
import mx.core.*;
public class AssetImporter_mine0001PNG extends BitmapAsset {
}
}//package
Section 447
//AssetImporter_mine0002PNG (AssetImporter_mine0002PNG)
package {
import mx.core.*;
public class AssetImporter_mine0002PNG extends BitmapAsset {
}
}//package
Section 448
//AssetImporter_mine0003PNG (AssetImporter_mine0003PNG)
package {
import mx.core.*;
public class AssetImporter_mine0003PNG extends BitmapAsset {
}
}//package
Section 449
//AssetImporter_mine0004PNG (AssetImporter_mine0004PNG)
package {
import mx.core.*;
public class AssetImporter_mine0004PNG extends BitmapAsset {
}
}//package
Section 450
//AssetImporter_mine0005PNG (AssetImporter_mine0005PNG)
package {
import mx.core.*;
public class AssetImporter_mine0005PNG extends BitmapAsset {
}
}//package
Section 451
//AssetImporter_misslesalvo_XML (AssetImporter_misslesalvo_XML)
package {
import mx.core.*;
public class AssetImporter_misslesalvo_XML extends ByteArrayAsset {
}
}//package
Section 452
//AssetImporter_misslesalvo0000PNG (AssetImporter_misslesalvo0000PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0000PNG extends BitmapAsset {
}
}//package
Section 453
//AssetImporter_misslesalvo0001PNG (AssetImporter_misslesalvo0001PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0001PNG extends BitmapAsset {
}
}//package
Section 454
//AssetImporter_misslesalvo0002PNG (AssetImporter_misslesalvo0002PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0002PNG extends BitmapAsset {
}
}//package
Section 455
//AssetImporter_misslesalvo0003PNG (AssetImporter_misslesalvo0003PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0003PNG extends BitmapAsset {
}
}//package
Section 456
//AssetImporter_misslesalvo0004PNG (AssetImporter_misslesalvo0004PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0004PNG extends BitmapAsset {
}
}//package
Section 457
//AssetImporter_misslesalvo0005PNG (AssetImporter_misslesalvo0005PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0005PNG extends BitmapAsset {
}
}//package
Section 458
//AssetImporter_misslesalvo0006PNG (AssetImporter_misslesalvo0006PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0006PNG extends BitmapAsset {
}
}//package
Section 459
//AssetImporter_misslesalvo0007PNG (AssetImporter_misslesalvo0007PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0007PNG extends BitmapAsset {
}
}//package
Section 460
//AssetImporter_misslesalvo0008PNG (AssetImporter_misslesalvo0008PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0008PNG extends BitmapAsset {
}
}//package
Section 461
//AssetImporter_misslesalvo0009PNG (AssetImporter_misslesalvo0009PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0009PNG extends BitmapAsset {
}
}//package
Section 462
//AssetImporter_misslesalvo0010PNG (AssetImporter_misslesalvo0010PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0010PNG extends BitmapAsset {
}
}//package
Section 463
//AssetImporter_misslesalvo0011PNG (AssetImporter_misslesalvo0011PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0011PNG extends BitmapAsset {
}
}//package
Section 464
//AssetImporter_misslesalvo0012PNG (AssetImporter_misslesalvo0012PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0012PNG extends BitmapAsset {
}
}//package
Section 465
//AssetImporter_misslesalvo0013PNG (AssetImporter_misslesalvo0013PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0013PNG extends BitmapAsset {
}
}//package
Section 466
//AssetImporter_misslesalvo0014PNG (AssetImporter_misslesalvo0014PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0014PNG extends BitmapAsset {
}
}//package
Section 467
//AssetImporter_misslesalvo0015PNG (AssetImporter_misslesalvo0015PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0015PNG extends BitmapAsset {
}
}//package
Section 468
//AssetImporter_misslesalvo0016PNG (AssetImporter_misslesalvo0016PNG)
package {
import mx.core.*;
public class AssetImporter_misslesalvo0016PNG extends BitmapAsset {
}
}//package
Section 469
//AssetImporter_moregamesPNG (AssetImporter_moregamesPNG)
package {
import mx.core.*;
public class AssetImporter_moregamesPNG extends BitmapAsset {
}
}//package
Section 470
//AssetImporter_mothershipboss_XML (AssetImporter_mothershipboss_XML)
package {
import mx.core.*;
public class AssetImporter_mothershipboss_XML extends ByteArrayAsset {
}
}//package
Section 471
//AssetImporter_mus_stageloop0000 (AssetImporter_mus_stageloop0000)
package {
import mx.core.*;
public class AssetImporter_mus_stageloop0000 extends SoundAsset {
}
}//package
Section 472
//AssetImporter_mus_stageloop0001 (AssetImporter_mus_stageloop0001)
package {
import mx.core.*;
public class AssetImporter_mus_stageloop0001 extends SoundAsset {
}
}//package
Section 473
//AssetImporter_mus_stageloop0002 (AssetImporter_mus_stageloop0002)
package {
import mx.core.*;
public class AssetImporter_mus_stageloop0002 extends SoundAsset {
}
}//package
Section 474
//AssetImporter_mus_stageloop0003 (AssetImporter_mus_stageloop0003)
package {
import mx.core.*;
public class AssetImporter_mus_stageloop0003 extends SoundAsset {
}
}//package
Section 475
//AssetImporter_mus_titlescreen_0000 (AssetImporter_mus_titlescreen_0000)
package {
import mx.core.*;
public class AssetImporter_mus_titlescreen_0000 extends SoundAsset {
}
}//package
Section 476
//AssetImporter_muzzle0_XML (AssetImporter_muzzle0_XML)
package {
import mx.core.*;
public class AssetImporter_muzzle0_XML extends ByteArrayAsset {
}
}//package
Section 477
//AssetImporter_optionsbg_00PNG (AssetImporter_optionsbg_00PNG)
package {
import mx.core.*;
public class AssetImporter_optionsbg_00PNG extends BitmapAsset {
}
}//package
Section 478
//AssetImporter_pauseicon0000PNG (AssetImporter_pauseicon0000PNG)
package {
import mx.core.*;
public class AssetImporter_pauseicon0000PNG extends BitmapAsset {
}
}//package
Section 479
//AssetImporter_pickupa0000PNG (AssetImporter_pickupa0000PNG)
package {
import mx.core.*;
public class AssetImporter_pickupa0000PNG extends BitmapAsset {
}
}//package
Section 480
//AssetImporter_pickupa0001PNG (AssetImporter_pickupa0001PNG)
package {
import mx.core.*;
public class AssetImporter_pickupa0001PNG extends BitmapAsset {
}
}//package
Section 481
//AssetImporter_pickupa0002PNG (AssetImporter_pickupa0002PNG)
package {
import mx.core.*;
public class AssetImporter_pickupa0002PNG extends BitmapAsset {
}
}//package
Section 482
//AssetImporter_pickupa0003PNG (AssetImporter_pickupa0003PNG)
package {
import mx.core.*;
public class AssetImporter_pickupa0003PNG extends BitmapAsset {
}
}//package
Section 483
//AssetImporter_pickupb0000PNG (AssetImporter_pickupb0000PNG)
package {
import mx.core.*;
public class AssetImporter_pickupb0000PNG extends BitmapAsset {
}
}//package
Section 484
//AssetImporter_pickupb0001PNG (AssetImporter_pickupb0001PNG)
package {
import mx.core.*;
public class AssetImporter_pickupb0001PNG extends BitmapAsset {
}
}//package
Section 485
//AssetImporter_pickupb0002PNG (AssetImporter_pickupb0002PNG)
package {
import mx.core.*;
public class AssetImporter_pickupb0002PNG extends BitmapAsset {
}
}//package
Section 486
//AssetImporter_pickupb0003PNG (AssetImporter_pickupb0003PNG)
package {
import mx.core.*;
public class AssetImporter_pickupb0003PNG extends BitmapAsset {
}
}//package
Section 487
//AssetImporter_playerbeam0000PNG (AssetImporter_playerbeam0000PNG)
package {
import mx.core.*;
public class AssetImporter_playerbeam0000PNG extends BitmapAsset {
}
}//package
Section 488
//AssetImporter_playerbeam0001PNG (AssetImporter_playerbeam0001PNG)
package {
import mx.core.*;
public class AssetImporter_playerbeam0001PNG extends BitmapAsset {
}
}//package
Section 489
//AssetImporter_playerbeam0002PNG (AssetImporter_playerbeam0002PNG)
package {
import mx.core.*;
public class AssetImporter_playerbeam0002PNG extends BitmapAsset {
}
}//package
Section 490
//AssetImporter_playerbeam0003PNG (AssetImporter_playerbeam0003PNG)
package {
import mx.core.*;
public class AssetImporter_playerbeam0003PNG extends BitmapAsset {
}
}//package
Section 491
//AssetImporter_playerimpact0000PNG (AssetImporter_playerimpact0000PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0000PNG extends BitmapAsset {
}
}//package
Section 492
//AssetImporter_playerimpact0001PNG (AssetImporter_playerimpact0001PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0001PNG extends BitmapAsset {
}
}//package
Section 493
//AssetImporter_playerimpact0002PNG (AssetImporter_playerimpact0002PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0002PNG extends BitmapAsset {
}
}//package
Section 494
//AssetImporter_playerimpact0003PNG (AssetImporter_playerimpact0003PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0003PNG extends BitmapAsset {
}
}//package
Section 495
//AssetImporter_playerimpact0004PNG (AssetImporter_playerimpact0004PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0004PNG extends BitmapAsset {
}
}//package
Section 496
//AssetImporter_playerimpact0005PNG (AssetImporter_playerimpact0005PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0005PNG extends BitmapAsset {
}
}//package
Section 497
//AssetImporter_playerimpact0006PNG (AssetImporter_playerimpact0006PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0006PNG extends BitmapAsset {
}
}//package
Section 498
//AssetImporter_playerimpact0007PNG (AssetImporter_playerimpact0007PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0007PNG extends BitmapAsset {
}
}//package
Section 499
//AssetImporter_playerimpact0008PNG (AssetImporter_playerimpact0008PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0008PNG extends BitmapAsset {
}
}//package
Section 500
//AssetImporter_playerimpact0009PNG (AssetImporter_playerimpact0009PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0009PNG extends BitmapAsset {
}
}//package
Section 501
//AssetImporter_playerimpact0010PNG (AssetImporter_playerimpact0010PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0010PNG extends BitmapAsset {
}
}//package
Section 502
//AssetImporter_playerimpact0011PNG (AssetImporter_playerimpact0011PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0011PNG extends BitmapAsset {
}
}//package
Section 503
//AssetImporter_playerimpact0012PNG (AssetImporter_playerimpact0012PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0012PNG extends BitmapAsset {
}
}//package
Section 504
//AssetImporter_playerimpact0013PNG (AssetImporter_playerimpact0013PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0013PNG extends BitmapAsset {
}
}//package
Section 505
//AssetImporter_playerimpact0014PNG (AssetImporter_playerimpact0014PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0014PNG extends BitmapAsset {
}
}//package
Section 506
//AssetImporter_playerimpact0015PNG (AssetImporter_playerimpact0015PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0015PNG extends BitmapAsset {
}
}//package
Section 507
//AssetImporter_playerimpact0016PNG (AssetImporter_playerimpact0016PNG)
package {
import mx.core.*;
public class AssetImporter_playerimpact0016PNG extends BitmapAsset {
}
}//package
Section 508
//AssetImporter_playerLaser_XML (AssetImporter_playerLaser_XML)
package {
import mx.core.*;
public class AssetImporter_playerLaser_XML extends ByteArrayAsset {
}
}//package
Section 509
//AssetImporter_playermissleimpact_XML (AssetImporter_playermissleimpact_XML)
package {
import mx.core.*;
public class AssetImporter_playermissleimpact_XML extends ByteArrayAsset {
}
}//package
Section 510
//AssetImporter_playermuzzle0000PNG (AssetImporter_playermuzzle0000PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0000PNG extends BitmapAsset {
}
}//package
Section 511
//AssetImporter_playermuzzle0001PNG (AssetImporter_playermuzzle0001PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0001PNG extends BitmapAsset {
}
}//package
Section 512
//AssetImporter_playermuzzle0002PNG (AssetImporter_playermuzzle0002PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0002PNG extends BitmapAsset {
}
}//package
Section 513
//AssetImporter_playermuzzle0003PNG (AssetImporter_playermuzzle0003PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0003PNG extends BitmapAsset {
}
}//package
Section 514
//AssetImporter_playermuzzle0004PNG (AssetImporter_playermuzzle0004PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0004PNG extends BitmapAsset {
}
}//package
Section 515
//AssetImporter_playermuzzle0005PNG (AssetImporter_playermuzzle0005PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0005PNG extends BitmapAsset {
}
}//package
Section 516
//AssetImporter_playermuzzle0006PNG (AssetImporter_playermuzzle0006PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0006PNG extends BitmapAsset {
}
}//package
Section 517
//AssetImporter_playermuzzle0007PNG (AssetImporter_playermuzzle0007PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0007PNG extends BitmapAsset {
}
}//package
Section 518
//AssetImporter_playermuzzle0008PNG (AssetImporter_playermuzzle0008PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0008PNG extends BitmapAsset {
}
}//package
Section 519
//AssetImporter_playermuzzle0009PNG (AssetImporter_playermuzzle0009PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0009PNG extends BitmapAsset {
}
}//package
Section 520
//AssetImporter_playermuzzle0010PNG (AssetImporter_playermuzzle0010PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0010PNG extends BitmapAsset {
}
}//package
Section 521
//AssetImporter_playermuzzle0011PNG (AssetImporter_playermuzzle0011PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0011PNG extends BitmapAsset {
}
}//package
Section 522
//AssetImporter_playermuzzle0012PNG (AssetImporter_playermuzzle0012PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0012PNG extends BitmapAsset {
}
}//package
Section 523
//AssetImporter_playermuzzle0013PNG (AssetImporter_playermuzzle0013PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0013PNG extends BitmapAsset {
}
}//package
Section 524
//AssetImporter_playermuzzle0014PNG (AssetImporter_playermuzzle0014PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0014PNG extends BitmapAsset {
}
}//package
Section 525
//AssetImporter_playermuzzle0015PNG (AssetImporter_playermuzzle0015PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0015PNG extends BitmapAsset {
}
}//package
Section 526
//AssetImporter_playermuzzle0016PNG (AssetImporter_playermuzzle0016PNG)
package {
import mx.core.*;
public class AssetImporter_playermuzzle0016PNG extends BitmapAsset {
}
}//package
Section 527
//AssetImporter_plyrAnimations0000_XML (AssetImporter_plyrAnimations0000_XML)
package {
import mx.core.*;
public class AssetImporter_plyrAnimations0000_XML extends ByteArrayAsset {
}
}//package
Section 528
//AssetImporter_plyrShoot0000_XML (AssetImporter_plyrShoot0000_XML)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0000_XML extends ByteArrayAsset {
}
}//package
Section 529
//AssetImporter_plyrShoot0000PNG (AssetImporter_plyrShoot0000PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0000PNG extends BitmapAsset {
}
}//package
Section 530
//AssetImporter_plyrShoot0001PNG (AssetImporter_plyrShoot0001PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0001PNG extends BitmapAsset {
}
}//package
Section 531
//AssetImporter_plyrShoot0002PNG (AssetImporter_plyrShoot0002PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0002PNG extends BitmapAsset {
}
}//package
Section 532
//AssetImporter_plyrShoot0003PNG (AssetImporter_plyrShoot0003PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0003PNG extends BitmapAsset {
}
}//package
Section 533
//AssetImporter_plyrShoot0004PNG (AssetImporter_plyrShoot0004PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0004PNG extends BitmapAsset {
}
}//package
Section 534
//AssetImporter_plyrShoot0005PNG (AssetImporter_plyrShoot0005PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0005PNG extends BitmapAsset {
}
}//package
Section 535
//AssetImporter_plyrShoot0006PNG (AssetImporter_plyrShoot0006PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0006PNG extends BitmapAsset {
}
}//package
Section 536
//AssetImporter_plyrShoot0007PNG (AssetImporter_plyrShoot0007PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0007PNG extends BitmapAsset {
}
}//package
Section 537
//AssetImporter_plyrShoot0008PNG (AssetImporter_plyrShoot0008PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0008PNG extends BitmapAsset {
}
}//package
Section 538
//AssetImporter_plyrShoot0009PNG (AssetImporter_plyrShoot0009PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0009PNG extends BitmapAsset {
}
}//package
Section 539
//AssetImporter_plyrShoot0010PNG (AssetImporter_plyrShoot0010PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0010PNG extends BitmapAsset {
}
}//package
Section 540
//AssetImporter_plyrShoot0011PNG (AssetImporter_plyrShoot0011PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0011PNG extends BitmapAsset {
}
}//package
Section 541
//AssetImporter_plyrShoot0012PNG (AssetImporter_plyrShoot0012PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0012PNG extends BitmapAsset {
}
}//package
Section 542
//AssetImporter_plyrShoot0013PNG (AssetImporter_plyrShoot0013PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0013PNG extends BitmapAsset {
}
}//package
Section 543
//AssetImporter_plyrShoot0014PNG (AssetImporter_plyrShoot0014PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0014PNG extends BitmapAsset {
}
}//package
Section 544
//AssetImporter_plyrShoot0015PNG (AssetImporter_plyrShoot0015PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0015PNG extends BitmapAsset {
}
}//package
Section 545
//AssetImporter_plyrShoot0016PNG (AssetImporter_plyrShoot0016PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0016PNG extends BitmapAsset {
}
}//package
Section 546
//AssetImporter_plyrShoot0017PNG (AssetImporter_plyrShoot0017PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0017PNG extends BitmapAsset {
}
}//package
Section 547
//AssetImporter_plyrShoot0018PNG (AssetImporter_plyrShoot0018PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0018PNG extends BitmapAsset {
}
}//package
Section 548
//AssetImporter_plyrShoot0019PNG (AssetImporter_plyrShoot0019PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0019PNG extends BitmapAsset {
}
}//package
Section 549
//AssetImporter_plyrShoot0020PNG (AssetImporter_plyrShoot0020PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0020PNG extends BitmapAsset {
}
}//package
Section 550
//AssetImporter_plyrShoot0021PNG (AssetImporter_plyrShoot0021PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0021PNG extends BitmapAsset {
}
}//package
Section 551
//AssetImporter_plyrShoot0022PNG (AssetImporter_plyrShoot0022PNG)
package {
import mx.core.*;
public class AssetImporter_plyrShoot0022PNG extends BitmapAsset {
}
}//package
Section 552
//AssetImporter_plyrTankIdle0000PNG (AssetImporter_plyrTankIdle0000PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0000PNG extends BitmapAsset {
}
}//package
Section 553
//AssetImporter_plyrTankIdle0001PNG (AssetImporter_plyrTankIdle0001PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0001PNG extends BitmapAsset {
}
}//package
Section 554
//AssetImporter_plyrTankIdle0002PNG (AssetImporter_plyrTankIdle0002PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0002PNG extends BitmapAsset {
}
}//package
Section 555
//AssetImporter_plyrTankIdle0003PNG (AssetImporter_plyrTankIdle0003PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0003PNG extends BitmapAsset {
}
}//package
Section 556
//AssetImporter_plyrTankIdle0004PNG (AssetImporter_plyrTankIdle0004PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0004PNG extends BitmapAsset {
}
}//package
Section 557
//AssetImporter_plyrTankIdle0005PNG (AssetImporter_plyrTankIdle0005PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0005PNG extends BitmapAsset {
}
}//package
Section 558
//AssetImporter_plyrTankIdle0006PNG (AssetImporter_plyrTankIdle0006PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0006PNG extends BitmapAsset {
}
}//package
Section 559
//AssetImporter_plyrTankIdle0007PNG (AssetImporter_plyrTankIdle0007PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0007PNG extends BitmapAsset {
}
}//package
Section 560
//AssetImporter_plyrTankIdle0008PNG (AssetImporter_plyrTankIdle0008PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0008PNG extends BitmapAsset {
}
}//package
Section 561
//AssetImporter_plyrTankIdle0009PNG (AssetImporter_plyrTankIdle0009PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0009PNG extends BitmapAsset {
}
}//package
Section 562
//AssetImporter_plyrTankIdle0010PNG (AssetImporter_plyrTankIdle0010PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0010PNG extends BitmapAsset {
}
}//package
Section 563
//AssetImporter_plyrTankIdle0011PNG (AssetImporter_plyrTankIdle0011PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0011PNG extends BitmapAsset {
}
}//package
Section 564
//AssetImporter_plyrTankIdle0012PNG (AssetImporter_plyrTankIdle0012PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0012PNG extends BitmapAsset {
}
}//package
Section 565
//AssetImporter_plyrTankIdle0013PNG (AssetImporter_plyrTankIdle0013PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0013PNG extends BitmapAsset {
}
}//package
Section 566
//AssetImporter_plyrTankIdle0014PNG (AssetImporter_plyrTankIdle0014PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0014PNG extends BitmapAsset {
}
}//package
Section 567
//AssetImporter_plyrTankIdle0015PNG (AssetImporter_plyrTankIdle0015PNG)
package {
import mx.core.*;
public class AssetImporter_plyrTankIdle0015PNG extends BitmapAsset {
}
}//package
Section 568
//AssetImporter_plyrtankimpact0000PNG (AssetImporter_plyrtankimpact0000PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankimpact0000PNG extends BitmapAsset {
}
}//package
Section 569
//AssetImporter_plyrtankimpact0001PNG (AssetImporter_plyrtankimpact0001PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankimpact0001PNG extends BitmapAsset {
}
}//package
Section 570
//AssetImporter_plyrtankimpact0002PNG (AssetImporter_plyrtankimpact0002PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankimpact0002PNG extends BitmapAsset {
}
}//package
Section 571
//AssetImporter_plyrtankimpact0003PNG (AssetImporter_plyrtankimpact0003PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankimpact0003PNG extends BitmapAsset {
}
}//package
Section 572
//AssetImporter_plyrtankimpact0004PNG (AssetImporter_plyrtankimpact0004PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankimpact0004PNG extends BitmapAsset {
}
}//package
Section 573
//AssetImporter_plyrtankimpact0005PNG (AssetImporter_plyrtankimpact0005PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankimpact0005PNG extends BitmapAsset {
}
}//package
Section 574
//AssetImporter_plyrtankmoving0000PNG (AssetImporter_plyrtankmoving0000PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0000PNG extends BitmapAsset {
}
}//package
Section 575
//AssetImporter_plyrtankmoving0001PNG (AssetImporter_plyrtankmoving0001PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0001PNG extends BitmapAsset {
}
}//package
Section 576
//AssetImporter_plyrtankmoving0002PNG (AssetImporter_plyrtankmoving0002PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0002PNG extends BitmapAsset {
}
}//package
Section 577
//AssetImporter_plyrtankmoving0003PNG (AssetImporter_plyrtankmoving0003PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0003PNG extends BitmapAsset {
}
}//package
Section 578
//AssetImporter_plyrtankmoving0004PNG (AssetImporter_plyrtankmoving0004PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0004PNG extends BitmapAsset {
}
}//package
Section 579
//AssetImporter_plyrtankmoving0005PNG (AssetImporter_plyrtankmoving0005PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0005PNG extends BitmapAsset {
}
}//package
Section 580
//AssetImporter_plyrtankmoving0006PNG (AssetImporter_plyrtankmoving0006PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0006PNG extends BitmapAsset {
}
}//package
Section 581
//AssetImporter_plyrtankmoving0007PNG (AssetImporter_plyrtankmoving0007PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0007PNG extends BitmapAsset {
}
}//package
Section 582
//AssetImporter_plyrtankmoving0008PNG (AssetImporter_plyrtankmoving0008PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0008PNG extends BitmapAsset {
}
}//package
Section 583
//AssetImporter_plyrtankmoving0009PNG (AssetImporter_plyrtankmoving0009PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0009PNG extends BitmapAsset {
}
}//package
Section 584
//AssetImporter_plyrtankmoving0010PNG (AssetImporter_plyrtankmoving0010PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0010PNG extends BitmapAsset {
}
}//package
Section 585
//AssetImporter_plyrtankmoving0011PNG (AssetImporter_plyrtankmoving0011PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0011PNG extends BitmapAsset {
}
}//package
Section 586
//AssetImporter_plyrtankmoving0012PNG (AssetImporter_plyrtankmoving0012PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankmoving0012PNG extends BitmapAsset {
}
}//package
Section 587
//AssetImporter_plyrtankshoot0000PNG (AssetImporter_plyrtankshoot0000PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0000PNG extends BitmapAsset {
}
}//package
Section 588
//AssetImporter_plyrtankshoot0001PNG (AssetImporter_plyrtankshoot0001PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0001PNG extends BitmapAsset {
}
}//package
Section 589
//AssetImporter_plyrtankshoot0002PNG (AssetImporter_plyrtankshoot0002PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0002PNG extends BitmapAsset {
}
}//package
Section 590
//AssetImporter_plyrtankshoot0003PNG (AssetImporter_plyrtankshoot0003PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0003PNG extends BitmapAsset {
}
}//package
Section 591
//AssetImporter_plyrtankshoot0004PNG (AssetImporter_plyrtankshoot0004PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0004PNG extends BitmapAsset {
}
}//package
Section 592
//AssetImporter_plyrtankshoot0005PNG (AssetImporter_plyrtankshoot0005PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0005PNG extends BitmapAsset {
}
}//package
Section 593
//AssetImporter_plyrtankshoot0006PNG (AssetImporter_plyrtankshoot0006PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0006PNG extends BitmapAsset {
}
}//package
Section 594
//AssetImporter_plyrtankshoot0007PNG (AssetImporter_plyrtankshoot0007PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0007PNG extends BitmapAsset {
}
}//package
Section 595
//AssetImporter_plyrtankshoot0008PNG (AssetImporter_plyrtankshoot0008PNG)
package {
import mx.core.*;
public class AssetImporter_plyrtankshoot0008PNG extends BitmapAsset {
}
}//package
Section 596
//AssetImporter_powerupA_XML (AssetImporter_powerupA_XML)
package {
import mx.core.*;
public class AssetImporter_powerupA_XML extends ByteArrayAsset {
}
}//package
Section 597
//AssetImporter_scud_XML (AssetImporter_scud_XML)
package {
import mx.core.*;
public class AssetImporter_scud_XML extends ByteArrayAsset {
}
}//package
Section 598
//AssetImporter_scud0000PNG (AssetImporter_scud0000PNG)
package {
import mx.core.*;
public class AssetImporter_scud0000PNG extends BitmapAsset {
}
}//package
Section 599
//AssetImporter_scud0001PNG (AssetImporter_scud0001PNG)
package {
import mx.core.*;
public class AssetImporter_scud0001PNG extends BitmapAsset {
}
}//package
Section 600
//AssetImporter_scud0002PNG (AssetImporter_scud0002PNG)
package {
import mx.core.*;
public class AssetImporter_scud0002PNG extends BitmapAsset {
}
}//package
Section 601
//AssetImporter_scud0003PNG (AssetImporter_scud0003PNG)
package {
import mx.core.*;
public class AssetImporter_scud0003PNG extends BitmapAsset {
}
}//package
Section 602
//AssetImporter_scud0004PNG (AssetImporter_scud0004PNG)
package {
import mx.core.*;
public class AssetImporter_scud0004PNG extends BitmapAsset {
}
}//package
Section 603
//AssetImporter_scud0005PNG (AssetImporter_scud0005PNG)
package {
import mx.core.*;
public class AssetImporter_scud0005PNG extends BitmapAsset {
}
}//package
Section 604
//AssetImporter_scud0006PNG (AssetImporter_scud0006PNG)
package {
import mx.core.*;
public class AssetImporter_scud0006PNG extends BitmapAsset {
}
}//package
Section 605
//AssetImporter_scud0007PNG (AssetImporter_scud0007PNG)
package {
import mx.core.*;
public class AssetImporter_scud0007PNG extends BitmapAsset {
}
}//package
Section 606
//AssetImporter_scud0008PNG (AssetImporter_scud0008PNG)
package {
import mx.core.*;
public class AssetImporter_scud0008PNG extends BitmapAsset {
}
}//package
Section 607
//AssetImporter_scud0009PNG (AssetImporter_scud0009PNG)
package {
import mx.core.*;
public class AssetImporter_scud0009PNG extends BitmapAsset {
}
}//package
Section 608
//AssetImporter_scud0010PNG (AssetImporter_scud0010PNG)
package {
import mx.core.*;
public class AssetImporter_scud0010PNG extends BitmapAsset {
}
}//package
Section 609
//AssetImporter_scud0011PNG (AssetImporter_scud0011PNG)
package {
import mx.core.*;
public class AssetImporter_scud0011PNG extends BitmapAsset {
}
}//package
Section 610
//AssetImporter_scud0012PNG (AssetImporter_scud0012PNG)
package {
import mx.core.*;
public class AssetImporter_scud0012PNG extends BitmapAsset {
}
}//package
Section 611
//AssetImporter_scud0013PNG (AssetImporter_scud0013PNG)
package {
import mx.core.*;
public class AssetImporter_scud0013PNG extends BitmapAsset {
}
}//package
Section 612
//AssetImporter_scud0014PNG (AssetImporter_scud0014PNG)
package {
import mx.core.*;
public class AssetImporter_scud0014PNG extends BitmapAsset {
}
}//package
Section 613
//AssetImporter_scud0015PNG (AssetImporter_scud0015PNG)
package {
import mx.core.*;
public class AssetImporter_scud0015PNG extends BitmapAsset {
}
}//package
Section 614
//AssetImporter_scud0016PNG (AssetImporter_scud0016PNG)
package {
import mx.core.*;
public class AssetImporter_scud0016PNG extends BitmapAsset {
}
}//package
Section 615
//AssetImporter_sfx_bossambient0000 (AssetImporter_sfx_bossambient0000)
package {
import mx.core.*;
public class AssetImporter_sfx_bossambient0000 extends SoundAsset {
}
}//package
Section 616
//AssetImporter_sfx_enemyexplode_0000 (AssetImporter_sfx_enemyexplode_0000)
package {
import mx.core.*;
public class AssetImporter_sfx_enemyexplode_0000 extends SoundAsset {
}
}//package
Section 617
//AssetImporter_sfx_enemyexplode_0001 (AssetImporter_sfx_enemyexplode_0001)
package {
import mx.core.*;
public class AssetImporter_sfx_enemyexplode_0001 extends SoundAsset {
}
}//package
Section 618
//AssetImporter_sfx_enemyshoot_0000 (AssetImporter_sfx_enemyshoot_0000)
package {
import mx.core.*;
public class AssetImporter_sfx_enemyshoot_0000 extends SoundAsset {
}
}//package
Section 619
//AssetImporter_sfx_enemyshoot_0001 (AssetImporter_sfx_enemyshoot_0001)
package {
import mx.core.*;
public class AssetImporter_sfx_enemyshoot_0001 extends SoundAsset {
}
}//package
Section 620
//AssetImporter_sfx_escapepod0000 (AssetImporter_sfx_escapepod0000)
package {
import mx.core.*;
public class AssetImporter_sfx_escapepod0000 extends SoundAsset {
}
}//package
Section 621
//AssetImporter_sfx_lazerloop0000PNG (AssetImporter_sfx_lazerloop0000PNG)
package {
import mx.core.*;
public class AssetImporter_sfx_lazerloop0000PNG extends SoundAsset {
}
}//package
Section 622
//AssetImporter_sfx_mouseclick0000 (AssetImporter_sfx_mouseclick0000)
package {
import mx.core.*;
public class AssetImporter_sfx_mouseclick0000 extends SoundAsset {
}
}//package
Section 623
//AssetImporter_sfx_onfirealien0000 (AssetImporter_sfx_onfirealien0000)
package {
import mx.core.*;
public class AssetImporter_sfx_onfirealien0000 extends SoundAsset {
}
}//package
Section 624
//AssetImporter_sfx_playershoot_0000 (AssetImporter_sfx_playershoot_0000)
package {
import mx.core.*;
public class AssetImporter_sfx_playershoot_0000 extends SoundAsset {
}
}//package
Section 625
//AssetImporter_sfx_tank0000 (AssetImporter_sfx_tank0000)
package {
import mx.core.*;
public class AssetImporter_sfx_tank0000 extends SoundAsset {
}
}//package
Section 626
//AssetImporter_shrapnel_XML (AssetImporter_shrapnel_XML)
package {
import mx.core.*;
public class AssetImporter_shrapnel_XML extends ByteArrayAsset {
}
}//package
Section 627
//AssetImporter_shrapnel0000PNG (AssetImporter_shrapnel0000PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0000PNG extends BitmapAsset {
}
}//package
Section 628
//AssetImporter_shrapnel0001PNG (AssetImporter_shrapnel0001PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0001PNG extends BitmapAsset {
}
}//package
Section 629
//AssetImporter_shrapnel0002PNG (AssetImporter_shrapnel0002PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0002PNG extends BitmapAsset {
}
}//package
Section 630
//AssetImporter_shrapnel0003PNG (AssetImporter_shrapnel0003PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0003PNG extends BitmapAsset {
}
}//package
Section 631
//AssetImporter_shrapnel0004PNG (AssetImporter_shrapnel0004PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0004PNG extends BitmapAsset {
}
}//package
Section 632
//AssetImporter_shrapnel0005PNG (AssetImporter_shrapnel0005PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0005PNG extends BitmapAsset {
}
}//package
Section 633
//AssetImporter_shrapnel0006PNG (AssetImporter_shrapnel0006PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0006PNG extends BitmapAsset {
}
}//package
Section 634
//AssetImporter_shrapnel0007PNG (AssetImporter_shrapnel0007PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0007PNG extends BitmapAsset {
}
}//package
Section 635
//AssetImporter_shrapnel0008PNG (AssetImporter_shrapnel0008PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0008PNG extends BitmapAsset {
}
}//package
Section 636
//AssetImporter_shrapnel0009PNG (AssetImporter_shrapnel0009PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0009PNG extends BitmapAsset {
}
}//package
Section 637
//AssetImporter_shrapnel0010PNG (AssetImporter_shrapnel0010PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0010PNG extends BitmapAsset {
}
}//package
Section 638
//AssetImporter_shrapnel0011PNG (AssetImporter_shrapnel0011PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0011PNG extends BitmapAsset {
}
}//package
Section 639
//AssetImporter_shrapnel0012PNG (AssetImporter_shrapnel0012PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0012PNG extends BitmapAsset {
}
}//package
Section 640
//AssetImporter_shrapnel0013PNG (AssetImporter_shrapnel0013PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0013PNG extends BitmapAsset {
}
}//package
Section 641
//AssetImporter_shrapnel0014PNG (AssetImporter_shrapnel0014PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0014PNG extends BitmapAsset {
}
}//package
Section 642
//AssetImporter_shrapnel0015PNG (AssetImporter_shrapnel0015PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0015PNG extends BitmapAsset {
}
}//package
Section 643
//AssetImporter_shrapnel0016PNG (AssetImporter_shrapnel0016PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnel0016PNG extends BitmapAsset {
}
}//package
Section 644
//AssetImporter_shrapnelA0000PNG (AssetImporter_shrapnelA0000PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0000PNG extends BitmapAsset {
}
}//package
Section 645
//AssetImporter_shrapnelA0001PNG (AssetImporter_shrapnelA0001PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0001PNG extends BitmapAsset {
}
}//package
Section 646
//AssetImporter_shrapnelA0002PNG (AssetImporter_shrapnelA0002PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0002PNG extends BitmapAsset {
}
}//package
Section 647
//AssetImporter_shrapnelA0003PNG (AssetImporter_shrapnelA0003PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0003PNG extends BitmapAsset {
}
}//package
Section 648
//AssetImporter_shrapnelA0004PNG (AssetImporter_shrapnelA0004PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0004PNG extends BitmapAsset {
}
}//package
Section 649
//AssetImporter_shrapnelA0005PNG (AssetImporter_shrapnelA0005PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0005PNG extends BitmapAsset {
}
}//package
Section 650
//AssetImporter_shrapnelA0006PNG (AssetImporter_shrapnelA0006PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0006PNG extends BitmapAsset {
}
}//package
Section 651
//AssetImporter_shrapnelA0007PNG (AssetImporter_shrapnelA0007PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0007PNG extends BitmapAsset {
}
}//package
Section 652
//AssetImporter_shrapnelA0008PNG (AssetImporter_shrapnelA0008PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0008PNG extends BitmapAsset {
}
}//package
Section 653
//AssetImporter_shrapnelA0009PNG (AssetImporter_shrapnelA0009PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0009PNG extends BitmapAsset {
}
}//package
Section 654
//AssetImporter_shrapnelA0010PNG (AssetImporter_shrapnelA0010PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0010PNG extends BitmapAsset {
}
}//package
Section 655
//AssetImporter_shrapnelA0011PNG (AssetImporter_shrapnelA0011PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0011PNG extends BitmapAsset {
}
}//package
Section 656
//AssetImporter_shrapnelA0012PNG (AssetImporter_shrapnelA0012PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0012PNG extends BitmapAsset {
}
}//package
Section 657
//AssetImporter_shrapnelA0013PNG (AssetImporter_shrapnelA0013PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0013PNG extends BitmapAsset {
}
}//package
Section 658
//AssetImporter_shrapnelA0014PNG (AssetImporter_shrapnelA0014PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0014PNG extends BitmapAsset {
}
}//package
Section 659
//AssetImporter_shrapnelA0015PNG (AssetImporter_shrapnelA0015PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0015PNG extends BitmapAsset {
}
}//package
Section 660
//AssetImporter_shrapnelA0016PNG (AssetImporter_shrapnelA0016PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelA0016PNG extends BitmapAsset {
}
}//package
Section 661
//AssetImporter_shrapnelB0000PNG (AssetImporter_shrapnelB0000PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0000PNG extends BitmapAsset {
}
}//package
Section 662
//AssetImporter_shrapnelB0001PNG (AssetImporter_shrapnelB0001PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0001PNG extends BitmapAsset {
}
}//package
Section 663
//AssetImporter_shrapnelB0002PNG (AssetImporter_shrapnelB0002PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0002PNG extends BitmapAsset {
}
}//package
Section 664
//AssetImporter_shrapnelB0003PNG (AssetImporter_shrapnelB0003PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0003PNG extends BitmapAsset {
}
}//package
Section 665
//AssetImporter_shrapnelB0004PNG (AssetImporter_shrapnelB0004PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0004PNG extends BitmapAsset {
}
}//package
Section 666
//AssetImporter_shrapnelB0005PNG (AssetImporter_shrapnelB0005PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0005PNG extends BitmapAsset {
}
}//package
Section 667
//AssetImporter_shrapnelB0006PNG (AssetImporter_shrapnelB0006PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0006PNG extends BitmapAsset {
}
}//package
Section 668
//AssetImporter_shrapnelB0007PNG (AssetImporter_shrapnelB0007PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0007PNG extends BitmapAsset {
}
}//package
Section 669
//AssetImporter_shrapnelB0008PNG (AssetImporter_shrapnelB0008PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0008PNG extends BitmapAsset {
}
}//package
Section 670
//AssetImporter_shrapnelB0009PNG (AssetImporter_shrapnelB0009PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0009PNG extends BitmapAsset {
}
}//package
Section 671
//AssetImporter_shrapnelB0010PNG (AssetImporter_shrapnelB0010PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0010PNG extends BitmapAsset {
}
}//package
Section 672
//AssetImporter_shrapnelB0011PNG (AssetImporter_shrapnelB0011PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0011PNG extends BitmapAsset {
}
}//package
Section 673
//AssetImporter_shrapnelB0012PNG (AssetImporter_shrapnelB0012PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0012PNG extends BitmapAsset {
}
}//package
Section 674
//AssetImporter_shrapnelB0013PNG (AssetImporter_shrapnelB0013PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0013PNG extends BitmapAsset {
}
}//package
Section 675
//AssetImporter_shrapnelB0014PNG (AssetImporter_shrapnelB0014PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0014PNG extends BitmapAsset {
}
}//package
Section 676
//AssetImporter_shrapnelB0015PNG (AssetImporter_shrapnelB0015PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0015PNG extends BitmapAsset {
}
}//package
Section 677
//AssetImporter_shrapnelB0016PNG (AssetImporter_shrapnelB0016PNG)
package {
import mx.core.*;
public class AssetImporter_shrapnelB0016PNG extends BitmapAsset {
}
}//package
Section 678
//AssetImporter_smasherboss_XML (AssetImporter_smasherboss_XML)
package {
import mx.core.*;
public class AssetImporter_smasherboss_XML extends ByteArrayAsset {
}
}//package
Section 679
//AssetImporter_soundofficon0000PNG (AssetImporter_soundofficon0000PNG)
package {
import mx.core.*;
public class AssetImporter_soundofficon0000PNG extends BitmapAsset {
}
}//package
Section 680
//AssetImporter_soundonicon0000PNG (AssetImporter_soundonicon0000PNG)
package {
import mx.core.*;
public class AssetImporter_soundonicon0000PNG extends BitmapAsset {
}
}//package
Section 681
//AssetImporter_special0000PNG (AssetImporter_special0000PNG)
package {
import mx.core.*;
public class AssetImporter_special0000PNG extends BitmapAsset {
}
}//package
Section 682
//AssetImporter_special0001PNG (AssetImporter_special0001PNG)
package {
import mx.core.*;
public class AssetImporter_special0001PNG extends BitmapAsset {
}
}//package
Section 683
//AssetImporter_special0002PNG (AssetImporter_special0002PNG)
package {
import mx.core.*;
public class AssetImporter_special0002PNG extends BitmapAsset {
}
}//package
Section 684
//AssetImporter_special0003PNG (AssetImporter_special0003PNG)
package {
import mx.core.*;
public class AssetImporter_special0003PNG extends BitmapAsset {
}
}//package
Section 685
//AssetImporter_special0004PNG (AssetImporter_special0004PNG)
package {
import mx.core.*;
public class AssetImporter_special0004PNG extends BitmapAsset {
}
}//package
Section 686
//AssetImporter_specialship_XML (AssetImporter_specialship_XML)
package {
import mx.core.*;
public class AssetImporter_specialship_XML extends ByteArrayAsset {
}
}//package
Section 687
//AssetImporter_tankrank0 (AssetImporter_tankrank0)
package {
import mx.core.*;
public class AssetImporter_tankrank0 extends BitmapAsset {
}
}//package
Section 688
//AssetImporter_tankrankback0 (AssetImporter_tankrankback0)
package {
import mx.core.*;
public class AssetImporter_tankrankback0 extends BitmapAsset {
}
}//package
Section 689
//AssetImporter_testBG0000PNG (AssetImporter_testBG0000PNG)
package {
import mx.core.*;
public class AssetImporter_testBG0000PNG extends BitmapAsset {
}
}//package
Section 690
//AssetImporter_testBG0001PNG (AssetImporter_testBG0001PNG)
package {
import mx.core.*;
public class AssetImporter_testBG0001PNG extends BitmapAsset {
}
}//package
Section 691
//AssetImporter_testBG0002PNG (AssetImporter_testBG0002PNG)
package {
import mx.core.*;
public class AssetImporter_testBG0002PNG extends BitmapAsset {
}
}//package
Section 692
//AssetImporter_titlemenubg_00PNG (AssetImporter_titlemenubg_00PNG)
package {
import mx.core.*;
public class AssetImporter_titlemenubg_00PNG extends BitmapAsset {
}
}//package
Section 693
//AssetImporter_toadtrip0000PNG (AssetImporter_toadtrip0000PNG)
package {
import mx.core.*;
public class AssetImporter_toadtrip0000PNG extends BitmapAsset {
}
}//package
Section 694
//AssetImporter_uipanelPNG (AssetImporter_uipanelPNG)
package {
import mx.core.*;
public class AssetImporter_uipanelPNG extends BitmapAsset {
}
}//package
Section 695
//AssetImporter_uirank1PNG (AssetImporter_uirank1PNG)
package {
import mx.core.*;
public class AssetImporter_uirank1PNG extends BitmapAsset {
}
}//package
Section 696
//AssetImporter_uirank2PNG (AssetImporter_uirank2PNG)
package {
import mx.core.*;
public class AssetImporter_uirank2PNG extends BitmapAsset {
}
}//package
Section 697
//AssetImporter_uirank3PNG (AssetImporter_uirank3PNG)
package {
import mx.core.*;
public class AssetImporter_uirank3PNG extends BitmapAsset {
}
}//package
Section 698
//AssetImporter_uirank4PNG (AssetImporter_uirank4PNG)
package {
import mx.core.*;
public class AssetImporter_uirank4PNG extends BitmapAsset {
}
}//package
Section 699
//AssetImporter_uirank5PNG (AssetImporter_uirank5PNG)
package {
import mx.core.*;
public class AssetImporter_uirank5PNG extends BitmapAsset {
}
}//package
Section 700
//AssetImporter_upgradeA0000PNG (AssetImporter_upgradeA0000PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0000PNG extends BitmapAsset {
}
}//package
Section 701
//AssetImporter_upgradeA0001PNG (AssetImporter_upgradeA0001PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0001PNG extends BitmapAsset {
}
}//package
Section 702
//AssetImporter_upgradeA0002PNG (AssetImporter_upgradeA0002PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0002PNG extends BitmapAsset {
}
}//package
Section 703
//AssetImporter_upgradeA0003PNG (AssetImporter_upgradeA0003PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0003PNG extends BitmapAsset {
}
}//package
Section 704
//AssetImporter_upgradeA0004PNG (AssetImporter_upgradeA0004PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0004PNG extends BitmapAsset {
}
}//package
Section 705
//AssetImporter_upgradeA0005PNG (AssetImporter_upgradeA0005PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0005PNG extends BitmapAsset {
}
}//package
Section 706
//AssetImporter_upgradeA0006PNG (AssetImporter_upgradeA0006PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0006PNG extends BitmapAsset {
}
}//package
Section 707
//AssetImporter_upgradeA0007PNG (AssetImporter_upgradeA0007PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0007PNG extends BitmapAsset {
}
}//package
Section 708
//AssetImporter_upgradeA0008PNG (AssetImporter_upgradeA0008PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0008PNG extends BitmapAsset {
}
}//package
Section 709
//AssetImporter_upgradeA0009PNG (AssetImporter_upgradeA0009PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0009PNG extends BitmapAsset {
}
}//package
Section 710
//AssetImporter_upgradeA0010PNG (AssetImporter_upgradeA0010PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0010PNG extends BitmapAsset {
}
}//package
Section 711
//AssetImporter_upgradeA0011PNG (AssetImporter_upgradeA0011PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0011PNG extends BitmapAsset {
}
}//package
Section 712
//AssetImporter_upgradeA0012PNG (AssetImporter_upgradeA0012PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0012PNG extends BitmapAsset {
}
}//package
Section 713
//AssetImporter_upgradeA0013PNG (AssetImporter_upgradeA0013PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0013PNG extends BitmapAsset {
}
}//package
Section 714
//AssetImporter_upgradeA0014PNG (AssetImporter_upgradeA0014PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0014PNG extends BitmapAsset {
}
}//package
Section 715
//AssetImporter_upgradeA0015PNG (AssetImporter_upgradeA0015PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0015PNG extends BitmapAsset {
}
}//package
Section 716
//AssetImporter_upgradeA0016PNG (AssetImporter_upgradeA0016PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0016PNG extends BitmapAsset {
}
}//package
Section 717
//AssetImporter_upgradeA0017PNG (AssetImporter_upgradeA0017PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0017PNG extends BitmapAsset {
}
}//package
Section 718
//AssetImporter_upgradeA0018PNG (AssetImporter_upgradeA0018PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0018PNG extends BitmapAsset {
}
}//package
Section 719
//AssetImporter_upgradeA0019PNG (AssetImporter_upgradeA0019PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0019PNG extends BitmapAsset {
}
}//package
Section 720
//AssetImporter_upgradeA0020PNG (AssetImporter_upgradeA0020PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0020PNG extends BitmapAsset {
}
}//package
Section 721
//AssetImporter_upgradeA0021PNG (AssetImporter_upgradeA0021PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0021PNG extends BitmapAsset {
}
}//package
Section 722
//AssetImporter_upgradeA0022PNG (AssetImporter_upgradeA0022PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0022PNG extends BitmapAsset {
}
}//package
Section 723
//AssetImporter_upgradeA0023PNG (AssetImporter_upgradeA0023PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0023PNG extends BitmapAsset {
}
}//package
Section 724
//AssetImporter_upgradeA0024PNG (AssetImporter_upgradeA0024PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0024PNG extends BitmapAsset {
}
}//package
Section 725
//AssetImporter_upgradeA0025PNG (AssetImporter_upgradeA0025PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0025PNG extends BitmapAsset {
}
}//package
Section 726
//AssetImporter_upgradeA0026PNG (AssetImporter_upgradeA0026PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0026PNG extends BitmapAsset {
}
}//package
Section 727
//AssetImporter_upgradeA0027PNG (AssetImporter_upgradeA0027PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0027PNG extends BitmapAsset {
}
}//package
Section 728
//AssetImporter_upgradeA0028PNG (AssetImporter_upgradeA0028PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0028PNG extends BitmapAsset {
}
}//package
Section 729
//AssetImporter_upgradeA0029PNG (AssetImporter_upgradeA0029PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0029PNG extends BitmapAsset {
}
}//package
Section 730
//AssetImporter_upgradeA0030PNG (AssetImporter_upgradeA0030PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0030PNG extends BitmapAsset {
}
}//package
Section 731
//AssetImporter_upgradeA0031PNG (AssetImporter_upgradeA0031PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0031PNG extends BitmapAsset {
}
}//package
Section 732
//AssetImporter_upgradeA0032PNG (AssetImporter_upgradeA0032PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeA0032PNG extends BitmapAsset {
}
}//package
Section 733
//AssetImporter_upgradeB0000PNG (AssetImporter_upgradeB0000PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0000PNG extends BitmapAsset {
}
}//package
Section 734
//AssetImporter_upgradeB0001PNG (AssetImporter_upgradeB0001PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0001PNG extends BitmapAsset {
}
}//package
Section 735
//AssetImporter_upgradeB0002PNG (AssetImporter_upgradeB0002PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0002PNG extends BitmapAsset {
}
}//package
Section 736
//AssetImporter_upgradeB0003PNG (AssetImporter_upgradeB0003PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0003PNG extends BitmapAsset {
}
}//package
Section 737
//AssetImporter_upgradeB0004PNG (AssetImporter_upgradeB0004PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0004PNG extends BitmapAsset {
}
}//package
Section 738
//AssetImporter_upgradeB0005PNG (AssetImporter_upgradeB0005PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0005PNG extends BitmapAsset {
}
}//package
Section 739
//AssetImporter_upgradeB0006PNG (AssetImporter_upgradeB0006PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0006PNG extends BitmapAsset {
}
}//package
Section 740
//AssetImporter_upgradeB0007PNG (AssetImporter_upgradeB0007PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0007PNG extends BitmapAsset {
}
}//package
Section 741
//AssetImporter_upgradeB0008PNG (AssetImporter_upgradeB0008PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0008PNG extends BitmapAsset {
}
}//package
Section 742
//AssetImporter_upgradeB0009PNG (AssetImporter_upgradeB0009PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0009PNG extends BitmapAsset {
}
}//package
Section 743
//AssetImporter_upgradeB0010PNG (AssetImporter_upgradeB0010PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0010PNG extends BitmapAsset {
}
}//package
Section 744
//AssetImporter_upgradeB0011PNG (AssetImporter_upgradeB0011PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0011PNG extends BitmapAsset {
}
}//package
Section 745
//AssetImporter_upgradeB0012PNG (AssetImporter_upgradeB0012PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0012PNG extends BitmapAsset {
}
}//package
Section 746
//AssetImporter_upgradeB0013PNG (AssetImporter_upgradeB0013PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0013PNG extends BitmapAsset {
}
}//package
Section 747
//AssetImporter_upgradeB0014PNG (AssetImporter_upgradeB0014PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0014PNG extends BitmapAsset {
}
}//package
Section 748
//AssetImporter_upgradeB0015PNG (AssetImporter_upgradeB0015PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0015PNG extends BitmapAsset {
}
}//package
Section 749
//AssetImporter_upgradeB0016PNG (AssetImporter_upgradeB0016PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0016PNG extends BitmapAsset {
}
}//package
Section 750
//AssetImporter_upgradeB0017PNG (AssetImporter_upgradeB0017PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0017PNG extends BitmapAsset {
}
}//package
Section 751
//AssetImporter_upgradeB0018PNG (AssetImporter_upgradeB0018PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0018PNG extends BitmapAsset {
}
}//package
Section 752
//AssetImporter_upgradeB0019PNG (AssetImporter_upgradeB0019PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0019PNG extends BitmapAsset {
}
}//package
Section 753
//AssetImporter_upgradeB0020PNG (AssetImporter_upgradeB0020PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0020PNG extends BitmapAsset {
}
}//package
Section 754
//AssetImporter_upgradeB0021PNG (AssetImporter_upgradeB0021PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0021PNG extends BitmapAsset {
}
}//package
Section 755
//AssetImporter_upgradeB0022PNG (AssetImporter_upgradeB0022PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0022PNG extends BitmapAsset {
}
}//package
Section 756
//AssetImporter_upgradeB0023PNG (AssetImporter_upgradeB0023PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0023PNG extends BitmapAsset {
}
}//package
Section 757
//AssetImporter_upgradeB0024PNG (AssetImporter_upgradeB0024PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0024PNG extends BitmapAsset {
}
}//package
Section 758
//AssetImporter_upgradeB0025PNG (AssetImporter_upgradeB0025PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0025PNG extends BitmapAsset {
}
}//package
Section 759
//AssetImporter_upgradeB0026PNG (AssetImporter_upgradeB0026PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0026PNG extends BitmapAsset {
}
}//package
Section 760
//AssetImporter_upgradeB0027PNG (AssetImporter_upgradeB0027PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0027PNG extends BitmapAsset {
}
}//package
Section 761
//AssetImporter_upgradeB0028PNG (AssetImporter_upgradeB0028PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0028PNG extends BitmapAsset {
}
}//package
Section 762
//AssetImporter_upgradeB0029PNG (AssetImporter_upgradeB0029PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0029PNG extends BitmapAsset {
}
}//package
Section 763
//AssetImporter_upgradeB0030PNG (AssetImporter_upgradeB0030PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0030PNG extends BitmapAsset {
}
}//package
Section 764
//AssetImporter_upgradeB0031PNG (AssetImporter_upgradeB0031PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0031PNG extends BitmapAsset {
}
}//package
Section 765
//AssetImporter_upgradeB0032PNG (AssetImporter_upgradeB0032PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeB0032PNG extends BitmapAsset {
}
}//package
Section 766
//AssetImporter_upgradeC0000PNG (AssetImporter_upgradeC0000PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0000PNG extends BitmapAsset {
}
}//package
Section 767
//AssetImporter_upgradeC0001PNG (AssetImporter_upgradeC0001PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0001PNG extends BitmapAsset {
}
}//package
Section 768
//AssetImporter_upgradeC0002PNG (AssetImporter_upgradeC0002PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0002PNG extends BitmapAsset {
}
}//package
Section 769
//AssetImporter_upgradeC0003PNG (AssetImporter_upgradeC0003PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0003PNG extends BitmapAsset {
}
}//package
Section 770
//AssetImporter_upgradeC0004PNG (AssetImporter_upgradeC0004PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0004PNG extends BitmapAsset {
}
}//package
Section 771
//AssetImporter_upgradeC0005PNG (AssetImporter_upgradeC0005PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0005PNG extends BitmapAsset {
}
}//package
Section 772
//AssetImporter_upgradeC0006PNG (AssetImporter_upgradeC0006PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0006PNG extends BitmapAsset {
}
}//package
Section 773
//AssetImporter_upgradeC0007PNG (AssetImporter_upgradeC0007PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0007PNG extends BitmapAsset {
}
}//package
Section 774
//AssetImporter_upgradeC0008PNG (AssetImporter_upgradeC0008PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0008PNG extends BitmapAsset {
}
}//package
Section 775
//AssetImporter_upgradeC0009PNG (AssetImporter_upgradeC0009PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0009PNG extends BitmapAsset {
}
}//package
Section 776
//AssetImporter_upgradeC0010PNG (AssetImporter_upgradeC0010PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0010PNG extends BitmapAsset {
}
}//package
Section 777
//AssetImporter_upgradeC0011PNG (AssetImporter_upgradeC0011PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0011PNG extends BitmapAsset {
}
}//package
Section 778
//AssetImporter_upgradeC0012PNG (AssetImporter_upgradeC0012PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0012PNG extends BitmapAsset {
}
}//package
Section 779
//AssetImporter_upgradeC0013PNG (AssetImporter_upgradeC0013PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0013PNG extends BitmapAsset {
}
}//package
Section 780
//AssetImporter_upgradeC0014PNG (AssetImporter_upgradeC0014PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0014PNG extends BitmapAsset {
}
}//package
Section 781
//AssetImporter_upgradeC0015PNG (AssetImporter_upgradeC0015PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0015PNG extends BitmapAsset {
}
}//package
Section 782
//AssetImporter_upgradeC0016PNG (AssetImporter_upgradeC0016PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0016PNG extends BitmapAsset {
}
}//package
Section 783
//AssetImporter_upgradeC0017PNG (AssetImporter_upgradeC0017PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0017PNG extends BitmapAsset {
}
}//package
Section 784
//AssetImporter_upgradeC0018PNG (AssetImporter_upgradeC0018PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0018PNG extends BitmapAsset {
}
}//package
Section 785
//AssetImporter_upgradeC0019PNG (AssetImporter_upgradeC0019PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0019PNG extends BitmapAsset {
}
}//package
Section 786
//AssetImporter_upgradeC0020PNG (AssetImporter_upgradeC0020PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0020PNG extends BitmapAsset {
}
}//package
Section 787
//AssetImporter_upgradeC0021PNG (AssetImporter_upgradeC0021PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0021PNG extends BitmapAsset {
}
}//package
Section 788
//AssetImporter_upgradeC0022PNG (AssetImporter_upgradeC0022PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0022PNG extends BitmapAsset {
}
}//package
Section 789
//AssetImporter_upgradeC0023PNG (AssetImporter_upgradeC0023PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0023PNG extends BitmapAsset {
}
}//package
Section 790
//AssetImporter_upgradeC0024PNG (AssetImporter_upgradeC0024PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0024PNG extends BitmapAsset {
}
}//package
Section 791
//AssetImporter_upgradeC0025PNG (AssetImporter_upgradeC0025PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0025PNG extends BitmapAsset {
}
}//package
Section 792
//AssetImporter_upgradeC0026PNG (AssetImporter_upgradeC0026PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0026PNG extends BitmapAsset {
}
}//package
Section 793
//AssetImporter_upgradeC0027PNG (AssetImporter_upgradeC0027PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0027PNG extends BitmapAsset {
}
}//package
Section 794
//AssetImporter_upgradeC0028PNG (AssetImporter_upgradeC0028PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0028PNG extends BitmapAsset {
}
}//package
Section 795
//AssetImporter_upgradeC0029PNG (AssetImporter_upgradeC0029PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0029PNG extends BitmapAsset {
}
}//package
Section 796
//AssetImporter_upgradeC0030PNG (AssetImporter_upgradeC0030PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0030PNG extends BitmapAsset {
}
}//package
Section 797
//AssetImporter_upgradeC0031PNG (AssetImporter_upgradeC0031PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0031PNG extends BitmapAsset {
}
}//package
Section 798
//AssetImporter_upgradeC0032PNG (AssetImporter_upgradeC0032PNG)
package {
import mx.core.*;
public class AssetImporter_upgradeC0032PNG extends BitmapAsset {
}
}//package
Section 799
//AssetImporter_walkerBoss_XML (AssetImporter_walkerBoss_XML)
package {
import mx.core.*;
public class AssetImporter_walkerBoss_XML extends ByteArrayAsset {
}
}//package
Section 800
//AssetImporter_yourwebsite0000PNG (AssetImporter_yourwebsite0000PNG)
package {
import mx.core.*;
public class AssetImporter_yourwebsite0000PNG extends BitmapAsset {
}
}//package
Section 801
//HUD (HUD)
package {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import flash.text.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
public class HUD extends SceneObject {
private var _soundonIcon:BitmapSprite;// = null
private var _armourImage:BitmapSprite;// = null
private var _cashHeading:TextField;// = null
private var _pauseIcon:BitmapSprite;// = null
private var _headingFormat:TextFormat;// = null
private var _textFormat:TextFormat;// = null
private var _scoreField:TextField;// = null
private var _multX:TextField;// = null
private var _textFieldArray:Array;
private var _pointsHeading:TextField;// = null
private var _moneyField:TextField;// = null
private var _bitmapSprite:BitmapSprite;// = null
private var soundSprite:Sprite;
private var sprite:Sprite;
private var _armourTags:Array;
public var _plyrObject:PlayerObject;// = null
private var _multiplier:TextField;// = null
private var _multFormat:TextFormat;// = null
private var _armourHeading:TextField;// = null
private var _soundoffIcon:BitmapSprite;// = null
public function HUD(_arg1:Scene, _arg2:PlayerObject){
_textFieldArray = [];
_armourTags = [];
sprite = new Sprite();
soundSprite = new Sprite();
super(_arg1, true);
layer = 1;
_plyrObject = _arg2;
this.x = 0;
this.y = 0;
initTemplates();
setupDisplayUI();
setupControlIcons();
}
private function updateArmourDisplay():void{
var _local3:BitmapSprite;
if (!_plyrObject){
return;
};
var _local1:uint = _plyrObject.armourLevel;
var _local2:uint;
while (_local2 < 5) {
_local3 = _armourTags[_local2];
if (!_local3){
} else {
if (_local2 < _local1){
_local3.visible = true;
} else {
_local3.visible = false;
};
};
_local2++;
};
}
private function initTemplates():void{
_armourImage = new BitmapSprite(scene, AssetImporter.getBitmapAsset("AssetImporter_healthrank0000PNG"), false);
}
private function setupArmourPanels():void{
var _local3:BitmapSprite;
var _local1:Number = 235;
var _local2:uint;
while (_local2 < 5) {
_local3 = _armourImage.clone();
_local3.visible = false;
_armourTags.push(_local3);
_local3.x = _local1;
_local1 = (_local1 + (_local3.width - 25));
_local3.y = 5;
_local2++;
};
}
public function dispose():void{
var _local1:TextField;
var _local2:SceneObject;
for each (_local1 in _textFieldArray) {
scene.removeChild(_local1);
};
for each (_local2 in _armourTags) {
_local2.safeDelete();
};
scene.removeChild(sprite);
scene.removeChild(soundSprite);
}
override public function onAdd():void{
var _local1:SceneObject;
super.onAdd();
for each (_local1 in _armourTags) {
scene.addSceneObject(_local1);
};
}
override public function update(_arg1:Number):void{
super.update(_arg1);
if (_plyrObject){
_scoreField.text = _plyrObject.currPoints.toString();
_moneyField.text = _plyrObject.money.toString();
_multiplier.text = GlobalVarContainer.vars.multiplier.toString();
};
updateArmourDisplay();
}
private function onSoundButton(_arg1:Event):void{
GlobalVarContainer.vars.plyrSoundOff = SoundManager.toggleMute();
}
private function setupDisplayUI():void{
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 8765151;
_textFormat.size = 12;
_textFormat.align = "left";
_headingFormat = new TextFormat();
_headingFormat.font = "MarsAttacks";
_headingFormat.color = 6262441;
_headingFormat.size = 8;
_headingFormat.align = "left";
_multFormat = new TextFormat();
_multFormat.font = "MarsAttacks";
_multFormat.color = 6262441;
_multFormat.size = 4;
_multFormat.align = TextFormatAlign.LEFT;
_scoreField = new TextField();
_scoreField.embedFonts = true;
_scoreField.antiAliasType = AntiAliasType.ADVANCED;
_scoreField.defaultTextFormat = _textFormat;
_scoreField.text = "0";
_scoreField.x = 85;
_scoreField.y = 19;
_scoreField.width = 220;
_scoreField.selectable = false;
_scoreField.mouseEnabled = false;
scene.addChild(_scoreField);
_textFieldArray.push(_scoreField);
_moneyField = new TextField();
_moneyField.embedFonts = true;
_moneyField.antiAliasType = AntiAliasType.ADVANCED;
_moneyField.defaultTextFormat = _textFormat;
_moneyField.text = "0";
_moneyField.x = 388;
_moneyField.y = 19;
_moneyField.width = 220;
_moneyField.selectable = false;
_moneyField.mouseEnabled = false;
scene.addChild(_moneyField);
_textFieldArray.push(_moneyField);
_pointsHeading = new TextField();
_pointsHeading.embedFonts = true;
_pointsHeading.antiAliasType = AntiAliasType.ADVANCED;
_pointsHeading.defaultTextFormat = _headingFormat;
_pointsHeading.text = "POINTS";
_pointsHeading.x = 75;
_pointsHeading.y = 8;
_pointsHeading.width = 220;
_pointsHeading.selectable = false;
_pointsHeading.mouseEnabled = false;
scene.addChild(_pointsHeading);
_textFieldArray.push(_pointsHeading);
_armourHeading = new TextField();
_armourHeading.embedFonts = true;
_armourHeading.antiAliasType = AntiAliasType.ADVANCED;
_armourHeading.defaultTextFormat = _headingFormat;
_armourHeading.text = "ARMOUR";
_armourHeading.x = 235;
_armourHeading.y = 8;
_armourHeading.width = 220;
_armourHeading.selectable = false;
_armourHeading.mouseEnabled = false;
scene.addChild(_armourHeading);
_textFieldArray.push(_armourHeading);
_cashHeading = new TextField();
_cashHeading.embedFonts = true;
_cashHeading.antiAliasType = AntiAliasType.ADVANCED;
_cashHeading.defaultTextFormat = _headingFormat;
_cashHeading.text = "CASH";
_cashHeading.x = 378;
_cashHeading.y = 8;
_cashHeading.width = 220;
_cashHeading.selectable = false;
_cashHeading.mouseEnabled = false;
scene.addChild(_cashHeading);
_textFieldArray.push(_cashHeading);
_multiplier = new TextField();
_multiplier.embedFonts = true;
_multiplier.antiAliasType = AntiAliasType.ADVANCED;
_multiplier.defaultTextFormat = _textFormat;
_multiplier.autoSize = TextFieldAutoSize.LEFT;
_multiplier.text = GlobalVarContainer.vars.multiplier;
_multiplier.x = 35;
_multiplier.y = 19;
_multiplier.width = 220;
_multiplier.selectable = false;
_multiplier.mouseEnabled = false;
scene.addChild(_multiplier);
_textFieldArray.push(_multiplier);
_multX = new TextField();
_multX.embedFonts = true;
_multX.antiAliasType = AntiAliasType.ADVANCED;
_multX.defaultTextFormat = _multFormat;
_multX.text = "x";
_multX.x = 22;
_multX.autoSize = TextFieldAutoSize.LEFT;
_multX.y = ((_multiplier.y + _multiplier.height) - _multX.height);
_multX.width = 220;
_multX.selectable = false;
_multX.mouseEnabled = false;
scene.addChild(_multX);
_textFieldArray.push(_multX);
setupArmourPanels();
if (!_plyrObject){
return;
};
}
private function setupControlIcons():void{
var _local1:Bitmap = AssetImporter.getBitmapAsset("AssetImporter_pauseicon0000PNG");
var _local2:Bitmap = AssetImporter.getBitmapAsset("AssetImporter_soundonicon0000PNG");
sprite.mouseEnabled = true;
sprite.graphics.drawRect(540, 15, 19, 21);
sprite.x = 540;
sprite.y = 20;
sprite.width = 19;
sprite.height = 21;
sprite.addEventListener(MouseEvent.MOUSE_DOWN, onPauseButton);
scene.addChild(sprite);
sprite.addChild(_local1);
soundSprite.mouseEnabled = true;
soundSprite.graphics.drawRect(560, 15, 19, 21);
soundSprite.x = 560;
soundSprite.y = 20;
soundSprite.width = 19;
soundSprite.height = 21;
soundSprite.addEventListener(MouseEvent.MOUSE_DOWN, onSoundButton);
scene.addChild(soundSprite);
soundSprite.addChild(_local2);
}
private function updateScoreDisplay():void{
}
private function onPauseButton(_arg1:Event):void{
if (!GlobalVarContainer.vars.canPause){
return;
};
scene.setPaused(!(scene.paused));
Scheduler.togglePause();
TweenManager.togglePause();
GlobalVarContainer.vars.plyrPaused = scene.paused;
if (((!(GlobalVarContainer.vars.plyrSoundOff)) && (scene.paused))){
SoundManager.setMuted();
} else {
if (((!(GlobalVarContainer.vars.plyrSoundOff)) && (!(scene.paused)))){
SoundManager.setUnmuted();
};
};
}
}
}//package
Section 802
//Level (Level)
package {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import Enemy.*;
import ToadLib.audio.*;
import gs.*;
import Player.*;
import GameStates.*;
import flash.utils.*;
import flash.filters.*;
import Enemy.Bosses.*;
import gs.easing.*;
import flash.xml.*;
public class Level extends Scene {
private const LEVEL_INTRO_PART1:String = "WAVE ";
private const LEVEL_INTRO_PART2:String = "DESTROY!";
private var _victorySequenceText:TextField;// = null
private var currSpecialShip:SpecialShip;// = null
private var _currBoss:BossEntity;// = null
private var _textFormat:TextFormat;// = null
private var _startActiveEntities:int;// = 0
private var _bossIntroTextField:TextField;// = null
private var _levelEnded:Boolean;// = false
private var _levelStarted:Boolean;// = false
private var _levelTextPart1XPos:Number;// = 0
private var _levelIntroTextPart2:TextField;// = null
private var levelXMLCache:Object;
private var _levelIntroTextPart1:TextField;// = null
private var _warningFlashSchedule:Schedule;// = null
private var _levelSkipSchedule:Schedule;// = null
private var _blurFilter:BlurFilter;
private var _levelMusicLoop:SoundObject;// = null
public var playerObject:PlayerObject;
private var isBossStage:Boolean;// = false
private var shopDisplayed:Boolean;// = false
private var mothershipBoss:MothershipBoss;// = null
public var plyrController:PlayerObjectController;// = null
private var _shopTween:TweenLite;// = null
public var statsPanel:HUD;// = null
public var currLevelNum:int;// = 0
private var _isLastLevel:Boolean;// = false
private var _levelTextPart2XPos:Number;// = 0
private var walkerBoss:WalkerBoss;// = null
private var _bossIntroTween:TweenLite;// = null
private var _bossIntroText:String;// = "WARNING!"
private var _spawnBonusShipSchedule:Schedule;// = null
public var totalLevels:uint;// = 0
private var _shop:ShopScreen;// = null
private var _specialShip:SpecialShip;// = null
private var _stageBufferFilters:Array;
private var _endingFormat:TextFormat;// = null
private var currBossObject:BossEntity;// = null
private var smasherBoss:SmasherBoss;// = null
private var _warningFlashNum:uint;// = 0
public static var activeEntityArray:Array = [];
public static var activeBossArray:Array = [];
public function Level(_arg1:Stage, _arg2:Sprite=null){
levelXMLCache = new Object();
_stageBufferFilters = new Array();
_blurFilter = new BlurFilter(16, 16);
super(_arg1, _arg2);
processLevelFile();
initLevelText();
_shop = new ShopScreen(this);
_shop.alpha = 0;
GlobalVarContainer.vars.appRoot.addChild(_shop);
stageBuffer.filters = _stageBufferFilters;
if (((_shop) && (_shop.continueButton))){
_shop.continueButton.addEventListener(MouseEvent.CLICK, this.onContinueButton);
};
GlobalVarContainer.vars.maxEnemyProjType = 1;
GlobalVarContainer.vars.multiplier = 4;
_specialShip = new SpecialShip(AssetImporter.getXMLAsset("specialship"), this, false);
_specialShip.layer = 5;
currLevelNum = 0;
_levelStarted = false;
}
private function activateBoss():Boolean{
var _local2:BossEntity;
if (activeBossArray.length <= 0){
return (false);
};
var _local1:Boolean;
for each (_local2 in activeBossArray) {
if (((((_local2.isActive()) || (_local2.isDead()))) || ((_local2 == _currBoss)))){
} else {
if (_currBoss){
_currBoss.deactivateBoss();
_currBoss = null;
};
_currBoss = _local2;
doBossIntroText();
return (true);
};
};
return (false);
}
private function doBossIntroText():void{
var _local1:uint = (300 - (_bossIntroTextField.width * 0.5));
var _local2:uint = (330 - (_bossIntroTextField.height * 0.5));
_bossIntroTextField.x = -((_bossIntroTextField.width + 50));
_bossIntroTextField.alpha = 1;
_bossIntroTextField.x = _local1;
_bossIntroTextField.y = _local2;
onCompleteBossIntroTweenIn();
}
public function loadNextLevel():Boolean{
GlobalVarContainer.vars.escapeEnabled = false;
onLevelEnded();
removeAllEnemyScoreText();
Scheduler.clearAllSchedules();
TweenManager.clear();
GlobalVarContainer.vars.canPause = false;
Main.setInTransistion(true);
stageBuffer.filters = null;
fadeOutBGMusic();
if (_currBoss){
_currBoss.deactivateBoss();
_currBoss.safeDelete();
_currBoss = null;
};
TweenManager.to(this, 0.5, {alpha:0, overwrite:0, onComplete:finishedTransistion});
return (true);
}
private function updateSharedObjectDataLevel():void{
if (!Main.userData){
return;
};
Main.userData.data.startLevel = currLevelNum;
Main.userData.flush(1000);
}
private function doLevelIntroText():void{
var _local1:int = _levelIntroTextPart1.x;
var _local2:int = _levelIntroTextPart2.x;
var _local3:int = (300 - (_levelIntroTextPart1.width * 0.5));
var _local4:int = (300 - (_levelIntroTextPart2.width * 0.5));
TweenManager.to(_levelIntroTextPart1, 1, {x:_local3});
TweenManager.to(_levelIntroTextPart2, 1, {x:_local4});
TweenManager.to(_levelIntroTextPart1, 1, {x:_local1, delay:2, overwrite:0});
TweenManager.to(_levelIntroTextPart2, 1, {x:_local2, delay:2, overwrite:0, onComplete:levelIntroTextComplete});
_levelIntroTextPart1.visible = true;
_levelIntroTextPart2.visible = true;
}
private function processAnimationList(_arg1:XML):Boolean{
var _local7:XML;
var _local2:XMLList = _arg1.animation;
var _local3:Point = new Point();
var _local4:int;
var _local5 = "";
var _local6:AnimatedSprite;
for each (_local7 in _local2) {
if (_local7.hasOwnProperty("@assetname")){
_local5 = _local7.@assetname;
};
if (_local7.hasOwnProperty("@layer")){
_local4 = _local7.@layer;
};
if (_local7.hasOwnProperty("@posx")){
_local3.x = _local7.@posx;
};
if (_local7.hasOwnProperty("@posy")){
_local3.y = _local7.@posy;
};
_local6 = new AnimatedSprite(AssetImporter.getXMLAsset(_local5), this, true);
_local6.x = _local3.x;
_local6.y = _local3.y;
_local6.layer = _local4;
_local6.collisionReceive = false;
_local6.collisionSend = false;
};
return (true);
}
public function finishedTransistion():void{
Main.setInTransistion(false);
loadLevel((currLevelNum + 1));
}
public function doLevelHasEnded():void{
if (((Scheduler.isShedulePending(_levelSkipSchedule)) || (!(_levelStarted)))){
return;
};
trace("level finished");
_levelStarted = false;
_levelIntroTextPart1.visible = false;
_levelIntroTextPart2.visible = false;
_bossIntroTextField.visible = false;
if (playerObject){
this.removeSceneObject(playerObject);
};
setPaused(true);
if (_currBoss){
_currBoss.deactivateBoss();
_currBoss.safeDelete();
_currBoss = null;
};
if (_isLastLevel){
doVictorySequence();
setPaused(true);
Scheduler.clearAllSchedules();
Scheduler.pause();
TweenManager.pause();
Main.titleScreen.toggleEnabled();
visible = false;
GlobalVarContainer.vars.isGameCompleted = true;
playerObject.removePowerUps();
} else {
playerObject.removePowerUps();
showShopMenu();
if (Scheduler.isShedulePending(_spawnBonusShipSchedule)){
Scheduler.removeSchedule(_spawnBonusShipSchedule);
};
};
}
public function removeAllEnemyScoreText():void{
var _local1:DisplayObject = this.getChildByName("EnemyScoreText");
while (_local1) {
this.removeChild(_local1);
_local1 = this.getChildByName("EnemyScoreText");
};
}
private function processBosses(_arg1:XML):Boolean{
var _local3:XML;
var _local2:XMLList = _arg1.boss;
for each (_local3 in _local2) {
processBoss(_local3);
};
return (true);
}
public function getLevelProgress():Number{
return ((1 - (currLevelNum / (currLevelNum + 5))));
}
public function loadLevel(_arg1:int):Boolean{
if (_arg1 > totalLevels){
_arg1 = 1;
};
if (playerObject){
this.removeSceneObject(playerObject);
};
clearScene();
isBossStage = false;
var _local2:XML = levelXMLCache[_arg1];
_isLastLevel = getIsLastLevel(_local2);
processImageList(_local2);
processAnimationList(_local2);
processFormationList(_local2);
processEnemyList(_local2);
processBosses(_local2);
processAudioList(_local2);
currLevelNum = _arg1;
updateSharedObjectDataLevel();
_startActiveEntities = activeEntityArray.length;
_levelIntroTextPart1.text = (LEVEL_INTRO_PART1 + currLevelNum.toString());
doLevelIntroText();
GlobalVarContainer.vars.multiplier++;
GlobalVarContainer.vars.multiplier = MathUtils.clamp(GlobalVarContainer.vars.multiplier, 1, 9);
GlobalVarContainer.vars.escapeEnabled = true;
TweenManager.to(this, 1, {alpha:1, overwrite:1});
Main.setInTransistion(false);
visible = true;
spawnPlayer();
playerObject.visible = true;
playerObject.enabled = true;
_shop.playerObj = playerObject;
if (statsPanel){
statsPanel.dispose();
};
statsPanel = new HUD(this, playerObject);
onLevelLoaded();
_levelStarted = true;
currSpecialShip = null;
spawnBonusShip();
GlobalVarContainer.vars.plyrDead = false;
GlobalVarContainer.vars.canPause = true;
GlobalVarContainer.vars.escapeEnabled = true;
setPaused(false);
if (_shop){
_shop.disableButtons();
};
return (true);
}
public function playBGMusic():void{
if (_levelMusicLoop){
_levelMusicLoop.play(true);
_levelMusicLoop.setVolume(1);
};
}
private function onCompleteBossIntroTweenIn():void{
var _local1:uint;
_warningFlashNum++;
if (_warningFlashNum >= 6){
_bossIntroTextField.visible = false;
_local1 = (600 + _bossIntroTextField.width);
_warningFlashNum = 0;
if (((_currBoss) && (!(_currBoss.isActive())))){
_currBoss.doIntro();
};
return;
};
_bossIntroTextField.visible = !(_bossIntroTextField.visible);
_warningFlashSchedule = Scheduler.setSchedule(500, onCompleteBossIntroTweenIn, this);
}
private function getIsLastLevel(_arg1:XML):Boolean{
if (!_arg1){
return (false);
};
var _local2:Boolean;
if (_arg1.hasOwnProperty("@final")){
_local2 = _arg1.@final;
return (_local2);
};
return (false);
}
override protected function updateScene(_arg1:Event):void{
super.updateScene(_arg1);
if (paused){
return;
};
if (_levelStarted){
checkLevelFinished();
};
}
private function processEnemy(_arg1:XML):Boolean{
if (!_arg1){
return (false);
};
var _local2:Number = 0;
var _local3:Number = 0;
var _local4:Number = 0;
var _local5:int;
var _local6:int;
var _local7:EnemyObject;
if (!_arg1.hasOwnProperty("@startxpos")){
return (false);
};
if (!_arg1.hasOwnProperty("@startypos")){
return (false);
};
if (!_arg1.hasOwnProperty("@tweentime")){
return (false);
};
if (!_arg1.hasOwnProperty("@layer")){
return (false);
};
if (!_arg1.hasOwnProperty("@enemytype")){
return (false);
};
if (!_arg1.hasOwnProperty("@aiprofile")){
return (false);
};
var _local8:Object = new Object();
_local8.startxpos = _arg1.@startxpos;
_local8.startypos = _arg1.@startypos;
_local8.startxpos = _arg1.@startxpos;
_local8.tweentime = _arg1.@tweentime;
_local8.layer = _arg1.@layer;
_local8.enemytype = _arg1.@enemytype;
_local8.aiprofile = _arg1.@aiprofile;
var _local9:EnemyObject = EnemyFactory.createEnemyObject(this, _local8.enemytype, _local8.startxpos, _local8.startypos, true, Scene.WORLD_LIM_MODE_NULL, true, _local8.layer, _local8.aiprofile);
_local9.worldLimCallback = true;
return (true);
}
private function processCircleFormation(_arg1:XML):Boolean{
if (!_arg1){
return (false);
};
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:CircleFormation;
if (!_arg1.hasOwnProperty("@radius")){
return (false);
};
if (!_arg1.hasOwnProperty("@centerx")){
return (false);
};
if (!_arg1.hasOwnProperty("@centery")){
return (false);
};
if (!_arg1.hasOwnProperty("@numentities")){
return (false);
};
if (!_arg1.hasOwnProperty("@layer")){
return (false);
};
if (!_arg1.hasOwnProperty("@enemytype")){
return (false);
};
var _local9:Object = new Object();
_local9.radius = _arg1.@radius;
_local9.centerx = _arg1.@centerx;
_local9.centery = _arg1.@centery;
_local9.numentities = _arg1.@numentities;
_local9.layer = _arg1.@layer;
_local9.enemytype = _arg1.@enemytype;
_local9.aiprofile = _arg1.@aiprofile;
_local8 = new CircleFormation(this, _local9);
return (true);
}
public function stopBGMusicLoop():void{
if (!_levelMusicLoop){
return;
};
_levelMusicLoop.fadeOut(0, 1);
}
public function addTextField(_arg1:String, _arg2:Number, _arg3:Number, _arg4:uint=0xFFFFFF):TextField{
var _local5:TextField = new TextField();
_local5.embedFonts = true;
_local5.autoSize = TextFieldAutoSize.CENTER;
_local5.antiAliasType = AntiAliasType.NORMAL;
_local5.defaultTextFormat = _textFormat;
_local5.text = _arg1;
_local5.textColor = _arg4;
_local5.width = 250;
_local5.x = _arg2;
_local5.y = _arg3;
_local5.selectable = false;
_local5.cacheAsBitmap = true;
addChild(_local5);
return (_local5);
}
public function checkEnemyProjectile():void{
if (currLevelNum > 15){
GlobalVarContainer.vars.maxEnemyProjType = 1;
};
}
public function reloadLevel():Boolean{
if (Scheduler.isShedulePending(_levelSkipSchedule)){
return (false);
};
onLevelEnded();
removeAllEnemyScoreText();
Scheduler.clearAllSchedules();
TweenManager.clear();
GlobalVarContainer.vars.canPause = false;
Main.setInTransistion(true);
TweenManager.to(this, 1, {alpha:0, overwrite:0, onComplete:Main.setInTransistion, onCompleteParams:[false]});
if (playerObject){
this.removeSceneObject(playerObject);
};
stageBuffer.filters = null;
if (_currBoss){
_currBoss.deactivateBoss();
_currBoss.safeDelete();
_currBoss = null;
};
_levelSkipSchedule = Scheduler.setSchedule(1200, loadLevel, this, currLevelNum);
return (true);
}
private function onLevelLoaded():void{
var _local1:SceneObject;
for each (_local1 in objectList) {
_local1.onLevelLoaded();
};
}
public function endGame():void{
if (playerObject){
playerObject = null;
};
if (statsPanel){
statsPanel.dispose();
statsPanel = null;
};
onLevelEnded();
removeAllEnemyScoreText();
Scheduler.clearAllSchedules();
TweenManager.clear();
stageBuffer.filters = null;
activeBossArray.splice(0, activeBossArray.length);
activeEntityArray.splice(0, activeEntityArray.length);
fadeOutBGMusic();
if (_currBoss){
_currBoss.deactivateBoss();
_currBoss.safeDelete();
_currBoss = null;
};
GlobalVarContainer.vars.multiplier = 4;
clearScene();
}
public function fadeOutBGMusic():void{
if (_levelMusicLoop){
_levelMusicLoop.fadeOut(0, 1);
};
}
private function processLevelFile():void{
var _local3:XML;
var _local1:XML = AssetImporter.getXMLAsset("levels");
var _local2:XMLList = _local1.level;
for each (_local3 in _local2) {
if (_local3.hasOwnProperty("@levelnum")){
totalLevels++;
levelXMLCache[_local3.@levelnum] = _local3;
};
};
}
private function spawnPlayer():void{
if (playerObject){
this.addSceneObject(playerObject);
GlobalVarContainer.vars.playerObject = playerObject;
return;
};
playerObject = new PlayerObject(AssetImporter.getXMLAsset("plyrAnimations0000"), this, false);
playerObject.addController(new PlayerObjectController(this.stage, playerObject, this));
playerObject.x = 400;
playerObject.y = 516;
playerObject.testWorldLims = true;
playerObject.collisionGroup = 5;
playerObject.layer = 3;
playerObject.collisionReceive = true;
playerObject.rotation = 0;
playerObject.worldLimit.right = 600;
playerObject.worldLimit.left = 0;
addSceneObject(playerObject);
GlobalVarContainer.vars.playerObject = playerObject;
}
private function processBoss(_arg1:XML):Boolean{
if (!_arg1){
return (false);
};
if (!_arg1.hasOwnProperty("@objclass")){
return (false);
};
if (!_arg1.hasOwnProperty("@assetname")){
return (false);
};
if (!_arg1.hasOwnProperty("@startxpos")){
return (false);
};
if (!_arg1.hasOwnProperty("@startypos")){
return (false);
};
if (!_arg1.hasOwnProperty("@layer")){
return (false);
};
var _local2:String = _arg1.@assetname;
var _local3:String = _arg1.@objclass;
var _local4:Class = (getDefinitionByName(_local3) as Class);
var _local5:BossEntity = BossEntity(new _local4(AssetImporter.getXMLAsset(_local2), this, false));
_local5.layer = _arg1.@layer;
_local5.x = _arg1.@startxpos;
_local5.y = _arg1.@startypos;
_local5.worldLimCallback = true;
_local5.testWorldLims = true;
isBossStage = true;
return (true);
}
public function onContinueButton(_arg1:Event):void{
hideShopMenu();
updateSharedObjectData();
loadNextLevel();
}
private function processSineWaveFormation(_arg1:XML):Boolean{
var _local2:uint;
var _local3:int;
var _local4:Number;
var _local5:int;
var _local6:int;
var _local7:Number;
var _local8:int;
var _local10:int;
var _local11:uint;
var _local12:SineWave;
if (!_arg1){
return (false);
};
var _local9:int = Scene.WORLD_LIM_MODE_NULL;
if (!_arg1.hasOwnProperty("@num")){
return (false);
};
if (!_arg1.hasOwnProperty("@periodicy")){
return (false);
};
if (!_arg1.hasOwnProperty("@radius")){
return (false);
};
if (!_arg1.hasOwnProperty("@startxpos")){
return (false);
};
if (!_arg1.hasOwnProperty("@startypos")){
return (false);
};
if (!_arg1.hasOwnProperty("@xspacing")){
return (false);
};
if (!_arg1.hasOwnProperty("@layer")){
return (false);
};
if (!_arg1.hasOwnProperty("@enemytype")){
return (false);
};
if (!_arg1.hasOwnProperty("@startxvel")){
return (false);
};
if (!_arg1.hasOwnProperty("@limmode")){
return (false);
};
if (!_arg1.hasOwnProperty("@aiprofile")){
return (false);
};
var _local13:Object = new Object();
_local13.num = _arg1.@num;
_local13.radius = _arg1.@radius;
_local13.periodicy = _arg1.@periodicy;
_local13.startXPos = _arg1.@startxpos;
_local13.startYPos = _arg1.@startypos;
_local13.xspacing = _arg1.@xspacing;
_local13.layer = _arg1.@layer;
_local13.enemyType = _arg1.@enemytype;
_local13.startXVel = _arg1.@startxvel;
_local13.limitMode = _arg1.@limmode;
_local13.aiprofile = _arg1.@aiprofile;
_local12 = new SineWave(this, _local13);
return (true);
}
public function jumpFiveLevels():Boolean{
if (Scheduler.isShedulePending(_levelSkipSchedule)){
return (false);
};
onLevelEnded();
removeAllEnemyScoreText();
Scheduler.clearAllSchedules();
TweenManager.clear();
GlobalVarContainer.vars.canPause = false;
Main.setInTransistion(true);
TweenManager.to(this, 1, {alpha:0, overwrite:0, onComplete:Main.setInTransistion, onCompleteParams:[false]});
if (playerObject){
this.removeSceneObject(playerObject);
};
stageBuffer.filters = null;
if (_levelMusicLoop){
_levelMusicLoop.fadeOut(0, 1);
};
if (_currBoss){
_currBoss.deactivateBoss();
_currBoss.safeDelete();
_currBoss = null;
};
_levelSkipSchedule = Scheduler.setSchedule(1200, loadLevel, this, (currLevelNum + 10));
return (true);
}
public function showShopMenu():void{
if (((Main.inTransistion) || (shopDisplayed))){
return;
};
shopDisplayed = true;
if (_shopTween){
_shopTween.complete();
};
_shop.update();
filters = [_blurFilter];
setPaused(true);
Scheduler.clearAllSchedules();
Scheduler.pause();
TweenManager.pause();
_canRenderScene = false;
_shopTween = TweenLite.to(_shop, 1, {autoAlpha:1, overwrite:0, onComplete:_shop.enableButtons});
GlobalVarContainer.vars.appRoot.removeChild(_shop);
GlobalVarContainer.vars.appRoot.addChild(_shop);
GlobalVarContainer.vars.escapeEnabled = false;
if (_shop){
_shop.continueButton.addEventListener(MouseEvent.CLICK, this.onContinueButton);
};
}
private function initLevelText():void{
_textFormat = new TextFormat();
_textFormat.font = "MarsAttacks";
_textFormat.color = 0xFFFFFF;
_textFormat.size = 24;
_textFormat.align = "center";
_endingFormat = new TextFormat();
_endingFormat.font = "MarsAttacks";
_endingFormat.color = 0xFFFFFF;
_endingFormat.size = 16;
_endingFormat.align = TextFormatAlign.CENTER;
_levelIntroTextPart1 = new TextField();
_levelIntroTextPart1.embedFonts = true;
_levelIntroTextPart1.antiAliasType = AntiAliasType.NORMAL;
_levelIntroTextPart1.defaultTextFormat = _textFormat;
_levelIntroTextPart1.text = LEVEL_INTRO_PART1;
_levelIntroTextPart1.width = 250;
_levelIntroTextPart1.x = -((_levelIntroTextPart1.width + 50));
_levelIntroTextPart1.y = (350 - _levelIntroTextPart1.height);
_levelIntroTextPart1.cacheAsBitmap = true;
addChild(_levelIntroTextPart1);
_levelIntroTextPart2 = new TextField();
_levelIntroTextPart2.embedFonts = true;
_levelIntroTextPart2.autoSize = TextFieldAutoSize.CENTER;
_levelIntroTextPart2.antiAliasType = AntiAliasType.NORMAL;
_levelIntroTextPart2.defaultTextFormat = _textFormat;
_levelIntroTextPart2.width = 250;
_levelIntroTextPart2.text = LEVEL_INTRO_PART2;
_levelIntroTextPart2.x = 650;
_levelIntroTextPart2.y = ((170 + _levelIntroTextPart1.height) + 10);
_levelIntroTextPart1.borderColor = 0;
_levelIntroTextPart2.cacheAsBitmap = true;
addChild(_levelIntroTextPart2);
_victorySequenceText = new TextField();
_victorySequenceText.defaultTextFormat = _endingFormat;
_victorySequenceText.embedFonts = true;
_victorySequenceText.autoSize = TextFieldAutoSize.CENTER;
_victorySequenceText.antiAliasType = AntiAliasType.NORMAL;
_victorySequenceText.text = "CONGRATULATIONS! \n YOU HAVE BEATEN THE ALIEN \n HORDES AND SAVED EARTH!";
_victorySequenceText.x = 70;
_victorySequenceText.y = 200;
_victorySequenceText.cacheAsBitmap = true;
_victorySequenceText.visible = false;
addChild(_victorySequenceText);
_bossIntroTextField = this.addTextField(_bossIntroText, 300, -150, 0xFF2400);
_bossIntroTextField.x = -((_bossIntroTextField.width + 50));
_bossIntroTextField.alpha = 1;
_bossIntroTextField.y = ((_levelIntroTextPart1.y - _bossIntroTextField.height) - 10);
}
public function stopBGMusic():void{
if (_levelMusicLoop){
_levelMusicLoop.stop();
};
}
private function processEnemyList(_arg1:XML):Boolean{
var _local3:XML;
var _local2:XMLList = _arg1.enemy;
for each (_local3 in _local2) {
processEnemy(_local3);
};
return (true);
}
private function onCompleteBossIntroTweenOut():void{
if (!_warningFlashSchedule){
return;
};
}
private function updateSharedObjectData():void{
if (((!(Main.userData)) || (!(playerObject)))){
return;
};
Main.userData.data.startLevel = currLevelNum;
Main.userData.data.playerdata = playerObject.getPlayerObjectData();
Main.userData.flush(1000);
}
private function spawnBonusShip():void{
var _local1:Number = (activeEntityArray.length / _startActiveEntities);
var _local2:Number = MathUtils.randRange(1, 100);
if (((((((((!(_levelStarted)) || (currSpecialShip))) || (isBossStage))) || ((_local2 > 10)))) || (paused))){
_spawnBonusShipSchedule = Scheduler.setSchedule(2000, spawnBonusShip, this);
return;
};
if ((_local1 * 100) < 50){
_spawnBonusShipSchedule = Scheduler.setSchedule(2000, spawnBonusShip, this);
return;
};
if (_specialShip){
currSpecialShip = (_specialShip.clone() as SpecialShip);
};
currSpecialShip.layer = 5;
currSpecialShip.x = 620;
currSpecialShip.y = 60;
currSpecialShip.setLinearVelocityX(-100);
currSpecialShip.limitMode = Scene.WORLD_LIM_MODE_KILL;
currSpecialShip.worldLimit.left = -100;
currSpecialShip.worldLimit.right = 800;
currSpecialShip.collisionReceive = true;
currSpecialShip.collisionGroup = 0;
currSpecialShip.collisionCallback = true;
if (!Scheduler.isShedulePending(_spawnBonusShipSchedule)){
_spawnBonusShipSchedule = Scheduler.setSchedule(2000, spawnBonusShip, this);
};
}
private function processFormationList(_arg1:XML):Boolean{
var _local4:XML;
var _local2:XMLList = _arg1.formation;
var _local3 = "";
for each (_local4 in _local2) {
if (_local4.hasOwnProperty("@type")){
_local3 = _local4.@type;
};
if (_local3 == "grid"){
processGridFormation(_local4);
} else {
if (_local3 == "circle"){
processCircleFormation(_local4);
} else {
if (_local3 == "arrow"){
processArrowFormation(_local4);
} else {
if (_local3 == "sinewave"){
processSineWaveFormation(_local4);
};
};
};
};
};
return (true);
}
public function hideShopMenu():void{
if (!shopDisplayed){
return;
};
shopDisplayed = false;
if (_shopTween){
_shopTween.complete();
};
filters = null;
Scheduler.clearAllSchedules();
Scheduler.resume();
TweenManager.resume();
_canRenderScene = true;
_shop.disableButtons();
_shopTween = TweenLite.to(_shop, 0.5, {alpha:0, overwrite:0});
Main.setInTransistion(true);
trace("hide shop menu");
if (_shop){
_shop.continueButton.removeEventListener(MouseEvent.CLICK, this.onContinueButton);
};
}
private function processGridFormation(_arg1:XML):Boolean{
if (!_arg1){
return (false);
};
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:Number = 0;
var _local11:GridFormation;
var _local12:int = Scene.WORLD_LIM_MODE_TRANSFER;
if (!_arg1.hasOwnProperty("@rows")){
return (false);
};
if (!_arg1.hasOwnProperty("@cols")){
return (false);
};
if (!_arg1.hasOwnProperty("@startxpos")){
return (false);
};
if (!_arg1.hasOwnProperty("@startypos")){
return (false);
};
if (!_arg1.hasOwnProperty("@xspacing")){
return (false);
};
if (!_arg1.hasOwnProperty("@yspacing")){
return (false);
};
if (!_arg1.hasOwnProperty("@layer")){
return (false);
};
if (!_arg1.hasOwnProperty("@enemytype")){
return (false);
};
if (!_arg1.hasOwnProperty("@startxvel")){
return (false);
};
if (!_arg1.hasOwnProperty("@limmode")){
return (false);
};
var _local13:Object = new Object();
_local13.rows = _arg1.@rows;
_local13.cols = _arg1.@cols;
_local13.startXPos = _arg1.@startxpos;
_local13.startYPos = _arg1.@startypos;
_local13.xspacing = _arg1.@xspacing;
_local13.yspacing = _arg1.@yspacing;
_local13.layer = _arg1.@layer;
_local13.enemyType = _arg1.@enemytype;
_local13.startXVel = _arg1.@startxvel;
_local13.limMode = _arg1.@limmode;
_local13.aiprofile = _arg1.@aiprofile;
_local11 = new GridFormation(this, _local13);
return (true);
}
private function onLevelEnded():void{
var _local1:SceneObject;
for each (_local1 in objectList) {
_local1.onLevelEnded();
};
}
private function processAudioList(_arg1:XML):Boolean{
var _local6:XML;
var _local2:XMLList = _arg1.audio;
var _local3:Boolean;
var _local4 = "";
var _local5:Number = 0;
for each (_local6 in _local2) {
if (_local6.hasOwnProperty("@assetname")){
_local4 = _local6.@assetname;
};
if (_local6.hasOwnProperty("@loops")){
_local3 = _local6.@loops;
};
if (_local6.hasOwnProperty("@volume")){
_local5 = _local6.@volume;
};
if (_levelMusicLoop){
_levelMusicLoop.stop();
};
_levelMusicLoop = new SoundObject(_local4, _local5, true);
_levelMusicLoop.play(_local3);
_levelMusicLoop.setVolume(0);
_levelMusicLoop.fadeIn(1, 1);
};
return (true);
}
private function doVictorySequence():void{
}
public function toggleShopMenu():void{
if (!_shop){
return;
};
if (shopDisplayed){
hideShopMenu();
} else {
if (!Main.inTransistion){
showShopMenu();
};
};
}
private function levelIntroTextComplete():void{
_levelIntroTextPart1.visible = false;
_levelIntroTextPart2.visible = false;
}
private function centerTextOnX():void{
}
private function processImageList(_arg1:XML):Boolean{
var _local7:XML;
var _local8:String;
var _local9:Class;
var _local10:BitmapSprite;
var _local2:XMLList = _arg1.image;
var _local3:Point = new Point();
var _local4:int;
var _local5 = "";
var _local6:Bitmap;
for each (_local7 in _local2) {
if (_local7.hasOwnProperty("@assetname")){
_local5 = _local7.@assetname;
};
if (_local7.hasOwnProperty("@layer")){
_local4 = _local7.@layer;
};
if (_local7.hasOwnProperty("@posx")){
_local3.x = _local7.@posx;
};
if (_local7.hasOwnProperty("@posy")){
_local3.y = _local7.@posy;
};
_local8 = ("AssetImporter_" + _local5);
_local9 = Class(getDefinitionByName(_local8));
_local6 = Bitmap(new (_local9));
_local10 = new BitmapSprite(this, _local6);
_local10.layer = _local4;
_local10.x = _local3.x;
_local10.y = _local3.y;
_local10.collisionReceive = false;
};
return (true);
}
private function checkLevelFinished():void{
var _local1:SceneObjectGroup;
if (activeEntityArray.length > 0){
return;
};
if (activateBoss()){
return;
};
if (activeBossArray.length > 0){
return;
};
if (GlobalVarContainer.vars.plyrDead){
return;
};
doLevelHasEnded();
}
public function getPlayerObject():PlayerObject{
return (playerObject);
}
private function processArrowFormation(_arg1:XML):Boolean{
if (!_arg1){
return (false);
};
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:uint;
var _local10:ArrowFormation;
if (!_arg1.hasOwnProperty("@cols")){
return (false);
};
if (!_arg1.hasOwnProperty("@startxpos")){
return (false);
};
if (!_arg1.hasOwnProperty("@startypos")){
return (false);
};
if (!_arg1.hasOwnProperty("@xspacing")){
return (false);
};
if (!_arg1.hasOwnProperty("@yspacing")){
return (false);
};
if (!_arg1.hasOwnProperty("@limmode")){
return (false);
};
if (!_arg1.hasOwnProperty("@layer")){
return (false);
};
if (!_arg1.hasOwnProperty("@enemytype")){
return (false);
};
var _local11:Object = new Object();
_local11.cols = _arg1.@cols;
_local11.startXPos = _arg1.@startxpos;
_local11.startYPos = _arg1.@startypos;
_local11.xspacing = _arg1.@xspacing;
_local11.yspacing = _arg1.@yspacing;
_local11.limitMode = _arg1.@limmode;
_local11.layer = _arg1.@layer;
_local11.enemyType = _arg1.@enemytype;
_local11.aiprofile = _arg1.@aiprofile;
_local10 = new ArrowFormation(this, _local11);
return (true);
}
public function fadeInBGMusic():void{
if (_levelMusicLoop){
_levelMusicLoop.play(true);
_levelMusicLoop.fadeIn(1, 1);
};
}
}
}//package
Section 803
//Main (Main)
package {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Graphics.*;
import flash.display.*;
import Enemy.*;
import ToadLib.audio.*;
import gs.*;
import GameStates.*;
import flash.net.*;
import flash.ui.*;
public class Main extends Sprite {
public var shopScreen:ShopScreen;// = null
public var enemyController:EnemyAI;// = null
public var reloadLevelKeyDown:Boolean;// = false
public var muteKeyDown:Boolean;// = false
public var enemyGrid2:GridFormation;// = null
public var graph:ActiveGraph;
public var jumpFiveLevelsDown:Boolean;// = false
public var pauseKeyDown:Boolean;// = false
public var bitmapSprite:BitmapSprite;
public var debugKeyDown:Boolean;// = false
public var moneyButtonDown:Boolean;// = false
public var enemyGroup:EnemyFormation;// = null
public var nextLevelKeyDown:Boolean;// = false
public var enemy:SceneObject;
public var enemyGrid:GridFormation;// = null
public var showShopMenuKeyDown:Boolean;// = false
public var circleGrid:CircleFormation;// = null
public var animationLoader:AnimationLoader;// = null
public var scheduler:Scheduler;
public static var inTransistion:Boolean = false;
public static var titleScreen:TitleScreen = null;
public static var userData:SharedObject;
public static var frameTimer:FrameTimer;
public static var sceneObj:Level = null;
public function Main():void{
scheduler = new Scheduler();
super();
addEventListener(Event.ADDED_TO_STAGE, init);
}
private function windowActivated(_arg1:Event):void{
if (((inTransistion) || (titleScreen.isDisplayed))){
return;
};
if (sceneObj){
sceneObj.setPaused(false);
};
TweenManager.resume();
Scheduler.resume();
if (!GlobalVarContainer.vars.plyrSoundOff){
SoundManager.setUnmuted();
};
if (GlobalVarContainer.vars.playerController){
GlobalVarContainer.vars.playerController.clearVars();
};
}
private function gotoNextLevel():void{
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.ADDED_TO_STAGE, init);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
GlobalVarContainer.vars.escapeEnabled = false;
GlobalVarContainer.vars.plyrSoundOff = false;
GlobalVarContainer.vars.plyrPaused = false;
GlobalVarContainer.vars.plyrDead = false;
GlobalVarContainer.vars.canPause = false;
GlobalVarContainer.vars.isGameCompleted = false;
GlobalVarContainer.vars.cashDiffMult = 0.8;
userData = SharedObject.getLocal("spacemutantsdata");
if (userData.size == 0){
userData.data.startLevel = 1;
};
var _local2:MathUtils = new MathUtils();
GlobalVarContainer.vars.appRoot = this;
graph = new ActiveGraph(60, true, true, 1);
graph.visible = false;
sceneObj = new Level(this.stage, this);
sceneObj.addChild(graph);
titleScreen = new TitleScreen(sceneObj);
addChild(titleScreen);
buildTestScene();
stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
stage.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp);
stage.addEventListener(Event.ACTIVATE, windowActivated);
stage.addEventListener(Event.DEACTIVATE, windowDeactivated);
}
private function buildTestScene():void{
frameTimer = new FrameTimer(this, 140, 0, sceneObj.stageBuffer.bitmapData);
frameTimer.visible = false;
}
private function handleKeyDown(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.ESCAPE:
if (!GlobalVarContainer.vars.escapeEnabled){
return;
};
sceneObj.setPaused(!(sceneObj.paused));
pauseKeyDown = true;
Scheduler.togglePause();
TweenManager.togglePause();
if (titleScreen.isDisplayed){
titleScreen.setDisabled();
} else {
titleScreen.setEnabled();
};
sceneObj.visible = !(sceneObj.visible);
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "P":
case "p":
if (((sceneObj) && (!(pauseKeyDown)))){
if (!GlobalVarContainer.vars.canPause){
return;
};
sceneObj.setPaused(!(sceneObj.paused));
pauseKeyDown = true;
Scheduler.togglePause();
TweenManager.togglePause();
GlobalVarContainer.vars.plyrPaused = !(GlobalVarContainer.vars.plyrPaused);
if (!GlobalVarContainer.vars.plyrPaused){
if (GlobalVarContainer.vars.playerController){
GlobalVarContainer.vars.playerController.clearVars();
};
};
if (!GlobalVarContainer.vars.plyrSoundOff){
SoundManager.toggleMute();
};
};
break;
case "M":
case "m":
if (!muteKeyDown){
muteKeyDown = true;
SoundManager.toggleMute();
};
break;
};
}
private function handleKeyUp(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.F1:
debugKeyDown = false;
break;
case Keyboard.F2:
nextLevelKeyDown = false;
break;
case Keyboard.F3:
showShopMenuKeyDown = false;
break;
case Keyboard.F5:
reloadLevelKeyDown = false;
break;
case Keyboard.F6:
moneyButtonDown = false;
break;
case Keyboard.F7:
jumpFiveLevelsDown = false;
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "P":
case "p":
pauseKeyDown = false;
break;
case "m":
case "M":
muteKeyDown = false;
break;
};
}
private function windowDeactivated(_arg1:Event):void{
if (inTransistion){
return;
};
if (sceneObj){
sceneObj.setPaused(true);
};
TweenManager.pause();
Scheduler.pause();
}
public static function setInTransistion(_arg1:Boolean):void{
inTransistion = _arg1;
}
}
}//package
Section 804
//PlayerObjectController (PlayerObjectController)
package {
import flash.events.*;
import ToadLib.Framework.*;
import ToadLib.Interfaces.*;
import ToadLib.Graphics.*;
import flash.display.*;
import flash.geom.*;
import Enemy.*;
import ToadLib.audio.*;
import Player.*;
import flash.ui.*;
public class PlayerObjectController extends Controller implements IController {
private var _lastMousePos:Point;
private var left:int;// = 0
private var _plyrShoot:SoundObject;// = null
private var _scene:Scene;// = null
private var _canShoot:Boolean;// = true
private var _canFireAddon:Boolean;// = true
private var _tarAnm:AnimatedSprite;// = null
private var up:int;// = 0
private var _ROFAddonWaitAccum:Number;// = 0
private var _laserSFX:SoundObject;// = null
private var down:int;// = 0
private var right:int;// = 0
private var _ROFWaitAccum:Number;// = 0
private var _playedMoveSFX:Boolean;// = false
private var _yDir:int;// = 0
private var _plyrROF:Number;// = 1
private var _linearVelocity:Point;
private var plyrAnms:Array;// = null
private var _beamWeapon:BeamWeapon;// = null
private var _scudMissle:ScudMissile;// = null
private var _xDir:int;// = 0
private var _plyrObject:PlayerObject;// = null
private var _muzzleObject:AnimatedSprite;// = null
private var _missleSalvo:MissleSalvo;// = null
private var _canFire:Boolean;// = true
private var _beamVisSchedule:Schedule;// = null
private var _currPlyrState:int;// = 0
private var _beamSegmentTemplate:PlyrBeamSegment;// = null
private var _fired:int;// = 0
private var _tankSFX:SoundObject;// = null
private static const PLYR_MOVING:int = 1;
private static const PLYR_HIT:int = 4;
private static const PLYR_MOVING_FIRING:int = 2;
private static const PLYR_IDLE_FIRING:int = 3;
private static const PLYR_IDLE:int = 0;
public function PlayerObjectController(_arg1:Stage, _arg2:AnimatedSprite, _arg3:Scene){
_lastMousePos = new Point();
super(_arg2);
_arg1.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
_arg1.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp);
_arg1.addEventListener(MouseEvent.MOUSE_MOVE, handleMouseMove);
_linearVelocity = new Point(100, 100);
_lastMousePos.x = (_arg1.width * 0.5);
_lastMousePos.y = (_arg1.height * 0.5);
_scene = _arg3;
_target.collisionGroup = 5;
_tarAnm = _arg2;
_plyrObject = (_tarAnm as PlayerObject);
if (_plyrObject){
_plyrROF = ((1 / (_plyrObject.rateOfFireBase * _plyrObject.rateOfFireMult)) * 1000);
};
plyrAnms = AnimationLoader.loadFromXML(AssetImporter.getXMLAsset("plyrAnimations0000"));
_scudMissle = new ScudMissile(AssetImporter.getXMLAsset("scud"), _arg3, false);
_missleSalvo = new MissleSalvo(AssetImporter.getXMLAsset("misslesalvo"), _arg3, false);
_beamSegmentTemplate = new PlyrBeamSegment(AssetImporter.getXMLAsset("playerLaser"), _arg3, false);
_beamWeapon = new BeamWeapon(AssetImporter.getXMLAsset("playerLaser"), _arg3, 800, true, -1, 4, _beamSegmentTemplate);
_target.addChildObject(_beamWeapon);
_beamWeapon.x = 37;
_beamWeapon.y = -16;
_beamWeapon.visible = false;
_beamWeapon.setBeamCollisionGroup(0);
_plyrShoot = new SoundObject("sfx_playershoot_0000", 1);
_plyrShoot.delay = 100;
_tankSFX = new SoundObject("sfx_tank0000", 1, false, 500);
_laserSFX = new SoundObject("sfx_lazerloop0000PNG", 1, false, 528);
initMuzzleObject();
GlobalVarContainer.vars.playerController = this;
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, doMouseDown);
_arg1.addEventListener(MouseEvent.MOUSE_UP, doMouseUp);
}
private function setBeamVisible(_arg1:Boolean):void{
if (!_beamWeapon){
return;
};
_beamWeapon.visible = _arg1;
}
private function fireAddons(_arg1:Number):void{
var _local3:ScudMissile;
var _local4:MissleSalvo;
var _local2:Number = _plyrObject._addOnObj.getWorldPosition().x;
if (_plyrObject.numAddons == 2){
_local3 = (_scudMissle.clone() as ScudMissile);
_local3.x = ((_local2 + (_plyrObject.width * 0.5)) - (_local3.width * 0.5));
_local3.y = (_plyrObject._addOnObj.getWorldPosition().y - (_local3.height * 0.5));
_local3.setConstantForceY(-900);
_local3.testWorldLims = true;
_local3.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local3.visible = true;
_local3.layer = (_muzzleObject.layer + 1);
_local3.collisionSend = true;
_local3.collisionCallback = true;
_local3.setCollisionGroups([0], true);
} else {
if (_plyrObject.numAddons == 1){
_local4 = (_missleSalvo.clone() as MissleSalvo);
_local4.x = ((_local2 + (_plyrObject.width * 0.5)) - (_local4.width * 0.5));
_local4.y = (_plyrObject._addOnObj.getWorldPosition().y - (_local4.height * 0.5));
_local4.setConstantForceY(-300);
_local4.testWorldLims = true;
_local4.layer = (_muzzleObject.layer + 1);
_local4.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local4.collisionSend = true;
_local4.collisionCallback = true;
_local4.setCollisionGroups([0], true);
} else {
if (_plyrObject.numAddons == 3){
_target.addChildObject(_beamWeapon);
_beamWeapon.visible = true;
if (!Scheduler.isShedulePending(_beamVisSchedule)){
_beamVisSchedule = Scheduler.setSchedule(528, setBeamVisible, this, false);
};
if (_laserSFX){
_laserSFX.play(false);
};
};
};
};
_plyrObject.setFireAnmAddon();
}
private function firePressed(_arg1:Number):void{
_muzzleObject.setAnimation("player_muzzle");
_muzzleObject.visible = true;
var _local2:Bullet = new Bullet(AssetImporter.getXMLAsset("plyrShoot0000"), _scene, true);
_local2.setLinearVelocityX(0);
_local2.setLinearVelocityY(-130);
_local2.setConstantForceY(-700);
_local2.x = (_target.x + 4);
_local2.y = ((_target.y - _target.height) + 22);
_local2.limitMode = Scene.WORLD_LIM_MODE_KILL;
_local2.layer = (_muzzleObject.layer + 1);
_local2.collisionSend = true;
_local2.testWorldLims = true;
_local2.collisionCallback = true;
_local2.setCollisionGroups([0], true);
_local2.power = (_local2.power * _plyrObject.canonPowerMult);
_plyrShoot.play();
if (_tarAnm){
_tarAnm.setAnimation("player_shoot", 0, true);
};
}
private function doHit():void{
if (!_tarAnm){
return;
};
_tarAnm.setLinearVelocityX((_tarAnm.getLinearVelocityX() * 0.5));
if (_tarAnm.getAnimation() != "player_injured"){
_tarAnm.setAnimation("player_injured", 0, false);
};
Scheduler.setSchedule(_tarAnm.getAnimationLength(), setState, this, PLYR_IDLE);
}
override public function handleKeyUp(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.LEFT:
left = 0;
break;
case Keyboard.RIGHT:
right = 0;
break;
case Keyboard.CONTROL:
case Keyboard.SHIFT:
case Keyboard.ENTER:
case Keyboard.SPACE:
_fired = 0;
_canShoot = true;
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "d":
case "D":
right = 0;
break;
case "a":
case "A":
left = 0;
break;
case "X":
case "x":
case "z":
case "Z":
_fired = 0;
_canShoot = true;
break;
};
}
override public function onCollision(_arg1:SceneObject, _arg2:SceneObject):void{
super.onCollision(_arg1, _arg2);
if ((_arg1 is PowerUp)){
return;
};
doHitByEnemyCraft((_arg1 as EnemyObject));
}
public function doMouseUp(_arg1:MouseEvent):void{
_fired = 0;
_canShoot = true;
}
private function initMuzzleObject():void{
_muzzleObject = new AnimatedSprite(AssetImporter.getXMLAsset("plyrAnimations0000"), _scene, true);
}
private function doMoving():void{
if (!_plyrObject){
return;
};
if ((((((_target.getLinearVelocityX() > 0)) && ((_xDir == -1)))) || ((((_target.getLinearVelocityX() < 0)) && ((_xDir == 1)))))){
_target.setLinearVelocityX((_target.getLinearVelocityX() * 0.5));
_target.setConstantForceX((_target.getConstantForceX() * 0.5));
};
_target.constantForceX = ((_plyrObject.speed * _plyrObject.speedUpMult) * _xDir);
_target._damping = 3;
if ((((_tarAnm.getAnimation() == "player_shoot")) && (!(_tarAnm.getAnimationFinished())))){
return;
};
if (_tarAnm.getAnimation() != "player_moving"){
if (_target.getConstantForceX() < 0){
_tarAnm.setAnimation("player_moving", 0, false, 1, 1);
} else {
if (_target.getConstantForceX() > 0){
_tarAnm.setAnimation("player_moving", 0, false, -1, 1);
};
};
} else {
if (_tarAnm.getAnimation() == "player_moving"){
if ((((_target.getLinearVelocityX() < 0)) && ((_tarAnm.direction == -1)))){
_tarAnm.setAnimation("player_moving", 0, false, 1, 1);
_tankSFX.play();
} else {
if ((((_target.getLinearVelocityX() > 0)) && ((_tarAnm.direction == 1)))){
_tarAnm.setAnimation("player_moving", 0, false, -1, 1);
_tankSFX.play();
};
};
};
};
}
override public function onAdd():void{
super.onAdd();
if (_muzzleObject){
_muzzleObject.x = 4;
_muzzleObject.y = (-(_target.height) * 0.7);
_muzzleObject.layer = (_target.layer + 1);
_muzzleObject.visible = false;
_target.addChildObject(_muzzleObject);
_beamWeapon = new BeamWeapon(AssetImporter.getXMLAsset("playerLaser"), _scene, 800, true, -1, 4, _beamSegmentTemplate);
_target.addChildObject(_beamWeapon);
_beamWeapon.x = 37;
_beamWeapon.y = -16;
_beamWeapon.visible = false;
_beamWeapon.setBeamCollisionGroup(0);
};
}
private function spawnImpact(_arg1:SceneObject):void{
var _local2:AnimatedSprite = new AnimatedSprite(AssetImporter.getXMLAsset("plyrAnimations0000"), _scene);
_local2.setAnimation("player_impact");
_local2.setLinearVelocityX(0);
_local2.setLinearVelocityY(0);
_local2.x = (_arg1.x - (_arg1.width * 0.5));
_local2.y = _arg1.y;
_local2.layer = (_target.layer - 1);
_local2.collisionSend = false;
_local2.testWorldLims = false;
_local2.deleteOnEnd = true;
}
private function doHitByEnemyProj(_arg1:EnemyProj):void{
this.spawnImpact(_arg1);
if (!_plyrObject){
return;
};
if (_plyrObject.armour <= 0){
doDeath();
return;
};
_plyrObject.armour--;
}
public function setState(_arg1:int):void{
_currPlyrState = _arg1;
}
override public function update(_arg1:Number):void{
if (((!(_target)) || (_plyrObject._isDead))){
return;
};
_ROFWaitAccum = (_ROFWaitAccum + (_arg1 * 1000));
_ROFAddonWaitAccum = (_ROFAddonWaitAccum + (_arg1 * 1000));
var _local2:Number = ((1 / (_plyrObject.rateOfFireBase * _plyrObject.rateOfFireMult)) * 1000);
var _local3:Number = 1000;
if (_ROFWaitAccum >= _local2){
_canFire = true;
_ROFWaitAccum = (_ROFWaitAccum - _local2);
};
if (_ROFAddonWaitAccum >= _local3){
_canFireAddon = true;
_ROFAddonWaitAccum = (_ROFAddonWaitAccum - _local3);
};
_xDir = (right - left);
_yDir = (up - down);
if (((!(_xDir)) && (!((_currPlyrState == PLYR_HIT))))){
_currPlyrState = PLYR_IDLE;
_playedMoveSFX = false;
} else {
if (_currPlyrState != PLYR_HIT){
_currPlyrState = PLYR_MOVING;
if (!_playedMoveSFX){
_playedMoveSFX = true;
_tankSFX.play();
};
};
};
switch (_currPlyrState){
case PLYR_IDLE:
doIdle();
break;
case PLYR_MOVING:
doMoving();
break;
case PLYR_HIT:
doHit();
break;
};
if (((((_fired) && (_canShoot))) && (_canFire))){
firePressed(_arg1);
if (_canFireAddon){
fireAddons(_arg1);
_canFireAddon = false;
};
_canShoot = false;
_canFire = false;
};
_tarAnm.rotation = (_tarAnm.rotation + (1 * _arg1));
_xDir = 0;
_yDir = 0;
}
public function doMouseDown(_arg1:MouseEvent):void{
_fired = 1;
}
private function doHitByEnemyCraft(_arg1:EnemyObject):void{
_currPlyrState = PLYR_HIT;
}
override public function handleKeyDown(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.LEFT:
left = 1;
break;
case Keyboard.RIGHT:
right = 1;
break;
case Keyboard.CONTROL:
case Keyboard.SHIFT:
case Keyboard.ENTER:
case Keyboard.SPACE:
if (_canFire){
_fired = 1;
};
break;
};
var _local2:String = String.fromCharCode(_arg1.charCode);
switch (_local2){
case "d":
case "D":
right = 1;
break;
case "a":
case "A":
left = 1;
break;
case "X":
case "x":
case "z":
case "Z":
if (_canFire){
_fired = 1;
};
break;
};
}
override public function handleMouseMove(_arg1:MouseEvent):void{
var _local2:Number = (_arg1.stageX - _lastMousePos.x);
var _local3:Number = (_arg1.stageY - _lastMousePos.y);
_lastMousePos.x = _arg1.stageX;
_lastMousePos.y = _arg1.stageY;
}
private function doDeath():void{
}
public function clearVars():void{
right = 0;
left = 0;
up = 0;
down = 0;
_fired = 0;
}
private function doIdle():void{
if (((((((!((_tarAnm.getAnimation() == "player_idle"))) && (!((_tarAnm.getAnimation() == "player_shoot"))))) && ((_tarAnm.getLinearVelocityX() <= 20)))) && ((_tarAnm.getLinearVelocityX() >= -20)))){
_tarAnm.setAnimation("player_idle", 0, false, 1, 1);
_plyrObject.setIdleAnmAddon();
};
if (_plyrObject){
_plyrObject.constantForceX = (_plyrObject.speed * _xDir);
};
}
}
}//package
Section 805
//Preloader (Preloader)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import ToadLib.ui.*;
import flash.net.*;
public class Preloader extends MovieClip {
private const ANM_DELAY:Number = 33;
private var mochiAdsDefaults:Object;
private var mochiBotID:String;
private var _anmCounter:Number;// = 0
private var _currAnmFrame:int;// = 0
private var loaderImage:Bitmap;// = null
private var className:String;// = ""
private var _loadingProgLeft:TextFormat;// = null
private var _loaderAnmArray:Array;
private var _loadingProgText:TextField;// = null
public var timer:Timer;// = null
private var _loaderImage:Bitmap;// = null
private var _numberTwo:TextField;// = null
private var _loadingText:TextField;// = null
private var frameLoaded:Boolean;// = false
private var _loadingProgTextFormat:TextFormat;// = null
private var _numberOne:TextField;// = null
private var _loadingTextFormat:TextFormat;// = null
private var _lastTime:uint;// = 0
private var _loadingProgRight:TextFormat;// = null
private var _progressBar:ProgressBar;// = null
private var adCompleted:Boolean;
private var loaderImageSprite:Sprite;
private var _anmDirection:int;// = 1
private var LC:LocalConnection;// = null
protected var domainsAllowed:Array;
public static const logo0002PNG:Class = Preloader_logo0002PNG;
public static const logo_XML:Class = Preloader_logo_XML;
public static const legionTTF:Class = Preloader_legionTTF;
public static const loader0000JPG:Class = Preloader_loader0000JPG;
public static const logo0007PNG:Class = Preloader_logo0007PNG;
public static const logo0005PNG:Class = Preloader_logo0005PNG;
public static const logo0004PNG:Class = Preloader_logo0004PNG;
public static const logo0003PNG:Class = Preloader_logo0003PNG;
public static const logo0001PNG:Class = Preloader_logo0001PNG;
public static const logo0000PNG:Class = Preloader_logo0000PNG;
public static const logo0006PNG:Class = Preloader_logo0006PNG;
public function Preloader(){
domainsAllowed = ["uploads.ungrounded.net"];
loaderImageSprite = new Sprite();
_loaderAnmArray = [];
super();
stop();
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
var _local1 = "";
var _local2:Class;
_local1 = "Preloader_loader0000JPG";
_local2 = Class(getDefinitionByName(_local1));
_loaderImage = (new (_local2) as Bitmap);
loaderImageSprite.x = 60;
loaderImageSprite.y = 60;
loaderImageSprite.mouseChildren = true;
loaderImageSprite.mouseEnabled = true;
loaderImageSprite.buttonMode = true;
loaderImageSprite.addEventListener(MouseEvent.CLICK, onClickPreloadImage);
loaderImageSprite.addChild(_loaderImage);
stage.addChild(loaderImageSprite);
var _local3:Number = 0;
var _local4:uint;
while (_local4 < 8) {
_local1 = (("Preloader_logo000" + _local4.toString()) + "PNG");
_local2 = Class(getDefinitionByName(_local1));
_loaderAnmArray.push((new (_local2) as Bitmap));
_loaderAnmArray[_local4].x = 87;
_loaderAnmArray[_local4].y = 290;
_local4++;
};
adCompleted = false;
frameLoaded = false;
addEventListener(Event.ENTER_FRAME, checkFrame);
stage.addChild(_loaderAnmArray[0]);
loaderInfo.addEventListener(ProgressEvent.PROGRESS, progress);
root.loaderInfo.addEventListener(Event.COMPLETE, onLoadingCompleted);
timer = new Timer(8);
timer.addEventListener(TimerEvent.TIMER, animationEvent);
timer.start();
_progressBar = new ProgressBar(0, 0, 155, 16);
_progressBar.x = 226;
_progressBar.y = 265;
stage.addChild(_progressBar);
}
private function startup():void{
stop();
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progress);
var _local1:Class = (getDefinitionByName("Main") as Class);
addChild((new (_local1) as DisplayObject));
}
private function progress(_arg1:ProgressEvent):void{
var _local2:Number = ((root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal) * 100);
_progressBar.Update(_local2);
}
private function checkFrame(_arg1:Event):void{
var _local2:Boolean;
var _local3:String;
var _local4:String;
var _local5:int;
if (currentFrame == totalFrames){
removeEventListener(Event.ENTER_FRAME, checkFrame);
_local2 = true;
if (domainsAllowed.length > 0){
_local2 = false;
_local3 = stage.loaderInfo.url.split("/")[2];
for (_local4 in domainsAllowed) {
_local5 = _local3.indexOf(domainsAllowed[_local4]);
if ((((_local5 > -1)) && ((_local5 == (_local3.length - domainsAllowed[_local4].length))))){
_local2 = true;
break;
};
};
};
if (_local2){
stage.removeChild(_loaderAnmArray[_currAnmFrame]);
stage.removeChild(loaderImageSprite);
stage.removeChild(_progressBar);
startup();
};
};
}
private function onClickPreloadImage(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("http://www.toadtrip.com");
navigateToURL(_local2, "_blank");
}
private function onLoadingCompleted(_arg1:Event):void{
root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progress);
root.loaderInfo.removeEventListener(Event.COMPLETE, onLoadingCompleted);
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, animationEvent);
nextFrame();
frameLoaded = true;
}
public function createLoaderText():void{
_loadingTextFormat = new TextFormat();
_loadingTextFormat.font = "MarsAttacks";
_loadingTextFormat.color = 0xFF00;
_loadingTextFormat.size = 36;
_loadingTextFormat.align = TextFormatAlign.LEFT;
_loadingProgTextFormat = new TextFormat();
_loadingProgTextFormat.font = "MarsAttacks";
_loadingProgTextFormat.color = 12113663;
_loadingProgTextFormat.size = 12;
_loadingProgTextFormat.align = TextFormatAlign.CENTER;
_loadingProgLeft = new TextFormat();
_loadingProgLeft.font = "MarsAttacks";
_loadingProgLeft.color = 12113663;
_loadingProgLeft.size = 12;
_loadingProgLeft.align = TextFormatAlign.RIGHT;
_loadingProgRight = new TextFormat();
_loadingProgRight.font = "MarsAttacks";
_loadingProgRight.color = 12113663;
_loadingProgRight.size = 12;
_loadingProgRight.align = TextFormatAlign.LEFT;
_loadingProgText = new TextField();
_loadingProgText.defaultTextFormat = _loadingProgTextFormat;
_loadingProgText.embedFonts = true;
_loadingProgText.autoSize = TextFieldAutoSize.LEFT;
_loadingProgText.antiAliasType = AntiAliasType.NORMAL;
_loadingProgText.text = "OF";
_loadingProgText.visible = true;
stage.addChild(_loadingProgText);
_numberOne = new TextField();
_numberOne.defaultTextFormat = _loadingProgLeft;
_numberOne.embedFonts = true;
_numberOne.autoSize = TextFieldAutoSize.RIGHT;
_numberOne.antiAliasType = AntiAliasType.NORMAL;
_numberOne.text = "0KB";
_numberOne.visible = true;
_numberOne.mouseEnabled = false;
_numberOne.doubleClickEnabled = false;
stage.addChild(_numberOne);
_numberTwo = new TextField();
_numberTwo.defaultTextFormat = _loadingProgRight;
_numberTwo.embedFonts = true;
_numberTwo.autoSize = TextFieldAutoSize.LEFT;
_numberTwo.antiAliasType = AntiAliasType.NORMAL;
_numberTwo.text = "0KB";
_numberTwo.visible = true;
_numberTwo.mouseEnabled = false;
_numberTwo.doubleClickEnabled = false;
stage.addChild(_numberTwo);
}
private function animationEvent(_arg1:TimerEvent):void{
var _local2:uint = getTimer();
var _local3:Number = (_local2 - _lastTime);
_lastTime = _local2;
_anmCounter = (_anmCounter + _local3);
if (_anmCounter >= ANM_DELAY){
stage.removeChild(_loaderAnmArray[_currAnmFrame]);
_currAnmFrame = (_currAnmFrame + _anmDirection);
if (_currAnmFrame > (_loaderAnmArray.length - 1)){
_anmDirection = -1;
_currAnmFrame = (_loaderAnmArray.length - 1);
} else {
if (_currAnmFrame < 0){
_anmDirection = 1;
_currAnmFrame = 0;
};
};
stage.addChild(_loaderAnmArray[_currAnmFrame]);
_anmCounter = 0;
};
}
}
}//package
Section 806
//Preloader_legionTTF (Preloader_legionTTF)
package {
import mx.core.*;
public class Preloader_legionTTF extends FontAsset {
}
}//package
Section 807
//Preloader_loader0000JPG (Preloader_loader0000JPG)
package {
import mx.core.*;
public class Preloader_loader0000JPG extends BitmapAsset {
}
}//package
Section 808
//Preloader_logo_XML (Preloader_logo_XML)
package {
import mx.core.*;
public class Preloader_logo_XML extends ByteArrayAsset {
}
}//package
Section 809
//Preloader_logo0000PNG (Preloader_logo0000PNG)
package {
import mx.core.*;
public class Preloader_logo0000PNG extends BitmapAsset {
}
}//package
Section 810
//Preloader_logo0001PNG (Preloader_logo0001PNG)
package {
import mx.core.*;
public class Preloader_logo0001PNG extends BitmapAsset {
}
}//package
Section 811
//Preloader_logo0002PNG (Preloader_logo0002PNG)
package {
import mx.core.*;
public class Preloader_logo0002PNG extends BitmapAsset {
}
}//package
Section 812
//Preloader_logo0003PNG (Preloader_logo0003PNG)
package {
import mx.core.*;
public class Preloader_logo0003PNG extends BitmapAsset {
}
}//package
Section 813
//Preloader_logo0004PNG (Preloader_logo0004PNG)
package {
import mx.core.*;
public class Preloader_logo0004PNG extends BitmapAsset {
}
}//package
Section 814
//Preloader_logo0005PNG (Preloader_logo0005PNG)
package {
import mx.core.*;
public class Preloader_logo0005PNG extends BitmapAsset {
}
}//package
Section 815
//Preloader_logo0006PNG (Preloader_logo0006PNG)
package {
import mx.core.*;
public class Preloader_logo0006PNG extends BitmapAsset {
}
}//package
Section 816
//Preloader_logo0007PNG (Preloader_logo0007PNG)
package {
import mx.core.*;
public class Preloader_logo0007PNG extends BitmapAsset {
}
}//package