Section 1
//Enemy (classes.Enemy)
package classes {
import flash.display.*;
import flash.events.*;
import gs.*;
import gs.easing.*;
public class Enemy {
private var walking:Boolean;
private var flipped:Boolean;
private var posX:Number;
private var posY:Number;
private var left:int;
private var bottom_right:int;
public var state:String;
private var falling:Boolean;
public var id:uint;
private var right:int;
private var countFrame:uint;
private var bottom_left:int;
public var COMMAND:Array;
private var top_left:int;
private var top_right:int;
private var bottom:int;
private var JUMP_INTERVAL:Number;
public var clip:MovieClip;
private var top:int;
private var JUMP_SPEED:Number;
private var MAX_SPEED:Number;
private var initialPos:uint;
private var speedX:Number;
private var jumping:Boolean;
private var speedY:Number;
private static const FRICTION:Number = 0.9;
public static const STATE_IDLE:String = "idle";
private static const SPEED:Number = 0.5;
public static const UP:int = 2;
public static const STATE_DEAD:String = "over";
public static const LEFT:int = 0;
public static const STATE_WALK:String = "walk";
private static const SUPER_JUMP_SPEED:Number = 18;
public static const STATE_JUMP:String = "jump";
private static const GRAVITY:Number = 0.96;
public static const RIGHT:int = 1;
public function Enemy(_arg1:Object){
COMMAND = new Array(3);
super();
var _local2:Class = (_arg1.clip as Class);
this.clip = new (_local2);
Global.gamePlay.playScreen.level.addChild(clip);
MAX_SPEED = _arg1.speed;
JUMP_SPEED = _arg1.jump;
JUMP_INTERVAL = _arg1.intervalJump;
countFrame = 0;
setState(STATE_IDLE);
initialPos = ((_arg1.initialY * LevelData.size.x) + _arg1.initialX);
id = _arg1.id;
initialPosition();
speedX = 0;
speedY = 0;
falling = false;
jumping = false;
walking = false;
flipped = false;
setListeners();
COMMAND[RIGHT] = false;
COMMAND[LEFT] = true;
COMMAND[UP] = false;
}
public function initialPosition():void{
posX = ((Global.TILE_SIZE / 2) + ((initialPos % LevelData.size.x) * Global.TILE_SIZE));
posY = ((Global.TILE_SIZE / 2) + (Math.floor((initialPos / LevelData.size.x)) * Global.TILE_SIZE));
clip.scaleX = (clip.scaleX * -1);
clip.x = posX;
clip.y = posY;
}
private function groundUnder():void{
var _local1:int = Math.floor(((posX - 14) / Global.TILE_SIZE));
var _local2:int = Math.floor(((posX + 14) / Global.TILE_SIZE));
var _local3:int = Math.floor(((posY + 19) / Global.TILE_SIZE));
var _local4:int = LevelData.level[(_local1 + (_local3 * LevelData.size.x))];
var _local5:int = LevelData.level[(_local2 + (_local3 * LevelData.size.x))];
if (!Tile.isGround(_local4, _local5)){
falling = true;
setState(STATE_JUMP);
};
}
public function unsetListeners():void{
this.clip.removeEventListener(Event.ENTER_FRAME, enterFrame, false);
COMMAND[0] = false;
COMMAND[1] = false;
COMMAND[2] = false;
}
public function get y():uint{
return (Math.floor((posY / Global.TILE_SIZE)));
}
private function getEdges():void{
right = Math.floor(((posX + 11) / Global.TILE_SIZE));
left = Math.floor(((posX - 12) / Global.TILE_SIZE));
bottom = Math.floor(((posY + 18) / Global.TILE_SIZE));
top = Math.floor(((posY - 14) / Global.TILE_SIZE));
top_right = LevelData.level[(right + (top * LevelData.size.x))];
top_left = LevelData.level[(left + (top * LevelData.size.x))];
bottom_right = LevelData.level[(right + (bottom * LevelData.size.x))];
bottom_left = LevelData.level[(left + (bottom * LevelData.size.x))];
}
private function checkCollisions():void{
posY = (posY + speedY);
getEdges();
if (speedY > 0){
if (Tile.isGround(bottom_right, bottom_left)){
posY = ((bottom * Global.TILE_SIZE) - 18);
speedY = 0;
falling = false;
jumping = false;
};
};
if (speedY < 0){
if (Tile.isSolid(top_right, top_left)){
posY = ((bottom * Global.TILE_SIZE) + 14);
speedY = 0;
falling = false;
jumping = false;
};
};
if (this.state != STATE_DEAD){
posX = (posX + speedX);
};
if (speedX < 0){
if (((Tile.isSolid(top_right, top_left)) || ((this.x <= 0)))){
posX = (((left + 1) * Global.TILE_SIZE) + 12);
COMMAND[RIGHT] = true;
COMMAND[LEFT] = false;
};
if (((!(jumping)) && (!(Tile.isGround(bottom_left, bottom_left))))){
posX = (((left + 1) * Global.TILE_SIZE) + 12);
COMMAND[RIGHT] = true;
COMMAND[LEFT] = false;
};
};
if (speedX > 0){
if (((Tile.isSolid(top_right, top_left)) || ((this.x >= (LevelData.size.x - 1))))){
posX = ((right * Global.TILE_SIZE) - 12);
COMMAND[RIGHT] = false;
COMMAND[LEFT] = true;
};
if (((!(jumping)) && (!(Tile.isGround(bottom_right, bottom_right))))){
posX = ((right * Global.TILE_SIZE) - 12);
COMMAND[RIGHT] = false;
COMMAND[LEFT] = true;
};
};
}
private function testCharacterCollision():void{
var _local2:uint;
var _local3:Enemy;
var _local1:Mole = Global.gamePlay.character;
if (clip.colide.hitTestObject(_local1.clip.colide)){
if (clip.y > (_local1.clip.y + 16)){
_local1.enemyJump();
dead();
} else {
_local1.dead();
};
} else {
_local2 = (id + 1);
while (_local2 < Global.gamePlay.enemyList.length) {
_local3 = Global.gamePlay.enemyList[_local2];
if (clip.colide.hitTestObject(_local3.clip.colide)){
if (!GamePlay.outDirection(this, _local3)){
if (this.clip.x < _local3.clip.x){
this.COMMAND[RIGHT] = false;
this.COMMAND[LEFT] = true;
_local3.COMMAND[RIGHT] = true;
_local3.COMMAND[LEFT] = false;
} else {
this.COMMAND[RIGHT] = true;
this.COMMAND[LEFT] = false;
_local3.COMMAND[RIGHT] = false;
_local3.COMMAND[LEFT] = true;
};
};
};
_local2++;
};
};
}
private function completeDead():void{
unsetListeners();
destroy();
}
public function setState(_arg1:String):void{
if (((!((this.state == _arg1))) && (!((state == STATE_DEAD))))){
this.state = _arg1;
if (_arg1 != STATE_DEAD){
this.clip.gotoAndPlay(state);
};
};
}
public function enterFrame(_arg1:Event):void{
if (GamePlay.paused){
return;
};
groundUnder();
walking = false;
if (state != STATE_DEAD){
testCharacterCollision();
};
if (state != STATE_DEAD){
countFrame++;
};
if (this.JUMP_INTERVAL == countFrame){
countFrame = 0;
COMMAND[UP] = true;
};
if (COMMAND[RIGHT]){
if (flipped){
flipped = false;
clip.scaleX = (clip.scaleX * -1);
};
speedX = (speedX + SPEED);
walking = true;
if (((!(jumping)) && (!(falling)))){
setState(STATE_WALK);
};
};
if (COMMAND[LEFT]){
if (!flipped){
flipped = true;
clip.scaleX = (clip.scaleX * -1);
};
speedX = (speedX - SPEED);
walking = true;
if (((!(jumping)) && (!(falling)))){
setState(STATE_WALK);
};
};
if (COMMAND[UP]){
COMMAND[UP] = false;
getEdges();
if (((!(falling)) && (!(jumping)))){
jumping = true;
speedY = -(JUMP_SPEED);
setState(STATE_JUMP);
};
};
if (!walking){
speedX = (speedX * FRICTION);
if (Math.abs(speedX) < 0.5){
speedX = 0;
if (((!(jumping)) && (!(falling)))){
setState(STATE_IDLE);
};
};
};
if (speedX > MAX_SPEED){
speedX = MAX_SPEED;
};
if (speedX < (MAX_SPEED * -1)){
speedX = (MAX_SPEED * -1);
};
if (((falling) || (jumping))){
speedY = (speedY + GRAVITY);
};
if (((!(falling)) && (!(jumping)))){
speedY = 0;
if (!walking){
setState(STATE_IDLE);
};
};
checkCollisions();
clip.x = posX;
if (this.state != STATE_DEAD){
clip.y = posY;
};
}
public function get x():uint{
return (Math.floor((posX / Global.TILE_SIZE)));
}
public function destroy():void{
unsetListeners();
Global.gamePlay.playScreen.level.removeChild(clip);
this.clip = null;
Global.gamePlay.deleteEnemy(this);
}
public function dead():void{
if (state != STATE_DEAD){
setState(STATE_DEAD);
TweenMax.to(clip, 1, {alpha:0, y:"-50", onComplete:completeDead});
Global.pointFinalCount = (Global.pointFinalCount + 100);
};
}
public function setListeners():void{
this.clip.addEventListener(Event.ENTER_FRAME, enterFrame, false, 0, true);
}
}
}//package classes
Section 2
//GamePlay (classes.GamePlay)
package classes {
import flash.display.*;
import flash.events.*;
import gs.*;
import util.*;
import flash.geom.*;
import screen.*;
import gs.easing.*;
public class GamePlay extends MovieClip {
public var playScreen:PlayScreen;
public var enemyList:Array;
public var character:Mole;
public var tileList:Array;
public var animatedTileList:Array;
public static const STATE_GAME:String = "st_game";
public static const STATE_OVER:String = "st_over";
public static const STATE_READY:String = "st_ready";
public static const STATE_CLEAR:String = "st_clear";
public static var paused:Boolean;
public static var state:String = null;
public function GamePlay(_arg1:PlayScreen){
Global.forceGC();
Global.gamePlay = this;
this.playScreen = _arg1;
this.playScreen.addChild(this);
Global.mainGame.stage.addEventListener(Event.ENTER_FRAME, enterFrame, false, 0, true);
initLevel();
}
private function completeGo():void{
var _local1:MovieClip = (playScreen.getChildByName("go") as MovieClip);
TweenMax.to(_local1, 0.5, {delay:0.5, alpha:0, onComplete:finishReadyGo});
}
public function killAllEnemies(){
var _local1:Enemy;
var _local2:Point;
for each (_local1 in Global.gamePlay.enemyList) {
_local2 = _local1.clip.localToGlobal(new Point(0, 0));
if ((((((((_local2.x > 0)) && ((_local2.x < Global.STAGE_WIDTH)))) && ((_local2.y > 0)))) && ((_local2.y < Global.STAGE_HEIGHT)))){
_local1.dead();
};
};
}
public function killAllLevelEnemies(){
var _local1:Enemy;
for each (_local1 in Global.gamePlay.enemyList) {
_local1.dead();
};
}
private function backScrolling():void{
var _local1:int = ((LevelData.size.x * Global.TILE_SIZE) - Global.STAGE_WIDTH);
var _local2:int = (playScreen.background.backN1.width - Global.STAGE_WIDTH);
var _local3:int = (playScreen.background.backN2.width - Global.STAGE_WIDTH);
var _local4:int = ((LevelData.size.y * Global.TILE_SIZE) - Global.STAGE_HEIGHT);
var _local5:int = (playScreen.background.backN1.height - Global.STAGE_HEIGHT);
var _local6:int = (playScreen.background.backN2.height - Global.STAGE_HEIGHT);
var _local7:int = ((_local2 / _local1) * Global.gamePlay.playScreen.level.x);
var _local8:int = ((_local3 / _local1) * Global.gamePlay.playScreen.level.x);
var _local9:int = ((_local5 / _local4) * Global.gamePlay.playScreen.level.y);
var _local10:int = ((_local6 / _local4) * Global.gamePlay.playScreen.level.y);
playScreen.background.backN1.x = _local7;
playScreen.background.backN1.y = _local9;
playScreen.background.backN2.x = _local8;
playScreen.background.backN2.y = _local10;
}
private function onMainMenuClick(_arg1:MouseEvent):void{
playScreen.onMainMenu(null);
}
private function initLevel():void{
var _local2:Object;
var _local3:Tile;
var _local4:*;
LevelData.setLevel();
paused = false;
tileList = new Array((LevelData.size.x * LevelData.size.y));
animatedTileList = new Array();
var _local1:uint;
while (_local1 < LevelData.level.length) {
_local3 = new Tile(_local1);
playScreen.level.addChild(_local3.clip);
tileList[_local1] = _local3;
if (Tile.isAnimated(LevelData.level[_local1])){
animatedTileList.push(_local3);
};
_local1++;
};
enemyList = new Array();
for each (_local2 in LevelData.enemy) {
enemyList.push(new Enemy(_local2));
};
character = new Mole(LevelData.mole);
playScreen.background.gotoAndStop(LevelData.back);
playScreen.backFinish.visible = false;
if (LevelData.scrolling.type == "scroll-y"){
_local4 = ((LevelData.size.y - (Global.STAGE_HEIGHT / Global.TILE_SIZE)) * -(Global.TILE_SIZE));
Global.gamePlay.playScreen.level.y = _local4;
};
if (LevelData.scrolling.type == "scroll-x"){
Global.gamePlay.playScreen.level.x = 0;
};
readyGo();
}
private function completeClear():void{
var mcClear:MovieClip = (playScreen.getChildByName("clear") as MovieClip);
TweenMax.to(mcClear, 1, {delay:2, alpha:0, onComplete:function ():void{
playScreen.onQuit(null);
}});
}
public function deleteEnemy(_arg1:Enemy):void{
var _local2:uint = enemyList.indexOf(_arg1);
enemyList.splice(_local2, 1);
var _local3:uint;
while (_local3 < enemyList.length) {
_arg1.id = _local3;
_local3++;
};
}
public function shakeLevel():void{
this.pause();
var oldY:int = this.playScreen.level.y;
var oldX:int = this.playScreen.level.x;
var randomY:int = (100 + (Math.random() * 200));
var randomX:int = (100 + (Math.random() * 200));
if ((randomY % 2) == 0){
randomY = (randomY * -1);
};
if ((randomX % 2) == 0){
randomX = (randomX * -1);
};
this.playScreen.level.y = (this.playScreen.level.y + randomY);
this.playScreen.level.x = (this.playScreen.level.x + randomX);
TweenMax.to(this.playScreen.level, 1, {y:oldY, ease:Elastic.easeOut, onComplete:function (){
paused = false;
killAllEnemies();
}});
TweenMax.to(this.playScreen.level, 1, {x:oldX, ease:Cubic.easeOut});
}
private function finishReadyGo():void{
var _local1:MovieClip = (playScreen.getChildByName("go") as MovieClip);
playScreen.removeChild(_local1);
_local1 = null;
startGame();
}
public function unPause():void{
paused = false;
}
private function completeReady():void{
var _local1:MovieClip = (playScreen.getChildByName("ready") as MovieClip);
TweenMax.to(_local1, 0.5, {delay:0.5, alpha:0, onComplete:startGo});
}
public function readyGo():void{
state = STATE_READY;
var _local1:MovieClip = new McReady();
_local1.name = "ready";
_local1.x = 320;
_local1.y = 260;
_local1.alpha = 0;
playScreen.addChild(_local1);
TweenMax.to(_local1, 1, {delay:2, y:220, alpha:1, onComplete:completeReady});
}
private function startGo():void{
var _local1:MovieClip = (playScreen.getChildByName("ready") as MovieClip);
playScreen.removeChild(_local1);
_local1 = null;
var _local2:MovieClip = new McGo();
_local2.name = "go";
_local2.x = 320;
_local2.y = 260;
_local2.alpha = 0;
playScreen.addChild(_local2);
TweenMax.to(_local2, 1, {y:220, alpha:1, onComplete:completeGo});
if (LevelData.selectedLevel == 1){
Global.soundManager.playMusic("level1");
};
if (LevelData.selectedLevel == 2){
Global.soundManager.playMusic("level2");
};
if (LevelData.selectedLevel == 3){
Global.soundManager.playMusic("level3");
};
if (LevelData.selectedLevel == 4){
Global.soundManager.playMusic("level2");
};
if (LevelData.selectedLevel == 5){
Global.soundManager.playMusic("level1");
};
if (LevelData.selectedLevel == 6){
Global.soundManager.playMusic("level2");
};
if (LevelData.selectedLevel == 7){
Global.soundManager.playMusic("level3");
};
if (LevelData.selectedLevel == 8){
Global.soundManager.playMusic("level1");
};
if (LevelData.selectedLevel == 9){
Global.soundManager.playMusic("levelFinal", 0);
if (Global.soundManager.enabled){
Global.soundManager.fadeSound("levelFinal", 1, 5);
};
};
}
public function startGame():void{
Global.forceGC();
state = STATE_GAME;
playScreen.setListeners();
character.setListeners();
}
public function enterFrame(_arg1:Event):void{
var _local2:uint;
switch (state){
case STATE_READY:
break;
case STATE_GAME:
break;
case STATE_OVER:
break;
case STATE_CLEAR:
break;
};
if (!paused){
if (character.clip.visible){
character.enterFrame();
scrolling();
backScrolling();
};
if ((((LevelData.selectedLevel == 9)) && ((this.character.x >= 204)))){
if (Global.soundManager.getSoundVolume("levelFinal") == 1){
Global.soundManager.fadeSound("levelFinal", 0, 3);
};
};
if (Global.pointCount < Global.pointFinalCount){
if ((((Global.pointFinalCount > 10000)) && (!(Global.exceed10000)))){
Global.exceed10000 = true;
Global.submitAward("award5");
};
Global.pointCount = (Global.pointCount + 10);
playScreen.mcHud.txtPointCount.text = Global.pointCount;
};
_local2 = 0;
while (_local2 < animatedTileList.length) {
animatedTileList[_local2].enterFrame();
_local2++;
};
};
}
public function pause():void{
paused = true;
}
public function dieAnimation():void{
Global.lifeCount--;
Global.imortal = false;
Global.soundManager.stopSound("level1");
Global.soundManager.stopSound("level2");
Global.soundManager.stopSound("level3");
Global.soundManager.stopSound("levelFinal");
Global.soundManager.playSound("die");
TimerLite.delay(3000, function (){
playScreen.onQuit(null);
}, this);
}
public function destroy():void{
var _local1:uint;
while (_local1 < tileList.length) {
playScreen.level.removeChild(tileList[_local1].clip);
_local1++;
};
Global.mainGame.stage.removeEventListener(Event.ENTER_FRAME, enterFrame, false);
Global.forceGC();
}
private function scrolling():void{
var _local1:Point = character.clip.localToGlobal(new Point(0, 0));
var _local2:* = ((LevelData.size.x - (Global.STAGE_WIDTH / Global.TILE_SIZE)) * -(Global.TILE_SIZE));
var _local3:* = ((LevelData.size.y - (Global.STAGE_HEIGHT / Global.TILE_SIZE)) * -(Global.TILE_SIZE));
switch (LevelData.scrolling.type){
case "follow":
Global.gamePlay.playScreen.level.x = (Global.gamePlay.playScreen.level.x - _local1.x);
Global.gamePlay.playScreen.level.y = (Global.gamePlay.playScreen.level.y - _local1.y);
Global.gamePlay.playScreen.level.x = (Global.gamePlay.playScreen.level.x + (Global.STAGE_WIDTH / 2));
Global.gamePlay.playScreen.level.y = (Global.gamePlay.playScreen.level.y + (Global.STAGE_HEIGHT / 2));
if (Global.gamePlay.playScreen.level.x < _local2){
Global.gamePlay.playScreen.level.x = _local2;
};
if (Global.gamePlay.playScreen.level.x > 0){
Global.gamePlay.playScreen.level.x = 0;
};
if (Global.gamePlay.playScreen.level.y < _local3){
Global.gamePlay.playScreen.level.y = _local3;
};
if (Global.gamePlay.playScreen.level.y > 0){
Global.gamePlay.playScreen.level.y = 0;
};
break;
case "scroll-x":
if (state == STATE_GAME){
Global.gamePlay.playScreen.level.x = (Global.gamePlay.playScreen.level.x - LevelData.scrolling.speed);
};
Global.gamePlay.playScreen.level.y = (Global.gamePlay.playScreen.level.y - _local1.y);
Global.gamePlay.playScreen.level.y = (Global.gamePlay.playScreen.level.y + (Global.STAGE_HEIGHT / 2));
if (Global.gamePlay.playScreen.level.x < _local2){
Global.gamePlay.playScreen.level.x = _local2;
};
if (Global.gamePlay.playScreen.level.x > 0){
Global.gamePlay.playScreen.level.x = 0;
};
if (Global.gamePlay.playScreen.level.y < _local3){
Global.gamePlay.playScreen.level.y = _local3;
};
if (Global.gamePlay.playScreen.level.y > 0){
Global.gamePlay.playScreen.level.y = 0;
};
break;
case "scroll-y":
if (state == STATE_GAME){
Global.gamePlay.playScreen.level.y = (Global.gamePlay.playScreen.level.y - LevelData.scrolling.speed);
};
Global.gamePlay.playScreen.level.x = (Global.gamePlay.playScreen.level.x - _local1.x);
Global.gamePlay.playScreen.level.x = (Global.gamePlay.playScreen.level.x + (Global.STAGE_WIDTH / 2));
if (Global.gamePlay.playScreen.level.x < _local2){
Global.gamePlay.playScreen.level.x = _local2;
};
if (Global.gamePlay.playScreen.level.x > 0){
Global.gamePlay.playScreen.level.x = 0;
};
if (Global.gamePlay.playScreen.level.y < _local3){
Global.gamePlay.playScreen.level.y = _local3;
};
if (Global.gamePlay.playScreen.level.y > 0){
Global.gamePlay.playScreen.level.y = 0;
};
break;
};
Global.gamePlay.playScreen.level.x = int(Global.gamePlay.playScreen.level.x);
Global.gamePlay.playScreen.level.y = int(Global.gamePlay.playScreen.level.y);
}
public function stageClear(_arg1:String):void{
var _local2:Array;
var _local3:*;
var _local4:MovieClip;
state = STATE_CLEAR;
playScreen.unsetListeners();
switch (LevelData.selectedLevel){
case 1:
Global.soundManager.playMusic("level1Finish", 1, 0, 0);
if (!LevelData.link12){
Global.submitAward("award1");
};
LevelData.link12 = true;
break;
case 2:
Global.soundManager.playMusic("level2Finish", 1, 0, 0);
if (_arg1 == "silver"){
LevelData.link23 = true;
};
if (_arg1 == "golden"){
if (((LevelData.link58) && (!(LevelData.link25)))){
Global.submitAward("award2");
};
LevelData.link25 = true;
};
break;
case 3:
Global.soundManager.playMusic("level3Finish", 1, 0, 0);
LevelData.link34 = true;
break;
case 4:
Global.soundManager.playMusic("level2Finish", 1, 0, 0);
LevelData.link45 = true;
break;
case 5:
Global.soundManager.playMusic("level1Finish", 1, 0, 0);
if (_arg1 == "silver"){
LevelData.link56 = true;
};
if (_arg1 == "golden"){
if (((LevelData.link25) && (!(LevelData.link58)))){
Global.submitAward("award2");
};
LevelData.link58 = true;
};
break;
case 6:
Global.soundManager.playMusic("level2Finish", 1, 0, 0);
LevelData.link67 = true;
break;
case 7:
Global.soundManager.playMusic("level3Finish", 1, 0, 0);
LevelData.link78 = true;
break;
case 8:
Global.soundManager.playMusic("level1Finish", 1, 0, 0);
LevelData.link89 = true;
break;
case 9:
Global.submitAward("award3");
if (Global.imortal){
Global.submitAward("award4");
};
playScreen.backFinish.mcThanks.btnMainMenu.addEventListener(MouseEvent.CLICK, onMainMenuClick, false, 0, true);
playScreen.backFinish.mcThanks.btnMainMenuTrans.addEventListener(MouseEvent.CLICK, onMainMenuClick, false, 0, true);
Global.soundManager.stopSound("levelFinal");
Global.soundManager.playMusic("level3");
LevelData.complete = true;
playScreen.backFinish.alpha = 0;
playScreen.backFinish.mcThanks.alpha = 0;
playScreen.backFinish.visible = true;
TweenMax.to(playScreen.backFinish, 2, {alpha:1});
TweenMax.to(playScreen.level, 5, {y:"+64", x:-6560});
TweenMax.to(playScreen.backFinish.mcThanks, 3, {delay:8, alpha:1});
this.killAllLevelEnemies();
_local2 = new Array({initialX:209, initialY:8, clip:McNpc, speed:1, jump:3, intervalJump:45, id:1}, {initialX:212, initialY:8, clip:McNpc, speed:1, jump:3, intervalJump:60, id:2}, {initialX:218, initialY:8, clip:McNpc, speed:-1, jump:3, intervalJump:45, id:3}, {initialX:221, initialY:8, clip:McNpc, speed:-1, jump:3, intervalJump:60, id:4}, {initialX:215, initialY:20, clip:McNpc, speed:1, jump:4, intervalJump:52, id:5});
this.character.clip.visible = false;
_local3 = new Array();
enemyList[0] = new Npc(_local2[0]);
enemyList[1] = new Npc(_local2[1]);
enemyList[2] = new Npc(_local2[2]);
enemyList[3] = new Npc(_local2[3]);
enemyList[4] = new Npc(_local2[4]);
break;
};
if (LevelData.selectedLevel != 9){
_local4 = new McStageClear();
_local4.name = "clear";
_local4.x = 320;
_local4.y = 260;
_local4.alpha = 0;
playScreen.addChild(_local4);
TweenMax.to(_local4, 1, {y:220, alpha:1, onComplete:completeClear});
};
}
public static function outDirection(_arg1:Enemy, _arg2:Enemy):Boolean{
if (_arg1.clip.x < _arg2.clip.x){
if (((_arg1.COMMAND[Enemy.LEFT]) && (_arg2.COMMAND[Enemy.RIGHT]))){
return (true);
};
} else {
if (((_arg1.COMMAND[Enemy.RIGHT]) && (_arg2.COMMAND[Enemy.LEFT]))){
return (true);
};
};
return (false);
}
}
}//package classes
Section 3
//Global (classes.Global)
package classes {
import util.*;
import com.spilgames.api.*;
import flash.net.*;
import flash.system.*;
public class Global {
public static const STAGE_WIDTH:int = 640;
public static const STAGE_HEIGHT:int = 480;
public static const TIME_LEVEL:uint = 300;
public static const TILE_SIZE:uint = 32;
public static var timeCount:uint = 300;
public static var gamePlay:GamePlay;
public static var mainGame:Game;
public static var soundManager:SoundManager = SoundManager.getInstance();
public static var pointCount:uint = 0;
public static var pointFinalCount:uint = 0;
public static var spilGamesServices:SpilGamesServices;
public static var lifeCount:int = 5;
public static var imortal:Boolean = true;
public static var exceed10000:Boolean = false;
public static function forceGC():void{
try {
new LocalConnection().connect("foo");
new LocalConnection().connect("foo");
} catch(e) {
};
System.gc();
}
public static function submitAward(_arg1:String):void{
AwardsService.submitAward(_arg1);
}
}
}//package classes
Section 4
//LevelData (classes.LevelData)
package classes {
import flash.net.*;
public class LevelData {
public static var link23:Boolean = false;
public static var level:Array;
public static var link34:Boolean = false;
public static var link45:Boolean = false;
public static var size:Object;
public static var link89:Boolean = false;
public static var mole:Object;
public static var enemy:Object;
public static var link56:Boolean = false;
public static var link58:Boolean = false;
public static var back:uint;
public static var selectedLevel:uint = 1;
public static var link78:Boolean = false;
public static var link12:Boolean = false;
public static var scrolling:Object;
public static var complete:Boolean = false;
public static var link67:Boolean = false;
public static var link25:Boolean = false;
public static function setLevel():void{
var _local1:Array;
switch (selectedLevel){
case 1:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 47, 47, 47, 47, 47, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
back = 1;
size = {x:175, y:30};
mole = {initialX:3, initialY:26};
enemy = new Array({initialX:88, initialY:21, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:0}, {initialX:90, initialY:21, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:1}, {initialX:92, initialY:21, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:2}, {initialX:94, initialY:21, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:3});
scrolling = {type:"follow"};
break;
case 2:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 0, 0, 9, 10, 10, 10, 10, 10, 11, 0, 84, 0, 9, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 18, 18, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 9, 10, 10, 10, 10, 11, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 8, 13, 13, 13, 8, 20, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 47, 47, 47, 47, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 0, 0, 0, 0, 0, 0, 0, 81, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 19, 13, 13, 17, 18, 18, 18, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 18, 18, 19, 10, 21, 13, 13, 13, 13, 20, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 17, 18, 18, 18, 18, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 0, 0, 0, 0, 0, 9, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 11, 10, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 18, 18, 18, 18, 18, 18, 18, 18, 19, 0, 0, 0, 13, 13, 13, 0, 0, 0, 13, 13, 13, 0, 0, 0, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
back = 2;
size = {x:200, y:40};
mole = {initialX:3, initialY:35};
enemy = new Array({initialX:58, initialY:32, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:0}, {initialX:61, initialY:32, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:1}, {initialX:30, initialY:35, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:2}, {initialX:40, initialY:35, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:3}, {initialX:160, initialY:27, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:4}, {initialX:171, initialY:27, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:5}, {initialX:121, initialY:17, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:6}, {initialX:200, initialY:40, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:7});
scrolling = {type:"follow"};
break;
case 3:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 12, 0, 0, 26, 26, 26, 26, 26, 26, 26, 26, 27, 0, 0, 22, 23, 23, 23, 24, 0, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 0, 0, 22, 23, 23, 23, 23, 23, 23, 24, 12, 12, 12, 22, 23, 23, 23, 23, 23, 24, 0, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
back = 3;
size = {x:185, y:20};
mole = {initialX:3, initialY:16};
enemy = new Array({initialX:22, initialY:13, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:0}, {initialX:26, initialY:13, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:1}, {initialX:36, initialY:10, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:2}, {initialX:40, initialY:10, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:3}, {initialX:52, initialY:13, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:4}, {initialX:62, initialY:16, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:5}, {initialX:68, initialY:7, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:6}, {initialX:73, initialY:16, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:7}, {initialX:92, initialY:4, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:8}, {initialX:99, initialY:4, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:9}, {initialX:108, initialY:10, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:10}, {initialX:105, initialY:14, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:11});
scrolling = {type:"scroll-x", speed:1};
break;
case 4:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 18, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 0, 0, 0, 0, 80, 0, 33, 34, 34, 35, 0, 80, 0, 0, 0, 0, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 35, 0, 0, 33, 34, 34, 28, 10, 10, 29, 34, 34, 35, 0, 0, 33, 34, 34, 10, 10, 11, 0, 0, 9, 10, 10, 10, 10,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, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 21, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 20, 10, 10, 10, 7, 7, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 7, 7, 10, 10, 10, 11, 0, 0, 84, 0, 0, 0, 0, 0, 0, 84, 0, 0, 9, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 9, 7, 7, 11, 18, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 9, 10, 28, 10, 10, 29, 10, 11, 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 19, 10, 10, 17, 18, 18, 18, 19, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 29, 7, 12, 28, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 7, 12, 10, 10, 10,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 9, 10, 10, 11, 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 18, 18, 18, 19, 12, 12, 17, 18, 18, 18, 19, 0, 0, 0, 0, 0, 84, 0, 0, 9, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 11, 0, 0, 84, 0, 0, 0, 0, 0, 9, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 11, 0, 0, 0, 0, 12, 12, 12, 12, 12, 12, 20, 10, 11, 0, 0, 9, 10, 21, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 11, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 0, 0, 0, 0, 0, 30, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 34, 34, 34, 34, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 30, 32, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 21, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12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 10, 10, 10, 10, 10, 21, 12, 12, 12, 0, 0, 0, 0, 0, 0, 12, 12, 12, 20, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 82, 0, 0, 82, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 31, 31, 31, 31, 31, 31, 31, 31, 32, 0, 0, 30, 31, 31, 31, 31, 31, 31, 31, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 81, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 31, 31, 31, 32, 0, 0, 0, 0, 0, 0, 30, 31, 31, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 31, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 34, 34, 34, 35, 0, 0, 33, 34, 34, 34, 34, 34, 34, 34, 34, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10);
back = 4;
size = {x:20, y:150};
mole = {initialX:3, initialY:146};
enemy = new Array({initialX:9, initialY:129, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:0}, {initialX:9, initialY:120, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:1}, {initialX:2, initialY:95, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:2}, {initialX:17, initialY:95, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:3}, {initialX:9, initialY:68, clip:McEnemy, speed:1, jump:5, intervalJump:25, id:4}, {initialX:2, initialY:45, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:5}, {initialX:17, initialY:45, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:6}, {initialX:5, initialY:22, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:7}, {initialX:13, initialY:22, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:8});
scrolling = {type:"scroll-y", speed:-1};
break;
case 5:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
back = 5;
size = {x:180, y:45};
mole = {initialX:3, initialY:41};
enemy = new Array({initialX:48, initialY:30, clip:McEnemy, speed:1, jump:5, intervalJump:25, id:0}, {initialX:54, initialY:30, clip:McEnemy, speed:1, jump:5, intervalJump:25, id:1}, {initialX:34, initialY:24, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:2}, {initialX:52, initialY:18, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:3}, {initialX:68, initialY:39, clip:McEnemy, speed:1, jump:5, intervalJump:25, id:4}, {initialX:102, initialY:28, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:5}, {initialX:108, initialY:28, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:6}, {initialX:117, initialY:13, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:7}, {initialX:137, initialY:13, clip:McEnemy, speed:1, jump:5, intervalJump:40, id:8}, {initialX:150, initialY:22, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:9}, {initialX:160, initialY:26, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:10});
scrolling = {type:"follow"};
break;
case 6:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 9, 10, 10, 10, 10, 10, 11, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 26, 26, 26, 26, 27, 13, 13, 13, 13, 25, 26, 26, 26, 26, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 0, 0, 0, 0, 25, 26, 26, 27, 10, 10, 25, 26, 26, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 32, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 9, 10, 10, 10, 10, 10, 11, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 82, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 82, 0, 0, 0, 0, 0, 81, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 29, 10, 10, 28, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 22, 23, 24, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 22, 24, 0, 0, 0, 80, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 20, 29, 13, 13, 28, 21, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 26, 26, 26, 26, 26, 26, 26, 26, 27, 0, 0, 13, 13, 13, 13, 13, 47, 13, 13, 13, 13, 13, 0, 0, 25, 26, 26, 26, 26, 26, 26, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
back = 6;
size = {x:200, y:40};
mole = {initialX:3, initialY:35};
enemy = new Array({initialX:25, initialY:35, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:0}, {initialX:44, initialY:35, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:1}, {initialX:34, initialY:25, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:2}, {initialX:52, initialY:30, clip:McEnemy, speed:2, jump:10, intervalJump:25, id:3}, {initialX:68, initialY:29, clip:McEnemy, speed:2, jump:10, intervalJump:25, id:4}, {initialX:96, initialY:31, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:5}, {initialX:107, initialY:31, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:6}, {initialX:101, initialY:27, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:7}, {initialX:121, initialY:32, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:8}, {initialX:121, initialY:26, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:9}, {initialX:121, initialY:20, clip:McEnemy, speed:2, jump:5, intervalJump:35, id:10}, {initialX:156, initialY:30, clip:McEnemy, speed:2, jump:5, intervalJump:35, id:11}, {initialX:174, initialY:30, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:12}, {initialX:165, initialY:25, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:13});
scrolling = {type:"follow"};
break;
case 7:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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42, 43, 0, 0, 41, 42, 42, 43, 12, 12, 12, 44, 45, 45, 46, 0, 0, 0, 44, 45, 45, 46, 0, 0, 44, 45, 45, 46, 0, 0, 0, 44, 45, 45, 46, 0, 0, 0, 44, 45, 41, 42, 42, 42, 42, 43, 45, 46, 0, 0, 0, 44, 45, 45, 46, 0, 0, 0, 44, 45, 44, 45, 45, 45, 45, 46, 45, 46, 0, 0, 0, 44, 45, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 0, 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, 42, 42, 42, 42, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 45, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 43, 45, 45, 41, 42, 42, 42, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 46, 45, 45, 44, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, 42, 42, 43, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 81, 0, 45, 45, 45, 45, 46, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 39, 39, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 83, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 39, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 39, 0, 0, 0, 0, 0, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 41, 42, 42, 42, 43, 12, 12, 12, 12, 41, 42, 42, 42, 43, 0, 0, 0, 0, 80, 0, 44, 45, 45, 45, 46, 0, 0, 0, 0, 44, 45, 45, 45, 46, 0, 80, 0, 0, 0, 0, 44, 45, 45, 45, 46, 0, 0, 0, 0, 44, 45, 45, 45, 46, 0, 0, 0, 42, 43, 0, 44, 45, 45, 45, 46, 0, 41, 43, 0, 44, 45, 45, 45, 46, 0, 41, 42, 45, 46, 0, 44, 45, 45, 45, 46, 0, 44, 46, 0, 44, 45, 45, 45, 46, 0, 44, 45, 45, 46, 0, 44, 45, 45, 45, 46, 0, 44, 46, 0, 44, 45, 45, 45, 46, 0, 44, 45, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 0, 0, 0, 0, 12, 12, 12, 12, 0, 0, 0, 0, 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, 42, 42, 43, 12, 0, 0, 80, 0, 0, 80, 0, 0, 12, 41, 42, 42, 42, 42, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 0, 12, 12, 12, 12, 0, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45, 46, 12, 12, 0, 0, 0, 0, 0, 0, 12, 12, 44, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, 45, 45, 45, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 40, 0, 0, 0, 0, 38, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 39, 39, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 38, 40, 0, 0, 0, 0, 38, 40, 0, 0, 0, 0, 0, 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, 42, 42, 42, 42, 42, 42, 43, 12, 12, 41, 42, 42, 42, 42, 42, 42, 42, 42, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 46, 0, 0, 44, 45, 45, 45, 45, 45, 45, 45, 45);
back = 7;
size = {x:20, y:200};
mole = {initialX:3, initialY:196};
enemy = new Array({initialX:9, initialY:188, clip:McEnemy, speed:2, jump:10, intervalJump:25, id:0}, {initialX:2, initialY:177, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:1}, {initialX:17, initialY:177, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:2}, {initialX:10, initialY:163, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:3}, {initialX:5, initialY:149, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:4}, {initialX:15, initialY:149, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:5}, {initialX:4, initialY:140, clip:McEnemy, speed:2, jump:10, intervalJump:25, id:6}, {initialX:10, initialY:108, clip:McEnemy, speed:2, jump:10, intervalJump:40, id:7}, {initialX:14, initialY:93, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:8}, {initialX:5, initialY:86, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:9}, {initialX:10, initialY:72, clip:McEnemy, speed:2, jump:5, intervalJump:35, id:10}, {initialX:10, initialY:53, clip:McEnemy, speed:2, jump:10, intervalJump:35, id:11}, {initialX:10, initialY:39, clip:McEnemy, speed:2, jump:10, intervalJump:30, id:12}, {initialX:10, initialY:18, clip:McEnemy, speed:2, jump:10, intervalJump:25, id:13});
scrolling = {type:"scroll-y", speed:-2};
break;
case 8:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 13, 0, 0, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 0, 82, 0, 0, 0, 0, 82, 0, 0, 0, 0, 13, 0, 1, 2, 2, 2, 3, 0, 0, 1, 2, 2, 2, 3, 0, 13, 0, 13, 0, 0, 13, 0, 13, 0, 0, 13, 0, 13, 0, 0, 13, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 12, 0, 0, 0, 12, 0, 12, 0, 0, 0, 12, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 1, 2, 2, 3, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 0, 0, 13, 0, 0, 13, 0, 13, 0, 0, 13, 0, 13, 0, 0, 13, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 0, 0, 13, 13, 13, 0, 0, 13, 13, 13, 0, 0, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 12, 12, 12, 0, 0, 0, 12, 12, 12, 0, 0, 0, 12, 12, 12, 0, 0, 0, 0, 82, 0, 0, 0, 0, 0, 84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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 12, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 0, 47, 0, 13, 13, 13, 0, 0, 13, 13, 0, 0, 13, 13, 13, 0, 47, 0, 13, 13, 13, 0, 0, 0, 13, 13, 0, 0, 0, 0, 0, 13, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 0, 0, 13, 13, 13, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 47, 47, 13, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
back = 8;
size = {x:225, y:20};
mole = {initialX:3, initialY:15};
enemy = new Array({initialX:34, initialY:11, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:0}, {initialX:47, initialY:11, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:1}, {initialX:64, initialY:13, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:2}, {initialX:72, initialY:13, clip:McEnemy, speed:1, jump:10, intervalJump:25, id:3}, {initialX:159, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:4}, {initialX:161, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:5}, {initialX:164, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:6}, {initialX:166, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:7}, {initialX:174, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:8}, {initialX:176, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:9}, {initialX:179, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:35, id:10}, {initialX:181, initialY:5, clip:McEnemy, speed:2, jump:5, intervalJump:35, id:11});
scrolling = {type:"scroll-x", speed:2};
break;
case 9:
level = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 12, 12, 1, 3, 22, 24, 14, 16, 30, 32, 38, 39, 40, 30, 32, 14, 16, 22, 24, 1, 3, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 47, 47, 0, 13, 13, 13, 13, 13, 13, 13, 0, 0, 56, 55, 54, 13, 13, 54, 55, 56, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 13, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 13, 13, 13, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 13, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13);
back = 9;
size = {x:225, y:25};
mole = {initialX:3, initialY:20};
enemy = new Array({initialX:189, initialY:22, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:0}, {initialX:198, initialY:22, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:1}, {initialX:193, initialY:22, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:2}, {initialX:198, initialY:19, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:3}, {initialX:193, initialY:16, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:4}, {initialX:198, initialY:13, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:5}, {initialX:193, initialY:11, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:6}, {initialX:193, initialY:6, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:7}, {initialX:198, initialY:6, clip:McEnemy, speed:2, jump:5, intervalJump:25, id:8}, {initialX:22, initialY:18, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:9}, {initialX:27, initialY:16, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:10}, {initialX:32, initialY:14, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:11}, {initialX:42, initialY:22, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:12}, {initialX:76, initialY:16, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:13}, {initialX:81, initialY:17, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:14}, {initialX:86, initialY:16, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:15}, {initialX:96, initialY:16, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:16}, {initialX:96, initialY:7, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:17}, {initialX:118, initialY:10, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:18}, {initialX:122, initialY:13, clip:McEnemy, speed:2, jump:5, intervalJump:40, id:19}, {initialX:126, initialY:16, clip:McEnemy, speed:2, jump:5, intervalJump:30, id:20});
scrolling = {type:"follow"};
break;
};
}
public static function saveStatus():void{
var _local1:SharedObject = SharedObject.getLocal("molerevenge");
_local1.flush();
}
public static function unlockLevels():void{
link12 = true;
link23 = true;
link34 = true;
link45 = true;
link56 = true;
link67 = true;
link78 = true;
link89 = true;
link25 = true;
link58 = true;
complete = false;
}
public static function loadStatus():void{
var _local1:SharedObject = SharedObject.getLocal("molerevenge");
if (_local1.size == 0){
saveStatus();
};
}
}
}//package classes
Section 5
//Mole (classes.Mole)
package classes {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.ui.*;
public class Mole {
private var powerUp:int;
private var speedY:Number;
private var flipped:Boolean;
private var posX:Number;
private var posY:Number;
private var left:int;
public var safe:Boolean;
private var bottom_right:int;
private var state:String;
private var bottom_left:int;
private var right:int;
private var falling:Boolean;
private var wingsCount:int;
public var COMMAND:Array;
private var top_left:int;
private var top_right:int;
private var bottom:int;
public var clip:MovieClip;
private var top:int;
private var powerUpUse:uint;
private var initialPos:uint;
private var speedX:Number;
private var jumping:Boolean;
private var walking:Boolean;
private static const FRICTION:Number = 0.9;
public static const POWER_BOMB:uint = 4;
public static const JUMP:int = 2;
public static const LEFT:int = 0;
public static const RIGHT:int = 1;
public static const RUN:int = 3;
public static const POWER_NONE:uint = 1;
public static const POWER_WINGS:uint = 2;
public static const STATE_WALK:String = "walk";
public static const POWER:int = 4;
public static const STATE_IDLE:String = "idle";
private static const SPEED:Number = 0.5;
public static const STATE_DEAD:String = "over";
public static const POWER_ROCKET:uint = 3;
private static const SUPER_JUMP_SPEED:Number = 18;
public static const STATE_JUMP:String = "jump";
private static const GRAVITY:Number = 0.96;
private static var JUMP_SPEED:Number = 14;
private static var MAX_SPEED:Number = 3;
public function Mole(_arg1:Object){
COMMAND = new Array(5);
super();
this.clip = new McMole();
this.clip.mcWings.visible = false;
this.clip.mcRocket.visible = false;
Global.gamePlay.playScreen.level.addChild(clip);
setState(STATE_IDLE);
initialPos = ((_arg1.initialY * LevelData.size.x) + _arg1.initialX);
initialPosition();
speedX = 0;
speedY = 0;
safe = false;
falling = false;
jumping = false;
walking = false;
flipped = false;
powerUp = POWER_NONE;
powerUpUse = POWER_NONE;
wingsCount = 0;
COMMAND[RIGHT] = false;
COMMAND[LEFT] = false;
COMMAND[JUMP] = false;
COMMAND[RUN] = false;
COMMAND[POWER] = false;
}
private function setPowerBomb():void{
powerUp = POWER_NONE;
Global.soundManager.playSound("bomb", 0.75);
Global.gamePlay.shakeLevel();
}
private function finish():void{
if (state != STATE_IDLE){
setState(STATE_IDLE);
unsetListeners();
this.safe = true;
};
}
public function initialPosition():void{
posX = ((Global.TILE_SIZE / 2) + ((initialPos % LevelData.size.x) * Global.TILE_SIZE));
posY = ((Global.TILE_SIZE / 2) + (Math.floor((initialPos / LevelData.size.x)) * Global.TILE_SIZE));
clip.scaleX = (clip.scaleX * -1);
clip.x = posX;
clip.y = posY;
}
public function unsetListeners():void{
COMMAND[RIGHT] = false;
COMMAND[LEFT] = false;
COMMAND[JUMP] = false;
COMMAND[RUN] = false;
COMMAND[POWER] = false;
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false);
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler, false);
}
private function keyUpHandler(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.LEFT:
COMMAND[LEFT] = false;
break;
case Keyboard.RIGHT:
COMMAND[RIGHT] = false;
break;
case 88:
COMMAND[JUMP] = false;
break;
case 90:
COMMAND[RUN] = false;
break;
case 67:
break;
};
}
private function unsetPowerBomb():void{
}
public function get y():uint{
return (Math.floor((posY / Global.TILE_SIZE)));
}
private function checkCollisions():void{
if (this.wingsCount < 0){
speedY = -0.25;
};
posY = (posY + speedY);
getEdges();
if (Tile.isItem(top_right)){
pickItem(top_right, right);
};
if (Tile.isItem(top_left)){
pickItem(top_left, left);
};
if (speedY > 0){
if (Tile.isDead(bottom_right, bottom_left)){
dead();
};
if (Tile.isGround(bottom_left, bottom_right)){
posY = ((bottom * Global.TILE_SIZE) - 14);
speedY = 0;
falling = false;
jumping = false;
if (powerUpUse == POWER_ROCKET){
unsetPowerRocket();
};
};
};
if (speedY < 0){
if (((Tile.isSolid(top_right, top_left)) && (!((powerUpUse == POWER_ROCKET))))){
posY = ((bottom * Global.TILE_SIZE) + 14);
speedY = 0;
falling = false;
jumping = false;
};
};
if (this.state != STATE_DEAD){
posX = (posX + speedX);
};
getEdges();
if (speedX < 0){
if (Tile.isDead(top_right, top_left)){
dead();
} else {
if (((Tile.isSolid(top_right, top_left)) && (!((powerUpUse == POWER_ROCKET))))){
posX = (((left + 1) * Global.TILE_SIZE) + 16);
speedX = 0;
};
};
};
if (speedX > 0){
if (Tile.isDead(top_right, top_left)){
dead();
} else {
if (((Tile.isSolid(top_right, top_left)) && (!((powerUpUse == POWER_ROCKET))))){
posX = ((right * Global.TILE_SIZE) - 16);
speedX = 0;
};
};
};
}
private function getEdges():void{
right = Math.floor(((posX + 15) / Global.TILE_SIZE));
left = Math.floor(((posX - 15) / Global.TILE_SIZE));
bottom = Math.floor(((posY + 18) / Global.TILE_SIZE));
top = Math.floor(((posY - 14) / Global.TILE_SIZE));
top_right = LevelData.level[(right + (top * LevelData.size.x))];
top_left = LevelData.level[(left + (top * LevelData.size.x))];
bottom_right = LevelData.level[(right + (bottom * LevelData.size.x))];
bottom_left = LevelData.level[(left + (bottom * LevelData.size.x))];
}
private function groundUnder():void{
var _local1:int = Math.floor(((posX - 15) / Global.TILE_SIZE));
var _local2:int = Math.floor(((posX + 15) / Global.TILE_SIZE));
var _local3:int = Math.floor(((posY + 19) / Global.TILE_SIZE));
var _local4:int = LevelData.level[(_local1 + (_local3 * LevelData.size.x))];
var _local5:int = LevelData.level[(_local2 + (_local3 * LevelData.size.x))];
if (!Tile.isGround(_local4, _local5)){
falling = true;
setState(STATE_JUMP);
};
if (Tile.isDead(_local4, _local5)){
dead();
};
if (Tile.isJump(_local4, _local5)){
getEdges();
jumping = true;
speedY = -(SUPER_JUMP_SPEED);
setState(STATE_JUMP);
Global.soundManager.playSound("jump");
};
}
private function setPowerWings():void{
powerUp = POWER_NONE;
wingsCount = -300;
this.clip.mcWings.visible = true;
}
private function unsetPowerWings():void{
this.clip.mcWings.visible = false;
}
public function setState(_arg1:String):void{
if (((!((this.state == _arg1))) && (!((state == STATE_DEAD))))){
this.state = _arg1;
this.clip.gotoAndPlay(state);
};
}
private function pickItem(_arg1:uint, _arg2:uint):void{
var _local3:uint;
switch (_arg1){
case 80:
Global.soundManager.playSound("fruit");
Global.pointFinalCount = (Global.pointFinalCount + 10);
break;
case 81:
Global.soundManager.playSound("fruit");
Global.pointFinalCount = (Global.pointFinalCount + 20);
break;
case 82:
Global.soundManager.playSound("fruit");
Global.pointFinalCount = (Global.pointFinalCount + 40);
break;
case 83:
Global.soundManager.playSound("fruit");
Global.pointFinalCount = (Global.pointFinalCount + 120);
break;
case 84:
Global.soundManager.playSound("fruit");
Global.pointFinalCount = (Global.pointFinalCount + 200);
break;
case 85:
Global.soundManager.playSound("power", 1);
powerUp = POWER_WINGS;
Global.gamePlay.playScreen.mcHud.mcPowerUp.gotoAndStop(powerUp);
break;
case 86:
Global.soundManager.playSound("power", 1);
powerUp = POWER_ROCKET;
Global.gamePlay.playScreen.mcHud.mcPowerUp.gotoAndStop(powerUp);
break;
case 87:
Global.soundManager.playSound("power", 1);
powerUp = POWER_BOMB;
Global.gamePlay.playScreen.mcHud.mcPowerUp.gotoAndStop(powerUp);
break;
case 88:
Global.gamePlay.stageClear("silver");
this.speedX = 0;
this.unsetListeners();
break;
case 89:
Global.gamePlay.stageClear("golden");
this.speedX = 0;
this.unsetListeners();
break;
case 94:
Global.soundManager.playSound("power", 1);
Global.lifeCount++;
Global.gamePlay.playScreen.mcHud.txtLifeCount.text = ("x" + Global.lifeCount);
break;
};
_local3 = (_arg2 + (top * LevelData.size.x));
LevelData.level[_local3] = 0;
Global.gamePlay.tileList[_local3].clip.gotoAndStop(1);
}
private function unsetPowerRocket():void{
powerUpUse = POWER_NONE;
this.clip.mcRocket.visible = false;
}
public function enemyJump():void{
Global.soundManager.playSound("enemy", 1);
jumping = true;
speedY = -7;
}
public function dead():void{
if (state != STATE_DEAD){
jumping = true;
speedY = -5;
setState(STATE_DEAD);
unsetListeners();
Global.gamePlay.dieAnimation();
};
}
public function enterFrame():void{
var _local1:Point;
groundUnder();
walking = false;
if (wingsCount < 0){
wingsCount++;
if (wingsCount == 0){
switch (powerUpUse){
case POWER_WINGS:
unsetPowerWings();
break;
};
powerUpUse = POWER_NONE;
};
};
if (GamePlay.state == GamePlay.STATE_GAME){
_local1 = clip.localToGlobal(new Point(0, 0));
if (_local1.x < -32){
dead();
};
if (_local1.y > 0x0200){
dead();
};
};
if (COMMAND[RUN]){
MAX_SPEED = 6;
} else {
MAX_SPEED = 3;
};
if (COMMAND[RIGHT]){
if (flipped){
flipped = false;
clip.scaleX = (clip.scaleX * -1);
};
speedX = (speedX + SPEED);
walking = true;
if (((!(jumping)) && (!(falling)))){
setState(STATE_WALK);
};
};
if (COMMAND[LEFT]){
if (!flipped){
flipped = true;
clip.scaleX = (clip.scaleX * -1);
};
speedX = (speedX - SPEED);
walking = true;
if (((!(jumping)) && (!(falling)))){
setState(STATE_WALK);
};
};
if (COMMAND[JUMP]){
COMMAND[JUMP] = false;
getEdges();
if (((!(falling)) && (!(jumping)))){
jumping = true;
Global.soundManager.playSound("jump");
speedY = -(JUMP_SPEED);
setState(STATE_JUMP);
} else {
if ((((powerUpUse == POWER_WINGS)) && ((speedY >= 0)))){
jumping = true;
Global.soundManager.playSound("jump");
speedY = (-(JUMP_SPEED) / 3);
setState(STATE_JUMP);
};
};
};
if (!walking){
speedX = (speedX * FRICTION);
if (Math.abs(speedX) < 0.5){
speedX = 0;
if (((!(jumping)) && (!(falling)))){
setState(STATE_IDLE);
};
};
};
if (speedX > MAX_SPEED){
speedX = MAX_SPEED;
};
if (speedX < (MAX_SPEED * -1)){
speedX = (MAX_SPEED * -1);
};
if (((falling) || (jumping))){
speedY = (speedY + GRAVITY);
};
if (((!(falling)) && (!(jumping)))){
speedY = 0;
if (!walking){
setState(STATE_IDLE);
};
};
checkCollisions();
if (clip.localToGlobal(new Point(0, 0)).x < 16){
if (LevelData.scrolling.type == "scroll-x"){
speedX = (1.5 + LevelData.scrolling.speed);
} else {
speedX = 1.5;
};
};
if (clip.localToGlobal(new Point(0, 0)).x > 624){
if (LevelData.scrolling.type == "scroll-x"){
speedX = (-1.5 + LevelData.scrolling.speed);
} else {
speedX = -1.5;
};
};
clip.x = posX;
clip.y = posY;
}
private function setPowerRocket():void{
Global.soundManager.playSound("rocket", 0.6);
powerUp = POWER_NONE;
wingsCount = 0;
this.clip.mcRocket.visible = true;
jumping = true;
speedY = -32;
setState(STATE_JUMP);
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.LEFT:
COMMAND[LEFT] = true;
break;
case Keyboard.RIGHT:
COMMAND[RIGHT] = true;
break;
case 88:
COMMAND[JUMP] = true;
break;
case 90:
COMMAND[RUN] = true;
break;
case 67:
if (powerUp > POWER_NONE){
switch (powerUpUse){
case POWER_WINGS:
unsetPowerWings();
break;
case POWER_ROCKET:
unsetPowerRocket();
break;
case POWER_BOMB:
unsetPowerBomb();
break;
};
powerUpUse = powerUp;
Global.gamePlay.playScreen.mcHud.mcPowerUp.gotoAndStop(1);
switch (powerUp){
case POWER_WINGS:
setPowerWings();
break;
case POWER_ROCKET:
setPowerRocket();
break;
case POWER_BOMB:
setPowerBomb();
break;
};
};
break;
};
}
public function destroy():void{
unsetListeners();
Global.gamePlay.playScreen.removeChild(clip);
this.clip = null;
}
public function setListeners():void{
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false, 0, true);
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler, false, 0, true);
}
public function get x():uint{
return (Math.floor((posX / Global.TILE_SIZE)));
}
}
}//package classes
Section 6
//Npc (classes.Npc)
package classes {
import flash.display.*;
import flash.events.*;
import gs.easing.*;
public class Npc {
private var walking:Boolean;
private var flipped:Boolean;
private var posX:Number;
private var posY:Number;
private var left:int;
private var bottom_right:int;
public var state:String;
private var falling:Boolean;
public var id:uint;
private var right:int;
private var countFrame:uint;
private var bottom_left:int;
public var COMMAND:Array;
private var top_left:int;
private var top_right:int;
private var bottom:int;
private var JUMP_INTERVAL:Number;
public var clip:MovieClip;
private var top:int;
private var JUMP_SPEED:Number;
private var MAX_SPEED:Number;
private var initialPos:uint;
private var speedX:Number;
private var jumping:Boolean;
private var speedY:Number;
public static const STATE_IDLE:String = "idle";
private static const SPEED:Number = 0.5;
public static const STATE_DEAD:String = "over";
private static const GRAVITY:Number = 0.05;
public static const LEFT:int = 0;
public static const STATE_WALK:String = "walk";
private static const FRICTION:Number = 0.9;
public static const UP:int = 2;
public static const STATE_JUMP:String = "jump";
public static const RIGHT:int = 1;
public function Npc(_arg1:Object){
COMMAND = new Array(3);
super();
var _local2:Class = (_arg1.clip as Class);
this.clip = new (_local2);
Global.gamePlay.playScreen.level.addChild(clip);
JUMP_SPEED = _arg1.jump;
JUMP_INTERVAL = _arg1.intervalJump;
countFrame = 0;
setState(STATE_IDLE);
initialPos = ((_arg1.initialY * LevelData.size.x) + _arg1.initialX);
id = _arg1.id;
initialPosition();
speedX = 0;
speedY = 0;
if (_arg1.speed > 0){
clip.scaleX = (clip.scaleX * -1);
};
falling = false;
jumping = false;
walking = false;
flipped = false;
setListeners();
COMMAND[RIGHT] = false;
COMMAND[LEFT] = false;
COMMAND[UP] = false;
}
public function initialPosition():void{
posX = ((Global.TILE_SIZE / 2) + ((initialPos % LevelData.size.x) * Global.TILE_SIZE));
posY = ((Global.TILE_SIZE / 2) + (Math.floor((initialPos / LevelData.size.x)) * Global.TILE_SIZE));
clip.x = posX;
clip.y = posY;
}
private function groundUnder():void{
var _local1:int = Math.floor(((posX - 14) / Global.TILE_SIZE));
var _local2:int = Math.floor(((posX + 14) / Global.TILE_SIZE));
var _local3:int = Math.floor(((posY + 19) / Global.TILE_SIZE));
var _local4:int = LevelData.level[(_local1 + (_local3 * LevelData.size.x))];
var _local5:int = LevelData.level[(_local2 + (_local3 * LevelData.size.x))];
if (!Tile.isGround(_local4, _local5)){
falling = true;
setState(STATE_JUMP);
};
}
public function unsetListeners():void{
this.clip.removeEventListener(Event.ENTER_FRAME, enterFrame, false);
COMMAND[0] = false;
COMMAND[1] = false;
COMMAND[2] = false;
}
public function get y():uint{
return (Math.floor((posY / Global.TILE_SIZE)));
}
private function getEdges():void{
right = Math.floor(((posX + 11) / Global.TILE_SIZE));
left = Math.floor(((posX - 12) / Global.TILE_SIZE));
bottom = Math.floor(((posY + 18) / Global.TILE_SIZE));
top = Math.floor(((posY - 14) / Global.TILE_SIZE));
top_right = LevelData.level[(right + (top * LevelData.size.x))];
top_left = LevelData.level[(left + (top * LevelData.size.x))];
bottom_right = LevelData.level[(right + (bottom * LevelData.size.x))];
bottom_left = LevelData.level[(left + (bottom * LevelData.size.x))];
}
private function checkCollisions():void{
posY = (posY + speedY);
getEdges();
if (speedY > 0){
if (Tile.isGround(bottom_right, bottom_left)){
posY = ((bottom * Global.TILE_SIZE) - 18);
speedY = 0;
falling = false;
jumping = false;
};
};
if (speedY < 0){
if (Tile.isSolid(top_right, top_left)){
posY = ((bottom * Global.TILE_SIZE) + 14);
speedY = 0;
falling = false;
jumping = false;
};
};
if (this.state != STATE_DEAD){
posX = (posX + speedX);
};
if (speedX < 0){
if (((Tile.isSolid(top_right, top_left)) || ((this.x <= 0)))){
posX = (((left + 1) * Global.TILE_SIZE) + 12);
COMMAND[RIGHT] = true;
COMMAND[LEFT] = false;
};
if (((!(jumping)) && (!(Tile.isGround(bottom_left, bottom_left))))){
posX = (((left + 1) * Global.TILE_SIZE) + 12);
COMMAND[RIGHT] = true;
COMMAND[LEFT] = false;
};
};
if (speedX > 0){
if (((Tile.isSolid(top_right, top_left)) || ((this.x >= (LevelData.size.x - 1))))){
posX = ((right * Global.TILE_SIZE) - 12);
COMMAND[RIGHT] = false;
COMMAND[LEFT] = true;
};
if (((!(jumping)) && (!(Tile.isGround(bottom_right, bottom_right))))){
posX = ((right * Global.TILE_SIZE) - 12);
COMMAND[RIGHT] = false;
COMMAND[LEFT] = true;
};
};
}
public function setState(_arg1:String):void{
if (((!((this.state == _arg1))) && (!((state == STATE_DEAD))))){
this.state = _arg1;
if (_arg1 != STATE_DEAD){
this.clip.gotoAndPlay(state);
};
};
}
public function enterFrame(_arg1:Event):void{
if (GamePlay.paused){
return;
};
groundUnder();
walking = false;
if (state != STATE_DEAD){
countFrame++;
};
if (this.JUMP_INTERVAL == countFrame){
countFrame = 0;
COMMAND[UP] = true;
};
if (COMMAND[RIGHT]){
if (flipped){
flipped = false;
clip.scaleX = (clip.scaleX * -1);
};
speedX = (speedX + SPEED);
walking = true;
if (((!(jumping)) && (!(falling)))){
setState(STATE_WALK);
};
};
if (COMMAND[LEFT]){
if (!flipped){
flipped = true;
clip.scaleX = (clip.scaleX * -1);
};
speedX = (speedX - SPEED);
walking = true;
if (((!(jumping)) && (!(falling)))){
setState(STATE_WALK);
};
};
if (COMMAND[UP]){
COMMAND[UP] = false;
getEdges();
if (((!(falling)) && (!(jumping)))){
jumping = true;
speedY = -(JUMP_SPEED);
setState(STATE_JUMP);
};
};
if (!walking){
speedX = (speedX * FRICTION);
if (Math.abs(speedX) < 0.5){
speedX = 0;
if (((!(jumping)) && (!(falling)))){
setState(STATE_IDLE);
};
};
};
if (speedX > MAX_SPEED){
speedX = MAX_SPEED;
};
if (speedX < (MAX_SPEED * -1)){
speedX = (MAX_SPEED * -1);
};
if (((falling) || (jumping))){
speedY = (speedY + GRAVITY);
};
if (((!(falling)) && (!(jumping)))){
speedY = 0;
if (!walking){
setState(STATE_IDLE);
};
};
checkCollisions();
clip.x = posX;
if (this.state != STATE_DEAD){
clip.y = posY;
};
}
public function get x():uint{
return (Math.floor((posX / Global.TILE_SIZE)));
}
public function destroy():void{
unsetListeners();
Global.gamePlay.playScreen.level.removeChild(clip);
this.clip = null;
}
public function setListeners():void{
this.clip.addEventListener(Event.ENTER_FRAME, enterFrame, false, 0, true);
}
}
}//package classes
Section 7
//Tile (classes.Tile)
package classes {
import flash.display.*;
public class Tile {
public var clip:MovieClip;
public var id:uint;
private var counter:uint;
private static const ANIMATED:Array = new Array(48, 49, 50, 51, 52, 53, 54, 55, 56, 57);
private static const DEAD:Array = new Array(-1, 47);
private static const GROUND:Array = new Array(1, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 38, 39, 40, 41, 42, 43, 48, 49, 50, 51, 52, 54, 55, 56);
private static const SOLID:Array = new Array(7, 8, 12, 13, 47, 48, 49, 50, 51, 52, 54, 55, 56);
private static const JUMP:Array = new Array(-1, -1);
private static const ITEM:Array = new Array(80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 94);
public function Tile(_arg1:uint){
id = _arg1;
clip = new McTile();
clip.x = ((id % LevelData.size.x) * Global.TILE_SIZE);
clip.y = (Math.floor((id / LevelData.size.x)) * Global.TILE_SIZE);
clip.name = ("tile_" + id);
clip.gotoAndStop((LevelData.level[id] + 1));
counter = 0;
}
public function enterFrame():void{
counter++;
switch (LevelData.level[id]){
case 48:
if (counter >= 25){
LevelData.level[id] = 49;
counter = 0;
};
break;
case 49:
if (counter >= 25){
LevelData.level[id] = 50;
counter = 0;
};
break;
case 50:
if (counter >= 25){
LevelData.level[id] = 51;
counter = 0;
};
break;
case 51:
if (counter >= 25){
LevelData.level[id] = 52;
counter = 0;
};
break;
case 52:
if (counter >= 25){
LevelData.level[id] = 53;
counter = 0;
};
break;
case 53:
if (counter >= 50){
LevelData.level[id] = 48;
counter = 0;
};
break;
case 54:
if (counter >= 25){
LevelData.level[id] = 55;
counter = 0;
};
break;
case 55:
if (counter >= 25){
LevelData.level[id] = 56;
counter = 0;
};
break;
case 56:
if (counter >= 25){
LevelData.level[id] = 57;
counter = 0;
};
break;
case 57:
if (counter >= 50){
LevelData.level[id] = 54;
counter = 0;
};
break;
};
clip.gotoAndStop((LevelData.level[id] + 1));
}
public static function isSolid(_arg1:uint, _arg2:uint):Boolean{
if (SOLID.lastIndexOf(_arg1) != -1){
return (true);
};
if (SOLID.lastIndexOf(_arg2) != -1){
return (true);
};
return (false);
}
public static function isItem(_arg1:uint):Boolean{
if (ITEM.lastIndexOf(_arg1) != -1){
return (true);
};
return (false);
}
public static function isGround(_arg1:uint, _arg2:uint):Boolean{
if (GROUND.lastIndexOf(_arg1) != -1){
return (true);
};
if (GROUND.lastIndexOf(_arg2) != -1){
return (true);
};
return (false);
}
public static function isAnimated(_arg1:uint):Boolean{
if (ANIMATED.lastIndexOf(_arg1) != -1){
return (true);
};
return (false);
}
public static function isJump(_arg1:uint, _arg2:uint):Boolean{
if (JUMP.lastIndexOf(_arg1) != -1){
return (true);
};
if (JUMP.lastIndexOf(_arg2) != -1){
return (true);
};
return (false);
}
public static function isDead(_arg1:uint, _arg2:uint):Boolean{
if (DEAD.lastIndexOf(_arg1) != -1){
return (true);
};
if (DEAD.lastIndexOf(_arg2) != -1){
return (true);
};
return (false);
}
}
}//package classes
Section 8
//AwardsService (com.spilgames.api.AwardsService)
package com.spilgames.api {
public class AwardsService {
public static function submitAward(_arg1:String, _arg2:Function=null):int{
return (SpilGamesServices.getInstance().send("Awards", "submitAward", _arg2, {tag:_arg1, userName:User.getUserName(), userHash:User.getUserHash()}));
}
}
}//package com.spilgames.api
Section 9
//SpilGamesServices (com.spilgames.api.SpilGamesServices)
package com.spilgames.api {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class SpilGamesServices extends MovieClip {
private const DEFAULT_CONNECTION_LOCATION:String = "http://www8.agame.com/games/flash/services/ServicesConnection.swf";
private var previousFrameTime:Number;
private var _connected:Boolean;// = false
private var _numConnectionLoadTries:uint;// = 0
private var _request:URLRequest;
private var currentDelay:Number;// = 0
private var _connecting:Boolean;// = false
private var _loader:Loader;
private var _servicesConnection;// = null
private var _alwaysInFront:Boolean;// = false
public static const INVALID_ID:int = -1;
public static const CONFIGURATION_FAILED:String = "configurationFailure";
private static const MAX_CONNECTION_LOAD_RETRIES:uint = 99;
public static const INVALID_DOMAIN:String = "invalidDomain";
private static var _instance:SpilGamesServices = null;
public function SpilGamesServices(_arg1:Private=null){
if (!_arg1){
throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance"));
};
}
private function handleRemovedFromStage(_arg1:Event):void{
trace("WARNING: please do not remove SpilGamesServices from the stage");
}
private function handleLoadComplete(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_servicesConnection = LoaderInfo(_arg1.target).content;
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
addChild(_servicesConnection);
}
public function send(_arg1:String, _arg2:String, _arg3:Function, _arg4:Object=null):int{
if (isReady()){
return (_servicesConnection.send(_arg1, _arg2, _arg3, _arg4));
};
return (INVALID_ID);
}
private function handleServicesFailed(_arg1:ErrorEvent):void{
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
_connecting = false;
if (hasEventListener("servicesFailed")){
dispatchEvent(new ErrorEvent("servicesFailed", false, false, _arg1.text));
};
}
public function get version():String{
return ("1.1");
}
public function isReady():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isReady())));
}
private function handleIOError(_arg1:IOErrorEvent):void{
_numConnectionLoadTries++;
if (_numConnectionLoadTries > MAX_CONNECTION_LOAD_RETRIES){
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connecting = false;
trace("ERROR: SpilGamesServices failed to load the connection object");
if (hasEventListener(_arg1.type)){
dispatchEvent(_arg1);
};
} else {
trace(("WARN: SpilGamesServices failed to load the connection object, retry #" + _numConnectionLoadTries));
previousFrameTime = getTimer();
addEventListener(Event.ENTER_FRAME, updateConnectionRetry);
};
}
public function disconnect():void{
if (_servicesConnection){
_servicesConnection.removeEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.removeEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.removeEventListener("serviceError", handleServiceError);
if (_connected){
_servicesConnection.disconnect();
};
removeChild(_servicesConnection);
};
_servicesConnection = null;
if (_loader){
try {
_loader.close();
} catch(e:Error) {
} finally {
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
};
_loader = null;
};
removeEventListener(Event.ENTER_FRAME, bringToFront);
removeEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (parent){
parent.removeChild(this);
};
_connected = (_connecting = false);
}
private function handleServicesReady(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connected = true;
_connecting = false;
dispatchEvent(new Event("servicesReady"));
}
public function get connection(){
return (_servicesConnection);
}
private function updateConnectionRetry(_arg1:Event):void{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - previousFrameTime) / 1000);
currentDelay = (currentDelay + _local3);
if (currentDelay >= 2){
trace(("WARN: SpilGamesServices trying to reconnect after: " + currentDelay));
_loader.load(_request);
removeEventListener(Event.ENTER_FRAME, updateConnectionRetry);
currentDelay = 0;
};
previousFrameTime = _local2;
}
private function handleServiceError(_arg1:Event):void{
var _local2:String;
if (hasEventListener("serviceError")){
_local2 = "";
if ((_arg1 is ErrorEvent)){
_local2 = ErrorEvent(_arg1).text;
} else {
_local2 = _arg1.toString();
};
dispatchEvent(new ErrorEvent("serviceError", false, false, _local2));
};
}
public function isServiceAvailable(_arg1:String):Boolean{
return (((isReady()) && (_servicesConnection.isServiceAvailable(_arg1))));
}
public function getSiteID():int{
if (_servicesConnection != null){
return (_servicesConnection.getSiteID());
};
return (INVALID_ID);
}
public function getChannelID():int{
if (_servicesConnection != null){
return (_servicesConnection.getChannelID());
};
return (INVALID_ID);
}
public function set alwaysInFront(_arg1:Boolean):void{
if (_alwaysInFront != _arg1){
_alwaysInFront = _arg1;
if (_alwaysInFront){
addEventListener(Event.ENTER_FRAME, bringToFront);
} else {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public function getItemID():int{
if (_servicesConnection != null){
return (_servicesConnection.getItemID());
};
return (INVALID_ID);
}
public function allowDomain(_arg1:String):void{
Security.allowDomain("*");
Security.allowInsecureDomain("*");
}
public function connect(_arg1:DisplayObjectContainer, ... _args):void{
var _local3:String;
var _local4:URLVariables;
var _local5:Date;
if (((!(_connecting)) && (!(_connected)))){
if (!_arg1.stage){
throw (new Error("The given clip must be present in the display list (added to stage)"));
};
_connecting = true;
_arg1.stage.addChild(this);
addEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (((root.loaderInfo.parameters["servicesLoc"]) && ((root.loaderInfo.parameters["servicesLoc"].length > 0)))){
_local3 = root.loaderInfo.parameters["servicesLoc"];
_request = new URLRequest(_local3);
} else {
_local3 = DEFAULT_CONNECTION_LOCATION;
_local4 = new URLVariables();
_local5 = new Date();
_local4.nocache = ((((_local5.fullYear * 12) + (_local5.month + 1)) * 31) + _local5.day);
_request = new URLRequest(_local3);
_request.data = _local4;
};
allowDomain(_local3);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_loader.load(_request);
};
}
public function get alwaysInFront():Boolean{
return (_alwaysInFront);
}
public function get connecting():Boolean{
return (_connecting);
}
public function isDomainAllowed():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid())));
}
public function bringToFront(_arg1:Event=null):void{
var e = _arg1;
if (parent){
try {
parent.setChildIndex(this, (parent.numChildren - 1));
} catch(e:Error) {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public static function getInstance():SpilGamesServices{
if (!_instance){
_instance = new SpilGamesServices(new Private());
};
return (_instance);
}
}
}//package com.spilgames.api
class Private {
private function Private(){
}
}
Section 10
//User (com.spilgames.api.User)
package com.spilgames.api {
import flash.display.*;
public class User {
public static function getUserName():String{
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserName());
};
return ("");
}
public static function isGuest():Boolean{
var _local2:DisplayObject;
var _local3:Object;
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.isGuest());
};
_local2 = SpilGamesServices.getInstance().root;
if (_local2.loaderInfo != null){
_local3 = _local2.loaderInfo.parameters;
return (((((((!(_local3.username)) || ((_local3.username == "")))) || (!(_local3.hash)))) || ((_local3.hash == ""))));
};
return (false);
}
public static function getUserHash():String{
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserHash());
};
return ("");
}
}
}//package com.spilgames.api
Section 11
//flag_icon_185 (Game_fla.flag_icon_185)
package Game_fla {
import flash.display.*;
public dynamic class flag_icon_185 extends MovieClip {
public function flag_icon_185(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 12
//McBtnBack_8 (Game_fla.McBtnBack_8)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McBtnBack_8 extends MovieClip {
public var __id21_:LocalizedTextField;
public function McBtnBack_8(){
__setProp___id21__McBtnBack_Layer1_0();
}
function __setProp___id21__McBtnBack_Layer1_0(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{back}";
__id21_.textColor = 0xFFFF00;
__id21_.textSize = 20;
__id21_.bold = true;
__id21_.disableWordwrap = true;
__id21_.embedFonts = true;
__id21_.font = "";
__id21_.hAlign = "right";
__id21_.multiline = false;
__id21_.vAlign = "middle";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 2;
__id21_.glowColor = 0;
__id21_.useGlowFilter = true;
__id21_.glowQuality = 10;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 13
//McBtnCredits_133 (Game_fla.McBtnCredits_133)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McBtnCredits_133 extends MovieClip {
public var __id11_:LocalizedTextField;
public function McBtnCredits_133(){
__setProp___id11__McBtnCredits_Layer1_0();
}
function __setProp___id11__McBtnCredits_Layer1_0(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{credits}";
__id11_.textColor = 0xFFCC00;
__id11_.textSize = 36;
__id11_.bold = true;
__id11_.disableWordwrap = true;
__id11_.embedFonts = true;
__id11_.font = "";
__id11_.hAlign = "center";
__id11_.multiline = false;
__id11_.vAlign = "middle";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 2;
__id11_.glowColor = 0;
__id11_.useGlowFilter = true;
__id11_.glowQuality = 10;
__id11_.glowStrength = 100;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 14
//McBtnMoreGames_134 (Game_fla.McBtnMoreGames_134)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McBtnMoreGames_134 extends MovieClip {
public var __id10_:LocalizedTextField;
public function McBtnMoreGames_134(){
__setProp___id10__McBtnMoreGames_Layer1_0();
}
function __setProp___id10__McBtnMoreGames_Layer1_0(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{moregames}";
__id10_.textColor = 0xFFCC00;
__id10_.textSize = 24;
__id10_.bold = true;
__id10_.disableWordwrap = true;
__id10_.embedFonts = true;
__id10_.font = "";
__id10_.hAlign = "center";
__id10_.multiline = false;
__id10_.vAlign = "middle";
__id10_.antiAliasType = "advanced";
__id10_.glowBlur = 2;
__id10_.glowColor = 0;
__id10_.useGlowFilter = true;
__id10_.glowQuality = 10;
__id10_.glowStrength = 100;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 15
//mcBtnPlay_128 (Game_fla.mcBtnPlay_128)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class mcBtnPlay_128 extends MovieClip {
public var __id12_:LocalizedTextField;
public function mcBtnPlay_128(){
__setProp___id12__mcBtnPlay_Layer1_0();
}
function __setProp___id12__mcBtnPlay_Layer1_0(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{play}";
__id12_.textColor = 0xFFFF00;
__id12_.textSize = 36;
__id12_.bold = true;
__id12_.disableWordwrap = true;
__id12_.embedFonts = true;
__id12_.font = "";
__id12_.hAlign = "center";
__id12_.multiline = false;
__id12_.vAlign = "middle";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 2;
__id12_.glowColor = 0;
__id12_.useGlowFilter = true;
__id12_.glowQuality = 10;
__id12_.glowStrength = 100;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 16
//McHistory1_178 (Game_fla.McHistory1_178)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McHistory1_178 extends MovieClip {
public var __id1_:LocalizedTextField;
public var __id0_:LocalizedTextField;
public function McHistory1_178(){
__setProp___id0__McHistory1_Layer1_0();
__setProp___id1__McHistory1_Layer1_0();
}
function __setProp___id1__McHistory1_Layer1_0(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{history1}";
__id1_.textColor = 3394815;
__id1_.textSize = 24;
__id1_.bold = true;
__id1_.disableWordwrap = false;
__id1_.embedFonts = true;
__id1_.font = "";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "bottom";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 2;
__id1_.glowColor = 51;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 10;
__id1_.glowStrength = 10;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id0__McHistory1_Layer1_0(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.text = "{history2}";
__id0_.textColor = 10282751;
__id0_.textSize = 24;
__id0_.bold = true;
__id0_.disableWordwrap = false;
__id0_.embedFonts = true;
__id0_.font = "";
__id0_.hAlign = "center";
__id0_.multiline = true;
__id0_.vAlign = "top";
__id0_.antiAliasType = "advanced";
__id0_.glowBlur = 2;
__id0_.glowColor = 51;
__id0_.useGlowFilter = true;
__id0_.glowQuality = 10;
__id0_.glowStrength = 10;
__id0_.gridFitType = "pixel";
__id0_.italic = false;
__id0_.selectable = false;
__id0_.underline = false;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 17
//McHistory2_177 (Game_fla.McHistory2_177)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McHistory2_177 extends MovieClip {
public var __id2_:LocalizedTextField;
public function McHistory2_177(){
__setProp___id2__McHistory2_Layer1_0();
}
function __setProp___id2__McHistory2_Layer1_0(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{history3}";
__id2_.textColor = 0xFFFF00;
__id2_.textSize = 28;
__id2_.bold = true;
__id2_.disableWordwrap = false;
__id2_.embedFonts = true;
__id2_.font = "";
__id2_.hAlign = "center";
__id2_.multiline = true;
__id2_.vAlign = "middle";
__id2_.antiAliasType = "advanced";
__id2_.glowBlur = 2;
__id2_.glowColor = 51;
__id2_.useGlowFilter = true;
__id2_.glowQuality = 10;
__id2_.glowStrength = 10;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 18
//McHistory3_176 (Game_fla.McHistory3_176)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McHistory3_176 extends MovieClip {
public var __id4_:LocalizedTextField;
public var __id3_:LocalizedTextField;
public function McHistory3_176(){
__setProp___id3__McHistory3_Layer1_0();
__setProp___id4__McHistory3_Layer1_0();
}
function __setProp___id4__McHistory3_Layer1_0(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{history4}";
__id4_.textColor = 0xFDEC00;
__id4_.textSize = 24;
__id4_.bold = true;
__id4_.disableWordwrap = false;
__id4_.embedFonts = true;
__id4_.font = "";
__id4_.hAlign = "center";
__id4_.multiline = true;
__id4_.vAlign = "bottom";
__id4_.antiAliasType = "advanced";
__id4_.glowBlur = 2;
__id4_.glowColor = 51;
__id4_.useGlowFilter = true;
__id4_.glowQuality = 10;
__id4_.glowStrength = 10;
__id4_.gridFitType = "pixel";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id3__McHistory3_Layer1_0(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{history5}";
__id3_.textColor = 16429085;
__id3_.textSize = 24;
__id3_.bold = true;
__id3_.disableWordwrap = false;
__id3_.embedFonts = true;
__id3_.font = "";
__id3_.hAlign = "center";
__id3_.multiline = true;
__id3_.vAlign = "top";
__id3_.antiAliasType = "advanced";
__id3_.glowBlur = 2;
__id3_.glowColor = 51;
__id3_.useGlowFilter = true;
__id3_.glowQuality = 10;
__id3_.glowStrength = 10;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 19
//McLogoContent_127 (Game_fla.McLogoContent_127)
package Game_fla {
import flash.display.*;
public dynamic class McLogoContent_127 extends MovieClip {
public function McLogoContent_127(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 20
//McMainMenuT_118 (Game_fla.McMainMenuT_118)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McMainMenuT_118 extends MovieClip {
public var txtMenu:LocalizedTextField;
public function McMainMenuT_118(){
__setProp_txtMenu_McMainMenuT_Layer1_0();
}
function __setProp_txtMenu_McMainMenuT_Layer1_0(){
try {
txtMenu["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txtMenu.text = "{mainmenu}";
txtMenu.textColor = 0xFFFFFF;
txtMenu.textSize = 35;
txtMenu.bold = true;
txtMenu.disableWordwrap = false;
txtMenu.embedFonts = true;
txtMenu.font = "";
txtMenu.hAlign = "right";
txtMenu.multiline = false;
txtMenu.vAlign = "middle";
txtMenu.antiAliasType = "advanced";
txtMenu.glowBlur = 3;
txtMenu.glowColor = 0;
txtMenu.useGlowFilter = true;
txtMenu.glowQuality = 10;
txtMenu.glowStrength = 20;
txtMenu.gridFitType = "pixel";
txtMenu.italic = false;
txtMenu.selectable = false;
txtMenu.underline = false;
try {
txtMenu["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 21
//McPause_120 (Game_fla.McPause_120)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McPause_120 extends MovieClip {
public var __id15_:LocalizedTextField;
public function McPause_120(){
__setProp___id15__McPause_Layer1_0();
}
function __setProp___id15__McPause_Layer1_0(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{paused}";
__id15_.textColor = 0x333333;
__id15_.textSize = 50;
__id15_.bold = true;
__id15_.disableWordwrap = false;
__id15_.embedFonts = true;
__id15_.font = "";
__id15_.hAlign = "center";
__id15_.multiline = false;
__id15_.vAlign = "middle";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 8;
__id15_.glowColor = 0xFFFFFF;
__id15_.useGlowFilter = true;
__id15_.glowQuality = 1;
__id15_.glowStrength = 10;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 22
//McPlaque1_163 (Game_fla.McPlaque1_163)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McPlaque1_163 extends MovieClip {
public var __id9_:LocalizedTextField;
public function McPlaque1_163(){
__setProp___id9__McPlaque1_Layer1_0();
}
function __setProp___id9__McPlaque1_Layer1_0(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{info1}";
__id9_.textColor = 0;
__id9_.textSize = 14;
__id9_.bold = true;
__id9_.disableWordwrap = false;
__id9_.embedFonts = true;
__id9_.font = "";
__id9_.hAlign = "center";
__id9_.multiline = true;
__id9_.vAlign = "middle";
__id9_.antiAliasType = "advanced";
__id9_.glowBlur = 3;
__id9_.glowColor = 0;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 1;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 23
//McPlaque2_164 (Game_fla.McPlaque2_164)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McPlaque2_164 extends MovieClip {
public var __id8_:LocalizedTextField;
public function McPlaque2_164(){
__setProp___id8__McPlaque2_Layer1_0();
}
function __setProp___id8__McPlaque2_Layer1_0(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{info2}";
__id8_.textColor = 0;
__id8_.textSize = 14;
__id8_.bold = true;
__id8_.disableWordwrap = false;
__id8_.embedFonts = true;
__id8_.font = "";
__id8_.hAlign = "center";
__id8_.multiline = true;
__id8_.vAlign = "middle";
__id8_.antiAliasType = "advanced";
__id8_.glowBlur = 3;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 1;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 24
//McPlaque3_165 (Game_fla.McPlaque3_165)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McPlaque3_165 extends MovieClip {
public var __id7_:LocalizedTextField;
public function McPlaque3_165(){
__setProp___id7__McPlaque3_Layer1_0();
}
function __setProp___id7__McPlaque3_Layer1_0(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{info3}";
__id7_.textColor = 0;
__id7_.textSize = 14;
__id7_.bold = true;
__id7_.disableWordwrap = false;
__id7_.embedFonts = true;
__id7_.font = "";
__id7_.hAlign = "center";
__id7_.multiline = true;
__id7_.vAlign = "middle";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 25
//McPlaque4_166 (Game_fla.McPlaque4_166)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McPlaque4_166 extends MovieClip {
public var __id6_:LocalizedTextField;
public function McPlaque4_166(){
__setProp___id6__McPlaque4_Layer1_0();
}
function __setProp___id6__McPlaque4_Layer1_0(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{info4}";
__id6_.textColor = 0;
__id6_.textSize = 14;
__id6_.bold = true;
__id6_.disableWordwrap = false;
__id6_.embedFonts = true;
__id6_.font = "";
__id6_.hAlign = "center";
__id6_.multiline = true;
__id6_.vAlign = "middle";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 0;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Game_fla
Section 26
//McPowerUp_123 (Game_fla.McPowerUp_123)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McPowerUp_123 extends MovieClip {
public var __id14_:LocalizedTextField;
public function McPowerUp_123(){
addFrameScript(0, frame1);
__setProp___id14__McPowerUp_Layer4_0();
}
function __setProp___id14__McPowerUp_Layer4_0(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{powerup}";
__id14_.textColor = 0xFFCC00;
__id14_.textSize = 10;
__id14_.bold = false;
__id14_.disableWordwrap = false;
__id14_.embedFonts = true;
__id14_.font = "";
__id14_.hAlign = "center";
__id14_.multiline = false;
__id14_.vAlign = "top";
__id14_.antiAliasType = "advanced";
__id14_.glowBlur = 3;
__id14_.glowColor = 0;
__id14_.useGlowFilter = true;
__id14_.glowQuality = 3;
__id14_.glowStrength = 10;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 27
//MoleLevel_26 (Game_fla.MoleLevel_26)
package Game_fla {
import flash.display.*;
public dynamic class MoleLevel_26 extends MovieClip {
public function MoleLevel_26(){
addFrameScript(20, frame21);
}
function frame21(){
gotoAndPlay("iniWalk");
}
}
}//package Game_fla
Section 28
//preloader_2 (Game_fla.preloader_2)
package Game_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class preloader_2 extends MovieClip {
public var loaded:MovieClip;
public var txtPercent:TextField;
public function preloader_2(){
addFrameScript(0, frame1);
}
public function getprogress(_arg1:Event){
var _local2:Number = _arg1.target.bytesLoaded;
var _local3:Number = _arg1.target.bytesTotal;
var _local4:Number = 498;
loaded.width = ((_local2 / _local3) * _local4);
txtPercent.text = (String(Math.floor(((_local2 / _local3) * 100))) + "%");
}
function frame1(){
}
public function getinit(_arg1:Event){
loaded.width = 1;
txtPercent.text = "1%";
}
public function setListeners():void{
this.loaderInfo.addEventListener(Event.INIT, getinit);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, getprogress);
this.loaderInfo.addEventListener(Event.COMPLETE, getcomplete);
}
public function getcomplete(_arg1:Event){
loaded.width = 498;
MovieClip(root).gotoAndStop("loaded");
this.loaderInfo.removeEventListener(Event.INIT, getinit);
this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, getprogress);
this.loaderInfo.removeEventListener(Event.COMPLETE, getcomplete);
}
}
}//package Game_fla
Section 29
//Cubic (gs.easing.Cubic)
package gs.easing {
public class Cubic {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package gs.easing
Section 30
//Elastic (gs.easing.Elastic)
package gs.easing {
public class Elastic {
private static const _2PI:Number = 6.28318530717959;
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
--_arg1;
return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * (0.3 * 1.5));
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
};
--_arg1;
return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) * 0.5) + _arg3) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) + _arg3) + _arg2));
}
}
}//package gs.easing
Section 31
//TweenEvent (gs.events.TweenEvent)
package gs.events {
import flash.events.*;
public class TweenEvent extends Event {
public var info:Object;
public static const UPDATE:String = "update";
public static const START:String = "start";
public static const version:Number = 0.9;
public static const COMPLETE:String = "complete";
public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.info = _arg2;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable));
}
}
}//package gs.events
Section 32
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _target:Object;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 33
//BevelFilterPlugin (gs.plugins.BevelFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class BevelFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BevelFilterPlugin(){
this.propName = "bevelFilter";
this.overwriteProps = ["bevelFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BevelFilter;
initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 34
//BezierPlugin (gs.plugins.BezierPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class BezierPlugin extends TweenPlugin {
protected var _future:Object;
protected var _orient:Boolean;
protected var _orientData:Array;
protected var _target:Object;
protected var _beziers:Object;
protected static const _RAD2DEG:Number = 57.2957795130823;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function BezierPlugin(){
_future = {};
super();
this.propName = "bezier";
this.overwriteProps = [];
}
override public function killProps(_arg1:Object):void{
var _local2:String;
for (_local2 in _beziers) {
if ((_local2 in _arg1)){
delete _beziers[_local2];
};
};
super.killProps(_arg1);
}
protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{
var _local5:int;
var _local6:String;
_target = _arg1.target;
if (_arg1.exposedVars.orientToBezier == true){
_orientData = [["x", "y", "rotation", 0]];
_orient = true;
} else {
if ((_arg1.exposedVars.orientToBezier is Array)){
_orientData = _arg1.exposedVars.orientToBezier;
_orient = true;
};
};
var _local4:Object = {};
_local5 = 0;
while (_local5 < _arg2.length) {
for (_local6 in _arg2[_local5]) {
if (_local4[_local6] == undefined){
_local4[_local6] = [_arg1.target[_local6]];
};
if (typeof(_arg2[_local5][_local6]) == "number"){
_local4[_local6].push(_arg2[_local5][_local6]);
} else {
_local4[_local6].push((_arg1.target[_local6] + Number(_arg2[_local5][_local6])));
};
};
_local5++;
};
for (_local6 in _local4) {
this.overwriteProps[this.overwriteProps.length] = _local6;
if (_arg1.exposedVars[_local6] != undefined){
if (typeof(_arg1.exposedVars[_local6]) == "number"){
_local4[_local6].push(_arg1.exposedVars[_local6]);
} else {
_local4[_local6].push((_arg1.target[_local6] + Number(_arg1.exposedVars[_local6])));
};
delete _arg1.exposedVars[_local6];
_local5 = (_arg1.tweens.length - 1);
while (_local5 > -1) {
if (_arg1.tweens[_local5].name == _local6){
_arg1.tweens.splice(_local5, 1);
};
_local5--;
};
};
};
_beziers = parseBeziers(_local4, _arg3);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), false);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:String;
var _local4:Object;
var _local5:Number;
var _local6:uint;
var _local7:Number;
var _local8:int;
var _local9:Object;
var _local10:Boolean;
var _local11:Number;
var _local12:Number;
var _local13:Array;
var _local14:Number;
if (_arg1 == 1){
for (_local3 in _beziers) {
_local2 = (_beziers[_local3].length - 1);
_target[_local3] = _beziers[_local3][_local2][2];
};
} else {
for (_local3 in _beziers) {
_local6 = _beziers[_local3].length;
if (_arg1 < 0){
_local2 = 0;
} else {
if (_arg1 >= 1){
_local2 = (_local6 - 1);
} else {
_local2 = int((_local6 * _arg1));
};
};
_local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6);
_local4 = _beziers[_local3][_local2];
if (this.round){
_local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
_local8 = ((_local7)<0) ? -1 : 1;
_target[_local3] = ((((_local7 % 1) * _local8))>0.5) ? (int(_local7) + _local8) : int(_local7);
} else {
_target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
};
};
};
if (_orient){
_local9 = _target;
_local10 = this.round;
_target = _future;
this.round = false;
_orient = false;
this.changeFactor = (_arg1 + 0.01);
_target = _local9;
this.round = _local10;
_orient = true;
_local2 = 0;
while (_local2 < _orientData.length) {
_local13 = _orientData[_local2];
_local14 = ((_local13[3]) || (0));
_local11 = (_future[_local13[0]] - _target[_local13[0]]);
_local12 = (_future[_local13[1]] - _target[_local13[1]]);
_target[_local13[2]] = ((Math.atan2(_local12, _local11) * _RAD2DEG) + _local14);
_local2++;
};
};
}
public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{
var _local3:int;
var _local4:Array;
var _local5:Object;
var _local6:String;
var _local7:Object = {};
if (_arg2){
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 2){
_local5[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]];
_local3 = 1;
while (_local3 < (_local4.length - 1)) {
_local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]];
_local3++;
};
} else {
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
} else {
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 3){
_local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)];
_local3 = 2;
while (_local3 < (_local4.length - 2)) {
_local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)];
_local3++;
};
_local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]];
} else {
if (_local4.length == 3){
_local5[_local5.length] = [_local4[0], _local4[1], _local4[2]];
} else {
if (_local4.length == 2){
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
};
};
};
return (_local7);
}
}
}//package gs.plugins
Section 35
//BezierThroughPlugin (gs.plugins.BezierThroughPlugin)
package gs.plugins {
import gs.*;
public class BezierThroughPlugin extends BezierPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BezierThroughPlugin(){
this.propName = "bezierThrough";
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), true);
return (true);
}
}
}//package gs.plugins
Section 36
//BlurFilterPlugin (gs.plugins.BlurFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class BlurFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BlurFilterPlugin(){
this.propName = "blurFilter";
this.overwriteProps = ["blurFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BlurFilter;
initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 37
//ColorMatrixFilterPlugin (gs.plugins.ColorMatrixFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class ColorMatrixFilterPlugin extends FilterPlugin {
protected var _matrix:Array;
protected var _matrixTween:EndArrayPlugin;
public static const API:Number = 1;
public static const VERSION:Number = 1.1;
protected static var _lumG:Number = 0.71516;
protected static var _lumR:Number = 0.212671;
protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
protected static var _lumB:Number = 0.072169;
public function ColorMatrixFilterPlugin(){
this.propName = "colorMatrixFilter";
this.overwriteProps = ["colorMatrixFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = ColorMatrixFilter;
var _local4:Object = _arg2;
initFilter({remove:_arg2.remove, index:_arg2.index, addFilter:_arg2.addFilter}, new ColorMatrixFilter(_idMatrix.slice()));
_matrix = ColorMatrixFilter(_filter).matrix;
var _local5:Array = [];
if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){
_local5 = _local4.matrix;
} else {
if (_local4.relative == true){
_local5 = _matrix.slice();
} else {
_local5 = _idMatrix.slice();
};
_local5 = setBrightness(_local5, _local4.brightness);
_local5 = setContrast(_local5, _local4.contrast);
_local5 = setHue(_local5, _local4.hue);
_local5 = setSaturation(_local5, _local4.saturation);
_local5 = setThreshold(_local5, _local4.threshold);
if (!isNaN(_local4.colorize)){
_local5 = colorize(_local5, _local4.colorize, _local4.amount);
};
};
_matrixTween = new EndArrayPlugin();
_matrixTween.init(_matrix, _local5);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
_matrixTween.changeFactor = _arg1;
ColorMatrixFilter(_filter).matrix = _matrix;
super.changeFactor = _arg1;
}
public static function setSaturation(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Number = (1 - _arg2);
var _local4:Number = (_local3 * _lumR);
var _local5:Number = (_local3 * _lumG);
var _local6:Number = (_local3 * _lumB);
var _local7:Array = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local7, _arg1));
}
public static function setHue(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 * (Math.PI / 180));
var _local3:Number = Math.cos(_arg2);
var _local4:Number = Math.sin(_arg2);
var _local5:Array = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return (applyMatrix(_local5, _arg1));
}
public static function setThreshold(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Array = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function applyMatrix(_arg1:Array, _arg2:Array):Array{
var _local6:int;
var _local7:int;
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (_arg2);
};
var _local3:Array = [];
var _local4:int;
var _local5:int;
_local6 = 0;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 5) {
if (_local7 == 4){
_local5 = _arg1[(_local4 + 4)];
} else {
_local5 = 0;
};
_local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5);
_local7++;
};
_local4 = (_local4 + 5);
_local6++;
};
return (_local3);
}
public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{
if (isNaN(_arg2)){
return (_arg1);
};
if (isNaN(_arg3)){
_arg3 = 1;
};
var _local4:Number = (((_arg2 >> 16) & 0xFF) / 0xFF);
var _local5:Number = (((_arg2 >> 8) & 0xFF) / 0xFF);
var _local6:Number = ((_arg2 & 0xFF) / 0xFF);
var _local7:Number = (1 - _arg3);
var _local8:Array = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local8, _arg1));
}
public static function setBrightness(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = ((_arg2 * 100) - 100);
return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1));
}
public static function setContrast(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 + 0.01);
var _local3:Array = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
}
}//package gs.plugins
Section 38
//DropShadowFilterPlugin (gs.plugins.DropShadowFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class DropShadowFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function DropShadowFilterPlugin(){
this.propName = "dropShadowFilter";
this.overwriteProps = ["dropShadowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = DropShadowFilter;
initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject));
return (true);
}
}
}//package gs.plugins
Section 39
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _a:Array;
protected var _info:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
public function init(_arg1:Array, _arg2:Array):void{
_a = _arg1;
var _local3:int = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
}
}//package gs.plugins
Section 40
//FilterPlugin (gs.plugins.FilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
import gs.utils.tween.*;
public class FilterPlugin extends TweenPlugin {
protected var _remove:Boolean;
protected var _target:Object;
protected var _index:int;
protected var _filter:BitmapFilter;
protected var _type:Class;
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function onCompleteTween():void{
var _local1:int;
var _local2:Array;
if (_remove){
_local2 = _target.filters;
if (!(_local2[_index] is _type)){
_local1 = (_local2.length - 1);
while (_local1 > -1) {
if ((_local2[_local1] is _type)){
_local2.splice(_local1, 1);
break;
};
_local1--;
};
} else {
_local2.splice(_index, 1);
};
_target.filters = _local2;
};
}
protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{
var _local4:String;
var _local5:int;
var _local6:HexColorsPlugin;
var _local3:Array = _target.filters;
_index = -1;
if (_arg1.index != null){
_index = _arg1.index;
} else {
_local5 = (_local3.length - 1);
while (_local5 > -1) {
if ((_local3[_local5] is _type)){
_index = _local5;
break;
};
_local5--;
};
};
if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){
_index = ((_arg1.index)!=null) ? _arg1.index : _local3.length;
_local3[_index] = _arg2;
_target.filters = _local3;
};
_filter = _local3[_index];
_remove = Boolean((_arg1.remove == true));
if (_remove){
this.onComplete = onCompleteTween;
};
var _local7:Object = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1;
for (_local4 in _local7) {
if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){
} else {
if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){
_local6 = new HexColorsPlugin();
_local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]);
_tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false);
} else {
if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){
_filter[_local4] = _local7[_local4];
} else {
addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4);
};
};
};
};
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Array = _target.filters;
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
if (!(_local4[_index] is _type)){
_index = (_local4.length - 1);
_local2 = (_local4.length - 1);
while (_local2 > -1) {
if ((_local4[_local2] is _type)){
_index = _local2;
break;
};
_local2--;
};
};
_local4[_index] = _filter;
_target.filters = _local4;
}
}
}//package gs.plugins
Section 41
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class FramePlugin extends TweenPlugin {
protected var _target:MovieClip;
public var frame:int;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
}
}//package gs.plugins
Section 42
//GlowFilterPlugin (gs.plugins.GlowFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class GlowFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function GlowFilterPlugin(){
this.propName = "glowFilter";
this.overwriteProps = ["glowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = GlowFilter;
initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout));
return (true);
}
}
}//package gs.plugins
Section 43
//HexColorsPlugin (gs.plugins.HexColorsPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class HexColorsPlugin extends TweenPlugin {
protected var _colors:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function HexColorsPlugin(){
this.propName = "hexColors";
this.overwriteProps = [];
_colors = [];
}
override public function killProps(_arg1:Object):void{
var _local2:int = (_colors.length - 1);
while (_local2 > -1) {
if (_arg1[_colors[_local2][1]] != undefined){
_colors.splice(_local2, 1);
};
_local2--;
};
super.killProps(_arg1);
}
public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
if (_arg3 != _arg4){
_local5 = (_arg3 >> 16);
_local6 = ((_arg3 >> 8) & 0xFF);
_local7 = (_arg3 & 0xFF);
_colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)];
this.overwriteProps[this.overwriteProps.length] = _arg2;
};
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:Array;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
_local3 = _colors[_local2];
_local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7])));
_local2--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
for (_local4 in _arg2) {
initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4]));
};
return (true);
}
}
}//package gs.plugins
Section 44
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 45
//RoundPropsPlugin (gs.plugins.RoundPropsPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class RoundPropsPlugin extends TweenPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function RoundPropsPlugin(){
this.propName = "roundProps";
this.overwriteProps = [];
this.round = true;
}
public function add(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
addTween(_arg1, _arg2, _arg3, (_arg3 + _arg4), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package gs.plugins
Section 46
//ShortRotationPlugin (gs.plugins.ShortRotationPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class ShortRotationPlugin extends TweenPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function ShortRotationPlugin(){
this.propName = "shortRotation";
this.overwriteProps = [];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
if (typeof(_arg2) == "number"){
trace("WARNING: You appear to be using the old shortRotation syntax. Instead of passing a number, please pass an object with properties that correspond to the rotations values For example, TweenMax.to(mc, 2, {shortRotation:{rotationX:-170, rotationY:25}})");
return (false);
};
for (_local4 in _arg2) {
initRotation(_arg1, _local4, _arg1[_local4], _arg2[_local4]);
};
return (true);
}
public function initRotation(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
var _local5:Number = ((_arg4 - _arg3) % 360);
if (((_arg4 - _arg3) % 360) != (_local5 % 180)){
_local5 = ((_local5)<0) ? (_local5 + 360) : (_local5 - 360);
};
addTween(_arg1, _arg2, _arg3, (_arg3 + _local5), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package gs.plugins
Section 47
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _target:DisplayObject;
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg1 is DisplayObject)){
return (false);
};
var _local4:ColorTransform = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _target.transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
}
}//package gs.plugins
Section 48
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var propName:String;
public var onComplete:Function;
public var round:Boolean;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 49
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class VisiblePlugin extends TweenPlugin {
protected var _target:Object;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 50
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _target:Object;
protected var _st:SoundTransform;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
}
}//package gs.plugins
Section 51
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var start:Number;
public var index:uint;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 52
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 53
//OverwriteManager (gs.OverwriteManager)
package gs {
import flash.utils.*;
import gs.utils.tween.*;
import flash.errors.*;
public class OverwriteManager {
public static const ALL:int = 1;
public static const NONE:int = 0;
public static const AUTO:int = 2;
public static const CONCURRENT:int = 3;
public static const version:Number = 3.12;
public static var mode:int;
public static var enabled:Boolean;
public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array):void{
var _local4:int;
var _local5:String;
var _local6:TweenInfo;
_local4 = (_arg3.length - 1);
while (_local4 > -1) {
_local6 = _arg3[_local4];
if ((_local6.name in _arg1)){
_arg3.splice(_local4, 1);
} else {
if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){
_local6.target.killProps(_arg1);
if (_local6.target.overwriteProps.length == 0){
_arg3.splice(_local4, 1);
};
};
};
_local4--;
};
for (_local5 in _arg1) {
delete _arg2[_local5];
};
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{
var _local7:int;
var _local8:TweenLite;
var _local10:Array;
var _local11:Object;
var _local12:int;
var _local13:TweenInfo;
var _local14:Array;
var _local3:Object = _arg1.vars;
var _local4:int = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite);
if ((((_local4 < 2)) || ((_arg2 == null)))){
return;
};
var _local5:Number = _arg1.startTime;
var _local6:Array = [];
var _local9 = -1;
_local7 = (_arg2.length - 1);
while (_local7 > -1) {
_local8 = _arg2[_local7];
if (_local8 == _arg1){
_local9 = _local7;
} else {
if ((((((_local7 < _local9)) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){
_local6[_local6.length] = _local8;
};
};
_local7--;
};
if ((((_local6.length == 0)) || ((_arg1.tweens.length == 0)))){
return;
};
if (_local4 == AUTO){
_local10 = _arg1.tweens;
_local11 = {};
_local7 = (_local10.length - 1);
while (_local7 > -1) {
_local13 = _local10[_local7];
if (_local13.isPlugin){
if (_local13.name == "_MULTIPLE_"){
_local14 = _local13.target.overwriteProps;
_local12 = (_local14.length - 1);
while (_local12 > -1) {
_local11[_local14[_local12]] = true;
_local12--;
};
} else {
_local11[_local13.name] = true;
};
_local11[_local13.target.propName] = true;
} else {
_local11[_local13.name] = true;
};
_local7--;
};
_local7 = (_local6.length - 1);
while (_local7 > -1) {
killVars(_local11, _local6[_local7].exposedVars, _local6[_local7].tweens);
_local7--;
};
} else {
_local7 = (_local6.length - 1);
while (_local7 > -1) {
_local6[_local7].enabled = false;
_local7--;
};
};
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 10.09){
trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.");
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
}
}//package gs
Section 54
//TweenLite (gs.TweenLite)
package gs {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import gs.utils.tween.*;
import gs.plugins.*;
public class TweenLite {
public var started:Boolean;
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var tweens:Array;
public var vars:Object;
public var ease:Function;
public var exposedVars:Object;
public var initTime:Number;
public var combinedTimeScale:Number;
public static const version:Number = 10.092;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
var _local2:Number = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && (this.target.hasOwnProperty("timeScale")))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
var _local2:uint = (currentTime = getTimer());
var _local3:Dictionary = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local3:Object;
var _local2:Dictionary = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 55
//TweenMax (gs.TweenMax)
package gs {
import flash.events.*;
import flash.utils.*;
import gs.utils.tween.*;
import gs.plugins.*;
import gs.events.*;
public class TweenMax extends TweenLite implements IEventDispatcher {
protected var _dispatcher:EventDispatcher;
protected var _callbacks:Object;
public var pauseTime:Number;
protected var _repeatCount:Number;
protected var _timeScale:Number;
public static const version:Number = 10.12;
public static var removeTween:Function = TweenLite.removeTween;
private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init();
;
protected static var _pausedTweens:Dictionary = new Dictionary(false);
protected static var _globalTimeScale:Number = 1;
public static var killTweensOf:Function = TweenLite.killTweensOf;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _activatedPlugins:Boolean = TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin, HexColorsPlugin, BlurFilterPlugin, ColorMatrixFilterPlugin, BevelFilterPlugin, DropShadowFilterPlugin, GlowFilterPlugin, RoundPropsPlugin, BezierPlugin, BezierThroughPlugin, ShortRotationPlugin]);
public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){
super(_arg1, _arg2, _arg3);
if (TweenLite.version < 10.092){
trace("TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com.");
};
if (((!((this.combinedTimeScale == 1))) && ((this.target is TweenMax)))){
_timeScale = 1;
this.combinedTimeScale = _globalTimeScale;
} else {
_timeScale = this.combinedTimeScale;
this.combinedTimeScale = (this.combinedTimeScale * _globalTimeScale);
};
if (((!((this.combinedTimeScale == 1))) && (!((this.delay == 0))))){
this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale)));
};
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
initDispatcher();
if ((((_arg2 == 0)) && ((this.delay == 0)))){
onUpdateDispatcher();
onCompleteDispatcher();
};
};
_repeatCount = 0;
if (((!(isNaN(this.vars.yoyo))) || (!(isNaN(this.vars.loop))))){
this.vars.persist = true;
};
if ((((this.delay == 0)) && (!((this.vars.startAt == null))))){
this.vars.startAt.overwrite = 0;
new TweenMax(this.target, 0, this.vars.startAt);
};
}
public function dispatchEvent(_arg1:Event):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.dispatchEvent(_arg1));
}
public function get reversed():Boolean{
return ((this.ease == reverseEase));
}
public function set reversed(_arg1:Boolean):void{
if (this.reversed != _arg1){
reverse();
};
}
public function get progress():Number{
var _local1:Number = (isNaN(this.pauseTime)) ? currentTime : this.pauseTime;
var _local2:Number = (((((_local1 - this.initTime) * 0.001) - (this.delay / this.combinedTimeScale)) / this.duration) * this.combinedTimeScale);
if (_local2 > 1){
return (1);
};
if (_local2 < 0){
return (0);
};
return (_local2);
}
override public function set enabled(_arg1:Boolean):void{
if (!_arg1){
_pausedTweens[this] = null;
delete _pausedTweens[this];
};
super.enabled = _arg1;
if (_arg1){
this.combinedTimeScale = (_timeScale * _globalTimeScale);
};
}
protected function onStartDispatcher(... _args):void{
if (_callbacks.onStart != null){
_callbacks.onStart.apply(null, this.vars.onStartParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START));
}
public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{
var _local5:int;
var _local6:TweenInfo;
var _local7:Object;
var _local8:Object;
var _local9:Array;
var _local10:Boolean;
var _local11:Array;
var _local12:Object;
var _local4:Number = this.progress;
if (this.initted){
if (!_arg3){
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local6 = this.tweens[_local5];
if (_local6.name == _arg1){
_local6.target[_local6.property] = _local6.start;
};
_local5--;
};
};
_local7 = this.vars;
_local8 = this.exposedVars;
_local9 = this.tweens;
_local10 = _hasPlugins;
this.tweens = [];
this.vars = (this.exposedVars = {});
this.vars[_arg1] = _arg2;
initTweenVals();
if (((!((this.ease == reverseEase))) && ((_local7.ease is Function)))){
this.ease = _local7.ease;
};
if (((_arg3) && (!((_local4 == 0))))){
adjustStartValues();
};
_local11 = this.tweens;
this.vars = _local7;
this.exposedVars = _local8;
this.tweens = _local9;
_local12 = {};
_local12[_arg1] = true;
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local6 = this.tweens[_local5];
if (_local6.name == _arg1){
this.tweens.splice(_local5, 1);
} else {
if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){
_local6.target.killProps(_local12);
if (_local6.target.overwriteProps.length == 0){
this.tweens.splice(_local5, 1);
};
};
};
_local5--;
};
this.tweens = this.tweens.concat(_local11);
_hasPlugins = Boolean(((_local10) || (_hasPlugins)));
};
this.vars[_arg1] = (this.exposedVars[_arg1] = _arg2);
}
override public function initTweenVals():void{
var _local1:int;
var _local2:int;
var _local3:String;
var _local4:String;
var _local5:Array;
var _local6:Object;
var _local7:TweenInfo;
if (((!((this.vars.startAt == null))) && (!((this.delay == 0))))){
this.vars.startAt.overwrite = 0;
new TweenMax(this.target, 0, this.vars.startAt);
};
super.initTweenVals();
if ((((this.exposedVars.roundProps is Array)) && (!((TweenLite.plugins.roundProps == null))))){
_local5 = this.exposedVars.roundProps;
_local1 = (_local5.length - 1);
while (_local1 > -1) {
_local3 = _local5[_local1];
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local7 = this.tweens[_local2];
if (_local7.name == _local3){
if (_local7.isPlugin){
_local7.target.round = true;
} else {
if (_local6 == null){
_local6 = new TweenLite.plugins.roundProps();
_local6.add(_local7.target, _local3, _local7.start, _local7.change);
_hasPlugins = true;
this.tweens[_local2] = new TweenInfo(_local6, "changeFactor", 0, 1, _local3, true);
} else {
_local6.add(_local7.target, _local3, _local7.start, _local7.change);
this.tweens.splice(_local2, 1);
};
};
} else {
if (((((_local7.isPlugin) && ((_local7.name == "_MULTIPLE_")))) && (!(_local7.target.round)))){
_local4 = ((" " + _local7.target.overwriteProps.join(" ")) + " ");
if (_local4.indexOf(((" " + _local3) + " ")) != -1){
_local7.target.round = true;
};
};
};
_local2--;
};
_local1--;
};
};
}
public function restart(_arg1:Boolean=false):void{
if (_arg1){
this.initTime = currentTime;
this.startTime = (currentTime + (this.delay * (1000 / this.combinedTimeScale)));
} else {
this.startTime = currentTime;
this.initTime = (currentTime - (this.delay * (1000 / this.combinedTimeScale)));
};
_repeatCount = 0;
if (this.target != this.vars.onComplete){
render(this.startTime);
};
this.pauseTime = NaN;
_pausedTweens[this] = null;
delete _pausedTweens[this];
this.enabled = true;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (_dispatcher != null){
_dispatcher.removeEventListener(_arg1, _arg2, _arg3);
};
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (_dispatcher == null){
initDispatcher();
};
if ((((_arg1 == TweenEvent.UPDATE)) && (!((this.vars.onUpdate == onUpdateDispatcher))))){
this.vars.onUpdate = onUpdateDispatcher;
_hasUpdate = true;
};
_dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
protected function adjustStartValues():void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:TweenInfo;
var _local6:int;
var _local1:Number = this.progress;
if (_local1 != 0){
_local2 = this.ease(_local1, 0, 1, 1);
_local3 = (1 / (1 - _local2));
_local6 = (this.tweens.length - 1);
while (_local6 > -1) {
_local5 = this.tweens[_local6];
_local4 = (_local5.start + _local5.change);
if (_local5.isPlugin){
_local5.change = ((_local4 - _local2) * _local3);
} else {
_local5.change = ((_local4 - _local5.target[_local5.property]) * _local3);
};
_local5.start = (_local4 - _local5.change);
_local6--;
};
};
}
override public function render(_arg1:uint):void{
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
var _local2:Number = (((_arg1 - this.startTime) * 0.001) * this.combinedTimeScale);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
protected function initDispatcher():void{
var _local1:Object;
var _local2:String;
if (_dispatcher == null){
_dispatcher = new EventDispatcher(this);
_callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete};
if (this.vars.isTV == true){
this.vars = this.vars.clone();
} else {
_local1 = {};
for (_local2 in this.vars) {
_local1[_local2] = this.vars[_local2];
};
this.vars = _local1;
};
this.vars.onStart = onStartDispatcher;
this.vars.onComplete = onCompleteDispatcher;
if ((this.vars.onStartListener is Function)){
_dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true);
};
if ((this.vars.onUpdateListener is Function)){
_dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true);
this.vars.onUpdate = onUpdateDispatcher;
_hasUpdate = true;
};
if ((this.vars.onCompleteListener is Function)){
_dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true);
};
};
}
public function willTrigger(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.willTrigger(_arg1));
}
public function get repeatCount():Number{
return (_repeatCount);
}
public function reverse(_arg1:Boolean=true, _arg2:Boolean=true):void{
this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease;
var _local3:Number = this.progress;
if (((_arg1) && ((_local3 > 0)))){
this.startTime = (currentTime - ((((1 - _local3) * this.duration) * 1000) / this.combinedTimeScale));
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
};
if (_arg2 != false){
if (_local3 < 1){
resume();
} else {
restart();
};
};
}
protected function onUpdateDispatcher(... _args):void{
if (_callbacks.onUpdate != null){
_callbacks.onUpdate.apply(null, this.vars.onUpdateParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE));
}
public function set paused(_arg1:Boolean):void{
if (_arg1){
pause();
} else {
resume();
};
}
public function resume():void{
this.enabled = true;
if (!isNaN(this.pauseTime)){
this.initTime = (this.initTime + (currentTime - this.pauseTime));
this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale)));
this.pauseTime = NaN;
if (((!(this.started)) && ((currentTime >= this.startTime)))){
activate();
} else {
this.active = this.started;
};
_pausedTweens[this] = null;
delete _pausedTweens[this];
};
}
public function get paused():Boolean{
return (!(isNaN(this.pauseTime)));
}
public function set repeatCount(_arg1:Number):void{
_repeatCount = _arg1;
}
public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.ease((_arg4 - _arg1), _arg2, _arg3, _arg4));
}
public function killProperties(_arg1:Array):void{
var _local3:int;
var _local2:Object = {};
_local3 = (_arg1.length - 1);
while (_local3 > -1) {
_local2[_arg1[_local3]] = true;
_local3--;
};
killVars(_local2);
}
public function set progress(_arg1:Number):void{
this.startTime = (currentTime - ((this.duration * _arg1) * 1000));
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
if (!this.started){
activate();
};
render(currentTime);
if (!isNaN(this.pauseTime)){
this.pauseTime = currentTime;
this.startTime = 999999999999999;
this.active = false;
};
}
public function hasEventListener(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.hasEventListener(_arg1));
}
public function pause():void{
if (isNaN(this.pauseTime)){
this.pauseTime = currentTime;
this.startTime = 999999999999999;
this.enabled = false;
_pausedTweens[this] = this;
};
}
override public function complete(_arg1:Boolean=false):void{
if (((((!(isNaN(this.vars.yoyo))) && ((((_repeatCount < this.vars.yoyo)) || ((this.vars.yoyo == 0)))))) || (((!(isNaN(this.vars.loop))) && ((((_repeatCount < this.vars.loop)) || ((this.vars.loop == 0)))))))){
_repeatCount++;
if (!isNaN(this.vars.yoyo)){
this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease;
};
this.startTime = (_arg1) ? (this.startTime + (this.duration * (1000 / this.combinedTimeScale))) : currentTime;
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
} else {
if (this.vars.persist == true){
pause();
};
};
super.complete(_arg1);
}
public function set timeScale(_arg1:Number):void{
if (_arg1 < 1E-5){
_arg1 = (_timeScale = 1E-5);
} else {
_timeScale = _arg1;
_arg1 = (_arg1 * _globalTimeScale);
};
this.initTime = ((currentTime - ((((currentTime - this.initTime) - (this.delay * (1000 / this.combinedTimeScale))) * this.combinedTimeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1)));
if (this.startTime != 999999999999999){
this.startTime = (this.initTime + (this.delay * (1000 / _arg1)));
};
this.combinedTimeScale = _arg1;
}
public function invalidate(_arg1:Boolean=true):void{
var _local2:Number;
if (this.initted){
_local2 = this.progress;
if (((!(_arg1)) && (!((_local2 == 0))))){
this.progress = 0;
};
this.tweens = [];
_hasPlugins = false;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars;
initTweenVals();
_timeScale = ((this.vars.timeScale) || (1));
this.combinedTimeScale = (_timeScale * _globalTimeScale);
this.delay = ((this.vars.delay) || (0));
if (isNaN(this.pauseTime)){
this.startTime = (this.initTime + ((this.delay * 1000) / this.combinedTimeScale));
};
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
if (_dispatcher != null){
this.vars.onStart = _callbacks.onStart;
this.vars.onUpdate = _callbacks.onUpdate;
this.vars.onComplete = _callbacks.onComplete;
_dispatcher = null;
};
initDispatcher();
};
if (_local2 != 0){
if (_arg1){
adjustStartValues();
} else {
this.progress = _local2;
};
};
};
}
public function get timeScale():Number{
return (_timeScale);
}
protected function onCompleteDispatcher(... _args):void{
if (_callbacks.onComplete != null){
_callbacks.onComplete.apply(null, this.vars.onCompleteParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE));
}
public static function set globalTimeScale(_arg1:Number):void{
setGlobalTimeScale(_arg1);
}
public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(true, _arg1, _arg2);
}
public static function killAllDelayedCalls(_arg1:Boolean=false):void{
killAll(_arg1, false, true);
}
public static function setGlobalTimeScale(_arg1:Number):void{
var _local3:int;
var _local4:Array;
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
var _local2:Dictionary = masterList;
_globalTimeScale = _arg1;
for each (_local4 in _local2) {
_local3 = (_local4.length - 1);
while (_local3 > -1) {
if ((_local4[_local3] is TweenMax)){
_local4[_local3].timeScale = (_local4[_local3].timeScale * 1);
};
_local3--;
};
};
}
public static function get globalTimeScale():Number{
return (_globalTimeScale);
}
public static function getTweensOf(_arg1:Object):Array{
var _local4:TweenLite;
var _local5:int;
var _local2:Array = masterList[_arg1];
var _local3:Array = [];
if (_local2 != null){
_local5 = (_local2.length - 1);
while (_local5 > -1) {
if (!_local2[_local5].gc){
_local3[_local3.length] = _local2[_local5];
};
_local5--;
};
};
for each (_local4 in _pausedTweens) {
if (_local4.target == _arg1){
_local3[_local3.length] = _local4;
};
};
return (_local3);
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenMax{
return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, persist:_arg4, overwrite:0}));
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:Array = getTweensOf(_arg1);
var _local3:int = (_local2.length - 1);
while (_local3 > -1) {
if (((((_local2[_local3].active) || ((_local2[_local3].startTime == currentTime)))) && (!(_local2[_local3].gc)))){
return (true);
};
_local3--;
};
return (false);
}
public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{
var _local5:Boolean;
var _local4:Array = getAllTweens();
var _local6:int = (_local4.length - 1);
while (_local6 > -1) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local4[_local6] is TweenMax)) && ((((_local5 == _arg3)) || (!((_local5 == _arg2))))))){
_local4[_local6].paused = _arg1;
};
_local6--;
};
}
public static function killAllTweens(_arg1:Boolean=false):void{
killAll(_arg1, true, false);
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
_arg3.runBackwards = true;
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{
var _local5:Boolean;
var _local6:int;
var _local4:Array = getAllTweens();
_local6 = (_local4.length - 1);
while (_local6 > -1) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){
if (_arg1){
_local4[_local6].complete(false);
_local4[_local6].clear();
} else {
TweenLite.removeTween(_local4[_local6], true);
};
};
_local6--;
};
}
public static function getAllTweens():Array{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
var _local1:Dictionary = masterList;
var _local2:Array = [];
for each (_local3 in _local1) {
_local4 = (_local3.length - 1);
while (_local4 > -1) {
if (!_local3[_local4].gc){
_local2[_local2.length] = _local3[_local4];
};
_local4--;
};
};
for each (_local5 in _pausedTweens) {
_local2[_local2.length] = _local5;
};
return (_local2);
}
public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(false, _arg1, _arg2);
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
return (new TweenMax(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 56
//CreditsScreen (screen.CreditsScreen)
package screen {
import flash.display.*;
import flash.events.*;
import spill.localisation.*;
import classes.*;
public class CreditsScreen extends MovieClip {
public var btnBack:MovieClip;
public var __id22_:LocalizedTextField;
public var __id23_:LocalizedTextField;
public function CreditsScreen(){
btnBack.addEventListener(MouseEvent.CLICK, onBack, false, 0, true);
Global.mainGame.addChild(this);
__setProp___id22__CreditsScreen_Background_0();
__setProp___id23__CreditsScreen_Background_0();
}
private function onBack(_arg1:MouseEvent):void{
Global.mainGame.showTitleScreen();
}
function __setProp___id22__CreditsScreen_Background_0(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{developer}";
__id22_.textColor = 6319992;
__id22_.textSize = 36;
__id22_.bold = true;
__id22_.disableWordwrap = false;
__id22_.embedFonts = true;
__id22_.font = "";
__id22_.hAlign = "right";
__id22_.multiline = true;
__id22_.vAlign = "bottom";
__id22_.antiAliasType = "advanced";
__id22_.glowBlur = 3;
__id22_.glowColor = 0xFFFFFF;
__id22_.useGlowFilter = true;
__id22_.glowQuality = 10;
__id22_.glowStrength = 5;
__id22_.gridFitType = "pixel";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id23__CreditsScreen_Background_0(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{developerthanks}";
__id23_.textColor = 6319992;
__id23_.textSize = 22;
__id23_.bold = true;
__id23_.disableWordwrap = false;
__id23_.embedFonts = true;
__id23_.font = "";
__id23_.hAlign = "right";
__id23_.multiline = true;
__id23_.vAlign = "bottom";
__id23_.antiAliasType = "advanced";
__id23_.glowBlur = 3;
__id23_.glowColor = 0xFFFFFF;
__id23_.useGlowFilter = true;
__id23_.glowQuality = 10;
__id23_.glowStrength = 5;
__id23_.gridFitType = "pixel";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package screen
Section 57
//EndingScreen (screen.EndingScreen)
package screen {
import flash.display.*;
import flash.events.*;
import classes.*;
public class EndingScreen extends MovieClip {
public var btnBack:SimpleButton;
public function EndingScreen(){
addFrameScript(259, frame260);
btnBack.addEventListener(MouseEvent.CLICK, onBack, false, 0, true);
Global.mainGame.addChild(this);
}
private function onBack(_arg1:MouseEvent):void{
Global.mainGame.showTitleScreen();
}
function frame260(){
stop();
}
}
}//package screen
Section 58
//IntroScreen (screen.IntroScreen)
package screen {
import flash.display.*;
import flash.events.*;
import spill.localisation.*;
import gs.*;
import classes.*;
import flash.utils.*;
import flash.ui.*;
public class IntroScreen extends MovieClip {
private var timer:Timer;
public var __id5_:LocalizedTextField;
private var count:uint;
public var mcIntro1:MovieClip;
public var mcIntro2:MovieClip;
public var mcIntro3:MovieClip;
public function IntroScreen(){
Global.mainGame.addChild(this);
this.count = 0;
this.timer = new Timer(7000);
this.setListeners();
__setProp___id5__IntroScreen_Intro_0();
}
private function onTimerTick(_arg1:TimerEvent){
switch (this.count){
case 0:
TweenMax.to(this.mcIntro1, 1, {alpha:0});
break;
case 1:
TweenMax.to(this.mcIntro2, 1, {alpha:0});
break;
case 2:
this.unsetListeners();
Global.mainGame.showLevelScreen();
break;
};
this.count++;
}
public function setListeners():void{
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false, 0, true);
timer.addEventListener(TimerEvent.TIMER, onTimerTick, false, 0, true);
timer.start();
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (ScreenTransition.getInstance().state != ScreenTransition.STATE_NONE){
return;
};
switch (_arg1.keyCode){
case Keyboard.SPACE:
this.unsetListeners();
Global.mainGame.showLevelScreen();
break;
};
}
public function unsetListeners():void{
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false);
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, onTimerTick, false);
}
function __setProp___id5__IntroScreen_Intro_0(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{skip}";
__id5_.textColor = 0x666666;
__id5_.textSize = 14;
__id5_.bold = true;
__id5_.disableWordwrap = false;
__id5_.embedFonts = true;
__id5_.font = "";
__id5_.hAlign = "center";
__id5_.multiline = false;
__id5_.vAlign = "top";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 3;
__id5_.glowColor = 0;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 1;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package screen
Section 59
//LevelScreen (screen.LevelScreen)
package screen {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import gs.*;
import classes.*;
import flash.net.*;
import flash.ui.*;
public class LevelScreen extends MovieClip {
public var link89:MovieClip;
public var __id20_:LocalizedTextField;
public var link12:MovieClip;
public var link58:MovieClip;
public var __id17_:LocalizedTextField;
public var link56:MovieClip;
public var mole:MovieClip;
public var level1:McLevel1;
public var level2:McLevel2;
public var level3:McLevel3;
public var level4:McLevel4;
public var level5:McLevel5;
public var level6:McLevel6;
public var level7:McLevel7;
public var level8:McLevel8;
public var level9:McLevel9;
public var link67:MovieClip;
public var btnUnlock:SimpleButton;
public var link23:MovieClip;
public var __id18_:LocalizedTextField;
public var link25:MovieClip;
public var btnMoreGamesSat:BrandingLogo;
public var link78:MovieClip;
public var __id19_:LocalizedTextField;
public var txtLifeCount:TextField;
public var txtPointCount:TextField;
public var btnBack:SimpleButton;
public var link34:MovieClip;
public var link45:MovieClip;
public var __id16_:LocalizedTextField;
public function LevelScreen(){
var _local1:*;
var _local2:uint;
super();
LevelData.loadStatus();
this.setListeners();
this.initLevelsButtons();
this.mole.scaleX = (this.mole.scaleX * -1);
if (Global.lifeCount < 10){
this.txtLifeCount.text = ("0" + Global.lifeCount.toString());
} else {
this.txtLifeCount.text = Global.lifeCount.toString();
};
this.txtPointCount.text = Global.pointFinalCount.toString();
_local1 = (this.getChildByName(("level" + LevelData.selectedLevel)).x + 20);
_local2 = (this.getChildByName(("level" + LevelData.selectedLevel)).y + 15);
this.mole.x = _local1;
this.mole.y = _local2;
Global.mainGame.addChild(this);
__setProp___id16__LevelScreen_Main_0();
__setProp___id17__LevelScreen_Main_0();
__setProp___id18__LevelScreen_Main_0();
__setProp___id19__LevelScreen_Main_0();
__setProp___id20__LevelScreen_Main_0();
}
private function onUnlock(_arg1:MouseEvent):void{
LevelData.unlockLevels();
this.initLevelsButtons();
}
private function setListeners():void{
this.btnUnlock.addEventListener(MouseEvent.CLICK, onUnlock, false, 0, true);
this.btnBack.addEventListener(MouseEvent.CLICK, onBack, false, 0, true);
this.btnUnlock.addEventListener(MouseEvent.CLICK, onUnlock, false, 0, true);
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false, 0, true);
btnMoreGamesSat.buttonMode = true;
btnMoreGamesSat.mouseEnabled = true;
btnMoreGamesSat.addEventListener(MouseEvent.CLICK, handle_btnMoreGames, false, 0, true);
}
private function moveMole(_arg1:uint):void{
var _local2:*;
var _local3:uint;
_local2 = (this.getChildByName(("level" + _arg1)).x + 20);
_local3 = (this.getChildByName(("level" + _arg1)).y + 15);
TweenMax.to(this.mole, 0.75, {x:_local2, y:_local3, onComplete:finishMoleMove, onCompleteParams:[_arg1]});
}
private function unsetListeners():void{
this.btnUnlock.removeEventListener(MouseEvent.CLICK, onUnlock, false);
this.btnBack.removeEventListener(MouseEvent.CLICK, onBack, false);
this.btnUnlock.removeEventListener(MouseEvent.CLICK, onUnlock, false);
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false);
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("Mainscreen")), "_blank");
}
private function finishMoleMove(_arg1:uint):void{
LevelData.selectedLevel = _arg1;
}
function __setProp___id17__LevelScreen_Main_0(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{sponsored}";
__id17_.textColor = 1519507;
__id17_.textSize = 12;
__id17_.bold = true;
__id17_.disableWordwrap = false;
__id17_.embedFonts = true;
__id17_.font = "";
__id17_.hAlign = "center";
__id17_.multiline = false;
__id17_.vAlign = "top";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 3;
__id17_.glowColor = 0;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 1;
__id17_.glowStrength = 5;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id20__LevelScreen_Main_0(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{selectlevel}";
__id20_.textColor = 2699318;
__id20_.textSize = 16;
__id20_.bold = true;
__id20_.disableWordwrap = false;
__id20_.embedFonts = true;
__id20_.font = "";
__id20_.hAlign = "left";
__id20_.multiline = false;
__id20_.vAlign = "top";
__id20_.antiAliasType = "advanced";
__id20_.glowBlur = 3;
__id20_.glowColor = 0;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 1;
__id20_.glowStrength = 5;
__id20_.gridFitType = "pixel";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id16__LevelScreen_Main_0(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{score}";
__id16_.textColor = 12566721;
__id16_.textSize = 14;
__id16_.bold = true;
__id16_.disableWordwrap = false;
__id16_.embedFonts = true;
__id16_.font = "";
__id16_.hAlign = "center";
__id16_.multiline = false;
__id16_.vAlign = "top";
__id16_.antiAliasType = "advanced";
__id16_.glowBlur = 3;
__id16_.glowColor = 0;
__id16_.useGlowFilter = false;
__id16_.glowQuality = 1;
__id16_.glowStrength = 5;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id18__LevelScreen_Main_0(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{selectlevel}";
__id18_.textColor = 0xFFFFFF;
__id18_.textSize = 50;
__id18_.bold = true;
__id18_.disableWordwrap = false;
__id18_.embedFonts = true;
__id18_.font = "";
__id18_.hAlign = "left";
__id18_.multiline = false;
__id18_.vAlign = "top";
__id18_.antiAliasType = "advanced";
__id18_.glowBlur = 4;
__id18_.glowColor = 4543324;
__id18_.useGlowFilter = true;
__id18_.glowQuality = 2;
__id18_.glowStrength = 50;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function initLevelsButtons():void{
this.link12.visible = true;
this.link23.visible = true;
this.link34.visible = true;
this.link45.visible = true;
this.link56.visible = true;
this.link67.visible = true;
this.link78.visible = true;
this.link89.visible = true;
this.link25.visible = true;
this.link58.visible = true;
this.level1.alpha = 1;
this.level2.alpha = 1;
this.level3.alpha = 1;
this.level4.alpha = 1;
this.level5.alpha = 1;
this.level6.alpha = 1;
this.level7.alpha = 1;
this.level8.alpha = 1;
this.level9.alpha = 1;
if (!LevelData.link12){
this.link12.visible = false;
this.level2.alpha = 0.4;
};
if (!LevelData.link23){
this.link23.visible = false;
this.level3.alpha = 0.4;
};
if (!LevelData.link34){
this.link34.visible = false;
this.level4.alpha = 0.4;
};
if (!LevelData.link45){
this.link45.visible = false;
};
if (!LevelData.link56){
this.link56.visible = false;
this.level6.alpha = 0.4;
};
if (!LevelData.link67){
this.link67.visible = false;
this.level7.alpha = 0.4;
};
if (!LevelData.link78){
this.link78.visible = false;
};
if (!LevelData.link89){
this.link89.visible = false;
this.level9.alpha = 0.4;
};
if (!LevelData.link25){
this.link25.visible = false;
};
if (!LevelData.link58){
this.link58.visible = false;
};
if (((!(LevelData.link25)) && (!(LevelData.link45)))){
this.level5.alpha = 0.4;
};
if (((!(LevelData.link58)) && (!(LevelData.link78)))){
this.level8.alpha = 0.4;
};
}
private function onBack(_arg1:MouseEvent):void{
LevelData.selectedLevel = 1;
Global.mainGame.showTitleScreen();
this.unsetListeners();
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (ScreenTransition.getInstance().state != ScreenTransition.STATE_NONE){
return;
};
if (LevelData.selectedLevel == 99){
return;
};
switch (_arg1.keyCode){
case 88:
case 90:
case 67:
case Keyboard.ENTER:
case Keyboard.SPACE:
this.unsetListeners();
Global.mainGame.showPlayScreen();
break;
case Keyboard.RIGHT:
if (this.mole.scaleX == 1){
this.mole.scaleX = -1;
};
switch (LevelData.selectedLevel){
case 1:
if (LevelData.link12){
LevelData.selectedLevel = 99;
this.moveMole(2);
};
break;
case 2:
if (LevelData.link23){
LevelData.selectedLevel = 99;
this.moveMole(3);
};
break;
case 5:
if (LevelData.link45){
LevelData.selectedLevel = 99;
this.moveMole(4);
};
break;
case 6:
if (LevelData.link56){
LevelData.selectedLevel = 99;
this.moveMole(5);
};
break;
case 7:
if (LevelData.link78){
LevelData.selectedLevel = 99;
this.moveMole(8);
};
break;
case 8:
if (LevelData.link89){
LevelData.selectedLevel = 99;
this.moveMole(9);
};
break;
};
break;
case Keyboard.LEFT:
if (this.mole.scaleX == -1){
this.mole.scaleX = 1;
};
switch (LevelData.selectedLevel){
case 2:
if (LevelData.link12){
LevelData.selectedLevel = 99;
this.moveMole(1);
};
break;
case 3:
if (LevelData.link23){
LevelData.selectedLevel = 99;
this.moveMole(2);
};
break;
case 4:
if (LevelData.link45){
LevelData.selectedLevel = 99;
this.moveMole(5);
};
break;
case 5:
if (LevelData.link56){
LevelData.selectedLevel = 99;
this.moveMole(6);
};
break;
case 8:
if (LevelData.link78){
LevelData.selectedLevel = 99;
this.moveMole(7);
};
break;
case 9:
if (LevelData.link89){
LevelData.selectedLevel = 99;
this.moveMole(8);
};
break;
};
break;
case Keyboard.UP:
switch (LevelData.selectedLevel){
case 2:
if (LevelData.link25){
LevelData.selectedLevel = 99;
this.moveMole(5);
};
break;
case 3:
if (LevelData.link34){
LevelData.selectedLevel = 99;
this.moveMole(4);
};
break;
case 5:
if (LevelData.link58){
LevelData.selectedLevel = 99;
this.moveMole(8);
};
break;
case 6:
if (LevelData.link67){
LevelData.selectedLevel = 99;
this.moveMole(7);
};
break;
};
break;
case Keyboard.DOWN:
switch (LevelData.selectedLevel){
case 4:
if (LevelData.link34){
LevelData.selectedLevel = 99;
this.moveMole(3);
};
break;
case 5:
if (LevelData.link25){
LevelData.selectedLevel = 99;
this.moveMole(2);
};
break;
case 7:
if (LevelData.link67){
LevelData.selectedLevel = 99;
this.moveMole(6);
};
break;
case 8:
if (LevelData.link58){
LevelData.selectedLevel = 99;
this.moveMole(5);
};
break;
};
break;
};
}
function __setProp___id19__LevelScreen_Main_0(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{move}";
__id19_.textColor = 2699318;
__id19_.textSize = 16;
__id19_.bold = true;
__id19_.disableWordwrap = false;
__id19_.embedFonts = true;
__id19_.font = "";
__id19_.hAlign = "left";
__id19_.multiline = false;
__id19_.vAlign = "top";
__id19_.antiAliasType = "advanced";
__id19_.glowBlur = 3;
__id19_.glowColor = 0;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 1;
__id19_.glowStrength = 5;
__id19_.gridFitType = "pixel";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package screen
Section 60
//OverScreen (screen.OverScreen)
package screen {
import flash.display.*;
import flash.events.*;
import classes.*;
import flash.utils.*;
public class OverScreen extends MovieClip {
private var timer:Timer;
public function OverScreen(){
Global.mainGame.addChild(this);
Global.lifeCount = 5;
Global.imortal = true;
Global.exceed10000 = false;
Global.pointCount = 0;
Global.pointFinalCount = 0;
LevelData.selectedLevel = 1;
LevelData.link12 = false;
LevelData.link23 = false;
LevelData.link34 = false;
LevelData.link45 = false;
LevelData.link56 = false;
LevelData.link67 = false;
LevelData.link78 = false;
LevelData.link89 = false;
LevelData.link25 = false;
LevelData.link58 = false;
LevelData.complete = false;
this.timer = new Timer(5000, 1);
this.timer.addEventListener(TimerEvent.TIMER, onTimerTick, false, 0, true);
this.timer.start();
}
private function onTimerTick(_arg1:TimerEvent):void{
this.timer.stop();
Global.mainGame.showTitleScreen();
}
}
}//package screen
Section 61
//PlayScreen (screen.PlayScreen)
package screen {
import flash.display.*;
import flash.events.*;
import classes.*;
import flash.utils.*;
public class PlayScreen extends MovieClip {
public var mcPause:MovieClip;
public var mcHud:MovieClip;
public var level:MovieClip;
private var timer:Timer;
private var gamePlay:GamePlay;
public var btnSound:SimpleButton;
public var backFinish:MovieClip;
public var background:PlayBack;
public function PlayScreen(){
gamePlay = new GamePlay(this);
Global.timeCount = Global.TIME_LEVEL;
this.mcHud.txtLifeCount.text = ("x" + Global.lifeCount);
this.mcHud.txtPointCount.text = Global.pointCount;
this.mcHud.txtTimeCount.text = Global.timeCount;
Global.mainGame.addChild(this);
this.mcPause.visible = false;
timer = new Timer(1000);
}
public function onQuit(_arg1:MouseEvent=null):void{
var _local2:ScreenTransition = ScreenTransition.getInstance();
_local2.execute(toQuit);
}
private function keyUpHandler(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
};
}
private function toReset():void{
unsetListeners();
gamePlay.destroy();
this.removeChild(gamePlay);
gamePlay = null;
Global.mainGame.toPlayScreen();
}
public function unsetListeners():void{
btnSound.mouseEnabled = false;
btnSound.removeEventListener(MouseEvent.CLICK, onSound, false);
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false);
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler, false);
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, onTimerTick, false);
}
public function onPause(_arg1:MouseEvent=null):void{
if (GamePlay.state == GamePlay.STATE_GAME){
if (GamePlay.paused){
gamePlay.unPause();
this.mcPause.visible = false;
} else {
gamePlay.pause();
this.mcPause.visible = true;
};
};
}
public function toMainMenu():void{
unsetListeners();
gamePlay.destroy();
this.removeChild(gamePlay);
gamePlay = null;
Global.mainGame.toTitleScreen();
}
private function onTimerTick(_arg1:TimerEvent){
if ((((GamePlay.state == GamePlay.STATE_GAME)) && (!(GamePlay.paused)))){
Global.timeCount--;
};
this.mcHud.txtTimeCount.text = Global.timeCount;
if (Global.timeCount == 0){
gamePlay.character.dead();
};
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case 80:
onPause();
break;
};
}
private function toQuit():void{
unsetListeners();
gamePlay.destroy();
this.removeChild(gamePlay);
gamePlay = null;
if (Global.lifeCount >= 0){
Global.mainGame.toLevelScreen();
} else {
Global.mainGame.toOverScreen();
};
}
public function onReset(_arg1:MouseEvent=null):void{
Global.soundManager.stopSound("lavel1");
Global.soundManager.stopSound("lavel2");
Global.soundManager.stopSound("lavel3");
var _local2:ScreenTransition = ScreenTransition.getInstance();
_local2.execute(toReset);
}
public function onMainMenu(_arg1:MouseEvent=null):void{
var _local2:ScreenTransition = ScreenTransition.getInstance();
_local2.execute(toMainMenu);
}
public function setListeners():void{
btnSound.addEventListener(MouseEvent.CLICK, onSound, false, 0, true);
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false, 0, true);
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler, false, 0, true);
timer.addEventListener(TimerEvent.TIMER, onTimerTick, false, 0, true);
timer.start();
}
public function onSound(_arg1:MouseEvent):void{
}
}
}//package screen
Section 62
//ScreenTransition (screen.ScreenTransition)
package screen {
import flash.display.*;
import gs.*;
import classes.*;
public class ScreenTransition extends MovieClip {
private var callback:Function;// = null
private var count:uint;
public var state:String;
private var initialized:Boolean;// = false
public static var STATE_OUT:String = "STATE_OUT";
public static var STATE_NONE:String = "STATE_NONE";
private static var CEIL_COUNT_X:int = 12;
private static var CEIL_COUNT_Y:int = 9;
public static var STATE_IN:String = "STATE_IN";
private static var instance:ScreenTransition = new (ScreenTransition);
;
public function ScreenTransition(){
if (instance){
throw (new Error("Singleton and can only be accessed through Singleton.getInstance()"));
};
}
private function onChange():void{
count++;
if (count == (CEIL_COUNT_X * CEIL_COUNT_Y)){
if (this.callback != null){
callback.call();
callback = null;
};
outEffect();
};
}
public function init():void{
if (!initialized){
initialized = true;
state = STATE_NONE;
count = 0;
this.initClips();
} else {
trace("transition already initialized!");
};
}
private function onFinish():void{
count++;
if (count == (CEIL_COUNT_X * CEIL_COUNT_Y)){
Global.mainGame.mouseChildren = true;
this.state = STATE_NONE;
};
}
public function execute(_arg1:Function=null):void{
if (state == STATE_NONE){
this.callback = _arg1;
Global.mainGame.mouseChildren = false;
inEffect();
};
}
private function inEffect():void{
var _local4:int;
var _local5:int;
var _local6:Number;
var _local7:Number;
Global.mainGame.setChildIndex(this, (Global.mainGame.numChildren - 1));
this.state = STATE_IN;
count = 0;
var _local1:Number = (((Global.STAGE_WIDTH / CEIL_COUNT_X) * 2) + 2);
var _local2:Number = (((Global.STAGE_HEIGHT / CEIL_COUNT_Y) * 2) + 2);
var _local3:int;
while (_local3 < this.numChildren) {
_local4 = (this.getChildAt(_local3).x - 320);
if (_local4 < 0){
_local4 = (_local4 * -1);
};
_local5 = (this.getChildAt(_local3).y - 240);
if (_local5 < 0){
_local5 = (_local5 * -1);
};
_local6 = (((_local4 + _local5) - (320 + 240)) / -1500);
_local7 = 0.75;
TweenMax.to(this.getChildAt(_local3), _local7, {delay:_local6, width:_local1, height:_local2, onComplete:onChange});
_local3++;
};
}
private function initClips():void{
var _local4:int;
var _local5:MovieClip;
var _local1:* = Global.STAGE_WIDTH;
var _local2:* = Global.STAGE_HEIGHT;
var _local3:int;
while (_local3 < CEIL_COUNT_X) {
_local4 = 0;
while (_local4 < CEIL_COUNT_Y) {
_local5 = new TransitionCeil();
_local5.x = ((((_local1 / CEIL_COUNT_X) * _local3) + (_local5.width / 2)) + (((_local1 / CEIL_COUNT_X) - _local5.width) / 2));
_local5.y = ((((_local2 / CEIL_COUNT_Y) * _local4) + (_local5.height / 2)) + (((_local2 / CEIL_COUNT_Y) - _local5.height) / 2));
_local5.width = 0;
_local5.height = 0;
this.addChild(_local5);
_local4++;
};
_local3++;
};
}
private function outEffect():void{
var _local2:int;
var _local3:int;
var _local4:Number;
var _local5:Number;
Global.mainGame.setChildIndex(this, (Global.mainGame.numChildren - 1));
this.state = STATE_OUT;
count = 0;
var _local1:int;
while (_local1 < this.numChildren) {
_local2 = (this.getChildAt(_local1).x - 320);
if (_local2 < 0){
_local2 = (_local2 * -1);
};
_local3 = (this.getChildAt(_local1).y - 240);
if (_local3 < 0){
_local3 = (_local3 * -1);
};
_local4 = ((_local2 + _local3) / 1500);
_local5 = 0.75;
TweenMax.to(this.getChildAt(_local1), _local5, {delay:_local4, width:0, height:0, onComplete:onFinish});
_local1++;
};
}
public static function getInstance():ScreenTransition{
return (instance);
}
}
}//package screen
Section 63
//SplashScreen (screen.SplashScreen)
package screen {
import flash.display.*;
import flash.events.*;
import classes.*;
import flash.net.*;
public class SplashScreen extends MovieClip {
public function SplashScreen(){
addFrameScript(187, frame188);
this.addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
this.buttonMode = true;
Global.mainGame.addChild(this);
}
private function onClick(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("http://gamesfree.com/");
navigateToURL(_local2, "_blank");
}
function frame188(){
stop();
nextScreen();
}
private function nextScreen():void{
Global.mainGame.showTitleScreen();
}
}
}//package screen
Section 64
//TitleScreen (screen.TitleScreen)
package screen {
import flash.display.*;
import flash.events.*;
import spill.localisation.*;
import classes.*;
import flash.net.*;
import flash.ui.*;
public class TitleScreen extends MovieClip {
public var McTitle:MovieClip;
public var btnSound:SimpleButton;
public var btnMoreGamesSat:BrandingLogo;
public var btnCredits:MovieClip;
public var enemy1:McEnemy;
public var enemy2:McEnemy;
public var enemy3:McEnemy;
public var btnMoreGames:MovieClip;
public var btnPlay:MovieClip;
public function TitleScreen(){
addFrameScript(0, frame1);
Global.mainGame.addChild(this);
this.setListeners();
MovieClip(btnPlay).buttonMode = true;
MovieClip(btnCredits).buttonMode = true;
MovieClip(btnMoreGames).buttonMode = true;
}
private function onMoreGames(_arg1:MouseEvent):void{
}
public function unsetListeners():void{
btnPlay.removeEventListener(MouseEvent.CLICK, onPlay, false);
btnMoreGames.removeEventListener(MouseEvent.CLICK, onMoreGames, false);
btnCredits.removeEventListener(MouseEvent.CLICK, onCredits, false);
btnSound.removeEventListener(MouseEvent.CLICK, onSound, false);
Global.mainGame.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false);
btnMoreGames.removeEventListener(MouseEvent.CLICK, handle_btnMoreGames, false);
btnMoreGamesSat.removeEventListener(MouseEvent.CLICK, handle_btnMoreGames, false);
}
function frame1(){
enemy1.gotoAndPlay(14);
enemy3.gotoAndPlay(7);
stop();
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("Mainscreen")), "_blank");
}
private function onPlay(_arg1:MouseEvent=null):void{
this.unsetListeners();
Global.mainGame.showIntroScreen();
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case 88:
case 90:
case 67:
case Keyboard.ENTER:
case Keyboard.SPACE:
onPlay();
break;
};
}
private function onCredits(_arg1:MouseEvent):void{
this.unsetListeners();
Global.mainGame.showCreditsScreen();
}
public function setListeners():void{
btnPlay.addEventListener(MouseEvent.CLICK, onPlay, false, 0, true);
btnMoreGames.addEventListener(MouseEvent.CLICK, onMoreGames, false, 0, true);
btnCredits.addEventListener(MouseEvent.CLICK, onCredits, false, 0, true);
btnSound.addEventListener(MouseEvent.CLICK, onSound, false, 0, true);
Global.mainGame.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false, 0, true);
btnMoreGames.buttonMode = true;
btnMoreGames.mouseEnabled = true;
btnMoreGames.addEventListener(MouseEvent.CLICK, handle_btnMoreGames, false, 0, true);
btnMoreGamesSat.buttonMode = true;
btnMoreGamesSat.mouseEnabled = true;
btnMoreGamesSat.addEventListener(MouseEvent.CLICK, handle_btnMoreGames, false, 0, true);
}
private function onSound(_arg1:MouseEvent):void{
Global.soundManager.onOffSound();
}
}
}//package screen
Section 65
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var emailPage:String;
public var name:String;
public var site_id:uint;
public var isExternal:Boolean;// = false
public var id:Number;
public var hostingDomain:String;// = ""
public var preferedLanguage:String;// = ""
public var moreLink:String;// = ""
public var hasSendToFriendLink:Boolean;// = true
public var emailLink:String;// = "game"
public var portalGroup:uint;
public var useGoogleAnalitics:Boolean;// = true
private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in");
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function exportXML():XML{
var _local3:XML;
var _local1:XML = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
var _local2:XML = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String = ("http://" + domain);
_local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local6 = (_local6 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
trace(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local6 = (_local6 + ("&utm_source=" + _arg4));
if (((!((_arg5 == ""))) && (!((_arg5 == null))))){
_local6 = (_local6 + ("&utm_content=" + _arg5));
};
};
return (_local6);
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
private function get utm_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
public static function stripSubDomain(_arg1:String):String{
if (!_arg1){
return ("");
};
var _local2:Array = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 66
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.display.*;
import flash.events.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
addFrameScript(0, frame1);
super();
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
function frame1(){
stop();
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 67
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
public static function getBrandsArray():Array{
var _local2:Brand;
var _local1:Array = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.YOUNG_ADULTS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 125;
_local1.domain = "www.juegos.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 126;
_local1.domain = "www.juegosdechicas.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 127;
_local1.domain = "www.juegos.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 128;
_local1.domain = "www.juegosdechicas.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 124;
_local1.domain = "www.zapapa.nl";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.HYVES;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 0;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function exportXML():XML{
var _local2:Brand;
var _local1:XML = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
}
}//package spill.localisation
Section 68
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var portal_groups:Array;
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var id:uint;
public var forceFont:String;// = null
public var textLanguage:String;
public var bwcId:int;
public var embedFonts:Boolean;// = true
public var displayName:String;// = ""
public var dname:String;
public function Language(_arg1:String, _arg2:String=null){
references = [];
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
var _local2:XMLNode = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
var _local3:Array = [];
var _local4:Array = PortalGroup.channelNames;
var _local5:int;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
public function get p_teen():String{
return (portal_groups[PortalGroup.YOUNG_ADULTS]);
}
public function set p_hyves(_arg1:String):void{
portal_groups[PortalGroup.HYVES] = _arg1;
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.YOUNG_ADULTS] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TEENS]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function get p_girl():String{
trace("Language", portal_groups[PortalGroup.GIRL]);
return (portal_groups[PortalGroup.GIRL]);
}
public function get p_hyves():String{
return (portal_groups[PortalGroup.HYVES]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function set p_zapapa(_arg1:String):void{
portal_groups[PortalGroup.ZAPAPA] = _arg1;
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TEENS] = _arg1;
}
public function get p_zapapa():String{
return (portal_groups[PortalGroup.ZAPAPA]);
}
}
}//package spill.localisation
Section 69
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("nl");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.bwcId = 3;
addLanguage(_local1);
_local1 = new Language("es");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.girlsgogames.es";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 9;
addLanguage(_local1);
_local1 = new Language("pl");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.gry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 6;
addLanguage(_local1);
_local1 = new Language("fr");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 4;
addLanguage(_local1);
_local1 = new Language("en_us", "us");
_local1.displayName = "English";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 1;
addLanguage(_local1);
addReference(_local1, "en");
_local1 = new Language("id");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.games.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.games.co.id";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 11;
addLanguage(_local1);
_local1 = new Language("ru");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 12;
addLanguage(_local1);
_local1 = new Language("se");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 7;
addLanguage(_local1);
addReference(_local1, "sv");
_local1 = new Language("it");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.gioco.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 8;
addLanguage(_local1);
_local1 = new Language("en_uk", "uk");
_local1.displayName = "English";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 13;
addLanguage(_local1);
_local1 = new Language("cn");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_teen = "www.game.com.cn";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 2;
_local1.embedInputFonts = false;
addLanguage(_local1);
addReference(_local1, "zh-CN");
addReference(_local1, "zh-TW");
_local1 = new Language("pt");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.ojogos.pt";
_local1.p_girl = "www.ojogos.pt";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 17;
addLanguage(_local1);
_local1 = new Language("in");
_local1.displayName = "English";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "en_uk";
_local1.bwcId = 14;
addLanguage(_local1);
_local1 = new Language("de");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 5;
addLanguage(_local1);
_local1 = new Language("br");
_local1.displayName = "Português (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 10;
addLanguage(_local1);
_local1 = new Language("jp");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.embedInputFonts = false;
_local1.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
_local1 = new Language("ar");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.dailygame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 20;
addLanguage(_local1);
addReference(_local1, "ar");
_local1 = new Language("es_mx", "mx");
_local1.displayName = "Español (mx)";
_local1.p_family = "www.juegos.mx";
_local1.p_tween = "www.juegos.mx";
_local1.p_girl = "www.juegosdechicas.mx";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
addLanguage(_local1);
addReference(_local1, "mx");
_local1 = new Language("es_ar", "arg");
_local1.displayName = "Español (ar)";
_local1.p_family = "www.juegos.com.ar";
_local1.p_tween = "www.juegos.com.ar";
_local1.p_girl = "www.juegosdechicas.com.ar";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
addLanguage(_local1);
addReference(_local1, "arg");
}
public static function exportXML():XMLNode{
var _local3:Language;
var _local1:Array = getLanguagesArray();
var _local2:XMLNode = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
public static function getLanguagesArray():Array{
var _local3:Language;
var _local1:Array = new Array();
var _local2:Object = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package spill.localisation
Section 70
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
public class LanguageSelectBox extends MovieClip {
private var flag:MovieClip;
private var languageName_text:TextField;
private var popup:MovieClip;
private var mc:MovieClip;
public function LanguageSelectBox(){
trace("new langselecbox");
super();
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
trace("addedselebnox");
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = Math.floor(mc.height);
} else {
popup.y = (-(Math.floor(mc.height)) + 1);
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
public function init():void{
var _local3:MovieClip;
var _local4:Language;
trace("initselectbox");
var _local1:Array = new Array(popup.l_br, popup.l_de, popup.l_en_us, popup.l_fr, popup.l_in, popup.l_jp, popup.l_pt, popup.l_ru, popup.l_ar, popup.l_cn, popup.l_en_uk, popup.l_es, popup.l_id, popup.l_it, popup.l_nl, popup.l_pl, popup.l_se, popup.l_es_mx, popup.l_es_ar);
var _local2:int;
while (_local2 < _local1.length) {
_local3 = MovieClip(_local1[_local2]);
if (_local3){
_local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local3.flag.gotoAndStop(_local3.name.substr(2));
_local3.flag.mouseEnabled = false;
_local3.text.mouseEnabled = false;
_local4 = Languages.getLanguage(_local3.name.substr(2));
if (_local4){
_local3.text.text = _local4.displayAcronim;
} else {
trace((("Error, '" + _local3.name.substr(2)) + "' language not found"));
};
} else {
trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'"));
};
_local2++;
};
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
if ((((SpilGame.portalGroup == PortalGroup.HYVES)) && ((SpilGame.currentLanguage.name == "nl")))){
this.visible = false;
return;
};
this.visible = true;
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts;
};
}
}
}//package spill.localisation
Section 71
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var languageName_text:TextField;
public var flag:MovieClip;
}
}//package spill.localisation
Section 72
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_cn:MovieClip;
public var l_br:MovieClip;
public var l_se:MovieClip;
public var l_id:MovieClip;
public var l_es_ar:MovieClip;
public var l_es_mx:MovieClip;
public var l_in:MovieClip;
public var l_en_uk:MovieClip;
public var l_en_us:MovieClip;
public var l_es:MovieClip;
public var l_ar:MovieClip;
public var l_it:MovieClip;
public var l_pl:MovieClip;
public var l_nl:MovieClip;
public var l_de:MovieClip;
public var l_ru:MovieClip;
public var l_pt:MovieClip;
public var l_jp:MovieClip;
public var l_fr:MovieClip;
}
}//package spill.localisation
Section 73
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var regex:RegExp;
private var originalText:String;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
private function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
trace(super.text);
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
}
}//package spill.localisation
Section 74
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const YOUNG_ADULTS:uint = 3;
public static const FAMILY:uint = 0;
public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa", "hyves"];
public static const ZAPAPA:uint = 4;
public static const HYVES:uint = 5;
public static const TEENS:uint = 1;
public static const GIRL:uint = 2;
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF];
public static const NONE:uint = 6;
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local3:XMLNode;
var _local1:XMLNode = new XMLNode(1, "channels");
var _local2:int;
while (_local2 < 5) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 75
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 76
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookieName:String = "spilgames_language_v100";
private static const cookiePath:String = "/";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static const BRANDING_CHANGED:String = "brandingChanged";
private static var strings:Object = new Object();
public static var currentBranding:Brand;
private static var contexMenuItem:ContextMenuItem;
spil_internal static var gameName:String;
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage:String;
private static var channelLock:Boolean = false;
spil_internal static var debugEmbedDomain:String = "";
private static var eventDispatcher:EventDispatcher;
private static var _init:Boolean = false;
public static var currentLanguage:Language;
spil_internal static var portalGroup:uint;
private static var stage:Sprite;
public static function getSpilCompanyLink():String{
var _local1 = "http://www.gameportal.net/";
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (isExternal) ? "external" : "internal"));
_local1 = (_local1 + ("&utm_campaign=" + gameName));
_local1 = (_local1 + ("&utm_source=" + Brand.stripSubDomain((embedDomain) ? embedDomain : hostingDomain)));
_local1 = (_local1 + "&utm_content=Branding_Link");
return (_local1);
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1));
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function getString(_arg1:String):String{
var _local2:Object = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
if (_local2[currentLanguage.name]){
return (_local2[currentLanguage.name]);
};
return (_local2["en_us"]);
//unresolved jump
};
return ("");
}
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
stage = _arg4;
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
localDomains["stg.spel.nl"] = true;
localDomains["stg.girlsgogames.nl"] = true;
localDomains["stg.pl.spel.nl"] = true;
localDomains["stg.pl.girlsgogames.nl"] = true;
trace(localDomains["stg.girlsgogames.nl"]);
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
if (portalGroup == PortalGroup.HYVES){
changeLanguage("nl");
};
}
public static function get isExternal():Boolean{
return (((((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain])))) && (!(isStagingDomain))));
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
spil_internal static function chooseBranding():void{
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
if (!(currentBranding is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function get systemLanguage():Language{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
private static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
public static function exportXML():XML{
var _local1:XML = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public static function outputAllBrands():String{
var _local3:Brand;
var _local1:Array = Brandings.getBrandsArray();
var _local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
public static function get isStagingDomain():Boolean{
var _local1:String = ("http://" + embedDomain);
return ((_local1.indexOf("http://stg.") >= 0));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
var _local2:String = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
}
}//package spill.localisation
Section 77
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 78
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.filters.*;
import flash.utils.*;
public class TextFieldFit extends MovieClip {
protected var _glowQuality:Number;// = 1
protected var _gridFitType:String;// = "pixel"
protected var _text:String;// = "default"
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _textSize:Number;// = 12
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _embedFonts:Boolean;// = true
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _useGlowFilter:Boolean;// = false
protected var _glowColor:uint;// = 0
protected var _bold:Boolean;// = false
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var sizeChanged:Boolean;// = true
private var w:Number;
private var embeddedFonts:Array;
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
protected var _selectable:Boolean;// = false
private var format:TextFormat;
private var field:TextField;
private var valid:Boolean;// = true
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceAAType:String = null;
spil_internal static var forceFont:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
var _local2:Number = width;
var _local3:Number = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
public function get vAlign():String{
return (_vAlign);
}
public function get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function get text():String{
return (_text);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
public function get hAlign():String{
return (_hAlign);
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
public function get bold():Boolean{
return (_bold);
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function get textField():TextField{
return (field);
}
public function get glowColor():uint{
return (_glowColor);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
} else {
trace((("Found Embedded font '" + _font) + "' using font"));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
format.font = _font;
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
}
}//package spill.localisation
Section 79
//SoundManager (util.SoundManager)
package util {
import gs.*;
import flash.media.*;
import flash.utils.*;
import flash.net.*;
public class SoundManager {
private var _soundsDict:Dictionary;
private var _enabled:Boolean;
private var _sounds:Array;
private static var _instance:SoundManager;
private static var _allowInstance:Boolean;
public function SoundManager(){
this._soundsDict = new Dictionary(true);
this._sounds = new Array();
this._enabled = true;
if (!SoundManager._allowInstance){
throw (new Error("Error: Use SoundManager.getInstance() instead of the new keyword."));
};
}
public function setSoundVolume(_arg1:String, _arg2:Number):void{
var _local3:Object = this._soundsDict[_arg1];
var _local4:SoundTransform = _local3.channel.soundTransform;
_local4.volume = _arg2;
_local3.channel.soundTransform = _local4;
}
public function get enabled():Boolean{
return (this._enabled);
}
public function fadeSound(_arg1:String, _arg2:Number=0, _arg3:Number=1):void{
var _local4:SoundChannel = this._soundsDict[_arg1].channel;
TweenLite.to(_local4, _arg3, {volume:_arg2});
}
public function getSoundDuration(_arg1:String):Number{
return (this._soundsDict[_arg1].sound.length);
}
public function toString():String{
return (getQualifiedClassName(this));
}
public function playMusic(_arg1:String, _arg2:Number=1, _arg3:Number=0, _arg4:int=9999):void{
var _local5:int;
var _local6:String;
var _local7:Boolean;
if (isSoundPaused(_arg1)){
_local5 = 0;
while (_local5 < this._sounds.length) {
_local6 = this._sounds[_local5].name;
_local7 = this._sounds[_local5].isMusic;
if (_local7){
stopSound(_local6);
};
_local5++;
};
playSound(_arg1, _arg2, _arg3, _arg4);
};
}
public function getSoundVolume(_arg1:String):Number{
return (this._soundsDict[_arg1].channel.soundTransform.volume);
}
public function addLibrarySound(_arg1, _arg2:String, _arg3:Boolean=false):Boolean{
var _local4:int;
while (_local4 < this._sounds.length) {
if (this._sounds[_local4].name == _arg2){
return (false);
};
_local4++;
};
var _local5:Object = new Object();
var _local6:Sound = new (_arg1);
_local5.name = _arg2;
_local5.isMusic = _arg3;
_local5.sound = _local6;
_local5.channel = new SoundChannel();
_local5.position = 0;
_local5.paused = true;
_local5.volume = 1;
_local5.startTime = 0;
_local5.loops = 0;
_local5.pausedByAll = false;
this._soundsDict[_arg2] = _local5;
this._sounds.push(_local5);
return (true);
}
public function isSoundPaused(_arg1:String):Boolean{
return (this._soundsDict[_arg1].paused);
}
public function get sounds():Array{
return (this._sounds);
}
public function onOffSound():void{
if (this._enabled){
this._enabled = false;
this.muteAllSounds();
} else {
this._enabled = true;
this.unmuteAllSounds();
};
}
public function removeAllSounds():void{
var _local1:int;
while (_local1 < this._sounds.length) {
this._sounds[_local1] = null;
_local1++;
};
this._sounds = new Array();
this._soundsDict = new Dictionary(true);
}
public function getSoundPosition(_arg1:String):Number{
return (this._soundsDict[_arg1].channel.position);
}
public function stopAllSounds(_arg1:Boolean=true):void{
var _local3:String;
var _local2:int;
while (_local2 < this._sounds.length) {
_local3 = this._sounds[_local2].name;
if (_arg1){
if (!this._soundsDict[_local3].paused){
this._soundsDict[_local3].pausedByAll = true;
this.stopSound(_local3);
};
} else {
this.stopSound(_local3);
};
_local2++;
};
}
public function removeSound(_arg1:String):void{
var _local2:int;
while (_local2 < this._sounds.length) {
if (this._sounds[_local2].name == _arg1){
this._sounds[_local2] = null;
this._sounds.splice(_local2, 1);
};
_local2++;
};
delete this._soundsDict[_arg1];
}
public function muteAllSounds():void{
var _local2:String;
var _local1:int;
while (_local1 < this._sounds.length) {
_local2 = this._sounds[_local1].name;
this.setSoundVolume(_local2, 0);
_local1++;
};
}
public function stopSound(_arg1:String):void{
var _local2:Object = this._soundsDict[_arg1];
_local2.paused = true;
_local2.channel.stop();
_local2.position = _local2.channel.position;
}
public function pauseAllSounds(_arg1:Boolean=true):void{
var _local3:String;
var _local2:int;
while (_local2 < this._sounds.length) {
_local3 = this._sounds[_local2].name;
if (_arg1){
if (!this._soundsDict[_local3].paused){
this._soundsDict[_local3].pausedByAll = true;
this.pauseSound(_local3);
};
} else {
this.pauseSound(_local3);
};
_local2++;
};
}
public function playAllSounds(_arg1:Boolean=false):void{
var _local3:String;
var _local2:int;
while (_local2 < this._sounds.length) {
_local3 = this._sounds[_local2].name;
if (_arg1){
if (this._soundsDict[_local3].pausedByAll){
this._soundsDict[_local3].pausedByAll = false;
this.playSound(_local3);
};
} else {
this.playSound(_local3);
};
_local2++;
};
}
public function addExternalSound(_arg1:String, _arg2:String, _arg3:Number=1000, _arg4:Boolean=false, _arg5:Boolean=false):Boolean{
var _local6:int;
while (_local6 < this._sounds.length) {
if (this._sounds[_local6].name == _arg2){
return (false);
};
_local6++;
};
var _local7:Object = new Object();
var _local8:Sound = new Sound(new URLRequest(_arg1), new SoundLoaderContext(_arg3, _arg5));
_local7.name = _arg2;
_local7.isMusic = _arg4;
_local7.sound = _local8;
_local7.channel = new SoundChannel();
_local7.position = 0;
_local7.paused = true;
_local7.volume = 1;
_local7.startTime = 0;
_local7.loops = 0;
_local7.pausedByAll = false;
this._soundsDict[_arg2] = _local7;
this._sounds.push(_local7);
return (true);
}
public function unmuteAllSounds():void{
var _local2:String;
var _local3:Object;
var _local4:SoundTransform;
var _local1:int;
while (_local1 < this._sounds.length) {
_local2 = this._sounds[_local1].name;
_local3 = this._soundsDict[_local2];
_local4 = _local3.channel.soundTransform;
_local4.volume = _local3.volume;
_local3.channel.soundTransform = _local4;
_local1++;
};
}
public function isSoundPausedByAll(_arg1:String):Boolean{
return (this._soundsDict[_arg1].pausedByAll);
}
public function getSoundObject(_arg1:String):Sound{
return (this._soundsDict[_arg1].sound);
}
public function pauseSound(_arg1:String):void{
var _local2:Object = this._soundsDict[_arg1];
_local2.paused = true;
_local2.position = _local2.channel.position;
_local2.channel.stop();
}
public function playSound(_arg1:String, _arg2:Number=1, _arg3:Number=0, _arg4:int=0):void{
stopSound(_arg1);
var _local5:Object = this._soundsDict[_arg1];
_local5.volume = _arg2;
_local5.startTime = _arg3;
_local5.loops = _arg4;
if (_local5.paused){
if (_enabled){
_local5.channel = _local5.sound.play(_local5.position, _local5.loops, new SoundTransform(_local5.volume));
} else {
_local5.channel = _local5.sound.play(_local5.position, _local5.loops, new SoundTransform(0));
};
} else {
if (_enabled){
_local5.channel = _local5.sound.play(_arg3, _local5.loops, new SoundTransform(_local5.volume));
} else {
_local5.channel = _local5.sound.play(_arg3, _local5.loops, new SoundTransform(0));
};
};
_local5.paused = false;
}
public static function getInstance():SoundManager{
if (SoundManager._instance == null){
SoundManager._allowInstance = true;
SoundManager._instance = new (SoundManager);
SoundManager._allowInstance = false;
};
return (SoundManager._instance);
}
}
}//package util
Section 80
//TimerLite (util.TimerLite)
package util {
import flash.events.*;
import flash.utils.*;
public class TimerLite {
protected var callBackClass:Object;
protected var timer:Timer;
protected var callBack:Function;
public static function delay(_arg1:Number, _arg2:Function, _arg3:Object):TimerLite{
var lite:TimerLite;
var time = _arg1;
var callBack = _arg2;
var callBackClass = _arg3;
lite = new (TimerLite);
lite.timer = new Timer(time, 1);
lite.callBack = callBack;
lite.callBackClass = callBackClass;
lite.timer.addEventListener(TimerEvent.TIMER_COMPLETE, function (_arg1){
var e = _arg1;
lite.timer.removeEventListener(TimerEvent.TIMER_COMPLETE, function (){
});
callBack.call(callBackClass);
});
lite.timer.start();
return (lite);
}
}
}//package util
Section 81
//EN_EN (EN_EN)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class EN_EN extends MovieClip {
public var preloader:MovieClip;
public function EN_EN(){
addFrameScript(0, frame1);
}
public function siteLock():void{
var _local1:String = stage.loaderInfo.url;
var _local2:Number = (_local1.indexOf("://") + 3);
var _local3:Number = _local1.indexOf("/", _local2);
var _local4:String = _local1.substring(_local2, _local3);
var _local5:Number = (_local4.lastIndexOf(".") - 1);
var _local6:Number = (_local4.lastIndexOf(".", _local5) + 1);
_local4 = _local4.substring(_local6, _local4.length);
if (_local4 != "flashgamelicense.com"){
MovieClip(root).alpha = 0;
} else {
preloader.setListeners();
};
}
function frame1(){
contextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
preloader.setListeners();
stop();
}
}
}//package
Section 82
//Game (Game)
package {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import screen.*;
import com.spilgames.api.*;
import classes.*;
public class Game extends MovieClip {
public var endingScreen:EndingScreen;
public var playScreen:PlayScreen;
public var splashScreen:SplashScreen;
public var levelScreen:LevelScreen;
public var transition:ScreenTransition;
public var spilGamesServices:SpilGamesServices;
public var titleScreen:TitleScreen;
public var overScreen:OverScreen;
public var creditsScreen:CreditsScreen;
public var introScreen:IntroScreen;
public function Game():void{
var _local1:XML = <LocalisedText><textItem identifier="title"><en_us>Mole Revenge</en_us><en_uk>Mole Revenge</en_uk><nl>Wraak van de mol</nl><fr>Vengeance d'une taupe</fr><de>Die Rache des Maulwurfs</de><es>La venganza del topo</es><br>A Vingança da Toupeira</br><pt>A Vingança da Toupeira</pt><it>La vendetta della talpa</it><se>Mullvadens hämnd</se><pl>Krecia Zemsta</pl><ru>Месть крота</ru><id>Pembalasan Tikus Tanah</id><ar>Mole Revenge</ar><jp>Mole Revenge</jp><cn>Mole Revenge</cn><es_mx>La venganza del topo</es_mx><es_ar>La venganza del topo</es_ar></textItem><textItem identifier="play"><en_us>Play</en_us><en_uk>Play</en_uk><nl>Spelen</nl><fr>Jouer</fr><de>Spielen</de><es>Jugar</es><br>Jogar</br><pt>Jogar</pt><it>Gioca</it><se>Spela</se><pl>Graj</pl><ru>Играть</ru><id>Main</id><ar>Play</ar><jp>Play</jp><cn>Play</cn><es_mx>Jugar</es_mx><es_ar>Jugar</es_ar></textItem><textItem identifier="credits"><en_us>Credits</en_us><en_uk>Credits</en_uk><nl>De makers</nl><fr>Crédits</fr><de>Credits</de><es>Créditos</es><br>Créditos</br><pt>Créditos</pt><it>Riconoscimenti</it><se>Tacklista</se><pl>Autorzy</pl><ru>Об авторах</ru><id>Kredit</id><ar>Credits</ar><jp>Credits</jp><cn>Credits</cn><es_mx>Créditos</es_mx><es_ar>Créditos</es_ar></textItem><textItem identifier="moregames"><en_us>More Games</en_us><en_uk>More Games</en_uk><nl>Meer spellen</nl><fr>Plus de jeux</fr><de>Mehr Spiele</de><es>Más juegos</es><br>Mais Jogos</br><pt>Mais Jogos</pt><it>Più giochi</it><se>Fler spel</se><pl>Więcej gier</pl><ru>Другие игры</ru><id>Game Lain</id><ar>More Games</ar><jp>More Games</jp><cn>More Games</cn><es_mx>Más juegos</es_mx><es_ar>Más juegos</es_ar></textItem><textItem identifier="back"><en_us>Back</en_us><en_uk>Back</en_uk><nl>Terug</nl><fr>Précédent</fr><de>Zurück</de><es>Atrás</es><br>Voltar</br><pt>Voltar</pt><it>Indietro</it><se>Bakåt</se><pl>Powrót</pl><ru>Назад</ru><id>Kembali</id><ar>Back</ar><jp>Back</jp><cn>Back</cn><es_mx>Atrás</es_mx><es_ar>Atrás</es_ar></textItem><textItem identifier="history1"><en_us>Once upon a time, there was a mole who didn't like to dig.</en_us><en_uk>Once upon a time there was a mole who didn't like digging.</en_uk><nl>Er was eens 'n mol die niet van graven hield.</nl><fr>Il était une fois une taupe qui n'aimait pas creuser.</fr><de>Es war einmal ein Maulwurf, der nicht gerne Löcher grub.</de><es>Érase una vez, un topo al que no le gustaba excavar.</es><br>Era uma vez uma toupeira que não gostava de cavar.</br><pt>Era uma vez uma toupeira que não gostava de cavar.</pt><it>C'era una volta una talpa a cui non piaceva scavare.</it><se>Det var en gång en mullvad som inte ville gräva.</se><pl>Pewnego razu był sobie kret, który nie lubił kopać.</pl><ru>Жил-был крот, который не любил рыться в земле.</ru><id>Konon ada tikus tanah yang tidak suka menggali.</id><ar>Once upon a time, there was a mole who didn't like to dig.</ar><jp>Once upon a time, there was a mole who didn't like to dig.</jp><cn>Once upon a time, there was a mole who didn't like to dig.</cn><es_mx>Érase una vez un topo al que no le gustaba cavar.</es_mx><es_ar>Había una vez un topo al que no le gustaba cavar.</es_ar></textItem><textItem identifier="history2"><en_us>He loved to take walks in the grass and breathe fresh air.</en_us><en_uk>He loved going on walks in the grass and breathing in the fresh air.</en_uk><nl>Hij liep liever door het gras om de frisse lucht op te snuiven.</nl><fr>Elle aimait marcher sur l'herbe et respirer l'air frais.</fr><de>Er liebte es, im Gras zu spazieren und frische Luft zu atmen.</de><es>Le encantaba dar paseos por la hierba y respirar aire fresco. </es><br>Ela gostava de caminhar na grama e respirar ar fresco.</br><pt>Ela adorava passear pela relva e respirar o ar puro.</pt><it>Adorava fare lunghe passeggiate sull'erba e respirare aria fresca.</it><se>Han älskade att gå långa promenader i gräset och andas frisk luft.</se><pl>Uwielbiał spacerować po trawie i oddychać świeżym powietrzem.</pl><ru>Он любил гулять по траве и дышать свежим воздухом.</ru><id>Dia senang berjalan-jalan di rumput dan menghirup udara segar</id><ar>He loved to take walks in the grass and breathe fresh air.</ar><jp>He loved to take walks in the grass and breathe fresh air.</jp><cn>He loved to take walks in the grass and breathe fresh air.</cn><es_mx>Le encantaba caminar por el pasto y tomar aire fresco.</es_mx><es_ar>Le encantaba caminar sobre el césped y respirar aire fresco.</es_ar></textItem><textItem identifier="history3"><en_us>Then, one day, his family was abducted by some troublemakers.</en_us><en_uk>Then one day, his family was abducted by some troublemakers.</en_uk><nl>Op een dag werd zijn familie ontvoerd door een stel boeven.</nl><fr>Un jour, de méchantes taupes enlevèrent sa famille.</fr><de>Aber dann, eines Tages, wurde seine Familie von Störenfrieden entführt.</de><es>Entonces, un día, unos alborotadores secuestraron a su familia.</es><br>Um dia, a família dela foi seqüestrada por uns bandidos.</br><pt>Um dia, a sua família foi raptada por uns arruaceiros.</pt><it>Finché un giorno la sua famiglia non venne rapita da alcuni attaccabrighe.</it><se>Så en dag blev hans familj kidnappad av några elakingar.</se><pl>Pewnego dnia jego rodzina została porwana przez jakichś łobuzów.</pl><ru>Но однажды какие-то злыдни похитили его семью.</ru><id>Lalu, suatu hari, keluarganya diculik oleh pembuat onar.</id><ar>Then, one day, his family was abducted by some troublemakers.</ar><jp>Then, one day, his family was abducted by some troublemakers.</jp><cn>Then, one day, his family was abducted by some troublemakers.</cn><es_mx>Luego, un día, su familia fue secuestrada por unos buscapleitos.</es_mx><es_ar>Pero un día, unos alborotadores secuestraron a su familia.</es_ar></textItem><textItem identifier="history4"><en_us>All day he searched, and finally he caught up with the kidnappers! </en_us><en_uk>All day he searched, and he finally caught up with the kidnappers! </en_uk><nl>Hij zocht en zocht, een hele dag. Toen vond hij eindelijk de ontvoerders.</nl><fr>Après de longues recherches, la taupe rattrapa enfin les ravisseurs ! </fr><de>Er suchte den ganzen Tag, bis er die Kidnapper endlich gefunden hatte!</de><es>¡Los buscó todo el día y finalmente alcanzó a los secuestradores!</es><br>Ela procurou o dia inteiro até que, finalmente, achou os seqüestradores!</br><pt>Procurou todo o dia, e finalmente conseguiu localizar os raptores!</pt><it>Li cercò per tutto il giorno e finalmente riuscì a raggiungere i rapitori!</it><se>Han letade hela dagen och till slut hittade han kidnapparna!</se><pl>Kret przeprowadził całodzienne poszukiwania i w końcu dogonił porywaczy!</pl><ru>Крот потратил на поиски целый день и наконец вышел на след похитителей!</ru><id>Sepanjang hari dia mencari, dan akhirnya menyusul para penculik! </id><ar>All day he searched, and finally he caught up with the kidnappers! </ar><jp>All day he searched, and finally he caught up with the kidnappers! </jp><cn>All day he searched, and finally he caught up with the kidnappers! </cn><es_mx>¡Los buscó todo el día, hasta que al fin atrapó a los secuestradores! </es_mx><es_ar>El topo los buscó todo el día y finalmente alcanzó a los secuestradores. </es_ar></textItem><textItem identifier="history5"><en_us>We should probably help him out, don't you think?</en_us><en_uk>We should help him out, don't you think?</en_uk><nl>Hij heeft onze hulp nodig, vind je ook niet?</nl><fr>On pourrait peut-être l'aider, qu'en pense-tu ?</fr><de>Wir sollten ihm helfen, findest du nicht?</de><es>Deberíamos ayudarle, ¿no crees?</es><br>Acho que a gente podia ajudá-la, não é mesmo?</br><pt>Devíamos ajudar a toupeira, não achas?</pt><it>Non pensi che dovremmo aiutarla?</it><se>Vi bör hjälpa honom, eller vad tycker du?</se><pl>Chyba powinniśmy mu pomóc, jak myślisz?</pl><ru>Думаю, нам стоит ему помочь!</ru><id>Kita sebaiknya membantunya, bukan?</id><ar>We should probably help him out, don't you think?</ar><jp>We should probably help him out, don't you think?</jp><cn>We should probably help him out, don't you think?</cn><es_mx>Podríamos ayudarle, ¿no crees?</es_mx><es_ar>Deberíamos ayudarlo, ¿no te parece?</es_ar></textItem><textItem identifier="skip"><en_us>Press Space to Skip</en_us><en_uk>Press Space to Skip</en_uk><nl>Druk op de spatiebalk om over te slaan</nl><fr>Appuie sur la barre d'espace pour passer</fr><de>Zum Überspringen Leertaste drücken</de><es>Pulsa Espacio para omitir</es><br>Pressione Espaço para Pular</br><pt>Prime Espaço para Avançar</pt><it>Premi Spazio per continuare</it><se>Tryck mellanslag för att hoppa över</se><pl>Naciśnij spację, aby pominąć</pl><ru>Нажми пробел, чтобы пропустить</ru><id>Tekan Spasi untuk Melompati</id><ar>Press Space to Skip</ar><jp>Press Space to Skip</jp><cn>Press Space to Skip</cn><es_mx>Presiona Espacio para omitir esto.</es_mx><es_ar>Presioná Espacio para saltear</es_ar></textItem><textItem identifier="selectlevel"><en_us>Select Level</en_us><en_uk>Select Level</en_uk><nl>Level kiezen</nl><fr>Sélectionner un niveau</fr><de>Level auswählen</de><es>Seleccionar nivel </es><br>Escolha a Fase</br><pt>Seleccionar Nível</pt><it>Seleziona il livello</it><se>Välj nivå</se><pl>Wybierz poziom</pl><ru>Выбери уровень</ru><id>Pilih Level</id><ar>Select Level</ar><jp>Select Level</jp><cn>Select Level</cn><es_mx>Seleccionar nivel</es_mx><es_ar>Seleccionar nivel</es_ar></textItem><textItem identifier="score"><en_us>Score:</en_us><en_uk>Score:</en_uk><nl>Score:</nl><fr>Score :</fr><de>Punkte:</de><es>Puntuación:</es><br>Pontuação:</br><pt>Pontuação:</pt><it>Punteggio:</it><se>Poäng:</se><pl>Wynik:</pl><ru>Счет:</ru><id>Skor:</id><ar>Score:</ar><jp>Score:</jp><cn>Score:</cn><es_mx>Puntaje:</es_mx><es_ar>Puntaje:</es_ar></textItem><textItem identifier="move"><en_us>Move</en_us><en_uk>Move</en_uk><nl>Bewegen</nl><fr>Se déplacer</fr><de>Bewegen</de><es>Moverse</es><br>Mover</br><pt>Movimentar-se</pt><it>Muovi</it><se>Förflytta</se><pl>Poruszanie się</pl><ru>Движение</ru><id>Bergerak</id><ar>Move</ar><jp>Move</jp><cn>Move</cn><es_mx>Mover</es_mx><es_ar>Mover</es_ar></textItem><textItem identifier="start"><en_us>Start</en_us><en_uk>Start</en_uk><nl>Start</nl><fr>Jouer</fr><de>Start</de><es>Iniciar</es><br>Começar</br><pt>Iniciar</pt><it>Avvia</it><se>Starta</se><pl>Start</pl><ru>Начать игру</ru><id>Mulai</id><ar>Start</ar><jp>Start</jp><cn>Start</cn><es_mx>Comenzar</es_mx><es_ar>Comenzar</es_ar></textItem><textItem identifier="ready"><en_us>Ready…</en_us><en_uk>Ready…</en_uk><nl>Klaar...</nl><fr>Prêt…</fr><de>Fertig…</de><es>Listo...</es><br>Pronto…</br><pt>Preparar…</pt><it>Pronti…</it><se>Redo ...</se><pl>Przygotuj się...</pl><ru>Приготовились...</ru><id>Siap…</id><ar>Ready…</ar><jp>Ready…</jp><cn>Ready…</cn><es_mx>Listo...</es_mx><es_ar>Listo...</es_ar></textItem><textItem identifier="go"><en_us>Go!</en_us><en_uk>Go!</en_uk><nl>Af!</nl><fr>Go !</fr><de>Los!</de><es>¡Ya!</es><br>Vá!</br><pt>Começa!</pt><it>Via!</it><se>Kör!</se><pl>Naprzód!</pl><ru>Начали!</ru><id>Mulai!</id><ar>Go!</ar><jp>Go!</jp><cn>Go!</cn><es_mx>¡Comienza!</es_mx><es_ar>¡Vamos!</es_ar></textItem><textItem identifier="paused"><en_us>Paused</en_us><en_uk>Paused</en_uk><nl>Pauze</nl><fr>En pause</fr><de>Angehalten</de><es>En pausa</es><br>Em Pausa</br><pt>Em Pausa</pt><it>In pausa</it><se>Pausat</se><pl>Pauza</pl><ru>Пауза</ru><id>Dijeda</id><ar>Paused</ar><jp>Paused</jp><cn>Paused</cn><es_mx>En pausa</es_mx><es_ar>En pausa</es_ar></textItem><textItem identifier="powerup"><en_us>Power-Up</en_us><en_uk>Power-Up</en_uk><nl>Power-up</nl><fr>Puissance +</fr><de>Power-Up</de><es>Potenciador</es><br>Prêmio</br><pt>Power-Up</pt><it>Potenziamento</it><se>Kraftföremål</se><pl>Dopalacz</pl><ru>Предмет</ru><id>Kekuatan</id><ar>Power-Up</ar><jp>Power-Up</jp><cn>Power-Up</cn><es_mx>Más energía</es_mx><es_ar>Más energía</es_ar></textItem><textItem identifier="bomb"><en_us>Bomb</en_us><en_uk>Bomb</en_uk><nl>Bom</nl><fr>Bombe</fr><de>Bombe</de><es>Bomba</es><br>Bomba</br><pt>Bomba</pt><it>Bomba</it><se>Bomb</se><pl>Bomba</pl><ru>Бомба</ru><id>Bom</id><ar>Bomb</ar><jp>Bomb</jp><cn>Bomb</cn><es_mx>Bomba</es_mx><es_ar>Bomba</es_ar></textItem><textItem identifier="rocket"><en_us>Rocket</en_us><en_uk>Rocket</en_uk><nl>Raket</nl><fr>Rocket</fr><de>Rakete</de><es>Cohete</es><br>Foguete</br><pt>Foguetão</pt><it>Missile</it><se>Raket</se><pl>Rakieta</pl><ru>Ракета</ru><id>Roket</id><ar>Rocket</ar><jp>Rocket</jp><cn>Rocket</cn><es_mx>Cohete</es_mx><es_ar>Cohete</es_ar></textItem><textItem identifier="wings"><en_us>Wings</en_us><en_uk>Wings</en_uk><nl>Vleugels</nl><fr>Ailes</fr><de>Flügel</de><es>Alas</es><br>Asas</br><pt>Asas</pt><it>Ali</it><se>Vingar</se><pl>Skrzydła</pl><ru>Крылья</ru><id>Sayap</id><ar>Wings</ar><jp>Wings</jp><cn>Wings</cn><es_mx>Alas</es_mx><es_ar>Alas</es_ar></textItem><textItem identifier="info1"><en_us>Press Z to RUN and X to JUMP.</en_us><en_uk>Press Z to RUN and X to JUMP.</en_uk><nl>Druk op Z om te RENNEN en X om te SPRINGEN.</nl><fr>Appuie sur Z pour COURIR et sur X pour SAUTER.</fr><de>Drücke Z zum RENNEN und X zum SPRINGEN.</de><es>Pulsa Z para CORRER y X para SALTAR.</es><br>Pressione Z para CORRER e X para PULAR.</br><pt>Prime Z para CORRER e X para SALTAR.</pt><it>Premi Z per CORRERE e X per SALTARE.</it><se>Tryck Z för att SPRINGA och X för att HOPPA.</se><pl>Naciśnij Z, aby BIEC, X aby SKOCZYĆ.</pl><ru>Жми Z для БЕГА и X для ПРЫЖКА.</ru><id>Tekan Z untuk LARI dan X untuk LOMPAT.</id><ar>Press Z to RUN and X to JUMP.</ar><jp>Press Z to RUN and X to JUMP.</jp><cn>Press Z to RUN and X to JUMP.</cn><es_mx>Presiona Z para CORRER y X para SALTAR.</es_mx><es_ar>Presioná Z para CORRER y X para SALTAR.</es_ar></textItem><textItem identifier="info2"><en_us>Press C to use the BOMB.</en_us><en_uk>Press C to use the BOMB.</en_uk><nl>Druk op C om de BOM te gebruiken.</nl><fr>Appuie sur C pour utiliser une BOMBE.</fr><de>Drücke C, um die BOMBE zu benutzen.</de><es>Pulsa C para usar la BOMBA.</es><br>Pressione C para usar a BOMBA.</br><pt>Prime C para usar a BOMBA.</pt><it>Premi C per usare la BOMBA.</it><se>Tryck C för att använda BOMBEN.</se><pl>Naciśnij C, aby użyć BOMBY.</pl><ru>Нажми C, чтобы взорвать БОМБУ.</ru><id>Tekan C untuk memakai BOM.</id><ar>Press C to use the BOMB.</ar><jp>Press C to use the BOMB.</jp><cn>Press C to use the BOMB.</cn><es_mx>Presiona C para usar la BOMBA.</es_mx><es_ar>Presioná C para usar la BOMBA.</es_ar></textItem><textItem identifier="info3"><en_us>Press C to use the ROCKET.</en_us><en_uk>Press C to use the ROCKET.</en_uk><nl>Druk op C om de RAKET te gebruiken.</nl><fr>Appuie sur C pour utiliser une ROCKET.</fr><de>Drücke C, um die RAKETE zu benutzen.</de><es>Pulsa C para usar el COHETE.</es><br>Pressione C para usar o FOGUETE.</br><pt>Prime C para usar o FOGUETÃO.</pt><it>Premi C per usare il MISSILE.</it><se>Tryck C för att använda RAKETEN.</se><pl>Naciśnij C, aby użyć RAKIETY.</pl><ru>Нажми C, чтобы использовать РАКЕТУ.</ru><id>Tekan C untuk memakai ROKET.</id><ar>Press C to use the ROCKET.</ar><jp>Press C to use the ROCKET.</jp><cn>Press C to use the ROCKET.</cn><es_mx>Presiona C para usar el COHETE.</es_mx><es_ar>Presioná C para usar el COHETE.</es_ar></textItem><textItem identifier="info4"><en_us>Press C to FLY.</en_us><en_uk>Press C to FLY.</en_uk><nl>Druk op C om te vliegen.</nl><fr>Appuie sur C pour VOLER.</fr><de>Drücke C zum FLIEGEN.</de><es>Pulsa C para VOLAR.</es><br>Pressione C para VOAR.</br><pt>Prime C para VOAR.</pt><it>Premi C per VOLARE.</it><se>Tryck C för att FLYGA.</se><pl>Naciśnij C, aby LATAĆ.</pl><ru>Нажми C, чтобы ВЗЛЕТЕТЬ.</ru><id>Tekan C untuk TERBANG</id><ar>Press C to FLY.</ar><jp>Press C to FLY.</jp><cn>Press C to FLY.</cn><es_mx>Presiona C para VOLAR.</es_mx><es_ar>Presioná C para VOLAR.</es_ar></textItem><textItem identifier="clear"><en_us>LEVEL CLEAR</en_us><en_uk>LEVEL CLEAR</en_uk><nl>LEVEL VOLTOOID</nl><fr>NIVEAU TERMINÉ !</fr><de>LEVEL BEENDET</de><es>NIVEL COMPLETADO</es><br>FASE CONCLUÍDA</br><pt>NÍVEL CONCLUÍDO</pt><it>LIVELLO COMPLETATO</it><se>NIVÅ KLAR</se><pl>POZIOM ZALICZONY</pl><ru>УРОВЕНЬ ПРОЙДЕН</ru><id>LEVEL SELESAI</id><ar>LEVEL CLEAR</ar><jp>LEVEL CLEAR</jp><cn>LEVEL CLEAR</cn><es_mx>NIVEL FINALIZADO</es_mx><es_ar>NIVEL COMPLETADO</es_ar></textItem><textItem identifier="over"><en_us>GAME OVER</en_us><en_uk>GAME OVER</en_uk><nl>GAME OVER</nl><fr>GAME OVER</fr><de>GAME OVER</de><es>FIN DEL JUEGO</es><br>ACABOU</br><pt>FIM DO JOGO</pt><it>GIOCO FINITO!</it><se>GAME OVER</se><pl>KONIEC GRY</pl><ru>КОНЕЦ ИГРЫ</ru><id>GAME TAMAT</id><ar>GAME OVER</ar><jp>GAME OVER</jp><cn>GAME OVER</cn><es_mx>FIN DEL JUEGO</es_mx><es_ar>FIN DEL JUEGO</es_ar></textItem><textItem identifier="thanks"><en_us>Thanks for playing!</en_us><en_uk>Thanks for playing!</en_uk><nl>Bedankt voor het spelen!</nl><fr>Merci de jouer à ce jeu !</fr><de>Danke für's Spielen!</de><es>¡Gracias por jugar!</es><br>Obrigado por jogar!</br><pt>Obrigado por jogares!</pt><it>Grazie di aver giocato!</it><se>Tack för att du spelar!</se><pl>Dziękujemy za grę!</pl><ru>Спасибо за игру!</ru><id>Terima kasih telah bermain!</id><ar>Thanks for playing!</ar><jp>Thanks for playing!</jp><cn>Thanks for playing!</cn><es_mx>¡Muchas gracias por jugar!</es_mx><es_ar>¡Gracias por jugar!</es_ar></textItem><textItem identifier="mainmenu"><en_us>Main Menu</en_us><en_uk>Main Menu</en_uk><nl>Hoofdmenu</nl><fr>Menu principal</fr><de>Hauptmenü</de><es>Menú principal</es><br>Menu Principal</br><pt>Menu Principal</pt><it>Menu principale</it><se>Huvudmeny</se><pl>Menu główne</pl><ru>Меню</ru><id>Menu Utama</id><ar>Main Menu</ar><jp>Main Menu</jp><cn>Main Menu</cn><es_mx>Menú principal</es_mx><es_ar>Menú principal</es_ar></textItem><textItem identifier="sponsored"><en_us>Sponsored by</en_us><en_uk>Sponsored by</en_uk><nl>Gesponsord door</nl><fr>Avec la participation de</fr><de>Gesponsert von</de><es>Patrocinado por</es><br>Patrocinado por</br><pt>Patrocinado por</pt><it>Sponsorizzato da</it><se>Sponsrat av</se><pl>Sponsorowane przez</pl><ru>Спонсор</ru><id>Disponsori oleh</id><ar>Sponsored by</ar><jp>Sponsored by</jp><cn>Sponsored by</cn><es_mx>Patrocinado por</es_mx><es_ar>Auspiciado por</es_ar></textItem><textItem identifier="developer"><en_us>Developed by Luiz Fernando Modotti</en_us><en_uk>Developed by Luiz Fernando Modotti</en_uk><nl>Ontwikkeld door Luiz Fernando Modotti</nl><fr>Mis au point par Luiz Fernando Modotti</fr><de>Entwickelt von Luiz Fernando Modotti</de><es>Desarrollado por Luiz Fernando Modotti</es><br>Criado por Luiz Fernando Modotti</br><pt>Desenvolvido por Luiz Fernando Modotti</pt><it>Sviluppato da Luiz Fernando Modotti</it><se>Utvecklat av Luiz Fernando Modotti</se><pl>Autor Luiz Fernando Modotti</pl><ru>Разработчик Luiz Fernando Modotti</ru><id>Dikembangkan oleh Luiz Fernando Modotti</id><ar>Developed by Luiz Fernando Modotti</ar><jp>Developed by Luiz Fernando Modotti</jp><cn>Developed by Luiz Fernando Modotti</cn><es_mx>Desarrollado por Luiz Fernando Modotti</es_mx><es_ar>Desarrollado por Luiz Fernando Modotti</es_ar></textItem><textItem identifier="developerthanks"><en_us>Thanks to Gisele, Junior, Danilo, and Adriano</en_us><en_uk>Thanks to Gisele, Junior, Danilo and Adriano</en_uk><nl>Met dank aan Gisele, Junior, Danilo en Adriano</nl><fr>Merci à Gisele, Junior, Danilo et Adriano</fr><de>Mit Dank an Gisele, Junior, Danilo und Adriano</de><es>Gracias a Gisele, Junior, Danilo y Adriano</es><br>Agradecimentos a Gisele, Junior, Danilo e Adriano</br><pt>Agradecimentos a Gisele, Junior, Danilo e Adriano</pt><it>Un grazie a Gisele, Junior, Danilo e Adriano</it><se>Tack till Gisele, Junior, Danilo och Adriano</se><pl>Podziękowania dla Gisele, Junior, Danilo i Adriano</pl><ru>Благодарим Gisele, Junior, Danilo и Adriano</ru><id>Terima kasih untuk Gisele, Junior, Danilo, dan Adriano</id><ar>Thanks to Gisele, Junior, Danilo, and Adriano</ar><jp>Thanks to Gisele, Junior, Danilo, and Adriano</jp><cn>Thanks to Gisele, Junior, Danilo, and Adriano</cn><es_mx>Gracias a Gisele, Junior, Danilo y Adriano</es_mx><es_ar>Gracias a Gisele, Junior, Danilo y Adriano</es_ar></textItem></LocalisedText>
;
SpilGame.importXMLv2(_local1);
trace("Language Data Succesfully included");
var _local2:Array = Font.enumerateFonts();
Languages.initialize();
Languages.getLanguage("en_us").textLanguage = "en_us";
Languages.getLanguage("en_uk").textLanguage = "en_uk";
Languages.getLanguage("jp").textLanguage = "en_us";
Languages.getLanguage("cn").textLanguage = "en_us";
Languages.getLanguage("ar").textLanguage = "en_us";
SpilGame.initialize("MoleRevenge", PortalGroup.FAMILY, "#", this, true);
SpilGame.addEventListener(SpilGame.LANGUAGE_CHANGED, this.onLanguageChange, false, 0, true);
spilGamesServices = SpilGamesServices.getInstance();
spilGamesServices.addEventListener("servicesReady", this.onServicesReady);
spilGamesServices.addEventListener("servicesFailed", this.onServicesFailed);
spilGamesServices.connect(this);
Global.mainGame = this;
transition = ScreenTransition.getInstance();
transition.init();
this.addChild(transition);
this.stage.quality = StageQuality.BEST;
this.stage.stageFocusRect = false;
Global.soundManager.addLibrarySound(MusicTitle, "title", true);
Global.soundManager.addLibrarySound(MusicTitleFinish, "titleFinish", true);
Global.soundManager.addLibrarySound(MusicIntro, "intro", true);
Global.soundManager.addLibrarySound(MusicLevel1, "level1", true);
Global.soundManager.addLibrarySound(MusicLevel1Finish, "level1Finish", true);
Global.soundManager.addLibrarySound(MusicLevel2, "level2", true);
Global.soundManager.addLibrarySound(MusicLevel2Finish, "level2Finish", true);
Global.soundManager.addLibrarySound(MusicLevel3, "level3", true);
Global.soundManager.addLibrarySound(MusicLevel3Finish, "level3Finish", true);
Global.soundManager.addLibrarySound(MusicDie, "die", true);
Global.soundManager.addLibrarySound(MusicLevelLast, "levelFinal", true);
Global.soundManager.addLibrarySound(SfxJump, "jump");
Global.soundManager.addLibrarySound(SfxRocket, "rocket");
Global.soundManager.addLibrarySound(SfxEnemy, "enemy");
Global.soundManager.addLibrarySound(SfxPower, "power");
Global.soundManager.addLibrarySound(SfxFruit, "fruit");
Global.soundManager.addLibrarySound(SfxBomb, "bomb");
startScreen();
}
public function toTitleScreen():void{
this.titleScreen = new TitleScreen();
creditsScreen = removeClip(creditsScreen);
overScreen = removeClip(overScreen);
levelScreen = removeClip(levelScreen);
playScreen = removeClip(playScreen);
this.onLanguageChange(null);
this.stage.focus = this.titleScreen;
Global.soundManager.playMusic("title");
}
public function toIntroScreen():void{
titleScreen = removeClip(titleScreen);
this.introScreen = new IntroScreen();
this.stage.focus = this.introScreen;
Global.soundManager.playMusic("intro");
}
public function showOverScreen():void{
transition.execute(toOverScreen);
}
function onServicesReady(_arg1:Event):void{
trace(spilGamesServices.isDomainAllowed());
}
public function toOverScreen():void{
this.overScreen = new OverScreen();
playScreen = removeClip(playScreen);
this.stage.focus = this.overScreen;
}
public function toSplashScreen():void{
this.splashScreen = new SplashScreen();
this.stage.focus = this.splashScreen;
}
public function showLevelScreen():void{
transition.execute(toLevelScreen);
}
public function toEndingScreen():void{
this.endingScreen = new EndingScreen();
playScreen = removeClip(playScreen);
levelScreen = removeClip(levelScreen);
this.stage.focus = this.endingScreen;
}
public function showEndingScreen():void{
transition.execute(toEndingScreen);
}
public function toPlayScreen():void{
playScreen = removeClip(playScreen);
this.playScreen = new PlayScreen();
levelScreen = removeClip(levelScreen);
this.stage.focus = this.playScreen;
}
public function toLevelScreen():void{
this.levelScreen = new LevelScreen();
titleScreen = removeClip(titleScreen);
playScreen = removeClip(playScreen);
this.stage.focus = this.levelScreen;
Global.soundManager.playMusic("title");
}
public function showPlayScreen():void{
transition.execute(toPlayScreen);
Global.soundManager.playMusic("titleFinish", 1, 0, 0);
}
public function showCreditsScreen():void{
transition.execute(toCreditsScreen);
}
public function toCreditsScreen():void{
this.creditsScreen = new CreditsScreen();
titleScreen = removeClip(titleScreen);
this.stage.focus = this.creditsScreen;
}
private function onLanguageChange(_arg1:Event):void{
if (this.titleScreen){
this.titleScreen.McTitle.McTitleTranslate.gotoAndStop(("l_" + SpilGame.currentLanguage.name));
};
}
private function removeClip(_arg1){
if (_arg1){
removeChild(_arg1);
};
return (null);
}
public function showTitleScreen():void{
transition.execute(toTitleScreen);
}
function onServicesFailed(_arg1:Event):void{
trace("Submitter failed to load");
trace(spilGamesServices.isDomainAllowed());
}
public function showIntroScreen():void{
transition.execute(toIntroScreen);
}
public function startScreen():void{
toTitleScreen();
}
}
}//package
Section 83
//McEnemy (McEnemy)
package {
import flash.display.*;
public dynamic class McEnemy extends MovieClip {
public var colide:MovieClip;
public function McEnemy(){
addFrameScript(20, frame21, 21, frame22, 46, frame47, 61, frame62);
}
function frame47(){
gotoAndPlay("iniJump");
}
function frame62(){
gotoAndPlay("iniOver");
}
function frame21(){
gotoAndPlay("iniWalk");
}
function frame22(){
stop();
}
}
}//package
Section 84
//McGameOver (McGameOver)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McGameOver extends MovieClip {
public var mcOver:SimpleButton;
public var txtOver:LocalizedTextField;
public function McGameOver(){
addFrameScript(0, frame1);
__setProp_txtOver_McGameOver_Layer3_0();
}
function __setProp_txtOver_McGameOver_Layer3_0(){
try {
txtOver["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txtOver.text = "{over}";
txtOver.textColor = 0xDF0000;
txtOver.textSize = 60;
txtOver.bold = true;
txtOver.disableWordwrap = false;
txtOver.embedFonts = true;
txtOver.font = "";
txtOver.hAlign = "center";
txtOver.multiline = true;
txtOver.vAlign = "middle";
txtOver.antiAliasType = "advanced";
txtOver.glowBlur = 3;
txtOver.glowColor = 0;
txtOver.useGlowFilter = true;
txtOver.glowQuality = 10;
txtOver.glowStrength = 20;
txtOver.gridFitType = "pixel";
txtOver.italic = false;
txtOver.selectable = false;
txtOver.underline = false;
try {
txtOver["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if (((!((SpilGame.currentLanguage.textLanguage == "en_us"))) && (!((SpilGame.currentLanguage.textLanguage == "en_uk"))))){
mcOver.visible = false;
txtOver.visible = true;
} else {
mcOver.visible = true;
txtOver.visible = false;
};
}
}
}//package
Section 85
//McGo (McGo)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McGo extends MovieClip {
public var txtGo:LocalizedTextField;
public var mcGo:SimpleButton;
public function McGo(){
addFrameScript(0, frame1);
__setProp_txtGo_McGo_GoTXT_0();
}
function frame1(){
if (((!((SpilGame.currentLanguage.textLanguage == "en_us"))) && (!((SpilGame.currentLanguage.textLanguage == "en_uk"))))){
mcGo.visible = false;
txtGo.visible = true;
} else {
mcGo.visible = true;
txtGo.visible = false;
};
}
function __setProp_txtGo_McGo_GoTXT_0(){
try {
txtGo["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txtGo.text = "{go}";
txtGo.textColor = 0xFFCC00;
txtGo.textSize = 75;
txtGo.bold = true;
txtGo.disableWordwrap = false;
txtGo.embedFonts = true;
txtGo.font = "";
txtGo.hAlign = "center";
txtGo.multiline = false;
txtGo.vAlign = "middle";
txtGo.antiAliasType = "advanced";
txtGo.glowBlur = 3;
txtGo.glowColor = 0;
txtGo.useGlowFilter = true;
txtGo.glowQuality = 10;
txtGo.glowStrength = 20;
txtGo.gridFitType = "pixel";
txtGo.italic = false;
txtGo.selectable = false;
txtGo.underline = false;
try {
txtGo["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 86
//McLevel1 (McLevel1)
package {
import flash.display.*;
public dynamic class McLevel1 extends MovieClip {
}
}//package
Section 87
//McLevel2 (McLevel2)
package {
import flash.display.*;
public dynamic class McLevel2 extends MovieClip {
}
}//package
Section 88
//McLevel3 (McLevel3)
package {
import flash.display.*;
public dynamic class McLevel3 extends MovieClip {
}
}//package
Section 89
//McLevel4 (McLevel4)
package {
import flash.display.*;
public dynamic class McLevel4 extends MovieClip {
}
}//package
Section 90
//McLevel5 (McLevel5)
package {
import flash.display.*;
public dynamic class McLevel5 extends MovieClip {
}
}//package
Section 91
//McLevel6 (McLevel6)
package {
import flash.display.*;
public dynamic class McLevel6 extends MovieClip {
}
}//package
Section 92
//McLevel7 (McLevel7)
package {
import flash.display.*;
public dynamic class McLevel7 extends MovieClip {
}
}//package
Section 93
//McLevel8 (McLevel8)
package {
import flash.display.*;
public dynamic class McLevel8 extends MovieClip {
}
}//package
Section 94
//McLevel9 (McLevel9)
package {
import flash.display.*;
public dynamic class McLevel9 extends MovieClip {
}
}//package
Section 95
//McMole (McMole)
package {
import flash.display.*;
public dynamic class McMole extends MovieClip {
public var colide:MovieClip;
public var mcWings:MovieClip;
public var mcRocket:MovieClip;
public function McMole(){
addFrameScript(20, frame21, 35, frame36, 60, frame61, 75, frame76);
}
function frame36(){
gotoAndPlay("iniIdle");
}
function frame61(){
gotoAndPlay("iniJump");
}
function frame21(){
gotoAndPlay("iniWalk");
}
function frame76(){
gotoAndPlay("iniOver");
}
}
}//package
Section 96
//McNpc (McNpc)
package {
import flash.display.*;
public dynamic class McNpc extends MovieClip {
public var colide:MovieClip;
public function McNpc(){
addFrameScript(20, frame21, 35, frame36, 60, frame61, 75, frame76);
}
function frame36(){
gotoAndPlay("iniIdle");
}
function frame76(){
gotoAndPlay("iniOver");
}
function frame61(){
gotoAndPlay("iniJump");
}
function frame21(){
gotoAndPlay("iniWalk");
}
}
}//package
Section 97
//McReady (McReady)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McReady extends MovieClip {
public var txtReady:LocalizedTextField;
public var mcReady:SimpleButton;
public function McReady(){
addFrameScript(0, frame1);
__setProp_txtReady_McReady_ReadyTXT_0();
}
function __setProp_txtReady_McReady_ReadyTXT_0(){
try {
txtReady["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txtReady.text = "{ready}";
txtReady.textColor = 0xFFCC00;
txtReady.textSize = 50;
txtReady.bold = true;
txtReady.disableWordwrap = false;
txtReady.embedFonts = true;
txtReady.font = "";
txtReady.hAlign = "center";
txtReady.multiline = false;
txtReady.vAlign = "middle";
txtReady.antiAliasType = "advanced";
txtReady.glowBlur = 3;
txtReady.glowColor = 0;
txtReady.useGlowFilter = true;
txtReady.glowQuality = 10;
txtReady.glowStrength = 20;
txtReady.gridFitType = "pixel";
txtReady.italic = false;
txtReady.selectable = false;
txtReady.underline = false;
try {
txtReady["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if (((!((SpilGame.currentLanguage.textLanguage == "en_us"))) && (!((SpilGame.currentLanguage.textLanguage == "en_uk"))))){
mcReady.visible = false;
txtReady.visible = true;
} else {
mcReady.visible = true;
txtReady.visible = false;
};
}
}
}//package
Section 98
//McStageClear (McStageClear)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McStageClear extends MovieClip {
public var mcClear:SimpleButton;
public var txtClear:LocalizedTextField;
public function McStageClear(){
addFrameScript(0, frame1);
__setProp_txtClear_McStageClear_Layer3_0();
}
function frame1(){
if (((!((SpilGame.currentLanguage.textLanguage == "en_us"))) && (!((SpilGame.currentLanguage.textLanguage == "en_uk"))))){
mcClear.visible = false;
txtClear.visible = true;
} else {
mcClear.visible = true;
txtClear.visible = false;
};
}
function __setProp_txtClear_McStageClear_Layer3_0(){
try {
txtClear["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txtClear.text = "{clear}";
txtClear.textColor = 6599167;
txtClear.textSize = 60;
txtClear.bold = true;
txtClear.disableWordwrap = false;
txtClear.embedFonts = true;
txtClear.font = "";
txtClear.hAlign = "center";
txtClear.multiline = true;
txtClear.vAlign = "middle";
txtClear.antiAliasType = "advanced";
txtClear.glowBlur = 3;
txtClear.glowColor = 0;
txtClear.useGlowFilter = true;
txtClear.glowQuality = 10;
txtClear.glowStrength = 20;
txtClear.gridFitType = "pixel";
txtClear.italic = false;
txtClear.selectable = false;
txtClear.underline = false;
try {
txtClear["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 99
//McThanks (McThanks)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class McThanks extends MovieClip {
public var btnMainMenuTrans:MovieClip;
public var txtThanks:LocalizedTextField;
public var btnMainMenu:SimpleButton;
public var mcThanks:SimpleButton;
public function McThanks(){
addFrameScript(0, frame1);
__setProp_txtThanks_McThanks_Layer2_0();
}
function __setProp_txtThanks_McThanks_Layer2_0(){
try {
txtThanks["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txtThanks.text = "{thanks}";
txtThanks.textColor = 52479;
txtThanks.textSize = 50;
txtThanks.bold = true;
txtThanks.disableWordwrap = false;
txtThanks.embedFonts = true;
txtThanks.font = "";
txtThanks.hAlign = "center";
txtThanks.multiline = false;
txtThanks.vAlign = "middle";
txtThanks.antiAliasType = "advanced";
txtThanks.glowBlur = 3;
txtThanks.glowColor = 0;
txtThanks.useGlowFilter = true;
txtThanks.glowQuality = 10;
txtThanks.glowStrength = 20;
txtThanks.gridFitType = "pixel";
txtThanks.italic = false;
txtThanks.selectable = false;
txtThanks.underline = false;
try {
txtThanks["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if (((!((SpilGame.currentLanguage.textLanguage == "en_us"))) && (!((SpilGame.currentLanguage.textLanguage == "en_uk"))))){
mcThanks.visible = false;
btnMainMenu.visible = false;
txtThanks.visible = true;
btnMainMenuTrans.visible = true;
} else {
mcThanks.visible = true;
btnMainMenu.visible = true;
txtThanks.visible = false;
btnMainMenuTrans.visible = false;
};
}
}
}//package
Section 100
//McTile (McTile)
package {
import flash.display.*;
public dynamic class McTile extends MovieClip {
public function McTile(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 101
//MusicDie (MusicDie)
package {
import flash.media.*;
public dynamic class MusicDie extends Sound {
}
}//package
Section 102
//MusicIntro (MusicIntro)
package {
import flash.media.*;
public dynamic class MusicIntro extends Sound {
}
}//package
Section 103
//MusicLevel1 (MusicLevel1)
package {
import flash.media.*;
public dynamic class MusicLevel1 extends Sound {
}
}//package
Section 104
//MusicLevel1Finish (MusicLevel1Finish)
package {
import flash.media.*;
public dynamic class MusicLevel1Finish extends Sound {
}
}//package
Section 105
//MusicLevel2 (MusicLevel2)
package {
import flash.media.*;
public dynamic class MusicLevel2 extends Sound {
}
}//package
Section 106
//MusicLevel2Finish (MusicLevel2Finish)
package {
import flash.media.*;
public dynamic class MusicLevel2Finish extends Sound {
}
}//package
Section 107
//MusicLevel3 (MusicLevel3)
package {
import flash.media.*;
public dynamic class MusicLevel3 extends Sound {
}
}//package
Section 108
//MusicLevel3Finish (MusicLevel3Finish)
package {
import flash.media.*;
public dynamic class MusicLevel3Finish extends Sound {
}
}//package
Section 109
//MusicLevelLast (MusicLevelLast)
package {
import flash.media.*;
public dynamic class MusicLevelLast extends Sound {
}
}//package
Section 110
//MusicTitle (MusicTitle)
package {
import flash.media.*;
public dynamic class MusicTitle extends Sound {
}
}//package
Section 111
//MusicTitleFinish (MusicTitleFinish)
package {
import flash.media.*;
public dynamic class MusicTitleFinish extends Sound {
}
}//package
Section 112
//PlayBack (PlayBack)
package {
import flash.display.*;
public dynamic class PlayBack extends MovieClip {
public var backN1:MovieClip;
public var backN2:MovieClip;
public function PlayBack(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 113
//SfxBomb (SfxBomb)
package {
import flash.media.*;
public dynamic class SfxBomb extends Sound {
}
}//package
Section 114
//SfxEnemy (SfxEnemy)
package {
import flash.media.*;
public dynamic class SfxEnemy extends Sound {
}
}//package
Section 115
//SfxFruit (SfxFruit)
package {
import flash.media.*;
public dynamic class SfxFruit extends Sound {
}
}//package
Section 116
//SfxJump (SfxJump)
package {
import flash.media.*;
public dynamic class SfxJump extends Sound {
}
}//package
Section 117
//SfxPower (SfxPower)
package {
import flash.media.*;
public dynamic class SfxPower extends Sound {
}
}//package
Section 118
//SfxRocket (SfxRocket)
package {
import flash.media.*;
public dynamic class SfxRocket extends Sound {
}
}//package
Section 119
//TransitionCeil (TransitionCeil)
package {
import flash.display.*;
public dynamic class TransitionCeil extends MovieClip {
}
}//package