Section 1
//GameBackground (classesAS3.GameBackground)
package classesAS3 {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.filters.*;
import fl.transitions.*;
public class GameBackground extends MovieClip {
public var infoMc:Object;
public var gameOptionsMc:GameGameOptions;
var startColor:ColorTransform;
var endColor:ColorTransform;
var highlightedMc:MovieClip;// = null
var tween:Tween;
var glowFilter2:GlowFilter;
public var rt:Object;
var glowFilter:GlowFilter;
var attackGlowFilter:GlowFilter;
public var dStand:MovieClip;
public function GameBackground(rt2){
var color:Number;
var alpha:Number;
var blurX:Number;
var blurY:Number;
var strength:Number;
var inner:Boolean;
var knockout:Boolean;
var quality:Number;
highlightedMc = null;
super();
rt = rt2;
color = 0xFFFFFF;
alpha = 0.9;
blurX = 8;
blurY = 8;
strength = 200;
inner = true;
knockout = false;
quality = BitmapFilterQuality.LOW;
glowFilter = new GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout);
glowFilter2 = new GlowFilter(0xFF0000, 1, 16, 16, 0xFF, BitmapFilterQuality.LOW, true, false);
attackGlowFilter = new GlowFilter(0xFF0000, 0.8, 8, 8, 200, BitmapFilterQuality.LOW, true, false);
gameOptionsMc = new GameGameOptions(rt);
gameOptionsMc.x = 11;
gameOptionsMc.y = 219;
}
public function removeMe(){
stop();
}
function finishStuff(event:MouseEvent):void{
}
}
}//package classesAS3
Section 2
//GameBadGuy (classesAS3.GameBadGuy)
package classesAS3 {
import flash.display.*;
import flash.media.*;
import classesAS3.*;
import flash.filters.*;
class GameBadGuy {
var justAppeared:Boolean;
var xVel:Number;// = 0
var myDamageDelay:Number;
var hitVel;
var myPartScore:Number;// = 0
var yPos:Number;// = 0
var cArraylength:Number;
var armGone:Boolean;// = false
var inToGround:Number;
var myOldAnimationState:Number;
var myArmShot:String;// = ""
var numberOfMissiles;// = 0
public var soldierState:int;
var myDamage:Number;
var myArmour:Number;
var range:Number;
var energyMc:MovieClip;
var rt:Object;
var myScore:Number;
var speed:Number;// = 0
var velocities:Object;// = null
var delayToAttack:Number;// = 0
var gravity:Number;
var delayToMove:Number;
var myGround:Number;// = 0
var collisionArray:Array;
var myName:String;
var doJump:Boolean;// = false
var myMoneyValue:Number;// = 0
var projectileMc:Object;
var speedOld:Number;
var energyBarMc:GameEnergyBar;
public var dead:Boolean;
var glowFilter:GlowFilter;
var diseaseDelay:Number;// = 10
var yVel:Number;// = 0
var distanceArray:Array;
var myParent:Object;
var myFliesMc:zombieDisease;// = null
var mC:Object;
var animMc:Object;
var energy:Number;// = 0
public var frozen:Boolean;// = false
var myFireDelay:Number;
var energyBarOn:Boolean;// = false
var myProjectile:String;
var Useful:GameUseful;
var headShots:Number;// = 0
var energyStart:Number;// = 0
var xPos:Number;// = 0
var xOrigin:Number;// = 0
var headHitBlock:Object;
var myHeadShot:String;// = ""
public var currentMapIndexX:Number;
var missileName:String;
var delayToFireMissile:Number;// = 1
public var currentMapIndexY:Number;
var sinAngle:Number;// = 0
var targetX:Number;
var targetY:Number;
public var myCurrentSound:SoundChannel;
var filterDelay:Number;
var myRange:Number;
var xDir:Number;// = 1
var collisionCheck:Number;
var yOrigin:Number;// = 0
public static const SOLDIER_STATE_DEFEND:int = 1;
public static const SOLDIER_STATE_FALLING:int = 4;
public static const SOLDIER_E_MOVE:int = 5;
public static const SOLDIER_STATE_RETREAT:int = 3;
public static const SOLDIER_E_STAND:int = 0;
public static const SOLDIER_STATE_ATTACK:int = 0;
public static const SOLDIER_E_BUILD:int = 2;
public static const SOLDIER_STATE_MOVE:int = 5;
public static const SOLDIER_STATE_FIGHTING:int = 2;
function GameBadGuy(rt2, uu, myN, mcc, xStart, yStart, sp, myScoreV, dM, myA, myPS, myHS, myAS, myMV){
var diseaseChance:Number;
xOrigin = 0;
yOrigin = 0;
xPos = 0;
yPos = 0;
xVel = 0;
yVel = 0;
speed = 0;
xDir = 1;
energyStart = 0;
energy = 0;
delayToFireMissile = 1;
numberOfMissiles = 0;
energyBarOn = false;
frozen = false;
myPartScore = 0;
armGone = false;
doJump = false;
myGround = 0;
velocities = null;
myHeadShot = "";
myArmShot = "";
sinAngle = 0;
myMoneyValue = 0;
headShots = 0;
myFliesMc = null;
diseaseDelay = 10;
delayToAttack = 0;
super();
mC = mcc;
animMc = mC.soldier;
mC.myObject = this;
rt = rt2;
myMoneyValue = myMV;
myPartScore = myPS;
myHeadShot = myHS;
myArmShot = myAS;
Useful = uu;
myArmour = myA;
speed = sp;
myDamage = dM;
myScore = myScoreV;
xOrigin = xStart;
yOrigin = yStart;
xPos = 0;
yPos = 0;
xVel = 0;
yVel = 0;
myParent = mC.parent;
distanceArray = new Array();
glowFilter = new GlowFilter(0xFFFFFF, 1, 3, 3, 3, 1);
energyStart = 100;
energy = energyStart;
soldierState = SOLDIER_STATE_ATTACK;
myName = myN;
if (myName == "GameMole"){
animMc.gotoAndStop("digOut");
} else {
animMc.gotoAndStop("run");
};
hitVel = 0;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
myGround = yPos;
if (myName == "GameFish"){
delayToAttack = Useful.RandomNumber(100, 140);
} else {
delayToAttack = Useful.RandomNumber(20, 100);
};
if (rt.rt.playersArray[0].disease == true){
diseaseChance = Useful.RandomNumber(1, 100);
if (diseaseChance > 60){
myFliesMc = new zombieDisease();
mC.addChild(myFliesMc);
myFliesMc.y = -20;
myFliesMc.x = 10;
Useful.tintColor(mC, 0xFF00, 0.1);
diseaseDelay = 10;
};
};
if (myName == "GameHamster"){
animMc.gotoAndStop("ball");
speed = (speed * 2);
};
}
function mainLoop(){
var notDigging:Boolean;
if (dead == true){
remove();
} else {
if (delayToMove > 0){
delayToMove--;
} else {
notDigging = false;
if (myName == "GameMole"){
if (animMc.currentFrame == 9){
notDigging = true;
};
};
if (notDigging == false){
if (checkForAttacking() == false){
updatePosition();
};
if (myFliesMc != null){
decreaseEnergy("disease", 0.1, mC);
};
};
};
};
}
function updatePosition(){
if (frozen == false){
if (energy > 0){
if (doJump == true){
applyGravity();
if (rt.checkForDohnut()){
xVel = (xVel / 2);
};
xPos = (xPos + xVel);
yPos = (yPos + yVel);
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
if (yPos > myGround){
jumpDone();
};
} else {
if (myName == "GameTortoise"){
delayToAttack--;
if (delayToAttack <= 0){
if (animMc.currentFrame == 8){
delayToAttack = Useful.RandomNumber(50, 100);
animMc.gotoAndStop("shellOut");
} else {
delayToAttack = Useful.RandomNumber(50, 100);
animMc.gotoAndStop("shellIn");
};
} else {
if (animMc.currentFrame != 8){
xVel = (xDir * speed);
if (rt.checkForDohnut()){
xVel = (xVel / 2);
};
hitVel = 0;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
if (mC.x > rt.movieWidth){
remove();
};
};
};
} else {
if (myName == "GameBudgie"){
xVel = (xDir * speed);
if (rt.checkForDohnut()){
xVel = (xVel / 2);
};
xPos = (xPos + xVel);
yPos = (Math.sin(sinAngle) * 50);
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
sinAngle = (sinAngle + 0.1);
} else {
if (myName == "GameParrot"){
xVel = (xDir * speed);
if (rt.checkForDohnut()){
xVel = (xVel / 2);
};
xPos = (xPos + xVel);
yPos = (Math.sin(sinAngle) * 50);
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
sinAngle = (sinAngle + 0.1);
} else {
if (myName != "GameRabbit"){
xVel = (xDir * speed);
if (rt.checkForDohnut()){
xVel = (xVel / 2);
};
hitVel = 0;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
if (mC.x > rt.movieWidth){
remove();
};
if (myName == "GameMouse"){
if (mC.x < -60){
rt.aliensLeft--;
if (rt.aliensLeft < 0){
rt.aliensLeft = 0;
};
remove();
};
};
};
};
};
};
};
};
};
}
public function ferretAttack(){
rt.statsMc.decreaseEnergy(myDamage);
}
public function jump(){
if (doJump == false){
if (myName == "GameCat"){
velocities = Useful.getArcVelocity(3, 4, mC.x, mC.y, (mC.x + 100), mC.y);
} else {
velocities = Useful.getArcVelocity(10, 6, mC.x, mC.y, (mC.x + 50), mC.y);
};
doJump = true;
xVel = velocities.xStep;
yVel = velocities.yStep;
};
}
function applyGravity(){
yVel = (yVel + velocities.gravity);
}
function updatePosition2(){
var oldX:*;
var oldY:*;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
oldX = mC.x;
oldY = mC.y;
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
}
public function remove(){
var i2:int;
var arrayIndex:Number;
var i1:*;
if (myCurrentSound != null){
myCurrentSound.stop();
};
i2 = 0;
while (i2 < myParent.numChildren) {
if (myParent.getChildAt(i2) == mC){
myParent.removeChild(mC);
mC.stop();
};
i2++;
};
arrayIndex = -1;
i1 = 0;
while (i1 < rt.badGuysArray.length) {
if (this == rt.badGuysArray[i1]){
arrayIndex = i1;
};
i1++;
};
if (arrayIndex >= 0){
rt.badGuysArray.splice(arrayIndex, 1);
};
}
function loseLimb(whatLimb){
var dir:*;
var limbDist:Number;
var zombieType:*;
var ground:Number;
var spriteData:Object;
dir = -1;
limbDist = Useful.RandomNumber(40, 80);
limbDist = (limbDist * dir);
zombieType = 1;
ground = (mC.y + (mC.height / 2));
if ((yPos - 5) < myGround){
ground = 400;
} else {
if (myName == "GameParrot"){
ground = 400;
} else {
if (myName == "GameBudgie"){
ground = 400;
};
};
};
spriteData = Useful.getArcVelocity(2, 16, mC.x, (mC.y + mC.height), (mC.x + limbDist), (mC.y - 100));
rt.zombiePartsArray.push(new GameZombieParts(rt.inGameMissilesMc, rt, spriteData, whatLimb, mC.x, mC.y, zombieType, ground, myPartScore, null));
rt.inGameMissilesMc.addChild(rt.zombiePartsArray[(rt.zombiePartsArray.length - 1)]);
}
function doDeath(dieType, whoKilledMe){
var ss:Number;
var risingScoreMc:*;
if (whoKilledMe != null){
if (myName == "GameMouse"){
rt.statsMc.mouseIncreaseMoney(50);
};
rt.rt.playersArray[whoKilledMe.myObject.myParentIndex].numberOfZombiesKilled++;
rt.statsMc.increaseScore(myScore, whoKilledMe);
rt.statsMc.increaseMoney(myMoneyValue, whoKilledMe);
risingScoreMc = new GameRisingMoney(rt, rt.inGameScoreMc, myMoneyValue);
rt.inGameScoreMc.addChild(risingScoreMc);
risingScoreMc.x = mC.x;
risingScoreMc.y = (mC.y - 10);
rt.risingScoreArray.push(risingScoreMc);
rt.badGuyDelay = Useful.RandomNumber(10, 20);
};
energy = 0;
ss = Useful.RandomNumber(1, 10);
if (ss > 5){
rt.Sounds.playSoundFx("zombieDie1Fx", 0.4, 0, 1);
} else {
rt.Sounds.playSoundFx("zombieDie2Fx", 0.4, 0, 1);
};
animMc.gotoAndStop(dieType);
rt.aliensLeft--;
if (rt.aliensLeft < 0){
rt.aliensLeft = 0;
};
}
public function fireTail(){
var spriteData:Object;
var yStart:Number;
var newXY:Object;
spriteData = new Object();
yStart = 0;
newXY = rt.Useful.localToGlobalXY(animMc.firePoint);
spriteData = Useful.pointTowards((rt.backSkyMc.dStand.x + 20), newXY.newY, newXY.newX, newXY.newY);
rt.missilesArray.push(new GameMissile(rt.inGameMissilesMc, rt, spriteData, myName, newXY.newX, newXY.newY, 1, 449, 11, null, this, 10, (myDamage * 2)));
rt.inGameMissilesMc.addChild(rt.missilesArray[(rt.missilesArray.length - 1)]);
}
public function fireProjectile(mReleaseMc2){
var spriteData:Object;
var yStart:Number;
var newXY:Object;
if (dead == false){
yStart = 0;
newXY = rt.Useful.localToGlobalXY(animMc.firePoint);
if (myName != "GameFish"){
spriteData = Useful.getArcVelocity(1, 20, newXY.newX, newXY.newY, rt.backSkyMc.dStand.x, newXY.newY);
} else {
spriteData = Useful.pointTowards(rt.backSkyMc.dStand.x, (rt.backSkyMc.dStand.y + 200), newXY.newX, newXY.newY);
};
rt.missilesArray.push(new GameMissile(rt.inGameMissilesMc, rt, spriteData, myName, newXY.newX, newXY.newY, 1, 449, 11, null, this, 10, (myDamage * 10)));
rt.inGameMissilesMc.addChild(rt.missilesArray[(rt.missilesArray.length - 1)]);
};
}
function decreaseEnergy(hitType, damage, hurtMeMc){
var noHit:Boolean;
var e:Number;
var spIncrease:Number;
noHit = false;
if (myName == "GameTortoise"){
if (animMc.currentFrame == 8){
noHit = true;
};
};
if (myName == "GameBlowfish"){
noHit = true;
rt.explosionsArray.push(new GameExplosion(rt, mC.x, mC.y, 2, rt.Useful, 2, 2, rt.Useful.RandomNumber(20, 60), true, false, false, 12, 100, false, null));
energy = 0;
doDeath("die", hurtMeMc);
};
if (noHit == false){
if (hitType != "disease"){
rt.explosionsArray.push(new GameExplosion(rt, mC.x, mC.y, 1, rt.Useful, rt.Useful.RandomNumber(5, 15), 1, rt.Useful.RandomNumber(20, 60), true, false, false, 12, 0, false, null));
};
if (hitType == "headShot"){
doDeath("dieHeadShot", hurtMeMc);
if (myHeadShot != ""){
loseLimb(myHeadShot);
};
} else {
if (energy > 0){
if (energy >= 60){
if (myName == "GameHamster"){
myArmour = 8;
};
};
damage = (damage / myArmour);
energy = (energy - damage);
if (energyBarOn == false){
energyBarOn = true;
energyBarMc = new GameEnergyBar(this);
mC.addChild(energyBarMc);
};
energyBarMc.x = 0;
energyBarMc.y = -35;
e = (energy / 10);
energyBarMc.bar.bar.y = int((10 - e));
if (energyBarMc.bar.bar.y > 10){
energyBarMc.bar.bar.y = 10;
};
if (energy <= 0){
doDeath("die", hurtMeMc);
return (true);
};
if (energy < 30){
if (mC.currentFrame != 3){
mC.gotoAndStop(3);
};
if (myName == "GameHamster"){
speed = 2;
spIncrease = (rt.levelNumber / 10);
speed = (speed + spIncrease);
};
if (myName == "GameMouse"){
if (xDir > 0){
animMc.gotoAndStop("hurt");
};
} else {
animMc.gotoAndStop("hurt");
};
} else {
if (energy < 60){
if (armGone == false){
armGone = true;
if (myArmShot != ""){
loseLimb(myArmShot);
};
};
if (myName == "GameLizard"){
animMc.gotoAndStop("loseTail");
} else {
if (mC.currentFrame != 2){
mC.gotoAndStop(2);
};
if (myName == "GameHamster"){
speed = 2;
spIncrease = (rt.levelNumber / 10);
speed = (speed + spIncrease);
};
if (myName == "GameMouse"){
if (xDir > 0){
animMc.gotoAndStop("hurt");
};
} else {
animMc.gotoAndStop("hurt");
};
};
} else {
if (animMc.currentFrame != 4){
if (hitType != "disease"){
if (energy >= 60){
if (myName == "GameHamster"){
animMc.gotoAndStop("ball");
speed++;
} else {
if (myName == "GameMouse"){
if (xDir > 0){
animMc.gotoAndStop("hurt");
};
} else {
animMc.gotoAndStop("hurt");
};
};
};
};
};
};
};
};
};
};
return (false);
}
public function jumpDone(){
if (doJump == true){
doJump = false;
yPos = myGround;
yVel = 0;
mC.x = (xOrigin + xPos);
mC.y = (yOrigin + yPos);
};
}
function checkForAttacking():Boolean{
var newXY:Object;
var newXY2:Object;
var distance:Number;
var ss:Number;
if (energy > 0){
if (animMc != null){
if (animMc.currentFrame != 3){
if (myName == "GameFerret"){
newXY = rt.Useful.localToGlobalXY(rt.backSkyMc.dStand);
newXY2 = rt.Useful.localToGlobalXY(mC);
distance = (newXY.newX - newXY2.newX);
if (distance < 146){
animMc.gotoAndStop("attack");
return (false);
};
} else {
if (mC.hitTestObject(rt.backSkyMc.dStand)){
if (myName == "GameMouse"){
if (xDir > 0){
xDir = -1;
animMc.scaleX = -1;
animMc.gotoAndStop("steal");
rt.statsMc.mouseDecreaseMoney(50);
};
} else {
if (myName == "GameBlowfish"){
energy = 0;
rt.explosionsArray.push(new GameExplosion(rt, mC.x, mC.y, 2, rt.Useful, 1, 1, rt.Useful.RandomNumber(60, 60), true, false, true, 0, 100, false, null));
rt.statsMc.decreaseEnergy(myDamage);
ss = Useful.RandomNumber(1, 10);
if (ss > 5){
rt.Sounds.playSoundFx("zombieDie1Fx", 0.4, 0, 1);
} else {
rt.Sounds.playSoundFx("zombieDie2Fx", 0.4, 0, 1);
};
animMc.gotoAndStop("die");
rt.aliensLeft--;
if (rt.aliensLeft < 0){
rt.aliensLeft = 0;
};
} else {
rt.statsMc.decreaseEnergy(myDamage);
if (myName == "GameFish"){
if (animMc.currentFrame != 8){
animMc.gotoAndStop("closeAttack");
};
} else {
animMc.gotoAndStop("attack");
};
return (true);
};
};
} else {
if (myName == "GameFish"){
delayToAttack--;
if (delayToAttack <= 0){
delayToAttack = Useful.RandomNumber(20, 100);
animMc.gotoAndStop("attack");
};
};
};
};
} else {
return (true);
};
};
};
return (false);
}
}
}//package classesAS3
Section 3
//GameBattleScreen (classesAS3.GameBattleScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import fl.motion.easing.*;
import com.gskinner.motion.plugins.*;
import flash.text.*;
public class GameBattleScreen extends MovieClip {
var endPosY:Number;// = 0
var startPosX:Number;// = 0
var myTween2:GTween;
var startPosY:Number;// = 0
var myTween:GTween;
var myMsg:String;// = ""
public var rt:Object;
var myPlayer:Object;// = null
var endPosX:Number;// = 0
public function GameBattleScreen(rt2, startX, startY, endX, endY){
myMsg = "";
myPlayer = null;
startPosX = 0;
startPosY = 0;
endPosX = 0;
endPosY = 0;
super();
rt = rt2;
startPosX = startX;
startPosY = startY;
endPosX = endX;
endPosY = endY;
this.x = startPosX;
this.y = startPosY;
MotionBlurPlugin.install();
myTween = new GTween(this, 0.5, {x:endPosX}, {ease:Sine.easeOut});
myTween.pluginData.MotionBlurEnabled = true;
myTween2 = new GTween(this, 0.5, {alpha:1}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneStart;
}
function tweenDoneEnd(tween:GTween):void{
removeMe();
}
public function removeMe(){
rt.inGameMsgsMc.removeChild(this);
myPlayer.startGameMsgMc = null;
stop();
}
function finishStuff(event:MouseEvent):void{
}
function tweenDoneStart(tween:GTween):void{
}
}
}//package classesAS3
Section 4
//GameBert (classesAS3.GameBert)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class GameBert extends MovieClip {
public var myObject:Object;// = null
public var rt:Object;
public var soldier:MovieClip;
public function GameBert(rt2){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
rt = rt2;
}
public function removeMe(){
stop();
}
function frame10(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame6(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame7(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame1(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame4(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame5(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame8(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame9(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame11(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
}
}//package classesAS3
Section 5
//GameBlowfish (classesAS3.GameBlowfish)
package classesAS3 {
import flash.display.*;
public class GameBlowfish extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameBlowfish(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 6
//GameBonusTxt (classesAS3.GameBonusTxt)
package classesAS3 {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class GameBonusTxt extends MovieClip {
public var txt:MovieClip;
public function GameBonusTxt(){
super();
addFrameScript(24, frame25);
}
function frame25(){
this.inGameScoreMc.removeChild(this);
stop();
}
}
}//package classesAS3
Section 7
//GameBudgie (classesAS3.GameBudgie)
package classesAS3 {
import flash.display.*;
public class GameBudgie extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameBudgie(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 8
//GameCat (classesAS3.GameCat)
package classesAS3 {
import flash.display.*;
public class GameCat extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameCat(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 9
//GameChooseCharScreen (classesAS3.GameChooseCharScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameChooseCharScreen extends MovieClip {
public var rt:Object;
public function GameChooseCharScreen(rt2){
super();
rt = rt2;
}
function chooseJim(event:MouseEvent):void{
rt.setupJim();
}
function chooseBert(event:MouseEvent):void{
rt.setupBert();
}
}
}//package classesAS3
Section 10
//GameCompleteScreen (classesAS3.GameCompleteScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameCompleteScreen extends MovieClip {
public var submitBtn:SimpleButton;
public var rt:Object;
public var scoreTxt:TextField;
public var nameTxt:TextField;
public var homeBtn:SimpleButton;
public function GameCompleteScreen(rt2){
super();
addFrameScript(137, frame138);
rt = rt2;
homeBtn.addEventListener(MouseEvent.MOUSE_UP, doHome);
}
function doHome(event:MouseEvent):void{
rt.rt.setupGameOverTitleScreen();
}
function frame138(){
scoreTxt.text = MovieClip(this).rt.score;
submitBtn.addEventListener(MouseEvent.MOUSE_UP, doScore);
stop();
}
public function doScore(event:MouseEvent):void{
if (nameTxt.text != ""){
MovieClip(this).rt.rt.sendScore(MovieClip(this).rt.score, nameTxt.text);
MovieClip(this).rt.rt.showScores2();
MovieClip(this).rt.rt.setupGameOverTitleScreen();
};
}
}
}//package classesAS3
Section 11
//GameDog (classesAS3.GameDog)
package classesAS3 {
import flash.display.*;
public class GameDog extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameDog(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 12
//GameEnergyBar (classesAS3.GameEnergyBar)
package classesAS3 {
import flash.display.*;
public class GameEnergyBar extends MovieClip {
public var bar:energyBar;
var enemy:Object;
public function GameEnergyBar(enemySprite){
super();
addFrameScript(22, frame23);
enemy = enemySprite;
}
function frame23(){
this.enemy.energyBarOn = false;
MovieClip(this.parent).removeChild(this);
stop();
}
}
}//package classesAS3
Section 13
//GameExplosion (classesAS3.GameExplosion)
package classesAS3 {
import classesAS3.*;
class GameExplosion {
var xVel:Number;// = 0
var explodeFrame:Number;
var numberOfParticles:Number;
var yPos:Number;// = 0
var myRow:Number;
var numberOfLoops:Number;
var Useful:GameUseful;
var myDamage:Number;
var xPos:Number;// = 0
var xOrigin:Number;// = 0
var rt:Object;
var mType:Number;
var artillary:Number;
var mC:Object;
var gravity:Number;
var myParentGB:Boolean;
var speed:Number;
var firedMeMc:Object;// = null
var yVel:Number;// = 0
var fullRange:Boolean;
var Count:Number;
var arrayIndex:Number;
var explodeDistance:Number;
var yOrigin:Number;// = 0
function GameExplosion(rt2, xStart, yStart, type, useF, numberOfP, numberOfL, dist, gravityS, artillaryS, fullR, sp, myD, myGB, fMe){
xOrigin = 0;
yOrigin = 0;
xPos = 0;
yPos = 0;
xVel = 0;
yVel = 0;
firedMeMc = null;
super();
rt = rt2;
Useful = useF;
myDamage = myD;
myParentGB = myGB;
firedMeMc = fMe;
fullRange = fullR;
numberOfParticles = numberOfP;
numberOfLoops = numberOfL;
explodeDistance = dist;
gravity = gravityS;
artillary = artillaryS;
speed = sp;
xOrigin = xStart;
yOrigin = yStart;
xPos = 0;
yPos = 0;
Count = 0;
mType = type;
}
function remove(){
var arrayIndex:Number;
var i1:*;
arrayIndex = 0;
i1 = 0;
while (i1 < rt.explosionsArray.length) {
if (this == rt.explosionsArray[i1]){
arrayIndex = i1;
break;
};
i1++;
};
rt.explosionsArray.splice(arrayIndex, 1);
}
function mainLoop(){
var z:int;
var rot:Number;
var vectors:Object;
var newMc:GameParticle;
z = 0;
while (z < numberOfParticles) {
if (fullRange == false){
if (numberOfLoops == 0){
rot = 180;
} else {
rot = Useful.RandomNumber(20, 160);
rot = (rot + 90);
if (rot > 359){
rot = (rot - 359);
};
};
} else {
rot = Useful.RandomNumber(1, 360);
};
vectors = Useful.getVectorFromAngle(rot);
newMc = new GameParticle(rt, Useful, xOrigin, yOrigin, mType, vectors.vx, vectors.vy, ((vectors.vx * explodeDistance) + xOrigin), ((vectors.vy * explodeDistance) + yOrigin), artillary, gravity, explodeDistance, speed, myDamage, myParentGB, firedMeMc);
rt.inGameExplosionsMc.addChild(newMc);
rt.particlesArray.push(newMc);
if (myDamage == 0){
newMc.rotation = rot;
};
z++;
};
Count++;
if (Count > numberOfLoops){
remove();
};
}
}
}//package classesAS3
Section 14
//GameExplosionAnim (classesAS3.GameExplosionAnim)
package classesAS3 {
import flash.display.*;
public class GameExplosionAnim extends MovieClip {
public var myParent:Object;
public var rt:Object;
public var myIndex:Number;
public function GameExplosionAnim(){
super();
addFrameScript(12, frame13);
}
public function removeMe(){
}
function frame13(){
this.removeMe();
stop();
}
}
}//package classesAS3
Section 15
//GameExtraAmmo (classesAS3.GameExtraAmmo)
package classesAS3 {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class GameExtraAmmo extends MovieClip {
public var txt:MovieClip;
public function GameExtraAmmo(){
super();
addFrameScript(19, frame20);
}
function frame20(){
this.inGameScoreMc.removeChild(this);
stop();
}
}
}//package classesAS3
Section 16
//GameFerret (classesAS3.GameFerret)
package classesAS3 {
import flash.display.*;
public class GameFerret extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameFerret(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 17
//GameFile (classesAS3.GameFile)
package classesAS3 {
import flash.display.*;
import flash.net.*;
import flash.text.*;
public class GameFile extends Sprite {
public var rt:Object;
var shared:SharedObject;
public function GameFile(rt2){
super();
rt = rt2;
shared = SharedObject.getLocal("fombies1");
if (shared.data.visits == undefined){
shared.data.visits = 1;
};
shared.close();
}
public function newCookie(){
shared = SharedObject.getLocal("fombies1");
shared.clear();
shared.close();
}
public function show_text(str){
var shared_text:TextField;
var format:TextFormat;
shared_text = new TextField();
format = new TextFormat();
format.font = "Lucida Console";
format.color = 0xFFFF00;
shared_text.width = 300;
shared_text.defaultTextFormat = format;
shared_text.x = 25;
shared_text.y = 15;
addChild(shared_text);
shared_text.appendText((("You visited this page " + str) + " times"));
}
public function saveGameCookie(){
var level:Number;
var energy:Number;
var gold:Number;
var score:Number;
var saved_array:*;
var numberOfZombiesKilled:*;
var grenades:*;
var wer:Number;
var saved_array2:*;
if (rt.GameMain.gold < 200){
wer = 10;
};
shared = SharedObject.getLocal("fombies1");
level = rt.GameMain.levelNumber;
shared.data.levelNumber = level;
energy = rt.GameMain.energy;
shared.data.energy = energy;
gold = rt.GameMain.gold;
shared.data.gold = gold;
score = rt.GameMain.score;
shared.data.score = score;
shared.data.musicSwitch = rt.GameMain.musicSwitch;
shared.data.startSoundVolume = rt.startSoundVolume;
shared.data.startFxVolume = rt.startFxVolume;
shared.data.myName = rt.playersArray[0].myName;
shared.data.playerName = rt.playersArray[0].playerName;
shared.data.gunTypeIndex = rt.playersArray[0].gunTypeIndex;
shared.data.gunUpgraded = rt.playersArray[0].gunUpgraded;
saved_array = rt.playersArray[0].bulletsArray.slice();
shared.data.bulletsArray = saved_array;
shared.data.restoreEnergyOn = rt.playersArray[0].restoreEnergyOn;
shared.data.dohnut = rt.playersArray[0].dohnut;
shared.data.dohnutBox = rt.playersArray[0].dohnutBox;
shared.data.giantDohnut = rt.playersArray[0].giantDohnut;
shared.data.disease = rt.playersArray[0].disease;
shared.data.airstrike = rt.playersArray[0].airstrike;
shared.data.playersGold = rt.playersArray[0].gold;
shared.data.playersScore = rt.playersArray[0].score;
numberOfZombiesKilled = rt.playersArray[0].numberOfZombiesKilled;
shared.data.numberOfZombiesKilled = numberOfZombiesKilled;
grenades = rt.playersArray[0].grenades;
shared.data.grenades = grenades;
shared.data.grenadesUsed = rt.playersArray[0].grenadesUsed;
if (rt.playersArray[1].used == true){
shared.data.player2Used = true;
shared.data.myName2 = rt.playersArray[1].myName;
shared.data.playerName2 = rt.playersArray[1].playerName;
shared.data.gunTypeIndex2 = rt.playersArray[1].gunTypeIndex;
shared.data.gunUpgraded2 = rt.playersArray[1].gunUpgraded;
saved_array2 = rt.playersArray[1].bulletsArray.slice();
shared.data.bulletsArray2 = saved_array2;
shared.data.restoreEnergyOn2 = rt.playersArray[1].restoreEnergyOn;
shared.data.dohnut2 = rt.playersArray[1].dohnut;
shared.data.dohnutBox2 = rt.playersArray[1].dohnutBox;
shared.data.giantDohnut2 = rt.playersArray[1].giantDohnut;
shared.data.disease2 = rt.playersArray[1].disease;
shared.data.airstrike2 = rt.playersArray[1].airstrike;
shared.data.playersGold2 = rt.playersArray[1].gold;
shared.data.playersScore2 = rt.playersArray[1].score;
numberOfZombiesKilled = rt.playersArray[1].numberOfZombiesKilled;
shared.data.numberOfZombiesKilled2 = numberOfZombiesKilled;
grenades = rt.playersArray[1].grenades;
shared.data.grenades2 = grenades;
shared.data.grenadesUsed2 = rt.playersArray[1].grenadesUsed;
} else {
shared.data.player2Used = false;
};
shared.flush();
shared.close();
}
public function checkForSaved():Boolean{
shared = SharedObject.getLocal("fombies1");
return (false);
}
public function loadGameCookie():Boolean{
var saved_array:*;
shared = SharedObject.getLocal("fombies1");
if (shared.data.visits == undefined){
return (false);
};
if (shared.data.levelNumber == undefined){
return (false);
};
rt.GameMain.levelNumber = shared.data.levelNumber;
rt.GameMain.energy = shared.data.energy;
rt.GameMain.gold = shared.data.gold;
rt.GameMain.score = shared.data.score;
rt.GameMain.musicSwitch = shared.data.musicSwitch;
rt.startSoundVolume = shared.data.startSoundVolume;
rt.startFxVolume = shared.data.startFxVolume;
rt.playersArray[0].myName = shared.data.myName;
rt.playersArray[0].playerName = shared.data.playerName;
rt.playersArray[0].gunTypeIndex = shared.data.gunTypeIndex;
rt.playersArray[0].gunUpgraded = shared.data.gunUpgraded;
saved_array = shared.data.bulletsArray;
rt.playersArray[0].bulletsArray = saved_array.slice();
rt.playersArray[0].restoreEnergyOn = shared.data.restoreEnergyOn;
rt.playersArray[0].dohnut = shared.data.dohnut;
rt.playersArray[0].dohnutBox = shared.data.dohnutBox;
rt.playersArray[0].giantDohnut = shared.data.giantDohnut;
rt.playersArray[0].disease = shared.data.disease;
rt.playersArray[0].airstrike = shared.data.airstrike;
rt.playersArray[0].numberOfHeadShots = 0;
rt.playersArray[0].bulletsUsed = 0;
rt.playersArray[0].numberOfHits = 0;
rt.playersArray[0].gold = shared.data.playersGold;
rt.playersArray[0].score = shared.data.playersScore;
rt.playersArray[0].numberOfZombiesKilled = shared.data.numberOfZombiesKilled;
rt.playersArray[0].grenades = shared.data.grenades;
rt.playersArray[0].grenadesUsed = shared.data.grenadesUsed;
if (shared.data.player2Used == true){
rt.playersArray[1].used = true;
rt.playersArray[1].myName = shared.data.myName2;
rt.playersArray[1].playerName = shared.data.playerName2;
rt.playersArray[1].gunTypeIndex = shared.data.gunTypeIndex2;
rt.playersArray[1].gunUpgraded = shared.data.gunUpgraded2;
saved_array = shared.data.bulletsArray2;
rt.playersArray[1].bulletsArray = saved_array.slice();
rt.playersArray[1].restoreEnergyOn = shared.data.restoreEnergyOn2;
rt.playersArray[1].dohnut = shared.data.dohnut2;
rt.playersArray[1].dohnutBox = shared.data.dohnutBox2;
rt.playersArray[1].giantDohnut = shared.data.giantDohnut2;
rt.playersArray[1].disease = shared.data.disease2;
rt.playersArray[1].airstrike = shared.data.airstrike2;
rt.playersArray[1].numberOfHeadShots = 0;
rt.playersArray[1].bulletsUsed = 0;
rt.playersArray[1].numberOfHits = 0;
rt.playersArray[1].gold = shared.data.playersGold2;
rt.playersArray[1].score = shared.data.playersScore2;
rt.playersArray[1].numberOfZombiesKilled = shared.data.numberOfZombiesKilled2;
rt.playersArray[1].grenades = shared.data.grenades2;
rt.playersArray[1].grenadesUsed = shared.data.grenadesUsed2;
};
shared.close();
return (true);
}
public function findPlayer(playerName){
var i:*;
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerName == playerName){
return (rt.playersArray[i].playerObject);
};
i++;
};
return (rt.playersArray[0].playerObject);
}
}
}//package classesAS3
Section 18
//GameFish (classesAS3.GameFish)
package classesAS3 {
import flash.display.*;
public class GameFish extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameFish(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 19
//GameFloor (classesAS3.GameFloor)
package classesAS3 {
import flash.display.*;
public class GameFloor extends MovieClip {
public var rt:Object;
public function GameFloor(){
super();
}
public function removeMe(){
}
}
}//package classesAS3
Section 20
//GameFPS (classesAS3.GameFPS)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.text.*;
public class GameFPS extends Sprite {
private var ticks:uint;// = 0
private var tf:TextField;
private var last:uint;
public function GameFPS(xPos:int=0, yPos:int=0, color:uint=0xFFFFFF, fillBackground:Boolean=false, backgroundColor:uint=0){
last = getTimer();
ticks = 0;
super();
x = xPos;
y = yPos;
tf = new TextField();
tf.textColor = color;
tf.text = "----- fps";
tf.selectable = false;
tf.background = fillBackground;
tf.backgroundColor = backgroundColor;
tf.autoSize = TextFieldAutoSize.LEFT;
addChild(tf);
width = tf.textWidth;
height = tf.textHeight;
addEventListener(Event.ENTER_FRAME, tick);
}
public function tick(evt:Event):void{
var now:uint;
var delta:uint;
var fps:Number;
ticks++;
now = getTimer();
delta = (now - last);
if (delta >= 1000){
fps = ((ticks / delta) * 1000);
tf.text = (fps.toFixed(1) + " fps");
ticks = 0;
last = now;
};
}
}
}//package classesAS3
Section 21
//GameGame (classesAS3.GameGame)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import flash.utils.*;
import fl.motion.easing.*;
import com.gskinner.motion.plugins.*;
import flash.ui.*;
public class GameGame extends MovieClip {
public var attackFrom:Object;// = null
public var mapLocationsArray:Array;
public var badGuyDelay:Number;// = 160
var myTween:GTween;// = null
var badGuysArray:Array;
var selectionArray:Array;
var inGamePlayerMc:MovieClip;
public var dohnutDelay:Number;// = 10
public var zombiePartsArray:Array;
public var scoreOld:Number;// = 0
var inGameActionMc:Sprite;
var inGameCrossHairMc:Sprite;
public var rt:Object;
var missilesArray:Array;
var presentationMc:Sprite;
public var airStrikeMc:GameJetFighter;
var playerMc:GamePlayer;
public var fireLineDelay:Number;// = 0
var inGameZoomMc:Sprite;
public var badGuysSpawned:Number;// = 0
public var gold:Number;// = 0
var goodGuysArray:Array;
var movieWidth:Number;
var movieHeight:Number;
var itemsArray:Array;
var inGameEnemyMc:Sprite;
public var attackFromUnits:Number;// = 0
public var energy:Number;// = 100
var inGameBattleScreenMc:Sprite;
public var statsMc:GameStatsScreen;
public var score:Number;// = 0
var inGameMissilesMc:Sprite;
var inGamePickupsMc:Sprite;
var spritesMc:Sprite;
var inGameMc:Sprite;
public var moneyMax:Number;
public var aliensLeft:Number;// = 4
var inGameExplosionsMc:Sprite;
public var dayOrNight:String;// = "day"
public var Useful:GameUseful;
var upgradesArray:Array;
public var risingScoreArray:Array;
public var attackFromSelected:Boolean;// = false
public var smallGameMsgMc:GameSmallMsg;// = null
public var attackTo:Object;// = null
public var money:Number;
public var GameGTween:GTween;
var inGameBuildingsMc:Sprite;
public var wave:Number;// = 0
var groundArray:Array;
var explosionsArray:Array;
public var introGameMsgMc:GameIntroMsg;// = null
public var gameOver2:Boolean;// = false
var inGameScoreMc:Sprite;
var pickupsArray:Array;
var tilesObject;
var backgroundLevelMc:Sprite;
public var gameOverDo:Boolean;// = false
var gameOverDelay:Number;// = 50
var Sounds:GameSounds;
var aliensLeftArray:Array;
public var whosTurnIndex:Number;// = 0
var inGameGoodGuysMc:Sprite;
public var crossHairMc:MovieClip;
public var lineDrawing:MovieClip;
public var badGuyIndex:Number;// = 0
var inGameGraphicsMc:Sprite;
public var day:Number;// = 0
var levelEndSequence:Boolean;// = false
var inGameRedLineMc:Sprite;
var particlesArray:Array;
var enemyArray:Array;
public var musicSwitch:Boolean;// = true
var inGameBackgroundMc:Sprite;
public var crossHairMc2:MovieClip;
public var dohnutBoxDelay:Number;// = 20
var inGameBackgroundMc2:Sprite;
var inGameOptionsMc:Sprite;
var inGameStatsMc:Sprite;
var inGameMsgsMc:Sprite;
public var startGameMsgMc:GameStartMsg;
var panelItemsData:Array;
public var lineDrawing2:MovieClip;
public var blockSizeY:Number;// = 20
public var levelNumber:Number;
var backSkyMc:GameBackground;
public var battleScreenMc:GameBattleScreen;
public function GameGame(rt2, stageWidth, stageHeight, usf){
myTween = null;
energy = 100;
risingScoreArray = new Array();
zombiePartsArray = new Array();
musicSwitch = true;
whosTurnIndex = 0;
day = 0;
dayOrNight = "day";
attackFromSelected = false;
attackFrom = null;
attackTo = null;
attackFromUnits = 0;
fireLineDelay = 0;
wave = 0;
badGuyIndex = 0;
blockSizeY = 20;
badGuyDelay = 160;
aliensLeft = 4;
levelEndSequence = false;
gameOverDo = false;
badGuysSpawned = 0;
gameOverDelay = 50;
dohnutDelay = 10;
dohnutBoxDelay = 20;
score = 0;
scoreOld = 0;
gold = 0;
smallGameMsgMc = null;
introGameMsgMc = null;
gameOver2 = false;
super();
rt = rt2;
movieWidth = stageWidth;
movieHeight = stageHeight;
Useful = usf;
levelNumber = 1;
money = 0;
moneyMax = 10;
Sounds = new GameSounds(this);
inGameMc = new Sprite();
addChild(inGameMc);
presentationMc = new Sprite();
addChild(presentationMc);
inGameActionMc = new Sprite();
inGameMc.addChild(inGameActionMc);
inGameStatsMc = new Sprite();
inGameMc.addChild(inGameStatsMc);
inGameOptionsMc = new Sprite();
inGameMc.addChild(inGameOptionsMc);
inGameGraphicsMc = new Sprite();
inGameActionMc.addChild(inGameGraphicsMc);
inGameMsgsMc = new Sprite();
inGameMc.addChild(inGameMsgsMc);
inGameBackgroundMc = new Sprite();
inGameGraphicsMc.addChild(inGameBackgroundMc);
spritesMc = new Sprite();
inGameGraphicsMc.addChild(spritesMc);
backgroundLevelMc = new Sprite();
spritesMc.addChild(backgroundLevelMc);
inGameBuildingsMc = new Sprite();
spritesMc.addChild(inGameBuildingsMc);
inGameEnemyMc = new Sprite();
spritesMc.addChild(inGameEnemyMc);
inGameGoodGuysMc = new Sprite();
spritesMc.addChild(inGameGoodGuysMc);
inGamePlayerMc = new MovieClip();
spritesMc.addChild(inGamePlayerMc);
inGamePickupsMc = new Sprite();
spritesMc.addChild(inGamePickupsMc);
inGameMissilesMc = new Sprite();
spritesMc.addChild(inGameMissilesMc);
inGameExplosionsMc = new Sprite();
spritesMc.addChild(inGameExplosionsMc);
inGameScoreMc = new Sprite();
spritesMc.addChild(inGameScoreMc);
inGameRedLineMc = new Sprite();
spritesMc.addChild(inGameRedLineMc);
lineDrawing = new MovieClip();
inGameRedLineMc.addChild(lineDrawing);
lineDrawing2 = new MovieClip();
inGameRedLineMc.addChild(lineDrawing2);
inGameCrossHairMc = new Sprite();
spritesMc.addChild(inGameCrossHairMc);
ColorAdjustPlugin.install();
}
public function getCurrentPlayer():Object{
if (rt.playersArray.length > 0){
return (rt.playersArray[0].playerObject);
};
return (null);
}
function getBulletsUsed(player):Number{
return (player.bulletsUsed);
}
function mainLoop(){
var i2:*;
var i:*;
var numChild:Number;
if (crossHairMc != null){
crossHairMc.x = rt.mouseX;
crossHairMc.y = rt.mouseY;
};
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
if (aliensLeft <= 0){
i2 = 0;
while (i2 < explosionsArray.length) {
explosionsArray[i2].remove();
i2++;
};
i = 0;
while (i < particlesArray.length) {
particlesArray[i].remove();
i++;
};
i = 0;
while (i < zombiePartsArray.length) {
zombiePartsArray[i].remove();
i++;
};
numChild = inGameEnemyMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameEnemyMc.removeChildAt(0);
i2++;
};
numChild = inGameMissilesMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameMissilesMc.removeChildAt(0);
i2++;
};
numChild = inGameExplosionsMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameExplosionsMc.removeChildAt(0);
i2++;
};
if (inGameScoreMc.numChildren <= 0){
if (levelEndSequence == false){
levelEndSequence = true;
lineDrawing.graphics.clear();
lineDrawing2.graphics.clear();
playersLevelWin();
};
} else {
runPlayers();
};
} else {
if (gameOverDo == true){
lineDrawing.graphics.clear();
lineDrawing2.graphics.clear();
gameOverDelay--;
if (gameOverDelay <= 0){
gameOver();
};
} else {
runBadGuys();
runPlayers();
if (airStrikeMc != null){
airStrikeMc.mainLoop();
};
i2 = 0;
while (i2 < missilesArray.length) {
missilesArray[i2].mainLoop();
i2++;
};
i2 = 0;
while (i2 < explosionsArray.length) {
explosionsArray[i2].mainLoop();
i2++;
};
i = 0;
while (i < particlesArray.length) {
particlesArray[i].mainLoop();
i++;
};
i = 0;
while (i < zombiePartsArray.length) {
zombiePartsArray[i].mainLoop();
i++;
};
statsMc.mainLoop();
};
};
};
};
};
}
function gameOverFadeOutDone(tween:GTween):void{
doGameOver();
gameOverDelay = 50;
gameOverDo = false;
myTween = null;
}
public function setupGame(){
gameOver2 = false;
stage.focus = rt.stage;
Mouse.hide();
introGameMsgMc = new GameIntroMsg(this, 800, 160, 260, 160, this, 1600, "Get ready!!\nShoot the rising money!");
this.addChild(introGameMsgMc);
badGuysSpawned = 0;
myTween = null;
newArrays();
setupBackground();
setupPanel();
setupCrossHair();
setupPlayers();
aliensLeft = rt.GameData.aliensLeftArray[(levelNumber - 1)];
if (levelNumber > 1){
myTween = new GTween(inGameMc, 1, {brightness:0}, {ease:Sine.easeOut});
myTween.onComplete = gameFadeIn;
};
}
function removeCrossHair(){
if (crossHairMc != null){
inGameCrossHairMc.removeChild(crossHairMc);
crossHairMc = null;
if (crossHairMc2 != null){
inGameCrossHairMc.removeChild(crossHairMc2);
crossHairMc2 = null;
};
};
}
function doLevelComplete(){
var i2:*;
var i:*;
removeCrossHair();
destroyEverything();
i2 = 0;
while (i2 < explosionsArray.length) {
explosionsArray[i2].remove();
i2++;
};
i = 0;
while (i < particlesArray.length) {
particlesArray[i].remove();
i++;
};
i = 0;
while (i < zombiePartsArray.length) {
zombiePartsArray[i].remove();
i++;
};
i = 0;
while (i < badGuysArray.length) {
badGuysArray[i].remove();
i++;
};
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
rt.playersArray[i].playerObject.remove();
};
i++;
};
rt.removeEventListener(MouseEvent.MOUSE_DOWN, rt.mouseLeftClick);
rt.removeEventListener(MouseEvent.MOUSE_UP, rt.mouseLeftUpClick);
wave = 0;
badGuyIndex = 0;
badGuyDelay = 160;
if (levelNumber >= rt.numberOfLevels){
rt.setupGameCompleteScreen();
} else {
rt.setupWeaponScreen(true);
};
levelEndSequence = false;
}
public function setupPlayer2(){
var i:Number;
var yy:Number;
var clip:MovieClip;
if (rt.playersArray[1].playerObject == null){
statsMc.p2Start.gotoAndStop(2);
setupCrossHair2();
i = 1;
rt.playersArray[i].used = true;
yy = 140;
if (rt.playersArray[i].playerName == "Bert"){
yy = 170;
clip = new GameBert(this);
} else {
clip = new GameJim(this);
};
rt.playersArray[i].playerObject = new GamePlayer(this, Useful, clip, rt.playersArray[i].playerName, rt.playersArray[i].gunTypeIndex, 580, yy, lineDrawing2, 1);
inGamePlayerMc.addChild(clip);
clip.myObject = rt.playersArray[i].playerObject;
statsMc.setAmmo(rt.playersArray[i].playerObject);
} else {
if (aliensLeft > 0){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
rt.playersArray[1].playerObject.fire = true;
};
};
};
} else {
if (inGameScoreMc.numChildren > 0){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
rt.playersArray[1].playerObject.fire = true;
};
};
};
};
};
};
}
function setupCrossHair(){
if (crossHairMc == null){
crossHairMc = new GameCrossHair();
inGameCrossHairMc.addChild(crossHairMc);
};
}
function on_mouse_down(){
if (aliensLeft > 0){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
rt.playersArray[0].playerObject.fire = true;
};
};
};
} else {
if (inGameScoreMc.numChildren > 0){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
rt.playersArray[0].playerObject.fire = true;
};
};
};
};
};
}
public function player2KeyUp(){
if (aliensLeft > 0){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
rt.playersArray[1].playerObject.fire = false;
rt.playersArray[1].playerObject.fire = false;
rt.playersArray[1].playerObject.lineDrawing.graphics.clear();
};
};
};
};
}
function setupPlayers(){
var i:*;
var yy:Number;
var clip:MovieClip;
i = 0;
if (rt.playersArray[i].used == true){
yy = 330;
if (rt.playersArray[i].playerName == "Bert"){
clip = new GameBert(this);
} else {
clip = new GameJim(this);
yy = 315;
};
rt.playersArray[i].playerObject = new GamePlayer(this, Useful, clip, rt.playersArray[i].playerName, rt.playersArray[i].gunTypeIndex, 570, yy, lineDrawing, 0);
inGamePlayerMc.addChild(clip);
clip.myObject = rt.playersArray[i].playerObject;
statsMc.nameTxt.text = rt.playersArray[i].playerObject.myName;
};
}
function killAllMissiles(){
var i2:*;
i2 = (missilesArray.length - 1);
while (i2 >= 0) {
missilesArray[i2].remove();
i2--;
};
}
function setupCrossHair2(){
if (crossHairMc2 == null){
crossHairMc2 = new GameCrossHair2();
crossHairMc2.x = 380;
crossHairMc2.y = 300;
inGameCrossHairMc.addChild(crossHairMc2);
};
}
public function doPlayerDeath(){
var i:*;
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
rt.playersArray[i].playerObject.animMc.gotoAndStop("die");
};
i++;
};
}
public function doQuitGame(){
var i2:*;
var i:*;
removeCrossHair();
Mouse.show();
destroyEverything();
i2 = 0;
while (i2 < explosionsArray.length) {
explosionsArray[i2].remove();
i2++;
};
i = 0;
while (i < particlesArray.length) {
particlesArray[i].remove();
i++;
};
i = 0;
while (i < zombiePartsArray.length) {
zombiePartsArray[i].remove();
i++;
};
i = 0;
while (i < badGuysArray.length) {
badGuysArray[i].remove();
i++;
};
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
rt.playersArray[i].playerObject.remove();
rt.playersArray[i].playerObject = null;
};
i++;
};
if (statsMc != null){
inGameStatsMc.removeChild(statsMc);
};
levelNumber = 1;
energy = 100;
wave = 0;
score = 0;
gold = 0;
badGuyIndex = 0;
badGuyDelay = 160;
resetGunIndices();
if (backSkyMc != null){
inGameBackgroundMc.removeChild(backSkyMc);
};
backSkyMc = null;
rt.removeEventListener(MouseEvent.MOUSE_DOWN, rt.mouseLeftClick);
rt.removeEventListener(MouseEvent.MOUSE_UP, rt.mouseLeftUpClick);
rt.setupTitleScreen();
}
public function setupGiantDohnut(player){
var spriteData:Object;
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
if (aliensLeft > 0){
if (gameOverDo != true){
backSkyMc.dStand.giantDohnut.gotoAndStop(2);
spriteData = Useful.getArcVelocity(2, 16, 650, 180, 570, 100);
zombiePartsArray.push(new GameZombieParts(inGameMissilesMc, this, spriteData, "dohnut", 650, 180, 0, 350, 111, player.mC));
inGameMissilesMc.addChild(zombiePartsArray[(zombiePartsArray.length - 1)]);
};
};
};
};
};
}
public function destroyEverything(){
var numChild:Number;
var i2:Number;
killAllBadGuys();
killAllGoodGuys();
goodGuysArray.splice(0);
numChild = inGameGoodGuysMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameGoodGuysMc.removeChildAt(0);
i2++;
};
badGuysArray.splice(0);
explosionsArray.splice(0);
particlesArray.splice(0);
missilesArray.splice(0);
numChild = inGamePlayerMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGamePlayerMc.removeChildAt(0);
i2++;
};
i2 = 0;
numChild = inGameEnemyMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameEnemyMc.removeChildAt(0);
i2++;
};
numChild = inGameMissilesMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameMissilesMc.removeChildAt(0);
i2++;
};
numChild = inGameExplosionsMc.numChildren;
i2 = 0;
while (i2 < numChild) {
inGameExplosionsMc.removeChildAt(0);
i2++;
};
inGameStatsMc.removeChild(statsMc);
statsMc = null;
newArrays();
}
function levelFadeInDone(tween:GTween):void{
doLevelComplete();
myTween = null;
}
function runPlayers(){
var i:*;
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
rt.playersArray[i].playerObject.mainLoop();
};
i++;
};
}
public function setSpriteClose(){
var sortedItems:Array;
var i2:int;
var dfdfd:Number;
var distanceObject:Object;
sortedItems = new Array();
if (badGuysArray.length > 1){
dfdfd = 0;
};
i2 = 0;
while (i2 < badGuysArray.length) {
distanceObject = new Object();
distanceObject.distSprite = badGuysArray[i2];
distanceObject.dist = distanceObject.distSprite.mC.x;
sortedItems.push(distanceObject);
i2++;
};
sortedItems.sortOn("dist", (Array.DESCENDING | Array.NUMERIC));
return (sortedItems);
}
function on_mouse_up(){
if (aliensLeft > 0){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
rt.playersArray[0].playerObject.fire = false;
rt.playersArray[0].playerObject.fire = false;
rt.playersArray[0].playerObject.lineDrawing.graphics.clear();
};
};
};
};
}
function getCurrentBadGuyLevel(){
var badGuysLevel:Array;
badGuysLevel = rt.GameData.badGuysLevels[(levelNumber - 1)];
return (badGuysLevel);
}
public function levelComplete(){
if (myTween == null){
Mouse.show();
myTween = new GTween(inGameMc, 1, {brightness:-300}, {ease:Sine.easeOut});
myTween.onComplete = levelFadeOutDone;
};
}
function getCurrentBadGuyDelay(){
var badGuysLevel:Array;
var badGuyGroup:Array;
var badGuyD:Number;
badGuysLevel = rt.GameData.badGuysLevels[(levelNumber - 1)];
badGuyGroup = badGuysLevel[wave];
badGuyD = badGuyGroup[((badGuyIndex * 2) + 1)];
return (badGuyD);
}
function resetGunIndices(){
var i:*;
i = 0;
while (i < rt.playersArray.length) {
rt.playersArray[i].gunTypeIndex = 0;
rt.playersArray[i].bulletsArray = new Array(500, 50, 180, 180, 50, 180, 180, 180, 50, 50, 180, 1);
rt.playersArray[i].restoreEnergyOn = false;
rt.playersArray[i].dohnut = false;
rt.playersArray[i].dohnutBox = false;
rt.playersArray[i].giantDohnut = false;
rt.playersArray[i].disease = false;
rt.playersArray[i].airstrike = false;
rt.playersArray[i].numberOfHeadShots = 0;
rt.playersArray[i].bulletsUsed = 0;
rt.playersArray[i].numberOfHits = 0;
rt.playersArray[i].gold = 0;
rt.playersArray[i].score = 0;
rt.playersArray[i].numberOfZombiesKilled = 0;
rt.playersArray[i].grenades = 0;
rt.playersArray[i].grenadesUsed = 0;
i++;
};
}
function setupBadGuys(){
var badGuy:Array;
var badGuyName:String;
var badGuyY:Number;
var spIncrease:Number;
var speed:Number;
var badGuyScoreValue:Number;
var badGuyDamage:Number;
var badGuyArmour:Number;
var badGuyPartScore:Number;
var badGuyHead:String;
var badGuyArm:String;
var badGuyMoney:Number;
var newClass:Class;
var newMc:*;
var badGuyX:Number;
badGuy = getCurrentBadGuyType();
badGuyName = badGuy[0];
if (badGuyName == "GameMole"){
badGuyX = Useful.RandomNumber(20, 100);
} else {
badGuyX = -50;
};
badGuyY = (Useful.RandomNumber(1, 3) - 1);
if (badGuyName == "GameBudgie"){
badGuyY = Useful.RandomNumber(150, 200);
} else {
if (badGuyName == "GameParrot"){
badGuyY = Useful.RandomNumber(15, 200);
} else {
badGuyY = (badGuyY * blockSizeY);
badGuyY = (badGuyY + 340);
};
};
spIncrease = (levelNumber / 7);
speed = (badGuy[1] + spIncrease);
badGuyScoreValue = badGuy[2];
badGuyDamage = badGuy[3];
badGuyArmour = badGuy[4];
badGuyPartScore = badGuy[5];
badGuyHead = badGuy[6];
badGuyArm = badGuy[7];
badGuyMoney = badGuy[8];
newClass = Class(getDefinitionByName(("classesAS3." + badGuyName)));
newMc = new (newClass);
inGameEnemyMc.addChild(newMc);
badGuysArray.push(new GameBadGuy(this, Useful, badGuyName, newMc, badGuyX, badGuyY, speed, badGuyScoreValue, badGuyDamage, badGuyArmour, badGuyPartScore, badGuyHead, badGuyArm, badGuyMoney));
badGuysSpawned++;
}
function newArrays(){
missilesArray = new Array();
zombiePartsArray = new Array();
particlesArray = new Array();
explosionsArray = new Array();
goodGuysArray = new Array();
mapLocationsArray = new Array();
badGuysArray = new Array();
risingScoreArray = new Array();
}
function runBadGuys(){
var i:*;
if (badGuysSpawned < rt.GameData.aliensLeftArray[(levelNumber - 1)]){
badGuyDelay--;
if (badGuyDelay <= 0){
setupBadGuys();
setSpriteDepth(inGameEnemyMc);
badGuyIndex++;
if (badGuyIndex >= (getCurrentBadGuyGroup().length / 2)){
badGuyIndex = 0;
wave++;
if (wave >= getCurrentBadGuyLevel().length){
wave = 0;
badGuyDelay = Useful.RandomNumber((getCurrentBadGuyDelay() - 20), getCurrentBadGuyDelay());
if (badGuyDelay < 20){
badGuyDelay = 20;
};
} else {
badGuyDelay = Useful.RandomNumber((getCurrentBadGuyDelay() - 20), getCurrentBadGuyDelay());
if (badGuyDelay < 20){
badGuyDelay = 20;
};
};
} else {
badGuyDelay = Useful.RandomNumber((getCurrentBadGuyDelay() - 20), getCurrentBadGuyDelay());
if (badGuyDelay < 20){
badGuyDelay = 20;
};
};
};
};
i = 0;
while (i < badGuysArray.length) {
badGuysArray[i].mainLoop();
i++;
};
}
public function setSpriteDepth(depthMc){
var sortedItems:Array;
var i2:int;
var i:int;
var distanceObject:Object;
sortedItems = new Array();
i2 = 0;
while (i2 < depthMc.numChildren) {
distanceObject = new Object();
distanceObject.distSprite = depthMc.getChildAt(i2);
distanceObject.dist = distanceObject.distSprite.y;
sortedItems.push(distanceObject);
i2++;
};
sortedItems.sortOn("dist", Array.NUMERIC);
i = sortedItems.length;
while (i--) {
if (sortedItems[i].distSprite != null){
if (sortedItems[i].distSprite.parent == depthMc){
if (depthMc.getChildIndex(sortedItems[i].distSprite) != i){
if (i >= depthMc.numChildren){
depthMc.setChildIndex(sortedItems[i].distSprite, (depthMc.numChildren - 1));
} else {
if (i < 0){
depthMc.setChildIndex(sortedItems[i].distSprite, (depthMc.numChildren - 1));
} else {
depthMc.setChildIndex(sortedItems[i].distSprite, i);
};
};
};
};
};
};
}
public function doSound(clip){
if (musicSwitch == true){
musicSwitch = false;
clip.sound.gotoAndStop(2);
Sounds.setVolume(Sounds.musicChannel, 0);
Sounds.setVolume(Sounds.soundFxChannel, 0);
} else {
musicSwitch = true;
clip.sound.gotoAndStop(1);
Sounds.setVolume(Sounds.musicChannel, (rt.startSoundVolume / 10));
Sounds.setVolume(Sounds.soundFxChannel, (rt.startSoundVolume / 10));
};
}
function getCurrentBadGuyType(){
var badGuysLevel:Array;
var badGuyGroup:Array;
var badGuy:Array;
badGuysLevel = rt.GameData.badGuysLevels[(levelNumber - 1)];
badGuyGroup = badGuysLevel[wave];
badGuy = badGuyGroup[(badGuyIndex * 2)];
return (badGuy);
}
public function gameComplete(){
if (myTween == null){
Mouse.show();
myTween = new GTween(inGameMc, 1, {brightness:-300}, {ease:Sine.easeOut});
myTween.onComplete = levelFadeOutDone;
};
}
function checkForDohnut():Boolean{
var i:*;
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
if (rt.playersArray[i].playerObject.dohnutOn == true){
return (true);
};
if (rt.playersArray[i].playerObject.dohnutBoxOn == true){
return (true);
};
};
i++;
};
return (false);
}
function checkForPanelClick(){
}
function gameFadeIn(tween:GTween):void{
myTween = null;
}
function killAllBadGuys(){
var i2:int;
i2 = 0;
while (i2 < badGuysArray.length) {
badGuysArray[i2].remove();
i2++;
};
}
public function setupAirstrike(player){
if (rt.weaponScreen == null){
if (rt.gameOverScreenMc == null){
if (rt.gameCompleteScreen == null){
if (aliensLeft > 0){
if (gameOverDo != true){
if (airStrikeMc == null){
airStrikeMc = new GameJetFighter(this, inGameExplosionsMc, 10, 0, 20, player.mC);
inGameExplosionsMc.addChild(airStrikeMc);
};
};
};
};
};
};
}
function setupBackground(){
backSkyMc = new GameBackground(this);
inGameBackgroundMc.addChild(backSkyMc);
}
function playersLevelWin(){
var i:*;
Sounds.playSoundFx("alrightFx", 0.1, 0, 1);
Sounds.playSoundFx("levelCompleteFx", (rt.startFxVolume / 10), 0, 1);
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
rt.playersArray[i].playerObject.animMc.gotoAndStop("win");
};
i++;
};
}
function killAllGoodGuys(){
var i2:int;
i2 = 0;
while (i2 < goodGuysArray.length) {
goodGuysArray[i2].remove();
i2++;
};
}
function doGameOver(){
var i2:*;
var i:*;
gameOver2 = true;
removeCrossHair();
destroyEverything();
i2 = 0;
while (i2 < explosionsArray.length) {
explosionsArray[i2].remove();
i2++;
};
i = 0;
while (i < particlesArray.length) {
particlesArray[i].remove();
i++;
};
i = 0;
while (i < zombiePartsArray.length) {
zombiePartsArray[i].remove();
i++;
};
i = 0;
while (i < badGuysArray.length) {
badGuysArray[i].remove();
i++;
};
i = 0;
while (i < rt.playersArray.length) {
if (rt.playersArray[i].playerObject != null){
rt.playersArray[i].playerObject.remove();
};
i++;
};
rt.removeEventListener(MouseEvent.MOUSE_DOWN, rt.mouseLeftClick);
rt.removeEventListener(MouseEvent.MOUSE_UP, rt.mouseLeftUpClick);
levelNumber = 1;
energy = 100;
wave = 0;
scoreOld = score;
score = 0;
gold = 0;
badGuyIndex = 0;
badGuyDelay = 160;
resetGunIndices();
rt.setupGameOverScreen();
levelEndSequence = false;
}
public function checkForGameOver(){
var tGameOver:Boolean;
tGameOver = false;
if (rt.playersArray[1].used == false){
if (rt.playersArray[0].bulletsArray[rt.playersArray[0].gunTypeIndex] <= 0){
if (rt.playersArray[0].giantDohnut == false){
if (rt.playersArray[0].airstrike == false){
if (rt.playersArray[0].grenades == 0){
tGameOver = true;
};
};
};
};
} else {
if (rt.playersArray[0].bulletsArray[rt.playersArray[0].gunTypeIndex] <= 0){
if (rt.playersArray[0].giantDohnut == false){
if (rt.playersArray[1].airstrike == false){
if (rt.playersArray[0].grenades == 0){
if (rt.playersArray[0].bulletsArray[rt.playersArray[0].gunTypeIndex] <= 0){
if (rt.playersArray[0].giantDohnut == false){
if (rt.playersArray[1].airstrike == false){
if (rt.playersArray[0].grenades == 0){
tGameOver = true;
};
};
};
};
};
};
};
};
};
if (tGameOver == true){
gameOverDo = true;
doPlayerDeath();
};
}
function setupPanel(){
statsMc = new GameStatsScreen(this);
inGameStatsMc.addChild(statsMc);
}
function levelFadeOutDone(tween:GTween):void{
doLevelComplete();
myTween = null;
}
function removeCrossHair2(){
if (crossHairMc2 != null){
inGameCrossHairMc.removeChild(crossHairMc2);
crossHairMc2 = null;
};
}
function killAllExplosions(){
var i2:*;
i2 = (explosionsArray.length - 1);
while (i2 >= 0) {
explosionsArray[i2].remove();
i2--;
};
i2 = (particlesArray.length - 1);
while (i2 >= 0) {
particlesArray[i2].remove();
i2--;
};
}
function copyArray(arrayA, arrayB){
var i:int;
var j:int;
i = 0;
while (i < arrayA.length) {
j = 0;
while (j < arrayA[i].length) {
arrayB[i][j] = arrayA[i][j];
j++;
};
i++;
};
}
function getCurrentBadGuyGroup(){
var badGuysLevel:Array;
var badGuyG:Array;
badGuysLevel = rt.GameData.badGuysLevels[(levelNumber - 1)];
badGuyG = badGuysLevel[wave];
return (badGuyG);
}
public function gameOver(){
if (myTween == null){
Mouse.show();
myTween = new GTween(inGameMc, 1, {brightness:-300}, {ease:Sine.easeOut});
myTween.onComplete = gameOverFadeOutDone;
};
}
}
}//package classesAS3
Section 22
//GameGameData (classesAS3.GameGameData)
package classesAS3 {
import flash.display.*;
import flash.events.*;
public class GameGameData extends MovieClip {
var badGuysLevel31:Array;
var badGuysLevel33:Array;
var badGuysLevel34:Array;
var badGuysLevel38:Array;
var shotgun:Array;
var badGuysLevel32:Array;
var badGuysLevel36:Array;
var badGuysLevel37:Array;
var badGuysLevel40:Array;
public var badGuysLevels;
var badGuysLevel30:Array;
public var fishData;
public var hamsterData;
var badGuyGroup1:Array;
var badGuyGroup4:Array;
var badGuyGroup5:Array;
var badGuyGroup7:Array;
var badGuyGroup8:Array;
var badGuyGroup2:Array;
public var rt:Object;
var badGuyGroup6:Array;
var badGuyGroup3:Array;
public var bossData2;
public var bossData4;
public var parrotData;
public var bossData1;
var badGuyGroup9:Array;
public var bossData3;
public var bossData5;
var repairStand:Array;
var builders:Array;
public var tortoiseData;
var colt45:Array;
public var budgieData;
var ak47:Array;
var miniUzi:Array;
var badGuysLevel39:Array;
public var catData;
var dohnutBox:Array;
public var rabbitData;
public var moleData;
var desertEagle:Array;
var badGuyGroup11:Array;
public var bossLevel1;// = 5
public var bossLevel3;// = 15
public var bossLevel4;// = 20
public var bossLevel5;// = 25
var badGuyGroup17:Array;
var badGuyGroup18:Array;
var badGuyGroup12:Array;
public var bossLevel2;// = 10
var badGuyGroup14:Array;
var badGuyGroup15:Array;
var badGuyGroup16:Array;
public var dogData;
var badGuyGroup19:Array;
public var ferretData;
var badGuyGroup13:Array;
var grenadeLauncher:Array;
var badGuyGroup20:Array;
var badGuyGroup22:Array;
var badGuyGroup10:Array;
var badGuyGroup24:Array;
var badGuyGroup25:Array;
var badGuyGroup27:Array;
var badGuyGroup29:Array;
public var gunData:Array;
var badGuyGroup28:Array;
var badGuyGroup23:Array;
var badGuyGroup26:Array;
public var bObjectsArray;
var badGuyGroup21:Array;
var sniperRifle:Array;
var badGuyGroup30:Array;
var badGuyGroup32:Array;
var badGuyGroup33:Array;
var badGuyGroup34:Array;
var badGuyGroup35:Array;
var badGuyGroup36:Array;
var badGuyGroup37:Array;
var badGuyGroup31:Array;
var badGuyGroup39:Array;
var badGuyGroup38:Array;
var grenade:Array;
var m16:Array;
var badGuyGroup40:Array;
var dohnut:Array;
var bossGroup1:Array;
var bossGroup4:Array;
var bossGroup5:Array;
var giantDohnut:Array;
public var aliensLeftArray;
var miniGun:Array;
public var lizardData;
var bossGroup3:Array;
var m4:Array;
var p90:Array;
var bossGroup2:Array;
var disease:Array;
var backObjects1;
var airstrike:Array;
var badGuysLevel10:Array;
var badGuysLevel11:Array;
var badGuysLevel13:Array;
var badGuysLevel1:Array;
var badGuysLevel2:Array;
var badGuysLevel3:Array;
var badGuysLevel4:Array;
var badGuysLevel5:Array;
var badGuysLevel7:Array;
var badGuysLevel8:Array;
var badGuysLevel9:Array;
var badGuysLevel16:Array;
var badGuysLevel18:Array;
var badGuysLevel14:Array;
var badGuysLevel17:Array;
var badGuysLevel6:Array;
var badGuysLevel12:Array;
var badGuysLevel15:Array;
public var blowfishData;
var badGuysLevel20:Array;
var badGuysLevel21:Array;
var badGuysLevel19:Array;
var badGuysLevel24:Array;
var badGuysLevel25:Array;
var badGuysLevel26:Array;
var badGuysLevel28:Array;
var badGuysLevel22:Array;
var badGuysLevel23:Array;
var badGuysLevel27:Array;
var badGuysLevel29:Array;
public var mouseData;
var badGuysLevel35:Array;
public function GameGameData(rt2){
bossLevel1 = 5;
bossLevel2 = 10;
bossLevel3 = 15;
bossLevel4 = 20;
bossLevel5 = 25;
rabbitData = new Array("GameRabbit", 2, 10, 3, 0.5, 50, "rabbitHead", "rabbitArm", 25);
dogData = new Array("GameDog", 2, 10, 5, 2, 20, "dogHead", "dogArm", 25);
catData = new Array("GameCat", 2, 25, 4, 4, 30, "catHead", "catArm", 40);
budgieData = new Array("GameBudgie", 3.5, 30, 5, 2.5, 50, "budgieHead", "budgieWing", 35);
fishData = new Array("GameFish", 3.5, 10, 2, 0.2, 50, "fishHead", "fishFin", 20);
mouseData = new Array("GameMouse", 4, 40, 3, 3, 50, "mouseHead", "mouseArm", 50);
hamsterData = new Array("GameHamster", 1, 40, 6, 4, 50, "hamsterHead", "hamsterArm", 45);
parrotData = new Array("GameParrot", 3, 55, 7, 5, 50, "parrotHead", "parrotWing", 45);
tortoiseData = new Array("GameTortoise", 1, 20, 7, 4, 50, "tortoiseHead", "tortoiseArm", 50);
lizardData = new Array("GameLizard", 3, 50, 8, 5, 50, "lizardHead", "lizardArm", 60);
ferretData = new Array("GameFerret", 1, 20, 6, 3, 50, "ferretHead", "ferretArm", 50);
blowfishData = new Array("GameBlowfish", 1, 20, 30, 1, 50, "", "", 25);
moleData = new Array("GameMole", 3, 40, 10, 5, 50, "", "", 65);
badGuyGroup1 = new Array(fishData, 140);
badGuyGroup2 = new Array(fishData, 120, rabbitData, 160);
badGuyGroup3 = new Array(rabbitData, 160, rabbitData, 140, rabbitData, 120, rabbitData, 80);
badGuyGroup4 = new Array(fishData, 60, rabbitData, 160, rabbitData, 160, rabbitData, 160, dogData, 60);
badGuyGroup5 = new Array(fishData, 60);
badGuyGroup6 = new Array(dogData, 180, dogData, 180, rabbitData, 60, rabbitData, 60);
badGuyGroup7 = new Array(dogData, 180, dogData, 60, fishData, 60, fishData, 60, rabbitData, 60);
badGuyGroup8 = new Array(rabbitData, 80, rabbitData, 80, rabbitData, 80, dogData, 80, budgieData, 100);
badGuyGroup9 = new Array(dogData, 60, dogData, 60, dogData, 60, fishData, 60, fishData, 60, fishData, 60);
badGuyGroup10 = new Array(budgieData, 100, rabbitData, 60, rabbitData, 60, fishData, 60);
badGuyGroup12 = new Array(dogData, 60, dogData, 60, dogData, 100, catData, 60, budgieData, 60, budgieData, 60, budgieData, 60);
badGuyGroup13 = new Array(rabbitData, 40);
badGuyGroup11 = new Array(budgieData, 60, budgieData, 60, budgieData, 60, fishData, 40, fishData, 40, fishData, 40, fishData, 80);
badGuyGroup14 = new Array(budgieData, 80, budgieData, 80, budgieData, 80, budgieData, 120, budgieData, 120, budgieData, 120, mouseData, 50);
badGuyGroup15 = new Array(dogData, 60, dogData, 60, dogData, 100, dogData, 100, dogData, 100, mouseData, 50);
badGuyGroup16 = new Array(fishData, 60, fishData, 60, fishData, 60, fishData, 60, fishData, 60, fishData, 60, catData, 80, catData, 80, catData, 80);
badGuyGroup17 = new Array(rabbitData, 40, rabbitData, 40, rabbitData, 40, mouseData, 50, mouseData, 50, mouseData, 50, catData, 80, catData, 80, catData, 80);
badGuyGroup18 = new Array(rabbitData, 60, blowfishData, 50, fishData, 40, fishData, 30, fishData, 30, fishData, 30, fishData, 30, fishData, 30, fishData, 30);
badGuyGroup19 = new Array(tortoiseData, 70, dogData, 80, dogData, 80, dogData, 80, dogData, 80, budgieData, 60, budgieData, 60);
badGuyGroup20 = new Array(catData, 60, catData, 60, catData, 60, catData, 80, catData, 80, budgieData, 60);
badGuyGroup21 = new Array(tortoiseData, 70, tortoiseData, 70, tortoiseData, 70, rabbitData, 60, rabbitData, 40, rabbitData, 40);
badGuyGroup22 = new Array(fishData, 20, fishData, 20, fishData, 20, fishData, 20, fishData, 20, fishData, 20, fishData, 20, blowfishData, 50, rabbitData, 40, rabbitData, 40, rabbitData, 40);
badGuyGroup23 = new Array(dogData, 80, ferretData, 50, catData, 60, catData, 60, budgieData, 60, rabbitData, 40, rabbitData, 40, rabbitData, 40);
badGuyGroup24 = new Array(ferretData, 80, ferretData, 80, ferretData, 80, tortoiseData, 70, tortoiseData, 70, tortoiseData, 70, budgieData, 60);
badGuyGroup25 = new Array(catData, 60, rabbitData, 40, rabbitData, 40, rabbitData, 40, rabbitData, 40, rabbitData, 40, hamsterData, 60, budgieData, 60);
badGuyGroup26 = new Array(dogData, 80, dogData, 80, dogData, 80, tortoiseData, 70, tortoiseData, 70, tortoiseData, 70, tortoiseData, 70, blowfishData, 100);
badGuyGroup27 = new Array(hamsterData, 80, hamsterData, 80, hamsterData, 80, tortoiseData, 70, tortoiseData, 70);
badGuyGroup28 = new Array(ferretData, 80, ferretData, 80, budgieData, 80, budgieData, 80, budgieData, 80);
badGuyGroup29 = new Array(rabbitData, 60, hamsterData, 80);
badGuyGroup30 = new Array(moleData, 60, rabbitData, 40, rabbitData, 40, rabbitData, 40, catData, 60, catData, 80, catData, 80);
badGuyGroup31 = new Array(parrotData, 60, budgieData, 60, budgieData, 60, budgieData, 60, budgieData, 60, tortoiseData, 70);
badGuyGroup32 = new Array(hamsterData, 60, hamsterData, 60, hamsterData, 60, moleData, 60, moleData, 60);
badGuyGroup33 = new Array(catData, 60, catData, 60, catData, 60, parrotData, 60);
badGuyGroup34 = new Array(lizardData, 60, parrotData, 60, tortoiseData, 70, dogData, 80, dogData, 80, dogData, 80, dogData, 80);
badGuyGroup35 = new Array(moleData, 60, moleData, 60, moleData, 60, moleData, 60, moleData, 60, moleData, 60, blowfishData, 100);
badGuyGroup36 = new Array(parrotData, 60, parrotData, 60, parrotData, 60, budgieData, 60, budgieData, 60, budgieData, 60, budgieData, 60);
badGuyGroup37 = new Array(moleData, 60, moleData, 60, moleData, 60, moleData, 60, hamsterData, 80, hamsterData, 80, hamsterData, 80);
badGuyGroup38 = new Array(lizardData, 60, lizardData, 60, lizardData, 60, hamsterData, 80, hamsterData, 80, hamsterData, 80);
badGuyGroup39 = new Array(tortoiseData, 40, tortoiseData, 40, tortoiseData, 40, tortoiseData, 40, tortoiseData, 40, lizardData, 60, lizardData, 60, lizardData, 60, hamsterData, 80, hamsterData, 80);
badGuyGroup40 = new Array(lizardData, 60, lizardData, 60, lizardData, 60, parrotData, 60);
badGuysLevel1 = new Array(badGuyGroup1);
badGuysLevel2 = new Array(badGuyGroup2);
badGuysLevel3 = new Array(badGuyGroup3);
badGuysLevel4 = new Array(badGuyGroup4);
badGuysLevel6 = new Array(badGuyGroup5, badGuyGroup3, badGuyGroup3);
badGuysLevel7 = new Array(badGuyGroup6);
badGuysLevel5 = new Array(badGuyGroup5);
badGuysLevel8 = new Array(badGuyGroup8);
badGuysLevel9 = new Array(badGuyGroup9);
badGuysLevel10 = new Array(badGuyGroup10);
badGuysLevel11 = new Array(badGuyGroup11);
badGuysLevel12 = new Array(badGuyGroup12);
badGuysLevel14 = new Array(badGuyGroup14);
badGuysLevel15 = new Array(badGuyGroup15);
badGuysLevel13 = new Array(badGuyGroup13);
badGuysLevel16 = new Array(badGuyGroup16);
badGuysLevel17 = new Array(badGuyGroup17);
badGuysLevel18 = new Array(badGuyGroup18);
badGuysLevel19 = new Array(badGuyGroup19);
badGuysLevel20 = new Array(badGuyGroup20);
badGuysLevel21 = new Array(badGuyGroup21);
badGuysLevel22 = new Array(badGuyGroup22);
badGuysLevel23 = new Array(badGuyGroup23);
badGuysLevel25 = new Array(badGuyGroup25);
badGuysLevel24 = new Array(badGuyGroup24);
badGuysLevel26 = new Array(badGuyGroup26);
badGuysLevel27 = new Array(badGuyGroup27);
badGuysLevel28 = new Array(badGuyGroup27);
badGuysLevel29 = new Array(badGuyGroup29);
badGuysLevel30 = new Array(badGuyGroup30);
badGuysLevel31 = new Array(badGuyGroup31);
badGuysLevel32 = new Array(badGuyGroup32);
badGuysLevel33 = new Array(badGuyGroup33);
badGuysLevel35 = new Array(badGuyGroup35);
badGuysLevel34 = new Array(badGuyGroup34);
badGuysLevel36 = new Array(badGuyGroup36);
badGuysLevel37 = new Array(badGuyGroup37);
badGuysLevel38 = new Array(badGuyGroup38);
badGuysLevel39 = new Array(badGuyGroup39);
badGuysLevel40 = new Array(badGuyGroup40);
badGuysLevels = new Array(badGuysLevel1, badGuysLevel2, badGuysLevel3, badGuysLevel4, badGuysLevel5, badGuysLevel6, badGuysLevel7, badGuysLevel8, badGuysLevel9, badGuysLevel10, badGuysLevel11, badGuysLevel12, badGuysLevel13, badGuysLevel14, badGuysLevel15, badGuysLevel16, badGuysLevel17, badGuysLevel18, badGuysLevel19, badGuysLevel20, badGuysLevel21, badGuysLevel22, badGuysLevel23, badGuysLevel24, badGuysLevel25, badGuysLevel26, badGuysLevel27, badGuysLevel28, badGuysLevel29, badGuysLevel30, badGuysLevel31, badGuysLevel32, badGuysLevel33, badGuysLevel34, badGuysLevel35, badGuysLevel36, badGuysLevel37, badGuysLevel38, badGuysLevel39, badGuysLevel40);
bossData1 = new Array("carBoss", 405, 0.5, 0, "position", 760, 150, 1, 0.2, 20, 25, "bullet", 8);
bossData2 = new Array("plantBoss", 405, 0.5, 0, "position", 760, 150, 1, 2, 20, 25, "bullet", 8);
bossData3 = new Array("subBoss", 405, 0.5, 0, "position", 380, 150, 1, 2, 20, 25, "bullet", 8);
bossData4 = new Array("shipBoss", 405, 0.5, 0, "position", 760, 150, 1, 2, 20, 25, "bullet", 8);
bossData5 = new Array("alienBoss", 405, 0.5, 0, "position", 760, 150, 1, 2, 20, 25, "bullet", 8);
bossGroup1 = new Array(bossData1);
bossGroup2 = new Array(bossData2);
bossGroup3 = new Array(bossData3);
bossGroup4 = new Array(bossData4);
bossGroup5 = new Array(bossData5);
backObjects1 = new Array("tree1", "tree2");
bObjectsArray = new Array(backObjects1);
aliensLeftArray = new Array(8, 8, 10, 10, 12, 14, 14, 14, 16, 16, 16, 18, 18, 18, 18, 18, 18, 18, 18, 18, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 24, 24, 24, 24, 24, 26, 26, 28, 28, 30);
colt45 = new Array("Colt 45", 50, "Manual", "Slow", 10, 10, "Basic gun. Upgrade cost $800", 1, 4, 800);
desertEagle = new Array("Desert eagle", 400, "Manual", "Slow", 20, 10, "Powerful but small clip size. Upgrade cost $800", 1, 3, 800);
miniUzi = new Array("Mini uzi", 1100, "Automatic", "Slow", 10, 20, "Not very powerful, and small clips but fast firing. Upgrade cost $900.", 1, 2, 900);
p90 = new Array("p90", 1500, "Automatic", "Slow", 25, 15, "Powerful machine gun, but small clip size. Upgrade cost $1000.", 1, 3, 1000);
shotgun = new Array("Shotgun", 1800, "Manual", "Slow", 85, 6, "Not very accurate but powerful. Upgrade cost $1200.", 5, 2, 1200);
ak47 = new Array("Ak-47", 2000, "Automatic", "Slow", 30, 10, "Small clips, but powerful and accurate machine gun. Upgrade cost $1000.", 1, 3, 1000);
m4 = new Array("M4", 2300, "Automatic", "Slow", 35, 20, "Good sized clips and powerful machine gun. Upgrade cost $1200.", 1, 4, 1200);
m16 = new Array("M16", 2600, "Automatic", "Slow", 40, 25, "Good sized clips and powerful machine gun. Upgrade cost $1300.", 1, 3, 1300);
sniperRifle = new Array("Sniper Rifle", 3000, "Manual", "Slow", 40, 6, "Small clips, but powerful and the most accurate of the guns. Upgrade cost $1300.", 1, 6, 1300);
grenadeLauncher = new Array("Grenade launcher", 3500, "Manual", "Slow", 40, 1, "Has to be reloaded each time (unless you upgrade), but very powerful. Upgrade cost $1400", 20, 1, 1400);
miniGun = new Array("Mini gun", 4500, "Automatic", "Slow", 40, 30, "Powerful, and fast firing. Upgrade cost $1500.", 2, 3, 1500);
grenade = new Array("Grenade", "n/a", "Manual", "Slow", 10, 10, "Press 'g' for player 1 or 'k' for player 2 to throw a grenade in direction of your crosshair.", 200, "n/a");
repairStand = new Array("Restore", 100, "Automatic", "Slow", "n/a", "n/a", "Restores 10% of your energy.", 1);
builders = new Array("Repair", 800, "Automatic", "Slow", "n/a", "n/a", "Allows stand to be slowly repaired during level.", 1);
dohnut = new Array("Dohnut", 1300, "Automatic", "Slow", "n/a", "n/a", "When activated causes you to have small sugar rush, and all enemies slow down for a few seconds. Player 1 press 1 to activate, player 2 press 5.", 1);
dohnutBox = new Array("Dohnut box", 800, "Automatic", "Slow", "n/a", "n/a", "When activated which causes your character to have a super sugar rush, slowing down enemies and making your weapons stronger. Player 1 press 2 to activate, player 2 press 6.", 1);
giantDohnut = new Array("Giant dohnut", 500, "Automatic", "Slow", "n/a", "n/a", "The dohnuts stand giant Dohnut rolls over your enemies!. Player 1 press 3 to activate, player 2 press 7.", 1);
disease = new Array("Disease", 1500, "Automatic", "Slow", "n/a", "n/a", "Causes your enemies to slowly lose energy as they move towards you.", 1);
airstrike = new Array("Airstrike", 700, "Automatic", "Slow", "n/a", "n/a", "Death from the air!. Player 1 press 4 to activate, player 2 press 8.", 1);
gunData = new Array(colt45, desertEagle, miniUzi, p90, shotgun, ak47, m4, m16, sniperRifle, grenadeLauncher, miniGun, grenade, repairStand, builders, dohnut, dohnutBox, giantDohnut, disease, airstrike);
super();
rt = rt2;
}
public function removeMe(){
stop();
}
function finishStuff(event:MouseEvent):void{
}
}
}//package classesAS3
Section 23
//GameGameOptions (classesAS3.GameGameOptions)
package classesAS3 {
import flash.display.*;
import com.gskinner.motion.*;
public class GameGameOptions extends MovieClip {
var myTween:GTween;
public var rt:Object;
public function GameGameOptions(rt2){
super();
rt = rt2;
}
}
}//package classesAS3
Section 24
//GameHamster (classesAS3.GameHamster)
package classesAS3 {
import flash.display.*;
public class GameHamster extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameHamster(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 25
//GameHeadShotTxt (classesAS3.GameHeadShotTxt)
package classesAS3 {
import flash.display.*;
public class GameHeadShotTxt extends MovieClip {
public var inGameScoreMc:Sprite;
public var txt:MovieClip;
public var scoreNumber:Number;
public var rt:Object;
public function GameHeadShotTxt(rt2, inGame, scoreN){
super();
addFrameScript(30, frame31);
rt = rt2;
inGameScoreMc = inGame;
scoreNumber = scoreN;
txt.headTxt.text = (("BONUS!!\n" + String(scoreNumber)) + " score");
}
function frame31(){
this.inGameScoreMc.removeChild(this);
stop();
}
}
}//package classesAS3
Section 26
//GameInstructionsScreen (classesAS3.GameInstructionsScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameInstructionsScreen extends MovieClip {
var gunBox2:currentGunBox;
var currentSelected:Number;// = 0
public var vidBtns:MovieClip;
var gunBox:currentGunBox;
public var txt:MovieClip;
public var rt:Object;
var playerWeapons:Number;// = 0
var gSold:weaponsSold;
public var homeBtn:SimpleButton;
public function GameInstructionsScreen(rt2){
currentSelected = 0;
playerWeapons = 0;
super();
txt.gotoAndStop(1);
rt = rt2;
homeBtn.addEventListener(MouseEvent.MOUSE_UP, doHome);
}
function doHome(event:MouseEvent):void{
rt.rt.setupInstrTitleScreen();
}
}
}//package classesAS3
Section 27
//GameIntroMsg (classesAS3.GameIntroMsg)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import flash.utils.*;
import fl.motion.easing.*;
import com.gskinner.motion.plugins.*;
import flash.text.*;
public class GameIntroMsg extends MovieClip {
var endPosY:Number;// = 0
var startPosX:Number;// = 0
var myTween2:GTween;
var startPosY:Number;// = 0
public var startDone:Boolean;// = false
var myTween:GTween;
var myMsg:String;// = ""
public var msgType:String;// = ""
public var txt:TextField;
var myParent:Object;// = null
public var rt:Object;
var timerLength:Number;// = 1
var myTimer:Timer;
var endPosX:Number;// = 0
public function GameIntroMsg(rt2, startX, startY, endX, endY, myP, timerLen, msg){
myMsg = "";
myParent = null;
startPosX = 0;
startPosY = 0;
endPosX = 0;
endPosY = 0;
startDone = false;
timerLength = 1;
msgType = "";
super();
rt = rt2;
timerLength = timerLen;
startPosX = startX;
startPosY = startY;
endPosX = endX;
endPosY = endY;
this.x = startPosX;
this.y = startPosY;
this.alpha = 0;
txt.text = msg;
myParent = myP;
MotionBlurPlugin.install();
startDone = false;
myTween = new GTween(this, 0.5, {x:endPosX, y:endPosY, alpha:1}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneStart;
}
function tweenDoneEnd(tween:GTween):void{
removeMe();
}
public function removeMe(){
if (this.parent != null){
myParent.removeChild(this);
rt.introGameMsgMc = null;
stop();
};
}
function timerFunction(event:TimerEvent):void{
if (myTimer != null){
this.myTimer.removeEventListener(TimerEvent.TIMER, timerFunction);
myTimer = null;
};
fadeMeOut();
}
function turnMeOff(event:MouseEvent):void{
}
public function fadeMeOut(){
myTween = new GTween(this, 0.5, {x:startPosX, y:startPosY, alpha:0}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneEnd;
}
function tweenDoneStart(tween:GTween):void{
myTimer = new Timer(timerLength, 1);
myTimer.addEventListener(TimerEvent.TIMER, timerFunction);
myTimer.start();
}
}
}//package classesAS3
Section 28
//GameIntroScreen (classesAS3.GameIntroScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameIntroScreen extends MovieClip {
public var skipBtn:SimpleButton;
public var anim1:MovieClip;
public var rt:Object;
public function GameIntroScreen(rt2){
super();
addFrameScript(0, frame1, 1, frame2);
rt = rt2;
}
function frame1(){
stop();
}
public function doSkip(){
rt.introDone();
}
function frame2(){
skipBtn.addEventListener(MouseEvent.MOUSE_UP, doSkip2);
}
public function doSkip2(event:MouseEvent):void{
MovieClip(this).doSkip();
}
}
}//package classesAS3
Section 29
//GameJetFighter (classesAS3.GameJetFighter)
package classesAS3 {
import flash.display.*;
public class GameJetFighter extends MovieClip {
var speed:Number;// = 10
var firedMeMc:Object;// = null
var myParent:Object;// = null
public var rt:Object;
var dropBombDelay:Number;// = 20
public function GameJetFighter(rt2, myP, xx, yy, sp, fMe){
speed = 10;
dropBombDelay = 20;
myParent = null;
firedMeMc = null;
super();
rt = rt2;
firedMeMc = fMe;
myParent = myP;
this.x = xx;
this.y = yy;
speed = sp;
dropBombDelay = 2;
}
function dropBomb(){
var spriteData:Object;
var projectileMc:*;
projectileMc = new GameJetFighterBomb(rt, this.x, this.y, 20, firedMeMc);
rt.inGameMissilesMc.addChild(projectileMc);
rt.missilesArray.push(projectileMc);
}
public function removeMe(){
var i2:int;
i2 = 0;
while (i2 < myParent.numChildren) {
if (myParent.getChildAt(i2) == this){
myParent.removeChild(this);
stop();
};
i2++;
};
rt.airStrikeMc = null;
}
public function checkOffScreen(){
if (this.x > 1700){
removeMe();
} else {
if (this.x < -50){
removeMe();
};
};
if (this.y > 800){
removeMe();
};
}
public function mainLoop(){
x = (x + speed);
if (x > rt.movieWidth){
removeMe();
} else {
dropBombDelay--;
if (dropBombDelay == 0){
dropBombDelay = rt.Useful.RandomNumber(2, 5);
dropBomb();
};
};
}
}
}//package classesAS3
Section 30
//GameJetFighterBomb (classesAS3.GameJetFighterBomb)
package classesAS3 {
import flash.display.*;
public class GameJetFighterBomb extends MovieClip {
var speed:Number;// = 10
var firedMeMc:Object;// = null
var rt:Object;
public function GameJetFighterBomb(rt2, xx, yy, sp, fMe){
speed = 10;
firedMeMc = null;
super();
rt = rt2;
firedMeMc = fMe;
this.x = xx;
this.y = yy;
speed = sp;
}
public function removeMe(){
var i2:int;
var arrayIndex:Number;
var i1:*;
i2 = 0;
while (i2 < rt.inGameMissilesMc.numChildren) {
if (rt.inGameMissilesMc.getChildAt(i2) == this){
rt.inGameMissilesMc.removeChild(this);
this.stop();
break;
};
i2++;
};
arrayIndex = 0;
i1 = 0;
while (i1 < rt.missilesArray.length) {
if (this == rt.missilesArray[i1]){
arrayIndex = i1;
break;
};
i1++;
};
rt.missilesArray.splice(arrayIndex, 1);
}
function explodeMe(){
rt.Sounds.playSoundFx("explosionFx", 0.3, 0, 1);
rt.explosionsArray.push(new GameExplosion(rt, this.x, this.y, 2, rt.Useful, 1, 1, rt.Useful.RandomNumber(60, 60), true, false, true, 12, 10, false, firedMeMc));
removeMe();
}
public function mainLoop(){
y = (y + speed);
if (y > 400){
explodeMe();
};
}
}
}//package classesAS3
Section 31
//GameJim (classesAS3.GameJim)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class GameJim extends MovieClip {
public var myObject:Object;// = null
public var rt:Object;
public var soldier:MovieClip;
public function GameJim(rt2){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
rt = rt2;
}
public function removeMe(){
stop();
}
function frame10(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame6(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame7(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame1(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame4(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame5(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame8(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame9(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame11(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
stop();
}
}
}//package classesAS3
Section 32
//GameLizard (classesAS3.GameLizard)
package classesAS3 {
import flash.display.*;
public class GameLizard extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameLizard(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 33
//GameLoop (classesAS3.GameLoop)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import mochi.as3.*;
import fl.motion.easing.*;
import flash.net.*;
import flash.system.*;
import flash.ui.*;
public dynamic class GameLoop extends MovieClip {
public var gperc2:Number;// = 0
public var mouseNumberDown:Number;
var pauseMc:GamePause;
public var instrScreenMc:GameInstructionsScreen;// = null
public var presentationMc:Sprite;
var fadeOutArray:Array;
public var gskip:Number;// = 0
var introStarted:Boolean;// = false
public var numberOfLevels:Number;// = 40
public var percentLoaded:int;
public var Useful:GameUseful;
public var GameGameFile:GameFile;
public var chooseCharScreen:GameChooseCharScreen;
public var GameData:GameGameData;
public var titleScreen:GameTitleScreen;
public var GameMain:GameGame;
public var loaderStarted:Boolean;// = false
public var loadingBox:loadingBoxMc;
public var titleStarted:Boolean;// = false
public var startFxVolume:Number;// = 1
public var gameOverScreenMc:GameOverScreen;// = null
public var mouseDownClicked:Boolean;// = false
public var mochiOn:Boolean;// = false
public var startSoundVolume:Number;// = 0.5
public var mainBtnsSetup;
var GameFPSMc:GameFPS;// = null
public var gameCompleteScreen:GameCompleteScreen;// = null
public var weaponScreen:GameWeaponMenu;// = null
public var introScreenMc:GameIntroScreen;
public var gperc:Number;// = 0
public var gameState:int;// = 2
public var playersArray:Array;
public static const STATE_SYSTEM_PLAY:int = 3;
public static const STATE_SYSTEM_INTRO:int = 9;
public static const STATE_SYSTEM_PAUSE:int = 4;
public static const STATE_SYSTEM_LOADER:int = 0;
public static const STATE_SYSTEM_SETUP_GAME:int = 8;
public static const STATE_SYSTEM_CHAT:int = 10;
public static const STATE_SYSTEM_END_MSG:int = 12;
public static const STATE_SYSTEM_MOCHI:int = 2;
public static const STATE_SYSTEM_NEW_LEVEL:int = 7;
public static const STATE_SYSTEM_GAME_COMPLETE:int = 6;
public static const STATE_SYSTEM_START_MSG:int = 11;
public static const STATE_SYSTEM_TITLE:int = 1;
public static const STATE_SYSTEM_GAME_OVER:int = 5;
public function GameLoop():void{
mochiOn = false;
gameState = STATE_SYSTEM_MOCHI;
mouseDownClicked = false;
weaponScreen = null;
gameOverScreenMc = null;
instrScreenMc = null;
gameCompleteScreen = null;
titleStarted = false;
loaderStarted = false;
gperc = 0;
gperc2 = 0;
gskip = 0;
numberOfLevels = 40;
introStarted = false;
startSoundVolume = 0.5;
startFxVolume = 1;
GameFPSMc = null;
super();
addFrameScript(0, frame1, 2, frame3);
MochiBot.track(this, "5fbbae9f");
Useful = new GameUseful(root);
GameMain = new GameGame(root, 760, 560, Useful);
GameData = new GameGameData(GameMain);
GameGameFile = new GameFile(this);
playersArray = new Array();
presentationMc = new Sprite();
addChild(presentationMc);
addChild(GameMain);
addEventListener(Event.ENTER_FRAME, runGame, false, 0, true);
playersArray.push(new GamePlayerArrayObj(this, "Bert", 100, true));
playersArray.push(new GamePlayerArrayObj(this, "Jim", 100, false));
stage.addEventListener(KeyboardEvent.KEY_UP, keyListenerUp);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyListenerDown);
}
public function introDone(){
if (introScreenMc != null){
if (loadingBox != null){
this.loaderInfo.removeEventListener(Event.ENTER_FRAME, loadingUpdater, false);
this.removeChild(loadingBox);
loadingBox = null;
};
presentationMc.removeChild(introScreenMc);
introScreenMc.stop();
introScreenMc = null;
this.gotoAndStop(3);
gameState = STATE_SYSTEM_TITLE;
};
}
public function loadG(event:MouseEvent):void{
loadGame();
}
public function setupTitleScreen(){
gameState = STATE_SYSTEM_TITLE;
titleScreen = new GameTitleScreen(this);
presentationMc.addChild(titleScreen);
titleScreen.startSingleBtn.addEventListener(MouseEvent.MOUSE_UP, startGame);
titleScreen.moreGamesBtn.addEventListener(MouseEvent.MOUSE_UP, moreGames);
titleScreen.highscoresBtn.addEventListener(MouseEvent.MOUSE_UP, showScores);
titleScreen.instrBtn.addEventListener(MouseEvent.MOUSE_UP, setupInstrScreen);
titleScreen.soundBtn.addEventListener(MouseEvent.MOUSE_UP, doSound);
titleScreen.loadBtn.addEventListener(MouseEvent.MOUSE_UP, loadG);
if (GameMain.musicSwitch == true){
titleScreen.sound.gotoAndStop(1);
if (GameMain.Sounds.titleMusic == null){
GameMain.Sounds.titleMusic = new SoundMusic1();
GameMain.Sounds.musicChannel = GameMain.Sounds.titleMusic.play(0, 10000);
};
} else {
titleScreen.sound.gotoAndStop(1);
if (GameMain.Sounds.titleMusic == null){
GameMain.Sounds.titleMusic = new SoundMusic1();
};
};
if (GameMain.Sounds.musicChannel != null){
GameMain.Sounds.setVolume(GameMain.Sounds.musicChannel, (startSoundVolume / 10));
};
}
function doPause(){
if (pauseMc == null){
gameState = STATE_SYSTEM_PAUSE;
pauseMc = new GamePause();
GameMain.addChild(pauseMc);
} else {
gameState = STATE_SYSTEM_PLAY;
GameMain.removeChild(pauseMc);
pauseMc = null;
};
}
public function keyListenerUp(event:KeyboardEvent):void{
if (playersArray[1].playerObject != null){
if (event.keyCode == Keyboard.SPACE){
GameMain.player2KeyUp();
} else {
if (event.keyCode == Keyboard.RIGHT){
playersArray[1].playerObject.keyDX = "";
} else {
if (event.keyCode == Keyboard.LEFT){
playersArray[1].playerObject.keyDX = "";
} else {
if (event.keyCode == Keyboard.UP){
playersArray[1].playerObject.keyDY = "";
} else {
if (event.keyCode == Keyboard.DOWN){
playersArray[1].playerObject.keyDY = "";
} else {
if (event.keyCode == 68){
playersArray[1].playerObject.keyDX = "";
} else {
if (event.keyCode == 65){
playersArray[1].playerObject.keyDX = "";
} else {
if (event.keyCode == 87){
playersArray[1].playerObject.keyDY = "";
} else {
if (event.keyCode == 83){
playersArray[1].playerObject.keyDY = "";
};
};
};
};
};
};
};
};
};
};
if (playersArray[0].playerObject != null){
if (event.keyCode == 80){
doPause();
} else {
if (event.keyCode == 81){
if (pauseMc == null){
GameMain.doQuitGame();
};
};
};
};
}
function frame1(){
stop();
}
public function doIntroScreen():void{
if (((!(introStarted)) && ((currentFrame == 3)))){
setupIntroScreen();
introStarted = true;
};
}
public function doPlay():void{
GameMain.mainLoop();
}
function moreGames(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.playtowerdefensegames.com"), "_blank");
}
public function showScores2(){
navigateToURL(new URLRequest("http://www.playtowerdefensegames.com/index.php?action=highscores&gameid=981"), "_blank");
}
function frame3(){
stop();
}
public function mouseLeftClick(ev:Event):void{
if (gameState == STATE_SYSTEM_PLAY){
if (this.mouseY < 480){
GameMain.on_mouse_down();
} else {
if (mouseDownClicked == false){
mouseDownClicked = true;
GameMain.checkForPanelClick();
};
};
};
}
public function loadingComplete(){
if (loadingBox != null){
this.loaderInfo.removeEventListener(Event.ENTER_FRAME, loadingUpdater, false);
this.removeChild(loadingBox);
loadingBox = null;
};
finishPreload();
}
public function setupWeaponScreen(setupStats:Boolean){
var myTween:*;
weaponScreen = new GameWeaponMenu(this, setupStats);
myTween = new GTween(weaponScreen.shop, 0.5, {brightness:-200}, {ease:Sine.easeOut});
myTween.onComplete = fadeInDone;
}
public function setupInstrTitleScreen(){
var myTween2:*;
presentationMc.removeChild(instrScreenMc);
myTween2 = new GTween(GameMain.inGameMc, 1, {brightness:0}, {ease:Sine.easeOut});
setupTitleScreen();
instrScreenMc = null;
}
public function setupPlayerOptions(clip){
if (playersArray[0].used == true){
clip.player1Txt.text = "player1";
clip.player1Msg.text = "Mouse controlled";
clip.player2Txt.text = "player2";
clip.player2Msg.text = "Player 2 needs to press the space bar during the game to join in the fun. Then use Arrow keys or W A S D to move cross hair and Space bar to fire.";
} else {
clip.player2Txt.text = "player1";
clip.player2Msg.text = "Mouse controlled";
clip.player1Txt.text = "player2";
clip.player1Msg.text = "Player 2 needs to press the space bar during the game to join in the fun. Then use Arrow keys or W A S D to move cross hair and Space bar to fire.";
};
clip.playersMsg.text = "Click on Bert or Jim for the mission!";
}
public function introFinished(){
gameState = STATE_SYSTEM_TITLE;
}
public function runGame(e:Event):void{
switch (gameState){
case STATE_SYSTEM_INTRO:
doIntroScreen();
break;
case STATE_SYSTEM_MOCHI:
doMochi();
break;
case STATE_SYSTEM_LOADER:
doLoadScreen();
break;
case STATE_SYSTEM_TITLE:
doTitleScreen();
break;
case STATE_SYSTEM_PLAY:
doPlay();
break;
case STATE_SYSTEM_GAME_OVER:
break;
case STATE_SYSTEM_GAME_COMPLETE:
break;
case STATE_SYSTEM_NEW_LEVEL:
break;
case STATE_SYSTEM_CHAT:
break;
case STATE_SYSTEM_START_MSG:
break;
case STATE_SYSTEM_END_MSG:
break;
case STATE_SYSTEM_PAUSE:
break;
};
}
public function setupGameCompleteScreen(){
var myTween:*;
gameCompleteScreen = new GameCompleteScreen(this);
myTween = new GTween(gameCompleteScreen, 0.5, {brightness:-300}, {ease:Sine.easeOut});
myTween.onComplete = gFadeInDone;
}
public function saveGame(){
GameGameFile.saveGameCookie();
}
public function setupIntroScreen(){
introScreenMc = new GameIntroScreen(this);
presentationMc.addChild(introScreenMc);
if (GameMain.musicSwitch == true){
if (GameMain.Sounds.titleMusic == null){
GameMain.Sounds.titleMusic = new SoundMusic1();
GameMain.Sounds.musicChannel = GameMain.Sounds.titleMusic.play(0, 10000);
};
} else {
if (GameMain.Sounds.titleMusic == null){
GameMain.Sounds.titleMusic = new SoundMusic1();
};
};
if (GameMain.Sounds.musicChannel != null){
GameMain.Sounds.setVolume(GameMain.Sounds.musicChannel, (startSoundVolume / 10));
};
}
function doSound(event:MouseEvent):void{
if (GameMain.musicSwitch == true){
GameMain.musicSwitch = false;
titleScreen.sound.gotoAndStop(2);
GameMain.Sounds.setVolume(GameMain.Sounds.musicChannel, 0);
GameMain.Sounds.setVolume(GameMain.Sounds.soundFxChannel, 0);
} else {
GameMain.musicSwitch = true;
titleScreen.sound.gotoAndStop(1);
GameMain.Sounds.setVolume(GameMain.Sounds.musicChannel, (startSoundVolume / 10));
GameMain.Sounds.setVolume(GameMain.Sounds.soundFxChannel, (startSoundVolume / 10));
};
}
public function playGame(event:MouseEvent):void{
presentationMc.removeChild(chooseCharScreen);
GameMain.setupGame();
gameState = STATE_SYSTEM_PLAY;
stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseLeftClick);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseLeftUpClick);
}
public function setupJim(clip){
var found:Boolean;
found = false;
playersArray[0].playerName = "Jim";
playersArray[1].playerName = "Bert";
clip.playersMsg.text = "Jim is not as accurate as Bert, but he reloads quicker!";
playersArray[1].used = false;
clip.player2Txt.text = "player1";
clip.player2Msg.text = "Mouse controlled";
clip.player1Txt.text = "player2";
clip.player1Msg.text = "Player 2 needs to press the space bar during the game to join in the fun. Then use Arrow keys or W A S D to move cross hair and Space bar to fire.";
}
public function weaponScreenDone(){
var myTween:*;
myTween = new GTween(weaponScreen.shop, 0.5, {brightness:-200}, {ease:Sine.easeOut});
myTween.onComplete = fadeOutDone;
}
public function setupGameOverTitleScreen(){
var myTween2:*;
presentationMc.removeChild(gameOverScreenMc);
myTween2 = new GTween(GameMain.inGameMc, 1, {brightness:0}, {ease:Sine.easeOut});
setupTitleScreen();
gameOverScreenMc = null;
}
public function doTitleScreen():void{
if (((!(titleStarted)) && ((currentFrame == 3)))){
setupTitleScreen();
titleStarted = true;
};
}
public function keyListenerDown(event:KeyboardEvent):void{
if (gameState == STATE_SYSTEM_PLAY){
if (event.keyCode == Keyboard.SPACE){
GameMain.setupPlayer2();
} else {
if (event.keyCode == 49){
if (playersArray[0].playerObject != null){
if (playersArray[0].dohnut == true){
GameMain.statsMc.upgradeIcons.dohnutIcon.gotoAndStop(1);
playersArray[0].playerObject.dohnutOn = true;
playersArray[0].dohnut = false;
playersArray[0].playerObject.doGlow(GameMain.dohnutDelay, 4);
};
};
} else {
if (event.keyCode == 50){
if (playersArray[0].playerObject != null){
if (playersArray[0].dohnutBox == true){
GameMain.statsMc.upgradeIcons.dohnutBoxIcon.gotoAndStop(1);
playersArray[0].playerObject.dohnutBoxOn = true;
playersArray[0].dohnutBox = false;
playersArray[0].playerObject.doGlow(GameMain.dohnutBoxDelay, 10);
};
};
} else {
if (event.keyCode == 51){
if (playersArray[0].playerObject != null){
if (playersArray[0].giantDohnut == true){
GameMain.statsMc.upgradeIcons.giantDohnutIcon.gotoAndStop(1);
playersArray[0].giantDohnut = false;
GameMain.setupGiantDohnut(playersArray[0].playerObject);
};
};
} else {
if (event.keyCode == 52){
if (playersArray[0].playerObject != null){
if (playersArray[0].airstrike == true){
GameMain.statsMc.upgradeIcons.airstrikeIcon.gotoAndStop(1);
playersArray[0].airstrike = false;
GameMain.setupAirstrike(playersArray[0].playerObject);
};
};
} else {
if (event.keyCode == 71){
if (playersArray[0].playerObject != null){
playersArray[0].playerObject.throwGrenade();
};
} else {
if (event.keyCode == 75){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.throwGrenade();
};
} else {
if (event.keyCode == 90){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.fireGun();
};
} else {
if (event.keyCode == 76){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.fireGun();
};
} else {
if (event.keyCode == 68){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDX = "right";
};
} else {
if (event.keyCode == 65){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDX = "left";
};
} else {
if (event.keyCode == 87){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDY = "up";
};
} else {
if (event.keyCode == 83){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDY = "down";
};
} else {
if (event.keyCode == Keyboard.RIGHT){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDX = "right";
};
} else {
if (event.keyCode == Keyboard.LEFT){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDX = "left";
};
} else {
if (event.keyCode == Keyboard.UP){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDY = "up";
};
} else {
if (event.keyCode == Keyboard.DOWN){
if (playersArray[1].playerObject != null){
playersArray[1].playerObject.keyDY = "down";
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function startGame(event:MouseEvent):void{
presentationMc.removeChild(titleScreen);
chooseCharScreen = new GameChooseCharScreen(this);
presentationMc.addChild(chooseCharScreen);
}
public function loadingProgress(e:Event):void{
percentLoaded = ((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100);
gperc2 = int(percentLoaded);
}
public function showScores(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.playtowerdefensegames.com/index.php?action=highscores&gameid=981"), "_blank");
}
function gFadeInDone(tween:GTween):void{
var myTween2:*;
GameMain.inGameBackgroundMc.removeChild(GameMain.backSkyMc);
GameMain.backSkyMc = null;
presentationMc.addChild(gameCompleteScreen);
myTween2 = new GTween(gameCompleteScreen, 2, {brightness:0}, {ease:Sine.easeOut});
}
public function setupInstrScreen(event:MouseEvent):void{
instrScreenMc = new GameInstructionsScreen(GameMain);
presentationMc.addChild(instrScreenMc);
}
public function adFinished(){
mochiOn = false;
gameState = STATE_SYSTEM_LOADER;
}
public function mouseLeftUpClick(ev:Event):void{
mouseDownClicked = false;
if (gameState == STATE_SYSTEM_PLAY){
GameMain.on_mouse_up();
};
}
public function setupGameOverScreen(){
GameMain.inGameBackgroundMc.removeChild(GameMain.backSkyMc);
GameMain.backSkyMc = null;
gameOverScreenMc = new GameOverScreen(GameMain);
presentationMc.addChild(gameOverScreenMc);
}
function fadeOutDone(tween:GTween):void{
var myTween2:*;
presentationMc.removeChild(weaponScreen);
weaponScreen = null;
GameMain.levelNumber++;
GameMain.setupGame();
myTween2 = new GTween(GameMain.backSkyMc, 1, {brightness:0}, {ease:Sine.easeOut});
gameState = STATE_SYSTEM_PLAY;
stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseLeftClick);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseLeftUpClick);
}
public function doLoadScreen():void{
if (!loaderStarted){
if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal){
finishPreload();
} else {
loadingBox = new loadingBoxMc();
loadingBox.addEventListener(Event.ENTER_FRAME, loadingUpdater);
loaderStarted = true;
loadingBox.x = 200;
loadingBox.y = 290;
addChild(loadingBox);
};
};
}
public function setupBert(clip){
var found:Boolean;
found = false;
playersArray[0].playerName = "Bert";
playersArray[1].playerName = "Jim";
clip.playersMsg.text = "Bert is a crack marksman! but doesn't reload as quick as Jim!";
playersArray[1].used = false;
clip.player1Txt.text = "player1";
clip.player1Msg.text = "Mouse controlled";
clip.player2Txt.text = "player2";
clip.player2Msg.text = "Player 2 needs to press the space bar during the game to join in the fun. Then use Arrow keys or W A S D to move cross hair and Space bar to fire.";
}
public function loadingUpdater(e:Event):void{
percentLoaded = ((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100);
gperc2 = int(percentLoaded);
if (gskip < 2){
gskip++;
return;
};
gskip = 0;
if (gperc < gperc2){
gperc++;
loadingBox.loaderbar.gotoAndStop(gperc);
};
if (gperc >= 100){
loadingComplete();
};
}
public function sendScore(score, nm){
var url:String;
var request:URLRequest;
var lv:*;
if (score == 0){
score = GameMain.Useful.RandomNumber(1, 3);
};
url = "http://playtowerdefensegames.com/highscores/submit/play4scores.php";
request = new URLRequest(url);
request.method = URLRequestMethod.POST;
lv = new URLVariables();
lv.game_id = 981;
lv.user_id = nm.substr(0, 15);
lv.score = score;
request.data = lv;
sendToURL(request);
}
function fadeInDone(tween:GTween):void{
var myTween2:*;
if (GameMain.backSkyMc != null){
GameMain.inGameBackgroundMc.removeChild(GameMain.backSkyMc);
GameMain.backSkyMc = null;
};
presentationMc.addChild(weaponScreen);
myTween2 = new GTween(weaponScreen.shop, 2, {brightness:0}, {ease:Sine.easeOut});
}
public function doMochi():void{
if (!mochiOn){
MochiAd.showPreGameAd({clip:root, id:"7c51a51180866d78", res:"760x500", ad_finished:this.adFinished});
mochiOn = true;
};
}
public function loadGame(){
if (GameGameFile.loadGameCookie()){
if (titleScreen != null){
presentationMc.removeChild(titleScreen);
titleScreen = null;
};
gameState = STATE_SYSTEM_PLAY;
stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseLeftClick);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseLeftUpClick);
setupWeaponScreen(false);
};
}
public function finishPreload():void{
this.gotoAndStop(3);
gameState = STATE_SYSTEM_INTRO;
}
}
}//package classesAS3
Section 34
//GameMissile (classesAS3.GameMissile)
package classesAS3 {
import flash.display.*;
public class GameMissile extends MovieClip {
var xVel:Number;
public var myObject:Object;
var yPos:Number;
var bounces:Number;
var myDamage:Number;// = 2
var dead2:Boolean;// = false
var speed:Number;// = 2
var firedMeMc:Object;// = null
var gravity:Number;
var yVel:Number;
var myParentObject:Object;// = null
public var myParent:Object;
public var rt:Object;
var dead:Boolean;// = false
var energy:Number;// = 100
var mC:Object;
var bounceDecrease:Number;// = 0.8
var deadDelay:Number;
var myScore:Number;// = 0
var xOrigin:Number;
var xPos:Number;
var myGroundLevel:Number;// = 0
var yOrigin:Number;
public function GameMissile(myP, rt2, velocityObj, mType, xStart, yStart, zT, myGround, mS, fMe, mm, sp, myD){
energy = 100;
dead = false;
dead2 = false;
myGroundLevel = 0;
bounceDecrease = 0.8;
myScore = 0;
speed = 2;
firedMeMc = null;
myParentObject = null;
myDamage = 2;
super();
addFrameScript(0, frame1);
myParent = myP;
rt = rt2;
myDamage = myD;
firedMeMc = fMe;
myParentObject = mm;
myScore = mS;
mC = this;
myGroundLevel = myGround;
xPos = 0;
yPos = 0;
bounces = 0;
dead = false;
dead2 = false;
xOrigin = xStart;
yOrigin = yStart;
this.gotoAndStop(mType);
deadDelay = 0;
speed = sp;
if (myParentObject.myName == "GameFish"){
xVel = (velocityObj.vx * speed);
yVel = (velocityObj.vy * speed);
} else {
if (myParentObject.myName == "GameLizard"){
xVel = (velocityObj.vx * speed);
yVel = (velocityObj.vy * speed);
} else {
gravity = velocityObj.gravity;
xVel = velocityObj.xStep;
yVel = velocityObj.yStep;
};
};
bounceDecrease = 0.8;
this.x = (xOrigin + xPos);
this.y = (yOrigin + yPos);
updatePosition();
}
function applyGravity(){
yVel = (yVel + gravity);
}
function updatePosition(){
var oldX:*;
var oldY:*;
var dx:Number;
var dy:Number;
var angle2:Number;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
oldX = this.x;
oldY = this.y;
this.x = (xOrigin + xPos);
this.y = (yOrigin + yPos);
dx = (this.x - oldX);
dy = (this.y - oldY);
angle2 = Math.atan2(dy, dx);
this.rotation = ((angle2 * 180) / Math.PI);
}
function removeMC(){
var arrayIndex:Number;
var i1:*;
arrayIndex = -1;
i1 = 0;
while (i1 < rt.missilesArray.length) {
if (this == rt.missilesArray[i1]){
arrayIndex = i1;
};
i1++;
};
if (arrayIndex >= 0){
if (this.parent != null){
myParent.removeChild(this);
rt.missilesArray.splice(arrayIndex, 1);
};
};
dead2 = true;
}
function projectileCollision(){
var mC:*;
mC = this;
if (mC.hitTestObject(rt.backSkyMc.dStand)){
rt.statsMc.decreaseEnergy(myDamage);
remove();
};
}
function checkForOffStage(){
if (this.x < -50){
remove();
};
if (this.y < -400){
remove();
};
if (this.x > 760){
remove();
};
if (this.y > 600){
remove();
};
}
function frame1(){
stop();
}
function remove(){
dead = true;
if (myParentObject.myName == "GameLizard"){
rt.explosionsArray.push(new GameExplosion(rt, this.x, this.y, 2, rt.Useful, 1, 1, rt.Useful.RandomNumber(60, 60), true, false, true, 0, 100, false, firedMeMc));
};
}
function collisionDetection(){
var xm:Number;
var ym:Number;
var yy:Number;
var numberOfBounces:Number;
var i:*;
xm = int(this.x);
ym = this.y;
ym = (ym + yVel);
yy = myGroundLevel;
if (ym > yy){
bounces++;
numberOfBounces = 3;
if (this.currentFrame == 25){
numberOfBounces = 6;
} else {
if (this.currentFrame == 26){
numberOfBounces = 1;
};
};
if (bounces > numberOfBounces){
remove();
} else {
yVel = -(yVel);
yVel = (yVel * bounceDecrease);
bounceDecrease = (bounceDecrease - 0.2);
gravity++;
updatePosition();
};
};
if (this.currentFrame == 25){
i = 0;
while (i < rt.badGuysArray.length) {
if (this.hitTestObject(rt.badGuysArray[i].mC)){
rt.badGuysArray[i].decreaseEnergy("headShot", 1, firedMeMc);
};
i++;
};
} else {
if (this.currentFrame == 26){
i = 0;
while (i < rt.badGuysArray.length) {
if (this.hitTestObject(rt.badGuysArray[i].mC)){
rt.badGuysArray[i].decreaseEnergy("headShot", 1, firedMeMc);
remove();
break;
};
i++;
};
};
};
}
public function decreaseEnergy(hitType, damage, hurtMeMc){
var risingScoreMc:*;
rt.explosionsArray.push(new GameExplosion(rt, mC.x, mC.y, 1, rt.Useful, rt.Useful.RandomNumber(20, 20), 1, rt.Useful.RandomNumber(60, 60), true, false, false, 12, 0, false, null));
if (energy > 0){
energy = (energy - damage);
if (energy <= 0){
rt.statsMc.increaseScore(myScore);
risingScoreMc = new GameHeadShotTxt(rt, rt.inGameScoreMc, myScore);
rt.inGameScoreMc.addChild(risingScoreMc);
risingScoreMc.x = mC.x;
risingScoreMc.y = (mC.y - 10);
energy = 0;
removeMC();
};
};
}
public function mainLoop(){
if (dead == false){
if (myParentObject.myName == "GameFish"){
projectileCollision();
updatePosition();
} else {
if (myParentObject.myName == "GameLizard"){
projectileCollision();
updatePosition();
} else {
applyGravity();
collisionDetection();
updatePosition();
};
};
} else {
deadDelay--;
if (deadDelay <= 0){
removeMC();
};
};
checkForOffStage();
}
}
}//package classesAS3
Section 35
//GameMole (classesAS3.GameMole)
package classesAS3 {
import flash.display.*;
public class GameMole extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameMole(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 36
//GameMouse (classesAS3.GameMouse)
package classesAS3 {
import flash.display.*;
public class GameMouse extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameMouse(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
if (MovieClip(this).myObject.myName == "GameMouse"){
if (MovieClip(this).myObject.xDir < 0){
MovieClip(this).soldier.scaleX = -1;
MovieClip(this).myObject.animMc.gotoAndStop("steal");
};
};
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
if (MovieClip(this).myObject.myName == "GameMouse"){
if (MovieClip(this).myObject.xDir < 0){
MovieClip(this).soldier.scaleX = -1;
MovieClip(this).myObject.animMc.gotoAndStop("steal");
};
};
}
}
}//package classesAS3
Section 37
//GameOverScreen (classesAS3.GameOverScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameOverScreen extends MovieClip {
public var submitBtn:SimpleButton;
public var rt:Object;
public var scoreTxt:TextField;
public var nameTxt:TextField;
public var homeBtn:SimpleButton;
public function GameOverScreen(rt2){
super();
addFrameScript(0, frame1, 1, frame2);
rt = rt2;
homeBtn.addEventListener(MouseEvent.MOUSE_UP, doHome);
}
function doHome(event:MouseEvent):void{
rt.rt.setupGameOverTitleScreen();
}
function frame1(){
stop();
}
function frame2(){
scoreTxt.text = MovieClip(this).rt.scoreOld;
submitBtn.addEventListener(MouseEvent.MOUSE_UP, doScore);
}
public function doScore(event:MouseEvent):void{
if (nameTxt.text != ""){
MovieClip(this).rt.rt.sendScore(MovieClip(this).rt.scoreOld, nameTxt.text);
MovieClip(this).rt.rt.showScores2();
MovieClip(this).rt.rt.setupGameOverTitleScreen();
};
}
}
}//package classesAS3
Section 38
//GameParrot (classesAS3.GameParrot)
package classesAS3 {
import flash.display.*;
public class GameParrot extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameParrot(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 39
//GameParticle (classesAS3.GameParticle)
package classesAS3 {
import flash.display.*;
public class GameParticle extends MovieClip {
var bounces:Number;
var yPos:Number;// = 0
public var c3:MovieClip;
var xVel:Number;// = 0
var myDamage:Number;
var gravity:Boolean;
var mType:Number;
var firedMeMc:Object;// = null
var speed:Number;
var yVel:Number;// = 0
var mC:Object;
var rt:Object;
var dead:Boolean;
var myRow:Number;
var artillary:Boolean;
var Useful:GameUseful;
var xOrigin:Number;// = 0
var xPos:Number;// = 0
var gravityValue:Number;
public var crate2:MovieClip;
var myParentGB:Boolean;
var endX:Number;
var endY:Number;
var arrayIndex:Number;
var explodeDistance:Number;
var yOrigin:Number;// = 0
public function GameParticle(rt2, useF, xStart, yStart, type, vx, vy, edX, edY, art, grav, dist, speed, myD, myGB, fMe){
xOrigin = 0;
yOrigin = 0;
xPos = 0;
yPos = 0;
xVel = 0;
yVel = 0;
firedMeMc = null;
super();
rt = rt2;
Useful = useF;
firedMeMc = fMe;
artillary = art;
gravity = grav;
myDamage = myD;
myParentGB = myGB;
explodeDistance = dist;
xOrigin = xStart;
yOrigin = yStart;
gravityValue = 0;
endX = edX;
endY = edY;
xPos = 0;
yPos = 0;
bounces = 0;
dead = false;
xVel = (vx * speed);
yVel = (vy * speed);
mC = this;
mType = type;
mC.gotoAndStop(mType);
updatePosition();
}
function updatePosition(){
var oldX:Number;
var oldY:Number;
var dx:Number;
var dy:Number;
var angle2:Number;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
oldX = x;
oldY = y;
x = (xOrigin + xPos);
y = (yOrigin + yPos);
if (myDamage == 0){
dx = (x - oldX);
dy = (y - oldY);
angle2 = Math.atan2(dy, dx);
rotation = ((angle2 * 180) / Math.PI);
rotation = (rotation - 90);
};
}
function mainLoop(){
var explodeLength:Number;
if (dead == false){
explodeLength = Useful.getDistance(x, y, endX, endY);
if (artillary == true){
if (explodeLength > (explodeDistance / 2)){
scaleX = (scaleX + 40);
scaleY = scaleX;
} else {
scaleX = (scaleX - 35);
scaleY = scaleX;
};
};
if (gravity == true){
gravityValue = (gravityValue + 0.2);
yVel = (yVel + gravityValue);
};
if (explodeLength > (explodeDistance + 10)){
if (this.parent != null){
remove();
};
};
if (myDamage != 0){
collisionDetection();
};
updatePosition();
};
}
function mCDeath(){
}
function checkForOffStage(){
if (mC.x < 0){
remove();
};
if (mC.y < 0){
remove();
};
if (mC.x > 1700){
remove();
};
}
function collisionDetection(){
var dead2:Boolean;
var i:*;
dead2 = false;
i = 0;
while (i < rt.badGuysArray.length) {
if (rt.badGuysArray[i].energy > 0){
if (rt.badGuysArray[i].mC.hitTestObject(this)){
if (firedMeMc != null){
if (rt.rt.GameData.gunData[firedMeMc.myObject.gunTypeIndex][0] == "Grenade launcher"){
rt.badGuysArray[i].decreaseEnergy("normal", myDamage, firedMeMc);
} else {
dead2 = true;
rt.badGuysArray[i].decreaseEnergy("headShot", myDamage, firedMeMc);
break;
};
} else {
dead2 = true;
rt.badGuysArray[i].decreaseEnergy("headShot", myDamage, firedMeMc);
break;
};
};
};
i++;
};
if (dead2 == true){
remove();
};
}
function remove(){
var arrayIndex:Number;
var i1:*;
arrayIndex = -1;
i1 = 0;
while (i1 < rt.particlesArray.length) {
if (this == rt.particlesArray[i1]){
arrayIndex = i1;
break;
};
i1++;
};
if (this.parent != null){
this.parent.removeChild(this);
};
if (arrayIndex != -1){
rt.particlesArray.splice(arrayIndex, 1);
};
this.stop();
}
}
}//package classesAS3
Section 40
//GamePlayer (classesAS3.GamePlayer)
package classesAS3 {
import flash.geom.*;
import flash.events.*;
import com.gskinner.motion.*;
import fl.motion.easing.*;
import flash.filters.*;
public class GamePlayer {
var myParentIndex:Number;// = 0
var lineDrawing:Object;// = null
public var playerName:String;// = "Jackson"
var glow:GlowFilter;
var longLine:Object;
var myGunRotation:Number;// = 0
public var animMc:Object;// = null
public var dailyGold:Number;// = 0
var myTween:GTween;
public var reloading:Boolean;// = false
public var dohnutOn:Boolean;// = false
public var keyDX:String;// = ""
public var keyDY:String;// = ""
var Useful:Object;
public var dohnutBoxOn:Boolean;// = false
public var playerType:String;// = ""
public var fire:Boolean;// = false
public var troopCost:Number;// = 1
public var rt:Object;
var vy:Number;// = 0
var vx:Number;// = 0
var myGunX2:Number;// = 0
public var myName:String;// = ""
public var gunTypeIndex:Number;// = 0
public var fireLineDelay:Number;// = 0
public var computerPlayer:String;// = ""
public var gold:Number;// = 0
public var startMsg:Boolean;// = false
public var startGameMsgMc:Object;// = null
var myGunX:Number;// = 0
var myGunY:Number;// = 0
public var currentAmmo:Number;// = 0
public var myStartLocation:String;
var myGunY2:Number;// = 0
public var mC:Object;
public var turnPhase:Number;// = 0
public function GamePlayer(rt2, uu, clip, myN, gI, xx, yy, lnD, plI){
myName = "";
glow = new GlowFilter(0xFF0000, 1, 10, 10, 0, 2, false, false);
playerType = "";
computerPlayer = "";
gunTypeIndex = 0;
currentAmmo = 0;
playerName = "Jackson";
dailyGold = 0;
gold = 0;
startGameMsgMc = null;
startMsg = false;
turnPhase = 0;
troopCost = 1;
lineDrawing = null;
animMc = null;
reloading = false;
keyDX = "";
keyDY = "";
vx = 0;
vy = 0;
fire = false;
fireLineDelay = 0;
dohnutOn = false;
dohnutBoxOn = false;
myParentIndex = 0;
myGunRotation = 0;
myGunX = 0;
myGunY = 0;
myGunX2 = 0;
myGunY2 = 0;
longLine = new Object();
super();
rt = rt2;
Useful = uu;
myParentIndex = plI;
myName = myN;
lineDrawing = lnD;
mC = clip;
gunTypeIndex = gI;
mC.gotoAndStop((gunTypeIndex + 1));
reload();
rt.rt.playersArray[myParentIndex].bulletsUsed = 0;
rt.rt.playersArray[myParentIndex].numberOfHits = 0;
mC.x = xx;
mC.y = yy;
vx = 0;
vy = 0;
rt.rt.playersArray[myParentIndex].gold = 0;
rt.rt.playersArray[myParentIndex].score = 0;
}
public function throwGrenade(){
var xx:Number;
var yy:Number;
var spriteData:Object;
if (rt.rt.playersArray[myParentIndex].grenades > 0){
xx = 0;
yy = 0;
if (rt.rt.playersArray[1].playerObject == this){
xx = rt.crossHairMc2.x;
yy = rt.crossHairMc2.y;
} else {
xx = rt.rt.mouseX;
yy = rt.rt.mouseY;
};
spriteData = Useful.getArcVelocity(2, 16, mC.x, (mC.y + mC.height), xx, yy);
rt.zombiePartsArray.push(new GameZombieParts(rt.inGameMissilesMc, rt, spriteData, "grenade", mC.x, mC.y, 1, 440, 10, mC));
rt.inGameMissilesMc.addChild(rt.zombiePartsArray[(rt.zombiePartsArray.length - 1)]);
rt.rt.playersArray[myParentIndex].grenades--;
};
}
function setupStartMsg(){
startGameMsgMc = new GameStartMsg(rt, (rt.movieWidth + 410), 540, 596, 540, rt.rt.GameData.startGameSoldierMsg, mC);
rt.inGameMsgsMc.addChild(startGameMsgMc);
startGameMsgMc.alpha = 0;
}
public function remove(){
var i2:int;
var i:*;
i2 = 0;
while (i2 < rt.inGamePlayerMc.numChildren) {
if (rt.inGamePlayerMc.getChildAt(i2) == mC){
rt.inGamePlayerMc.removeChild(mC);
mC.stop();
};
i2++;
};
i = 0;
while (i < rt.rt.playersArray.length) {
if (rt.rt.playersArray[i].playerObject != null){
if (rt.rt.playersArray[i].playerObject == this){
rt.rt.playersArray[i].playerObject = null;
};
};
i++;
};
}
public function mainLoop(){
var ns:Object;
if (rt.gameOverDo == false){
if (rt.gameOver2 == false){
if (rt.rt.playersArray[1].playerObject == this){
if (keyDX == "right"){
vx = (vx + 1.2);
if (vx > 14){
vx = 14;
};
} else {
if (keyDX == "left"){
vx = (vx - 1.2);
if (vx < -14){
vx = -14;
};
} else {
vx = (vx / 1.4);
};
};
if (keyDY == "down"){
vy = (vy + 1.2);
if (vy > 14){
vy = 14;
};
} else {
if (keyDY == "up"){
vy = (vy - 1.2);
if (vy < -14){
vy = -14;
};
} else {
vy = (vy / 1.4);
};
};
rt.crossHairMc2.x = (rt.crossHairMc2.x + vx);
rt.crossHairMc2.y = (rt.crossHairMc2.y + vy);
if (rt.crossHairMc2.x > rt.movieWidth){
rt.crossHairMc2.x = rt.movieWidth;
} else {
if (rt.crossHairMc2.x < 0){
rt.crossHairMc2.x = 0;
};
};
if (rt.crossHairMc2.y > rt.movieHeight){
rt.crossHairMc2.y = rt.movieHeight;
} else {
if (rt.crossHairMc2.y < 0){
rt.crossHairMc2.y = 0;
};
};
if (animMc != null){
if (animMc.bt != null){
if (animMc.bt.lArm != null){
if (animMc.currentFrame != 6){
ns = Useful.localToGlobalXY(animMc.bt.lArm);
animMc.bt.lArm.rotation = Useful.pointTowards(ns.newX, ns.newY, rt.crossHairMc2.x, rt.crossHairMc2.y).spriteRotation;
ns = Useful.localToGlobalXY2(animMc.bt.lArm.firePoint);
myGunX2 = ns.newX;
myGunY2 = ns.newY;
};
};
};
};
} else {
if (animMc != null){
if (animMc.bt != null){
if (animMc.currentFrame != 6){
if (animMc.bt.lArm != null){
ns = Useful.localToGlobalXY(animMc.bt.lArm);
animMc.bt.lArm.rotation = Useful.pointTowards(ns.newX, ns.newY, rt.rt.mouseX, rt.rt.mouseY).spriteRotation;
ns = Useful.localToGlobalXY2(animMc.bt.lArm.firePoint);
myGunX = ns.newX;
myGunY = ns.newY;
};
};
};
};
};
if (animMc != null){
if (animMc.currentFrame != 6){
if (fire == true){
fireGun();
};
if (fireLineDelay != 0){
fireLineDelay--;
if (fireLineDelay == 0){
if (fire == true){
if (gunTypeIndex == 0){
fire = false;
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 1){
fire = false;
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 2){
lineDrawing.graphics.clear();
shootAgain(6);
} else {
if (gunTypeIndex == 3){
lineDrawing.graphics.clear();
shootAgain(5);
} else {
if (gunTypeIndex == 4){
fire = false;
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 5){
lineDrawing.graphics.clear();
shootAgain(6);
} else {
if (gunTypeIndex == 6){
lineDrawing.graphics.clear();
shootAgain(4);
} else {
if (gunTypeIndex == 7){
lineDrawing.graphics.clear();
shootAgain(5);
} else {
if (gunTypeIndex == 8){
fire = false;
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 9){
fire = false;
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 10){
lineDrawing.graphics.clear();
shootAgain(3);
};
};
};
};
};
};
};
};
};
};
};
};
} else {
if (gunTypeIndex == 2){
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 3){
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 5){
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 6){
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 7){
lineDrawing.graphics.clear();
} else {
if (gunTypeIndex == 10){
lineDrawing.graphics.clear();
};
};
};
};
};
};
};
} else {
lineDrawing.graphics.clear();
};
} else {
lineDrawing.graphics.clear();
};
};
};
};
}
function drawLineToAttack(from, to){
var fromMc:*;
var toMc:*;
fromMc = rt.Useful.localToGlobalXY2(from);
toMc = rt.Useful.localToGlobalXY2(to);
if (rt.rt.playersArray[1].playerObject != null){
if (rt.rt.playersArray[1].playerObject != this){
lineDrawing.graphics.clear();
};
} else {
lineDrawing.graphics.clear();
};
if (dohnutBoxOn == true){
if (rt.rt.GameData.gunData[gunTypeIndex][0] == "Mini gun"){
lineDrawing.graphics.lineStyle(6, 0xFF00FF, 0.7, false, "normal", null, null, 3);
} else {
lineDrawing.graphics.lineStyle(5, 0xFF00FF, 1, false, "normal", null, null, 3);
};
} else {
if (rt.rt.GameData.gunData[gunTypeIndex][0] == "Mini gun"){
lineDrawing.graphics.lineStyle(6, 0xFFFFFF, 0.7, false, "normal", null, null, 3);
} else {
lineDrawing.graphics.lineStyle(3, 0xFFFFFF, 1, false, "normal", null, null, 3);
};
};
if (fromMc.newX > toMc.newX){
longLine = drawLongLine(fromMc.newX, fromMc.newY, toMc.newX, toMc.newY);
if (longLine != null){
lineDrawing.graphics.moveTo(longLine.x1, longLine.y1);
lineDrawing.graphics.lineTo(longLine.x2, longLine.y2);
};
};
}
function drawLongLine(x1, y1, x2, y2):Object{
var line:Object;
var m:Number;
var xbeg:Number;
var xend:Number;
var ybeg:Number;
var yend:Number;
line = new Object();
line.x1 = x1;
line.y1 = y1;
line.x2 = x2;
line.y2 = y2;
if ((((x1 == x2)) && ((y1 == y2)))){
x2--;
y2--;
};
if (x1 == x2){
if (y1 > y2){
y2 = 0;
} else {
y2 = (rt.movieHeight - 40);
};
return (line);
};
if (y1 == y2){
if (x1 > x2){
x2 = 0;
} else {
x2 = rt.movieWidth;
};
return (line);
};
m = ((y1 - y2) / (x1 - x2));
xbeg = 0;
ybeg = (y1 + (m * (xbeg - x1)));
xend = rt.movieWidth;
yend = (y1 + (m * (xend - x1)));
if (ybeg > (rt.movieHeight - 40)){
ybeg = (rt.movieHeight - 40);
xbeg = (x1 + ((ybeg - y1) / m));
};
if (ybeg < 0){
ybeg = 0;
xbeg = (x1 + ((ybeg - y1) / m));
};
if (yend > (rt.movieHeight - 40)){
yend = (rt.movieHeight - 40);
xend = (x1 + ((yend - y1) / m));
};
if (yend < 0){
yend = 0;
xend = (x1 + ((yend - y1) / m));
};
line.x2 = xbeg;
line.y2 = ybeg;
return (line);
}
function shootAgain(gunDelay){
if (checkForAmmoLeft()){
fireLineDelay = gunDelay;
drawLine();
checkBadGuyCollision();
rt.statsMc.decreaseAmmo(this, 1);
};
}
public function reload(){
var gun:Array;
if (rt.rt.playersArray[myParentIndex].bulletsArray[gunTypeIndex] > 0){
rt.Sounds.playSoundFx("reloadFx", (rt.rt.startFxVolume / 10), 0, 1);
reloading = false;
gun = rt.rt.GameData.gunData[gunTypeIndex];
if (rt.rt.playersArray[myParentIndex].bulletsArray[gunTypeIndex] < gun[5]){
currentAmmo = rt.rt.playersArray[myParentIndex].bulletsArray[gunTypeIndex];
} else {
currentAmmo = gun[5];
};
if (rt.rt.playersArray[myParentIndex].gunUpgraded == rt.rt.GameData.gunData[gunTypeIndex][0]){
currentAmmo++;
};
};
rt.statsMc.setAmmo(this);
}
public function fireGun(){
if (rt.aliensLeft > 0){
if (rt.gameOverDo == false){
if (animMc.currentFrame != 6){
if (animMc.currentFrame != 3){
if (checkForAmmoLeft()){
if (rt.rt.GameData.gunData[gunTypeIndex][0] == "Grenade launcher"){
fireGrenade();
fireLineDelay = 1;
animMc.gotoAndStop("attack");
} else {
drawLine();
fireLineDelay = 3;
animMc.gotoAndStop("attack");
checkBadGuyCollision();
};
rt.statsMc.decreaseAmmo(this, 1);
};
};
};
};
} else {
if (rt.inGameScoreMc.numChildren > 0){
if (rt.gameOverDo == false){
if (animMc.currentFrame != 6){
if (animMc.currentFrame != 3){
if (checkForAmmoLeft()){
if (rt.rt.GameData.gunData[gunTypeIndex][0] == "Grenade Launcher"){
fireGrenade();
fireLineDelay = 1;
animMc.gotoAndStop("attack");
} else {
drawLine();
fireLineDelay = 3;
animMc.gotoAndStop("attack");
checkBadGuyCollision();
};
rt.statsMc.decreaseAmmo(this, 1);
};
};
};
};
};
};
}
function checkBadGuyCollision(){
var hit:Boolean;
var damage:Number;
var headShots:Number;
var gunStart:Point;
var gunEnd:Point;
var badGuyArray:Array;
var badGuy:Object;
var i:*;
var rect:Rectangle;
var zombieTop:Point;
var zombieBottom:Point;
var zombieLeft:Point;
if (rt.rt.playersArray[myParentIndex].gunUpgraded == rt.rt.GameData.gunData[gunTypeIndex][0]){
damage = (rt.rt.GameData.gunData[gunTypeIndex][4] + 10);
headShots = (rt.rt.GameData.gunData[gunTypeIndex][8] + 1);
} else {
damage = rt.rt.GameData.gunData[gunTypeIndex][4];
headShots = rt.rt.GameData.gunData[gunTypeIndex][8];
};
if (dohnutBoxOn == true){
damage = (damage * 1.5);
damage = int(damage);
};
hit = false;
if (rt.rt.playersArray[0].playerName == "Bert"){
headShots++;
};
if (rt.rt.playersArray[1].playerObject == this){
gunStart = new Point(myGunX2, myGunY2);
gunEnd = new Point(longLine.x2, longLine.y2);
badGuyArray = rt.setSpriteClose();
badGuy = null;
i = 0;
while (i < badGuyArray.length) {
badGuy = badGuyArray[i].distSprite;
rect = badGuy.animMc.getBounds(rt.rt.stage);
zombieTop = new Point(rect.right, rect.top);
zombieBottom = new Point(rect.right, rect.bottom);
if (badGuy.headShots <= headShots){
if (badGuy.animMc.hdShot.hitTestPoint(rt.crossHairMc2.x, rt.crossHairMc2.y, true)){
badGuy.headShots = 100;
rt.rt.playersArray[1].numberOfHits++;
rt.rt.playersArray[1].numberOfHeadShots++;
badGuy.decreaseEnergy("headShot", 1, mC);
hit = true;
break;
} else {
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[1].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
} else {
zombieLeft = new Point(rect.left, rect.bottom);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieLeft, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[1].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
};
};
};
} else {
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[1].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
} else {
zombieLeft = new Point(rect.left, rect.bottom);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieLeft, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[1].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
};
};
};
i++;
};
i = 0;
while (i < rt.zombiePartsArray.length) {
if (rt.zombiePartsArray[i].mC.hitTestPoint(rt.crossHairMc2.x, rt.crossHairMc2.y, true)){
rt.rt.playersArray[1].numberOfHits++;
rt.zombiePartsArray[i].decreaseEnergy("normalShot", 100, mC);
hit = true;
break;
};
i++;
};
if (hit == false){
i = 0;
while (i < rt.risingScoreArray.length) {
if (rt.risingScoreArray[i].timesHit < 14){
rect = rt.risingScoreArray[i].getBounds(rt.rt.stage);
zombieTop = new Point(rect.right, rect.top);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
rt.risingScoreArray[i].increaseMoney();
rt.rt.playersArray[1].numberOfHits++;
rt.statsMc.increaseMoney(10, mC);
} else {
zombieLeft = new Point(rect.left, rect.bottom);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
rt.risingScoreArray[i].increaseMoney();
rt.rt.playersArray[1].numberOfHits++;
rt.statsMc.increaseMoney(10, mC);
};
};
};
i++;
};
};
} else {
gunStart = new Point(myGunX, myGunY);
gunEnd = new Point(longLine.x2, longLine.y2);
badGuyArray = rt.setSpriteClose();
badGuy = null;
i = 0;
while (i < badGuyArray.length) {
badGuy = badGuyArray[i].distSprite;
rect = badGuy.animMc.getBounds(rt.rt.stage);
zombieTop = new Point(rect.right, rect.top);
zombieBottom = new Point(rect.right, rect.bottom);
if (badGuy.headShots <= headShots){
if (badGuy.animMc.hdShot.hitTestPoint(rt.rt.mouseX, rt.rt.mouseY, true)){
badGuy.headShots = 100;
rt.rt.playersArray[0].numberOfHits++;
rt.rt.playersArray[0].numberOfHeadShots++;
badGuy.decreaseEnergy("headShot", 1, mC);
hit = true;
break;
} else {
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[0].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
} else {
zombieLeft = new Point(rect.left, rect.bottom);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieLeft, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[1].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
};
};
};
} else {
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[0].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
} else {
zombieLeft = new Point(rect.left, rect.bottom);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieLeft, zombieBottom, true) != null){
badGuy.headShots++;
rt.rt.playersArray[1].numberOfHits++;
badGuy.decreaseEnergy("normalShot", damage, mC);
hit = true;
break;
};
};
};
i++;
};
i = 0;
while (i < rt.zombiePartsArray.length) {
if (rt.zombiePartsArray[i].mC.hitTestPoint(rt.rt.mouseX, rt.rt.mouseY, true)){
rt.rt.playersArray[0].numberOfHits++;
rt.zombiePartsArray[i].decreaseEnergy("normalShot", 100, mC);
hit = true;
break;
};
i++;
};
if (hit == false){
i = 0;
while (i < rt.risingScoreArray.length) {
if (rt.risingScoreArray[i].timesHit < 14){
rect = rt.risingScoreArray[i].getBounds(rt.rt.stage);
zombieTop = new Point(rect.right, rect.top);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieTop, zombieBottom, true) != null){
rt.rt.playersArray[0].numberOfHits++;
rt.risingScoreArray[i].increaseMoney();
rt.statsMc.increaseMoney(10, mC);
} else {
zombieLeft = new Point(rect.left, rect.bottom);
zombieBottom = new Point(rect.right, rect.bottom);
if (Useful.lineIntersectLine(gunStart, gunEnd, zombieLeft, zombieBottom, true) != null){
rt.rt.playersArray[0].numberOfHits++;
rt.risingScoreArray[i].increaseMoney();
rt.statsMc.increaseMoney(10, mC);
};
};
};
i++;
};
};
};
}
public function checkForAmmoLeft():Boolean{
if ((rt.rt.playersArray[myParentIndex].bulletsArray[rt.rt.playersArray[myParentIndex].gunTypeIndex] - 1) < 0){
return (false);
};
return (true);
}
public function doGlow(repeat, str){
mC.filters = [glow];
myTween = new GTween(glow, 1, {strength:str}, {ease:Quadratic.easeOut, repeatCount:repeat, reflect:true});
myTween.onChange = handleProgress;
myTween.onComplete = glowDone;
}
function fireGrenade(){
var xx:Number;
var yy:Number;
var newXY:Object;
var spriteData:Object;
xx = 0;
yy = 0;
if (rt.rt.playersArray[1].playerObject == this){
xx = rt.crossHairMc2.x;
yy = rt.crossHairMc2.y;
} else {
xx = rt.rt.mouseX;
yy = rt.rt.mouseY;
};
newXY = rt.Useful.localToGlobalXY(animMc.bt.lArm.firePoint);
spriteData = Useful.getArcVelocity(2, 16, newXY.newX, newXY.newY, xx, yy);
rt.zombiePartsArray.push(new GameZombieParts(rt.inGameMissilesMc, rt, spriteData, "Grenade launcher", newXY.newX, newXY.newY, 1, 400, 10, mC));
rt.inGameMissilesMc.addChild(rt.zombiePartsArray[(rt.zombiePartsArray.length - 1)]);
rt.rt.playersArray[myParentIndex].bulletsUsed++;
rt.Sounds.playSoundFx("grenadeLauncherFx", 0.3, 0, 1);
}
function glowDone(evt:GTween):void{
dohnutOn = false;
dohnutBoxOn = false;
mC.filters = [];
}
function drawLine(){
rt.rt.playersArray[myParentIndex].bulletsUsed++;
if (rt.rt.GameData.gunData[gunTypeIndex][0] == "Mini gun"){
rt.Sounds.playSoundFx("minigunSingleFx", 0.3, 0, 1);
} else {
rt.Sounds.playSoundFx("coltFireFx", 0.05, 0, 1);
};
if (rt.rt.playersArray[1].playerObject != this){
if (animMc.bt.lArm != null){
if (animMc.bt.lArm.firePoint != null){
drawLineToAttack(animMc.bt.lArm.firePoint, rt.crossHairMc);
};
};
} else {
if (animMc.bt.lArm != null){
if (animMc.bt.lArm.firePoint != null){
drawLineToAttack(animMc.bt.lArm.firePoint, rt.crossHairMc2);
};
};
};
}
function handleProgress(evt:GTween):void{
mC.filters = [glow];
}
}
}//package classesAS3
Section 41
//GamePlayerArrayObj (classesAS3.GamePlayerArrayObj)
package classesAS3 {
import flash.display.*;
import flash.events.*;
public class GamePlayerArrayObj extends MovieClip {
public var bulletsUsed:Number;// = 0
public var playerName:String;// = "Jim"
public var restoreEnergyOn;// = false
public var scoreOld:Number;// = 0
public var dohnut;// = false
public var myName:String;
public var gunTypeIndex:Number;// = 0
public var giantDohnut;// = false
public var rt:Object;
public var bulletsArray:Array;
public var disease;// = false
public var playerObject:Object;// = null
public var dohnutBox;// = false
public var gold:Number;// = 0
public var score:Number;// = 0
public var goldOld:Number;// = 0
public var numberOfHeadShots:Number;// = 0
public var airstrike;// = false
public var gunUpgraded:String;// = ""
public var used:Boolean;// = false
public var numberOfZombiesKilled:Number;// = 0
public var numberOfHits:Number;// = 0
public var grenadesUsed:Number;// = 0
public var grenades:Number;// = 0
public function GamePlayerArrayObj(rt2, myN, g, uu){
playerObject = null;
playerName = "Jim";
bulletsArray = new Array(500, 50, 180, 180, 50, 180, 180, 180, 50, 50, 180, 1);
gold = 0;
goldOld = 0;
used = false;
gunTypeIndex = 0;
restoreEnergyOn = false;
dohnut = false;
dohnutBox = false;
giantDohnut = false;
disease = false;
airstrike = false;
gunUpgraded = "";
bulletsUsed = 0;
numberOfHits = 0;
numberOfHeadShots = 0;
numberOfZombiesKilled = 0;
score = 0;
scoreOld = 0;
grenades = 0;
grenadesUsed = 0;
super();
rt = rt2;
used = uu;
gold = g;
playerName = myN;
gunTypeIndex = 0;
}
public function removeMe(){
stop();
}
function finishStuff(event:MouseEvent):void{
}
}
}//package classesAS3
Section 42
//GameRabbit (classesAS3.GameRabbit)
package classesAS3 {
import flash.display.*;
public class GameRabbit extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameRabbit(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 43
//GameRisingMoney (classesAS3.GameRisingMoney)
package classesAS3 {
import flash.display.*;
import flash.filters.*;
import flash.text.*;
public class GameRisingMoney extends MovieClip {
var hit3Colour:Number;// = 3381759
var hit1Filter:GlowFilter;
public var inGameScoreMc:Sprite;
var hit2Filter:GlowFilter;
var hit1Colour:Number;// = 0xFF6600
public var timesHit:Number;// = 0
public var txt:risingMoneyTxt;
public var scoreNumber:Number;// = 0
var basicFilter:GlowFilter;
var hit3Filter:GlowFilter;
var basicColour:Number;// = 6750003
public var rt:Object;
var hit2Colour:Number;// = 0xFF00FF
public function GameRisingMoney(rt2, inGame, scoreN){
scoreNumber = 0;
timesHit = 0;
basicColour = 6750003;
hit1Colour = 0xFF6600;
hit2Colour = 0xFF00FF;
hit3Colour = 3381759;
super();
addFrameScript(40, frame41);
basicFilter = new GlowFilter(0x3333, 1, 3, 3, 4, 1);
hit1Filter = new GlowFilter(0xCC0000, 1, 3, 3, 4, 1);
hit2Filter = new GlowFilter(0x660066, 1, 3, 3, 4, 1);
hit3Filter = new GlowFilter(13158, 1, 3, 3, 4, 1);
rt = rt2;
inGameScoreMc = inGame;
scoreNumber = scoreN;
timesHit = 0;
txt.moneyTxt.text = String(("$" + scoreN));
txt.moneyTxt.textColor = basicColour;
txt.moneyTxt.filters = [basicFilter];
}
public function increaseMoney(){
rt.Sounds.playSoundFx("hitMoneyFx", (rt.rt.startFxVolume / 10), 0, 1);
timesHit++;
scoreNumber = (scoreNumber + 10);
txt.moneyTxt.text = String(("$" + scoreNumber));
if (timesHit == 1){
txt.moneyTxt.textColor = hit1Colour;
txt.moneyTxt.filters = [hit1Filter];
} else {
if (timesHit == 1){
txt.moneyTxt.textColor = hit2Colour;
txt.moneyTxt.filters = [hit2Filter];
} else {
txt.moneyTxt.textColor = hit3Colour;
txt.moneyTxt.filters = [hit3Filter];
};
};
}
function frame41(){
this.inGameScoreMc.removeChild(this);
stop();
}
}
}//package classesAS3
Section 44
//GameRisingScore (classesAS3.GameRisingScore)
package classesAS3 {
import flash.display.*;
public class GameRisingScore extends MovieClip {
public var inGameScoreMc:Sprite;
public var txt:MovieClip;
public var scoreNumber:Number;
public var rt:Object;
public function GameRisingScore(rt2, inGame, scoreN){
super();
addFrameScript(15, frame16);
rt = rt2;
inGameScoreMc = inGame;
scoreNumber = scoreN;
}
function frame16(){
this.inGameScoreMc.removeChild(this);
stop();
}
}
}//package classesAS3
Section 45
//GameSmallMsg (classesAS3.GameSmallMsg)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import flash.utils.*;
import fl.motion.easing.*;
import com.gskinner.motion.plugins.*;
import flash.text.*;
public class GameSmallMsg extends MovieClip {
var endPosY:Number;// = 0
var startPosX:Number;// = 0
var myTween2:GTween;
var startPosY:Number;// = 0
public var startDone:Boolean;// = false
var myTween:GTween;
var myMsg:String;// = ""
public var msgType:String;// = ""
var myParent:Object;// = null
public var rt:Object;
var timerLength:Number;// = 1
public var mc:MovieClip;
var myTimer:Timer;
var endPosX:Number;// = 0
public function GameSmallMsg(rt2, startX, startY, endX, endY, myP, timerLen, msg){
myMsg = "";
myParent = null;
startPosX = 0;
startPosY = 0;
endPosX = 0;
endPosY = 0;
startDone = false;
timerLength = 1;
msgType = "";
super();
rt = rt2;
timerLength = timerLen;
startPosX = startX;
startPosY = startY;
endPosX = endX;
endPosY = endY;
this.x = startPosX;
this.y = startPosY;
this.alpha = 0;
mc.txt.text = msg;
myParent = myP;
MotionBlurPlugin.install();
startDone = false;
myTween = new GTween(this, 0.5, {x:endPosX, y:endPosY, alpha:1}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneStart;
}
function tweenDoneEnd(tween:GTween):void{
removeMe();
}
public function removeMe(){
if (this.parent != null){
myParent.removeChild(this);
rt.smallGameMsgMc = null;
stop();
};
}
function timerFunction(event:TimerEvent):void{
if (myTimer != null){
this.myTimer.removeEventListener(TimerEvent.TIMER, timerFunction);
myTimer = null;
};
fadeMeOut();
}
public function fadeMeOut(){
myTween = new GTween(this, 0.5, {x:startPosX, y:startPosY, alpha:0}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneEnd;
}
function turnMeOff(event:MouseEvent):void{
}
function tweenDoneStart(tween:GTween):void{
myTimer = new Timer(timerLength, 1);
myTimer.addEventListener(TimerEvent.TIMER, timerFunction);
myTimer.start();
}
}
}//package classesAS3
Section 46
//GameSounds (classesAS3.GameSounds)
package classesAS3 {
import flash.media.*;
import flash.utils.*;
public class GameSounds {
var rt:Object;
public var soundFxChannel:SoundChannel;// = null
var currentChannel:SoundChannel;
var fadeOutArray:Array;
public var diceFx:Object;
public var diceChannel:SoundChannel;// = null
public var musicChannel:SoundChannel;// = null
var soundsArray:Array;
public var titleMusic:SoundMusic1;
public function GameSounds(rt2){
musicChannel = null;
soundFxChannel = null;
diceChannel = null;
super();
rt = rt2;
fadeOutArray = new Array();
soundsArray = new Array();
}
public function setupFadeOut(){
fadeOutArray.push(currentChannel);
}
public function FadeOut(channel){
var transform1:SoundTransform;
var vol:Number;
var i2:*;
transform1 = channel.soundTransform;
vol = transform1.volume;
vol = (vol - 0.1);
setVolume(channel, vol);
if (vol <= 0){
i2 = 0;
while (i2 < fadeOutArray.length) {
if (fadeOutArray[i2] == channel){
fadeOutArray.splice(i2, 1);
};
i2++;
};
};
}
public function setVolume(ch:SoundChannel, vol:Number):void{
var transform1:SoundTransform;
if (ch != null){
transform1 = new SoundTransform();
transform1.volume = vol;
ch.soundTransform = transform1;
};
}
public function playSoundFx(sound:String, vol:Number, startI:Number, numLoops:Number):SoundChannel{
var soundFxClass:Class;
var soundFx:*;
soundFxClass = Class(getDefinitionByName(sound));
soundFx = new (soundFxClass);
currentChannel = soundFx.play(startI, numLoops);
setVolume(currentChannel, vol);
return (currentChannel);
}
public function stopAllMySounds(){
SoundMixer.stopAll();
}
public function playDiceFx(sound:String, vol:Number, startI:Number, numLoops:Number):SoundChannel{
var soundFxClass:Class;
if (diceChannel == null){
soundFxClass = Class(getDefinitionByName(sound));
diceFx = new (soundFxClass);
diceChannel = diceFx.play(startI, numLoops);
};
setVolume(diceChannel, vol);
if (vol == 0){
diceChannel = null;
};
return (currentChannel);
}
public function mainLoop(){
var i:*;
i = 0;
while (i < fadeOutArray.length) {
FadeOut(fadeOutArray[i]);
i++;
};
}
}
}//package classesAS3
Section 47
//GameStartMsg (classesAS3.GameStartMsg)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import fl.motion.easing.*;
import com.gskinner.motion.plugins.*;
import flash.text.*;
public class GameStartMsg extends MovieClip {
var endPosY:Number;// = 0
var startPosX:Number;// = 0
var myTween2:GTween;
var startPosY:Number;// = 0
var myTween:GTween;
var myMsg:String;// = ""
public var offBtn:SimpleButton;
public var rt:Object;
var myPlayer:Object;// = null
public var startMsg:TextField;
var endPosX:Number;// = 0
public function GameStartMsg(rt2, startX, startY, endX, endY, msg, myP){
myMsg = "";
myPlayer = null;
startPosX = 0;
startPosY = 0;
endPosX = 0;
endPosY = 0;
super();
rt = rt2;
startPosX = startX;
startPosY = startY;
endPosX = endX;
endPosY = endY;
this.x = startPosX;
this.y = startPosY;
myMsg = msg;
myPlayer = myP;
this.offBtn.addEventListener(MouseEvent.MOUSE_UP, turnMeOff);
MotionBlurPlugin.install();
myTween = new GTween(this, 0.5, {x:endPosX}, {ease:Sine.easeOut});
myTween.pluginData.MotionBlurEnabled = true;
myTween2 = new GTween(this, 0.5, {alpha:1}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneStart;
}
function tweenDoneEnd(tween:GTween):void{
removeMe();
}
public function removeMe(){
rt.inGameMsgsMc.removeChild(this);
myPlayer.startGameMsgMc = null;
stop();
}
function turnMeOff(event:MouseEvent):void{
myTween = new GTween(this, 0.5, {x:startPosX}, {ease:Sine.easeOut});
myTween2 = new GTween(this, 0.5, {alpha:0}, {ease:Sine.easeOut});
myTween.onComplete = tweenDoneEnd;
}
function tweenDoneStart(tween:GTween):void{
this.startMsg.text = myMsg;
this.startMsg.appendText((("\nYour starting gold is " + myPlayer.gold) + "."));
this.startMsg.appendText((("\nWe have constructed a base for you in " + myPlayer.myStartLocation) + "."));
this.startMsg.appendText((("\nYour enemies bases are located in the " + rt.rt.playersArray[1].playerObject.myStartLocation) + "."));
if (rt.rt.playersArray.length > 2){
this.startMsg.appendText((("\nand " + rt.rt.playersArray[2].playerObject.myStartLocation) + "."));
if (rt.rt.playersArray.length > 3){
this.startMsg.appendText((("\nand " + rt.rt.playersArray[3].playerObject.myStartLocation) + "."));
};
};
}
}
}//package classesAS3
Section 48
//GameStatsInfo (classesAS3.GameStatsInfo)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameStatsInfo extends MovieClip {
var myParent:GameWeaponMenu;// = null
public var rt:Object;
public var stats:MovieClip;
public function GameStatsInfo(rt2, myP){
myParent = null;
super();
addFrameScript(19, frame20, 29, frame30);
rt = rt2.GameMain;
myParent = myP;
}
function doHome(event:MouseEvent):void{
play();
}
public function removeMe(){
myParent.removeChild(this);
myParent.levelStatsMc = null;
}
function frame20(){
stop();
}
public function loadStats(clip){
var acc:Number;
clip.nextBtn.addEventListener(MouseEvent.MOUSE_UP, doHome);
clip.bulletsUsed1Txt.text = rt.getBulletsUsed(rt.rt.playersArray[0]);
if (rt.rt.playersArray[1].used == true){
clip.bulletsUsed2Txt.text = rt.getBulletsUsed(rt.rt.playersArray[1]);
} else {
clip.bulletsUsed2Txt.text = "n/a";
};
clip.headShots1Txt.text = rt.rt.playersArray[0].numberOfHeadShots;
if (rt.rt.playersArray[1].used == true){
clip.headShots2Txt.text = rt.rt.playersArray[1].numberOfHeadShots;
} else {
clip.headShots2Txt.text = "n/a";
};
acc = (rt.rt.playersArray[0].numberOfHits / rt.rt.playersArray[0].bulletsUsed);
acc = (acc * 100);
clip.accuracy1Txt.text = (int(acc) + "%");
if (rt.rt.playersArray[1].used == true){
acc = (rt.rt.playersArray[1].numberOfHits / rt.rt.playersArray[1].bulletsUsed);
acc = (acc * 100);
clip.accuracy2Txt.text = (int(acc) + "%");
} else {
clip.accuracy2Txt.text = "n/a";
};
clip.scoreEarned1Txt.text = rt.rt.playersArray[0].score;
if (rt.rt.playersArray[1].used == true){
clip.scoreEarned2Txt.text = rt.rt.playersArray[1].score;
} else {
clip.scoreEarned2Txt.text = "n/a";
};
clip.moneyEarned1Txt.text = ("$" + rt.rt.playersArray[0].gold);
if (rt.rt.playersArray[1].used == true){
clip.moneyEarned2Txt.text = ("$" + rt.rt.playersArray[1].gold);
} else {
clip.moneyEarned2Txt.text = "n/a";
};
clip.zombiesKilledOverall1Txt.text = rt.rt.playersArray[0].numberOfZombiesKilled;
if (rt.rt.playersArray[1].used == true){
clip.zombiesKilledOverall2Txt.text = rt.rt.playersArray[1].numberOfZombiesKilled;
} else {
clip.zombiesKilledOverall2Txt.text = "n/a";
};
clip.grenadesUsed1Txt.text = rt.rt.playersArray[0].grenadesUsed;
if (rt.rt.playersArray[1].used == true){
clip.grenadesUsed2Txt.text = rt.rt.playersArray[1].grenadesUsed;
} else {
clip.grenadesUsed2Txt.text = "n/a";
};
clip.totalScoreTxt.text = rt.score;
clip.totalMoneyTxt.text = ("$" + rt.gold);
}
function frame30(){
MovieClip(this).removeMe();
stop();
}
}
}//package classesAS3
Section 49
//GameStatsScreen (classesAS3.GameStatsScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import com.gskinner.motion.*;
import fl.motion.easing.*;
import flash.text.*;
public class GameStatsScreen extends MovieClip {
public var sound:MovieClip;
var myTween:GTween;
public var timer:MovieClip;
public var levelTxt:TextField;
public var upgradeIcons:MovieClip;
public var rt:Object;
public var scoreTxt:TextField;
public var ammoTxt:TextField;
public var soundBtn:SimpleButton;
public var money:TextField;
public var nameTxt:TextField;
public var p2Start:MovieClip;
public var bulletsTxt:TextField;
public function GameStatsScreen(rt2){
super();
rt = rt2;
soundBtn.addEventListener(MouseEvent.MOUSE_UP, doSound);
setEnergy();
setLevel();
setScore();
if (rt.rt.playersArray[0].restoreEnergyOn == true){
upgradeIcons.repairIcon.gotoAndStop(2);
};
if (rt.rt.playersArray[0].dohnut == true){
upgradeIcons.dohnutIcon.gotoAndStop(2);
};
if (rt.rt.playersArray[0].dohnutBox == true){
upgradeIcons.dohnutBoxIcon.gotoAndStop(2);
};
if (rt.rt.playersArray[0].giantDohnut == true){
upgradeIcons.giantDohnutIcon.gotoAndStop(2);
};
if (rt.rt.playersArray[0].disease == true){
upgradeIcons.diseaseIcon.gotoAndStop(2);
};
if (rt.rt.playersArray[0].airstrike == true){
upgradeIcons.airstrikeIcon.gotoAndStop(2);
};
}
public function mouseDecreaseMoney(inc){
if ((rt.gold - inc) > 0){
rt.gold = (rt.gold - inc);
if (rt.gold < 0){
rt.gold = 0;
};
};
setMoney();
}
function doSound(event:MouseEvent):void{
rt.doSound(this);
}
public function setAmmo(playerObject){
if (rt.rt.playersArray[1].playerObject != null){
if (rt.rt.playersArray[1].playerObject == playerObject){
if (p2Start != null){
if (p2Start.ammoTxt != null){
p2Start.ammoTxt.text = String(playerObject.currentAmmo);
p2Start.bulletsTxt.text = String(rt.rt.playersArray[playerObject.myParentIndex].bulletsArray[rt.rt.playersArray[playerObject.myParentIndex].gunTypeIndex]);
};
};
} else {
ammoTxt.text = String(playerObject.currentAmmo);
bulletsTxt.text = String(rt.rt.playersArray[playerObject.myParentIndex].bulletsArray[rt.rt.playersArray[playerObject.myParentIndex].gunTypeIndex]);
};
} else {
if (playerObject != null){
ammoTxt.text = String(playerObject.currentAmmo);
bulletsTxt.text = String(rt.rt.playersArray[playerObject.myParentIndex].bulletsArray[rt.rt.playersArray[playerObject.myParentIndex].gunTypeIndex]);
};
};
}
function setScore(){
var score:*;
score = rt.score;
if (score > 999999){
score = 999999;
};
if (score < 10){
scoreTxt.text = ("00000" + String(score));
} else {
if (score < 100){
scoreTxt.text = ("0000" + String(score));
} else {
if (score < 1000){
scoreTxt.text = ("000" + String(score));
} else {
if (score < 10000){
scoreTxt.text = ("00" + String(score));
} else {
if (score < 100000){
scoreTxt.text = ("0" + String(score));
} else {
scoreTxt.text = String(score);
};
};
};
};
};
}
function increaseEnergy(){
rt.energy = (rt.energy + (1 / 64));
setEnergy();
if (rt.energy > 100){
rt.energy = 100;
timer.maskMc.x = 0;
};
}
public function increaseScore(inc, playerMc){
rt.rt.playersArray[playerMc.myObject.myParentIndex].score = (rt.rt.playersArray[playerMc.myObject.myParentIndex].score + inc);
rt.score = (rt.score + inc);
setScore();
}
public function setEnergy(){
var ratio:Number;
var energyLeft:Number;
var maskX:Number;
ratio = (600 / 100);
energyLeft = (100 - rt.energy);
maskX = (energyLeft * ratio);
maskX = -(maskX);
timer.maskMc.x = maskX;
}
public function setLevel(){
if (rt.levelNumber < 10){
levelTxt.text = ("0" + String(rt.levelNumber));
} else {
levelTxt.text = String(rt.levelNumber);
};
}
public function decreaseAmmo(playerObject, dec){
playerObject.currentAmmo = (playerObject.currentAmmo - dec);
rt.rt.playersArray[playerObject.myParentIndex].bulletsArray[rt.rt.playersArray[playerObject.myParentIndex].gunTypeIndex] = (rt.rt.playersArray[playerObject.myParentIndex].bulletsArray[rt.rt.playersArray[playerObject.myParentIndex].gunTypeIndex] - dec);
if (playerObject.currentAmmo <= 0){
if (rt.rt.playersArray[playerObject.myParentIndex].bulletsArray[rt.rt.playersArray[playerObject.myParentIndex].gunTypeIndex] > 0){
playerObject.reloading = true;
playerObject.animMc.gotoAndStop("reloading");
} else {
rt.checkForGameOver();
};
};
setAmmo(playerObject);
}
public function setIncome(){
var incomeTotal:Number;
var currentPlayer:Object;
var i:*;
incomeTotal = 0;
currentPlayer = rt.rt.playersArray[rt.whosTurnIndex].playerObject;
i = 0;
while (i < rt.mapLocationsArray.length) {
if (currentPlayer == rt.mapLocationsArray[i].playerObject){
incomeTotal++;
};
i++;
};
}
public function decreaseMoney(inc){
if ((rt.rt.playersArray[0].gold - inc) > 0){
rt.rt.playersArray[0].gold = (rt.rt.playersArray[0].gold - inc);
rt.gold = (rt.gold - inc);
if (rt.gold < 0){
rt.gold = 0;
};
};
setMoney();
}
public function setMoney(){
if (rt.gold > 999999){
rt.gold = 999999;
};
if (rt.gold < 10){
money.text = ("00000" + String(rt.gold));
} else {
if (rt.gold < 100){
money.text = ("0000" + String(rt.gold));
} else {
if (rt.gold < 1000){
money.text = ("000" + String(rt.gold));
} else {
if (rt.gold < 10000){
money.text = ("00" + String(rt.gold));
} else {
if (rt.gold < 100000){
money.text = ("0" + String(rt.gold));
} else {
money.text = String(rt.gold);
};
};
};
};
};
}
function decreaseEnergy(dec:Number){
rt.energy = (rt.energy - (dec / 8));
setEnergy();
if (rt.energy <= 0){
rt.gameOverDo = true;
rt.doPlayerDeath();
timer.maskMc.x = -600;
};
if (rt.gameOverDo == true){
return (true);
};
return (false);
}
public function increaseMoney(inc, index){
rt.rt.playersArray[index.myObject.myParentIndex].gold = (rt.rt.playersArray[index.myObject.myParentIndex].gold + inc);
rt.gold = (rt.gold + inc);
setMoney();
}
public function mouseIncreaseMoney(inc){
rt.gold = (rt.gold + inc);
setMoney();
}
public function mainLoop(){
setMoney();
if (rt.rt.playersArray[0].restoreEnergyOn == true){
increaseEnergy();
};
}
}
}//package classesAS3
Section 50
//GameTitleScreen (classesAS3.GameTitleScreen)
package classesAS3 {
import flash.display.*;
import flash.events.*;
public class GameTitleScreen extends MovieClip {
public var sound:MovieClip;
public var highscoresBtn:SimpleButton;
public var moreGamesBtn:SimpleButton;
public var rt:Object;
public var loadBtn:SimpleButton;
public var startSingleBtn:SimpleButton;
public var soundBtn:SimpleButton;
public var instrBtn:SimpleButton;
public function GameTitleScreen(rt2){
super();
rt = rt2;
}
public function getScores(){
var handleComplete:Function;
var onIOError:Function;
handleComplete = function (event:Event):void{
};
onIOError = function (event:IOErrorEvent):void{
};
}
}
}//package classesAS3
Section 51
//GameTortoise (classesAS3.GameTortoise)
package classesAS3 {
import flash.display.*;
public class GameTortoise extends MovieClip {
public var myObject:Object;// = null
public var soldier:MovieClip;
public function GameTortoise(){
myObject = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
function frame1(){
stop();
}
function frame2(){
MovieClip(this).myObject.animMc = MovieClip(this).soldier;
}
}
}//package classesAS3
Section 52
//GameUseful (classesAS3.GameUseful)
package classesAS3 {
import flash.display.*;
import flash.geom.*;
import fl.motion.*;
import fl.transitions.*;
import fl.transitions.easing.*;
public class GameUseful {
public var rt:Object;
public function GameUseful(rt2){
super();
rt = rt2;
}
public function getDistanceQ(xx1, yy1, xx2, yy2){
var nn:Number;
nn = (xx2 - xx1);
nn = Math.abs(nn);
return (nn);
}
function localToGlobalXY(mc1:MovieClip):Object{
var temp:Object;
var clip:*;
var xs:*;
var ys:*;
var r:*;
temp = new Object();
temp.newX = 0;
temp.newY = 0;
clip = mc1;
while (clip != rt.parent) {
xs = temp.newX;
ys = temp.newY;
r = (clip.rotation * (Math.PI / 180));
temp.newX = ((xs * Math.cos(r)) - (ys * Math.sin(r)));
temp.newY = ((xs * Math.sin(r)) + (ys * Math.cos(r)));
temp.newX = (temp.newX + clip.x);
temp.newY = (temp.newY + clip.y);
clip = clip.parent;
};
return (temp);
}
public function RandomNumber(xn, yn):Number{
return ((Math.floor((Math.random() * ((1 + yn) - xn))) + xn));
}
function countMcs(mC):Array{
var movieClipsFound:Array;
var n:*;
movieClipsFound = new Array();
n = 0;
for (n in mC) {
if (typeof(mC[n]) == "movieclip"){
movieClipsFound.push(mC[n]);
};
};
return (movieClipsFound);
}
function getVectorFromAngle(rotationVar):Object{
var vectorObject:Object;
var angle:Number;
vectorObject = new Object();
angle = ((rotationVar * Math.PI) / 180);
vectorObject.vx = Math.cos(angle);
vectorObject.vy = Math.sin(angle);
return (vectorObject);
}
function capVectorSpeed(vx, vy, max):Object{
var vectorSpeedsCapped:Object;
var len:*;
vectorSpeedsCapped = new Object();
len = Math.sqrt(((vx * vx) + (vy * vy)));
if (len > max){
vx = (vx * (max / len));
vy = (vy * (max / len));
};
vectorSpeedsCapped.vx = vx;
vectorSpeedsCapped.vy = vy;
return (vectorSpeedsCapped);
}
function addThrust(rot, speed){
var thrustVectors:Object;
thrustVectors = new Object();
thrustVectors.xVel = (Math.cos(radian(rot)) * speed);
thrustVectors.yVel = (Math.sin(radian(rot)) * speed);
return (thrustVectors);
}
function rotateXY(centerX, centerY, radius, ringAngle){
var scA:Number;
var vectorData:Object;
scA = ((Math.PI * ringAngle) / 180);
vectorData = new Object();
vectorData.xPos = (centerX + (Math.cos(scA) * radius));
vectorData.yPos = (centerY + (Math.sin(scA) * radius));
return (vectorData);
}
function lineIntersectLine(A:Point, B:Point, E:Point, F:Point, as_seg:Boolean=true):Point{
var ip:Point;
var a1:Number;
var a2:Number;
var b1:Number;
var b2:Number;
var c1:Number;
var c2:Number;
var denom:Number;
a1 = (B.y - A.y);
b1 = (A.x - B.x);
c1 = ((B.x * A.y) - (A.x * B.y));
a2 = (F.y - E.y);
b2 = (E.x - F.x);
c2 = ((F.x * E.y) - (E.x * F.y));
denom = ((a1 * b2) - (a2 * b1));
if (denom == 0){
return (null);
};
ip = new Point();
ip.x = (((b1 * c2) - (b2 * c1)) / denom);
ip.y = (((a2 * c1) - (a1 * c2)) / denom);
if (as_seg){
if ((Math.pow((ip.x - B.x), 2) + Math.pow((ip.y - B.y), 2)) > (Math.pow((A.x - B.x), 2) + Math.pow((A.y - B.y), 2))){
return (null);
};
if ((Math.pow((ip.x - A.x), 2) + Math.pow((ip.y - A.y), 2)) > (Math.pow((A.x - B.x), 2) + Math.pow((A.y - B.y), 2))){
return (null);
};
if ((Math.pow((ip.x - F.x), 2) + Math.pow((ip.y - F.y), 2)) > (Math.pow((E.x - F.x), 2) + Math.pow((E.y - F.y), 2))){
return (null);
};
if ((Math.pow((ip.x - E.x), 2) + Math.pow((ip.y - E.y), 2)) > (Math.pow((E.x - F.x), 2) + Math.pow((E.y - F.y), 2))){
return (null);
};
};
return (ip);
}
public function getArcVelocity(gravity:Number, speed:Number, xStart:Number, yStart:Number, xEnd:Number, yEnd:Number):Object{
var velocities:Object;
var xd:*;
var yd:*;
var dist:*;
var steps:*;
velocities = new Object();
xd = (xEnd - xStart);
yd = (yEnd - yStart);
dist = Math.sqrt(((xd * xd) + (yd * yd)));
steps = Math.ceil((dist / speed));
velocities.gravity = gravity;
velocities.steps = steps;
velocities.xStep = (xd / steps);
velocities.yStep = (yd / steps);
if (gravity > 0){
velocities.yStep = (velocities.yStep - ((steps * gravity) / 2));
};
return (velocities);
}
function radian(degree){
return (((degree * Math.PI) / 180));
}
function interpolateColor(start:ColorTransform, end:ColorTransform, t:Number):ColorTransform{
var result:ColorTransform;
result = new ColorTransform();
result.redMultiplier = (start.redMultiplier + ((end.redMultiplier - start.redMultiplier) * t));
result.greenMultiplier = (start.greenMultiplier + ((end.greenMultiplier - start.greenMultiplier) * t));
result.blueMultiplier = (start.blueMultiplier + ((end.blueMultiplier - start.blueMultiplier) * t));
result.alphaMultiplier = (start.alphaMultiplier + ((end.alphaMultiplier - start.alphaMultiplier) * t));
result.redOffset = (start.redOffset + ((end.redOffset - start.redOffset) * t));
result.greenOffset = (start.greenOffset + ((end.greenOffset - start.greenOffset) * t));
result.blueOffset = (start.blueOffset + ((end.blueOffset - start.blueOffset) * t));
result.alphaOffset = (start.alphaOffset + ((end.alphaOffset - start.alphaOffset) * t));
return (result);
}
function sineWave(centerY, angle, range, speed):Number{
return ((centerY + (Math.sin(angle) * range)));
}
function tintColor(mc, colorNum:Number, alphaSet:Number):void{
var cTint:Color;
cTint = new Color();
cTint.setTint(colorNum, alphaSet);
mc.transform.colorTransform = cTint;
}
public function getDistance(xx1, yy1, xx2, yy2){
var dx2:Number;
var dy2:Number;
var dx:Number;
var dy:Number;
dx2 = xx1;
dy2 = yy1;
dx = xx2;
dy = yy2;
dx = (dx2 - dx);
dy = (dy2 - dy);
return (Math.sqrt(((dx * dx) + (dy * dy))));
}
function pointTowards(xx, yy, xx2, yy2):Object{
var spriteData:Object;
var dx:*;
var dy:*;
spriteData = new Object();
dx = (xx - xx2);
dy = (yy - yy2);
spriteData.spriteAngle = Math.atan2(dy, dx);
spriteData.spriteRotation = ((spriteData.spriteAngle * 180) / Math.PI);
spriteData.vx = Math.cos(spriteData.spriteAngle);
spriteData.vy = Math.sin(spriteData.spriteAngle);
return (spriteData);
}
public function orientateToGround(rt, mC){
var leftC:Number;
var rightC:Number;
var xm:*;
var ym:*;
var yy1:Number;
var yy2:Number;
var rotData:Object;
leftC = (mC.x - (mC.width / 2));
rightC = (mC.x + (mC.width / 2));
xm = int(leftC);
ym = (mC.y + rt.spritesMc.y);
yy1 = rt.groundArray[xm];
xm = int(rightC);
yy2 = rt.groundArray[xm];
rotData = pointTowards(leftC, yy1, rightC, yy2);
return ((rotData.spriteRotation - 180));
}
function argbtohex(a:Number, r:Number, g:Number, b:Number){
return (((((a << 24) | (r << 16)) | (g << 8)) | b));
}
function checkForLOS(xx1, yy1, xx2, yy2, backgroundObject){
var dist:Number;
var distObj:Object;
var yy:Number;
var i2:*;
dist = int(getDistance(xx1, yy1, xx2, yy2));
distObj = pointTowards(xx1, yy1, xx2, yy2);
i2 = 0;
while (i2 < dist) {
yy = rt.GameMain.groundArray[int(xx1)];
if (int(yy1) > yy){
return (true);
};
xx1 = (xx1 - distObj.vx);
yy1 = (yy1 - distObj.vy);
i2++;
};
return (false);
}
function localToGlobalXY2(mc1:MovieClip):Object{
var temp:Object;
var clip:*;
var xs:*;
var ys:*;
var r:*;
temp = new Object();
temp.newX = 0;
temp.newY = 0;
clip = mc1;
while (clip != rt.parent) {
xs = (temp.newX * (clip.scaleX / 1));
ys = (temp.newY * (clip.scaleY / 1));
r = (clip.rotation * (Math.PI / 180));
temp.newX = ((xs * Math.cos(r)) - (ys * Math.sin(r)));
temp.newY = ((xs * Math.sin(r)) + (ys * Math.cos(r)));
temp.newX = (temp.newX + clip.x);
temp.newY = (temp.newY + clip.y);
clip = clip.parent;
};
return (temp);
}
function bxConvertToMetres(pixelToConvert:Number, scalingFactor:Number){
return ((pixelToConvert / scalingFactor));
}
}
}//package classesAS3
Section 53
//GameWeaponMenu (classesAS3.GameWeaponMenu)
package classesAS3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class GameWeaponMenu extends MovieClip {
var gunBox2:currentGunBox;
var currentSelected:Number;// = 0
var gunBox:currentGunBox;
public var levelStatsMc:GameStatsInfo;// = null
public var rt:Object;
var playerWeapons:Number;// = 0
var gSold:weaponsSold;
public var shop:MovieClip;
public function GameWeaponMenu(rt2, setupStats){
currentSelected = 0;
playerWeapons = 0;
levelStatsMc = null;
super();
rt = rt2;
if (setupStats == true){
levelStatsMc = new GameStatsInfo(rt, this);
this.addChild(levelStatsMc);
};
shop.buyBtn.addEventListener(MouseEvent.MOUSE_UP, doBuy);
shop.saveBtn.addEventListener(MouseEvent.MOUSE_UP, doSave);
shop.bulletIncBtn.addEventListener(MouseEvent.MOUSE_UP, buyBullet);
shop.bulletDecBtn.addEventListener(MouseEvent.MOUSE_UP, sellBullet);
shop.bulletInc2Btn.addEventListener(MouseEvent.MOUSE_UP, buyBulletLot);
shop.bulletDec2Btn.addEventListener(MouseEvent.MOUSE_UP, sellBulletLot);
if (rt.playersArray[1].used == true){
shop.playerChoice.gotoAndStop(2);
};
shop.coltBtn.addEventListener(MouseEvent.MOUSE_UP, doColt);
shop.desertEagleBtn.addEventListener(MouseEvent.MOUSE_UP, doDesertEagle);
shop.miniUziBtn.addEventListener(MouseEvent.MOUSE_UP, doMiniUzi);
shop.p90Btn.addEventListener(MouseEvent.MOUSE_UP, doP90);
shop.shotgunBtn.addEventListener(MouseEvent.MOUSE_UP, doShotgun);
shop.aK47Btn.addEventListener(MouseEvent.MOUSE_UP, doAK47);
shop.m4Btn.addEventListener(MouseEvent.MOUSE_UP, doM4);
shop.m16Btn.addEventListener(MouseEvent.MOUSE_UP, doM16);
shop.sniperRifleBtn.addEventListener(MouseEvent.MOUSE_UP, doSniperRifle);
shop.grenadeLauncherBtn.addEventListener(MouseEvent.MOUSE_UP, doGrenadeLauncher);
shop.miniGunBtn.addEventListener(MouseEvent.MOUSE_UP, doMiniGun);
shop.grenadeBtn.addEventListener(MouseEvent.MOUSE_UP, doGrenade);
shop.restoreBtn.addEventListener(MouseEvent.MOUSE_UP, doRestore);
shop.repairBtn.addEventListener(MouseEvent.MOUSE_UP, doRepair);
shop.dohnutBtn.addEventListener(MouseEvent.MOUSE_UP, doDohnut);
shop.dohnutBoxBtn.addEventListener(MouseEvent.MOUSE_UP, doDohnutBox);
shop.giantDohnutBtn.addEventListener(MouseEvent.MOUSE_UP, doGiantDohnut);
shop.diseaseBtn.addEventListener(MouseEvent.MOUSE_UP, doDisease);
shop.airstrikeBtn.addEventListener(MouseEvent.MOUSE_UP, doAirstrike);
shop.exitBtn.addEventListener(MouseEvent.MOUSE_UP, doExit);
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
shop.levelTxt.text = rt.GameMain.levelNumber;
shop.energyTxt.text = (int(rt.GameMain.energy) + "%");
}
public function buyBulletLot(event:MouseEvent):void{
buyBullets(10);
}
function doP90(event:MouseEvent):void{
showWeapon(playerWeapons, 3);
}
function doRepair(event:MouseEvent):void{
showWeapon(playerWeapons, 13);
}
function doGrenadeLauncher(event:MouseEvent):void{
showWeapon(playerWeapons, 9);
}
function showWeapons(playerIndex){
var index:Number;
index = rt.playersArray[playerIndex].gunTypeIndex;
showWeapon(playerIndex, index);
}
public function showPlayer1WeaponsB(event:MouseEvent):void{
showPlayer1Weapons();
}
public function doLoad(event:MouseEvent):void{
rt.loadGame();
}
public function sellBullet(event:MouseEvent):void{
sellBullets(1);
}
function doDohnutBox(event:MouseEvent):void{
showWeapon(playerWeapons, 15);
}
function doAirstrike(event:MouseEvent):void{
showWeapon(playerWeapons, 18);
}
function GiantDohnut(){
rt.playersArray[0].giantDohnut = true;
}
function doAK47(event:MouseEvent):void{
showWeapon(playerWeapons, 5);
}
public function doUpgrade(){
var cost:*;
if (currentSelected == rt.playersArray[playerWeapons].gunTypeIndex){
if (rt.playersArray[playerWeapons].gunUpgraded == shop.nameTxt.text){
shop.upgradeMc.gotoAndStop(3);
} else {
cost = rt.GameData.gunData[currentSelected][9];
if (rt.GameMain.gold >= cost){
rt.GameMain.gold = (rt.GameMain.gold - cost);
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
shop.upgradeMc.gotoAndStop(3);
rt.playersArray[playerWeapons].gunUpgraded = shop.nameTxt.text;
};
};
} else {
shop.upgradeMc.gotoAndStop(1);
};
showWeapon(playerWeapons, currentSelected);
}
function doGrenade(event:MouseEvent):void{
showWeapon(playerWeapons, 11);
}
function showUpgrades(index){
var up1:upgradesSoldBox;
if (rt.playersArray[0].restoreEnergyOn == true){
up1 = new upgradesSoldBox();
up1.x = 31;
up1.y = 254;
up1.gotoAndStop(3);
shop.addChild(up1);
};
if (rt.playersArray[index].dohnut == true){
up1 = new upgradesSoldBox();
up1.x = 31;
up1.y = 254;
up1.gotoAndStop(4);
shop.addChild(up1);
};
if (rt.playersArray[index].dohnutBox == true){
up1 = new upgradesSoldBox();
up1.x = 31;
up1.y = 254;
up1.gotoAndStop(5);
shop.addChild(up1);
};
if (rt.playersArray[0].giantDohnut == true){
up1 = new upgradesSoldBox();
up1.x = 31;
up1.y = 254;
up1.gotoAndStop(6);
shop.addChild(up1);
};
if (rt.playersArray[0].disease == true){
up1 = new upgradesSoldBox();
up1.x = 31;
up1.y = 254;
up1.gotoAndStop(7);
shop.addChild(up1);
};
if (rt.playersArray[0].airstrike == true){
up1 = new upgradesSoldBox();
up1.x = 31;
up1.y = 254;
up1.gotoAndStop(8);
shop.addChild(up1);
};
}
public function showPlayer2WeaponsB(event:MouseEvent):void{
showPlayer2Weapons();
}
function Dohnut(){
rt.playersArray[playerWeapons].dohnut = true;
}
function DohnutBox(){
rt.playersArray[playerWeapons].dohnutBox = true;
}
function showUpgrade(){
if (currentSelected == rt.playersArray[playerWeapons].gunTypeIndex){
if (rt.playersArray[playerWeapons].gunUpgraded == shop.nameTxt.text){
shop.upgradeMc.gotoAndStop(3);
} else {
shop.upgradeMc.gotoAndStop(2);
};
} else {
shop.upgradeMc.gotoAndStop(1);
};
}
function buyBullets(amount){
var cost:*;
if (currentSelected < 11){
if (currentSelected == rt.playersArray[playerWeapons].gunTypeIndex){
cost = (rt.GameData.gunData[currentSelected][7] * amount);
if (rt.GameMain.gold >= cost){
rt.GameMain.gold = (rt.GameMain.gold - cost);
rt.playersArray[playerWeapons].bulletsArray[currentSelected] = (rt.playersArray[playerWeapons].bulletsArray[currentSelected] + amount);
shop.bulletsTxt.text = rt.playersArray[playerWeapons].bulletsArray[currentSelected];
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
};
};
} else {
if (currentSelected == 11){
cost = (rt.GameData.gunData[currentSelected][7] * amount);
if (rt.GameMain.gold >= cost){
rt.GameMain.gold = (rt.GameMain.gold - cost);
rt.playersArray[playerWeapons].grenades = (rt.playersArray[playerWeapons].grenades + amount);
shop.bulletsTxt.text = rt.playersArray[playerWeapons].grenades;
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
};
};
};
}
function doM4(event:MouseEvent):void{
showWeapon(playerWeapons, 6);
}
function doMiniGun(event:MouseEvent):void{
showWeapon(playerWeapons, 10);
}
function Restore(){
rt.GameMain.energy = (rt.GameMain.energy + 10);
if (rt.GameMain.energy > 100){
rt.GameMain.energy = 100;
};
shop.descriptionTxt.text = (((rt.GameData.gunData[currentSelected][6] + " Current energy is ") + int(rt.GameMain.energy)) + "%");
shop.energyTxt.text = (int(rt.GameMain.energy) + "%");
}
function doExit(event:MouseEvent):void{
rt.weaponScreenDone();
}
public function buyBullet(event:MouseEvent):void{
buyBullets(1);
}
function doBuy(event:MouseEvent):void{
var noBuy:Boolean;
var cost:*;
noBuy = false;
if (currentSelected == 12){
if (rt.GameMain.energy >= 100){
noBuy = true;
};
};
if (noBuy == false){
if (currentSelected != rt.playersArray[playerWeapons].gunTypeIndex){
cost = rt.GameData.gunData[currentSelected][1];
if (rt.GameMain.gold >= cost){
rt.GameMain.gold = (rt.GameMain.gold - cost);
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
if (currentSelected > 11){
if (currentSelected == 12){
Restore();
} else {
if (currentSelected == 13){
Repair();
} else {
if (currentSelected == 14){
Dohnut();
} else {
if (currentSelected == 15){
DohnutBox();
} else {
if (currentSelected == 16){
GiantDohnut();
} else {
if (currentSelected == 17){
Disease();
} else {
if (currentSelected == 18){
Airstrike();
};
};
};
};
};
};
};
showUpgrades(playerWeapons);
} else {
rt.playersArray[playerWeapons].gunTypeIndex = currentSelected;
shop.gunBox.gotoAndStop((rt.playersArray[playerWeapons].gunTypeIndex + 1));
shop.gSold.gotoAndStop((rt.playersArray[playerWeapons].gunTypeIndex + 1));
};
};
};
};
}
public function showPlayer2Weapons(){
shop.gSold.gotoAndStop((rt.playersArray[1].gunTypeIndex + 1));
showUpgrades(1);
if (shop.playerChoice.currentFrame == 2){
shop.playerChoice.p1.gotoAndStop(2);
shop.playerChoice.p2.gotoAndStop(1);
};
playerWeapons = 1;
showWeapons(1);
}
function doRestore(event:MouseEvent):void{
showWeapon(playerWeapons, 12);
}
function showWeapon(playerIndex, index){
if (index < 12){
shop.nameTxt.text = rt.GameData.gunData[index][0];
shop.costTxt.text = ("$" + rt.GameData.gunData[index][1]);
if (index != 11){
shop.bulletsTxt.text = rt.playersArray[playerIndex].bulletsArray[index];
} else {
shop.bulletsTxt.text = rt.playersArray[playerIndex].grenades;
};
if (rt.playersArray[playerWeapons].gunUpgraded == shop.nameTxt.text){
shop.strengthTxt.text = ((rt.GameData.gunData[index][4] + 10) + "%");
shop.accuracyTxt.text = (rt.GameData.gunData[index][8] + 1);
shop.clipSizeTxt.text = (rt.GameData.gunData[index][5] + 1);
} else {
shop.accuracyTxt.text = rt.GameData.gunData[index][8];
shop.clipSizeTxt.text = rt.GameData.gunData[index][5];
shop.strengthTxt.text = (rt.GameData.gunData[index][4] + "%");
};
shop.descriptionTxt.text = rt.GameData.gunData[index][6];
shop.bulletsCostTxt.text = ("$" + rt.GameData.gunData[index][7]);
} else {
shop.nameTxt.text = rt.GameData.gunData[index][0];
shop.costTxt.text = ("$" + rt.GameData.gunData[index][1]);
shop.bulletsTxt.text = "n/a";
shop.accuracyTxt.text = "n/a";
shop.strengthTxt.text = "n/a";
shop.clipSizeTxt.text = "n/a";
if (index == 12){
shop.descriptionTxt.text = (((rt.GameData.gunData[index][6] + " Current energy is ") + int(rt.GameMain.energy)) + "%");
} else {
shop.descriptionTxt.text = rt.GameData.gunData[index][6];
};
shop.bulletsCostTxt.text = "n/a";
};
currentSelected = index;
shop.gunBox.gotoAndStop((currentSelected + 1));
if (index < 12){
showUpgrade();
} else {
shop.upgradeMc.gotoAndStop(1);
};
}
function Disease(){
rt.playersArray[0].disease = true;
}
function doMiniUzi(event:MouseEvent):void{
showWeapon(playerWeapons, 2);
}
function doDesertEagle(event:MouseEvent):void{
showWeapon(playerWeapons, 1);
}
function doSniperRifle(event:MouseEvent):void{
showWeapon(playerWeapons, 8);
}
public function doSave(event:MouseEvent):void{
rt.saveGame();
rt.GameMain.smallGameMsgMc = new GameSmallMsg(rt.GameMain, 800, 200, 300, 200, this, 400, "Game saved");
this.addChild(rt.GameMain.smallGameMsgMc);
}
function Repair(){
rt.playersArray[0].restoreEnergyOn = true;
}
function Airstrike(){
rt.playersArray[playerWeapons].airstrike = true;
}
public function showPlayer1Weapons(){
shop.gSold.gotoAndStop((rt.playersArray[0].gunTypeIndex + 1));
showUpgrades(0);
if (shop.playerChoice.currentFrame == 2){
shop.playerChoice.p1.gotoAndStop(1);
shop.playerChoice.p2.gotoAndStop(2);
};
playerWeapons = 0;
showWeapons(0);
}
function doColt(event:MouseEvent):void{
showWeapon(playerWeapons, 0);
}
function doDisease(event:MouseEvent):void{
showWeapon(playerWeapons, 17);
}
function doGiantDohnut(event:MouseEvent):void{
showWeapon(playerWeapons, 16);
}
public function sellBulletLot(event:MouseEvent):void{
sellBullets(10);
}
function doShotgun(event:MouseEvent):void{
showWeapon(playerWeapons, 4);
}
function doM16(event:MouseEvent):void{
showWeapon(playerWeapons, 7);
}
function doDohnut(event:MouseEvent):void{
showWeapon(playerWeapons, 14);
}
function sellBullets(amount){
var cost:*;
if (currentSelected < 11){
if (currentSelected == rt.playersArray[playerWeapons].gunTypeIndex){
if (rt.playersArray[playerWeapons].bulletsArray[currentSelected] > amount){
cost = (rt.GameData.gunData[currentSelected][7] * amount);
rt.GameMain.gold = (rt.GameMain.gold + cost);
rt.playersArray[playerWeapons].bulletsArray[currentSelected] = (rt.playersArray[playerWeapons].bulletsArray[currentSelected] - amount);
shop.bulletsTxt.text = rt.playersArray[playerWeapons].bulletsArray[currentSelected];
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
};
};
} else {
if (currentSelected == 11){
if (rt.playersArray[playerWeapons].grenades > 0){
cost = (rt.GameData.gunData[currentSelected][7] * amount);
rt.GameMain.gold = (rt.GameMain.gold + cost);
rt.playersArray[playerWeapons].grenades = (rt.playersArray[playerWeapons].grenades - amount);
shop.bulletsTxt.text = rt.playersArray[playerWeapons].grenades;
shop.myMoneyTxt.text = ("$" + rt.GameMain.gold);
};
};
};
}
}
}//package classesAS3
Section 54
//GameZombieParts (classesAS3.GameZombieParts)
package classesAS3 {
import flash.display.*;
public class GameZombieParts extends MovieClip {
var xVel:Number;
public var myObject:Object;
var yPos:Number;
var bounces:Number;
var dead2:Boolean;// = false
var firedMeMc:Object;// = null
var gravity:Number;
var yVel:Number;
public var myParent:Object;
public var rt:Object;
var dead:Boolean;// = false
var energy:Number;// = 100
var mC:Object;
var bounceDecrease:Number;// = 0.8
var deadDelay:Number;
var myScore:Number;// = 0
var xOrigin:Number;
var xPos:Number;
var myGroundLevel:Number;// = 0
var yOrigin:Number;
public function GameZombieParts(myP, rt2, velocityObj, mType, xStart, yStart, zT, myGround, mS, fMe){
energy = 100;
dead = false;
dead2 = false;
myGroundLevel = 0;
bounceDecrease = 0.8;
myScore = 0;
firedMeMc = null;
super();
addFrameScript(0, frame1);
myParent = myP;
rt = rt2;
firedMeMc = fMe;
myScore = mS;
mC = this;
myGroundLevel = myGround;
xPos = 0;
yPos = 0;
bounces = 0;
dead = false;
dead2 = false;
xOrigin = xStart;
yOrigin = yStart;
this.gotoAndStop(mType);
deadDelay = 0;
gravity = velocityObj.gravity;
xVel = velocityObj.xStep;
yVel = velocityObj.yStep;
bounceDecrease = 0.8;
updatePosition();
}
function applyGravity(){
yVel = (yVel + gravity);
}
function updatePosition(){
var oldX:*;
var oldY:*;
var dx:Number;
var dy:Number;
var angle2:Number;
xPos = (xPos + xVel);
yPos = (yPos + yVel);
oldX = this.x;
oldY = this.y;
this.x = (xOrigin + xPos);
this.y = (yOrigin + yPos);
dx = (this.x - oldX);
dy = (this.y - oldY);
angle2 = Math.atan2(dy, dx);
this.rotation = ((angle2 * 180) / Math.PI);
}
function removeMC(){
var arrayIndex:Number;
var i1:*;
arrayIndex = -1;
i1 = 0;
while (i1 < rt.zombiePartsArray.length) {
if (this == rt.zombiePartsArray[i1]){
arrayIndex = i1;
};
i1++;
};
if (arrayIndex >= 0){
if (this.parent != null){
myParent.removeChild(this);
rt.zombiePartsArray.splice(arrayIndex, 1);
};
};
dead2 = true;
}
function checkForOffStage(){
if (this.x < -50){
remove();
};
if (this.y < -400){
remove();
};
if (this.x > 760){
remove();
};
if (this.y > 600){
remove();
};
}
function collisionDetection(){
var xm:Number;
var ym:Number;
var yy:Number;
var numberOfBounces:Number;
var i:*;
xm = int(this.x);
ym = this.y;
ym = (ym + yVel);
yy = myGroundLevel;
if (ym > yy){
bounces++;
numberOfBounces = 3;
if (this.currentFrame == 25){
numberOfBounces = 6;
} else {
if (this.currentFrame == 26){
numberOfBounces = 1;
} else {
if (this.currentFrame == 27){
numberOfBounces = 0;
};
};
};
if (bounces > numberOfBounces){
remove();
} else {
yVel = -(yVel);
yVel = (yVel * bounceDecrease);
bounceDecrease = (bounceDecrease - 0.2);
gravity++;
updatePosition();
};
};
if (this.currentFrame == 25){
i = 0;
while (i < rt.badGuysArray.length) {
if (this.hitTestObject(rt.badGuysArray[i].mC)){
rt.badGuysArray[i].decreaseEnergy("headShot", 1, firedMeMc);
};
i++;
};
} else {
if (this.currentFrame == 26){
i = 0;
while (i < rt.badGuysArray.length) {
if (this.hitTestObject(rt.badGuysArray[i].mC)){
rt.badGuysArray[i].decreaseEnergy("headShot", 1, firedMeMc);
remove();
break;
};
i++;
};
} else {
if (this.currentFrame == 27){
i = 0;
while (i < rt.badGuysArray.length) {
if (this.hitTestObject(rt.badGuysArray[i].mC)){
rt.badGuysArray[i].decreaseEnergy("normal", 1, firedMeMc);
remove();
break;
};
i++;
};
i = 0;
while (i < rt.risingScoreArray.length) {
if (rt.risingScoreArray[i].timesHit < 14){
if (rt.risingScoreArray[i].hitTestObject(this)){
rt.risingScoreArray[i].increaseMoney();
rt.rt.playersArray[firedMeMc.myObject.myParentIndex].numberOfHits++;
rt.statsMc.increaseMoney(10, firedMeMc);
};
};
i++;
};
};
};
};
}
function frame1(){
stop();
}
function remove(){
dead = true;
if (this.currentFrame == 26){
rt.Sounds.playSoundFx("explosionFx", 0.3, 0, 1);
rt.explosionsArray.push(new GameExplosion(rt, this.x, this.y, 2, rt.Useful, 1, 1, rt.Useful.RandomNumber(60, 60), true, false, true, 12, 100, false, firedMeMc));
} else {
if (this.currentFrame == 27){
rt.Sounds.playSoundFx("explosionFx", 0.05, 0, 1);
rt.explosionsArray.push(new GameExplosion(rt, this.x, this.y, 2, rt.Useful, 1, 0, 40, true, false, false, 12, 20, false, firedMeMc));
};
};
}
public function decreaseEnergy(hitType, damage, hurtMeMc){
var risingScoreMc:*;
rt.explosionsArray.push(new GameExplosion(rt, mC.x, mC.y, 1, rt.Useful, rt.Useful.RandomNumber(20, 20), 1, rt.Useful.RandomNumber(60, 60), true, false, false, 12, 0, false, null));
if (energy > 0){
energy = (energy - damage);
if (energy <= 0){
rt.statsMc.increaseScore(myScore, hurtMeMc);
risingScoreMc = new GameHeadShotTxt(rt, rt.inGameScoreMc, myScore);
rt.inGameScoreMc.addChild(risingScoreMc);
risingScoreMc.x = mC.x;
risingScoreMc.y = (mC.y - 10);
energy = 0;
removeMC();
};
};
}
public function mainLoop(){
if (dead == false){
applyGravity();
collisionDetection();
updatePosition();
} else {
deadDelay--;
if (deadDelay <= 0){
removeMC();
};
};
checkForOffStage();
}
}
}//package classesAS3
Section 55
//ColorMatrix (com.gskinner.geom.ColorMatrix)
package com.gskinner.geom {
public dynamic class ColorMatrix extends Array {
private static const IDENTITY_MATRIX:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
private static const LENGTH:Number = IDENTITY_MATRIX.length;
private static const DELTA_INDEX:Array = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10];
public function ColorMatrix(matrix:Array=null){
super();
matrix = fixMatrix(matrix);
copyMatrix(((matrix.length)==LENGTH) ? matrix : IDENTITY_MATRIX);
}
public function adjustBrightness(value:Number):void{
value = cleanValue(value, 0xFF);
if ((((value == 0)) || (isNaN(value)))){
return;
};
multiplyMatrix([1, 0, 0, 0, value, 0, 1, 0, 0, value, 0, 0, 1, 0, value, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
protected function multiplyMatrix(matrix:Array):void{
var col:Array;
var i:uint;
var j:uint;
var val:Number;
var k:Number;
col = [];
i = 0;
while (i < 5) {
j = 0;
while (j < 5) {
col[j] = this[(j + (i * 5))];
j++;
};
j = 0;
while (j < 5) {
val = 0;
k = 0;
while (k < 5) {
val = (val + (matrix[(j + (k * 5))] * col[k]));
k++;
};
this[(j + (i * 5))] = val;
j++;
};
i++;
};
}
public function adjustSaturation(value:Number):void{
var x:Number;
var lumR:Number;
var lumG:Number;
var lumB:Number;
value = cleanValue(value, 100);
if ((((value == 0)) || (isNaN(value)))){
return;
};
x = (1 + ((value)>0) ? ((3 * value) / 100) : (value / 100));
lumR = 0.3086;
lumG = 0.6094;
lumB = 0.082;
multiplyMatrix([((lumR * (1 - x)) + x), (lumG * (1 - x)), (lumB * (1 - x)), 0, 0, (lumR * (1 - x)), ((lumG * (1 - x)) + x), (lumB * (1 - x)), 0, 0, (lumR * (1 - x)), (lumG * (1 - x)), ((lumB * (1 - x)) + x), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
public function reset():void{
var i:uint;
i = 0;
while (i < LENGTH) {
this[i] = IDENTITY_MATRIX[i];
i++;
};
}
public function adjustColor(brightness:Number, contrast:Number, saturation:Number, hue:Number):void{
adjustHue(hue);
adjustContrast(contrast);
adjustBrightness(brightness);
adjustSaturation(saturation);
}
public function clone():ColorMatrix{
return (new ColorMatrix(this));
}
public function toArray():Array{
return (slice(0, 20));
}
protected function cleanValue(value:Number, limit:Number):Number{
return (Math.min(limit, Math.max(-(limit), value)));
}
public function adjustHue(value:Number):void{
var cosVal:Number;
var sinVal:Number;
var lumR:Number;
var lumG:Number;
var lumB:Number;
value = ((cleanValue(value, 180) / 180) * Math.PI);
if ((((value == 0)) || (isNaN(value)))){
return;
};
cosVal = Math.cos(value);
sinVal = Math.sin(value);
lumR = 0.213;
lumG = 0.715;
lumB = 0.072;
multiplyMatrix([((lumR + (cosVal * (1 - lumR))) + (sinVal * -(lumR))), ((lumG + (cosVal * -(lumG))) + (sinVal * -(lumG))), ((lumB + (cosVal * -(lumB))) + (sinVal * (1 - lumB))), 0, 0, ((lumR + (cosVal * -(lumR))) + (sinVal * 0.143)), ((lumG + (cosVal * (1 - lumG))) + (sinVal * 0.14)), ((lumB + (cosVal * -(lumB))) + (sinVal * -0.283)), 0, 0, ((lumR + (cosVal * -(lumR))) + (sinVal * -((1 - lumR)))), ((lumG + (cosVal * -(lumG))) + (sinVal * lumG)), ((lumB + (cosVal * (1 - lumB))) + (sinVal * lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
public function concat(matrix:Array):void{
matrix = fixMatrix(matrix);
if (matrix.length != LENGTH){
return;
};
multiplyMatrix(matrix);
}
protected function copyMatrix(matrix:Array):void{
var l:Number;
var i:uint;
l = LENGTH;
i = 0;
while (i < l) {
this[i] = matrix[i];
i++;
};
}
protected function fixMatrix(matrix:Array=null):Array{
if (matrix == null){
return (IDENTITY_MATRIX);
};
if ((matrix is ColorMatrix)){
matrix = matrix.slice(0);
};
if (matrix.length < LENGTH){
matrix = matrix.slice(0, matrix.length).concat(IDENTITY_MATRIX.slice(matrix.length, LENGTH));
} else {
if (matrix.length > LENGTH){
matrix = matrix.slice(0, LENGTH);
};
};
return (matrix);
}
public function adjustContrast(value:Number):void{
var x:Number;
value = cleanValue(value, 100);
if ((((value == 0)) || (isNaN(value)))){
return;
};
if (value < 0){
x = (127 + ((value / 100) * 127));
} else {
x = (value % 1);
if (x == 0){
x = DELTA_INDEX[value];
} else {
x = ((DELTA_INDEX[(value << 0)] * (1 - x)) + (DELTA_INDEX[((value << 0) + 1)] * x));
};
x = ((x * 127) + 127);
};
multiplyMatrix([(x / 127), 0, 0, 0, (0.5 * (127 - x)), 0, (x / 127), 0, 0, (0.5 * (127 - x)), 0, 0, (x / 127), 0, (0.5 * (127 - x)), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
public function toString():String{
return ((("ColorMatrix [ " + this.join(" , ")) + " ]"));
}
}
}//package com.gskinner.geom
Section 56
//ColorAdjustPlugin (com.gskinner.motion.plugins.ColorAdjustPlugin)
package com.gskinner.motion.plugins {
import com.gskinner.motion.*;
import com.gskinner.geom.*;
import flash.filters.*;
public class ColorAdjustPlugin implements IGTweenPlugin {
public static var enabled:Boolean = true;
protected static var instance:ColorAdjustPlugin;
protected static var tweenProperties:Array = ["brightness", "contrast", "hue", "saturation"];
public function ColorAdjustPlugin(){
super();
}
public function init(tween:GTween, name:String, value:Number):Number{
var f:Array;
var i:uint;
var cmF:ColorMatrixFilter;
var o:Object;
if (!(((((tween.pluginData.ColorAdjustEnabled == null)) && (enabled))) || (tween.pluginData.ColorAdjustEnabled))){
return (value);
};
if (tween.pluginData.ColorAdjustData == null){
f = tween.target.filters;
i = 0;
while (i < f.length) {
if ((f[i] is ColorMatrixFilter)){
cmF = f[i];
o = {index:i, ratio:NaN};
o.initMatrix = cmF.matrix;
o.matrix = getMatrix(tween);
tween.pluginData.ColorAdjustData = o;
};
i++;
};
};
return ((tween.getValue(name) - 1));
}
protected function getMatrix(tween:GTween):ColorMatrix{
var brightness:Number;
var contrast:Number;
var saturation:Number;
var hue:Number;
var mtx:ColorMatrix;
brightness = fixValue(tween.getValue("brightness"));
contrast = fixValue(tween.getValue("contrast"));
saturation = fixValue(tween.getValue("saturation"));
hue = fixValue(tween.getValue("hue"));
mtx = new ColorMatrix();
mtx.adjustColor(brightness, contrast, saturation, hue);
return (mtx);
}
protected function initTarget(tween:GTween):Object{
var f:Array;
var mtx:ColorMatrix;
var o:Object;
f = tween.target.filters;
mtx = new ColorMatrix();
f.push(new ColorMatrixFilter(mtx));
tween.target.filters = f;
o = {index:(f.length - 1), ratio:NaN};
o.initMatrix = mtx;
o.matrix = getMatrix(tween);
return ((tween.pluginData.ColorAdjustData = o));
}
public function tween(tween:GTween, name:String, value:Number, initValue:Number, rangeValue:Number, ratio:Number, end:Boolean):Number{
var data:Object;
var f:Array;
var cmF:ColorMatrixFilter;
var initMatrix:Array;
var targMatrix:Array;
var matrix:Array;
var l:uint;
var i:uint;
if (!(((((tween.pluginData.ColorAdjustEnabled == null)) && (enabled))) || (tween.pluginData.ColorAdjustEnabled))){
return (value);
};
data = tween.pluginData.ColorAdjustData;
if (data == null){
data = initTarget(tween);
};
if (ratio == data.ratio){
return (value);
};
data.ratio = ratio;
ratio = (value - initValue);
f = tween.target.filters;
cmF = (f[data.index] as ColorMatrixFilter);
if (cmF == null){
return (value);
};
initMatrix = data.initMatrix;
targMatrix = data.matrix;
if (rangeValue < 0){
initMatrix = targMatrix;
targMatrix = data.initMatrix;
ratio = (ratio * -1);
};
matrix = cmF.matrix;
l = matrix.length;
i = 0;
while (i < l) {
matrix[i] = (initMatrix[i] + ((targMatrix[i] - initMatrix[i]) * ratio));
i++;
};
cmF.matrix = matrix;
tween.target.filters = f;
if (end){
delete tween.pluginData.ColorAdjustData;
};
return (NaN);
}
protected function fixValue(value:Number):Number{
return ((isNaN(value)) ? 0 : value);
}
public static function install():void{
if (instance){
return;
};
instance = new (ColorAdjustPlugin);
GTween.installPlugin(instance, tweenProperties);
}
}
}//package com.gskinner.motion.plugins
Section 57
//IGTweenPlugin (com.gskinner.motion.plugins.IGTweenPlugin)
package com.gskinner.motion.plugins {
import com.gskinner.motion.*;
public interface IGTweenPlugin {
function init(_arg1:GTween, _arg2:String, _arg3:Number):Number;
function tween(_arg1:GTween, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean):Number;
}
}//package com.gskinner.motion.plugins
Section 58
//MotionBlurPlugin (com.gskinner.motion.plugins.MotionBlurPlugin)
package com.gskinner.motion.plugins {
import com.gskinner.motion.*;
import flash.filters.*;
public class MotionBlurPlugin implements IGTweenPlugin {
public static var strength:Number = 0.6;
protected static var instance:MotionBlurPlugin;
public static var enabled:Boolean = false;
public function MotionBlurPlugin(){
super();
}
public function init(tween:GTween, name:String, value:Number):Number{
return (value);
}
protected function initTarget(tween:GTween):Object{
var f:Array;
f = tween.target.filters;
f.push(new BlurFilter(0, 0, 1));
tween.target.filters = f;
return ((tween.pluginData.MotionBlurData = {index:(f.length - 1)}));
}
public function tween(tween:GTween, name:String, value:Number, initValue:Number, rangeValue:Number, ratio:Number, end:Boolean):Number{
var data:Object;
var f:Array;
var blurF:BlurFilter;
var blur:Number;
if (!((((enabled) && ((tween.pluginData.MotionBlurEnabled == null)))) || (tween.pluginData.MotionBlurEnabled))){
return (value);
};
data = tween.pluginData.MotionBlurData;
if (data == null){
data = initTarget(tween);
};
f = tween.target.filters;
blurF = (f[data.index] as BlurFilter);
if (blurF == null){
return (value);
};
if (end){
f.splice(data.index, 1);
delete tween.pluginData.MotionBlurData;
} else {
blur = Math.abs((((tween.ratioOld - ratio) * rangeValue) * strength));
if (name == "x"){
blurF.blurX = blur;
} else {
blurF.blurY = blur;
};
};
tween.target.filters = f;
return (value);
}
public static function install():void{
if (instance){
return;
};
instance = new (MotionBlurPlugin);
GTween.installPlugin(instance, ["x", "y"]);
}
}
}//package com.gskinner.motion.plugins
Section 59
//GTween (com.gskinner.motion.GTween)
package com.gskinner.motion {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class GTween extends EventDispatcher {
protected var _rangeValues:Object;
public var autoPlay:Boolean;// = true
protected var _delay:Number;// = 0
public var ratio:Number;
public var pluginData:Object;
public var useFrames:Boolean;
public var calculatedPosition:Number;
public var target:Object;
public var duration:Number;
protected var _position:Number;
public var calculatedPositionOld:Number;
public var ratioOld:Number;
public var onInit:Function;
public var data;
public var suppressEvents:Boolean;
public var dispatchEvents:Boolean;
public var repeatCount:int;// = 1
public var nextTween:GTween;
public var reflect:Boolean;
public var positionOld:Number;
protected var _values:Object;
protected var _inited:Boolean;
public var onComplete:Function;
protected var _paused:Boolean;// = true
public var ease:Function;
protected var _proxy:TargetProxy;
protected var _initValues:Object;
public var onChange:Function;
public var timeScale:Number;// = 1
public static var pauseAll:Boolean = false;
protected static var time:Number;
public static var defaultEase:Function = linearEase;
public static var defaultDispatchEvents:Boolean = false;
public static var version:Number = 2.01;
protected static var tickList:Dictionary = new Dictionary(true);
protected static var plugins:Object = {};
protected static var shape:Shape;
public static var timeScaleAll:Number = 1;
protected static var gcLockList:Dictionary = new Dictionary(false);
protected static var hasStarPlugins:Boolean = false;
public function GTween(target:Object=null, duration:Number=1, values:Object=null, props:Object=null, pluginData:Object=null){
var swap:Boolean;
_delay = 0;
_paused = true;
autoPlay = true;
repeatCount = 1;
timeScale = 1;
super();
ease = defaultEase;
dispatchEvents = defaultDispatchEvents;
this.target = target;
this.duration = duration;
this.pluginData = copy(pluginData, {});
if (props){
swap = props.swapValues;
delete props.swapValues;
};
copy(props, this);
resetValues(values);
if (swap){
swapValues();
};
if ((((((this.duration == 0)) && ((delay == 0)))) && (autoPlay))){
position = 0;
};
}
public function get delay():Number{
return (_delay);
}
public function getValues():Object{
return (copy(_values, {}));
}
public function setValues(values:Object):void{
copy(values, _values, true);
invalidate();
}
public function get position():Number{
return (_position);
}
protected function dispatchEvt(name:String):void{
if (hasEventListener(name)){
dispatchEvent(new Event(name));
};
}
public function getInitValue(name:String):Number{
return (_initValues[name]);
}
public function setValue(name:String, value:Number):void{
_values[name] = value;
invalidate();
}
public function init():void{
var n:String;
var pluginArr:Array;
var l:uint;
var value:Number;
var i:uint;
_inited = true;
_initValues = {};
_rangeValues = {};
for (n in _values) {
if (plugins[n]){
pluginArr = plugins[n];
l = pluginArr.length;
value = ((n in target)) ? target[n] : NaN;
i = 0;
while (i < l) {
value = pluginArr[i].init(this, n, value);
i++;
};
if (!isNaN(value)){
_rangeValues[n] = (_values[n] - (_initValues[n] = value));
};
} else {
_rangeValues[n] = (_values[n] - (_initValues[n] = target[n]));
};
};
if (hasStarPlugins){
pluginArr = plugins["*"];
l = pluginArr.length;
i = 0;
while (i < l) {
pluginArr[i].init(this, "*", NaN);
i++;
};
};
if (!suppressEvents){
if (dispatchEvents){
dispatchEvt("init");
};
if (onInit != null){
onInit(this);
};
};
}
public function get paused():Boolean{
return (_paused);
}
public function swapValues():void{
var o:Object;
var n:String;
var pos:Number;
if (!_inited){
init();
};
o = _values;
_values = _initValues;
_initValues = o;
for (n in _rangeValues) {
_rangeValues[n] = (_rangeValues[n] * -1);
};
if (_position < 0){
pos = positionOld;
position = 0;
_position = positionOld;
positionOld = pos;
} else {
position = _position;
};
}
public function getValue(name:String):Number{
return (_values[name]);
}
protected function invalidate():void{
_inited = false;
if (_position > 0){
_position = 0;
};
if (autoPlay){
paused = false;
};
}
protected function copy(o1:Object, o2:Object, smart:Boolean=false):Object{
var n:String;
for (n in o1) {
if (((smart) && ((o1[n] == null)))){
delete o2[n];
} else {
o2[n] = o1[n];
};
};
return (o2);
}
public function set delay(value:Number):void{
if (_position <= 0){
_position = -(value);
};
_delay = value;
}
public function set position(value:Number):void{
var maxPosition:Number;
var end:Boolean;
var n:String;
var initVal:Number;
var rangeVal:Number;
var val:Number;
var pluginArr:Array;
var l:uint;
var i:uint;
positionOld = _position;
ratioOld = ratio;
calculatedPositionOld = calculatedPosition;
maxPosition = (repeatCount * duration);
end = (((value >= maxPosition)) && ((repeatCount > 0)));
if (end){
if (calculatedPositionOld == maxPosition){
return;
};
_position = maxPosition;
calculatedPosition = (((reflect) && (!((repeatCount & 1))))) ? 0 : duration;
} else {
_position = value;
calculatedPosition = ((_position < 0)) ? 0 : (_position % duration);
if (((reflect) && (((_position / duration) & 1)))){
calculatedPosition = (duration - calculatedPosition);
};
};
ratio = ((((duration == 0)) && ((_position >= 0)))) ? 1 : ease((calculatedPosition / duration), 0, 1, 1);
if (((((target) && ((((_position >= 0)) || ((positionOld >= 0)))))) && (!((calculatedPosition == calculatedPositionOld))))){
if (!_inited){
init();
};
for (n in _values) {
initVal = _initValues[n];
rangeVal = _rangeValues[n];
val = (initVal + (rangeVal * ratio));
pluginArr = plugins[n];
if (pluginArr){
l = pluginArr.length;
i = 0;
while (i < l) {
val = pluginArr[i].tween(this, n, val, initVal, rangeVal, ratio, end);
i++;
};
if (!isNaN(val)){
target[n] = val;
};
} else {
target[n] = val;
};
};
};
if (hasStarPlugins){
pluginArr = plugins["*"];
l = pluginArr.length;
i = 0;
while (i < l) {
pluginArr[i].tween(this, "*", NaN, NaN, NaN, ratio, end);
i++;
};
};
if (!suppressEvents){
if (dispatchEvents){
dispatchEvt("change");
};
if (onChange != null){
onChange(this);
};
};
if (end){
paused = true;
if (nextTween){
nextTween.paused = false;
};
if (!suppressEvents){
if (dispatchEvents){
dispatchEvt("complete");
};
if (onComplete != null){
onComplete(this);
};
};
};
}
public function resetValues(values:Object=null):void{
_values = {};
setValues(values);
}
public function deleteValue(name:String):Boolean{
delete _rangeValues[name];
delete _initValues[name];
return (delete _values[name]);
}
public function beginning():void{
position = 0;
paused = true;
}
public function end():void{
position = ((repeatCount)>0) ? (repeatCount * duration) : duration;
}
public function get proxy():TargetProxy{
if (_proxy == null){
_proxy = new TargetProxy(this);
};
return (_proxy);
}
public function set paused(value:Boolean):void{
if (value == _paused){
return;
};
_paused = value;
if (_paused){
delete tickList[this];
if ((target is IEventDispatcher)){
target.removeEventListener("_", invalidate);
};
delete gcLockList[this];
} else {
if (((isNaN(_position)) || (((!((repeatCount == 0))) && ((_position >= (repeatCount * duration))))))){
_inited = false;
calculatedPosition = (calculatedPositionOld = (ratio = (ratioOld = (positionOld = 0))));
_position = -(delay);
};
tickList[this] = true;
if ((target is IEventDispatcher)){
target.addEventListener("_", invalidate);
} else {
gcLockList[this] = true;
};
};
}
protected static function staticTick(evt:Event):void{
var t:Number;
var dt:Number;
var o:Object;
var tween:GTween;
t = time;
time = (getTimer() / 1000);
if (pauseAll){
return;
};
dt = ((time - t) * timeScaleAll);
for (o in tickList) {
tween = (o as GTween);
tween.position = (tween._position + ((tween.useFrames) ? timeScaleAll : dt * tween.timeScale));
};
}
protected static function staticInit():void{
(shape = new Shape()).addEventListener(Event.ENTER_FRAME, staticTick);
time = (getTimer() / 1000);
}
public static function installPlugin(plugin:Object, propertyNames:Array, highPriority:Boolean=false):void{
var i:uint;
var propertyName:String;
i = 0;
while (i < propertyNames.length) {
propertyName = propertyNames[i];
if (propertyName == "*"){
hasStarPlugins = true;
};
if (plugins[propertyName] == null){
plugins[propertyName] = [plugin];
} else {
if (highPriority){
plugins[propertyName].unshift(plugin);
} else {
plugins[propertyName].push(plugin);
};
};
i++;
};
}
public static function linearEase(a:Number, b:Number, c:Number, d:Number):Number{
return (a);
}
staticInit();
}
}//package com.gskinner.motion
import flash.utils.*;
dynamic class TargetProxy extends Proxy {
private var tween:GTween;
private function TargetProxy(tween:GTween):void{
super();
this.tween = tween;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(prop):Boolean{
tween.deleteValue(prop);
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(prop){
var value:Number;
value = tween.getValue(prop);
return ((isNaN(value)) ? tween.target[prop] : value);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function callProperty(methodName, ... _args){
return (tween.target[methodName].apply(null, _args));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(prop, value):void{
if ((((((value is Boolean)) || ((value is String)))) || (isNaN(value)))){
tween.target[prop] = value;
} else {
tween.setValue(String(prop), Number(value));
};
}
}
Section 60
//BaseButton (fl.controls.BaseButton)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import flash.utils.*;
import fl.events.*;
public class BaseButton extends UIComponent {
protected var _selected:Boolean;// = false
private var unlockedMouseState:String;
protected var pressTimer:Timer;
protected var mouseState:String;
protected var background:DisplayObject;
private var _mouseStateLocked:Boolean;// = false
protected var _autoRepeat:Boolean;// = false
private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35};
public function BaseButton(){
_selected = false;
_autoRepeat = false;
_mouseStateLocked = false;
super();
buttonMode = true;
mouseChildren = false;
useHandCursor = false;
setupMouseEvents();
setMouseState("up");
pressTimer = new Timer(1, 0);
pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true);
}
protected function endPress():void{
pressTimer.reset();
}
public function set mouseStateLocked(_arg1:Boolean):void{
_mouseStateLocked = _arg1;
if (_arg1 == false){
setMouseState(unlockedMouseState);
} else {
unlockedMouseState = mouseState;
};
}
public function get autoRepeat():Boolean{
return (_autoRepeat);
}
public function set autoRepeat(_arg1:Boolean):void{
_autoRepeat = _arg1;
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
mouseEnabled = _arg1;
}
public function get selected():Boolean{
return (_selected);
}
protected function mouseEventHandler(_arg1:MouseEvent):void{
if (_arg1.type == MouseEvent.MOUSE_DOWN){
setMouseState("down");
startPress();
} else {
if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){
setMouseState("over");
endPress();
} else {
if (_arg1.type == MouseEvent.ROLL_OUT){
setMouseState("up");
endPress();
};
};
};
}
public function setMouseState(_arg1:String):void{
if (_mouseStateLocked){
unlockedMouseState = _arg1;
return;
};
if (mouseState == _arg1){
return;
};
mouseState = _arg1;
invalidate(InvalidationType.STATE);
}
protected function startPress():void{
if (_autoRepeat){
pressTimer.delay = Number(getStyleValue("repeatDelay"));
pressTimer.start();
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
protected function buttonDown(_arg1:TimerEvent):void{
if (!_autoRepeat){
endPress();
return;
};
if (pressTimer.currentCount == 1){
pressTimer.delay = Number(getStyleValue("repeatInterval"));
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
public function set selected(_arg1:Boolean):void{
if (_selected == _arg1){
return;
};
_selected = _arg1;
invalidate(InvalidationType.STATE);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
super.draw();
}
protected function setupMouseEvents():void{
addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true);
}
protected function drawLayout():void{
background.width = width;
background.height = height;
}
protected function drawBackground():void{
var _local1:String;
var _local2:DisplayObject;
_local1 = (enabled) ? mouseState : "disabled";
if (selected){
_local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1));
};
_local1 = (_local1 + "Skin");
_local2 = background;
background = getDisplayObjectInstance(getStyleValue(_local1));
addChildAt(background, 0);
if (((!((_local2 == null))) && (!((_local2 == background))))){
removeChild(_local2);
};
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 61
//Button (fl.controls.Button)
package fl.controls {
import flash.display.*;
import fl.core.*;
import fl.managers.*;
public class Button extends LabelButton implements IFocusManagerComponent {
protected var emphasizedBorder:DisplayObject;
protected var _emphasized:Boolean;// = false
private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2};
public static var createAccessibilityImplementation:Function;
public function Button(){
_emphasized = false;
super();
}
override public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
var _local3:*;
super.drawFocus(_arg1);
if (_arg1){
_local2 = Number(getStyleValue("emphasizedPadding"));
if ((((_local2 < 0)) || (!(_emphasized)))){
_local2 = 0;
};
_local3 = getStyleValue("focusRectPadding");
_local3 = ((_local3)==null) ? 2 : _local3;
_local3 = (_local3 + _local2);
uiFocusRect.x = -(_local3);
uiFocusRect.y = -(_local3);
uiFocusRect.width = (width + (_local3 * 2));
uiFocusRect.height = (height + (_local3 * 2));
};
}
public function set emphasized(_arg1:Boolean):void{
_emphasized = _arg1;
invalidate(InvalidationType.STYLES);
}
override protected function draw():void{
if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){
drawEmphasized();
};
super.draw();
if (emphasizedBorder != null){
setChildIndex(emphasizedBorder, (numChildren - 1));
};
}
public function get emphasized():Boolean{
return (_emphasized);
}
override protected function initializeAccessibility():void{
if (Button.createAccessibilityImplementation != null){
Button.createAccessibilityImplementation(this);
};
}
protected function drawEmphasized():void{
var _local1:Object;
var _local2:Number;
if (emphasizedBorder != null){
removeChild(emphasizedBorder);
};
emphasizedBorder = null;
if (!_emphasized){
return;
};
_local1 = getStyleValue("emphasizedSkin");
if (_local1 != null){
emphasizedBorder = getDisplayObjectInstance(_local1);
};
if (emphasizedBorder != null){
addChildAt(emphasizedBorder, 0);
_local2 = Number(getStyleValue("emphasizedPadding"));
emphasizedBorder.x = (emphasizedBorder.y = -(_local2));
emphasizedBorder.width = (width + (_local2 * 2));
emphasizedBorder.height = (height + (_local2 * 2));
};
}
public static function getStyleDefinition():Object{
return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles));
}
}
}//package fl.controls
Section 62
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement)
package fl.controls {
public class ButtonLabelPlacement {
public static const TOP:String = "top";
public static const LEFT:String = "left";
public static const BOTTOM:String = "bottom";
public static const RIGHT:String = "right";
}
}//package fl.controls
Section 63
//LabelButton (fl.controls.LabelButton)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import fl.managers.*;
import fl.events.*;
import flash.text.*;
import flash.ui.*;
public class LabelButton extends BaseButton implements IFocusManagerComponent {
protected var _labelPlacement:String;// = "right"
protected var _toggle:Boolean;// = false
protected var icon:DisplayObject;
protected var oldMouseState:String;
protected var mode:String;// = "center"
public var textField:TextField;
protected var _label:String;// = "Label"
private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false};
public static var createAccessibilityImplementation:Function;
public function LabelButton(){
_labelPlacement = ButtonLabelPlacement.RIGHT;
_toggle = false;
_label = "Label";
mode = "center";
super();
}
protected function toggleSelected(_arg1:MouseEvent):void{
selected = !(selected);
dispatchEvent(new Event(Event.CHANGE, true));
}
public function get labelPlacement():String{
return (_labelPlacement);
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
if (oldMouseState == null){
oldMouseState = mouseState;
};
setMouseState("down");
startPress();
};
}
protected function setEmbedFont(){
var _local1:Object;
_local1 = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
}
override protected function keyUpHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
setMouseState(oldMouseState);
oldMouseState = null;
endPress();
dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
override public function get selected():Boolean{
return ((_toggle) ? _selected : false);
}
public function set labelPlacement(_arg1:String):void{
_labelPlacement = _arg1;
invalidate(InvalidationType.SIZE);
}
public function set toggle(_arg1:Boolean):void{
if (((!(_arg1)) && (super.selected))){
selected = false;
};
_toggle = _arg1;
if (_toggle){
addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true);
} else {
removeEventListener(MouseEvent.CLICK, toggleSelected);
};
invalidate(InvalidationType.STATE);
}
public function get label():String{
return (_label);
}
override public function set selected(_arg1:Boolean):void{
_selected = _arg1;
if (_toggle){
invalidate(InvalidationType.STATE);
};
}
override protected function draw():void{
if (textField.text != _label){
label = _label;
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
drawIcon();
drawTextFormat();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
public function get toggle():Boolean{
return (_toggle);
}
override protected function configUI():void{
super.configUI();
textField = new TextField();
textField.type = TextFieldType.DYNAMIC;
textField.selectable = false;
addChild(textField);
}
override protected function drawLayout():void{
var _local1:Number;
var _local2:String;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local1 = Number(getStyleValue("textPadding"));
_local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement;
textField.height = (textField.textHeight + 4);
_local3 = (textField.textWidth + 4);
_local4 = (textField.textHeight + 4);
_local5 = ((icon)==null) ? 0 : (icon.width + _local1);
_local6 = ((icon)==null) ? 0 : (icon.height + _local1);
textField.visible = (label.length > 0);
if (icon != null){
icon.x = Math.round(((width - icon.width) / 2));
icon.y = Math.round(((height - icon.height) / 2));
};
if (textField.visible == false){
textField.width = 0;
textField.height = 0;
} else {
if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){
_local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1))));
if ((height - 2) > _local4){
_local8 = _local4;
} else {
_local8 = (height - 2);
};
_local3 = _local7;
textField.width = _local3;
_local4 = _local8;
textField.height = _local4;
textField.x = Math.round(((width - _local3) / 2));
textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0));
if (icon != null){
icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1));
};
} else {
_local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1))));
_local3 = _local7;
textField.width = _local3;
textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0));
textField.y = Math.round(((height - textField.height) / 2));
if (icon != null){
icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1));
};
};
};
super.drawLayout();
}
override protected function initializeAccessibility():void{
if (LabelButton.createAccessibilityImplementation != null){
LabelButton.createAccessibilityImplementation(this);
};
}
protected function drawIcon():void{
var _local1:DisplayObject;
var _local2:String;
var _local3:Object;
_local1 = icon;
_local2 = (enabled) ? mouseState : "disabled";
if (selected){
_local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1));
};
_local2 = (_local2 + "Icon");
_local3 = getStyleValue(_local2);
if (_local3 == null){
_local3 = getStyleValue("icon");
};
if (_local3 != null){
icon = getDisplayObjectInstance(_local3);
};
if (icon != null){
addChildAt(icon, 1);
};
if (((!((_local1 == null))) && (!((_local1 == icon))))){
removeChild(_local1);
};
}
public function set label(_arg1:String):void{
_label = _arg1;
if (textField.text != _label){
textField.text = _label;
dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE));
};
invalidate(InvalidationType.SIZE);
invalidate(InvalidationType.STYLES);
}
protected function drawTextFormat():void{
var _local1:Object;
var _local2:TextFormat;
var _local3:TextFormat;
_local1 = UIComponent.getStyleDefinition();
_local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat);
textField.setTextFormat(_local2);
_local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat);
if (_local3 != null){
textField.setTextFormat(_local3);
} else {
_local3 = _local2;
};
textField.defaultTextFormat = _local3;
setEmbedFont();
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition()));
}
}
}//package fl.controls
Section 64
//Slider (fl.controls.Slider)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import fl.managers.*;
import fl.events.*;
import flash.ui.*;
public class Slider extends UIComponent implements IFocusManagerComponent {
protected var _direction:String;
protected var _liveDragging:Boolean;// = false
protected var _value:Number;// = 0
protected var _snapInterval:Number;// = 0
protected var _minimum:Number;// = 0
protected var _maximum:Number;// = 10
protected var track:BaseButton;
protected var _tickInterval:Number;// = 0
protected var tickContainer:Sprite;
protected var thumb:BaseButton;
protected static const TICK_STYLES:Object = {upSkin:"tickSkin"};
protected static const TRACK_STYLES:Object = {upSkin:"sliderTrackSkin", overSkin:"sliderTrackSkin", downSkin:"sliderTrackSkin", disabledSkin:"sliderTrackDisabledSkin"};
protected static const THUMB_STYLES:Object = {upSkin:"thumbUpSkin", overSkin:"thumbOverSkin", downSkin:"thumbDownSkin", disabledSkin:"thumbDisabledSkin"};
protected static var defaultStyles:Object = {thumbUpSkin:"SliderThumb_upSkin", thumbOverSkin:"SliderThumb_overSkin", thumbDownSkin:"SliderThumb_downSkin", thumbDisabledSkin:"SliderThumb_disabledSkin", sliderTrackSkin:"SliderTrack_skin", sliderTrackDisabledSkin:"SliderTrack_disabledSkin", tickSkin:"SliderTick_skin", focusRectSkin:null, focusRectPadding:null};
public function Slider(){
_direction = SliderDirection.HORIZONTAL;
_minimum = 0;
_maximum = 10;
_value = 0;
_tickInterval = 0;
_snapInterval = 0;
_liveDragging = false;
super();
setStyles();
}
public function get minimum():Number{
return (_minimum);
}
public function set minimum(_arg1:Number):void{
_minimum = _arg1;
this.value = Math.max(_arg1, this.value);
invalidate(InvalidationType.DATA);
}
public function get maximum():Number{
return (_maximum);
}
protected function positionThumb():void{
thumb.x = ((((_direction)==SliderDirection.VERTICAL) ? ((maximum - minimum) - value) : (value - minimum) / (maximum - minimum)) * _width);
}
protected function clearTicks():void{
if (((!(tickContainer)) || (!(tickContainer.parent)))){
return;
};
removeChild(tickContainer);
}
protected function onTrackClick(_arg1:MouseEvent):void{
calculateValue(track.mouseX, InteractionInputType.MOUSE, SliderEventClickTarget.TRACK);
if (!liveDragging){
dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, SliderEventClickTarget.TRACK, InteractionInputType.MOUSE));
};
}
public function set maximum(_arg1:Number):void{
_maximum = _arg1;
this.value = Math.min(_arg1, this.value);
invalidate(InvalidationType.DATA);
}
public function get liveDragging():Boolean{
return (_liveDragging);
}
protected function doDrag(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
_local2 = (_width / snapInterval);
_local3 = track.mouseX;
calculateValue(_local3, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB);
dispatchEvent(new SliderEvent(SliderEvent.THUMB_DRAG, value, SliderEventClickTarget.THUMB, InteractionInputType.MOUSE));
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
var _local2:uint;
var _local3:Number;
var _local4:Boolean;
if (!enabled){
return;
};
_local2 = ((snapInterval)>0) ? snapInterval : 1;
_local4 = (direction == SliderDirection.HORIZONTAL);
if ((((((_arg1.keyCode == Keyboard.DOWN)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.LEFT)) && (_local4))))){
_local3 = (value - _local2);
} else {
if ((((((_arg1.keyCode == Keyboard.UP)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.RIGHT)) && (_local4))))){
_local3 = (value + _local2);
} else {
if ((((((_arg1.keyCode == Keyboard.PAGE_DOWN)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.HOME)) && (_local4))))){
_local3 = minimum;
} else {
if ((((((_arg1.keyCode == Keyboard.PAGE_UP)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.END)) && (_local4))))){
_local3 = maximum;
};
};
};
};
if (!isNaN(_local3)){
_arg1.stopPropagation();
doSetValue(_local3, InteractionInputType.KEYBOARD, null, _arg1.keyCode);
};
}
override public function set enabled(_arg1:Boolean):void{
if (enabled == _arg1){
return;
};
super.enabled = _arg1;
track.enabled = (thumb.enabled = _arg1);
}
protected function thumbPressHandler(_arg1:MouseEvent):void{
stage.addEventListener(MouseEvent.MOUSE_MOVE, doDrag, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true);
dispatchEvent(new SliderEvent(SliderEvent.THUMB_PRESS, value, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB));
}
public function get snapInterval():Number{
return (_snapInterval);
}
protected function thumbReleaseHandler(_arg1:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, doDrag);
stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler);
dispatchEvent(new SliderEvent(SliderEvent.THUMB_RELEASE, value, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB));
dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, SliderEventClickTarget.THUMB, InteractionInputType.MOUSE));
}
public function set liveDragging(_arg1:Boolean):void{
_liveDragging = _arg1;
}
public function set value(_arg1:Number):void{
doSetValue(_arg1);
}
public function set direction(_arg1:String):void{
var _local2:Boolean;
_direction = _arg1;
_local2 = (_direction == SliderDirection.VERTICAL);
if (isLivePreview){
if (_local2){
setScaleY(-1);
y = track.height;
} else {
setScaleY(1);
y = 0;
};
positionThumb();
return;
};
if (((_local2) && (componentInspectorSetting))){
if ((rotation % 90) == 0){
setScaleY(-1);
};
};
if (!componentInspectorSetting){
rotation = (_local2) ? 90 : 0;
};
}
public function set tickInterval(_arg1:Number):void{
_tickInterval = _arg1;
invalidate(InvalidationType.SIZE);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES)){
setStyles();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
track.setSize(_width, track.height);
track.drawNow();
thumb.drawNow();
};
if (tickInterval > 0){
drawTicks();
} else {
clearTicks();
};
positionThumb();
super.draw();
}
override protected function configUI():void{
super.configUI();
thumb = new BaseButton();
thumb.setSize(13, 13);
thumb.autoRepeat = false;
addChild(thumb);
thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true);
track = new BaseButton();
track.move(0, 0);
track.setSize(80, 4);
track.autoRepeat = false;
track.useHandCursor = false;
track.addEventListener(MouseEvent.CLICK, onTrackClick, false, 0, true);
addChildAt(track, 0);
}
public function set snapInterval(_arg1:Number):void{
_snapInterval = _arg1;
}
public function get value():Number{
return (_value);
}
public function get direction():String{
return (_direction);
}
public function get tickInterval():Number{
return (_tickInterval);
}
override public function setSize(_arg1:Number, _arg2:Number):void{
if ((((_direction == SliderDirection.VERTICAL)) && (!(isLivePreview)))){
super.setSize(_arg2, _arg1);
} else {
super.setSize(_arg1, _arg2);
};
invalidate(InvalidationType.SIZE);
}
protected function drawTicks():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:uint;
var _local5:DisplayObject;
clearTicks();
tickContainer = new Sprite();
_local1 = ((maximum)<1) ? (tickInterval / 100) : tickInterval;
_local2 = ((maximum - minimum) / _local1);
_local3 = (_width / _local2);
_local4 = 0;
while (_local4 <= _local2) {
_local5 = getDisplayObjectInstance(getStyleValue("tickSkin"));
_local5.x = (_local3 * _local4);
_local5.y = ((track.y - _local5.height) - 2);
tickContainer.addChild(_local5);
_local4++;
};
addChild(tickContainer);
}
protected function calculateValue(_arg1:Number, _arg2:String, _arg3:String, _arg4:int=undefined):void{
var _local5:Number;
_local5 = ((_arg1 / _width) * (maximum - minimum));
if (_direction == SliderDirection.VERTICAL){
_local5 = (maximum - _local5);
} else {
_local5 = (minimum + _local5);
};
doSetValue(_local5, _arg2, _arg3, _arg4);
}
protected function getPrecision(_arg1:Number):Number{
var _local2:String;
_local2 = _arg1.toString();
if (_local2.indexOf(".") == -1){
return (0);
};
return (_local2.split(".").pop().length);
}
protected function doSetValue(_arg1:Number, _arg2:String=null, _arg3:String=null, _arg4:int=undefined):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
_local5 = _value;
if (((!((_snapInterval == 0))) && (!((_snapInterval == 1))))){
_local6 = Math.pow(10, getPrecision(snapInterval));
_local7 = (_snapInterval * _local6);
_local8 = Math.round((_arg1 * _local6));
_local9 = (Math.round((_local8 / _local7)) * _local7);
_arg1 = (_local9 / _local6);
_value = Math.max(minimum, Math.min(maximum, _arg1));
} else {
_value = Math.max(minimum, Math.min(maximum, Math.round(_arg1)));
};
if (((!((_local5 == _value))) && (((((liveDragging) && (!((_arg3 == null))))) || ((_arg2 == InteractionInputType.KEYBOARD)))))){
dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, _arg3, _arg2, _arg4));
};
positionThumb();
}
protected function setStyles():void{
copyStylesToChild(thumb, THUMB_STYLES);
copyStylesToChild(track, TRACK_STYLES);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 65
//SliderDirection (fl.controls.SliderDirection)
package fl.controls {
public class SliderDirection {
public static var HORIZONTAL:String = "horizontal";
public static var VERTICAL:String = "vertical";
}
}//package fl.controls
Section 66
//ComponentShim (fl.core.ComponentShim)
package fl.core {
import flash.display.*;
public dynamic class ComponentShim extends MovieClip {
}
}//package fl.core
Section 67
//InvalidationType (fl.core.InvalidationType)
package fl.core {
public class InvalidationType {
public static const SIZE:String = "size";
public static const ALL:String = "all";
public static const DATA:String = "data";
public static const SCROLL:String = "scroll";
public static const STATE:String = "state";
public static const STYLES:String = "styles";
public static const SELECTED:String = "selected";
public static const RENDERER_STYLES:String = "rendererStyles";
}
}//package fl.core
Section 68
//UIComponent (fl.core.UIComponent)
package fl.core {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import fl.managers.*;
import fl.events.*;
import flash.text.*;
import flash.system.*;
public class UIComponent extends Sprite {
protected var _enabled:Boolean;// = true
private var _mouseFocusEnabled:Boolean;// = true
protected var startHeight:Number;
protected var _height:Number;
protected var _oldIMEMode:String;// = null
protected var startWidth:Number;
public var focusTarget:IFocusManagerComponent;
protected var errorCaught:Boolean;// = false
protected var uiFocusRect:DisplayObject;
protected var _width:Number;
public var version:String;// = "3.0.0.15"
protected var isFocused:Boolean;// = false
protected var callLaterMethods:Dictionary;
private var _focusEnabled:Boolean;// = true
private var tempText:TextField;
protected var invalidateFlag:Boolean;// = false
protected var _inspector:Boolean;// = false
protected var sharedStyles:Object;
protected var invalidHash:Object;
protected var isLivePreview:Boolean;// = false
protected var _imeMode:String;// = null
protected var instanceStyles:Object;
protected var _x:Number;
protected var _y:Number;
public static var inCallLaterPhase:Boolean = false;
private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)};
public static var createAccessibilityImplementation:Function;
private static var focusManagers:Dictionary = new Dictionary(false);
public function UIComponent(){
version = "3.0.0.15";
isLivePreview = false;
invalidateFlag = false;
_enabled = true;
isFocused = false;
_focusEnabled = true;
_mouseFocusEnabled = true;
_imeMode = null;
_oldIMEMode = null;
errorCaught = false;
_inspector = false;
super();
instanceStyles = {};
sharedStyles = {};
invalidHash = {};
callLaterMethods = new Dictionary();
StyleManager.registerInstance(this);
configUI();
invalidate(InvalidationType.ALL);
tabEnabled = (this is IFocusManagerComponent);
focusRect = false;
if (tabEnabled){
addEventListener(FocusEvent.FOCUS_IN, focusInHandler);
addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler);
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
};
initializeFocusManager();
addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true);
}
public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
isFocused = _arg1;
if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){
removeChild(uiFocusRect);
uiFocusRect = null;
};
if (_arg1){
uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite);
if (uiFocusRect == null){
return;
};
_local2 = Number(getStyleValue("focusRectPadding"));
uiFocusRect.x = -(_local2);
uiFocusRect.y = -(_local2);
uiFocusRect.width = (width + (_local2 * 2));
uiFocusRect.height = (height + (_local2 * 2));
addChildAt(uiFocusRect, 0);
};
}
private function callLaterDispatcher(_arg1:Event):void{
var _local2:Dictionary;
var _local3:Object;
if (_arg1.type == Event.ADDED_TO_STAGE){
removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher);
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
return;
};
_arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher);
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
return;
};
inCallLaterPhase = true;
_local2 = callLaterMethods;
for (_local3 in _local2) {
_local3();
delete _local2[_local3];
};
inCallLaterPhase = false;
}
private function addedHandler(_arg1:Event):void{
removeEventListener("addedToStage", addedHandler);
initializeFocusManager();
}
protected function getStyleValue(_arg1:String):Object{
return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]);
}
protected function isOurFocus(_arg1:DisplayObject):Boolean{
return ((_arg1 == this));
}
override public function get scaleX():Number{
return ((width / startWidth));
}
override public function get scaleY():Number{
return ((height / startHeight));
}
override public function set height(_arg1:Number):void{
if (_height == _arg1){
return;
};
setSize(width, _arg1);
}
protected function keyDownHandler(_arg1:KeyboardEvent):void{
}
protected function focusInHandler(_arg1:FocusEvent):void{
var _local2:IFocusManager;
if (isOurFocus((_arg1.target as DisplayObject))){
_local2 = focusManager;
if (((_local2) && (_local2.showFocusIndicator))){
drawFocus(true);
isFocused = true;
};
};
}
public function setStyle(_arg1:String, _arg2:Object):void{
if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
instanceStyles[_arg1] = _arg2;
invalidate(InvalidationType.STYLES);
}
override public function get visible():Boolean{
return (super.visible);
}
public function get componentInspectorSetting():Boolean{
return (_inspector);
}
override public function get x():Number{
return ((isNaN(_x)) ? super.x : _x);
}
override public function get y():Number{
return ((isNaN(_y)) ? super.y : _y);
}
protected function setIMEMode(_arg1:Boolean){
var enabled = _arg1;
if (_imeMode != null){
if (enabled){
IME.enabled = true;
_oldIMEMode = IME.conversionMode;
try {
if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _imeMode;
};
errorCaught = false;
} catch(e:Error) {
errorCaught = true;
throw (new Error(("IME mode not supported: " + _imeMode)));
};
} else {
if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _oldIMEMode;
};
IME.enabled = false;
};
};
}
public function set enabled(_arg1:Boolean):void{
if (_arg1 == _enabled){
return;
};
_enabled = _arg1;
invalidate(InvalidationType.STATE);
}
public function setSharedStyle(_arg1:String, _arg2:Object):void{
if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
sharedStyles[_arg1] = _arg2;
if (instanceStyles[_arg1] == null){
invalidate(InvalidationType.STYLES);
};
}
protected function keyUpHandler(_arg1:KeyboardEvent):void{
}
public function set focusEnabled(_arg1:Boolean):void{
_focusEnabled = _arg1;
}
override public function set scaleX(_arg1:Number):void{
setSize((startWidth * _arg1), height);
}
public function get mouseFocusEnabled():Boolean{
return (_mouseFocusEnabled);
}
override public function set scaleY(_arg1:Number):void{
setSize(width, (startHeight * _arg1));
}
protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{
var classDef:Object;
var skin = _arg1;
classDef = null;
if ((skin is Class)){
return ((new (skin) as DisplayObject));
};
if ((skin is DisplayObject)){
(skin as DisplayObject).x = 0;
(skin as DisplayObject).y = 0;
return ((skin as DisplayObject));
};
try {
classDef = getDefinitionByName(skin.toString());
} catch(e:Error) {
try {
classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object);
} catch(e:Error) {
};
};
if (classDef == null){
return (null);
};
return ((new (classDef) as DisplayObject));
}
protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{
var _local3:String;
for (_local3 in _arg2) {
_arg1.setStyle(_local3, getStyleValue(_arg2[_local3]));
};
}
protected function beforeComponentParameters():void{
}
protected function callLater(_arg1:Function):void{
if (inCallLaterPhase){
return;
};
callLaterMethods[_arg1] = true;
if (stage != null){
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
} else {
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
};
}
protected function createFocusManager():void{
if (focusManagers[stage] == null){
focusManagers[stage] = new FocusManager(stage);
};
}
override public function set visible(_arg1:Boolean):void{
var _local2:String;
if (super.visible == _arg1){
return;
};
super.visible = _arg1;
_local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE;
dispatchEvent(new ComponentEvent(_local2, true));
}
protected function hookAccessibility(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, hookAccessibility);
initializeAccessibility();
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_inspector = _arg1;
if (_inspector){
beforeComponentParameters();
} else {
afterComponentParameters();
};
}
override public function set x(_arg1:Number):void{
move(_arg1, _y);
}
public function drawNow():void{
draw();
}
override public function set y(_arg1:Number):void{
move(_x, _arg1);
}
protected function checkLivePreview():Boolean{
var className:String;
if (parent == null){
return (false);
};
try {
className = getQualifiedClassName(parent);
} catch(e:Error) {
};
return ((className == "fl.livepreview::LivePreviewParent"));
}
protected function focusOutHandler(_arg1:FocusEvent):void{
if (isOurFocus((_arg1.target as DisplayObject))){
drawFocus(false);
isFocused = false;
};
}
public function set mouseFocusEnabled(_arg1:Boolean):void{
_mouseFocusEnabled = _arg1;
}
public function getFocus():InteractiveObject{
if (stage){
return (stage.focus);
};
return (null);
}
protected function validate():void{
invalidHash = {};
}
override public function get height():Number{
return (_height);
}
public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{
invalidHash[_arg1] = true;
if (_arg2){
this.callLater(draw);
};
}
public function get enabled():Boolean{
return (_enabled);
}
protected function getScaleX():Number{
return (super.scaleX);
}
protected function getScaleY():Number{
return (super.scaleY);
}
public function get focusEnabled():Boolean{
return (_focusEnabled);
}
protected function afterComponentParameters():void{
}
protected function draw():void{
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
protected function configUI():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
isLivePreview = checkLivePreview();
_local1 = rotation;
rotation = 0;
_local2 = super.width;
_local3 = super.height;
var _local4 = 1;
super.scaleY = _local4;
super.scaleX = _local4;
setSize(_local2, _local3);
move(super.x, super.y);
rotation = _local1;
startWidth = _local2;
startHeight = _local3;
if (numChildren > 0){
removeChildAt(0);
};
}
protected function setScaleX(_arg1:Number):void{
super.scaleX = _arg1;
}
protected function setScaleY(_arg1:Number):void{
super.scaleY = _arg1;
}
private function initializeFocusManager():void{
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true);
} else {
createFocusManager();
};
}
public function set focusManager(_arg1:IFocusManager):void{
UIComponent.focusManagers[this] = _arg1;
}
public function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
protected function isInvalid(_arg1:String, ... _args):Boolean{
if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){
return (true);
};
while (_args.length > 0) {
if (invalidHash[_args.pop()]){
return (true);
};
};
return (false);
}
public function setSize(_arg1:Number, _arg2:Number):void{
_width = _arg1;
_height = _arg2;
invalidate(InvalidationType.SIZE);
dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false));
}
override public function set width(_arg1:Number):void{
if (_width == _arg1){
return;
};
setSize(_arg1, height);
}
public function setFocus():void{
if (stage){
stage.focus = this;
};
}
protected function initializeAccessibility():void{
if (UIComponent.createAccessibilityImplementation != null){
UIComponent.createAccessibilityImplementation(this);
};
}
public function get focusManager():IFocusManager{
var _local1:DisplayObject;
_local1 = this;
while (_local1) {
if (UIComponent.focusManagers[_local1] != null){
return (IFocusManager(UIComponent.focusManagers[_local1]));
};
_local1 = _local1.parent;
};
return (null);
}
override public function get width():Number{
return (_width);
}
public function move(_arg1:Number, _arg2:Number):void{
_x = _arg1;
_y = _arg2;
super.x = Math.round(_arg1);
super.y = Math.round(_arg2);
dispatchEvent(new ComponentEvent(ComponentEvent.MOVE));
}
public function validateNow():void{
invalidate(InvalidationType.ALL, false);
draw();
}
public function getStyle(_arg1:String):Object{
return (instanceStyles[_arg1]);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
public static function mergeStyles(... _args):Object{
var _local2:Object;
var _local3:uint;
var _local4:uint;
var _local5:Object;
var _local6:String;
_local2 = {};
_local3 = _args.length;
_local4 = 0;
while (_local4 < _local3) {
_local5 = _args[_local4];
for (_local6 in _local5) {
if (_local2[_local6] != null){
} else {
_local2[_local6] = _args[_local4][_local6];
};
};
_local4++;
};
return (_local2);
}
}
}//package fl.core
Section 69
//ComponentEvent (fl.events.ComponentEvent)
package fl.events {
import flash.events.*;
public class ComponentEvent extends Event {
public static const HIDE:String = "hide";
public static const BUTTON_DOWN:String = "buttonDown";
public static const MOVE:String = "move";
public static const RESIZE:String = "resize";
public static const ENTER:String = "enter";
public static const LABEL_CHANGE:String = "labelChange";
public static const SHOW:String = "show";
public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
override public function toString():String{
return (formatToString("ComponentEvent", "type", "bubbles", "cancelable"));
}
override public function clone():Event{
return (new ComponentEvent(type, bubbles, cancelable));
}
}
}//package fl.events
Section 70
//InteractionInputType (fl.events.InteractionInputType)
package fl.events {
public class InteractionInputType {
public static const MOUSE:String = "mouse";
public static const KEYBOARD:String = "keyboard";
}
}//package fl.events
Section 71
//SliderEvent (fl.events.SliderEvent)
package fl.events {
import flash.events.*;
public class SliderEvent extends Event {
protected var _triggerEvent:String;
protected var _keyCode:Number;
protected var _value:Number;
protected var _clickTarget:String;
public static const CHANGE:String = "change";
public static const THUMB_PRESS:String = "thumbPress";
public static const THUMB_DRAG:String = "thumbDrag";
public static const THUMB_RELEASE:String = "thumbRelease";
public function SliderEvent(_arg1:String, _arg2:Number, _arg3:String, _arg4:String, _arg5:int=0){
_value = _arg2;
_keyCode = _arg5;
_triggerEvent = _arg4;
_clickTarget = _arg3;
super(_arg1);
}
public function get clickTarget():String{
return (_clickTarget);
}
override public function clone():Event{
return (new SliderEvent(type, _value, _clickTarget, _triggerEvent, _keyCode));
}
override public function toString():String{
return (formatToString("SliderEvent", "type", "value", "bubbles", "cancelable", "keyCode", "triggerEvent", "clickTarget"));
}
public function get triggerEvent():String{
return (_triggerEvent);
}
public function get value():Number{
return (_value);
}
public function get keyCode():Number{
return (_keyCode);
}
}
}//package fl.events
Section 72
//SliderEventClickTarget (fl.events.SliderEventClickTarget)
package fl.events {
public class SliderEventClickTarget {
public static const TRACK:String = "track";
public static const THUMB:String = "thumb";
}
}//package fl.events
Section 73
//FocusManager (fl.managers.FocusManager)
package fl.managers {
import fl.controls.*;
import flash.display.*;
import fl.core.*;
import flash.events.*;
import flash.utils.*;
import flash.text.*;
import flash.ui.*;
public class FocusManager implements IFocusManager {
private var focusableObjects:Dictionary;
private var _showFocusIndicator:Boolean;// = true
private var defButton:Button;
private var focusableCandidates:Array;
private var _form:DisplayObjectContainer;
private var _defaultButtonEnabled:Boolean;// = true
private var activated:Boolean;// = false
private var _defaultButton:Button;
private var calculateCandidates:Boolean;// = true
private var lastFocus:InteractiveObject;
private var lastAction:String;
public function FocusManager(_arg1:DisplayObjectContainer){
activated = false;
calculateCandidates = true;
_showFocusIndicator = true;
_defaultButtonEnabled = true;
super();
focusableObjects = new Dictionary(true);
if (_arg1 != null){
_form = _arg1;
addFocusables(DisplayObject(_arg1));
_arg1.addEventListener(Event.ADDED, addedHandler);
_arg1.addEventListener(Event.REMOVED, removedHandler);
activate();
};
}
public function get showFocusIndicator():Boolean{
return (_showFocusIndicator);
}
private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{
var _local5:int;
var _local6:int;
var _local7:DisplayObject;
var _local8:IFocusManagerGroup;
var _local9:int;
var _local10:DisplayObject;
var _local11:IFocusManagerGroup;
_local5 = focusableCandidates.length;
_local6 = _arg1;
while (true) {
if (_arg2){
_arg1--;
} else {
_arg1++;
};
if (_arg3){
if (((_arg2) && ((_arg1 < 0)))){
break;
};
if (((!(_arg2)) && ((_arg1 == _local5)))){
break;
};
} else {
_arg1 = ((_arg1 + _local5) % _local5);
if (_local6 == _arg1){
break;
};
};
if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){
_local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1]));
if ((_local7 is IFocusManagerGroup)){
_local8 = IFocusManagerGroup(_local7);
_local9 = 0;
while (_local9 < focusableCandidates.length) {
_local10 = focusableCandidates[_local9];
if ((_local10 is IFocusManagerGroup)){
_local11 = IFocusManagerGroup(_local10);
if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){
_arg1 = _local9;
break;
};
};
_local9++;
};
};
return (_arg1);
};
};
return (_arg1);
}
public function set form(_arg1:DisplayObjectContainer):void{
_form = _arg1;
}
private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{
var focusable:IFocusManagerComponent;
var io:InteractiveObject;
var doc:DisplayObjectContainer;
var i:int;
var child:DisplayObject;
var o = _arg1;
var skipTopLevel = _arg2;
if (!skipTopLevel){
if ((o is IFocusManagerComponent)){
focusable = IFocusManagerComponent(o);
if (focusable.focusEnabled){
if (((focusable.tabEnabled) && (isTabVisible(o)))){
focusableObjects[o] = true;
calculateCandidates = true;
};
o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
} else {
if ((o is InteractiveObject)){
io = (o as InteractiveObject);
if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){
focusableObjects[io] = true;
calculateCandidates = true;
};
io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
};
};
if ((o is DisplayObjectContainer)){
doc = DisplayObjectContainer(o);
o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){
i = 0;
while (i < doc.numChildren) {
try {
child = doc.getChildAt(i);
if (child != null){
addFocusables(doc.getChildAt(i));
};
} catch(error:SecurityError) {
};
i = (i + 1);
};
};
};
}
private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{
return (_arg1.getChildIndex(_arg2));
}
private function mouseFocusChangeHandler(_arg1:FocusEvent):void{
if ((_arg1.relatedObject is TextField)){
return;
};
_arg1.preventDefault();
}
private function focusOutHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
_local2 = (_arg1.target as InteractiveObject);
}
private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{
var _local3:IFocusManagerGroup;
if (!isEnabledAndVisible(_arg1)){
return (false);
};
if ((_arg1 is IFocusManagerGroup)){
_local3 = IFocusManagerGroup(_arg1);
if (_arg2 == _local3.groupName){
return (false);
};
};
return (true);
}
public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{
var _local2:InteractiveObject;
_local2 = _arg1;
while (_arg1) {
if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
};
return (_local2);
}
private function sortFocusableObjectsTabIndex():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){
focusableCandidates.push(_local2);
};
};
focusableCandidates.sort(sortByTabIndex);
}
private function removeFocusables(_arg1:DisplayObject):void{
var _local2:Object;
var _local3:DisplayObject;
if ((_arg1 is DisplayObjectContainer)){
_arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
_arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
for (_local2 in focusableObjects) {
_local3 = DisplayObject(_local2);
if (DisplayObjectContainer(_arg1).contains(_local3)){
if (_local3 == lastFocus){
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local2];
calculateCandidates = true;
};
};
};
}
private function addedHandler(_arg1:Event):void{
var _local2:DisplayObject;
_local2 = DisplayObject(_arg1.target);
if (_local2.stage){
addFocusables(DisplayObject(_arg1.target));
};
}
private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{
while (_arg1 != InteractiveObject(form)) {
if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
if (_arg1 == null){
break;
};
};
return (null);
}
private function tabChildrenChangeHandler(_arg1:Event):void{
var _local2:DisplayObjectContainer;
if (_arg1.target != _arg1.currentTarget){
return;
};
calculateCandidates = true;
_local2 = DisplayObjectContainer(_arg1.target);
if (_local2.tabChildren){
addFocusables(_local2, true);
} else {
removeFocusables(_local2);
};
}
public function sendDefaultButtonEvent():void{
defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
}
public function getFocus():InteractiveObject{
var _local1:InteractiveObject;
_local1 = form.stage.focus;
return (findFocusManagerComponent(_local1));
}
private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer;
var _local3:TextField;
var _local4:SimpleButton;
_local2 = DisplayObject(form).parent;
while (_arg1 != _local2) {
if ((_arg1 is UIComponent)){
if (!UIComponent(_arg1).enabled){
return (false);
};
} else {
if ((_arg1 is TextField)){
_local3 = TextField(_arg1);
if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){
return (false);
};
} else {
if ((_arg1 is SimpleButton)){
_local4 = SimpleButton(_arg1);
if (!_local4.enabled){
return (false);
};
};
};
};
if (!_arg1.visible){
return (false);
};
_arg1 = _arg1.parent;
};
return (true);
}
public function set defaultButton(_arg1:Button):void{
var _local2:Button;
_local2 = (_arg1) ? Button(_arg1) : null;
if (_local2 != _defaultButton){
if (_defaultButton){
_defaultButton.emphasized = false;
};
if (defButton){
defButton.emphasized = false;
};
_defaultButton = _local2;
defButton = _local2;
if (_local2){
_local2.emphasized = true;
};
};
}
private function deactivateHandler(_arg1:Event):void{
var _local2:InteractiveObject;
_local2 = InteractiveObject(_arg1.target);
}
public function setFocus(_arg1:InteractiveObject):void{
if ((_arg1 is IFocusManagerComponent)){
IFocusManagerComponent(_arg1).setFocus();
} else {
form.stage.focus = _arg1;
};
}
private function setFocusToNextObject(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
if (!hasFocusableObjects()){
return;
};
_local2 = getNextFocusManagerComponent(_arg1.shiftKey);
if (_local2){
setFocus(_local2);
};
}
private function hasFocusableObjects():Boolean{
var _local1:Object;
for (_local1 in focusableObjects) {
return (true);
};
return (false);
}
private function tabIndexChangeHandler(_arg1:Event):void{
calculateCandidates = true;
}
private function sortFocusableObjects():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){
sortFocusableObjectsTabIndex();
return;
};
focusableCandidates.push(_local2);
};
focusableCandidates.sort(sortByDepth);
}
private function keyFocusChangeHandler(_arg1:FocusEvent):void{
showFocusIndicator = true;
if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){
setFocusToNextObject(_arg1);
_arg1.preventDefault();
};
}
private function getIndexOfFocusedObject(_arg1:DisplayObject):int{
var _local2:int;
var _local3:int;
_local2 = focusableCandidates.length;
_local3 = 0;
_local3 = 0;
while (_local3 < _local2) {
if (focusableCandidates[_local3] == _arg1){
return (_local3);
};
_local3++;
};
return (-1);
}
public function hideFocus():void{
}
private function removedHandler(_arg1:Event):void{
var _local2:int;
var _local3:DisplayObject;
var _local4:InteractiveObject;
_local3 = DisplayObject(_arg1.target);
if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){
if (_local3 == lastFocus){
IFocusManagerComponent(lastFocus).drawFocus(false);
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local3];
calculateCandidates = true;
} else {
if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){
_local4 = (_local3 as InteractiveObject);
if (_local4){
if (_local4 == lastFocus){
lastFocus = null;
};
delete focusableObjects[_local4];
calculateCandidates = true;
};
_local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
};
};
removeFocusables(_local3);
}
private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:String;
var _local7:String;
var _local8:String;
var _local9:DisplayObject;
var _local10:DisplayObject;
_local3 = "";
_local4 = "";
_local8 = "0000";
_local9 = DisplayObject(_arg1);
_local10 = DisplayObject(_arg2);
while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) {
_local5 = getChildIndex(_local9.parent, _local9);
_local6 = _local5.toString(16);
if (_local6.length < 4){
_local7 = (_local8.substring(0, (4 - _local6.length)) + _local6);
};
_local3 = (_local7 + _local3);
_local9 = _local9.parent;
};
while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) {
_local5 = getChildIndex(_local10.parent, _local10);
_local6 = _local5.toString(16);
if (_local6.length < 4){
_local7 = (_local8.substring(0, (4 - _local6.length)) + _local6);
};
_local4 = (_local7 + _local4);
_local10 = _local10.parent;
};
return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0);
}
public function get defaultButton():Button{
return (_defaultButton);
}
private function activateHandler(_arg1:Event):void{
var _local2:InteractiveObject;
_local2 = InteractiveObject(_arg1.target);
if (lastFocus){
if ((lastFocus is IFocusManagerComponent)){
IFocusManagerComponent(lastFocus).setFocus();
} else {
form.stage.focus = lastFocus;
};
};
lastAction = "ACTIVATE";
}
public function showFocus():void{
}
public function set defaultButtonEnabled(_arg1:Boolean):void{
_defaultButtonEnabled = _arg1;
}
public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{
var _local2:DisplayObject;
var _local3:String;
var _local4:int;
var _local5:Boolean;
var _local6:int;
var _local7:int;
var _local8:IFocusManagerGroup;
if (!hasFocusableObjects()){
return (null);
};
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
_local2 = form.stage.focus;
_local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2)));
_local3 = "";
if ((_local2 is IFocusManagerGroup)){
_local8 = IFocusManagerGroup(_local2);
_local3 = _local8.groupName;
};
_local4 = getIndexOfFocusedObject(_local2);
_local5 = false;
_local6 = _local4;
if (_local4 == -1){
if (_arg1){
_local4 = focusableCandidates.length;
};
_local5 = true;
};
_local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3);
return (findFocusManagerComponent(focusableCandidates[_local7]));
}
private function mouseDownHandler(_arg1:MouseEvent):void{
var _local2:InteractiveObject;
if (_arg1.isDefaultPrevented()){
return;
};
_local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target));
if (!_local2){
return;
};
showFocusIndicator = false;
if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){
setFocus(_local2);
};
lastAction = "MOUSEDOWN";
}
private function isTabVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer;
_local2 = _arg1.parent;
while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) {
if (!_local2.tabChildren){
return (false);
};
_local2 = _local2.parent;
};
return (true);
}
public function get nextTabIndex():int{
return (0);
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.TAB){
lastAction = "KEY";
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
};
if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){
sendDefaultButtonEvent();
};
}
private function focusInHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
var _local3:Button;
_local2 = InteractiveObject(_arg1.target);
if (form.contains(_local2)){
lastFocus = findFocusManagerComponent(InteractiveObject(_local2));
if ((lastFocus is Button)){
_local3 = Button(lastFocus);
if (defButton){
defButton.emphasized = false;
defButton = _local3;
_local3.emphasized = true;
};
} else {
if (((defButton) && (!((defButton == _defaultButton))))){
defButton.emphasized = false;
defButton = _defaultButton;
_defaultButton.emphasized = true;
};
};
};
}
private function tabEnabledChangeHandler(_arg1:Event):void{
var _local2:InteractiveObject;
var _local3:Boolean;
calculateCandidates = true;
_local2 = InteractiveObject(_arg1.target);
_local3 = (focusableObjects[_local2] == true);
if (_local2.tabEnabled){
if (((!(_local3)) && (isTabVisible(_local2)))){
if (!(_local2 is IFocusManagerComponent)){
_local2.focusRect = false;
};
focusableObjects[_local2] = true;
};
} else {
if (_local3){
delete focusableObjects[_local2];
};
};
}
public function set showFocusIndicator(_arg1:Boolean):void{
_showFocusIndicator = _arg1;
}
public function get form():DisplayObjectContainer{
return (_form);
}
private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{
return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2));
}
public function activate():void{
if (activated){
return;
};
form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true);
form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true);
form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true);
form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true);
form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = true;
if (lastFocus){
setFocus(lastFocus);
};
}
public function deactivate():void{
form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler);
form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler);
form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.removeEventListener(Event.ACTIVATE, activateHandler);
form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler);
form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = false;
}
public function get defaultButtonEnabled():Boolean{
return (_defaultButtonEnabled);
}
}
}//package fl.managers
Section 74
//IFocusManager (fl.managers.IFocusManager)
package fl.managers {
import fl.controls.*;
import flash.display.*;
public interface IFocusManager {
function getFocus():InteractiveObject;
function deactivate():void;
function set defaultButton(_arg1:Button):void;
function set showFocusIndicator(_arg1:Boolean):void;
function get defaultButtonEnabled():Boolean;
function get nextTabIndex():int;
function get defaultButton():Button;
function get showFocusIndicator():Boolean;
function setFocus(_arg1:InteractiveObject):void;
function activate():void;
function showFocus():void;
function set defaultButtonEnabled(_arg1:Boolean):void;
function hideFocus():void;
function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject;
function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject;
}
}//package fl.managers
Section 75
//IFocusManagerComponent (fl.managers.IFocusManagerComponent)
package fl.managers {
public interface IFocusManagerComponent {
function set focusEnabled(_arg1:Boolean):void;
function drawFocus(_arg1:Boolean):void;
function setFocus():void;
function get focusEnabled():Boolean;
function get tabEnabled():Boolean;
function get tabIndex():int;
function get mouseFocusEnabled():Boolean;
}
}//package fl.managers
Section 76
//IFocusManagerGroup (fl.managers.IFocusManagerGroup)
package fl.managers {
public interface IFocusManagerGroup {
function set groupName(_arg1:String):void;
function set selected(_arg1:Boolean):void;
function get groupName():String;
function get selected():Boolean;
}
}//package fl.managers
Section 77
//StyleManager (fl.managers.StyleManager)
package fl.managers {
import fl.core.*;
import flash.utils.*;
import flash.text.*;
public class StyleManager {
private var globalStyles:Object;
private var classToDefaultStylesDict:Dictionary;
private var styleToClassesHash:Object;
private var classToStylesDict:Dictionary;
private var classToInstancesDict:Dictionary;
private static var _instance:StyleManager;
public function StyleManager(){
styleToClassesHash = {};
classToInstancesDict = new Dictionary(true);
classToStylesDict = new Dictionary(true);
classToDefaultStylesDict = new Dictionary(true);
globalStyles = UIComponent.getStyleDefinition();
}
public static function clearComponentStyle(_arg1:Object, _arg2:String):void{
var _local3:Class;
var _local4:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance().classToStylesDict[_local3];
if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){
delete _local4[_arg2];
invalidateComponentStyle(_local3, _arg2);
};
}
private static function getClassDef(_arg1:Object):Class{
var component = _arg1;
if ((component is Class)){
return ((component as Class));
};
try {
return ((getDefinitionByName(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
if ((component is UIComponent)){
try {
return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
};
};
};
return (null);
}
public static function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Class;
var _local5:Object;
_local4 = getClassDef(_arg1);
_local5 = getInstance().classToStylesDict[_local4];
if (_local5 == null){
_local5 = (getInstance().classToStylesDict[_local4] = {});
};
if (_local5 == _arg3){
return;
};
_local5[_arg2] = _arg3;
invalidateComponentStyle(_local4, _arg2);
}
private static function setSharedStyles(_arg1:UIComponent):void{
var _local2:StyleManager;
var _local3:Class;
var _local4:Object;
var _local5:String;
_local2 = getInstance();
_local3 = getClassDef(_arg1);
_local4 = _local2.classToDefaultStylesDict[_local3];
for (_local5 in _local4) {
_arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5));
};
}
public static function getComponentStyle(_arg1:Object, _arg2:String):Object{
var _local3:Class;
var _local4:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance().classToStylesDict[_local3];
return (((_local4)==null) ? null : _local4[_arg2]);
}
private static function getInstance(){
if (_instance == null){
_instance = new (StyleManager);
};
return (_instance);
}
private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{
var _local3:Dictionary;
var _local4:Object;
var _local5:UIComponent;
_local3 = getInstance().classToInstancesDict[_arg1];
if (_local3 == null){
return;
};
for (_local4 in _local3) {
_local5 = (_local4 as UIComponent);
if (_local5 == null){
} else {
_local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2));
};
};
}
private static function invalidateStyle(_arg1:String):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = getInstance().styleToClassesHash[_arg1];
if (_local2 == null){
return;
};
for (_local3 in _local2) {
invalidateComponentStyle(Class(_local3), _arg1);
};
}
public static function registerInstance(_arg1:UIComponent):void{
var inst:StyleManager;
var classDef:Class;
var target:Class;
var defaultStyles:Object;
var styleToClasses:Object;
var n:String;
var instance = _arg1;
inst = getInstance();
classDef = getClassDef(instance);
if (classDef == null){
return;
};
if (inst.classToInstancesDict[classDef] == null){
inst.classToInstancesDict[classDef] = new Dictionary(true);
target = classDef;
while (defaultStyles == null) {
if (target["getStyleDefinition"] != null){
defaultStyles = target["getStyleDefinition"]();
break;
};
try {
target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class);
} catch(err:Error) {
try {
target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class);
} catch(e:Error) {
defaultStyles = UIComponent.getStyleDefinition();
break;
};
};
};
styleToClasses = inst.styleToClassesHash;
for (n in defaultStyles) {
if (styleToClasses[n] == null){
styleToClasses[n] = new Dictionary(true);
};
styleToClasses[n][classDef] = true;
};
inst.classToDefaultStylesDict[classDef] = defaultStyles;
inst.classToStylesDict[classDef] = {};
};
inst.classToInstancesDict[classDef][instance] = true;
setSharedStyles(instance);
}
public static function getStyle(_arg1:String):Object{
return (getInstance().globalStyles[_arg1]);
}
private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{
var _local3:Class;
var _local4:StyleManager;
var _local5:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance();
_local5 = _local4.classToStylesDict[_local3][_arg2];
if (_local5 != null){
return (_local5);
};
_local5 = _local4.globalStyles[_arg2];
if (_local5 != null){
return (_local5);
};
return (_local4.classToDefaultStylesDict[_local3][_arg2]);
}
public static function setStyle(_arg1:String, _arg2:Object):void{
var _local3:Object;
_local3 = getInstance().globalStyles;
if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
_local3[_arg1] = _arg2;
invalidateStyle(_arg1);
}
}
}//package fl.managers
Section 78
//Quadratic (fl.motion.easing.Quadratic)
package fl.motion.easing {
public class Quadratic {
public function Quadratic(){
super();
}
public static function easeOut(t:Number, b:Number, c:Number, d:Number):Number{
t = (t / d);
return ((((-(c) * t) * (t - 2)) + b));
}
public static function easeIn(t:Number, b:Number, c:Number, d:Number):Number{
t = (t / d);
return ((((c * t) * t) + b));
}
public static function easeInOut(t:Number, b:Number, c:Number, d:Number):Number{
t = (t / (d / 2));
if (t < 1){
return (((((c / 2) * t) * t) + b));
};
--t;
return ((((-(c) / 2) * ((t * (t - 2)) - 1)) + b));
}
}
}//package fl.motion.easing
Section 79
//Sine (fl.motion.easing.Sine)
package fl.motion.easing {
public class Sine {
public function Sine(){
super();
}
public static function easeOut(t:Number, b:Number, c:Number, d:Number):Number{
return (((c * Math.sin(((t / d) * (Math.PI / 2)))) + b));
}
public static function easeIn(t:Number, b:Number, c:Number, d:Number):Number{
return ((((-(c) * Math.cos(((t / d) * (Math.PI / 2)))) + c) + b));
}
public static function easeInOut(t:Number, b:Number, c:Number, d:Number):Number{
return ((((-(c) / 2) * (Math.cos(((Math.PI * t) / d)) - 1)) + b));
}
}
}//package fl.motion.easing
Section 80
//Color (fl.motion.Color)
package fl.motion {
import flash.display.*;
import flash.geom.*;
public class Color extends ColorTransform {
private var _tintMultiplier:Number;// = 0
private var _tintColor:Number;// = 0
public function Color(redMultiplier:Number=1, greenMultiplier:Number=1, blueMultiplier:Number=1, alphaMultiplier:Number=1, redOffset:Number=0, greenOffset:Number=0, blueOffset:Number=0, alphaOffset:Number=0){
_tintColor = 0;
_tintMultiplier = 0;
super(redMultiplier, greenMultiplier, blueMultiplier, alphaMultiplier, redOffset, greenOffset, blueOffset, alphaOffset);
}
public function setTint(tintColor:uint, tintMultiplier:Number):void{
var r:uint;
var g:uint;
var b:uint;
this._tintColor = tintColor;
this._tintMultiplier = tintMultiplier;
this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - tintMultiplier)));
r = ((tintColor >> 16) & 0xFF);
g = ((tintColor >> 8) & 0xFF);
b = (tintColor & 0xFF);
this.redOffset = Math.round((r * tintMultiplier));
this.greenOffset = Math.round((g * tintMultiplier));
this.blueOffset = Math.round((b * tintMultiplier));
}
public function set tintColor(value:uint):void{
this.setTint(value, this.tintMultiplier);
}
public function get brightness():Number{
return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1));
}
private function deriveTintColor():uint{
var ratio:Number;
var r:uint;
var g:uint;
var b:uint;
var colorNum:uint;
ratio = (1 / this.tintMultiplier);
r = Math.round((this.redOffset * ratio));
g = Math.round((this.greenOffset * ratio));
b = Math.round((this.blueOffset * ratio));
colorNum = (((r << 16) | (g << 8)) | b);
return (colorNum);
}
public function get tintMultiplier():Number{
return (this._tintMultiplier);
}
public function get tintColor():uint{
return (this._tintColor);
}
public function set brightness(value:Number):void{
var percent:Number;
var offset:Number;
if (value > 1){
value = 1;
} else {
if (value < -1){
value = -1;
};
};
percent = (1 - Math.abs(value));
offset = 0;
if (value > 0){
offset = (value * 0xFF);
};
this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = percent));
this.redOffset = (this.greenOffset = (this.blueOffset = offset));
}
public function set tintMultiplier(value:Number):void{
this.setTint(this.tintColor, value);
}
private function parseXML(xml:XML=null):Color{
var firstChild:XML;
var att:XML;
var name:String;
var tintColorNumber:uint;
if (!xml){
return (this);
};
firstChild = xml.elements()[0];
if (!firstChild){
return (this);
};
for each (att in firstChild.attributes()) {
name = att.localName();
if (name == "tintColor"){
tintColorNumber = (Number(att.toString()) as uint);
this.tintColor = tintColorNumber;
} else {
this[name] = Number(att.toString());
};
};
return (this);
}
public static function interpolateColor(fromColor:uint, toColor:uint, progress:Number):uint{
var q:Number;
var fromA:uint;
var fromR:uint;
var fromG:uint;
var fromB:uint;
var toA:uint;
var toR:uint;
var toG:uint;
var toB:uint;
var resultA:uint;
var resultR:uint;
var resultG:uint;
var resultB:uint;
var resultColor:uint;
q = (1 - progress);
fromA = ((fromColor >> 24) & 0xFF);
fromR = ((fromColor >> 16) & 0xFF);
fromG = ((fromColor >> 8) & 0xFF);
fromB = (fromColor & 0xFF);
toA = ((toColor >> 24) & 0xFF);
toR = ((toColor >> 16) & 0xFF);
toG = ((toColor >> 8) & 0xFF);
toB = (toColor & 0xFF);
resultA = ((fromA * q) + (toA * progress));
resultR = ((fromR * q) + (toR * progress));
resultG = ((fromG * q) + (toG * progress));
resultB = ((fromB * q) + (toB * progress));
resultColor = ((((resultA << 24) | (resultR << 16)) | (resultG << 8)) | resultB);
return (resultColor);
}
public static function interpolateTransform(fromColor:ColorTransform, toColor:ColorTransform, progress:Number):ColorTransform{
var q:Number;
var resultColor:ColorTransform;
q = (1 - progress);
resultColor = new ColorTransform(((fromColor.redMultiplier * q) + (toColor.redMultiplier * progress)), ((fromColor.greenMultiplier * q) + (toColor.greenMultiplier * progress)), ((fromColor.blueMultiplier * q) + (toColor.blueMultiplier * progress)), ((fromColor.alphaMultiplier * q) + (toColor.alphaMultiplier * progress)), ((fromColor.redOffset * q) + (toColor.redOffset * progress)), ((fromColor.greenOffset * q) + (toColor.greenOffset * progress)), ((fromColor.blueOffset * q) + (toColor.blueOffset * progress)), ((fromColor.alphaOffset * q) + (toColor.alphaOffset * progress)));
return (resultColor);
}
public static function fromXML(xml:XML):Color{
return (Color(new (Color).parseXML(xml)));
}
}
}//package fl.motion
Section 81
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
public var begin:Number;// = NAN
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var change:Number;// = NAN
private var _finish:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(obj:Object, prop:String, func:Function, begin:Number, finish:Number, duration:Number, useSeconds:Boolean=false){
isPlaying = false;
obj = null;
prop = "";
func = function (t:Number, b:Number, c:Number, d:Number):Number{
return ((((c * t) / d) + b));
};
begin = NaN;
change = NaN;
useSeconds = false;
prevTime = NaN;
prevPos = NaN;
looping = false;
_duration = NaN;
_time = NaN;
_fps = NaN;
_position = NaN;
_startTime = NaN;
_intervalID = 0;
_finish = NaN;
_timer = null;
super();
if (!arguments.length){
return;
};
this.obj = obj;
this.prop = prop;
this.begin = begin;
this.position = begin;
this.duration = duration;
this.useSeconds = useSeconds;
if ((func is Function)){
this.func = func;
};
this.finish = finish;
this._timer = new Timer(100);
this.start();
}
public function continueTo(finish:Number, duration:Number):void{
this.begin = this.position;
this.finish = finish;
if (!isNaN(duration)){
this.duration = duration;
};
this.start();
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(fps:Number):void{
var oldIsPlaying:Boolean;
oldIsPlaying = this.isPlaying;
this.stopEnterFrame();
this._fps = fps;
if (oldIsPlaying){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function startEnterFrame():void{
var milliseconds:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
milliseconds = (1000 / this._fps);
this._timer.delay = milliseconds;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function set time(t:Number):void{
this.prevTime = this._time;
if (t > this.duration){
if (this.looping){
this.rewind((t - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (t < 0){
this.rewind();
this.update();
} else {
this._time = t;
this.update();
};
};
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function getPosition(t:Number=NaN):Number{
if (isNaN(t)){
t = this._time;
};
return (this.func(t, this.begin, this.change, this._duration));
}
public function set finish(value:Number):void{
this.change = (value - this.begin);
}
public function set duration(d:Number):void{
this._duration = ((d)<=0) ? Infinity : d;
}
public function setPosition(p:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = p);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(event:Event):void{
this.nextFrame();
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(timerEvent:TimerEvent):void{
this.nextFrame();
timerEvent.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(t:Number=0):void{
this._time = t;
this.fixTime();
this.update();
}
public function set position(p:Number):void{
this.setPosition(p);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 82
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(type:String, time:Number, position:Number, bubbles:Boolean=false, cancelable:Boolean=false){
time = NaN;
position = NaN;
super(type, bubbles, cancelable);
this.time = time;
this.position = position;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 83
//ammoBoxa_856 (Fombies_KenPlay_v44_fla.ammoBoxa_856)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ammoBoxa_856 extends MovieClip {
public var crate:MovieClip;
public function ammoBoxa_856(){
super();
addFrameScript(77, frame78);
}
function frame78(){
MovieClip(parent).remove();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 84
//ammoBoxMcx_857 (Fombies_KenPlay_v44_fla.ammoBoxMcx_857)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ammoBoxMcx_857 extends MovieClip {
public function ammoBoxMcx_857(){
super();
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
MovieClip(parent.parent).remove();
stop();
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 85
//ammoExtra_844 (Fombies_KenPlay_v44_fla.ammoExtra_844)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ammoExtra_844 extends MovieClip {
public var ammoExtraTxt:TextField;
public function ammoExtra_844(){
super();
addFrameScript(0, frame1);
}
function frame1(){
if (MovieClip(parent).scoreNumber != null){
ammoExtraTxt.text = (("+" + String(MovieClip(parent).scoreNumber)) + " ammo");
};
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 86
//Bert_130 (Fombies_KenPlay_v44_fla.Bert_130)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class Bert_130 extends MovieClip {
public var bt:MovieClip;
public function Bert_130(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 87
//bert_arm_and_ak47_173 (Fombies_KenPlay_v44_fla.bert_arm_and_ak47_173)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_ak47_173 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_ak47_173(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 88
//bert_arm_and_colt45_109 (Fombies_KenPlay_v44_fla.bert_arm_and_colt45_109)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_colt45_109 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_colt45_109(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 89
//bert_arm_and_deserteagle_132 (Fombies_KenPlay_v44_fla.bert_arm_and_deserteagle_132)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_deserteagle_132 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_deserteagle_132(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 90
//bert_arm_and_grenadelauncher_213 (Fombies_KenPlay_v44_fla.bert_arm_and_grenadelauncher_213)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_grenadelauncher_213 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_grenadelauncher_213(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 91
//bert_arm_and_m16_193 (Fombies_KenPlay_v44_fla.bert_arm_and_m16_193)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_m16_193 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_m16_193(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 92
//bert_arm_and_m4_183 (Fombies_KenPlay_v44_fla.bert_arm_and_m4_183)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_m4_183 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_m4_183(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 93
//bert_arm_and_minigun_223 (Fombies_KenPlay_v44_fla.bert_arm_and_minigun_223)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_minigun_223 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_minigun_223(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 94
//bert_arm_and_minigun_228 (Fombies_KenPlay_v44_fla.bert_arm_and_minigun_228)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_minigun_228 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_minigun_228(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 95
//bert_arm_and_miniuzi_143 (Fombies_KenPlay_v44_fla.bert_arm_and_miniuzi_143)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_miniuzi_143 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_miniuzi_143(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 96
//bert_arm_and_p90_153 (Fombies_KenPlay_v44_fla.bert_arm_and_p90_153)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_p90_153 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_p90_153(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 97
//bert_arm_and_shotgun_163 (Fombies_KenPlay_v44_fla.bert_arm_and_shotgun_163)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_shotgun_163 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_shotgun_163(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 98
//bert_arm_and_sniper_203 (Fombies_KenPlay_v44_fla.bert_arm_and_sniper_203)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_arm_and_sniper_203 extends MovieClip {
public var firePoint:MovieClip;
public function bert_arm_and_sniper_203(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 99
//bert_dying_ak_178 (Fombies_KenPlay_v44_fla.bert_dying_ak_178)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_ak_178 extends MovieClip {
public function bert_dying_ak_178(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 100
//bert_dying_colt45_119 (Fombies_KenPlay_v44_fla.bert_dying_colt45_119)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_colt45_119 extends MovieClip {
public function bert_dying_colt45_119(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 101
//bert_dying_deserteagle_138 (Fombies_KenPlay_v44_fla.bert_dying_deserteagle_138)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_deserteagle_138 extends MovieClip {
public function bert_dying_deserteagle_138(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 102
//bert_dying_grenadelauncher_218 (Fombies_KenPlay_v44_fla.bert_dying_grenadelauncher_218)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_grenadelauncher_218 extends MovieClip {
public function bert_dying_grenadelauncher_218(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 103
//bert_dying_m16_198 (Fombies_KenPlay_v44_fla.bert_dying_m16_198)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_m16_198 extends MovieClip {
public function bert_dying_m16_198(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 104
//bert_dying_m4_188 (Fombies_KenPlay_v44_fla.bert_dying_m4_188)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_m4_188 extends MovieClip {
public function bert_dying_m4_188(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 105
//bert_dying_minigun_234 (Fombies_KenPlay_v44_fla.bert_dying_minigun_234)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_minigun_234 extends MovieClip {
public function bert_dying_minigun_234(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 106
//bert_dying_miniuzi_148 (Fombies_KenPlay_v44_fla.bert_dying_miniuzi_148)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_miniuzi_148 extends MovieClip {
public function bert_dying_miniuzi_148(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 107
//bert_dying_p90_158 (Fombies_KenPlay_v44_fla.bert_dying_p90_158)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_p90_158 extends MovieClip {
public function bert_dying_p90_158(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 108
//bert_dying_shotgun_168 (Fombies_KenPlay_v44_fla.bert_dying_shotgun_168)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_shotgun_168 extends MovieClip {
public function bert_dying_shotgun_168(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 109
//bert_dying_sniper_208 (Fombies_KenPlay_v44_fla.bert_dying_sniper_208)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bert_dying_sniper_208 extends MovieClip {
public function bert_dying_sniper_208(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 110
//bert_firing_ak_175 (Fombies_KenPlay_v44_fla.bert_firing_ak_175)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_ak_175 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_ak_175(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 111
//bert_firing_colt45_113 (Fombies_KenPlay_v44_fla.bert_firing_colt45_113)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_colt45_113 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_colt45_113(){
super();
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
function frame5(){
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 112
//bert_firing_deserteagle_134 (Fombies_KenPlay_v44_fla.bert_firing_deserteagle_134)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_deserteagle_134 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_deserteagle_134(){
super();
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 113
//bert_firing_grenadelauncher_215 (Fombies_KenPlay_v44_fla.bert_firing_grenadelauncher_215)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_grenadelauncher_215 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_grenadelauncher_215(){
super();
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 114
//bert_firing_m16_195 (Fombies_KenPlay_v44_fla.bert_firing_m16_195)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_m16_195 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_m16_195(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 115
//bert_firing_m4_185 (Fombies_KenPlay_v44_fla.bert_firing_m4_185)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_m4_185 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_m4_185(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 116
//bert_firing_minigun_227 (Fombies_KenPlay_v44_fla.bert_firing_minigun_227)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_minigun_227 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_minigun_227(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 117
//bert_firing_miniuzi_145 (Fombies_KenPlay_v44_fla.bert_firing_miniuzi_145)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_miniuzi_145 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_miniuzi_145(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 118
//bert_firing_p90_155 (Fombies_KenPlay_v44_fla.bert_firing_p90_155)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_p90_155 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_p90_155(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 119
//bert_firing_shotgun_165 (Fombies_KenPlay_v44_fla.bert_firing_shotgun_165)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_shotgun_165 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_shotgun_165(){
super();
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
function frame5(){
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 120
//bert_firing_sniper_205 (Fombies_KenPlay_v44_fla.bert_firing_sniper_205)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_firing_sniper_205 extends MovieClip {
public var lArm:MovieClip;
public function bert_firing_sniper_205(){
super();
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 121
//bert_levelclear_with_ak_180 (Fombies_KenPlay_v44_fla.bert_levelclear_with_ak_180)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_ak_180 extends MovieClip {
public function bert_levelclear_with_ak_180(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 122
//bert_levelclear_with_colt45_126 (Fombies_KenPlay_v44_fla.bert_levelclear_with_colt45_126)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_colt45_126 extends MovieClip {
public function bert_levelclear_with_colt45_126(){
super();
addFrameScript(43, frame44);
}
function frame44(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 123
//bert_levelclear_with_deserteagle_140 (Fombies_KenPlay_v44_fla.bert_levelclear_with_deserteagle_140)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_deserteagle_140 extends MovieClip {
public function bert_levelclear_with_deserteagle_140(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 124
//bert_levelclear_with_grenadelauncher_220 (Fombies_KenPlay_v44_fla.bert_levelclear_with_grenadelauncher_220)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_grenadelauncher_220 extends MovieClip {
public function bert_levelclear_with_grenadelauncher_220(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 125
//bert_levelclear_with_m16_200 (Fombies_KenPlay_v44_fla.bert_levelclear_with_m16_200)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_m16_200 extends MovieClip {
public function bert_levelclear_with_m16_200(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 126
//bert_levelclear_with_m4_190 (Fombies_KenPlay_v44_fla.bert_levelclear_with_m4_190)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_m4_190 extends MovieClip {
public function bert_levelclear_with_m4_190(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 127
//bert_levelclear_with_minigun_236 (Fombies_KenPlay_v44_fla.bert_levelclear_with_minigun_236)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_minigun_236 extends MovieClip {
public function bert_levelclear_with_minigun_236(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 128
//bert_levelclear_with_miniuzi_150 (Fombies_KenPlay_v44_fla.bert_levelclear_with_miniuzi_150)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_miniuzi_150 extends MovieClip {
public function bert_levelclear_with_miniuzi_150(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 129
//bert_levelclear_with_p90_160 (Fombies_KenPlay_v44_fla.bert_levelclear_with_p90_160)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_p90_160 extends MovieClip {
public function bert_levelclear_with_p90_160(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 130
//bert_levelclear_with_shotgun_170 (Fombies_KenPlay_v44_fla.bert_levelclear_with_shotgun_170)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_shotgun_170 extends MovieClip {
public function bert_levelclear_with_shotgun_170(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 131
//bert_levelclear_with_sniper_210 (Fombies_KenPlay_v44_fla.bert_levelclear_with_sniper_210)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_levelclear_with_sniper_210 extends MovieClip {
public function bert_levelclear_with_sniper_210(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 132
//bert_reloading_ak_179 (Fombies_KenPlay_v44_fla.bert_reloading_ak_179)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_ak_179 extends MovieClip {
public function bert_reloading_ak_179(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 133
//bert_reloading_colt45_121 (Fombies_KenPlay_v44_fla.bert_reloading_colt45_121)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_colt45_121 extends MovieClip {
public function bert_reloading_colt45_121(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 134
//bert_reloading_deserteagle_139 (Fombies_KenPlay_v44_fla.bert_reloading_deserteagle_139)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_deserteagle_139 extends MovieClip {
public function bert_reloading_deserteagle_139(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 135
//bert_reloading_grenadelauncher_219 (Fombies_KenPlay_v44_fla.bert_reloading_grenadelauncher_219)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_grenadelauncher_219 extends MovieClip {
public function bert_reloading_grenadelauncher_219(){
super();
addFrameScript(24, frame25);
}
function frame25(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 136
//bert_reloading_m16_199 (Fombies_KenPlay_v44_fla.bert_reloading_m16_199)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_m16_199 extends MovieClip {
public function bert_reloading_m16_199(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 137
//bert_reloading_m4_189 (Fombies_KenPlay_v44_fla.bert_reloading_m4_189)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_m4_189 extends MovieClip {
public function bert_reloading_m4_189(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 138
//bert_reloading_minigun_235 (Fombies_KenPlay_v44_fla.bert_reloading_minigun_235)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_minigun_235 extends MovieClip {
public function bert_reloading_minigun_235(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 139
//bert_reloading_miniuzi_149 (Fombies_KenPlay_v44_fla.bert_reloading_miniuzi_149)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_miniuzi_149 extends MovieClip {
public function bert_reloading_miniuzi_149(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 140
//bert_reloading_p90_159 (Fombies_KenPlay_v44_fla.bert_reloading_p90_159)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_p90_159 extends MovieClip {
public function bert_reloading_p90_159(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 141
//bert_reloading_shotgun_169 (Fombies_KenPlay_v44_fla.bert_reloading_shotgun_169)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_shotgun_169 extends MovieClip {
public function bert_reloading_shotgun_169(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 142
//bert_reloading_sniper_209 (Fombies_KenPlay_v44_fla.bert_reloading_sniper_209)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_reloading_sniper_209 extends MovieClip {
public function bert_reloading_sniper_209(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 143
//bert_standing_with_ak_172 (Fombies_KenPlay_v44_fla.bert_standing_with_ak_172)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_ak_172 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_ak_172(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 144
//bert_standing_with_colt45_98 (Fombies_KenPlay_v44_fla.bert_standing_with_colt45_98)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_colt45_98 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_colt45_98(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 145
//bert_standing_with_deserteagle_131 (Fombies_KenPlay_v44_fla.bert_standing_with_deserteagle_131)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_deserteagle_131 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_deserteagle_131(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 146
//bert_standing_with_grenadelauncher_212 (Fombies_KenPlay_v44_fla.bert_standing_with_grenadelauncher_212)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_grenadelauncher_212 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_grenadelauncher_212(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 147
//bert_standing_with_m16_192 (Fombies_KenPlay_v44_fla.bert_standing_with_m16_192)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_m16_192 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_m16_192(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 148
//bert_standing_with_m4_182 (Fombies_KenPlay_v44_fla.bert_standing_with_m4_182)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_m4_182 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_m4_182(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 149
//bert_standing_with_minigun_222 (Fombies_KenPlay_v44_fla.bert_standing_with_minigun_222)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_minigun_222 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_minigun_222(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 150
//bert_standing_with_miniuzi_142 (Fombies_KenPlay_v44_fla.bert_standing_with_miniuzi_142)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_miniuzi_142 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_miniuzi_142(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 151
//bert_standing_with_p90_152 (Fombies_KenPlay_v44_fla.bert_standing_with_p90_152)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_p90_152 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_p90_152(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 152
//bert_standing_with_shotgun_162 (Fombies_KenPlay_v44_fla.bert_standing_with_shotgun_162)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_shotgun_162 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_shotgun_162(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 153
//bert_standing_with_sniper_202 (Fombies_KenPlay_v44_fla.bert_standing_with_sniper_202)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bert_standing_with_sniper_202 extends MovieClip {
public var lArm:MovieClip;
public function bert_standing_with_sniper_202(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 154
//bertAK47_171 (Fombies_KenPlay_v44_fla.bertAK47_171)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertAK47_171 extends MovieClip {
public var bt:MovieClip;
public function bertAK47_171(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 155
//bertColt_97 (Fombies_KenPlay_v44_fla.bertColt_97)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertColt_97 extends MovieClip {
public var bt:MovieClip;
public function bertColt_97(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 156
//bertGrenadeLauncher_211 (Fombies_KenPlay_v44_fla.bertGrenadeLauncher_211)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertGrenadeLauncher_211 extends MovieClip {
public var bt:MovieClip;
public function bertGrenadeLauncher_211(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 157
//bertM16_191 (Fombies_KenPlay_v44_fla.bertM16_191)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertM16_191 extends MovieClip {
public var bt:MovieClip;
public function bertM16_191(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 158
//bertM4_181 (Fombies_KenPlay_v44_fla.bertM4_181)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertM4_181 extends MovieClip {
public var bt:MovieClip;
public function bertM4_181(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 159
//bertMiniGun_221 (Fombies_KenPlay_v44_fla.bertMiniGun_221)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertMiniGun_221 extends MovieClip {
public var bt:MovieClip;
public function bertMiniGun_221(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 160
//bertMiniUzi_141 (Fombies_KenPlay_v44_fla.bertMiniUzi_141)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertMiniUzi_141 extends MovieClip {
public var bt:MovieClip;
public function bertMiniUzi_141(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 161
//bertP90_151 (Fombies_KenPlay_v44_fla.bertP90_151)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertP90_151 extends MovieClip {
public var bt:MovieClip;
public function bertP90_151(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 162
//bertShotgun_161 (Fombies_KenPlay_v44_fla.bertShotgun_161)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertShotgun_161 extends MovieClip {
public var bt:MovieClip;
public function bertShotgun_161(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 163
//bertSniper_201 (Fombies_KenPlay_v44_fla.bertSniper_201)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class bertSniper_201 extends MovieClip {
public var bt:MovieClip;
public function bertSniper_201(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 164
//blowfish_c_grows_to_explode_792 (Fombies_KenPlay_v44_fla.blowfish_c_grows_to_explode_792)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class blowfish_c_grows_to_explode_792 extends MovieClip {
public function blowfish_c_grows_to_explode_792(){
super();
addFrameScript(13, frame14);
}
function frame14(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 165
//blowfishA_784 (Fombies_KenPlay_v44_fla.blowfishA_784)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class blowfishA_784 extends MovieClip {
public var hdShot:MovieClip;
public function blowfishA_784(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 166
//bonusTxt_842 (Fombies_KenPlay_v44_fla.bonusTxt_842)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.text.*;
public dynamic class bonusTxt_842 extends MovieClip {
public var bonusTxt:TextField;
public function bonusTxt_842(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 167
//budgie_a_attacking_545 (Fombies_KenPlay_v44_fla.budgie_a_attacking_545)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgie_a_attacking_545 extends MovieClip {
public function budgie_a_attacking_545(){
super();
addFrameScript(20, frame21);
}
function frame21(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 168
//budgie_a_dying_blownup_549 (Fombies_KenPlay_v44_fla.budgie_a_dying_blownup_549)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_a_dying_blownup_549 extends MovieClip {
public function budgie_a_dying_blownup_549(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 169
//budgie_a_dying_bullet_547 (Fombies_KenPlay_v44_fla.budgie_a_dying_bullet_547)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_a_dying_bullet_547 extends MovieClip {
public function budgie_a_dying_bullet_547(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 170
//budgie_a_dying_headshot_548 (Fombies_KenPlay_v44_fla.budgie_a_dying_headshot_548)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_a_dying_headshot_548 extends MovieClip {
public function budgie_a_dying_headshot_548(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 171
//budgie_a_hit_546 (Fombies_KenPlay_v44_fla.budgie_a_hit_546)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgie_a_hit_546 extends MovieClip {
public function budgie_a_hit_546(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 172
//budgie_b_dying_blownup_557 (Fombies_KenPlay_v44_fla.budgie_b_dying_blownup_557)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_b_dying_blownup_557 extends MovieClip {
public function budgie_b_dying_blownup_557(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 173
//budgie_b_dying_bullet_555 (Fombies_KenPlay_v44_fla.budgie_b_dying_bullet_555)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_b_dying_bullet_555 extends MovieClip {
public function budgie_b_dying_bullet_555(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 174
//budgie_b_dying_headshot_556 (Fombies_KenPlay_v44_fla.budgie_b_dying_headshot_556)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_b_dying_headshot_556 extends MovieClip {
public function budgie_b_dying_headshot_556(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 175
//budgie_b_flying_551 (Fombies_KenPlay_v44_fla.budgie_b_flying_551)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgie_b_flying_551 extends MovieClip {
public function budgie_b_flying_551(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 176
//budgie_b_hit_554 (Fombies_KenPlay_v44_fla.budgie_b_hit_554)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgie_b_hit_554 extends MovieClip {
public function budgie_b_hit_554(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 177
//budgie_c_attacking_561 (Fombies_KenPlay_v44_fla.budgie_c_attacking_561)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgie_c_attacking_561 extends MovieClip {
public function budgie_c_attacking_561(){
super();
addFrameScript(20, frame21);
}
function frame21(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 178
//budgie_c_dying_blownup_565 (Fombies_KenPlay_v44_fla.budgie_c_dying_blownup_565)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_c_dying_blownup_565 extends MovieClip {
public function budgie_c_dying_blownup_565(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 179
//budgie_c_dying_bullet_563 (Fombies_KenPlay_v44_fla.budgie_c_dying_bullet_563)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_c_dying_bullet_563 extends MovieClip {
public function budgie_c_dying_bullet_563(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 180
//budgie_c_dying_headshot_564 (Fombies_KenPlay_v44_fla.budgie_c_dying_headshot_564)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class budgie_c_dying_headshot_564 extends MovieClip {
public function budgie_c_dying_headshot_564(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 181
//budgie_c_hit_562 (Fombies_KenPlay_v44_fla.budgie_c_hit_562)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgie_c_hit_562 extends MovieClip {
public function budgie_c_hit_562(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 182
//budgieA_536 (Fombies_KenPlay_v44_fla.budgieA_536)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgieA_536 extends MovieClip {
public var hdShot:MovieClip;
public function budgieA_536(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 183
//budgieB_550 (Fombies_KenPlay_v44_fla.budgieB_550)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgieB_550 extends MovieClip {
public var hdShot:MovieClip;
public function budgieB_550(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 184
//budgieC_558 (Fombies_KenPlay_v44_fla.budgieC_558)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class budgieC_558 extends MovieClip {
public var hdShot:MovieClip;
public function budgieC_558(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 185
//cat_a_attacking_515 (Fombies_KenPlay_v44_fla.cat_a_attacking_515)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class cat_a_attacking_515 extends MovieClip {
public function cat_a_attacking_515(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 186
//cat_a_blownup_519 (Fombies_KenPlay_v44_fla.cat_a_blownup_519)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_a_blownup_519 extends MovieClip {
public function cat_a_blownup_519(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 187
//cat_a_dying_bullet_517 (Fombies_KenPlay_v44_fla.cat_a_dying_bullet_517)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_a_dying_bullet_517 extends MovieClip {
public function cat_a_dying_bullet_517(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 188
//cat_a_dying_headshot_518 (Fombies_KenPlay_v44_fla.cat_a_dying_headshot_518)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_a_dying_headshot_518 extends MovieClip {
public function cat_a_dying_headshot_518(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 189
//cat_a_hit_516 (Fombies_KenPlay_v44_fla.cat_a_hit_516)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class cat_a_hit_516 extends MovieClip {
public function cat_a_hit_516(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 190
//cat_a_walking_509 (Fombies_KenPlay_v44_fla.cat_a_walking_509)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_a_walking_509 extends MovieClip {
public function cat_a_walking_509(){
super();
addFrameScript(69, frame70, 78, frame79);
}
function frame70(){
MovieClip(parent.parent).myObject.jump();
}
function frame79(){
}
}
}//package Fombies_KenPlay_v44_fla
Section 191
//cat_b_attacking_522 (Fombies_KenPlay_v44_fla.cat_b_attacking_522)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class cat_b_attacking_522 extends MovieClip {
public function cat_b_attacking_522(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 192
//cat_b_blownup_526 (Fombies_KenPlay_v44_fla.cat_b_blownup_526)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_b_blownup_526 extends MovieClip {
public function cat_b_blownup_526(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 193
//cat_b_dying_bullet_524 (Fombies_KenPlay_v44_fla.cat_b_dying_bullet_524)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_b_dying_bullet_524 extends MovieClip {
public function cat_b_dying_bullet_524(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 194
//cat_b_dying_headshot_525 (Fombies_KenPlay_v44_fla.cat_b_dying_headshot_525)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_b_dying_headshot_525 extends MovieClip {
public function cat_b_dying_headshot_525(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 195
//cat_b_hit_523 (Fombies_KenPlay_v44_fla.cat_b_hit_523)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class cat_b_hit_523 extends MovieClip {
public function cat_b_hit_523(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 196
//cat_c_attacking_530 (Fombies_KenPlay_v44_fla.cat_c_attacking_530)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class cat_c_attacking_530 extends MovieClip {
public function cat_c_attacking_530(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 197
//cat_c_blownup_534 (Fombies_KenPlay_v44_fla.cat_c_blownup_534)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_c_blownup_534 extends MovieClip {
public function cat_c_blownup_534(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 198
//cat_c_dying_bullet_532 (Fombies_KenPlay_v44_fla.cat_c_dying_bullet_532)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_c_dying_bullet_532 extends MovieClip {
public function cat_c_dying_bullet_532(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 199
//cat_c_dying_headshot_533 (Fombies_KenPlay_v44_fla.cat_c_dying_headshot_533)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class cat_c_dying_headshot_533 extends MovieClip {
public function cat_c_dying_headshot_533(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 200
//cat_c_hit_531 (Fombies_KenPlay_v44_fla.cat_c_hit_531)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class cat_c_hit_531 extends MovieClip {
public function cat_c_hit_531(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 201
//catA_508 (Fombies_KenPlay_v44_fla.catA_508)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class catA_508 extends MovieClip {
public var hdShot:MovieClip;
public function catA_508(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 202
//catB_520 (Fombies_KenPlay_v44_fla.catB_520)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class catB_520 extends MovieClip {
public var hdShot:MovieClip;
public function catB_520(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 203
//catC_527 (Fombies_KenPlay_v44_fla.catC_527)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class catC_527 extends MovieClip {
public var hdShot:MovieClip;
public function catC_527(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 204
//character_select_menu_1015 (Fombies_KenPlay_v44_fla.character_select_menu_1015)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class character_select_menu_1015 extends MovieClip {
public var player2Txt:TextField;
public var player2Msg:TextField;
public var playersMsg:TextField;
public var playBtn1:SimpleButton;
public var bert:MovieClip;
public var player1Txt:TextField;
public var player1Msg:TextField;
public function character_select_menu_1015(){
super();
addFrameScript(36, frame37);
}
function frame37(){
playBtn1.addEventListener(MouseEvent.MOUSE_UP, MovieClip(parent).rt.playGame);
MovieClip(parent).rt.setupPlayerOptions(this);
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 205
//coin_spinning_854 (Fombies_KenPlay_v44_fla.coin_spinning_854)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class coin_spinning_854 extends MovieClip {
public var coin:MovieClip;
public function coin_spinning_854(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 206
//coinSpin_855 (Fombies_KenPlay_v44_fla.coinSpin_855)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.text.*;
public dynamic class coinSpin_855 extends MovieClip {
public var numTxt:TextField;
public function coinSpin_855(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 207
//Dog_417 (Fombies_KenPlay_v44_fla.Dog_417)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class Dog_417 extends MovieClip {
public var hdShot:MovieClip;
public function Dog_417(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 208
//dog_a_attacking_419 (Fombies_KenPlay_v44_fla.dog_a_attacking_419)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dog_a_attacking_419 extends MovieClip {
public function dog_a_attacking_419(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 209
//dog_a_dying_blownup_426 (Fombies_KenPlay_v44_fla.dog_a_dying_blownup_426)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_a_dying_blownup_426 extends MovieClip {
public function dog_a_dying_blownup_426(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 210
//dog_a_dying_bullet_422 (Fombies_KenPlay_v44_fla.dog_a_dying_bullet_422)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_a_dying_bullet_422 extends MovieClip {
public function dog_a_dying_bullet_422(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 211
//dog_a_dying_headshot_424 (Fombies_KenPlay_v44_fla.dog_a_dying_headshot_424)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_a_dying_headshot_424 extends MovieClip {
public function dog_a_dying_headshot_424(){
super();
addFrameScript(24, frame25);
}
function frame25(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 212
//dog_a_hit_421 (Fombies_KenPlay_v44_fla.dog_a_hit_421)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dog_a_hit_421 extends MovieClip {
public function dog_a_hit_421(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 213
//dog_b_attacking_429 (Fombies_KenPlay_v44_fla.dog_b_attacking_429)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dog_b_attacking_429 extends MovieClip {
public function dog_b_attacking_429(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 214
//dog_b_dying_blownup_433 (Fombies_KenPlay_v44_fla.dog_b_dying_blownup_433)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_b_dying_blownup_433 extends MovieClip {
public function dog_b_dying_blownup_433(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 215
//dog_b_dying_bullet_431 (Fombies_KenPlay_v44_fla.dog_b_dying_bullet_431)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_b_dying_bullet_431 extends MovieClip {
public function dog_b_dying_bullet_431(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 216
//dog_b_dying_headshot_432 (Fombies_KenPlay_v44_fla.dog_b_dying_headshot_432)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_b_dying_headshot_432 extends MovieClip {
public function dog_b_dying_headshot_432(){
super();
addFrameScript(24, frame25);
}
function frame25(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 217
//dog_b_hit_430 (Fombies_KenPlay_v44_fla.dog_b_hit_430)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dog_b_hit_430 extends MovieClip {
public function dog_b_hit_430(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 218
//dog_c_attacking_437 (Fombies_KenPlay_v44_fla.dog_c_attacking_437)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dog_c_attacking_437 extends MovieClip {
public function dog_c_attacking_437(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 219
//dog_c_dying_blownup_441 (Fombies_KenPlay_v44_fla.dog_c_dying_blownup_441)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_c_dying_blownup_441 extends MovieClip {
public function dog_c_dying_blownup_441(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 220
//dog_c_dying_bullet_439 (Fombies_KenPlay_v44_fla.dog_c_dying_bullet_439)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_c_dying_bullet_439 extends MovieClip {
public function dog_c_dying_bullet_439(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 221
//dog_c_dying_headshot_440 (Fombies_KenPlay_v44_fla.dog_c_dying_headshot_440)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dog_c_dying_headshot_440 extends MovieClip {
public function dog_c_dying_headshot_440(){
super();
addFrameScript(24, frame25);
}
function frame25(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 222
//dog_c_hit_438 (Fombies_KenPlay_v44_fla.dog_c_hit_438)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dog_c_hit_438 extends MovieClip {
public function dog_c_hit_438(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 223
//dogB_427 (Fombies_KenPlay_v44_fla.dogB_427)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dogB_427 extends MovieClip {
public var hdShot:MovieClip;
public function dogB_427(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 224
//dogC_434 (Fombies_KenPlay_v44_fla.dogC_434)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dogC_434 extends MovieClip {
public var hdShot:MovieClip;
public function dogC_434(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 225
//dohNutStand_a_15 (Fombies_KenPlay_v44_fla.dohNutStand_a_15)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class dohNutStand_a_15 extends MovieClip {
public var giantDohnut:GameGiantDohnut;
public function dohNutStand_a_15(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 226
//endLevelStats_962 (Fombies_KenPlay_v44_fla.endLevelStats_962)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class endLevelStats_962 extends MovieClip {
public var bulletsUsed2Txt:TextField;
public var zombiesKilledOverall1Txt:TextField;
public var scoreEarned2Txt:TextField;
public var headShots2Txt:TextField;
public var totalMoneyTxt:TextField;
public var grenadesUsed2Txt:TextField;
public var accuracy2Txt:TextField;
public var moneyEarned1Txt:TextField;
public var nextBtn:SimpleButton;
public var zombiesKilledOverall2Txt:TextField;
public var scoreEarned1Txt:TextField;
public var bulletsUsed1Txt:TextField;
public var moneyEarned2Txt:TextField;
public var grenadesUsed1Txt:TextField;
public var headShots1Txt:TextField;
public var totalScoreTxt:TextField;
public var accuracy1Txt:TextField;
public function endLevelStats_962(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent).loadStats(this);
}
}
}//package Fombies_KenPlay_v44_fla
Section 227
//ferret_a_attacking_726 (Fombies_KenPlay_v44_fla.ferret_a_attacking_726)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferret_a_attacking_726 extends MovieClip {
public function ferret_a_attacking_726(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 228
//ferret_a_body_strech_721 (Fombies_KenPlay_v44_fla.ferret_a_body_strech_721)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_a_body_strech_721 extends MovieClip {
public function ferret_a_body_strech_721(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.ferretAttack();
}
}
}//package Fombies_KenPlay_v44_fla
Section 229
//ferret_a_dying_blownup_725 (Fombies_KenPlay_v44_fla.ferret_a_dying_blownup_725)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_a_dying_blownup_725 extends MovieClip {
public function ferret_a_dying_blownup_725(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 230
//ferret_a_dying_bullet_723 (Fombies_KenPlay_v44_fla.ferret_a_dying_bullet_723)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_a_dying_bullet_723 extends MovieClip {
public function ferret_a_dying_bullet_723(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 231
//ferret_a_dying_headshot_724 (Fombies_KenPlay_v44_fla.ferret_a_dying_headshot_724)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_a_dying_headshot_724 extends MovieClip {
public function ferret_a_dying_headshot_724(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 232
//ferret_a_hit_722 (Fombies_KenPlay_v44_fla.ferret_a_hit_722)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferret_a_hit_722 extends MovieClip {
public function ferret_a_hit_722(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 233
//ferret_b_attacking_734 (Fombies_KenPlay_v44_fla.ferret_b_attacking_734)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferret_b_attacking_734 extends MovieClip {
public function ferret_b_attacking_734(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 234
//ferret_b_body_strech_729 (Fombies_KenPlay_v44_fla.ferret_b_body_strech_729)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_b_body_strech_729 extends MovieClip {
public function ferret_b_body_strech_729(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.ferretAttack();
}
}
}//package Fombies_KenPlay_v44_fla
Section 235
//ferret_b_dying_blownup_733 (Fombies_KenPlay_v44_fla.ferret_b_dying_blownup_733)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_b_dying_blownup_733 extends MovieClip {
public function ferret_b_dying_blownup_733(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 236
//ferret_b_dying_bullet_731 (Fombies_KenPlay_v44_fla.ferret_b_dying_bullet_731)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_b_dying_bullet_731 extends MovieClip {
public function ferret_b_dying_bullet_731(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 237
//ferret_b_dying_headshot_732 (Fombies_KenPlay_v44_fla.ferret_b_dying_headshot_732)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_b_dying_headshot_732 extends MovieClip {
public function ferret_b_dying_headshot_732(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 238
//ferret_b_hit_730 (Fombies_KenPlay_v44_fla.ferret_b_hit_730)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferret_b_hit_730 extends MovieClip {
public function ferret_b_hit_730(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 239
//ferret_c_attacking_743 (Fombies_KenPlay_v44_fla.ferret_c_attacking_743)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferret_c_attacking_743 extends MovieClip {
public function ferret_c_attacking_743(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 240
//ferret_c_body_strech_738 (Fombies_KenPlay_v44_fla.ferret_c_body_strech_738)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_c_body_strech_738 extends MovieClip {
public function ferret_c_body_strech_738(){
super();
addFrameScript(14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.ferretAttack();
}
}
}//package Fombies_KenPlay_v44_fla
Section 241
//ferret_c_dying_blownup_742 (Fombies_KenPlay_v44_fla.ferret_c_dying_blownup_742)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_c_dying_blownup_742 extends MovieClip {
public function ferret_c_dying_blownup_742(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 242
//ferret_c_dying_bullet_740 (Fombies_KenPlay_v44_fla.ferret_c_dying_bullet_740)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_c_dying_bullet_740 extends MovieClip {
public function ferret_c_dying_bullet_740(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 243
//ferret_c_dying_headshot_741 (Fombies_KenPlay_v44_fla.ferret_c_dying_headshot_741)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ferret_c_dying_headshot_741 extends MovieClip {
public function ferret_c_dying_headshot_741(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 244
//ferret_c_hit_739 (Fombies_KenPlay_v44_fla.ferret_c_hit_739)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferret_c_hit_739 extends MovieClip {
public function ferret_c_hit_739(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 245
//ferretA_711 (Fombies_KenPlay_v44_fla.ferretA_711)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferretA_711 extends MovieClip {
public var hdShot:MovieClip;
public function ferretA_711(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 246
//ferretB_727 (Fombies_KenPlay_v44_fla.ferretB_727)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferretB_727 extends MovieClip {
public var hdShot:MovieClip;
public function ferretB_727(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 247
//ferretC_735 (Fombies_KenPlay_v44_fla.ferretC_735)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class ferretC_735 extends MovieClip {
public var hdShot:MovieClip;
public function ferretC_735(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 248
//FGM_Logo_v5_72 (Fombies_KenPlay_v44_fla.FGM_Logo_v5_72)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class FGM_Logo_v5_72 extends MovieClip {
public var logoBtn:SimpleButton;
public function FGM_Logo_v5_72(){
super();
addFrameScript(0, frame1);
}
function frame1(){
logoBtn.addEventListener(MouseEvent.MOUSE_UP, goFGM);
}
public function goFGM(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.flashgamemaker.com"), "_blank");
}
}
}//package Fombies_KenPlay_v44_fla
Section 249
//fish_a_attacking_660 (Fombies_KenPlay_v44_fla.fish_a_attacking_660)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fish_a_attacking_660 extends MovieClip {
public function fish_a_attacking_660(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 250
//fish_a_dying_blownup_659 (Fombies_KenPlay_v44_fla.fish_a_dying_blownup_659)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_a_dying_blownup_659 extends MovieClip {
public function fish_a_dying_blownup_659(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 251
//fish_a_dying_bullet_657 (Fombies_KenPlay_v44_fla.fish_a_dying_bullet_657)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_a_dying_bullet_657 extends MovieClip {
public function fish_a_dying_bullet_657(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 252
//fish_a_dying_headshot_658 (Fombies_KenPlay_v44_fla.fish_a_dying_headshot_658)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_a_dying_headshot_658 extends MovieClip {
public function fish_a_dying_headshot_658(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 253
//fish_a_hit_656 (Fombies_KenPlay_v44_fla.fish_a_hit_656)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fish_a_hit_656 extends MovieClip {
public function fish_a_hit_656(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 254
//fish_a_spits_654 (Fombies_KenPlay_v44_fla.fish_a_spits_654)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_a_spits_654 extends MovieClip {
public var releaseMc:MovieClip;
public function fish_a_spits_654(){
super();
addFrameScript(14, frame15, 27, frame28);
}
function frame15(){
MovieClip(parent.parent).myObject.fireProjectile(releaseMc);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 255
//fish_b_attacking_668 (Fombies_KenPlay_v44_fla.fish_b_attacking_668)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fish_b_attacking_668 extends MovieClip {
public function fish_b_attacking_668(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 256
//fish_b_dying_blownup_667 (Fombies_KenPlay_v44_fla.fish_b_dying_blownup_667)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_b_dying_blownup_667 extends MovieClip {
public function fish_b_dying_blownup_667(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 257
//fish_b_dying_bullet_665 (Fombies_KenPlay_v44_fla.fish_b_dying_bullet_665)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_b_dying_bullet_665 extends MovieClip {
public function fish_b_dying_bullet_665(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 258
//fish_b_dying_headshot_666 (Fombies_KenPlay_v44_fla.fish_b_dying_headshot_666)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_b_dying_headshot_666 extends MovieClip {
public function fish_b_dying_headshot_666(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 259
//fish_b_hit_664 (Fombies_KenPlay_v44_fla.fish_b_hit_664)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fish_b_hit_664 extends MovieClip {
public function fish_b_hit_664(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 260
//fish_b_spits_663 (Fombies_KenPlay_v44_fla.fish_b_spits_663)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_b_spits_663 extends MovieClip {
public var releaseMc:MovieClip;
public function fish_b_spits_663(){
super();
addFrameScript(14, frame15, 27, frame28);
}
function frame15(){
MovieClip(parent.parent).myObject.fireProjectile(releaseMc);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 261
//fish_c_attacking_677 (Fombies_KenPlay_v44_fla.fish_c_attacking_677)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fish_c_attacking_677 extends MovieClip {
public function fish_c_attacking_677(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 262
//fish_c_dying_blownup_676 (Fombies_KenPlay_v44_fla.fish_c_dying_blownup_676)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_c_dying_blownup_676 extends MovieClip {
public function fish_c_dying_blownup_676(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 263
//fish_c_dying_bullet_674 (Fombies_KenPlay_v44_fla.fish_c_dying_bullet_674)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_c_dying_bullet_674 extends MovieClip {
public function fish_c_dying_bullet_674(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 264
//fish_c_dying_headshot_675 (Fombies_KenPlay_v44_fla.fish_c_dying_headshot_675)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_c_dying_headshot_675 extends MovieClip {
public function fish_c_dying_headshot_675(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 265
//fish_c_hit_673 (Fombies_KenPlay_v44_fla.fish_c_hit_673)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fish_c_hit_673 extends MovieClip {
public function fish_c_hit_673(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 266
//fish_c_spits_672 (Fombies_KenPlay_v44_fla.fish_c_spits_672)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class fish_c_spits_672 extends MovieClip {
public var releaseMc:MovieClip;
public function fish_c_spits_672(){
super();
addFrameScript(14, frame15, 27, frame28);
}
function frame15(){
MovieClip(parent.parent).myObject.fireProjectile(releaseMc);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 267
//fishA_648 (Fombies_KenPlay_v44_fla.fishA_648)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fishA_648 extends MovieClip {
public var firePoint:MovieClip;
public var hdShot:MovieClip;
public function fishA_648(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 268
//fishB_661 (Fombies_KenPlay_v44_fla.fishB_661)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fishB_661 extends MovieClip {
public var firePoint:MovieClip;
public var hdShot:MovieClip;
public function fishB_661(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 269
//fishC_669 (Fombies_KenPlay_v44_fla.fishC_669)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class fishC_669 extends MovieClip {
public var firePoint:MovieClip;
public var hdShot:MovieClip;
public function fishC_669(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 270
//gameorver_letters_mov_971 (Fombies_KenPlay_v44_fla.gameorver_letters_mov_971)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class gameorver_letters_mov_971 extends MovieClip {
public function gameorver_letters_mov_971(){
super();
addFrameScript(41, frame42);
}
function frame42(){
MovieClip(parent.parent).gotoAndStop(2);
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 271
//goldCoinAnim_853 (Fombies_KenPlay_v44_fla.goldCoinAnim_853)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class goldCoinAnim_853 extends MovieClip {
public var c2:MovieClip;
public function goldCoinAnim_853(){
super();
addFrameScript(108, frame109);
}
function frame109(){
MovieClip(parent).remove();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 272
//hamster_a_attacking_752 (Fombies_KenPlay_v44_fla.hamster_a_attacking_752)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_a_attacking_752 extends MovieClip {
public function hamster_a_attacking_752(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 273
//hamster_a_dying_blownup_756 (Fombies_KenPlay_v44_fla.hamster_a_dying_blownup_756)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_a_dying_blownup_756 extends MovieClip {
public function hamster_a_dying_blownup_756(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 274
//hamster_a_dying_bullet_754 (Fombies_KenPlay_v44_fla.hamster_a_dying_bullet_754)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_a_dying_bullet_754 extends MovieClip {
public function hamster_a_dying_bullet_754(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 275
//hamster_a_dying_headshot_755 (Fombies_KenPlay_v44_fla.hamster_a_dying_headshot_755)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_a_dying_headshot_755 extends MovieClip {
public function hamster_a_dying_headshot_755(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 276
//hamster_a_hit_753 (Fombies_KenPlay_v44_fla.hamster_a_hit_753)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_a_hit_753 extends MovieClip {
public function hamster_a_hit_753(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("ball");
}
}
}//package Fombies_KenPlay_v44_fla
Section 277
//hamster_a_walking_ball_explodes_761 (Fombies_KenPlay_v44_fla.hamster_a_walking_ball_explodes_761)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_a_walking_ball_explodes_761 extends MovieClip {
public function hamster_a_walking_ball_explodes_761(){
super();
addFrameScript(16, frame17);
}
function frame17(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 278
//hamster_b_attacking_765 (Fombies_KenPlay_v44_fla.hamster_b_attacking_765)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_b_attacking_765 extends MovieClip {
public function hamster_b_attacking_765(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 279
//hamster_b_dying_blownup_769 (Fombies_KenPlay_v44_fla.hamster_b_dying_blownup_769)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_b_dying_blownup_769 extends MovieClip {
public function hamster_b_dying_blownup_769(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 280
//hamster_b_dying_bullet_767 (Fombies_KenPlay_v44_fla.hamster_b_dying_bullet_767)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_b_dying_bullet_767 extends MovieClip {
public function hamster_b_dying_bullet_767(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 281
//hamster_b_dying_headshot_768 (Fombies_KenPlay_v44_fla.hamster_b_dying_headshot_768)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_b_dying_headshot_768 extends MovieClip {
public function hamster_b_dying_headshot_768(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 282
//hamster_b_hit_766 (Fombies_KenPlay_v44_fla.hamster_b_hit_766)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_b_hit_766 extends MovieClip {
public function hamster_b_hit_766(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 283
//hamster_c_attacking_773 (Fombies_KenPlay_v44_fla.hamster_c_attacking_773)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_c_attacking_773 extends MovieClip {
public function hamster_c_attacking_773(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 284
//hamster_c_dying_blownup_777 (Fombies_KenPlay_v44_fla.hamster_c_dying_blownup_777)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_c_dying_blownup_777 extends MovieClip {
public function hamster_c_dying_blownup_777(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 285
//hamster_c_dying_bullet_775 (Fombies_KenPlay_v44_fla.hamster_c_dying_bullet_775)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_c_dying_bullet_775 extends MovieClip {
public function hamster_c_dying_bullet_775(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 286
//hamster_c_dying_headshot_776 (Fombies_KenPlay_v44_fla.hamster_c_dying_headshot_776)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class hamster_c_dying_headshot_776 extends MovieClip {
public function hamster_c_dying_headshot_776(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 287
//hamster_c_hit_774 (Fombies_KenPlay_v44_fla.hamster_c_hit_774)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamster_c_hit_774 extends MovieClip {
public function hamster_c_hit_774(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 288
//hamsterA_745 (Fombies_KenPlay_v44_fla.hamsterA_745)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamsterA_745 extends MovieClip {
public var hdShot:MovieClip;
public function hamsterA_745(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 289
//hamsterB_763 (Fombies_KenPlay_v44_fla.hamsterB_763)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamsterB_763 extends MovieClip {
public var hdShot:MovieClip;
public function hamsterB_763(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 290
//hamsterC_770 (Fombies_KenPlay_v44_fla.hamsterC_770)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class hamsterC_770 extends MovieClip {
public var hdShot:MovieClip;
public function hamsterC_770(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 291
//headShotTxt_846 (Fombies_KenPlay_v44_fla.headShotTxt_846)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.text.*;
public dynamic class headShotTxt_846 extends MovieClip {
public var headTxt:TextField;
public function headShotTxt_846(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 292
//instructionsBtns_1026 (Fombies_KenPlay_v44_fla.instructionsBtns_1026)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class instructionsBtns_1026 extends MovieClip {
public var backBtn:SimpleButton;
public var nextBtn:SimpleButton;
public function instructionsBtns_1026(){
super();
addFrameScript(0, frame1);
}
function frame1(){
backBtn.addEventListener(MouseEvent.MOUSE_DOWN, gotoBack, false);
nextBtn.addEventListener(MouseEvent.MOUSE_DOWN, gotoNext, false);
}
public function gotoEnd(e:MouseEvent):void{
MovieClip(parent).txt.gotoAndStop(MovieClip(parent).txt.totalFrames);
}
public function gotoStart(e:MouseEvent):void{
MovieClip(parent).txt.gotoAndStop(1);
}
public function gotoBack(e:MouseEvent):void{
if (MovieClip(parent).txt.currentFrame == 1){
MovieClip(parent).txt.gotoAndStop(MovieClip(parent).txt.totalFrames);
} else {
MovieClip(parent).txt.gotoAndStop((MovieClip(parent).txt.currentFrame - 1));
};
}
public function gotoNext(e:MouseEvent):void{
if (MovieClip(parent).txt.currentFrame == MovieClip(parent).txt.totalFrames){
MovieClip(parent).txt.gotoAndStop(1);
} else {
MovieClip(parent).txt.gotoAndStop((MovieClip(parent).txt.currentFrame + 1));
};
}
}
}//package Fombies_KenPlay_v44_fla
Section 293
//instructionsTxtScreens_1025 (Fombies_KenPlay_v44_fla.instructionsTxtScreens_1025)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class instructionsTxtScreens_1025 extends MovieClip {
public function instructionsTxtScreens_1025(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 294
//intro_base_386 (Fombies_KenPlay_v44_fla.intro_base_386)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class intro_base_386 extends MovieClip {
public function intro_base_386(){
super();
addFrameScript(459, frame460);
}
function frame460(){
MovieClip(parent.parent).doSkip();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 295
//intro_parrot_408 (Fombies_KenPlay_v44_fla.intro_parrot_408)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class intro_parrot_408 extends MovieClip {
public function intro_parrot_408(){
super();
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 296
//jim_arm_and_ak_293 (Fombies_KenPlay_v44_fla.jim_arm_and_ak_293)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_ak_293 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_ak_293(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 297
//jim_arm_and_colt45_250 (Fombies_KenPlay_v44_fla.jim_arm_and_colt45_250)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_colt45_250 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_colt45_250(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 298
//jim_arm_and_deserteagle_260 (Fombies_KenPlay_v44_fla.jim_arm_and_deserteagle_260)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_deserteagle_260 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_deserteagle_260(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 299
//jim_arm_and_grenadelauncher_325 (Fombies_KenPlay_v44_fla.jim_arm_and_grenadelauncher_325)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_grenadelauncher_325 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_grenadelauncher_325(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 300
//jim_arm_and_m4_301 (Fombies_KenPlay_v44_fla.jim_arm_and_m4_301)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_m4_301 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_m4_301(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 301
//jim_arm_and_minigun_333 (Fombies_KenPlay_v44_fla.jim_arm_and_minigun_333)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_minigun_333 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_minigun_333(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 302
//jim_arm_and_minigun_firing_335 (Fombies_KenPlay_v44_fla.jim_arm_and_minigun_firing_335)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_minigun_firing_335 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_minigun_firing_335(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 303
//jim_arm_and_miniuzi_269 (Fombies_KenPlay_v44_fla.jim_arm_and_miniuzi_269)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_miniuzi_269 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_miniuzi_269(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 304
//jim_arm_and_p90_277 (Fombies_KenPlay_v44_fla.jim_arm_and_p90_277)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_p90_277 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_p90_277(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 305
//jim_arm_and_shotgun_285 (Fombies_KenPlay_v44_fla.jim_arm_and_shotgun_285)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_shotgun_285 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_shotgun_285(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 306
//jim_arm_and_sniper_317 (Fombies_KenPlay_v44_fla.jim_arm_and_sniper_317)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_arm_and_sniper_317 extends MovieClip {
public var firePoint:MovieClip;
public function jim_arm_and_sniper_317(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 307
//jim_dying_with_ak_296 (Fombies_KenPlay_v44_fla.jim_dying_with_ak_296)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_ak_296 extends MovieClip {
public function jim_dying_with_ak_296(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 308
//jim_dying_with_colt45_255 (Fombies_KenPlay_v44_fla.jim_dying_with_colt45_255)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_colt45_255 extends MovieClip {
public function jim_dying_with_colt45_255(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 309
//jim_dying_with_deserteagle_264 (Fombies_KenPlay_v44_fla.jim_dying_with_deserteagle_264)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_deserteagle_264 extends MovieClip {
public function jim_dying_with_deserteagle_264(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 310
//jim_dying_with_grenadelauncher_328 (Fombies_KenPlay_v44_fla.jim_dying_with_grenadelauncher_328)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_grenadelauncher_328 extends MovieClip {
public function jim_dying_with_grenadelauncher_328(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 311
//jim_dying_with_m16_312 (Fombies_KenPlay_v44_fla.jim_dying_with_m16_312)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_m16_312 extends MovieClip {
public function jim_dying_with_m16_312(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 312
//jim_dying_with_m4_304 (Fombies_KenPlay_v44_fla.jim_dying_with_m4_304)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_m4_304 extends MovieClip {
public function jim_dying_with_m4_304(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 313
//jim_dying_with_minigun_337 (Fombies_KenPlay_v44_fla.jim_dying_with_minigun_337)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_minigun_337 extends MovieClip {
public function jim_dying_with_minigun_337(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 314
//jim_dying_with_miniuzi_272 (Fombies_KenPlay_v44_fla.jim_dying_with_miniuzi_272)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_miniuzi_272 extends MovieClip {
public function jim_dying_with_miniuzi_272(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 315
//jim_dying_with_p90_280 (Fombies_KenPlay_v44_fla.jim_dying_with_p90_280)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_p90_280 extends MovieClip {
public function jim_dying_with_p90_280(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 316
//jim_dying_with_shotgun_288 (Fombies_KenPlay_v44_fla.jim_dying_with_shotgun_288)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_shotgun_288 extends MovieClip {
public function jim_dying_with_shotgun_288(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 317
//jim_dying_with_sniper_320 (Fombies_KenPlay_v44_fla.jim_dying_with_sniper_320)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_dying_with_sniper_320 extends MovieClip {
public function jim_dying_with_sniper_320(){
super();
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 318
//jim_firing_ak_294 (Fombies_KenPlay_v44_fla.jim_firing_ak_294)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_ak_294 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_ak_294(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 319
//jim_firing_colt45_252 (Fombies_KenPlay_v44_fla.jim_firing_colt45_252)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_colt45_252 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_colt45_252(){
super();
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
function frame5(){
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 320
//jim_firing_deserteagle_261 (Fombies_KenPlay_v44_fla.jim_firing_deserteagle_261)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_deserteagle_261 extends MovieClip {
public function jim_firing_deserteagle_261(){
super();
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 321
//jim_firing_grenadelauncher_326 (Fombies_KenPlay_v44_fla.jim_firing_grenadelauncher_326)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_grenadelauncher_326 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_grenadelauncher_326(){
super();
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 322
//jim_firing_m16_310 (Fombies_KenPlay_v44_fla.jim_firing_m16_310)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_m16_310 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_m16_310(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 323
//jim_firing_m4_302 (Fombies_KenPlay_v44_fla.jim_firing_m4_302)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_m4_302 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_m4_302(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 324
//jim_firing_minigun_334 (Fombies_KenPlay_v44_fla.jim_firing_minigun_334)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_minigun_334 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_minigun_334(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 325
//jim_firing_miniuzi_270 (Fombies_KenPlay_v44_fla.jim_firing_miniuzi_270)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_miniuzi_270 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_miniuzi_270(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 326
//jim_firing_p90_278 (Fombies_KenPlay_v44_fla.jim_firing_p90_278)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_p90_278 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_p90_278(){
super();
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 327
//jim_firing_shotgun_286 (Fombies_KenPlay_v44_fla.jim_firing_shotgun_286)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jim_firing_shotgun_286 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_shotgun_286(){
super();
addFrameScript(4, frame5);
}
function frame5(){
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 328
//jim_firing_sniper_318 (Fombies_KenPlay_v44_fla.jim_firing_sniper_318)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_firing_sniper_318 extends MovieClip {
public var lArm:MovieClip;
public function jim_firing_sniper_318(){
super();
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop("stand");
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 329
//jim_levelclear_with_ak_298 (Fombies_KenPlay_v44_fla.jim_levelclear_with_ak_298)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_ak_298 extends MovieClip {
public function jim_levelclear_with_ak_298(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 330
//jim_levelclear_with_colt45_257 (Fombies_KenPlay_v44_fla.jim_levelclear_with_colt45_257)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_colt45_257 extends MovieClip {
public function jim_levelclear_with_colt45_257(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 331
//jim_levelclear_with_deserteagle_266 (Fombies_KenPlay_v44_fla.jim_levelclear_with_deserteagle_266)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_deserteagle_266 extends MovieClip {
public function jim_levelclear_with_deserteagle_266(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 332
//jim_levelclear_with_grenadelauncher_330 (Fombies_KenPlay_v44_fla.jim_levelclear_with_grenadelauncher_330)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_grenadelauncher_330 extends MovieClip {
public function jim_levelclear_with_grenadelauncher_330(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 333
//jim_levelclear_with_m16_314 (Fombies_KenPlay_v44_fla.jim_levelclear_with_m16_314)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_m16_314 extends MovieClip {
public function jim_levelclear_with_m16_314(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 334
//jim_levelclear_with_m4_306 (Fombies_KenPlay_v44_fla.jim_levelclear_with_m4_306)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_m4_306 extends MovieClip {
public function jim_levelclear_with_m4_306(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 335
//jim_levelclear_with_minigun_339 (Fombies_KenPlay_v44_fla.jim_levelclear_with_minigun_339)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_minigun_339 extends MovieClip {
public function jim_levelclear_with_minigun_339(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 336
//jim_levelclear_with_miniuzi_274 (Fombies_KenPlay_v44_fla.jim_levelclear_with_miniuzi_274)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_miniuzi_274 extends MovieClip {
public function jim_levelclear_with_miniuzi_274(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 337
//jim_levelclear_with_p90_282 (Fombies_KenPlay_v44_fla.jim_levelclear_with_p90_282)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_p90_282 extends MovieClip {
public function jim_levelclear_with_p90_282(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 338
//jim_levelclear_with_shotgun_290 (Fombies_KenPlay_v44_fla.jim_levelclear_with_shotgun_290)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_shotgun_290 extends MovieClip {
public function jim_levelclear_with_shotgun_290(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 339
//jim_levelclear_with_sniper_322 (Fombies_KenPlay_v44_fla.jim_levelclear_with_sniper_322)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_levelclear_with_sniper_322 extends MovieClip {
public function jim_levelclear_with_sniper_322(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent.parent).myObject.rt.levelComplete();
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 340
//jim_reloading_ak_297 (Fombies_KenPlay_v44_fla.jim_reloading_ak_297)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_ak_297 extends MovieClip {
public function jim_reloading_ak_297(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 341
//jim_reloading_colt45_256 (Fombies_KenPlay_v44_fla.jim_reloading_colt45_256)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_colt45_256 extends MovieClip {
public function jim_reloading_colt45_256(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 342
//jim_reloading_deserteagle_265 (Fombies_KenPlay_v44_fla.jim_reloading_deserteagle_265)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_deserteagle_265 extends MovieClip {
public function jim_reloading_deserteagle_265(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 343
//jim_reloading_grenadelauncher_329 (Fombies_KenPlay_v44_fla.jim_reloading_grenadelauncher_329)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_grenadelauncher_329 extends MovieClip {
public function jim_reloading_grenadelauncher_329(){
super();
addFrameScript(21, frame22);
}
function frame22(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 344
//jim_reloading_m16_313 (Fombies_KenPlay_v44_fla.jim_reloading_m16_313)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_m16_313 extends MovieClip {
public function jim_reloading_m16_313(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 345
//jim_reloading_m4_305 (Fombies_KenPlay_v44_fla.jim_reloading_m4_305)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_m4_305 extends MovieClip {
public function jim_reloading_m4_305(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 346
//jim_reloading_minigun_338 (Fombies_KenPlay_v44_fla.jim_reloading_minigun_338)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_minigun_338 extends MovieClip {
public function jim_reloading_minigun_338(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 347
//jim_reloading_miniuzi_273 (Fombies_KenPlay_v44_fla.jim_reloading_miniuzi_273)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_miniuzi_273 extends MovieClip {
public function jim_reloading_miniuzi_273(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 348
//jim_reloading_p90_281 (Fombies_KenPlay_v44_fla.jim_reloading_p90_281)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_p90_281 extends MovieClip {
public function jim_reloading_p90_281(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 349
//jim_reloading_shotgun_289 (Fombies_KenPlay_v44_fla.jim_reloading_shotgun_289)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_shotgun_289 extends MovieClip {
public function jim_reloading_shotgun_289(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 350
//jim_reloading_sniper_321 (Fombies_KenPlay_v44_fla.jim_reloading_sniper_321)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_reloading_sniper_321 extends MovieClip {
public function jim_reloading_sniper_321(){
super();
addFrameScript(17, frame18);
}
function frame18(){
MovieClip(parent.parent).myObject.reload();
MovieClip(parent).gotoAndStop("stand");
}
}
}//package Fombies_KenPlay_v44_fla
Section 351
//jim_standing_with_ak_292 (Fombies_KenPlay_v44_fla.jim_standing_with_ak_292)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_ak_292 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_ak_292(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 352
//jim_standing_with_colt45_240 (Fombies_KenPlay_v44_fla.jim_standing_with_colt45_240)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_colt45_240 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_colt45_240(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 353
//jim_standing_with_deserteagle_259 (Fombies_KenPlay_v44_fla.jim_standing_with_deserteagle_259)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_deserteagle_259 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_deserteagle_259(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 354
//jim_standing_with_grenadelauncher_324 (Fombies_KenPlay_v44_fla.jim_standing_with_grenadelauncher_324)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_grenadelauncher_324 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_grenadelauncher_324(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 355
//jim_standing_with_m16_308 (Fombies_KenPlay_v44_fla.jim_standing_with_m16_308)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_m16_308 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_m16_308(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 356
//jim_standing_with_m4_300 (Fombies_KenPlay_v44_fla.jim_standing_with_m4_300)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_m4_300 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_m4_300(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 357
//jim_standing_with_minigun_332 (Fombies_KenPlay_v44_fla.jim_standing_with_minigun_332)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_minigun_332 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_minigun_332(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 358
//jim_standing_with_miniuzi_268 (Fombies_KenPlay_v44_fla.jim_standing_with_miniuzi_268)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_miniuzi_268 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_miniuzi_268(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 359
//jim_standing_with_p90_276 (Fombies_KenPlay_v44_fla.jim_standing_with_p90_276)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_p90_276 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_p90_276(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 360
//jim_standing_with_shotgun_284 (Fombies_KenPlay_v44_fla.jim_standing_with_shotgun_284)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_shotgun_284 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_shotgun_284(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 361
//jim_standing_with_sniper_316 (Fombies_KenPlay_v44_fla.jim_standing_with_sniper_316)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jim_standing_with_sniper_316 extends MovieClip {
public var lArm:MovieClip;
public function jim_standing_with_sniper_316(){
super();
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(parent.parent).myObject.mainLoop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 362
//jimAK47_291 (Fombies_KenPlay_v44_fla.jimAK47_291)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimAK47_291 extends MovieClip {
public var bt:MovieClip;
public function jimAK47_291(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 363
//jimColt_239 (Fombies_KenPlay_v44_fla.jimColt_239)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimColt_239 extends MovieClip {
public var bt:MovieClip;
public function jimColt_239(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 364
//jimDesertEagle_258 (Fombies_KenPlay_v44_fla.jimDesertEagle_258)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimDesertEagle_258 extends MovieClip {
public var bt:MovieClip;
public function jimDesertEagle_258(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 365
//jimGrenadeLauncher_323 (Fombies_KenPlay_v44_fla.jimGrenadeLauncher_323)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimGrenadeLauncher_323 extends MovieClip {
public var bt:MovieClip;
public function jimGrenadeLauncher_323(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 366
//jimM16_307 (Fombies_KenPlay_v44_fla.jimM16_307)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimM16_307 extends MovieClip {
public var bt:MovieClip;
public function jimM16_307(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 367
//jimM4_299 (Fombies_KenPlay_v44_fla.jimM4_299)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimM4_299 extends MovieClip {
public var bt:MovieClip;
public function jimM4_299(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 368
//jimMiniGun_331 (Fombies_KenPlay_v44_fla.jimMiniGun_331)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimMiniGun_331 extends MovieClip {
public var bt:MovieClip;
public function jimMiniGun_331(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 369
//jimMiniUzi_267 (Fombies_KenPlay_v44_fla.jimMiniUzi_267)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimMiniUzi_267 extends MovieClip {
public var bt:MovieClip;
public function jimMiniUzi_267(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 370
//jimP90_275 (Fombies_KenPlay_v44_fla.jimP90_275)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimP90_275 extends MovieClip {
public var bt:MovieClip;
public function jimP90_275(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 371
//jimShotgun_283 (Fombies_KenPlay_v44_fla.jimShotgun_283)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimShotgun_283 extends MovieClip {
public var bt:MovieClip;
public function jimShotgun_283(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 372
//jimSniper_315 (Fombies_KenPlay_v44_fla.jimSniper_315)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class jimSniper_315 extends MovieClip {
public var bt:MovieClip;
public function jimSniper_315(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 373
//lizard_a_attacking_687 (Fombies_KenPlay_v44_fla.lizard_a_attacking_687)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizard_a_attacking_687 extends MovieClip {
public function lizard_a_attacking_687(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 374
//lizard_a_dying_blownup_691 (Fombies_KenPlay_v44_fla.lizard_a_dying_blownup_691)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_a_dying_blownup_691 extends MovieClip {
public function lizard_a_dying_blownup_691(){
super();
addFrameScript(11, frame12);
}
function frame12(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 375
//lizard_a_dying_bullet_689 (Fombies_KenPlay_v44_fla.lizard_a_dying_bullet_689)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_a_dying_bullet_689 extends MovieClip {
public function lizard_a_dying_bullet_689(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 376
//lizard_a_dying_headshot_690 (Fombies_KenPlay_v44_fla.lizard_a_dying_headshot_690)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_a_dying_headshot_690 extends MovieClip {
public function lizard_a_dying_headshot_690(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 377
//lizard_a_hit_688 (Fombies_KenPlay_v44_fla.lizard_a_hit_688)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizard_a_hit_688 extends MovieClip {
public function lizard_a_hit_688(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 378
//lizard_a_loses_tail_692 (Fombies_KenPlay_v44_fla.lizard_a_loses_tail_692)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_a_loses_tail_692 extends MovieClip {
public function lizard_a_loses_tail_692(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.fireTail();
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 379
//lizard_b_attacking_695 (Fombies_KenPlay_v44_fla.lizard_b_attacking_695)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizard_b_attacking_695 extends MovieClip {
public function lizard_b_attacking_695(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 380
//lizard_b_dying_blownup_699 (Fombies_KenPlay_v44_fla.lizard_b_dying_blownup_699)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_b_dying_blownup_699 extends MovieClip {
public function lizard_b_dying_blownup_699(){
super();
addFrameScript(11, frame12);
}
function frame12(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 381
//lizard_b_dying_bullet_697 (Fombies_KenPlay_v44_fla.lizard_b_dying_bullet_697)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_b_dying_bullet_697 extends MovieClip {
public function lizard_b_dying_bullet_697(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 382
//lizard_b_dying_headshot_698 (Fombies_KenPlay_v44_fla.lizard_b_dying_headshot_698)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_b_dying_headshot_698 extends MovieClip {
public function lizard_b_dying_headshot_698(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 383
//lizard_b_hit_696 (Fombies_KenPlay_v44_fla.lizard_b_hit_696)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizard_b_hit_696 extends MovieClip {
public function lizard_b_hit_696(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 384
//lizard_b_loses_tail_700 (Fombies_KenPlay_v44_fla.lizard_b_loses_tail_700)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_b_loses_tail_700 extends MovieClip {
public function lizard_b_loses_tail_700(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.fireTail();
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 385
//lizard_c_attacking_704 (Fombies_KenPlay_v44_fla.lizard_c_attacking_704)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizard_c_attacking_704 extends MovieClip {
public function lizard_c_attacking_704(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 386
//lizard_c_dying_blownup_708 (Fombies_KenPlay_v44_fla.lizard_c_dying_blownup_708)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_c_dying_blownup_708 extends MovieClip {
public function lizard_c_dying_blownup_708(){
super();
addFrameScript(11, frame12);
}
function frame12(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 387
//lizard_c_dying_bullet_706 (Fombies_KenPlay_v44_fla.lizard_c_dying_bullet_706)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_c_dying_bullet_706 extends MovieClip {
public function lizard_c_dying_bullet_706(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 388
//lizard_c_dying_headshot_707 (Fombies_KenPlay_v44_fla.lizard_c_dying_headshot_707)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class lizard_c_dying_headshot_707 extends MovieClip {
public function lizard_c_dying_headshot_707(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 389
//lizard_c_hit_705 (Fombies_KenPlay_v44_fla.lizard_c_hit_705)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizard_c_hit_705 extends MovieClip {
public function lizard_c_hit_705(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 390
//lizardA_679 (Fombies_KenPlay_v44_fla.lizardA_679)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizardA_679 extends MovieClip {
public var firePoint:MovieClip;
public var hdShot:MovieClip;
public function lizardA_679(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 391
//lizardB_693 (Fombies_KenPlay_v44_fla.lizardB_693)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizardB_693 extends MovieClip {
public var firePoint:MovieClip;
public var hdShot:MovieClip;
public function lizardB_693(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 392
//lizardC_701 (Fombies_KenPlay_v44_fla.lizardC_701)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class lizardC_701 extends MovieClip {
public var hdShot:MovieClip;
public function lizardC_701(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 393
//loadSaveMsg_415 (Fombies_KenPlay_v44_fla.loadSaveMsg_415)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.text.*;
public dynamic class loadSaveMsg_415 extends MovieClip {
public var txt:TextField;
public function loadSaveMsg_415(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 394
//mc_PDTGTextLogo_79 (Fombies_KenPlay_v44_fla.mc_PDTGTextLogo_79)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class mc_PDTGTextLogo_79 extends MovieClip {
public function mc_PDTGTextLogo_79(){
super();
addFrameScript(0, frame1);
}
function frame1(){
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, clck);
}
public function clck(event:MouseEvent){
var url:String;
var request:URLRequest;
url = "http://www.playtowerdefensegames.com";
request = new URLRequest(url);
navigateToURL(request, "_new");
}
}
}//package Fombies_KenPlay_v44_fla
Section 395
//mole_a_attacking_811 (Fombies_KenPlay_v44_fla.mole_a_attacking_811)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_a_attacking_811 extends MovieClip {
public function mole_a_attacking_811(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 396
//mole_a_dying_bullet_813 (Fombies_KenPlay_v44_fla.mole_a_dying_bullet_813)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mole_a_dying_bullet_813 extends MovieClip {
public function mole_a_dying_bullet_813(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 397
//mole_a_dying_headshot_814 (Fombies_KenPlay_v44_fla.mole_a_dying_headshot_814)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mole_a_dying_headshot_814 extends MovieClip {
public function mole_a_dying_headshot_814(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 398
//mole_a_hit_812 (Fombies_KenPlay_v44_fla.mole_a_hit_812)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_a_hit_812 extends MovieClip {
public function mole_a_hit_812(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 399
//mole_a_jumps_out_820 (Fombies_KenPlay_v44_fla.mole_a_jumps_out_820)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_a_jumps_out_820 extends MovieClip {
public function mole_a_jumps_out_820(){
super();
addFrameScript(29, frame30);
}
function frame30(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 400
//mole_b_attacking_824 (Fombies_KenPlay_v44_fla.mole_b_attacking_824)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_b_attacking_824 extends MovieClip {
public function mole_b_attacking_824(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 401
//mole_b_dying_bullet_826 (Fombies_KenPlay_v44_fla.mole_b_dying_bullet_826)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mole_b_dying_bullet_826 extends MovieClip {
public function mole_b_dying_bullet_826(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 402
//mole_b_dying_headshot_827 (Fombies_KenPlay_v44_fla.mole_b_dying_headshot_827)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mole_b_dying_headshot_827 extends MovieClip {
public function mole_b_dying_headshot_827(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 403
//mole_b_hit_825 (Fombies_KenPlay_v44_fla.mole_b_hit_825)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_b_hit_825 extends MovieClip {
public function mole_b_hit_825(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 404
//mole_c_attacking_833 (Fombies_KenPlay_v44_fla.mole_c_attacking_833)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_c_attacking_833 extends MovieClip {
public function mole_c_attacking_833(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 405
//mole_c_dying_bullet_835 (Fombies_KenPlay_v44_fla.mole_c_dying_bullet_835)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mole_c_dying_bullet_835 extends MovieClip {
public function mole_c_dying_bullet_835(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 406
//mole_c_dying_headshot_836 (Fombies_KenPlay_v44_fla.mole_c_dying_headshot_836)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mole_c_dying_headshot_836 extends MovieClip {
public function mole_c_dying_headshot_836(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 407
//mole_c_hit_834 (Fombies_KenPlay_v44_fla.mole_c_hit_834)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mole_c_hit_834 extends MovieClip {
public function mole_c_hit_834(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 408
//moleA_802 (Fombies_KenPlay_v44_fla.moleA_802)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class moleA_802 extends MovieClip {
public var hdShot:MovieClip;
public function moleA_802(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 409
//moleB_822 (Fombies_KenPlay_v44_fla.moleB_822)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class moleB_822 extends MovieClip {
public var hdShot:MovieClip;
public function moleB_822(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 410
//moleC_830 (Fombies_KenPlay_v44_fla.moleC_830)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class moleC_830 extends MovieClip {
public var hdShot:MovieClip;
public function moleC_830(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 411
//mouse_a_attacking_568 (Fombies_KenPlay_v44_fla.mouse_a_attacking_568)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouse_a_attacking_568 extends MovieClip {
public function mouse_a_attacking_568(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 412
//mouse_a_dying_blownup_572 (Fombies_KenPlay_v44_fla.mouse_a_dying_blownup_572)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_a_dying_blownup_572 extends MovieClip {
public function mouse_a_dying_blownup_572(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 413
//mouse_a_dying_bullet_570 (Fombies_KenPlay_v44_fla.mouse_a_dying_bullet_570)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_a_dying_bullet_570 extends MovieClip {
public function mouse_a_dying_bullet_570(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 414
//mouse_a_dying_headshot_571 (Fombies_KenPlay_v44_fla.mouse_a_dying_headshot_571)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_a_dying_headshot_571 extends MovieClip {
public function mouse_a_dying_headshot_571(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 415
//mouse_a_hit_569 (Fombies_KenPlay_v44_fla.mouse_a_hit_569)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouse_a_hit_569 extends MovieClip {
public function mouse_a_hit_569(){
super();
addFrameScript(10, frame11);
}
function frame11(){
if (MovieClip(parent).scaleX == -1){
MovieClip(parent).gotoAndStop("steal");
} else {
MovieClip(parent).gotoAndStop("run");
};
}
}
}//package Fombies_KenPlay_v44_fla
Section 416
//mouse_b_attacking_577 (Fombies_KenPlay_v44_fla.mouse_b_attacking_577)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouse_b_attacking_577 extends MovieClip {
public function mouse_b_attacking_577(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 417
//mouse_b_dying_blownup_581 (Fombies_KenPlay_v44_fla.mouse_b_dying_blownup_581)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_b_dying_blownup_581 extends MovieClip {
public function mouse_b_dying_blownup_581(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 418
//mouse_b_dying_bullet_579 (Fombies_KenPlay_v44_fla.mouse_b_dying_bullet_579)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_b_dying_bullet_579 extends MovieClip {
public function mouse_b_dying_bullet_579(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 419
//mouse_b_dying_headshot_580 (Fombies_KenPlay_v44_fla.mouse_b_dying_headshot_580)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_b_dying_headshot_580 extends MovieClip {
public function mouse_b_dying_headshot_580(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 420
//mouse_b_hit_578 (Fombies_KenPlay_v44_fla.mouse_b_hit_578)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouse_b_hit_578 extends MovieClip {
public function mouse_b_hit_578(){
super();
addFrameScript(10, frame11);
}
function frame11(){
if (MovieClip(parent).scaleX == -1){
MovieClip(parent).gotoAndStop("steal");
} else {
MovieClip(parent).gotoAndStop("run");
};
}
}
}//package Fombies_KenPlay_v44_fla
Section 421
//mouse_c_attacking_586 (Fombies_KenPlay_v44_fla.mouse_c_attacking_586)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouse_c_attacking_586 extends MovieClip {
public function mouse_c_attacking_586(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 422
//mouse_c_dying_blownup_590 (Fombies_KenPlay_v44_fla.mouse_c_dying_blownup_590)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_c_dying_blownup_590 extends MovieClip {
public function mouse_c_dying_blownup_590(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 423
//mouse_c_dying_bullet_588 (Fombies_KenPlay_v44_fla.mouse_c_dying_bullet_588)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_c_dying_bullet_588 extends MovieClip {
public function mouse_c_dying_bullet_588(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 424
//mouse_c_dying_headshot_589 (Fombies_KenPlay_v44_fla.mouse_c_dying_headshot_589)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class mouse_c_dying_headshot_589 extends MovieClip {
public function mouse_c_dying_headshot_589(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 425
//mouse_c_hit_587 (Fombies_KenPlay_v44_fla.mouse_c_hit_587)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouse_c_hit_587 extends MovieClip {
public function mouse_c_hit_587(){
super();
addFrameScript(10, frame11);
}
function frame11(){
if (MovieClip(parent).scaleX == -1){
MovieClip(parent).gotoAndStop("steal");
} else {
MovieClip(parent).gotoAndStop("run");
};
}
}
}//package Fombies_KenPlay_v44_fla
Section 426
//mouseA_567 (Fombies_KenPlay_v44_fla.mouseA_567)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouseA_567 extends MovieClip {
public var hdShot:MovieClip;
public function mouseA_567(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 427
//mouseB_575 (Fombies_KenPlay_v44_fla.mouseB_575)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouseB_575 extends MovieClip {
public var hdShot:MovieClip;
public function mouseB_575(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 428
//mouseC_583 (Fombies_KenPlay_v44_fla.mouseC_583)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class mouseC_583 extends MovieClip {
public var hdShot:MovieClip;
public function mouseC_583(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 429
//parrot_a_attacking_594 (Fombies_KenPlay_v44_fla.parrot_a_attacking_594)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrot_a_attacking_594 extends MovieClip {
public function parrot_a_attacking_594(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 430
//parrot_a_dying_blownup_598 (Fombies_KenPlay_v44_fla.parrot_a_dying_blownup_598)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_a_dying_blownup_598 extends MovieClip {
public function parrot_a_dying_blownup_598(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 431
//parrot_a_dying_bullet_596 (Fombies_KenPlay_v44_fla.parrot_a_dying_bullet_596)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_a_dying_bullet_596 extends MovieClip {
public function parrot_a_dying_bullet_596(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 432
//parrot_a_dying_headshot_597 (Fombies_KenPlay_v44_fla.parrot_a_dying_headshot_597)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_a_dying_headshot_597 extends MovieClip {
public function parrot_a_dying_headshot_597(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 433
//parrot_a_hit_595 (Fombies_KenPlay_v44_fla.parrot_a_hit_595)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrot_a_hit_595 extends MovieClip {
public function parrot_a_hit_595(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 434
//parrot_b_attacking_602 (Fombies_KenPlay_v44_fla.parrot_b_attacking_602)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrot_b_attacking_602 extends MovieClip {
public function parrot_b_attacking_602(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 435
//parrot_b_dying_blownup_606 (Fombies_KenPlay_v44_fla.parrot_b_dying_blownup_606)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_b_dying_blownup_606 extends MovieClip {
public function parrot_b_dying_blownup_606(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 436
//parrot_b_dying_bullet_604 (Fombies_KenPlay_v44_fla.parrot_b_dying_bullet_604)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_b_dying_bullet_604 extends MovieClip {
public function parrot_b_dying_bullet_604(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 437
//parrot_b_dying_headshot_605 (Fombies_KenPlay_v44_fla.parrot_b_dying_headshot_605)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_b_dying_headshot_605 extends MovieClip {
public function parrot_b_dying_headshot_605(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 438
//parrot_b_hit_603 (Fombies_KenPlay_v44_fla.parrot_b_hit_603)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrot_b_hit_603 extends MovieClip {
public function parrot_b_hit_603(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 439
//parrot_c_attacking_610 (Fombies_KenPlay_v44_fla.parrot_c_attacking_610)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrot_c_attacking_610 extends MovieClip {
public function parrot_c_attacking_610(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 440
//parrot_c_dying_blownup_614 (Fombies_KenPlay_v44_fla.parrot_c_dying_blownup_614)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_c_dying_blownup_614 extends MovieClip {
public function parrot_c_dying_blownup_614(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 441
//parrot_c_dying_bullet_612 (Fombies_KenPlay_v44_fla.parrot_c_dying_bullet_612)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_c_dying_bullet_612 extends MovieClip {
public function parrot_c_dying_bullet_612(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 442
//parrot_c_dying_headshot_613 (Fombies_KenPlay_v44_fla.parrot_c_dying_headshot_613)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class parrot_c_dying_headshot_613 extends MovieClip {
public function parrot_c_dying_headshot_613(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 443
//parrot_c_hit_611 (Fombies_KenPlay_v44_fla.parrot_c_hit_611)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrot_c_hit_611 extends MovieClip {
public function parrot_c_hit_611(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 444
//parrotA_593 (Fombies_KenPlay_v44_fla.parrotA_593)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrotA_593 extends MovieClip {
public var hdShot:MovieClip;
public function parrotA_593(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 445
//parrotB_599 (Fombies_KenPlay_v44_fla.parrotB_599)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrotB_599 extends MovieClip {
public var hdShot:MovieClip;
public function parrotB_599(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 446
//parrotC_607 (Fombies_KenPlay_v44_fla.parrotC_607)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class parrotC_607 extends MovieClip {
public var hdShot:MovieClip;
public function parrotC_607(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 447
//player2Start_361 (Fombies_KenPlay_v44_fla.player2Start_361)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class player2Start_361 extends MovieClip {
public var upgradeIcons:MovieClip;
public var ammoTxt:TextField;
public var nameTxt:TextField;
public var bulletsTxt:TextField;
public function player2Start_361(){
super();
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
MovieClip(parent).setAmmo(MovieClip(parent).rt.rt.playersArray[1].playerObject);
}
}
}//package Fombies_KenPlay_v44_fla
Section 448
//playerWeaponBtns_954 (Fombies_KenPlay_v44_fla.playerWeaponBtns_954)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class playerWeaponBtns_954 extends MovieClip {
public var p1:MovieClip;
public var p2:MovieClip;
public var player1Txt:TextField;
public function playerWeaponBtns_954(){
super();
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
MovieClip(parent.parent).showPlayer1Weapons();
stop();
}
function frame2(){
MovieClip(parent.parent).showPlayer1Weapons();
}
}
}//package Fombies_KenPlay_v44_fla
Section 449
//PTDG_Logo1_76 (Fombies_KenPlay_v44_fla.PTDG_Logo1_76)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class PTDG_Logo1_76 extends MovieClip {
public function PTDG_Logo1_76(){
super();
addFrameScript(0, frame1);
}
function frame1(){
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, clck);
}
public function clck(event:MouseEvent){
var url:String;
var request:URLRequest;
url = "http://www.playtowerdefensegames.com";
request = new URLRequest(url);
navigateToURL(request, "_new");
}
}
}//package Fombies_KenPlay_v44_fla
Section 450
//rabbit_a_attacking_487 (Fombies_KenPlay_v44_fla.rabbit_a_attacking_487)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbit_a_attacking_487 extends MovieClip {
public function rabbit_a_attacking_487(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 451
//rabbit_a_dying_blownup_491 (Fombies_KenPlay_v44_fla.rabbit_a_dying_blownup_491)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_a_dying_blownup_491 extends MovieClip {
public function rabbit_a_dying_blownup_491(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 452
//rabbit_a_dying_bullet_489 (Fombies_KenPlay_v44_fla.rabbit_a_dying_bullet_489)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_a_dying_bullet_489 extends MovieClip {
public function rabbit_a_dying_bullet_489(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 453
//rabbit_a_dying_headshot_490 (Fombies_KenPlay_v44_fla.rabbit_a_dying_headshot_490)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_a_dying_headshot_490 extends MovieClip {
public function rabbit_a_dying_headshot_490(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 454
//rabbit_a_hit_488 (Fombies_KenPlay_v44_fla.rabbit_a_hit_488)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbit_a_hit_488 extends MovieClip {
public function rabbit_a_hit_488(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 455
//rabbit_a_walking_480 (Fombies_KenPlay_v44_fla.rabbit_a_walking_480)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_a_walking_480 extends MovieClip {
public function rabbit_a_walking_480(){
super();
addFrameScript(4, frame5, 14, frame15);
}
function frame15(){
MovieClip(parent.parent).myObject.jumpDone();
}
function frame5(){
MovieClip(parent.parent).myObject.jump();
}
}
}//package Fombies_KenPlay_v44_fla
Section 456
//rabbit_b_attacking_494 (Fombies_KenPlay_v44_fla.rabbit_b_attacking_494)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbit_b_attacking_494 extends MovieClip {
public function rabbit_b_attacking_494(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 457
//rabbit_b_dying_blownup_498 (Fombies_KenPlay_v44_fla.rabbit_b_dying_blownup_498)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_b_dying_blownup_498 extends MovieClip {
public function rabbit_b_dying_blownup_498(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 458
//rabbit_b_dying_bullet_496 (Fombies_KenPlay_v44_fla.rabbit_b_dying_bullet_496)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_b_dying_bullet_496 extends MovieClip {
public function rabbit_b_dying_bullet_496(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 459
//rabbit_b_dying_headshot_497 (Fombies_KenPlay_v44_fla.rabbit_b_dying_headshot_497)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_b_dying_headshot_497 extends MovieClip {
public function rabbit_b_dying_headshot_497(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 460
//rabbit_b_hit_495 (Fombies_KenPlay_v44_fla.rabbit_b_hit_495)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbit_b_hit_495 extends MovieClip {
public function rabbit_b_hit_495(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 461
//rabbit_b_walking_493 (Fombies_KenPlay_v44_fla.rabbit_b_walking_493)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_b_walking_493 extends MovieClip {
public function rabbit_b_walking_493(){
super();
addFrameScript(6, frame7, 22, frame23);
}
function frame7(){
MovieClip(parent.parent).myObject.jump();
}
function frame23(){
MovieClip(parent.parent).myObject.jumpDone();
}
}
}//package Fombies_KenPlay_v44_fla
Section 462
//rabbit_c_attacking_502 (Fombies_KenPlay_v44_fla.rabbit_c_attacking_502)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbit_c_attacking_502 extends MovieClip {
public function rabbit_c_attacking_502(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 463
//rabbit_c_dying_blownup_506 (Fombies_KenPlay_v44_fla.rabbit_c_dying_blownup_506)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_c_dying_blownup_506 extends MovieClip {
public function rabbit_c_dying_blownup_506(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 464
//rabbit_c_dying_bullet_504 (Fombies_KenPlay_v44_fla.rabbit_c_dying_bullet_504)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_c_dying_bullet_504 extends MovieClip {
public function rabbit_c_dying_bullet_504(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 465
//rabbit_c_dying_headshot_505 (Fombies_KenPlay_v44_fla.rabbit_c_dying_headshot_505)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_c_dying_headshot_505 extends MovieClip {
public function rabbit_c_dying_headshot_505(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 466
//rabbit_c_hit_503 (Fombies_KenPlay_v44_fla.rabbit_c_hit_503)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbit_c_hit_503 extends MovieClip {
public function rabbit_c_hit_503(){
super();
addFrameScript(8, frame9);
}
function frame9(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 467
//rabbit_c_walking_500 (Fombies_KenPlay_v44_fla.rabbit_c_walking_500)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rabbit_c_walking_500 extends MovieClip {
public function rabbit_c_walking_500(){
super();
addFrameScript(6, frame7, 22, frame23);
}
function frame7(){
MovieClip(parent.parent).myObject.jump();
}
function frame23(){
MovieClip(parent.parent).myObject.jumpDone();
}
}
}//package Fombies_KenPlay_v44_fla
Section 468
//rabbitA_479 (Fombies_KenPlay_v44_fla.rabbitA_479)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbitA_479 extends MovieClip {
public var hdShot:MovieClip;
public function rabbitA_479(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 469
//rabbitB_492 (Fombies_KenPlay_v44_fla.rabbitB_492)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbitB_492 extends MovieClip {
public var hdShot:MovieClip;
public function rabbitB_492(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 470
//rabbitC_499 (Fombies_KenPlay_v44_fla.rabbitC_499)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class rabbitC_499 extends MovieClip {
public var hdShot:MovieClip;
public function rabbitC_499(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 471
//risingScoreTxt_838 (Fombies_KenPlay_v44_fla.risingScoreTxt_838)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.text.*;
public dynamic class risingScoreTxt_838 extends MovieClip {
public var scoreTxt:TextField;
public function risingScoreTxt_838(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 472
//select_player_background02_1018 (Fombies_KenPlay_v44_fla.select_player_background02_1018)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class select_player_background02_1018 extends MovieClip {
public var jimBtn:SimpleButton;
public function select_player_background02_1018(){
super();
addFrameScript(0, frame1);
}
function frame1(){
jimBtn.addEventListener(MouseEvent.MOUSE_UP, chooseJim);
}
public function chooseJim(event:MouseEvent):void{
MovieClip(parent.parent).rt.setupJim(MovieClip(parent));
}
}
}//package Fombies_KenPlay_v44_fla
Section 473
//select_player_background03_1021 (Fombies_KenPlay_v44_fla.select_player_background03_1021)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class select_player_background03_1021 extends MovieClip {
public var bertBtn:SimpleButton;
public function select_player_background03_1021(){
super();
addFrameScript(0, frame1);
}
function frame1(){
bertBtn.addEventListener(MouseEvent.MOUSE_UP, chooseBert);
}
public function chooseBert(event:MouseEvent):void{
MovieClip(parent.parent).rt.setupBert(MovieClip(parent));
}
}
}//package Fombies_KenPlay_v44_fla
Section 474
//soundGrxBtn_365 (Fombies_KenPlay_v44_fla.soundGrxBtn_365)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class soundGrxBtn_365 extends MovieClip {
public function soundGrxBtn_365(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 475
//statsAirStrikeIcon_355 (Fombies_KenPlay_v44_fla.statsAirStrikeIcon_355)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statsAirStrikeIcon_355 extends MovieClip {
public function statsAirStrikeIcon_355(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 476
//statScreenUpgrades_342 (Fombies_KenPlay_v44_fla.statScreenUpgrades_342)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statScreenUpgrades_342 extends MovieClip {
public var airstrikeIcon:MovieClip;
public var diseaseIcon:MovieClip;
public var giantDohnutIcon:MovieClip;
public var repairIcon:MovieClip;
public var dohnutBoxIcon:MovieClip;
public var dohnutIcon:MovieClip;
public function statScreenUpgrades_342(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 477
//statsDiseaseIcon_358 (Fombies_KenPlay_v44_fla.statsDiseaseIcon_358)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statsDiseaseIcon_358 extends MovieClip {
public function statsDiseaseIcon_358(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 478
//statsDohnutBoxIcon_349 (Fombies_KenPlay_v44_fla.statsDohnutBoxIcon_349)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statsDohnutBoxIcon_349 extends MovieClip {
public function statsDohnutBoxIcon_349(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 479
//statsDohnutIcon_346 (Fombies_KenPlay_v44_fla.statsDohnutIcon_346)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statsDohnutIcon_346 extends MovieClip {
public function statsDohnutIcon_346(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 480
//statsGiantDohnutIcon_352 (Fombies_KenPlay_v44_fla.statsGiantDohnutIcon_352)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statsGiantDohnutIcon_352 extends MovieClip {
public function statsGiantDohnutIcon_352(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 481
//statsRepairIcon_343 (Fombies_KenPlay_v44_fla.statsRepairIcon_343)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class statsRepairIcon_343 extends MovieClip {
public function statsRepairIcon_343(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 482
//Symbol4b_379 (Fombies_KenPlay_v44_fla.Symbol4b_379)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class Symbol4b_379 extends MovieClip {
public function Symbol4b_379(){
super();
addFrameScript(0, frame1, 119, frame120);
}
function frame1(){
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, clck);
}
public function clck(event:MouseEvent){
var url:String;
var request:URLRequest;
url = "http://www.playtowerdefensegames.com";
request = new URLRequest(url);
navigateToURL(request, "_new");
}
function frame120(){
stop();
MovieClip(parent).gotoAndStop(2);
}
}
}//package Fombies_KenPlay_v44_fla
Section 483
//timerAnimMc_363 (Fombies_KenPlay_v44_fla.timerAnimMc_363)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class timerAnimMc_363 extends MovieClip {
public var timer:MovieClip;
public var numberOfBubbles:Number;
public var delay:Number;
public var maskMc:MovieClip;
public var bubbleCounter:Number;
public function timerAnimMc_363(){
super();
addFrameScript(0, frame1);
}
function frame1(){
numberOfBubbles = 10;
bubbleCounter = 0;
delay = 10;
}
}
}//package Fombies_KenPlay_v44_fla
Section 484
//titleSoundMc_68 (Fombies_KenPlay_v44_fla.titleSoundMc_68)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class titleSoundMc_68 extends MovieClip {
public function titleSoundMc_68(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 485
//tortoise_a_attacking_624 (Fombies_KenPlay_v44_fla.tortoise_a_attacking_624)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoise_a_attacking_624 extends MovieClip {
public function tortoise_a_attacking_624(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 486
//tortoise_a_dying_blownup_629 (Fombies_KenPlay_v44_fla.tortoise_a_dying_blownup_629)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_a_dying_blownup_629 extends MovieClip {
public function tortoise_a_dying_blownup_629(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 487
//tortoise_a_dying_bullet_626 (Fombies_KenPlay_v44_fla.tortoise_a_dying_bullet_626)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_a_dying_bullet_626 extends MovieClip {
public function tortoise_a_dying_bullet_626(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 488
//tortoise_a_dying_headshot_628 (Fombies_KenPlay_v44_fla.tortoise_a_dying_headshot_628)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_a_dying_headshot_628 extends MovieClip {
public function tortoise_a_dying_headshot_628(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 489
//tortoise_a_hit_625 (Fombies_KenPlay_v44_fla.tortoise_a_hit_625)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoise_a_hit_625 extends MovieClip {
public function tortoise_a_hit_625(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 490
//tortoise_b_attacking_634 (Fombies_KenPlay_v44_fla.tortoise_b_attacking_634)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoise_b_attacking_634 extends MovieClip {
public function tortoise_b_attacking_634(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 491
//tortoise_b_dying_blownup_638 (Fombies_KenPlay_v44_fla.tortoise_b_dying_blownup_638)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_b_dying_blownup_638 extends MovieClip {
public function tortoise_b_dying_blownup_638(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 492
//tortoise_b_dying_bullet_636 (Fombies_KenPlay_v44_fla.tortoise_b_dying_bullet_636)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_b_dying_bullet_636 extends MovieClip {
public function tortoise_b_dying_bullet_636(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 493
//tortoise_b_dying_headshot_637 (Fombies_KenPlay_v44_fla.tortoise_b_dying_headshot_637)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_b_dying_headshot_637 extends MovieClip {
public function tortoise_b_dying_headshot_637(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 494
//tortoise_b_hit_635 (Fombies_KenPlay_v44_fla.tortoise_b_hit_635)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoise_b_hit_635 extends MovieClip {
public function tortoise_b_hit_635(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 495
//tortoise_c_attacking_642 (Fombies_KenPlay_v44_fla.tortoise_c_attacking_642)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoise_c_attacking_642 extends MovieClip {
public function tortoise_c_attacking_642(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 496
//tortoise_c_dying_blownup_646 (Fombies_KenPlay_v44_fla.tortoise_c_dying_blownup_646)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_c_dying_blownup_646 extends MovieClip {
public function tortoise_c_dying_blownup_646(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 497
//tortoise_c_dying_bullet_644 (Fombies_KenPlay_v44_fla.tortoise_c_dying_bullet_644)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_c_dying_bullet_644 extends MovieClip {
public function tortoise_c_dying_bullet_644(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 498
//tortoise_c_dying_headshot_645 (Fombies_KenPlay_v44_fla.tortoise_c_dying_headshot_645)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tortoise_c_dying_headshot_645 extends MovieClip {
public function tortoise_c_dying_headshot_645(){
super();
addFrameScript(27, frame28);
}
function frame28(){
MovieClip(parent.parent).myObject.dead = true;
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 499
//tortoise_c_hit_643 (Fombies_KenPlay_v44_fla.tortoise_c_hit_643)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoise_c_hit_643 extends MovieClip {
public function tortoise_c_hit_643(){
super();
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 500
//tortoiseA_616 (Fombies_KenPlay_v44_fla.tortoiseA_616)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoiseA_616 extends MovieClip {
public var hdShot:MovieClip;
public function tortoiseA_616(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 501
//tortoiseAShellIn_630 (Fombies_KenPlay_v44_fla.tortoiseAShellIn_630)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoiseAShellIn_630 extends MovieClip {
public function tortoiseAShellIn_630(){
super();
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 502
//tortoiseAShellOut_631 (Fombies_KenPlay_v44_fla.tortoiseAShellOut_631)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoiseAShellOut_631 extends MovieClip {
public function tortoiseAShellOut_631(){
super();
addFrameScript(11, frame12);
}
function frame12(){
MovieClip(parent).gotoAndStop("run");
}
}
}//package Fombies_KenPlay_v44_fla
Section 503
//tortoiseB_632 (Fombies_KenPlay_v44_fla.tortoiseB_632)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoiseB_632 extends MovieClip {
public var hdShot:MovieClip;
public function tortoiseB_632(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 504
//tortoiseC_639 (Fombies_KenPlay_v44_fla.tortoiseC_639)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
public dynamic class tortoiseC_639 extends MovieClip {
public var hdShot:MovieClip;
public function tortoiseC_639(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Fombies_KenPlay_v44_fla
Section 505
//upgradeGrxBtn_882 (Fombies_KenPlay_v44_fla.upgradeGrxBtn_882)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class upgradeGrxBtn_882 extends MovieClip {
public var clipSizeTxt:TextField;
public var upgradeBtn:SimpleButton;
public function upgradeGrxBtn_882(){
super();
addFrameScript(0, frame1, 1, frame2);
}
public function doUpgrade(event:MouseEvent):void{
MovieClip(parent.parent).doUpgrade();
}
function frame1(){
stop();
}
function frame2(){
upgradeBtn.addEventListener(MouseEvent.MOUSE_UP, doUpgrade);
}
}
}//package Fombies_KenPlay_v44_fla
Section 506
//weapon_menu_866 (Fombies_KenPlay_v44_fla.weapon_menu_866)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.text.*;
public dynamic class weapon_menu_866 extends MovieClip {
public var grenadeBtn:SimpleButton;
public var miniGunBtn:SimpleButton;
public var bulletInc2Btn:SimpleButton;
public var levelTxt:TextField;
public var exitBtn:SimpleButton;
public var bulletDec2Btn:SimpleButton;
public var gunBox:currentGunBox;
public var grenadeLauncherBtn:SimpleButton;
public var strengthTxt:TextField;
public var shotgunBtn:SimpleButton;
public var sniperRifleBtn:SimpleButton;
public var bulletsCostTxt:TextField;
public var miniUziBtn:SimpleButton;
public var bulletDecBtn:SimpleButton;
public var accuracyTxt:TextField;
public var giantDohnutBtn:SimpleButton;
public var coltBtn:SimpleButton;
public var upgradeMc:MovieClip;
public var descriptionTxt:TextField;
public var energyTxt:TextField;
public var desertEagleBtn:SimpleButton;
public var restoreBtn:SimpleButton;
public var bulletsTxt:TextField;
public var dohnutBtn:SimpleButton;
public var aK47Btn:SimpleButton;
public var clipSizeTxt:TextField;
public var airstrikeBtn:SimpleButton;
public var bulletIncBtn:SimpleButton;
public var p90Btn:SimpleButton;
public var diseaseBtn:SimpleButton;
public var costTxt:TextField;
public var myMoneyTxt:TextField;
public var m4Btn:SimpleButton;
public var repairBtn:SimpleButton;
public var saveBtn:SimpleButton;
public var m16Btn:SimpleButton;
public var gSold:weaponsSold;
public var dohnutBoxBtn:SimpleButton;
public var playerChoice:MovieClip;
public var nameTxt:TextField;
public var buyBtn:SimpleButton;
public function weapon_menu_866(){
super();
}
}
}//package Fombies_KenPlay_v44_fla
Section 507
//weaponPlayer1Sw_956 (Fombies_KenPlay_v44_fla.weaponPlayer1Sw_956)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class weaponPlayer1Sw_956 extends MovieClip {
public var wCBtn1:SimpleButton;
public var player1Txt:TextField;
public function weaponPlayer1Sw_956(){
super();
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
wCBtn1.addEventListener(MouseEvent.MOUSE_UP, MovieClip(parent.parent.parent).showPlayer1WeaponsB);
}
}
}//package Fombies_KenPlay_v44_fla
Section 508
//weaponPlayer2Sw_958 (Fombies_KenPlay_v44_fla.weaponPlayer2Sw_958)
package Fombies_KenPlay_v44_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.filters.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class weaponPlayer2Sw_958 extends MovieClip {
public var wCBtn2:SimpleButton;
public var player1Txt:TextField;
public function weaponPlayer2Sw_958(){
super();
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
wCBtn2.addEventListener(MouseEvent.MOUSE_UP, MovieClip(parent.parent.parent).showPlayer2WeaponsB);
}
}
}//package Fombies_KenPlay_v44_fla
Section 509
//MochiAd (mochi.as3.MochiAd)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiAd {
public function MochiAd(){
super();
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function showClickAwayAd(options:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_timeout:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = options;
DEFAULTS = {ad_timeout:5500, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{
}, ad_finished:function ():void{
}, ad_loaded:function (width:Number, height:Number):void{
}, ad_failed:function ():void{
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.rpc = function (callbackID:Number, arg:Object):void{
MochiAd.rpc(clip, callbackID, arg);
};
chk["onEnterFrame"] = function ():void{
var ad_clip:Object;
var elapsed:Number;
var finished:Boolean;
var total:Number;
if (!this.parent){
delete this.onEnterFrame;
return;
};
ad_clip = this.parent._mochiad_ctr;
elapsed = (getTimer() - this.started);
finished = false;
if (!chk.showing){
total = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (total > 0){
chk.showing = true;
finished = true;
chk.started = getTimer();
} else {
if (elapsed > chk.ad_timeout){
options.ad_failed();
finished = true;
};
};
};
if (this.root == null){
finished = true;
};
if (finished){
delete this.onEnterFrame;
};
};
doOnEnterFrame(chk);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function _allowDomains(server:String):String{
var hostname:String;
hostname = server.split("/")[2].split(":")[0];
if (Security.sandboxType == "application"){
return (hostname);
};
Security.allowDomain("*");
Security.allowDomain(hostname);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(hostname);
return (hostname);
}
public static function unload(clip:Object):Boolean{
if (((clip.clip) && (clip.clip._mochiad))){
clip = clip.clip;
};
if (clip.origFrameRate != undefined){
clip.stage.frameRate = clip.origFrameRate;
};
if (!clip._mochiad){
return (false);
};
if (clip._mochiad._containerLCName != undefined){
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
};
if (clip._mochiad.onUnload){
clip._mochiad.onUnload();
};
delete clip._mochiad_loaded;
delete clip._mochiad;
return (true);
}
public static function showInterLevelAd(options:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = options;
DEFAULTS = {ad_timeout:5500, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (width:Number, height:Number):void{
}, ad_failed:function ():void{
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var p:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0){
this.parent.alpha = (p * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (msec:Number):void{
var _chk:Object;
_chk = mc._mochiad_wait;
_chk.server_control = true;
_chk.showing = true;
_chk.started = getTimer();
_chk.ad_msec = (msec - 250);
};
mc.rpc = function (callbackID:Number, arg:Object):void{
MochiAd.rpc(clip, callbackID, arg);
};
chk["onEnterFrame"] = function ():void{
var ad_clip:Object;
var elapsed:Number;
var finished:Boolean;
var total:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
ad_clip = this.parent._mochiad_ctr;
elapsed = (getTimer() - this.started);
finished = false;
if (!chk.showing){
total = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (total > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if (elapsed > chk.ad_timeout){
options.ad_failed();
finished = true;
};
};
};
if (elapsed > chk.ad_msec){
finished = true;
};
if (finished){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _parseOptions(options:Object, defaults:Object):Object{
var optcopy:Object;
var k:String;
var pairs:Array;
var i:Number;
var kv:Array;
optcopy = {};
for (k in defaults) {
optcopy[k] = defaults[k];
};
if (options){
for (k in options) {
optcopy[k] = options[k];
};
};
if (optcopy.clip == undefined){
throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite."));
};
options = optcopy.clip.loaderInfo.parameters.mochiad_options;
if (options){
pairs = options.split("&");
i = 0;
while (i < pairs.length) {
kv = pairs[i].split("=");
optcopy[unescape(kv[0])] = unescape(kv[1]);
i++;
};
};
if (optcopy.id == "test"){
};
return (optcopy);
}
public static function _cleanup(mc:Object):void{
var idx:Number;
var k:String;
var lc:LocalConnection;
var f:Function;
var mc = mc;
if (("lc" in mc)){
lc = mc.lc;
f = function ():void{
lc.client = null;
lc.close();
//unresolved jump
var _slot1 = e;
};
setTimeout(f, 0);
};
idx = DisplayObjectContainer(mc).numChildren;
while (idx > 0) {
idx = (idx - 1);
DisplayObjectContainer(mc).removeChildAt(idx);
};
for (k in mc) {
delete mc[k];
};
}
public static function load(options:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var depth:Number;
var mc:MovieClip;
var wh:Array;
var lv:URLVariables;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var g:Function;
var req:URLRequest;
var v:Object;
var options = options;
DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!(clip is DisplayObject)){
return (null);
};
if (MovieClip(clip).stage == null){
return (null);
};
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip._mochiad_loaded){
return (null);
};
//unresolved jump
var _slot1 = e;
throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
wh = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
if (clip.loaderInfo.loaderURL.indexOf("http") == 0){
options.as3_swf = clip.loaderInfo.loaderURL;
//unresolved jump
};
lv = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
mc.lcName = name;
lv.lc = name;
lv.st = getTimer();
mc.regContLC = function (lc_name:String):void{
mc._containerLCName = lc_name;
};
loader = new Loader();
g = function (ev:Object):void{
ev.target.removeEventListener(ev.type, arguments.callee);
MochiAd.unload(clip);
};
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g);
req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime()));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (io:IOErrorEvent):void{
});
if (!options.skip){
loader.load(req);
};
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function runMethod(base:Object, methodName:String, argsArray:Array):Object{
var nameArray:Array;
var i:Number;
nameArray = methodName.split(".");
i = 0;
while (i < (nameArray.length - 1)) {
if ((((base[nameArray[i]] == undefined)) || ((base[nameArray[i]] == null)))){
return (undefined);
};
base = base[nameArray[i]];
i++;
};
if (typeof(base[nameArray[i]]) == "function"){
return (base[nameArray[i]].apply(base, argsArray));
};
return (undefined);
}
public static function createEmptyMovieClip(parent:Object, name:String, depth:Number):MovieClip{
var mc:MovieClip;
mc = new MovieClip();
if (((false) && (depth))){
parent.addChildAt(mc, depth);
} else {
parent.addChild(mc);
};
parent[name] = mc;
mc["_name"] = name;
return (mc);
}
public static function _getRes(options:Object, clip:Object):Array{
var b:Object;
var w:Number;
var h:Number;
var xy:Array;
b = clip.getBounds(clip.root);
w = 0;
h = 0;
if (typeof(options.res) != "undefined"){
xy = options.res.split("x");
w = parseFloat(xy[0]);
h = parseFloat(xy[1]);
} else {
w = (b.right - b.left);
h = (b.top - b.bottom);
};
if ((((w == 0)) || ((h == 0)))){
w = clip.stage.stageWidth;
h = clip.stage.stageHeight;
};
return ([w, h]);
}
public static function adShowing(mc:Object):void{
mc.origFrameRate = mc.stage.frameRate;
mc.stage.frameRate = 30;
}
public static function getValue(base:Object, objectName:String):Object{
var nameArray:Array;
var i:Number;
nameArray = objectName.split(".");
i = 0;
while (i < (nameArray.length - 1)) {
if ((((base[nameArray[i]] == undefined)) || ((base[nameArray[i]] == null)))){
return (undefined);
};
base = base[nameArray[i]];
i++;
};
return (base[nameArray[i]]);
}
public static function rpc(clip:Object, callbackID:Number, arg:Object):void{
var _local4:Object;
var _local5:Object;
switch (arg.id){
case "setValue":
MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case "getValue":
_local4 = MochiAd.getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod":
_local5 = MochiAd.runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local5);
break;
};
}
public static function setValue(base:Object, objectName:String, value:Object):void{
var nameArray:Array;
var i:Number;
nameArray = objectName.split(".");
i = 0;
while (i < (nameArray.length - 1)) {
if ((((base[nameArray[i]] == undefined)) || ((base[nameArray[i]] == null)))){
return;
};
base = base[nameArray[i]];
i++;
};
base[nameArray[i]] = value;
}
public static function showPreGameAd(options:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var bar:MovieClip;
var bar_w:Number;
var bar_color:Number;
var bar_background:Number;
var bar_outline:Number;
var backing_mc:MovieClip;
var backing:Object;
var inside_mc:MovieClip;
var inside:Object;
var outline_mc:MovieClip;
var outline:Object;
var complete:Boolean;
var unloaded:Boolean;
var progress:Number;
var f:Function;
var sendHostProgress:Boolean;
var fn:Function;
var r:MovieClip;
var options = options;
DEFAULTS = {ad_timeout:5500, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (width:Number, height:Number):void{
}, ad_failed:function ():void{
}, ad_skipped:function ():void{
}, ad_progress:function (percent:Number):void{
}, progress_override:function (_clip:Object):Number{
return (NaN);
}, bar_offset:0};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){
options.ad_started();
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
return;
};
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
if (options.skip){
ad_timeout = 0;
};
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
var fn:Function;
MochiAd._cleanup(mc);
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
bar = createEmptyMovieClip(chk, "_mochiad_bar", 4);
if (options.no_progress_bar){
bar.visible = false;
delete options.no_progress_bar;
} else {
bar.x = (10 + options.bar_offset);
bar.y = (h - 20);
};
bar_w = ((w - bar.x) - 10);
bar_color = options.color;
delete options.color;
bar_background = options.background;
delete options.background;
bar_outline = options.outline;
delete options.outline;
backing_mc = createEmptyMovieClip(bar, "_outline", 1);
backing = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo(bar_w, 0);
backing.lineTo(bar_w, 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
inside_mc = createEmptyMovieClip(bar, "_inside", 2);
inside = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo(bar_w, 0);
inside.lineTo(bar_w, 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
outline_mc = createEmptyMovieClip(bar, "_outline", 3);
outline = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo(bar_w, 0);
outline.lineTo(bar_w, 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var p:Number;
p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0){
this.parent.alpha = (p * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
complete = false;
unloaded = false;
progress = Math.min(1, options.progress_override(clip));
f = function (ev:Event):void{
ev.target.removeEventListener(ev.type, arguments.callee);
complete = true;
if (unloaded){
MochiAd.unload(clip);
};
};
if (!isNaN(progress)){
complete = (progress == 1);
} else {
if (clip.loaderInfo.bytesLoaded == clip.loaderInfo.bytesTotal){
complete = true;
} else {
if ((clip.root is MovieClip)){
r = (clip.root as MovieClip);
if (r.framesLoaded >= r.totalFrames){
complete = true;
} else {
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
};
} else {
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
};
};
};
mc.unloadAd = function ():void{
unloaded = true;
if (complete){
MochiAd.unload(clip);
};
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (msec:Number):void{
var _chk:Object;
_chk = mc._mochiad_wait;
_chk.server_control = true;
_chk.showing = true;
_chk.started = getTimer();
_chk.ad_msec = msec;
};
mc.rpc = function (callbackID:Number, arg:Object):void{
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s:String):Object{
return (s);
};
sendHostProgress = false;
mc.sendHostLoadProgress = function (lc_name:String):void{
sendHostProgress = true;
};
chk["onEnterFrame"] = function ():void{
var _clip:Object;
var ad_clip:Object;
var elapsed:Number;
var finished:Boolean;
var clip_total:Number;
var clip_loaded:Number;
var clip_progress:Number;
var clip_pcnt:Number;
var ad_pcnt:Number;
var _inside:Object;
var pcnt:Number;
var total:Number;
if (((!(this.parent)) || (!(this.parent.parent)))){
delete this["onEnterFrame"];
return;
};
_clip = this.parent.parent.root;
ad_clip = this.parent._mochiad_ctr;
elapsed = (getTimer() - this.started);
finished = false;
clip_total = _clip.loaderInfo.bytesTotal;
clip_loaded = _clip.loaderInfo.bytesLoaded;
clip_progress = Math.min(1, options.progress_override(_clip));
if (clip_progress == 1){
complete = true;
};
if (complete){
clip_loaded = Math.max(1, clip_loaded);
clip_total = clip_loaded;
};
clip_pcnt = ((100 * clip_loaded) / clip_total);
if (!isNaN(clip_progress)){
clip_pcnt = (100 * clip_progress);
};
ad_pcnt = ((100 * elapsed) / chk.ad_msec);
_inside = this._mochiad_bar._inside;
pcnt = Math.min(100, Math.min(((clip_pcnt) || (0)), ad_pcnt));
pcnt = Math.max(this.last_pcnt, pcnt);
this.last_pcnt = pcnt;
_inside.scaleX = (pcnt * 0.01);
options.ad_progress(pcnt);
if (sendHostProgress){
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:clip_pcnt});
if (clip_pcnt >= 100){
sendHostProgress = false;
};
};
if (!chk.showing){
total = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (total > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if ((((elapsed > chk.ad_timeout)) && ((clip_pcnt == 100)))){
options.ad_failed();
finished = true;
};
};
};
if (elapsed > chk.ad_msec){
finished = true;
};
if (((complete) && (finished))){
if (unloaded){
MochiAd.unload(_clip);
} else {
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
};
doOnEnterFrame(chk);
}
public static function showPreloaderAd(options:Object):void{
MochiAd.showPreGameAd(options);
}
public static function showTimedAd(options:Object):void{
MochiAd.showInterLevelAd(options);
}
public static function doOnEnterFrame(mc:MovieClip):void{
var f:Function;
var mc = mc;
f = function (ev:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
ev.target.removeEventListener(ev.type, arguments.callee);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package mochi.as3
Section 510
//MochiCoins (mochi.as3.MochiCoins)
package mochi.as3 {
public class MochiCoins {
public static const STORE_HIDE:String = "StoreHide";
public static const NO_USER:String = "NoUser";
public static const IO_ERROR:String = "IOError";
public static const ITEM_NEW:String = "ItemNew";
public static const ITEM_OWNED:String = "ItemOwned";
public static const STORE_ITEMS:String = "StoreItems";
public static const ERROR:String = "Error";
public static const STORE_SHOW:String = "StoreShow";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static var _inventory:MochiInventory;
public function MochiCoins(){
super();
}
public static function triggerEvent(eventType:String, args:Object):void{
_dispatcher.triggerEvent(eventType, args);
}
public static function removeEventListener(eventType:String, delegate:Function):void{
_dispatcher.removeEventListener(eventType, delegate);
}
public static function addEventListener(eventType:String, delegate:Function):void{
_dispatcher.addEventListener(eventType, delegate);
}
public static function getStoreItems():void{
MochiServices.send("coins_getStoreItems");
}
public static function get inventory():MochiInventory{
return (_inventory);
}
public static function showStore(options:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showStore", {options:options}, null, null);
}
public static function requestFunding(properties:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestFunding", properties);
}
public static function showItem(options:Object=null):void{
if (((!(options)) || (!((typeof(options.item) == "string"))))){
return;
};
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showItem", {options:options}, null, null);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function showVideo(options:Object=null):void{
if (((!(options)) || (!((typeof(options.item) == "string"))))){
return;
};
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showVideo", {options:options}, null, null);
}
addEventListener(MochiSocial.LOGGED_IN, function (args:Object):void{
_inventory = new MochiInventory();
});
addEventListener(MochiSocial.LOGGED_OUT, function (args:Object):void{
_inventory = null;
});
}
}//package mochi.as3
Section 511
//MochiDigits (mochi.as3.MochiDigits)
package mochi.as3 {
public final class MochiDigits {
private var Sibling:MochiDigits;
private var Fragment:Number;
private var Encoder:Number;
public function MochiDigits(digit:Number=0, index:uint=0):void{
super();
Encoder = 0;
setValue(digit, index);
}
public function set value(v:Number):void{
setValue(v);
}
public function reencode():void{
var newEncode:uint;
newEncode = int((2147483647 * Math.random()));
Fragment = (Fragment ^ (newEncode ^ Encoder));
Encoder = newEncode;
}
public function toString():String{
var s:String;
s = String.fromCharCode((Fragment ^ Encoder));
if (Sibling != null){
s = (s + Sibling.toString());
};
return (s);
}
public function get value():Number{
return (Number(this.toString()));
}
public function setValue(digit:Number=0, index:uint=0):void{
var s:String;
s = digit.toString();
var _temp1 = index;
index = (index + 1);
Fragment = (s.charCodeAt(_temp1) ^ Encoder);
if (index < s.length){
Sibling = new MochiDigits(digit, index);
} else {
Sibling = null;
};
reencode();
}
public function addValue(inc:Number):void{
value = (value + inc);
}
}
}//package mochi.as3
Section 512
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher)
package mochi.as3 {
public class MochiEventDispatcher {
private var eventTable:Object;
public function MochiEventDispatcher():void{
super();
eventTable = {};
}
public function triggerEvent(event:String, args:Object):void{
var i:Object;
if (eventTable[event] == undefined){
return;
};
for (i in eventTable[event]) {
var _local6 = eventTable[event];
_local6[i](args);
};
}
public function removeEventListener(event:String, delegate:Function):void{
var s:Object;
if (eventTable[event] == undefined){
eventTable[event] = [];
return;
};
for (s in eventTable[event]) {
if (eventTable[event][s] != delegate){
} else {
eventTable[event].splice(Number(s), 1);
};
};
}
public function addEventListener(event:String, delegate:Function):void{
removeEventListener(event, delegate);
eventTable[event].push(delegate);
}
}
}//package mochi.as3
Section 513
//MochiEvents (mochi.as3.MochiEvents)
package mochi.as3 {
import flash.display.*;
public class MochiEvents {
public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL";
public static const FORMAT_LONG:String = "LongForm";
public static const ALIGN_BOTTOM:String = "ALIGN_B";
public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived";
public static const FORMAT_SHORT:String = "ShortForm";
public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR";
public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR";
public static const ALIGN_TOP:String = "ALIGN_T";
public static const ALIGN_LEFT:String = "ALIGN_L";
public static const ALIGN_RIGHT:String = "ALIGN_R";
public static const ALIGN_TOP_LEFT:String = "ALIGN_TL";
public static const ALIGN_CENTER:String = "ALIGN_C";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
private static var gameStart:Number;
private static var levelStart:Number;
public function MochiEvents(){
super();
}
public static function endPlay():void{
MochiServices.send("events_clearRoundID", null, null, null);
}
public static function addEventListener(eventType:String, delegate:Function):void{
_dispatcher.addEventListener(eventType, delegate);
}
public static function trackEvent(tag:String, value=null):void{
MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
public static function removeEventListener(eventType:String, delegate:Function):void{
_dispatcher.removeEventListener(eventType, delegate);
}
public static function startSession(achievementID:String):void{
MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
public static function triggerEvent(eventType:String, args:Object):void{
_dispatcher.triggerEvent(eventType, args);
}
public static function setNotifications(clip:MovieClip, style:Object):void{
var args:Object;
var s:Object;
args = {};
for (s in style) {
args[s] = style[s];
};
args.clip = clip;
MochiServices.send("events_setNotifications", args, null, null);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function startPlay(tag:String="gameplay"):void{
MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
}
}//package mochi.as3
Section 514
//MochiInventory (mochi.as3.MochiInventory)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
public dynamic class MochiInventory extends Proxy {
private var _timer:Timer;
private var _names:Array;
private var _consumableProperties:Object;
private var _syncID:Number;
private var _storeSync:Object;
private var _outstandingID:Number;
private var _syncPending:Boolean;
public static const READY:String = "InvReady";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IoError";
private static const KEY_SALT:String = " syncMaint";
public static const WRITTEN:String = "InvWritten";
public static const NOT_READY:String = "InvNotReady";
public static const VALUE_ERROR:String = "InvValueError";
private static const CONSUMER_KEY:String = "MochiConsumables";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public function MochiInventory():void{
super();
MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned);
MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems);
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut);
_storeSync = new Object();
_syncPending = false;
_outstandingID = 0;
_syncID = 0;
_timer = new Timer(1000);
_timer.addEventListener(TimerEvent.TIMER, sync);
_timer.start();
if (MochiSocial.loggedIn){
loggedIn();
} else {
loggedOut();
};
}
private function newItems(event:Object):void{
if (!this[(event.id + KEY_SALT)]){
this[(event.id + KEY_SALT)] = 0;
};
if (!this[event.id]){
this[event.id] = 0;
};
this[(event.id + KEY_SALT)] = (this[(event.id + KEY_SALT)] + event.count);
this[event.id] = (this[event.id] + event.count);
if (((event.privateProperties) && (event.privateProperties.consumable))){
if (!this[event.privateProperties.tag]){
this[event.privateProperties.tag] = 0;
};
this[event.privateProperties.tag] = (this[event.privateProperties.tag] + (event.privateProperties.inc * event.count));
};
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(name){
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return (-1);
};
if (_consumableProperties[name]){
return (MochiDigits(_consumableProperties[name]).value);
};
return (undefined);
}
public function release():void{
MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems);
MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(name):Boolean{
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return (false);
};
if (_consumableProperties[name] == undefined){
return (false);
};
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(index:int):int{
return (((index)>=_names.length) ? 0 : (index + 1));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(name, value):void{
var d:MochiDigits;
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return;
};
if (!(value is Number)){
triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:value});
return;
};
if (_consumableProperties[name]){
d = MochiDigits(_consumableProperties[name]);
if (d.value == value){
return;
};
d.value = value;
} else {
_names.push(name);
_consumableProperties[name] = new MochiDigits(value);
};
_syncID++;
}
private function sync(e:Event=null):void{
var output:Object;
var key:String;
if (((_syncPending) || ((_syncID == _outstandingID)))){
return;
};
_outstandingID = _syncID;
output = {};
for (key in _consumableProperties) {
output[key] = MochiDigits(_consumableProperties[key]).value;
};
MochiUserData.put(CONSUMER_KEY, output, putConsumableBag);
_syncPending = true;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(index:int):String{
return (_names[(index - 1)]);
}
private function loggedIn(args:Object=null):void{
MochiUserData.get(CONSUMER_KEY, getConsumableBag);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(name):Boolean{
if (!_consumableProperties[name]){
return (false);
};
_names.splice(_names.indexOf(name), 1);
delete _consumableProperties[name];
return (true);
}
private function itemOwned(event:Object):void{
_storeSync[event.id] = {properties:event.properties, count:event.count};
}
private function putConsumableBag(userData:MochiUserData):void{
_syncPending = false;
if (userData.error){
triggerEvent(ERROR, {type:IO_ERROR, error:userData.error});
_outstandingID = -1;
};
triggerEvent(WRITTEN, {});
}
private function getConsumableBag(userData:MochiUserData):void{
var key:String;
var unsynced:Number;
if (userData.error){
triggerEvent(ERROR, {type:IO_ERROR, error:userData.error});
return;
};
_consumableProperties = {};
_names = new Array();
if (userData.data){
for (key in userData.data) {
_names.push(key);
_consumableProperties[key] = new MochiDigits(userData.data[key]);
};
};
for (key in _storeSync) {
unsynced = _storeSync[key].count;
if (_consumableProperties[(key + KEY_SALT)]){
unsynced = (unsynced - _consumableProperties[(key + KEY_SALT)].value);
};
if (unsynced == 0){
} else {
newItems({id:key, count:unsynced, properties:_storeSync[key].properties});
};
};
triggerEvent(READY, {});
}
private function loggedOut(args:Object=null):void{
_consumableProperties = null;
}
public static function triggerEvent(eventType:String, args:Object):void{
_dispatcher.triggerEvent(eventType, args);
}
public static function removeEventListener(eventType:String, delegate:Function):void{
_dispatcher.removeEventListener(eventType, delegate);
}
public static function addEventListener(eventType:String, delegate:Function):void{
_dispatcher.addEventListener(eventType, delegate);
}
}
}//package mochi.as3
Section 515
//MochiServices (mochi.as3.MochiServices)
package mochi.as3 {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiServices {
public static const CONNECTED:String = "onConnected";
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _queue:Array;
private static var _swfVersion:String;
private static var _preserved:Object;
public static var netupAttempted:Boolean = false;
private static var _sendChannel:LocalConnection;
private static var _nextCallbackID:Number;
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _id:String;
private static var _services:String = "services.swf";
private static var _servURL:String = "http://www.mochiads.com/static/lib/services/";
public static var widget:Boolean = false;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
private static var _callbacks:Object;
private static var _connecting:Boolean = false;
private static var _mochiLocalConnection:MovieClip;
private static var _listenChannelName:String = "__ms_";
public static var onError:Object;
public static var netup:Boolean = true;
private static var _mochiLC:String = "MochiLC.swf";
public function MochiServices(){
super();
}
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function get connected():Boolean{
return (_connected);
}
private static function onReceive(pkg:Object):void{
var cb:String;
var cblst:Object;
var method:*;
var methodName:String;
var obj:Object;
var pkg = pkg;
cb = pkg.callbackID;
cblst = _callbacks[cb];
if (!cblst){
return;
};
method = cblst.callbackMethod;
methodName = "";
obj = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
//unresolved jump
};
};
if (method != undefined){
method.apply(obj, pkg.args);
//unresolved jump
var _slot1 = error;
} else {
if (obj != null){
obj(pkg.args);
//unresolved jump
var _slot1 = error;
};
};
delete _callbacks[cb];
}
public static function send(methodName:String, args:Object=null, callbackObject:Object=null, callbackMethod:Object=null):void{
if (_connected){
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_nextCallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
handleError(args, callbackObject, callbackMethod);
flush(true);
return;
};
_queue.push({methodName:methodName, args:args, callbackID:_nextCallbackID});
};
if (_clip != null){
if (_callbacks != null){
_callbacks[_nextCallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_nextCallbackID++;
};
};
}
private static function init(id:String, clip:Object):void{
_id = id;
if (clip != null){
_container = clip;
loadCommunicator(id, _container);
};
}
private static function clickMovie(url:String, cb:Function):MovieClip{
var avm1_bytecode:Array;
var b:int;
var header:Array;
var footer:Array;
var mc:MovieClip;
var lc:LocalConnection;
var lc_name:String;
var ba:ByteArray;
var cpool:ByteArray;
var actionLength:uint;
var fileLength:uint;
var loader:Loader;
avm1_bytecode = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23];
header = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
footer = [0, 64, 0, 0, 0];
mc = new MovieClip();
lc = new LocalConnection();
lc_name = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time));
lc = new LocalConnection();
mc.lc = lc;
mc.click = cb;
lc.client = mc;
lc.connect(lc_name);
ba = new ByteArray();
cpool = new ByteArray();
cpool.endian = Endian.LITTLE_ENDIAN;
cpool.writeShort(1);
cpool.writeUTFBytes(((url + " ") + lc_name));
cpool.writeByte(0);
actionLength = ((avm1_bytecode.length + cpool.length) + 4);
fileLength = (actionLength + 35);
ba.endian = Endian.LITTLE_ENDIAN;
ba.writeUTFBytes("FWS");
ba.writeByte(8);
ba.writeUnsignedInt(fileLength);
for each (b in header) {
ba.writeByte(b);
};
ba.writeUnsignedInt(actionLength);
ba.writeByte(136);
ba.writeShort(cpool.length);
ba.writeBytes(cpool);
for each (b in avm1_bytecode) {
ba.writeByte(b);
};
for each (b in footer) {
ba.writeByte(b);
};
loader = new Loader();
loader.loadBytes(ba);
mc.addChild(loader);
return (mc);
}
private static function detach(event:Event):void{
var loader:LoaderInfo;
loader = LoaderInfo(event.target);
loader.removeEventListener(Event.COMPLETE, detach);
loader.removeEventListener(IOErrorEvent.IO_ERROR, detach);
loader.removeEventListener(Event.COMPLETE, loadLCBridgeComplete);
loader.removeEventListener(IOErrorEvent.IO_ERROR, loadError);
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
private static function loadLCBridgeComplete(e:Event):void{
var loader:Loader;
loader = LoaderInfo(e.target).loader;
_mochiLocalConnection = MovieClip(loader.content);
listen();
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
_mochiLocalConnection.close();
//unresolved jump
var _slot1 = error;
};
if (_timer != null){
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
_timer = null;
//unresolved jump
var _slot1 = error;
};
}
public static function allowDomains(server:String):String{
var hostname:String;
if (Security.sandboxType != "application"){
Security.allowDomain("*");
Security.allowInsecureDomain("*");
};
if (server.indexOf("http://") != -1){
hostname = server.split("/")[2].split(":")[0];
if (Security.sandboxType != "application"){
Security.allowDomain(hostname);
Security.allowInsecureDomain(hostname);
};
};
return (hostname);
}
public static function getVersion():String{
return ("3.9.1 as3");
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
}
public static function warnID(bid:String, leaderboard:Boolean):void{
var i:Number;
bid = bid.toLowerCase();
if (bid.length != 16){
return;
};
if (bid == "1e113c7239048b3f"){
if (leaderboard){
//unresolved jump
};
return;
} else {
if (bid == "84993a1de4031cd8"){
if (leaderboard){
//unresolved jump
};
return;
};
};
i = 0;
while (i < bid.length) {
switch (bid.charAt(i)){
case "0":
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "a":
case "b":
case "c":
case "d":
case "e":
case "f":
break;
default:
return;
};
i++;
};
}
private static function flush(error:Boolean):void{
var request:Object;
var callback:Object;
if (((_clip) && (_queue))){
while (_queue.length > 0) {
request = _queue.shift();
callback = null;
if (request != null){
if (request.callbackID != null){
callback = _callbacks[request.callbackID];
};
delete _callbacks[request.callbackID];
if (((error) && (!((callback == null))))){
handleError(request.args, callback.callbackObject, callback.callbackMethod);
};
};
};
};
}
public static function get id():String{
return (_id);
}
private static function onEvent(pkg:Object):void{
var target:String;
var event:String;
target = pkg.target;
event = pkg.event;
switch (target){
case "services":
MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events":
MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins":
MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social":
MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
};
}
private static function urlOptions(clip:Object):Object{
var opts:Object;
var options:String;
var pairs:Array;
var i:Number;
var kv:Array;
opts = {};
if (clip.stage){
options = clip.stage.loaderInfo.parameters.mochiad_options;
} else {
options = clip.loaderInfo.parameters.mochiad_options;
};
if (options){
pairs = options.split("&");
i = 0;
while (i < pairs.length) {
kv = pairs[i].split("=");
opts[unescape(kv[0])] = unescape(kv[1]);
i++;
};
};
return (opts);
}
public static function addLinkEvent(url:String, burl:String, btn:DisplayObjectContainer, onClick:Function=null):void{
var vars:Object;
var avm1Click:DisplayObject;
var s:String;
var i:Number;
var x:String;
var req:URLRequest;
var loader:Loader;
var setURL:Function;
var err:Function;
var complete:Function;
var url = url;
var burl = burl;
var btn = btn;
var onClick = onClick;
vars = new Object();
vars["mav"] = getVersion();
vars["swfv"] = "9";
vars["swfurl"] = btn.loaderInfo.loaderURL;
vars["fv"] = Capabilities.version;
vars["os"] = Capabilities.os;
vars["lang"] = Capabilities.language;
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
s = "?";
i = 0;
for (x in vars) {
if (i != 0){
s = (s + "&");
};
i = (i + 1);
s = (((s + x) + "=") + escape(vars[x]));
};
req = new URLRequest("http://link.mochiads.com/linkping.swf");
loader = new Loader();
setURL = function (url:String):void{
var rect:Rectangle;
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = clickMovie(url, onClick);
rect = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = rect.x;
avm1Click.y = rect.y;
avm1Click.scaleX = (0.01 * rect.width);
avm1Click.scaleY = (0.01 * rect.height);
};
err = function (ev:Object):void{
netup = false;
ev.target.removeEventListener(ev.type, arguments.callee);
setURL(burl);
};
complete = function (ev:Object):void{
ev.target.removeEventListener(ev.type, arguments.callee);
};
if (netup){
setURL((url + s));
} else {
setURL(burl);
};
if (!((netupAttempted) || (_connected))){
netupAttempted = true;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.load(req);
};
}
public static function setContainer(container:Object=null, doAdd:Boolean=true):void{
if (_clip.parent){
_clip.parent.removeChild(_clip);
};
if (container != null){
if ((container is DisplayObjectContainer)){
_container = container;
};
};
if (doAdd){
if ((_container is DisplayObjectContainer)){
DisplayObjectContainer(_container).addChild(_clip);
};
};
}
private static function handleError(args:Object, callbackObject:Object, callbackMethod:Object):void{
var args = args;
var callbackObject = callbackObject;
var callbackMethod = callbackMethod;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
if (((!((args.options == null))) && (!((args.options.onError == null))))){
args.options.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
var _local5 = callbackObject;
_local5[callbackMethod](args);
//unresolved jump
var _slot1 = error;
} else {
if (callbackMethod != null){
callbackMethod.apply(args);
//unresolved jump
var _slot1 = error;
};
};
};
}
private static function loadError(ev:Object):void{
_clip._mochiad_ctr_failed = true;
MochiServices.disconnect();
MochiServices.onError("IOError");
}
public static function get childClip():Object{
return (_clip);
}
private static function initComChannels():void{
if (!_connected){
_connecting = false;
_connected = true;
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL});
_clip.onReceive = onReceive;
_clip.onEvent = onEvent;
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
while (_queue.length > 0) {
_mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift());
};
};
}
public static function triggerEvent(eventType:String, args:Object):void{
_dispatcher.triggerEvent(eventType, args);
}
public static function removeEventListener(eventType:String, delegate:Function):void{
_dispatcher.removeEventListener(eventType, delegate);
}
private static function listen():void{
_mochiLocalConnection.connect(_listenChannelName);
_clip.handshake = function (args:Object):void{
MochiServices.comChannelName = args.newChannel;
};
}
public static function addEventListener(eventType:String, delegate:Function):void{
_dispatcher.addEventListener(eventType, delegate);
}
private static function loadLCBridge(clip:Object):void{
var loader:Loader;
var mochiLCURL:String;
var req:URLRequest;
loader = new Loader();
mochiLCURL = (_servURL + _mochiLC);
req = new URLRequest(mochiLCURL);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
loader.load(req);
clip.addChild(loader);
}
public static function set comChannelName(val:String):void{
if (val != null){
if (val.length > 3){
_sendChannelName = (val + "_fromgame");
initComChannels();
};
};
}
private static function loadCommunicator(id:String, clip:Object):MovieClip{
var servicesURL:String;
var req:URLRequest;
var vars:URLVariables;
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
return (null);
};
if (urlOptions(clip).servURL){
_servURL = urlOptions(clip).servURL;
};
servicesURL = (_servURL + _services);
if (urlOptions(clip).servicesURL){
servicesURL = urlOptions(clip).servicesURL;
};
_listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999))));
MochiServices.allowDomains(servicesURL);
_clip = new MovieClip();
loadLCBridge(_clip);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
req = new URLRequest(servicesURL);
vars = new URLVariables();
vars.listenLC = _listenChannelName;
vars.mochiad_options = clip.loaderInfo.parameters.mochiad_options;
vars.api_version = getVersion();
if (widget){
vars.widget = true;
};
req.data = vars;
_loader.load(req);
_clip.addChild(_loader);
_sendChannel = new LocalConnection();
_queue = [];
_nextCallbackID = 0;
_callbacks = {};
_timer = new Timer(10000, 1);
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
return (_clip);
}
public static function get clip():Object{
return (_container);
}
public static function connect(id:String, clip:Object, onError:Object=null):void{
var id = id;
var clip = clip;
var onError = onError;
warnID(id, false);
if ((clip is DisplayObject)){
if (clip.stage == null){
};
if (((!(_connected)) && ((_clip == null)))){
_connecting = true;
init(id, clip);
};
//unresolved jump
};
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (errorCode:String):void{
};
};
};
}
public static function bringToTop(e:Event=null):void{
var e = e;
if (((!((MochiServices.clip == null))) && (!((MochiServices.childClip == null))))){
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
//unresolved jump
var _slot1 = errorObject;
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
}
public static function connectWait(e:TimerEvent):void{
if (!_connected){
_clip._mochiad_ctr_failed = true;
MochiServices.disconnect();
MochiServices.onError("IOError");
} else {
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
_timer = null;
};
}
}
}//package mochi.as3
Section 516
//MochiSocial (mochi.as3.MochiSocial)
package mochi.as3 {
public class MochiSocial {
public static const LOGGED_IN:String = "LoggedIn";
public static const ACTION_CANCELED:String = "onCancel";
public static const PROPERTIES_SIZE:String = "PropertiesSize";
public static const IO_ERROR:String = "IOError";
public static const NO_USER:String = "NoUser";
public static const FRIEND_LIST:String = "FriendsList";
public static const PROFILE_DATA:String = "ProfileData";
public static const GAMEPLAY_DATA:String = "GameplayData";
public static const ACTION_COMPLETE:String = "onComplete";
public static const LOGIN_SHOW:String = "LoginShow";
public static const PROFILE_HIDE:String = "ProfileHide";
public static const USER_INFO:String = "UserInfo";
public static const PROPERTIES_SAVED:String = "PropertySaved";
public static const WIDGET_LOADED:String = "WidgetLoaded";
public static const ERROR:String = "Error";
public static const LOGGED_OUT:String = "LoggedOut";
public static const PROFILE_SHOW:String = "ProfileShow";
public static const LOGIN_HIDE:String = "LoginHide";
public static const LOGIN_SHOWN:String = "LoginShown";
public static var _user_info:Object = null;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public function MochiSocial(){
super();
}
public static function requestFan(properties:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestFan", properties);
}
public static function postToStream(properties:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_postToStream", properties);
}
public static function getFriendsList(properties:Object=null):void{
MochiServices.send("social_getFriendsList", properties);
}
public static function requestLogin(properties:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestLogin", properties);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function saveUserProperties(properties:Object):void{
MochiServices.send("social_saveUserProperties", properties);
}
public static function triggerEvent(eventType:String, args:Object):void{
_dispatcher.triggerEvent(eventType, args);
}
public static function removeEventListener(eventType:String, delegate:Function):void{
_dispatcher.removeEventListener(eventType, delegate);
}
public static function inviteFriends(properties:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_inviteFriends", properties);
}
public static function get loggedIn():Boolean{
return (!((_user_info == null)));
}
public static function addEventListener(eventType:String, delegate:Function):void{
_dispatcher.addEventListener(eventType, delegate);
}
public static function showLoginWidget(options:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_showLoginWidget", {options:options});
}
public static function getAPIURL():String{
if (!_user_info){
return (null);
};
return (_user_info.api_url);
}
public static function hideLoginWidget():void{
MochiServices.send("social_hideLoginWidget");
}
public static function getAPIToken():String{
if (!_user_info){
return (null);
};
return (_user_info.api_token);
}
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (args:Object):void{
_user_info = args;
});
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (args:Object):void{
_user_info = null;
});
}
}//package mochi.as3
Section 517
//MochiUserData (mochi.as3.MochiUserData)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
import flash.net.*;
public class MochiUserData extends EventDispatcher {
public var callback:Function;// = null
public var error:Event;// = null
public var key:String;// = null
public var operation:String;// = null
public var data;// = null
public var _loader:URLLoader;
public function MochiUserData(key:String="", callback:Function=null){
key = null;
data = null;
error = null;
operation = null;
callback = null;
super();
this.key = key;
this.callback = callback;
}
public function securityErrorHandler(event:SecurityErrorEvent):void{
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + event.toString())));
}
public function putEvent(obj):void{
request("put", serialize(obj));
}
public function request(_operation:String, _data:ByteArray):void{
var api_url:String;
var api_token:String;
var args:URLVariables;
var req:URLRequest;
var _operation = _operation;
var _data = _data;
operation = _operation;
api_url = MochiSocial.getAPIURL();
api_token = MochiSocial.getAPIToken();
if ((((api_url == null)) || ((api_token == null)))){
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in"));
return;
};
_loader = new URLLoader();
args = new URLVariables();
args.op = _operation;
args.key = key;
req = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString()));
req.method = URLRequestMethod.POST;
req.contentType = "application/x-mochi-userdata";
req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)];
req.data = _data;
_loader.dataFormat = URLLoaderDataFormat.BINARY;
_loader.addEventListener(Event.COMPLETE, completeHandler);
_loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_loader.load(req);
//unresolved jump
var _slot1 = e;
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _slot1.toString())));
}
public function completeHandler(event:Event):void{
var event = event;
if (_loader.data.length){
data = deserialize(_loader.data);
} else {
data = null;
};
//unresolved jump
var _slot1 = e;
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + _slot1.toString())));
return;
if (callback != null){
performCallback();
} else {
dispatchEvent(event);
};
close();
}
public function performCallback():void{
callback(this);
//unresolved jump
var _slot1 = e;
}
public function serialize(obj):ByteArray{
var arr:ByteArray;
arr = new ByteArray();
arr.objectEncoding = ObjectEncoding.AMF3;
arr.writeObject(obj);
arr.compress();
return (arr);
}
public function errorHandler(event:IOErrorEvent):void{
data = null;
error = event;
if (callback != null){
performCallback();
} else {
dispatchEvent(event);
};
close();
}
public function getEvent():void{
request("get", serialize(null));
}
override public function toString():String{
return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]"));
}
public function close():void{
if (_loader){
_loader.removeEventListener(Event.COMPLETE, completeHandler);
_loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_loader.close();
_loader = null;
};
error = null;
callback = null;
}
public function deserialize(arr:ByteArray){
arr.objectEncoding = ObjectEncoding.AMF3;
arr.uncompress();
return (arr.readObject());
}
public static function get(key:String, callback:Function):void{
var userData:MochiUserData;
userData = new MochiUserData(key, callback);
userData.getEvent();
}
public static function put(key:String, obj, callback:Function):void{
var userData:MochiUserData;
userData = new MochiUserData(key, callback);
userData.putEvent(obj);
}
}
}//package mochi.as3
Section 518
//alrightFx (alrightFx)
package {
import flash.media.*;
public dynamic class alrightFx extends Sound {
public function alrightFx(){
super();
}
}
}//package
Section 519
//assetsHolder (assetsHolder)
package {
import flash.display.*;
import classesAS3.*;
public dynamic class assetsHolder extends MovieClip {
public var chooseCharacterScreen:GameChooseCharScreen;
public function assetsHolder(){
super();
}
}
}//package
Section 520
//coltFireFx (coltFireFx)
package {
import flash.media.*;
public dynamic class coltFireFx extends Sound {
public function coltFireFx(){
super();
}
}
}//package
Section 521
//currentGunBox (currentGunBox)
package {
import flash.display.*;
public dynamic class currentGunBox extends MovieClip {
public function currentGunBox(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 522
//dogArm (dogArm)
package {
import flash.display.*;
public dynamic class dogArm extends MovieClip {
public function dogArm(){
super();
}
}
}//package
Section 523
//dogHead (dogHead)
package {
import flash.display.*;
public dynamic class dogHead extends MovieClip {
public function dogHead(){
super();
}
}
}//package
Section 524
//energyBar (energyBar)
package {
import flash.display.*;
public dynamic class energyBar extends MovieClip {
public var bar:MovieClip;
public function energyBar(){
super();
}
}
}//package
Section 525
//explosionFx (explosionFx)
package {
import flash.media.*;
public dynamic class explosionFx extends Sound {
public function explosionFx(){
super();
}
}
}//package
Section 526
//focusRectSkin (focusRectSkin)
package {
import flash.display.*;
public dynamic class focusRectSkin extends MovieClip {
public function focusRectSkin(){
super();
}
}
}//package
Section 527
//GameAmmoLow (GameAmmoLow)
package {
import flash.display.*;
public dynamic class GameAmmoLow extends MovieClip {
public function GameAmmoLow(){
super();
}
}
}//package
Section 528
//GameCrossHair (GameCrossHair)
package {
import flash.display.*;
public dynamic class GameCrossHair extends MovieClip {
public function GameCrossHair(){
super();
}
}
}//package
Section 529
//GameCrossHair2 (GameCrossHair2)
package {
import flash.display.*;
public dynamic class GameCrossHair2 extends MovieClip {
public function GameCrossHair2(){
super();
}
}
}//package
Section 530
//GameFishSpit (GameFishSpit)
package {
import flash.display.*;
public dynamic class GameFishSpit extends MovieClip {
public function GameFishSpit(){
super();
}
}
}//package
Section 531
//GameGiantDohnut (GameGiantDohnut)
package {
import flash.display.*;
public dynamic class GameGiantDohnut extends MovieClip {
public function GameGiantDohnut(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 532
//GamePause (GamePause)
package {
import flash.display.*;
public dynamic class GamePause extends MovieClip {
public function GamePause(){
super();
}
}
}//package
Section 533
//grenadeLauncherFx (grenadeLauncherFx)
package {
import flash.media.*;
public dynamic class grenadeLauncherFx extends Sound {
public function grenadeLauncherFx(){
super();
}
}
}//package
Section 534
//hitMoneyFx (hitMoneyFx)
package {
import flash.media.*;
public dynamic class hitMoneyFx extends Sound {
public function hitMoneyFx(){
super();
}
}
}//package
Section 535
//levelCompleteFx (levelCompleteFx)
package {
import flash.media.*;
public dynamic class levelCompleteFx extends Sound {
public function levelCompleteFx(){
super();
}
}
}//package
Section 536
//loadingBoxMc (loadingBoxMc)
package {
import flash.display.*;
public dynamic class loadingBoxMc extends MovieClip {
public var loaderbar:MovieClip;
public function loadingBoxMc(){
super();
}
}
}//package
Section 537
//minigunSingleFx (minigunSingleFx)
package {
import flash.media.*;
public dynamic class minigunSingleFx extends Sound {
public function minigunSingleFx(){
super();
}
}
}//package
Section 538
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public function MochiBot(){
super();
}
public static function track(parent:Sprite, tag:String):MochiBot{
var self:MochiBot;
var server:String;
var lv:URLVariables;
var url:String;
var req:URLRequest;
var loader:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
self = new (MochiBot);
parent.addChild(self);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
server = "http://core.mochibot.com/my/core.swf";
lv = new URLVariables();
lv["sb"] = Security.sandboxType;
lv["v"] = Capabilities.version;
lv["swfid"] = tag;
lv["mv"] = "8";
lv["fv"] = "9";
url = self.root.loaderInfo.loaderURL;
if (url.indexOf("http") == 0){
lv["url"] = url;
} else {
lv["url"] = "local";
};
req = new URLRequest(server);
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader = new Loader();
self.addChild(loader);
loader.load(req);
return (self);
}
}
}//package
Section 539
//protectCivAnim (protectCivAnim)
package {
import flash.display.*;
public dynamic class protectCivAnim extends MovieClip {
public function protectCivAnim(){
super();
addFrameScript(320, frame321);
}
function frame321(){
stop();
}
}
}//package
Section 540
//reloadFx (reloadFx)
package {
import flash.media.*;
public dynamic class reloadFx extends Sound {
public function reloadFx(){
super();
}
}
}//package
Section 541
//risingMoneyTxt (risingMoneyTxt)
package {
import flash.display.*;
import flash.text.*;
public dynamic class risingMoneyTxt extends MovieClip {
public var moneyTxt:TextField;
public function risingMoneyTxt(){
super();
}
}
}//package
Section 542
//SliderThumb_disabledSkin (SliderThumb_disabledSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_disabledSkin extends MovieClip {
public function SliderThumb_disabledSkin(){
super();
}
}
}//package
Section 543
//SliderThumb_downSkin (SliderThumb_downSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_downSkin extends MovieClip {
public function SliderThumb_downSkin(){
super();
}
}
}//package
Section 544
//SliderThumb_overSkin (SliderThumb_overSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_overSkin extends MovieClip {
public function SliderThumb_overSkin(){
super();
}
}
}//package
Section 545
//SliderThumb_upSkin (SliderThumb_upSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_upSkin extends MovieClip {
public function SliderThumb_upSkin(){
super();
}
}
}//package
Section 546
//SliderTick_skin (SliderTick_skin)
package {
import flash.display.*;
public dynamic class SliderTick_skin extends MovieClip {
public function SliderTick_skin(){
super();
}
}
}//package
Section 547
//SliderTrack_disabledSkin (SliderTrack_disabledSkin)
package {
import flash.display.*;
public dynamic class SliderTrack_disabledSkin extends MovieClip {
public function SliderTrack_disabledSkin(){
super();
}
}
}//package
Section 548
//SliderTrack_skin (SliderTrack_skin)
package {
import flash.display.*;
public dynamic class SliderTrack_skin extends MovieClip {
public function SliderTrack_skin(){
super();
}
}
}//package
Section 549
//SoundMusic1 (SoundMusic1)
package {
import flash.media.*;
public dynamic class SoundMusic1 extends Sound {
public function SoundMusic1(){
super();
}
}
}//package
Section 550
//upgradesSoldBox (upgradesSoldBox)
package {
import flash.display.*;
public dynamic class upgradesSoldBox extends MovieClip {
public function upgradesSoldBox(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 551
//weaponSold (weaponSold)
package {
import flash.display.*;
public dynamic class weaponSold extends MovieClip {
public function weaponSold(){
super();
}
}
}//package
Section 552
//weaponsSold (weaponsSold)
package {
import flash.display.*;
public dynamic class weaponsSold extends MovieClip {
public function weaponsSold(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 553
//zombieDie1Fx (zombieDie1Fx)
package {
import flash.media.*;
public dynamic class zombieDie1Fx extends Sound {
public function zombieDie1Fx(){
super();
}
}
}//package
Section 554
//zombieDie2Fx (zombieDie2Fx)
package {
import flash.media.*;
public dynamic class zombieDie2Fx extends Sound {
public function zombieDie2Fx(){
super();
}
}
}//package
Section 555
//zombieDisease (zombieDisease)
package {
import flash.display.*;
public dynamic class zombieDisease extends MovieClip {
public function zombieDisease(){
super();
}
}
}//package