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

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

Wizards Puzzle War - Fun addicting puzzle role playing upgrade game.swf

This is the info page for
Flash #130420

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


Text
<p align="center"><font face="Sylfaen" size="17" color="#ffffff" letterSpacing="0.000000" kerning="1">Loading...</font></p>

Play

Play

Play

Follow us

Follow us

Like us

Like us

<p align="center"><font face="Helvetica Condensed" size="15" color="#ff9900" letterSpacing="0.000000" kerning="1"><a href="http://onlinegamer.cc/?utm_source=WizWar&utm_medium=FreeGamesSEOLnk" target = "_blank"><b>Free Flash Games</b></a></font></p>

<p align="center"><font face="Helvetica Condensed" size="15" color="#ff9900" letterSpacing="0.000000" kerning="1"><a href="http://onlinegamer.cc/cat/6/Puzzle/newest-1.html?utm_source=WizWar&utm_medium=PuzzleGamesSEOLnk" target = "_blank"><b>Puzzle Games</b></a></font></p>

<p align="center"><font face="Helvetica Condensed" size="15" color="#ff9900" letterSpacing="0.000000" kerning="1"><a href="http://onlinegamer.cc/cat/2/Action/newest-1.html?utm_source=WizWar&utm_medium=ActionGamesSEOLnk" target = "_blank"><b>Action Games</b></a></font></p>

<p align="center"><font face="Helvetica Condensed" size="15" color="#ff9900" letterSpacing="0.000000" kerning="1"><a href="http://onlinegamer.cc/cat/4/Strategy/newest-1.html?utm_source=WizWar&utm_medium=StrategyGamesSEOLnk" target = "_blank"><b>Strategy Games</b></a></font></p>

<p align="center"><font face="Helvetica Condensed" size="15" color="#ff9900" letterSpacing="0.000000" kerning="1"><a href="http://onlinegamer.cc/cat/3/Shooter/newest-1.html?utm_source=WizWar&utm_medium=ShooterGamesSEOLnk" target = "_blank"><b>Shooter Games</b></a></font></p>

First step

Complete all 12 level and get all abilites gfhfghfg dtry

X

ACHIEVEMENT UNLOCKED!

ACHIEVEMENTS

Close

Close

unlocked 0\14

o|

on|

onl|

onli|

onlin|

online|

onlineg|

onlinega|

onlinegam|

onlinegame|

onlinegamer|

onlinegamer.|

onlinegamer.c|

onlinegamer.cc|

onlinegamer.cc

V

15

15

opponent turn...

320

320

+

+

0$

Help!

Help!

Help!

Exit

15

YOU USE SPELL:

DOUBLE TURN

+

OPPONENT USE SPELL:

DOUBLE TURN

MENU

Music

Music

Sound

Sound

Sound

Quality

Quality

Quality

Exit

Exit

Exit

ON

ON

BEST

Replay

Replay

Next

Next

YOU WIN!

max path:

8

average path:

8

collected cash:

8

prize cash:

8

total cash:

8

total moves:

8

Exit

Exit

Tip: You can return to the
previous levels and collect some
more cash for upgrades.

UPGRADE

Bomb ability

15$

Not available

your cash: 16$

Welcome to
"Wizards: Puzzle War"

In this game, you are fighting with enemies.
The main goal of each battle - reduce to zero
enemy’s lives and keep your lives bigger, than
zero.

You

Enemy

Your lives

Enemy's lives

Each turn you should try to find the longest
path of same blocks on the board.

To make a path you should
1) Hold down the left mouse
button.
2) Move cursor over the
same blocks.
3) Release the left mouse
button.

The shortest path should be minimum three
blocks length.

If you want to cancel your selection -
simply move mouse cursor outside the
board.

When you released a path, the length is
subtracted from the enemy’s lives.

In the game you have also a Mana, which you
can spend on the using of special spells.
Mana is accumulated when you released a
path longer than three blocks.

Spells can be purchased for cash in the
Upgrade Menu or in the Level Menu after
each battle.

Mana

Spells

Cash

Bomb - Adds additional damage to enemy.
Health - Restores your lives .
Double Move - You can make a move twice.

In the game are six types of spells:

Drop Board - Generates new blocks on the board.
Shield - Protects once from any enemy's damage.
View - Shows the longest path.

On some blocks you can see extra bonuses:

- Give some extra Mana.
- Restores your lives a little.
- Give some extra cash.

1

2

3

2

3

5

V

Extra bonuses

Prev

Prev

Prev

Next

Next

Next

1\3

Don't show help

V

New Game

New Game

New Game

Credits

Credits

Puzzle Games

Puzzle Games

Continue

Continue

Continue

Copyright (C) 2011 Anegmetex Software

Wizards:
Puzzle War

<p align="left"><font face="Arial Narrow" size="14" color="#00ffff" letterSpacing="-0.300000" kerning="0">Level 99</font></p>

CHOOSE LEVEL:

Back

Back

Life:
Luck:
View:
Shield:
Drop:
Double:
Health:
Bomb:

1\1

1\1

1\1

1\1

1\1

1\1

1\1

1\1

22222$

CASH:

easy

Upgrade

Upgrade

Achievements

Achievements

Game complete 15%

Rilcina

Rynbanlor

CHOOSE YOUR CHARACTER:

Warning!  All saved progress will be lost!

CHOOSE DIFFICULT:

Easy

Easy

Normal

Normal

Hard

Hard

Back

Back

Sydney

Terry

CONGRATULATIONS!

Now you are a

Wizard
LORD

bomb

In this game you are competing with your opponents.
The main goal of each round - reduce to zero opponent’s lives

----------------

CREDITS

game developed by:

Oleg Antipov

Anegmetex.com

Luck!

ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.events.*; import flash.display.*; import flash.net.*; import flash.system.*; public class AdLoader extends Sprite { private var cpmstarLoader:Loader; private var contentspotid:String; public function AdLoader(_arg1:String){ this.contentspotid = _arg1; addEventListener(Event.ADDED, addedHandler); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } private function addedHandler(_arg1:Event):void{ removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid))); addChild(cpmstarLoader); } } }//package CPMStar
Section 2
//abBombButt (main.abBombButt) package main { import flash.display.*; public dynamic class abBombButt extends SimpleButton { } }//package main
Section 3
//abFreshButt (main.abFreshButt) package main { import flash.display.*; public dynamic class abFreshButt extends SimpleButton { } }//package main
Section 4
//abHealthButt (main.abHealthButt) package main { import flash.display.*; public dynamic class abHealthButt extends SimpleButton { } }//package main
Section 5
//abMessageEnemy (main.abMessageEnemy) package main { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public dynamic class abMessageEnemy extends alphaFader { var timerDelay:Timer; public var zoomedIn;// = true public var abPic:MovieClip; public var abName:TextField; public function abMessageEnemy(){ timerDelay = new Timer(1000, 1); timerDelay.stop(); timerDelay.addEventListener(TimerEvent.TIMER, timerDelay_Timer); addEventListener(Event.ENTER_FRAME, Update); } public function Update(_arg1:Event):void{ if (zoomedIn){ scaleX = ageMath.RemapVal(alpha, 0, 1, 3, 1); scaleY = ageMath.RemapVal(alpha, 0, 1, 3, 1); if ((((Math.abs((scaleX - 1)) < 0.0001)) && (!(timerDelay.running)))){ timerDelay.start(); }; } else { scaleX = ageMath.RemapVal(alpha, 0, 1, 1, 3); scaleY = ageMath.RemapVal(alpha, 0, 1, 1, 3); }; } function timerDelay_Timer(_arg1:TimerEvent):void{ stop(); startFadeOut(); } } }//package main
Section 6
//abMessagePlayer (main.abMessagePlayer) package main { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public dynamic class abMessagePlayer extends alphaFader { var timerDelay:Timer; public var zoomedIn;// = true public var abPic:MovieClip; public var abName:TextField; public function abMessagePlayer(){ timerDelay = new Timer(1000, 1); timerDelay.stop(); timerDelay.addEventListener(TimerEvent.TIMER, timerDelay_Timer); addEventListener(Event.ENTER_FRAME, Update); } public function Update(_arg1:Event):void{ if (zoomedIn){ scaleX = ageMath.RemapVal(alpha, 0, 1, 3, 1); scaleY = ageMath.RemapVal(alpha, 0, 1, 3, 1); if ((((Math.abs((scaleX - 1)) < 0.0001)) && (!(timerDelay.running)))){ timerDelay.start(); }; } else { scaleX = ageMath.RemapVal(alpha, 0, 1, 1, 3); scaleY = ageMath.RemapVal(alpha, 0, 1, 1, 3); }; } function timerDelay_Timer(_arg1:TimerEvent):void{ stop(); startFadeOut(); } } }//package main
Section 7
//abRevButt (main.abRevButt) package main { import flash.display.*; public dynamic class abRevButt extends SimpleButton { } }//package main
Section 8
//abShieldButt (main.abShieldButt) package main { import flash.display.*; public dynamic class abShieldButt extends SimpleButton { } }//package main
Section 9
//abStat (main.abStat) package main { public dynamic class abStat { var upg_level:int;// = 0 var cost:int;// = 15 public function abStat(_arg1:int=0, _arg2:int=0){ upg_level = _arg1; cost = _arg2; } public function clone():abStat{ var _local1:abStat = new abStat(upg_level, cost); return (_local1); } } }//package main
Section 10
//abViewButt (main.abViewButt) package main { import flash.display.*; public dynamic class abViewButt extends SimpleButton { } }//package main
Section 11
//ach (main.ach) package main { public class ach { public static var arr:Array = new Array(); public static var achInfoMC:achInfo; public static var db:Object = new Object(); public static function init(_arg1:achInfo){ achInfoMC = _arg1; db["Damage"] = new achItem("Huge damage", "Find a path 8 blocks length."); arr.push(db["Damage"]); db["money1"] = new achItem("Thrifty", "Earn 100cr."); arr.push(db["money1"]); db["money2"] = new achItem("Parsimonious", "Earn 300cr."); arr.push(db["money2"]); db["sponsor"] = new achItem("Promotion", "Visit sponsor site."); arr.push(db["sponsor"]); db["upgrade1"] = new achItem("Prepared", "Get all spells."); arr.push(db["upgrade1"]); db["upgrade2"] = new achItem("Fully equipped", "Get all upgrades."); arr.push(db["upgrade2"]); db["fullHealth"] = new achItem("Survivable", "Upgrade your health to the maximum."); arr.push(db["fullHealth"]); db["shieldAb"] = new achItem("Cautious", "Use 'Shield' spell four times during the battle."); arr.push(db["shieldAb"]); db["healthAb"] = new achItem("Healer", "Use 'Health' spell four times during the battle."); arr.push(db["healthAb"]); db["dropAb"] = new achItem("Mad drop", "Use 'Drop' spell four times during the battle."); arr.push(db["dropAb"]); db["lev1"] = new achItem("Beginner", "Complete the first level."); arr.push(db["lev1"]); db["lev7"] = new achItem("Halfway", "Complete the seventh level."); arr.push(db["lev7"]); db["lev15"] = new achItem("Wizard Lord", "Complete the game."); arr.push(db["lev15"]); db["flawVic"] = new achItem("Great victory", "Complete the last level less than 40 moves."); arr.push(db["flawVic"]); } public static function initAch(){ var _local1:Cookie = new Cookie("wizPuzzleGame_Save"); _local1.putNoFlush("Damage", 0); _local1.putNoFlush("money1", 0); _local1.putNoFlush("money2", 0); _local1.putNoFlush("sponsor", 0); _local1.putNoFlush("upgrade1", 0); _local1.putNoFlush("upgrade2", 0); _local1.putNoFlush("fullHealth", 0); _local1.putNoFlush("shieldAb", 0); _local1.putNoFlush("healthAb", 0); _local1.putNoFlush("dropAb", 0); _local1.putNoFlush("lev1", 0); _local1.putNoFlush("lev7", 0); _local1.putNoFlush("lev15", 0); _local1.putNoFlush("flawVic", 0); _local1.flushData(); loadAch(); } public static function loadAch(){ var _local1:Cookie = new Cookie("wizPuzzleGame_Save"); db["Damage"].active = Boolean(_local1.get("Damage")); db["money1"].active = Boolean(_local1.get("money1")); db["money2"].active = Boolean(_local1.get("money2")); db["sponsor"].active = Boolean(_local1.get("sponsor")); db["upgrade1"].active = Boolean(_local1.get("upgrade1")); db["upgrade2"].active = Boolean(_local1.get("upgrade2")); db["fullHealth"].active = Boolean(_local1.get("fullHealth")); db["shieldAb"].active = Boolean(_local1.get("shieldAb")); db["healthAb"].active = Boolean(_local1.get("healthAb")); db["dropAb"].active = Boolean(_local1.get("dropAb")); db["lev1"].active = Boolean(_local1.get("lev1")); db["lev7"].active = Boolean(_local1.get("lev7")); db["lev15"].active = Boolean(_local1.get("lev115")); db["flawVic"].active = Boolean(_local1.get("flawVic")); } public static function getAch(_arg1:String){ var _local2:Cookie; if (!db[_arg1].active){ db[_arg1].active = true; achInfoMC.showAch(ach.db[_arg1]); mainClass(achInfoMC.root).allmc.inGame.sndmap.PlaySnd("snd_ach"); _local2 = new Cookie("wizPuzzleGame_Save"); _local2.put(_arg1, 1); return (true); }; return (false); } } }//package main
Section 12
//achInfo (main.achInfo) package main { import flash.events.*; import flash.display.*; import flash.utils.*; public class achInfo extends alphaFader { public var removeTimer:Timer; public var achObj:MovieClip; public function achInfo(){ removeTimer = new Timer(4000, 1); removeTimer.stop(); removeTimer.addEventListener(TimerEvent.TIMER, removeTimer_Timer); } function showAch(_arg1:achItem):void{ achObj.achYes.visible = true; achObj.achNo.visible = false; achObj.titleTxt.text = _arg1.title; achObj.descTxt.text = _arg1.desc; removeTimer.start(); startFadeIn(); } function removeTimer_Timer(_arg1:TimerEvent):void{ startFadeOut(); } } }//package main
Section 13
//achItem (main.achItem) package main { public class achItem { public var desc:String; public var active:Boolean; public var title:String; public function achItem(_arg1:String, _arg2:String){ title = _arg1; desc = _arg2; active = false; } } }//package main
Section 14
//achPanel (main.achPanel) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.geom.*; import fl.motion.*; public dynamic class achPanel extends MovieClip { public var moveToScr:Boolean; public var buttClose:SimpleButton; public var ach12:MovieClip; public var ach13:MovieClip; public var ach0:MovieClip; public var ach1:MovieClip; public var ach2:MovieClip; public var ach11:MovieClip; public var ach4:MovieClip; public var ach5:MovieClip; public var ach6:MovieClip; public var ach7:MovieClip; public var ach8:MovieClip; public var ach9:MovieClip; public var ach10:MovieClip; public var ach3:MovieClip; public var cashTxt:TextField; public function achPanel(){ y = (240 - (height * 0.5)); addEventListener(Event.ENTER_FRAME, Update); } public function init():void{ var _local1:int; var _local2:Array; var _local3:ColorMatrix = new ColorMatrix(); var _local4:ColorMatrix = new ColorMatrix(); _local3.reset(); _local3.adjustSaturation(0); _local4.reset(); var _local5:int; _local1 = 0; while (_local1 < 14) { _local2 = this[("ach" + _local1)].filters; this[("ach" + _local1)].titleTxt.text = ach.arr[_local1].title; this[("ach" + _local1)].descTxt.text = ach.arr[_local1].desc; if (ach.arr[_local1].active){ this[("ach" + _local1)].achYes.visible = true; this[("ach" + _local1)].achNo.visible = false; this[("ach" + _local1)].alpha = 1; _local2[1] = new ColorMatrixFilter(_local4.matrix); _local5++; } else { this[("ach" + _local1)].achYes.visible = false; this[("ach" + _local1)].achNo.visible = true; this[("ach" + _local1)].alpha = 0.7; _local2[1] = new ColorMatrixFilter(_local3.matrix); }; cashTxt.text = (("Unlocked " + _local5) + "/14"); this[("ach" + _local1)].filters = _local2; _local1++; }; } public function Update(_arg1:Event):void{ if (moveToScr){ x = ageMath.Lerp(x, (320 - (width * 0.5)), 0.2); } else { x = ageMath.Lerp(x, 650, 0.2); }; } } }//package main
Section 15
//ageMath (main.ageMath) package main { public dynamic class ageMath { public static function RemapVal(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number{ return ((_arg4 + (((_arg5 - _arg4) * (_arg1 - _arg2)) / (_arg3 - _arg2)))); } public static function Random(_arg1:Number=NaN, _arg2:Number=NaN):Number{ var _local3:Number = _arg1; var _local4:Number = _arg2; if (isNaN(_local3)){ throw (new Error("low must be defined")); }; if (isNaN(_local4)){ throw (new Error("high must be defined")); }; return ((Math.round((Math.random() * (_local4 - _local3))) + _local3)); } public static function RandomInt(_arg1:int, _arg2:int):int{ return (Math.round(Random(_arg1, _arg2))); } public static function IsLinesCross(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{ var _local9:Number = (((_arg3 - _arg1) * (_arg6 - _arg8)) - ((_arg5 - _arg7) * (_arg4 - _arg2))); if (_local9 == 0){ return (false); }; var _local10:Number = (((_arg5 - _arg1) * (_arg6 - _arg8)) - ((_arg5 - _arg7) * (_arg6 - _arg2))); var _local11:Number = (((_arg3 - _arg1) * (_arg6 - _arg2)) - ((_arg5 - _arg1) * (_arg4 - _arg2))); var _local12:Number = (_local10 / _local9); var _local13:Number = (_local11 / _local9); if ((((((((_local12 >= 0)) && ((_local12 <= 1)))) && ((_local13 >= 0)))) && ((_local13 <= 1)))){ return (true); }; return (false); } public static function Lerp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } } }//package main
Section 16
//AIPoint (main.AIPoint) package main { public dynamic class AIPoint { var picID:int;// = 0 var lx; var cost:int;// = 0 var ly:int;// = 0 var x; var y:int;// = 0 public function clone():AIPoint{ var _local1:AIPoint = new AIPoint(); _local1.x = x; _local1.y = y; _local1.lx = lx; _local1.ly = ly; _local1.cost = cost; _local1.picID = picID; return (_local1); } } }//package main
Section 17
//alphaFader (main.alphaFader) package main { import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class alphaFader extends MovieClip { public var hlpNext:SimpleButton; public var buttCredBack:SimpleButton; public var fadeMaxLimit:Number;// = 1 public var plw1:MovieClip; public var plw2:MovieClip; public var txtPage:TextField; public var inf:MovieClip; public var myLogoCred:MovieClip; public var buttWinBack:SimpleButton; public var fadeSpeed:Number;// = 0.1 public var myLogoCred2:MovieClip; public var dontShow:MovieClip; public var hlpClose:SimpleButton; public var fadeMinLimit:Number;// = 0 var fadingout:Boolean;// = false public var hlpPrev:SimpleButton; public function alphaFader(){ fadingout = false; addEventListener(Event.ENTER_FRAME, update); } public function startFadeIn():void{ alpha = 0; visible = true; fadingout = false; } public function update(_arg1:Event):void{ if (visible){ if (fadingout){ if (alpha <= fadeMinLimit){ alpha = fadeMinLimit; visible = false; fadingout = false; } else { alpha = (alpha - fadeSpeed); }; } else { if (alpha >= fadeMaxLimit){ alpha = fadeMaxLimit; } else { alpha = (alpha + fadeSpeed); }; }; }; } public function startFadeOut():void{ alpha = 1; visible = true; fadingout = true; } } }//package main
Section 18
//block (main.block) package main { import flash.display.*; public dynamic class block extends alphaFader { public var blockPic:MovieClip; public var extraBonus:MovieClip; } }//package main
Section 19
//bloodFX (main.bloodFX) package main { import flash.display.*; public dynamic class bloodFX extends MovieClip { public function bloodFX(){ addFrameScript(17, frame18); } function frame18(){ stop(); visible = false; } } }//package main
Section 20
//ColorMatrix (main.ColorMatrix) package main { import flash.filters.*; public class ColorMatrix { public var matrix:Array; private var preHue:ColorMatrix; private var postHue:ColorMatrix; private var hueInitialized:Boolean; private static const ONETHIRD:Number = 0.333333333333333; private static const LUMA_G:Number = 0.71516; private static const LUMA_B:Number = 0.072169; private static const LUMA_R2:Number = 0.3086; private static const LUMA_G2:Number = 0.6094; private static const LUMA_R:Number = 0.212671; private static const LUMA_B2:Number = 0.082; private static const RAD:Number = (Math.PI / 180); private static const IDENTITY:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; public static const COLOR_DEFICIENCY_TYPES:Array = ["Protanopia", "Protanomaly", "Deuteranopia", "Deuteranomaly", "Tritanopia", "Tritanomaly", "Achromatopsia", "Achromatomaly"]; public function ColorMatrix(_arg1:Object=null){ if ((_arg1 is ColorMatrix)){ matrix = _arg1.matrix.concat(); } else { if ((_arg1 is Array)){ matrix = _arg1.concat(); } else { reset(); }; }; } public function adjustBrightness(_arg1:Number, _arg2:Number=NaN, _arg3:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1; }; if (isNaN(_arg3)){ _arg3 = _arg1; }; concat([1, 0, 0, 0, _arg1, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg3, 0, 0, 0, 1, 0]); } public function averageRGB2Alpha():void{ concat([0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, ONETHIRD, ONETHIRD, ONETHIRD, 0, 0]); } public function luminance2Alpha():void{ concat([0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, LUMA_R, LUMA_G, LUMA_B, 0, 0]); } public function rotateRed(_arg1:Number):void{ rotateColor(_arg1, 2, 1); } public function get filter():ColorMatrixFilter{ return (new ColorMatrixFilter(matrix)); } public function adjustSaturation(_arg1:Number):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = (1 - _arg1); _local3 = (_local2 * LUMA_R); _local4 = (_local2 * LUMA_G); _local5 = (_local2 * LUMA_B); concat([(_local3 + _arg1), _local4, _local5, 0, 0, _local3, (_local4 + _arg1), _local5, 0, 0, _local3, _local4, (_local5 + _arg1), 0, 0, 0, 0, 0, 1, 0]); } public function adjustAlphaContrast(_arg1:Number):void{ _arg1 = (_arg1 + 1); concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, _arg1, (128 * (1 - _arg1))]); } public function reset():void{ matrix = IDENTITY.concat(); } public function blend(_arg1:ColorMatrix, _arg2:Number):void{ var _local3:Number = (1 - _arg2); var _local4:int; while (_local4 < 20) { matrix[_local4] = ((_local3 * Number(matrix[_local4])) + (_arg2 * Number(_arg1.matrix[_local4]))); _local4++; }; } public function setChannels(_arg1:int=1, _arg2:int=2, _arg3:int=4, _arg4:int=8):void{ var _local5:Number = (((((((_arg1 & 1) == 1)) ? 1 : ((0 + ((_arg1 & 2) == 2))) ? 1 : 0 + ((_arg1 & 4) == 4))) ? 1 : 0 + ((_arg1 & 8) == 8))) ? 1 : 0; if (_local5 > 0){ _local5 = (1 / _local5); }; var _local6:Number = (((((((_arg2 & 1) == 1)) ? 1 : ((0 + ((_arg2 & 2) == 2))) ? 1 : 0 + ((_arg2 & 4) == 4))) ? 1 : 0 + ((_arg2 & 8) == 8))) ? 1 : 0; if (_local6 > 0){ _local6 = (1 / _local6); }; var _local7:Number = (((((((_arg3 & 1) == 1)) ? 1 : ((0 + ((_arg3 & 2) == 2))) ? 1 : 0 + ((_arg3 & 4) == 4))) ? 1 : 0 + ((_arg3 & 8) == 8))) ? 1 : 0; if (_local7 > 0){ _local7 = (1 / _local7); }; var _local8:Number = (((((((_arg4 & 1) == 1)) ? 1 : ((0 + ((_arg4 & 2) == 2))) ? 1 : 0 + ((_arg4 & 4) == 4))) ? 1 : 0 + ((_arg4 & 8) == 8))) ? 1 : 0; if (_local8 > 0){ _local8 = (1 / _local8); }; concat([(((_arg1 & 1) == 1)) ? _local5 : 0, (((_arg1 & 2) == 2)) ? _local5 : 0, (((_arg1 & 4) == 4)) ? _local5 : 0, (((_arg1 & 8) == 8)) ? _local5 : 0, 0, (((_arg2 & 1) == 1)) ? _local6 : 0, (((_arg2 & 2) == 2)) ? _local6 : 0, (((_arg2 & 4) == 4)) ? _local6 : 0, (((_arg2 & 8) == 8)) ? _local6 : 0, 0, (((_arg3 & 1) == 1)) ? _local7 : 0, (((_arg3 & 2) == 2)) ? _local7 : 0, (((_arg3 & 4) == 4)) ? _local7 : 0, (((_arg3 & 8) == 8)) ? _local7 : 0, 0, (((_arg4 & 1) == 1)) ? _local8 : 0, (((_arg4 & 2) == 2)) ? _local8 : 0, (((_arg4 & 4) == 4)) ? _local8 : 0, (((_arg4 & 8) == 8)) ? _local8 : 0, 0]); } public function randomize(_arg1:Number=1):void{ var _local2:Number = (1 - _arg1); var _local3:Number = (_local2 + (_arg1 * (Math.random() - Math.random()))); var _local4:Number = (_arg1 * (Math.random() - Math.random())); var _local5:Number = (_arg1 * (Math.random() - Math.random())); var _local6:Number = ((_arg1 * 0xFF) * (Math.random() - Math.random())); var _local7:Number = (_arg1 * (Math.random() - Math.random())); var _local8:Number = (_local2 + (_arg1 * (Math.random() - Math.random()))); var _local9:Number = (_arg1 * (Math.random() - Math.random())); var _local10:Number = ((_arg1 * 0xFF) * (Math.random() - Math.random())); var _local11:Number = (_arg1 * (Math.random() - Math.random())); var _local12:Number = (_arg1 * (Math.random() - Math.random())); var _local13:Number = (_local2 + (_arg1 * (Math.random() - Math.random()))); var _local14:Number = ((_arg1 * 0xFF) * (Math.random() - Math.random())); concat([_local3, _local4, _local5, 0, _local6, _local7, _local8, _local9, 0, _local10, _local11, _local12, _local13, 0, _local14, 0, 0, 0, 1, 0]); } public function concat(_arg1:Array):void{ var _local4:int; var _local5:int; var _local2:Array = []; var _local3:int; _local5 = 0; while (_local5 < 4) { _local4 = 0; while (_local4 < 5) { _local2[int((_local3 + _local4))] = (((((Number(_arg1[_local3]) * Number(matrix[_local4])) + (Number(_arg1[int((_local3 + 1))]) * Number(matrix[int((_local4 + 5))]))) + (Number(_arg1[int((_local3 + 2))]) * Number(matrix[int((_local4 + 10))]))) + (Number(_arg1[int((_local3 + 3))]) * Number(matrix[int((_local4 + 15))]))) + ((_local4 == 4)) ? Number(_arg1[int((_local3 + 4))]) : 0); _local4++; }; _local3 = (_local3 + 5); _local5++; }; matrix = _local2; } public function invert():void{ concat([-1, 0, 0, 0, 0xFF, 0, -1, 0, 0, 0xFF, 0, 0, -1, 0, 0xFF, 0, 0, 0, 1, 0]); } private function rotateColor(_arg1:Number, _arg2:int, _arg3:int):void{ _arg1 = (_arg1 * RAD); var _local4:Array = IDENTITY.concat(); _local4[(_arg2 + (_arg2 * 5))] = (_local4[(_arg3 + (_arg3 * 5))] = Math.cos(_arg1)); _local4[(_arg3 + (_arg2 * 5))] = Math.sin(_arg1); _local4[(_arg2 + (_arg3 * 5))] = -(Math.sin(_arg1)); concat(_local4); } public function colorize(_arg1:int, _arg2:Number=1):void{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local3 = (((_arg1 >> 16) & 0xFF) / 0xFF); _local4 = (((_arg1 >> 8) & 0xFF) / 0xFF); _local5 = ((_arg1 & 0xFF) / 0xFF); _local6 = (1 - _arg2); concat([(_local6 + ((_arg2 * _local3) * LUMA_R)), ((_arg2 * _local3) * LUMA_G), ((_arg2 * _local3) * LUMA_B), 0, 0, ((_arg2 * _local4) * LUMA_R), (_local6 + ((_arg2 * _local4) * LUMA_G)), ((_arg2 * _local4) * LUMA_B), 0, 0, ((_arg2 * _local5) * LUMA_R), ((_arg2 * _local5) * LUMA_G), (_local6 + ((_arg2 * _local5) * LUMA_B)), 0, 0, 0, 0, 0, 1, 0]); } public function rgb2Alpha(_arg1:Number, _arg2:Number, _arg3:Number):void{ concat([0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, 0, 0, 0, 0, 0xFF, _arg1, _arg2, _arg3, 0, 0]); } private function shearColor(_arg1:int, _arg2:int, _arg3:Number, _arg4:int, _arg5:Number):void{ var _local6:Array = IDENTITY.concat(); _local6[(_arg2 + (_arg1 * 5))] = _arg3; _local6[(_arg4 + (_arg1 * 5))] = _arg5; concat(_local6); } public function shearBlue(_arg1:Number, _arg2:Number):void{ shearColor(2, 0, _arg1, 1, _arg2); } public function setAlpha(_arg1:Number):void{ concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, _arg1, 0]); } public function rotateHue(_arg1:Number):void{ initHue(); concat(preHue.matrix); rotateBlue(_arg1); concat(postHue.matrix); } public function applyMatrix(_arg1:uint):uint{ var _local2:Number = ((_arg1 >>> 24) & 0xFF); var _local3:Number = ((_arg1 >>> 16) & 0xFF); var _local4:Number = ((_arg1 >>> 8) & 0xFF); var _local5:Number = (_arg1 & 0xFF); var _local6:int = (((((0.5 + (_local3 * matrix[0])) + (_local4 * matrix[1])) + (_local5 * matrix[2])) + (_local2 * matrix[3])) + matrix[4]); var _local7:int = (((((0.5 + (_local3 * matrix[5])) + (_local4 * matrix[6])) + (_local5 * matrix[7])) + (_local2 * matrix[8])) + matrix[9]); var _local8:int = (((((0.5 + (_local3 * matrix[10])) + (_local4 * matrix[11])) + (_local5 * matrix[12])) + (_local2 * matrix[13])) + matrix[14]); var _local9:int = (((((0.5 + (_local3 * matrix[15])) + (_local4 * matrix[16])) + (_local5 * matrix[17])) + (_local2 * matrix[18])) + matrix[19]); if (_local9 < 0){ _local9 = 0; }; if (_local9 > 0xFF){ _local9 = 0xFF; }; if (_local6 < 0){ _local6 = 0; }; if (_local6 > 0xFF){ _local6 = 0xFF; }; if (_local7 < 0){ _local7 = 0; }; if (_local7 > 0xFF){ _local7 = 0xFF; }; if (_local8 < 0){ _local8 = 0; }; if (_local8 > 0xFF){ _local8 = 0xFF; }; return (((((_local9 << 24) | (_local6 << 16)) | (_local7 << 8)) | _local8)); } private function initHue():void{ var _local2:Array; var _local3:Number; var _local4:Number; var _local1:Number = 39.182655; if (!hueInitialized){ hueInitialized = true; preHue = new ColorMatrix(); preHue.rotateRed(45); preHue.rotateGreen(-(_local1)); _local2 = [LUMA_R2, LUMA_G2, LUMA_B2, 1]; preHue.transformVector(_local2); _local3 = (_local2[0] / _local2[2]); _local4 = (_local2[1] / _local2[2]); preHue.shearBlue(_local3, _local4); postHue = new ColorMatrix(); postHue.shearBlue(-(_local3), -(_local4)); postHue.rotateGreen(_local1); postHue.rotateRed(-45); }; } public function shearGreen(_arg1:Number, _arg2:Number):void{ shearColor(1, 0, _arg1, 2, _arg2); } public function shearRed(_arg1:Number, _arg2:Number):void{ shearColor(0, 1, _arg1, 2, _arg2); } public function average(_arg1:Number=0.333333333333333, _arg2:Number=0.333333333333333, _arg3:Number=0.333333333333333):void{ concat([_arg1, _arg2, _arg3, 0, 0, _arg1, _arg2, _arg3, 0, 0, _arg1, _arg2, _arg3, 0, 0, 0, 0, 0, 1, 0]); } public function transformVector(_arg1:Array):void{ if (_arg1.length != 4){ return; }; var _local2:Number = (((((_arg1[0] * matrix[0]) + (_arg1[1] * matrix[1])) + (_arg1[2] * matrix[2])) + (_arg1[3] * matrix[3])) + matrix[4]); var _local3:Number = (((((_arg1[0] * matrix[5]) + (_arg1[1] * matrix[6])) + (_arg1[2] * matrix[7])) + (_arg1[3] * matrix[8])) + matrix[9]); var _local4:Number = (((((_arg1[0] * matrix[10]) + (_arg1[1] * matrix[11])) + (_arg1[2] * matrix[12])) + (_arg1[3] * matrix[13])) + matrix[14]); var _local5:Number = (((((_arg1[0] * matrix[15]) + (_arg1[1] * matrix[16])) + (_arg1[2] * matrix[17])) + (_arg1[3] * matrix[18])) + matrix[19]); _arg1[0] = _local2; _arg1[1] = _local3; _arg1[2] = _local4; _arg1[3] = _local5; } public function invertAlpha():void{ concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0xFF]); } public function adjustHue(_arg1:Number):void{ _arg1 = (_arg1 * RAD); var _local2:Number = Math.cos(_arg1); var _local3:Number = Math.sin(_arg1); concat([((LUMA_R + (_local2 * (1 - LUMA_R))) + (_local3 * -(LUMA_R))), ((LUMA_G + (_local2 * -(LUMA_G))) + (_local3 * -(LUMA_G))), ((LUMA_B + (_local2 * -(LUMA_B))) + (_local3 * (1 - LUMA_B))), 0, 0, ((LUMA_R + (_local2 * -(LUMA_R))) + (_local3 * 0.143)), ((LUMA_G + (_local2 * (1 - LUMA_G))) + (_local3 * 0.14)), ((LUMA_B + (_local2 * -(LUMA_B))) + (_local3 * -0.283)), 0, 0, ((LUMA_R + (_local2 * -(LUMA_R))) + (_local3 * -((1 - LUMA_R)))), ((LUMA_G + (_local2 * -(LUMA_G))) + (_local3 * LUMA_G)), ((LUMA_B + (_local2 * (1 - LUMA_B))) + (_local3 * LUMA_B)), 0, 0, 0, 0, 0, 1, 0]); } public function threshold(_arg1:Number, _arg2:Number=0x0100):void{ concat([(LUMA_R * _arg2), (LUMA_G * _arg2), (LUMA_B * _arg2), 0, (-(_arg2) * _arg1), (LUMA_R * _arg2), (LUMA_G * _arg2), (LUMA_B * _arg2), 0, (-(_arg2) * _arg1), (LUMA_R * _arg2), (LUMA_G * _arg2), (LUMA_B * _arg2), 0, (-(_arg2) * _arg1), 0, 0, 0, 1, 0]); } public function clone():ColorMatrix{ return (new ColorMatrix(matrix)); } public function rotateBlue(_arg1:Number):void{ rotateColor(_arg1, 1, 0); } public function rotateGreen(_arg1:Number):void{ rotateColor(_arg1, 0, 2); } public function desaturate():void{ concat([LUMA_R, LUMA_G, LUMA_B, 0, 0, LUMA_R, LUMA_G, LUMA_B, 0, 0, LUMA_R, LUMA_G, LUMA_B, 0, 0, 0, 0, 0, 1, 0]); } public function adjustContrast(_arg1:Number, _arg2:Number=NaN, _arg3:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1; }; if (isNaN(_arg3)){ _arg3 = _arg1; }; _arg1 = (_arg1 + 1); _arg2 = (_arg2 + 1); _arg3 = (_arg3 + 1); concat([_arg1, 0, 0, 0, (128 * (1 - _arg1)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg3, 0, (128 * (1 - _arg3)), 0, 0, 0, 1, 0]); } public function setMultiplicators(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1):void{ var _local5:Array = new Array(_arg1, 0, 0, 0, 0, 0, _arg2, 0, 0, 0, 0, 0, _arg3, 0, 0, 0, 0, 0, _arg4, 0); concat(_local5); } public function thresholdAlpha(_arg1:Number, _arg2:Number=0x0100):void{ concat([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, _arg2, (-(_arg2) * _arg1)]); } public function clearChannels(_arg1:Boolean=false, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false):void{ if (_arg1){ matrix[0] = (matrix[1] = (matrix[2] = (matrix[3] = (matrix[4] = 0)))); }; if (_arg2){ matrix[5] = (matrix[6] = (matrix[7] = (matrix[8] = (matrix[9] = 0)))); }; if (_arg3){ matrix[10] = (matrix[11] = (matrix[12] = (matrix[13] = (matrix[14] = 0)))); }; if (_arg4){ matrix[15] = (matrix[16] = (matrix[17] = (matrix[18] = (matrix[19] = 0)))); }; } public function applyColorDeficiency(_arg1:String):void{ switch (_arg1){ case "Protanopia": concat([0.567, 0.433, 0, 0, 0, 0.558, 0.442, 0, 0, 0, 0, 0.242, 0.758, 0, 0, 0, 0, 0, 1, 0]); break; case "Protanomaly": concat([0.817, 0.183, 0, 0, 0, 0.333, 0.667, 0, 0, 0, 0, 0.125, 0.875, 0, 0, 0, 0, 0, 1, 0]); break; case "Deuteranopia": concat([0.625, 0.375, 0, 0, 0, 0.7, 0.3, 0, 0, 0, 0, 0.3, 0.7, 0, 0, 0, 0, 0, 1, 0]); break; case "Deuteranomaly": concat([0.8, 0.2, 0, 0, 0, 0.258, 0.742, 0, 0, 0, 0, 0.142, 0.858, 0, 0, 0, 0, 0, 1, 0]); break; case "Tritanopia": concat([0.95, 0.05, 0, 0, 0, 0, 0.433, 0.567, 0, 0, 0, 0.475, 0.525, 0, 0, 0, 0, 0, 1, 0]); break; case "Tritanomaly": concat([0.967, 0.033, 0, 0, 0, 0, 0.733, 0.267, 0, 0, 0, 0.183, 0.817, 0, 0, 0, 0, 0, 1, 0]); break; case "Achromatopsia": concat([0.299, 0.587, 0.114, 0, 0, 0.299, 0.587, 0.114, 0, 0, 0.299, 0.587, 0.114, 0, 0, 0, 0, 0, 1, 0]); break; case "Achromatomaly": concat([0.618, 0.32, 0.062, 0, 0, 0.163, 0.775, 0.062, 0, 0, 0.163, 0.32, 0.516, 0, 0, 0, 0, 0, 1, 0]); break; }; } } }//package main
Section 21
//Cookie (main.Cookie) package main { import flash.net.*; public class Cookie { private var _name:String; private var _so:SharedObject; public function Cookie(_arg1:String="tempCookie"){ _name = _arg1; _so = SharedObject.getLocal(_arg1, "/"); } public function getName():String{ return (_name); } public function isKeyExist(_arg1:String):Boolean{ _arg1 = ("key_" + _arg1); return (((!((_so.data.cookie == undefined))) && (!((_so.data.cookie[_arg1] == undefined))))); } public function putNoFlush(_arg1:String, _arg2):void{ var _local3:Object; _arg1 = ("key_" + _arg1); if (_so.data.cookie == undefined){ _local3 = {}; _local3[_arg1] = _arg2; _so.data.cookie = _local3; } else { _so.data.cookie[_arg1] = _arg2; }; } public function remove(_arg1:String):void{ if (isKeyExist(_arg1)){ delete _so.data.cookie[("key_" + _arg1)]; _so.flush(); }; } public function clear():void{ _so.clear(); } public function flushData():void{ _so.flush(); } public function put(_arg1:String, _arg2):void{ var _local3:Object; _arg1 = ("key_" + _arg1); if (_so.data.cookie == undefined){ _local3 = {}; _local3[_arg1] = _arg2; _so.data.cookie = _local3; } else { _so.data.cookie[_arg1] = _arg2; }; _so.flush(); } public function get(_arg1:String):Object{ return ((isKeyExist(_arg1)) ? _so.data.cookie[("key_" + _arg1)] : null); } public function getSize():uint{ return (_so.size); } public function isExist():Boolean{ return (!((getSize() == 0))); } } }//package main
Section 22
//fader50perc (main.fader50perc) package main { public dynamic class fader50perc extends alphaFader { } }//package main
Section 23
//fxBloodSpatters (main.fxBloodSpatters) package main { import flash.display.*; public dynamic class fxBloodSpatters extends MovieClip { public function fxBloodSpatters(){ addFrameScript(19, frame20); } function frame20(){ visible = false; } } }//package main
Section 24
//fxExplode (main.fxExplode) package main { public dynamic class fxExplode extends alphaFader { public function fxExplode(){ addFrameScript(16, frame17); } function frame17(){ visible = false; } } }//package main
Section 25
//fxHealth (main.fxHealth) package main { public dynamic class fxHealth extends alphaFader { public function fxHealth(){ addFrameScript(24, frame25); } function frame25(){ stop(); visible = false; } } }//package main
Section 26
//game (main.game) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; import CPMStar.*; import flash.text.*; import flash.utils.*; import flash.ui.*; import flash.geom.*; import fl.motion.*; public class game extends alphaFader { public var en_star_1_1:MovieClip; public var en_star_1_2:MovieClip; public var en_star_5_1:MovieClip; public var en_star_5_2:MovieClip; var arrButtPlayer:Array; public var abBombButt:abBombButt; public var pl_star_1_1:MovieClip; public var pl_star_5_1:MovieClip; var winLosePanelOnScr:Boolean;// = false public var pl_star_1_2:MovieClip; public var abShieldButt:abShieldButt; public var abMessagePlayer:abMessagePlayer; public var statAbDrop:int;// = 0 public var pl_star_5_2:MovieClip; public var infoMoveScore:TextField; public var uiShield:uiShield; public var expBarPlayer:MovieClip; var lifePerOne:Number;// = 1 var adBoxMC:MovieClip; public var abFreshButt:abFreshButt; public var bg:MovieClip; public var thisGamefield:gamefield; public var en_star_0_1:MovieClip; public var en_star_0_2:MovieClip; public var en_star_4_1:MovieClip; public var statAbHealth:int;// = 0 public var sndmap:sounds; public var en_star_4_2:MovieClip; public var pl_star_0_2:MovieClip; public var pl_star_4_1:MovieClip; public var pl_star_4_2:MovieClip; public var statAbShield:int;// = 0 public var pl_star_0_1:MovieClip; public var upgradePanel:upgradePanel; var timerAttackEnRunning:Boolean;// = false public var uiRev:uiRev; public var winLosePanel:MovieClip; var timerAttackEn:Timer; public var gameMenu:gameMenu; public var expBarEnemy:MovieClip; public var playerLife:TextField; public var abMessageEnemy:abMessageEnemy; public var enemy:playerStat; public var FightBar1:MovieClip; public var en_star_3_2:MovieClip; public var abHealthButt:abHealthButt; public var en_star_3_1:MovieClip; public var abViewButt:abViewButt; public var pl_star_3_1:MovieClip; public var FightBar2:MovieClip; var gameActive:Boolean;// = false public var abHealthButt2:abHealthButt; public var uiRev2:uiRev; public var enemyLife:TextField; var fxArray:Array; public var spLogo:MovieClip; public var pl_star_3_2:MovieClip; public var helpFrame:helpFrame; public var abShieldButt2:abShieldButt; public var abViewButt2:abViewButt; public var uiShield2:uiShield; var timerAttackPlRunning:Boolean;// = false public var txtCash:TextField; var timerAttackPl:Timer; public var en_star_2_1:MovieClip; public var en_star_2_2:MovieClip; var arrButtEnemy:Array; public var pl_star_2_1:MovieClip; public var pl_star_2_2:MovieClip; public var abBombButt2:abBombButt; public var abRevButt2:abRevButt; public var player:playerStat; public var enemyPic:MovieClip; public var playerPic:MovieClip; public var abFreshButt2:abFreshButt; public var buttHelp:SimpleButton; public var abRevButt:abRevButt; public var fader50perc:fader50perc; public var infoText:TextField; var timerOpponentDelayTurn:Timer; static var mX:Number = 0; static var mY:Number = 0; public function game(){ arrButtPlayer = new Array(); arrButtEnemy = new Array(); super(); addFrameScript(0, frame1); thisGamefield.thisGame = this; gameMenu.thisGame = this; addEventListener(Event.ENTER_FRAME, Update); player = new playerStat(); enemy = new playerStat(); infoText.text = "your turn"; sndmap = new sounds(); sndmap.init(); uiShield.startFadeOut(); uiShield.zoomedIn = false; uiRev.startFadeOut(); uiRev.zoomedIn = false; uiShield2.startFadeOut(); uiShield2.zoomedIn = false; uiRev2.startFadeOut(); uiRev2.zoomedIn = false; fader50perc.visible = false; fxArray = new Array(); arrButtPlayer.push(abBombButt); arrButtPlayer.push(abHealthButt); arrButtPlayer.push(abRevButt); arrButtPlayer.push(abShieldButt); arrButtPlayer.push(abFreshButt); arrButtPlayer.push(abViewButt); arrButtEnemy.push(abBombButt2); arrButtEnemy.push(abHealthButt2); arrButtEnemy.push(abRevButt2); arrButtEnemy.push(abShieldButt2); arrButtEnemy.push(abFreshButt2); arrButtEnemy.push(abViewButt2); timerOpponentDelayTurn = new Timer(3000, 1); timerOpponentDelayTurn.stop(); timerOpponentDelayTurn.addEventListener(TimerEvent.TIMER, timerOpponentDelayTurn_Timer); timerAttackPl = new Timer(200); timerAttackPl.stop(); timerAttackPl.addEventListener(TimerEvent.TIMER, timerAttackPl_Timer); timerAttackEn = new Timer(200); timerAttackEn.stop(); timerAttackEn.addEventListener(TimerEvent.TIMER, timerAttackEn_Timer); winLosePanel.repButt.addEventListener(MouseEvent.CLICK, nextRep_Click); winLosePanel.nextButt.addEventListener(MouseEvent.CLICK, nextButt_Click); winLosePanel.buttExit.addEventListener(MouseEvent.CLICK, buttExit_Click); upgradePanel.buttUpgNext.addEventListener(MouseEvent.CLICK, upgNextButt_Click); addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); addEventListener(MouseEvent.CLICK, this_Click); } public function initGUI():void{ uiShield.visible = false; uiShield2.visible = false; uiRev.visible = false; uiRev2.visible = false; gameMenu.y = 458; gameMenu.mousePosX = 0; gameMenu.mousePosY = 0; thisGamefield.numBlocksTypes = 6; thisGamefield.Player1Turn = true; thisGamefield.iCurPicID = -1; thisGamefield.startDragged = false; thisGamefield.PlayerApplyAbility = false; thisGamefield.skipTurn = false; thisGamefield.blocks_moved = false; thisGamefield.turn_tested = false; thisGamefield.applyAITurn.stop(); thisGamefield.helpTimer.stop(); } public function addFxExplode(_arg1:Number, _arg2:Number):void{ var _local3:fxExplode; _local3 = new fxExplode(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = "screen"; var _local4:Array = new Array(); _local3.scaleX = 1.5; _local3.scaleY = 1.5; _local3.rotate = ageMath.RandomInt(0, 360); addChild(_local3); fxArray.push(_local3); } public function click_spLogo(_arg1:MouseEvent){ ach.getAch("sponsor"); mainGlobal.toUrl("inGameLogo"); } public function abViewButt_Click(_arg1:MouseEvent):void{ if (((abViewButt.enabled) && ((player.expa >= player.abArray[5].cost)))){ player.expa = (player.expa - player.abArray[5].cost); abMessagePlayer.startFadeIn(); abMessagePlayer.abName.text = "View best path"; abMessagePlayer.abPic.gotoAndStop(4); abMessagePlayer.startFadeIn(); thisGamefield.releaseAllPathElem(); thisGamefield.showBestMove(); sndmap.PlaySnd("abView"); thisGamefield.PlayerApplyAbility = true; }; } function timerAttackPl_Timer(_arg1:TimerEvent=null):void{ if (enemy.lifeShow > enemy.life){ enemy.lifeShow = (enemy.lifeShow - lifePerOne); if (enemy.lifeShow < enemy.life){ enemy.lifeShow = enemy.life; timerAttackPlRunning = false; timerAttackPl.stop(); }; sndmap.PlaySnd(("goodAttack" + ageMath.RandomInt(1, 2))); fxcache_createFX(this, "shootFX", (FightBar1.x + ageMath.RemapVal(enemy.lifeShow, 0, enemy.lifeMax, 186, 0)), FightBar1.y); } else { enemy.lifeShow = enemy.life; timerAttackPlRunning = false; timerAttackPl.stop(); }; } public function removeFX(_arg1):void{ var _local2:Number; _local2 = 0; while (_local2 < fxArray.length) { if (fxArray[_local2] == _arg1){ fxArray.splice(_local2, 1); break; }; _local2++; }; removeChild(_arg1); } public function startLevel(_arg1:int):void{ statAbShield = 0; statAbHealth = 0; statAbDrop = 0; timerOpponentDelayTurn.stop(); player.lev_cash = 0; player.max_chain = 0; player.av_chain = 0; player.player_turns = 0; player.total_turns = 0; playerPic.picRow.gotoAndStop(player.picID); enemyPic.picRow.gotoAndStop((_arg1 + 1)); thisGamefield.releaseAllPathElem(); enemy = GameFrame(parent).menuChoose.plstatArr[_arg1].clone(); player.lifeMax = player.upgParamLife[player.upg_level_life]; enemy.curCompLevel = (_arg1 + 1); if (enemy.curCompLevel == 15){ enemy.lifeMax = 95; } else { enemy.lifeMax = enemy.upgParamLife[enemy.upg_level_life]; }; player.life = player.lifeMax; player.lifeShow = player.lifeMax; enemy.life = enemy.lifeMax; enemy.lifeShow = enemy.lifeMax; if ((((((((((enemy.curCompLevel == 1)) || ((enemy.curCompLevel == 4)))) || ((enemy.curCompLevel == 7)))) || ((enemy.curCompLevel == 10)))) || ((enemy.curCompLevel == 13)))){ musicEnv.fadeTo("musGame1"); }; if ((((((((((enemy.curCompLevel == 2)) || ((enemy.curCompLevel == 5)))) || ((enemy.curCompLevel == 8)))) || ((enemy.curCompLevel == 11)))) || ((enemy.curCompLevel == 14)))){ musicEnv.fadeTo("musGame3"); }; if ((((((((((enemy.curCompLevel == 3)) || ((enemy.curCompLevel == 6)))) || ((enemy.curCompLevel == 9)))) || ((enemy.curCompLevel == 12)))) || ((enemy.curCompLevel == 15)))){ musicEnv.fadeTo("musGame2"); }; player.expa = 0; gameActive = true; thisGamefield.helpTimer.start(); thisGamefield.moveScore = 0; if (player.isCookieDontShowHelp()){ helpFrame.visible = false; } else { helpFrame.visible = false; if ((_arg1 + 1) == 1){ helpFrame.visible = true; helpFrame.minInfoLimit = 1; helpFrame.maxInfoLimit = 3; helpFrame.inf.gotoAndStop(1); } else { if ((_arg1 + 1) == 2){ helpFrame.visible = true; helpFrame.minInfoLimit = 1; helpFrame.maxInfoLimit = 6; helpFrame.inf.gotoAndStop(4); }; }; }; if ((((_arg1 >= 0)) && ((_arg1 <= 2)))){ thisGamefield.init(6, 5); } else { if ((((_arg1 >= 3)) && ((_arg1 <= 5)))){ thisGamefield.init(7, 5); } else { if (_arg1 >= 6){ thisGamefield.init(8, 5); }; }; }; trace(("AI:" + enemy.AI)); enemy.isShield = false; player.isShield = false; bg.gotoAndStop((_arg1 + 2)); initGUI(); if (stage.frameRate < 30){ stage.frameRate = 30; }; } public function buttHelp_Click(_arg1:MouseEvent):void{ helpFrame.startFadeIn(); helpFrame.minInfoLimit = 1; helpFrame.maxInfoLimit = 6; helpFrame.inf.gotoAndStop(1); } function frame1(){ abBombButt.addEventListener(MouseEvent.CLICK, abBombButt_Click); abHealthButt.addEventListener(MouseEvent.CLICK, abHealthButt_Click); abRevButt.addEventListener(MouseEvent.CLICK, abRevButt_Click); abShieldButt.addEventListener(MouseEvent.CLICK, abShieldButt_Click); abFreshButt.addEventListener(MouseEvent.CLICK, abFreshButt_Click); abViewButt.addEventListener(MouseEvent.CLICK, abViewButt_Click); buttHelp.addEventListener(MouseEvent.CLICK, buttHelp_Click); spLogo.buttonMode = true; spLogo.addEventListener(MouseEvent.CLICK, click_spLogo); } function timerAttackEn_Timer(_arg1:TimerEvent=null):void{ if (player.lifeShow > player.life){ player.lifeShow = (player.lifeShow - lifePerOne); if (player.lifeShow < player.life){ player.lifeShow = player.life; timerAttackEnRunning = false; timerAttackEn.stop(); }; sndmap.PlaySnd(("badAttack" + ageMath.RandomInt(1, 2))); fxcache_createFX(this, "bloodFX", (FightBar2.x + ageMath.RemapVal(player.lifeShow, 0, player.lifeMax, 0, 184)), FightBar2.y); fxcache_createFX(this, "bloodSplaters", (FightBar2.x + ageMath.RemapVal(player.lifeShow, 0, player.lifeMax, 0, 184)), FightBar2.y); } else { player.lifeShow = player.life; timerAttackEnRunning = false; timerAttackEn.stop(); }; } function buttExit_Click(_arg1:MouseEvent):void{ winLosePanelOnScr = false; fader50perc.startFadeOut(); player.createCookie(); removeAds(); if (winLosePanel.repButt.visible){ musicEnv.fadeTo("musMenu"); }; startFadeOut(); GameFrame(parent).menuChoose.startFadeIn(); gameActive = false; sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } function fxcache_createFX(_arg1:MovieClip, _arg2:String, _arg3:Number, _arg4:Number){ var _local5:*; if (_arg2 == "bloodFX"){ _local5 = new bloodFX(); _local5.blendMode = "overlay"; _local5.width = 50; _local5.height = 50; _local5.rotation = ageMath.RandomInt(-30, 30); } else { if (_arg2 == "shootFX"){ _local5 = new shootFX(); _local5.blendMode = "screen"; _local5.x = -64; _local5.y = -45; _local5.width = 84; _local5.height = 84; } else { if (_arg2 == "bloodSplaters"){ _local5 = new fxBloodSpatters(); _local5.blendMode = "overlay"; _local5.width = 45; _local5.height = 45; }; }; }; _local5.x = (_local5.x + _arg3); _local5.y = (_local5.y + _arg4); addChild(_local5); fxArray.push(_local5); } function removeAds():void{ winLosePanel.removeChild(adBoxMC); } public function adjustButtonsColor(_arg1:Boolean=true):void{ var _local9:Array; var _local2:int; var _local3:ColorMatrix = new ColorMatrix(); var _local4:ColorMatrix = new ColorMatrix(); var _local5:ColorMatrix = new ColorMatrix(); _local5.adjustBrightness(0); _local3.adjustBrightness(-100); _local4.adjustBrightness(-50); var _local6:Array = [player.upg_level_life, player.upg_level_luck, player.abArray[5].upg_level, player.abArray[3].upg_level, player.abArray[4].upg_level, player.abArray[2].upg_level, player.abArray[1].upg_level, player.abArray[0].upg_level]; var _local7:Array = [7, 6, 5, 3, 4, 2]; var _local8:Boolean; _local2 = 0; while (_local2 < arrButtPlayer.length) { _local9 = arrButtPlayer[_local2].filters; if ((((((((((((mX >= arrButtPlayer[_local2].x)) && ((mX <= (arrButtPlayer[_local2].x + arrButtPlayer[_local2].width))))) && ((mY >= arrButtPlayer[_local2].y)))) && ((mY <= (arrButtPlayer[_local2].y + arrButtPlayer[_local2].height))))) && (!(helpFrame.visible)))) && ((gameMenu.y >= 457)))){ GameFrame(parent).tip.showTip(); GameFrame(parent).tip.setTxtToAbility(_local7[_local2], _local6[_local7[_local2]], Boolean((player.expa >= player.abArray[_local2].cost)), Boolean((player.abArray[_local2].upg_level > 0))); _local8 = true; }; if (player.abArray[_local2].upg_level == 0){ getChildByName((("pl_star_" + _local2) + "_1")).visible = false; getChildByName((("pl_star_" + _local2) + "_2")).visible = false; } else { if (player.abArray[_local2].upg_level == 1){ getChildByName((("pl_star_" + _local2) + "_1")).visible = false; getChildByName((("pl_star_" + _local2) + "_2")).visible = false; } else { if (player.abArray[_local2].upg_level == 2){ getChildByName((("pl_star_" + _local2) + "_1")).visible = true; getChildByName((("pl_star_" + _local2) + "_2")).visible = false; }; }; }; if (player.abArray[_local2].upg_level == 3){ getChildByName((("pl_star_" + _local2) + "_1")).visible = true; getChildByName((("pl_star_" + _local2) + "_2")).visible = true; }; if (player.abArray[_local2].upg_level > 0){ if (((thisGamefield.Player1Turn) && (!(thisGamefield.PlayerApplyAbility)))){ _local9[0].strength = 0; _local9[1] = new ColorMatrixFilter(_local5.matrix); if (player.expa < player.abArray[_local2].cost){ _local9[0].strength = 1; arrButtPlayer[_local2].enabled = false; } else { arrButtPlayer[_local2].enabled = true; }; } else { arrButtPlayer[_local2].enabled = false; _local9[0].strength = 0; _local9[1] = new ColorMatrixFilter(_local4.matrix); }; arrButtPlayer[_local2].alpha = 1; } else { arrButtPlayer[_local2].alpha = 0.3; arrButtPlayer[_local2].enabled = false; _local9[0].strength = 0; _local9[1] = new ColorMatrixFilter(_local3.matrix); }; arrButtPlayer[_local2].filters = _local9; _local2++; }; if (!_local8){ GameFrame(parent).tip.hideTip(); }; _local2 = 0; while (_local2 < arrButtEnemy.length) { _local9 = arrButtEnemy[_local2].filters; if (enemy.abArray[_local2].upg_level == 0){ getChildByName((("en_star_" + _local2) + "_1")).visible = false; getChildByName((("en_star_" + _local2) + "_2")).visible = false; } else { if (enemy.abArray[_local2].upg_level == 1){ getChildByName((("en_star_" + _local2) + "_1")).visible = false; getChildByName((("en_star_" + _local2) + "_2")).visible = false; } else { if (enemy.abArray[_local2].upg_level == 2){ getChildByName((("en_star_" + _local2) + "_1")).visible = true; getChildByName((("en_star_" + _local2) + "_2")).visible = false; }; }; }; if (enemy.abArray[_local2].upg_level == 3){ getChildByName((("en_star_" + _local2) + "_1")).visible = true; getChildByName((("en_star_" + _local2) + "_2")).visible = true; }; if (enemy.abArray[_local2].upg_level > 0){ _local9[0].strength = 0; _local9[1] = new ColorMatrixFilter(_local5.matrix); if (enemy.expa < enemy.abArray[_local2].cost){ _local9[0].strength = 1; arrButtEnemy[_local2].enabled = false; } else { arrButtEnemy[_local2].enabled = false; }; arrButtEnemy[_local2].alpha = 1; } else { arrButtEnemy[_local2].alpha = 0.3; arrButtEnemy[_local2].enabled = false; _local9[0].strength = 0; _local9[1] = new ColorMatrixFilter(_local3.matrix); }; arrButtEnemy[_local2].filters = _local9; _local2++; }; } function nextRep_Click(_arg1:MouseEvent):void{ winLosePanelOnScr = false; fader50perc.startFadeOut(); startLevel((enemy.curCompLevel - 1)); sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); removeAds(); } public function abFreshButt_Click(_arg1:MouseEvent):void{ if (((abFreshButt.enabled) && ((player.expa >= player.abArray[4].cost)))){ player.expa = (player.expa - player.abArray[4].cost); abMessagePlayer.startFadeIn(); abMessagePlayer.abName.text = "Drop board"; abMessagePlayer.abPic.gotoAndStop(5); abMessagePlayer.startFadeIn(); thisGamefield.releaseAllPathElem(); thisGamefield.drop(); statAbDrop++; if (statAbDrop == 4){ ach.getAch("dropAb"); }; thisGamefield.numBlocksTypes = (6 - player.upgParamDrop[player.abArray[4].upg_level]); sndmap.PlaySnd("abDrop"); thisGamefield.PlayerApplyAbility = true; }; } public function abRevButt_Click(_arg1:MouseEvent):void{ if (((abRevButt.enabled) && ((player.expa >= player.abArray[2].cost)))){ player.expa = (player.expa - player.abArray[2].cost); uiRev.startFadeIn(); uiRev.fadeSpeed = 0.07; abMessagePlayer.startFadeIn(); abMessagePlayer.abName.text = "Double Move"; abMessagePlayer.abPic.gotoAndStop(7); sndmap.PlaySnd("abRev"); thisGamefield.skipTurn = true; thisGamefield.PlayerApplyAbility = true; }; } public function addFxLuck(_arg1:Boolean):void{ var _local2:LuckFX; _local2 = new LuckFX(); if (_arg1){ _local2.x = ageMath.RandomInt(FightBar2.x, (FightBar2.x + FightBar2.width)); _local2.y = (FightBar2.y + (FightBar2.height / 4)); } else { _local2.x = ageMath.RandomInt(FightBar1.x, (FightBar1.x + FightBar1.width)); _local2.y = (FightBar1.y + (FightBar1.height / 4)); }; addChild(_local2); fxArray.push(_local2); } function this_Click(_arg1:MouseEvent):void{ } public function abShieldButt_Click(_arg1:MouseEvent):void{ if (((abShieldButt.enabled) && ((player.expa >= player.abArray[3].cost)))){ player.expa = (player.expa - player.abArray[3].cost); uiShield.startFadeIn(); uiShield.fadeSpeed = 0.07; abMessagePlayer.startFadeIn(); abMessagePlayer.abName.text = "Shield"; abMessagePlayer.abPic.gotoAndStop(6); player.isShield = true; abMessagePlayer.startFadeIn(); statAbShield++; if (statAbShield == 4){ ach.getAch("shieldAb"); }; sndmap.PlaySnd("abShield"); thisGamefield.PlayerApplyAbility = true; }; } function nextButt_Click(_arg1:MouseEvent):void{ winLosePanelOnScr = false; upgradePanel.moveToScr = true; upgradePanel.buttUpgNext.visible = true; upgradePanel.buttClose.visible = false; if (enemy.curCompLevel == player.curCompLevel){ player.curCompLevel++; }; upgradePanel.init(player); sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); removeAds(); } function timerOpponentDelayTurn_Timer(_arg1:TimerEvent):void{ thisGamefield.calcBestAIMove(); infoText.text = "your turn"; } public function addFxHealth(_arg1:Number, _arg2:Number):void{ var _local3:fxHealth; _local3 = new fxHealth(); _local3.x = _arg1; _local3.y = _arg2; _local3.blendMode = "screen"; var _local4:Array = new Array(); _local4.push(new GlowFilter(0xFF0000, 1, 15, 15, 1, 3)); _local3.filters = _local4; addChild(_local3); fxArray.push(_local3); } public function Update(_arg1:Event):void{ var _local2:*; var _local3:Number; var _local4:int; var _local5:String; var _local6:DisplayObject; if (!visible){ return; }; txtCash.text = (player.lev_cash.toString() + "cr"); if (enemy.lifeShow < enemy.life){ enemy.lifeShow = enemy.life; }; if ((((enemy.lifeShow > enemy.life)) && (!(timerAttackPlRunning)))){ timerAttackPl.start(); timerAttackPlRunning = true; }; if (player.lifeShow < player.life){ player.lifeShow = player.life; }; if ((((player.lifeShow > player.life)) && (!(timerAttackEnRunning)))){ timerAttackEn.start(); timerAttackEnRunning = true; }; FightBar2.gotoAndStop(int(ageMath.RemapVal(player.lifeShow, 0, player.lifeMax, 200, 1))); playerLife.text = player.life.toString(); FightBar1.gotoAndStop(int(ageMath.RemapVal(enemy.lifeShow, 0, enemy.lifeMax, 200, 1))); enemyLife.text = enemy.life.toString(); expBarPlayer.expbar.gotoAndStop(int(ageMath.RemapVal(player.expa, 1, 25, 1, 100))); expBarPlayer.txt.text = player.expa; expBarEnemy.expbar.gotoAndStop(int(ageMath.RemapVal(enemy.expa, 1, 25, 1, 100))); expBarEnemy.txt.text = enemy.expa; adjustButtonsColor(); for each (_local2 in fxArray) { if (_local2.visible == false){ removeFX(_local2); }; }; if (!(((player.life <= 0)) || ((enemy.life <= 0)))){ if (((((thisGamefield.Player1Turn) && (!(thisGamefield.turn_tested)))) && (!(thisGamefield.blocks_moved)))){ if (!thisGamefield.calcCanMakeTurn()){ thisGamefield.releaseAllPathElem(); thisGamefield.drop(); return; }; thisGamefield.turn_tested = true; }; }; if (((((((!(thisGamefield.Player1Turn)) && (!(timerOpponentDelayTurn.running)))) && (!(thisGamefield.applyAITurn.running)))) && ((enemy.life > 0)))){ timerOpponentDelayTurn.delay = ageMath.RandomInt(500, 2000); timerOpponentDelayTurn.start(); infoText.text = "opponent's turn..."; }; if (((!(thisGamefield.Player1Turn)) && (timerOpponentDelayTurn.running))){ if (thisGamefield.blocks_moved){ timerOpponentDelayTurn.stop(); } else { timerOpponentDelayTurn.start(); }; }; if (((!(thisGamefield.Player1Turn)) && (thisGamefield.applyAITurn.running))){ if (thisGamefield.blocks_moved){ thisGamefield.applyAITurn.stop(); } else { thisGamefield.applyAITurn.start(); }; }; if ((((((player.life <= 0)) || ((enemy.life <= 0)))) && (gameActive))){ if (!fader50perc.visible){ fader50perc.startFadeIn(); winLosePanelOnScr = true; winLosePanel.txtMaxChain.text = player.max_chain.toString(); winLosePanel.txtAvrChain.text = (Math.round(((player.av_chain / player.player_turns) * 10)) / 10).toString(); winLosePanel.txtTotalTurns.text = player.total_turns.toString(); winLosePanel.txtColCash.text = (player.lev_cash.toString() + "cr"); _local3 = 0; if (enemy.life <= 0){ _local4 = 0; if (player.diffLevel == 0){ _local4 = 5; }; if ((((enemy.curCompLevel >= 1)) && ((enemy.curCompLevel <= 4)))){ _local3 = (35 + _local4); } else { if ((((enemy.curCompLevel >= 5)) && ((enemy.curCompLevel <= 8)))){ _local3 = (45 + _local4); } else { if ((((enemy.curCompLevel >= 9)) && ((enemy.curCompLevel <= 12)))){ _local3 = (55 + _local4); } else { if ((((enemy.curCompLevel >= 13)) && ((enemy.curCompLevel <= 15)))){ _local3 = (65 + _local4); }; }; }; }; player.cash = (player.cash + (_local3 + player.lev_cash)); if (player.cash >= 100){ ach.getAch("money1"); }; if (player.cash >= 300){ ach.getAch("money2"); }; if (enemy.curCompLevel == 1){ ach.getAch("lev1"); }; if (enemy.curCompLevel == 7){ ach.getAch("lev7"); }; if ((((enemy.curCompLevel == 15)) && ((player.total_turns <= 40)))){ ach.getAch("flawVic"); }; musicEnv.fadeTo("musMenu"); } else { player.cash = (player.cash + player.lev_cash); musicEnv.fadeTo("musLost"); player.createCookie(); }; winLosePanel.txtPrizeCash.text = (_local3.toString() + "cr"); winLosePanel.txtTotalCash.text = (player.cash.toString() + "cr"); adBoxMC = new adBoxClass(); adBoxMC.x = -94; adBoxMC.y = 53; if (!mainGlobal.noAds){ _local5 = "5970Q617074E6"; _local6 = new AdLoader(_local5); adBoxMC.addChild(_local6); }; winLosePanel.addChild(adBoxMC); }; if (player.life <= 0){ winLosePanel.panelTitle.text = "You Lose..."; winLosePanel.nextButt.visible = false; winLosePanel.repButt.visible = true; winLosePanel.tipLose.visible = true; } else { winLosePanel.panelTitle.text = "You Win!"; winLosePanel.nextButt.visible = true; winLosePanel.repButt.visible = false; winLosePanel.tipLose.visible = false; }; }; if (thisGamefield.moveScore){ infoMoveScore.text = ("blocks: " + thisGamefield.moveScore); } else { infoMoveScore.text = ""; }; if (winLosePanelOnScr){ winLosePanel.y = ageMath.Lerp(winLosePanel.y, (240 - (360 * 0.5)), 0.2); } else { winLosePanel.y = ageMath.Lerp(winLosePanel.y, 480, 0.2); }; } function upgNextButt_Click(_arg1:MouseEvent):void{ upgradePanel.moveToScr = false; fader50perc.startFadeOut(); startFadeOut(); gameActive = false; sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); var _local2:Boolean; if ((((enemy.curCompLevel == 15)) && ((player.curCompLevel == 16)))){ player.curCompLevel++; _local2 = true; }; player.createCookie(); if (_local2){ GameFrame(parent).menuWinner.startFadeIn(); ach.getAch("lev15"); if (player.picID == 16){ GameFrame(parent).menuWinner.plw1.visible = true; GameFrame(parent).menuWinner.plw2.visible = false; } else { GameFrame(parent).menuWinner.plw1.visible = false; GameFrame(parent).menuWinner.plw2.visible = true; }; } else { GameFrame(parent).menuChoose.startFadeIn(); }; } public function abHealthButt_Click(_arg1:MouseEvent):void{ if (((abHealthButt.enabled) && ((player.expa >= player.abArray[1].cost)))){ abMessagePlayer.startFadeIn(); abMessagePlayer.abName.text = "Health"; abMessagePlayer.abPic.gotoAndStop(2); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); addFxHealth(ageMath.Random((playerPic.x + 25), ((playerPic.x + playerPic.width) - 25)), ageMath.Random((playerPic.y + 25), ((playerPic.y + playerPic.width) - 25))); thisGamefield.PlayerApplyAbility = true; player.expa = (player.expa - player.abArray[1].cost); statAbHealth++; if (statAbHealth == 4){ ach.getAch("healthAb"); }; sndmap.PlaySnd("abHealth"); player.life = (player.life + player.upgParamHealth[player.abArray[1].upg_level]); }; } public function MouseMove(_arg1:MouseEvent):void{ gameMenu.mousePosX = _arg1.stageX; gameMenu.mousePosY = _arg1.stageY; mX = _arg1.stageX; mY = _arg1.stageY; } public function abBombButt_Click(_arg1:MouseEvent):void{ if (((abBombButt.enabled) && ((player.expa >= player.abArray[0].cost)))){ abMessagePlayer.startFadeIn(); abMessagePlayer.abName.text = "Bomb"; abMessagePlayer.abPic.gotoAndStop(1); addFxExplode((enemyPic.x + (enemyPic.width * 0.5)), (enemyPic.y + (enemyPic.width * 0.5))); thisGamefield.PlayerApplyAbility = true; player.expa = (player.expa - player.abArray[0].cost); sndmap.PlaySnd("abBomb"); if (enemy.isShield){ enemy.isShield = false; uiShield2.startFadeOut(); sndmap.PlaySnd("shieldBlocked"); return; }; enemy.life = (enemy.life - player.upgParamBomb[player.abArray[0].upg_level]); enemy.lifeShow = enemy.life; }; } } }//package main
Section 27
//gamefield (main.gamefield) package main { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.geom.*; public dynamic class gamefield extends MovieClip { var helpTimer:Timer; var curwidth:int;// = 0 var blocks:Array; var PlayerApplyAbility:Boolean;// = false var skipTurn:Boolean;// = false var bestList:Array; var maxList:Array; var numBlocksTypes:int;// = 6 var thisGame:game; var applyAITurn:Timer; var blocks_moved:Boolean;// = false var moveScore:Number;// = 0 var showBestPath:Array; var turn_tested:Boolean;// = false var startDragged:Boolean;// = false var blockPath:Array; var pathElem:Array; var iCurPicID:int;// = -1 var curPathID:int;// = 0 public var gfBG:MovieClip; var curheight:int;// = 0 var Player1Turn:Boolean;// = true var ismouseDown:Boolean;// = false public function gamefield(){ blocks = new Array(); super(); blockPath = new Array(); pathElem = new Array(); addEventListener(MouseEvent.MOUSE_DOWN, MouseDown); addEventListener(MouseEvent.MOUSE_UP, MouseUp); addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); addEventListener(MouseEvent.ROLL_OUT, UndoPath); addEventListener(Event.ENTER_FRAME, Update); parent.stage.addEventListener(KeyboardEvent.KEY_DOWN, key_down); applyAITurn = new Timer(3500, 1); applyAITurn.stop(); applyAITurn.addEventListener(TimerEvent.TIMER, applyAITurn_Timer); helpTimer = new Timer(8000, 1); helpTimer.stop(); helpTimer.addEventListener(TimerEvent.TIMER, helpTimer_Timer); } public function MouseUp(_arg1:MouseEvent):void{ if (((blocks_moved) || (!(startDragged)))){ return; }; moveScore = 0; ismouseDown = false; releaseBlocks(false); } function applyDoubleTurn():void{ thisGame.abMessageEnemy.startFadeIn(); thisGame.abMessageEnemy.abName.text = "Double Move"; thisGame.abMessageEnemy.abPic.gotoAndStop(3); thisGame.enemy.expa = (thisGame.enemy.expa - thisGame.enemy.abArray[2].cost); PlayerApplyAbility = true; thisGame.sndmap.PlaySnd("abRev"); thisGame.uiRev2.startFadeIn(); thisGame.uiRev2.fadeSpeed = 0.07; skipTurn = true; } public function MouseMove(_arg1:MouseEvent):void{ var _local2:*; var _local3:int; var _local4:int; var _local5:int; var _local6:Array; var _local7:block; var _local8:AIPoint; if (((!(Player1Turn)) || (blocks_moved))){ return; }; if (startDragged){ _local3 = -1; _local4 = 0; while (_local4 < curwidth) { _local5 = 0; while (_local5 < curheight) { if (blocks[_local4][_local5] != null){ if (((((_arg1.stageX - x) > blocks[_local4][_local5].x)) && (((_arg1.stageX - x) < (blocks[_local4][_local5].x + blocks[_local4][_local5].width))))){ if (((((_arg1.stageY - y) > blocks[_local4][_local5].y)) && (((_arg1.stageY - y) < (blocks[_local4][_local5].y + blocks[_local4][_local5].height))))){ _local2 = _local4; _local3 = _local5; }; }; }; _local5++; }; _local4++; }; if ((((_local2 == -1)) || ((_local3 == -1)))){ return; }; _local6 = new Array(); for each (_local7 in blockPath) { _local8 = new AIPoint(); _local8.x = Math.round((_local7.x / (_local7.width + 5))); _local8.y = Math.round((_local7.y / (_local7.height + 5))); _local6.push(_local8.clone()); }; if ((((((blocks[_local2][_local3].blockPic.currentFrame == iCurPicID)) && (!(InPath(blocks[_local2][_local3]))))) && (BlockAllowed(_local2, _local3, _local6)))){ blockPath.push(blocks[_local2][_local3]); addPathLine((blockPath[(blockPath.length - 2)].x + 30), (blockPath[(blockPath.length - 2)].y + 30), (blocks[_local2][_local3].x + 30), (blocks[_local2][_local3].y + 30)); addPathPoint((blocks[_local2][_local3].x + 30), (blocks[_local2][_local3].y + 30)); }; }; } public function addPathLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local6:pathLine; var _local5:* = Math.sqrt((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4)))); _local6 = new pathLine(); _local6.x = _arg1; _local6.y = _arg2; _local6.width = _local5; _local6.rotation = ((Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) / Math.PI) * 180); _local6.startFadeIn(); addChild(_local6); pathElem.push(_local6); } public function InPath(_arg1:block):Boolean{ var _local2:block; for each (_local2 in blockPath) { if (_local2 == _arg1){ return (true); }; }; return (false); } public function releaseAllPathElem():void{ var _local1:alphaFader; for each (_local1 in pathElem) { if (_local1.visible){ _local1.startFadeOut(); _local1.fadeSpeed = 0.1; _local1.fadeMaxLimit = 1; }; }; } public function init(_arg1:int, _arg2:int){ var _local3:int; var _local4:int; clearBoard(); curwidth = _arg1; curheight = _arg2; gfBG.x = -5; gfBG.y = -5; gfBG.width = ((_arg1 * (60 + 5)) + 5); gfBG.height = ((_arg2 * (60 + 5)) + 5); x = ((640 * 0.5) - (0.5 * ((_arg1 * (60 + 5)) + 5))); _local3 = 0; while (_local3 < _arg1) { _local4 = 0; while (_local4 < _arg2) { if (blocks[_local3] == null){ blocks[_local3] = new Array(_arg2); }; generateBlock(_local3, _local4); _local4++; }; _local3++; }; } public function key_down(_arg1:KeyboardEvent){ } function orderBestList(_arg1:Array, _arg2:Array):int{ if (_arg1.length < _arg2.length){ return (1); }; if (_arg1.length > _arg2.length){ return (-1); }; return (0); } public function generateBlock(_arg1:int, _arg2:int, _arg3:Boolean=false){ var _local4:block; var _local6:*; _local4 = new block(); _local4.x = ((_arg1 * (_local4.width + 5)) + 4); if (_arg3){ _local4.y = ((-1 * (_local4.height + 5)) - 5); } else { _local4.y = ((_arg2 * (_local4.height + 5)) - 5); }; var _local5:int = ageMath.RandomInt(1, numBlocksTypes); _local4.blockPic.gotoAndStop(_local5); _local4.extraBonus.gotoAndStop(1); if (!ageMath.RandomInt(0, ((thisGame.enemy.curCompLevel < 5)) ? 10 : 5)){ _local6 = ageMath.RandomInt(0, 1); if (_local6 == 0){ if ((((thisGame.enemy.curCompLevel >= 2)) && ((thisGame.enemy.curCompLevel <= 4)))){ _local4.extraBonus.gotoAndStop(2); } else { if ((((thisGame.enemy.curCompLevel >= 5)) && ((thisGame.enemy.curCompLevel <= 8)))){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(2, 3)); } else { if (thisGame.enemy.curCompLevel >= 9){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(2, 3)); }; }; }; } else { if (_local6 == 1){ if ((((thisGame.enemy.curCompLevel >= 2)) && ((thisGame.enemy.curCompLevel <= 4)))){ _local4.extraBonus.gotoAndStop(4); } else { if ((((thisGame.enemy.curCompLevel >= 5)) && ((thisGame.enemy.curCompLevel <= 8)))){ _local4.extraBonus.gotoAndStop(4); } else { if (thisGame.enemy.curCompLevel >= 9){ _local4.extraBonus.gotoAndStop(4); }; }; }; } else { if (_local6 == 2){ if ((((thisGame.enemy.curCompLevel >= 2)) && ((thisGame.enemy.curCompLevel <= 4)))){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(5, 5)); } else { if ((((thisGame.enemy.curCompLevel >= 5)) && ((thisGame.enemy.curCompLevel <= 6)))){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(5, 6)); } else { if (thisGame.enemy.curCompLevel >= 7){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(5, 7)); }; }; }; }; }; }; }; if (!ageMath.RandomInt(0, ((thisGame.enemy.curCompLevel < 5)) ? 10 : 7)){ _local6 = 2; if (_local6 == 2){ if ((((thisGame.enemy.curCompLevel >= 2)) && ((thisGame.enemy.curCompLevel <= 4)))){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(5, 5)); } else { if ((((thisGame.enemy.curCompLevel >= 5)) && ((thisGame.enemy.curCompLevel <= 6)))){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(5, 6)); } else { if (thisGame.enemy.curCompLevel >= 7){ _local4.extraBonus.gotoAndStop(ageMath.RandomInt(5, 7)); }; }; }; }; }; if (_arg3){ _local4.startFadeIn(); }; addChild(_local4); blocks[_arg1][_arg2] = _local4; } public function clearBoard(){ var _local1:Array; var _local2:Array; while (blocks.length) { for each (_local2 in blocks) { while (_local2.length) { removeChild(_local2.pop()); }; }; blocks.pop(); }; } public function notInLists(_arg1:int, _arg2:int, _arg3:Array):Boolean{ var _local4:AIPoint; for each (_local4 in _arg3) { if ((((_local4.x == _arg1)) && ((_local4.y == _arg2)))){ return (false); }; }; return (true); } function applyDrop():void{ thisGame.abMessageEnemy.startFadeIn(); thisGame.abMessageEnemy.abName.text = "Drop board"; thisGame.abMessageEnemy.abPic.gotoAndStop(5); thisGame.enemy.expa = (thisGame.enemy.expa - thisGame.enemy.abArray[4].cost); PlayerApplyAbility = true; thisGame.sndmap.PlaySnd("abDrop"); releaseAllPathElem(); drop(); numBlocksTypes = (6 - thisGame.enemy.upgParamDrop[thisGame.enemy.abArray[4].upg_level]); } function helpTimer_Timer(_arg1:TimerEvent):void{ var _local2:int; var _local3:int; var _local4:AIPoint; var _local5:Array; if ((((thisGame.player.life <= 0)) || ((thisGame.enemy.life <= 0)))){ return; }; if (bestList == null){ bestList = new Array(); }; while (bestList.length) { bestList.pop(); }; _local2 = 0; while (_local2 < curwidth) { _local3 = 0; while (_local3 < curheight) { if (blocks[_local2][_local3] != null){ _local5 = calcBestPathFrom(_local2, _local3, 15); trace((_local5.length + " ")); if (_local5.length >= 3){ bestList.push(cloneArrayPoints(_local5)); }; }; _local3++; }; _local2++; }; bestList.sort(orderBestList); showBestPath = bestList[(bestList.length - 1)]; for each (_local4 in showBestPath) { if (_local4 != null){ if ((((_local4.x == -1)) && ((_local4.y == -1)))){ break; }; if (((!((_local4.lx == -1))) && (!((_local4.ly == -1))))){ addPathLineHelp((blocks[_local4.lx][_local4.ly].x + 30), (blocks[_local4.lx][_local4.ly].y + 30), (blocks[_local4.x][_local4.y].x + 30), (blocks[_local4.x][_local4.y].y + 30)); }; addPathPointHelp((blocks[_local4.x][_local4.y].x + 30), (blocks[_local4.x][_local4.y].y + 30)); }; }; } public function addPathPointHelp(_arg1:Number, _arg2:Number):void{ var _local3:pathPoint; _local3 = new pathPoint(); _local3.x = _arg1; _local3.y = _arg2; _local3.startFadeIn(); _local3.fadeSpeed = 0.04; _local3.fadeMaxLimit = 0.5; addChild(_local3); pathElem.push(_local3); } public function lengthExist(_arg1:int):Boolean{ var _local2:int; _local2 = 0; while (_local2 < bestList.length) { trace(((("---> " + bestList[_local2].length) + "==") + _arg1)); if (bestList[_local2].length == _arg1){ return (true); }; _local2++; }; return (false); } function applyAbilites():Boolean{ var _local1:Boolean; _local1 = !(ageMath.RandomInt(0, 1)); if (thisGame.enemy.expa >= 20){ _local1 = true; }; if (thisGame.enemy.abArray[0].upg_level > 0){ if (((_local1) || ((thisGame.player.life <= 10)))){ if (thisGame.enemy.expa >= thisGame.enemy.abArray[0].cost){ applyBomb(); curPathID = 0; return (true); }; }; }; _local1 = !(ageMath.RandomInt(0, 1)); if (thisGame.enemy.expa >= 20){ _local1 = true; }; if (thisGame.enemy.abArray[1].upg_level > 0){ if (thisGame.enemy.life <= (thisGame.enemy.lifeMax - 5)){ if ((((thisGame.enemy.life <= (thisGame.enemy.lifeMax * 0.5))) || (_local1))){ if (thisGame.enemy.expa >= thisGame.enemy.abArray[1].cost){ applyHealth(); return (true); }; }; }; }; _local1 = !(ageMath.RandomInt(0, 1)); if (thisGame.enemy.expa >= 20){ _local1 = true; }; if (thisGame.enemy.abArray[2].upg_level > 0){ if (((_local1) && ((((bestList[0].length > 5)) || ((bestList[1].length > 4)))))){ if (thisGame.enemy.expa >= thisGame.enemy.abArray[2].cost){ applyDoubleTurn(); curPathID = 0; return (true); }; }; }; _local1 = !(ageMath.RandomInt(0, 1)); if (thisGame.enemy.expa >= 20){ _local1 = true; }; if (thisGame.enemy.abArray[3].upg_level > 0){ if (!thisGame.enemy.isShield){ if (((_local1) && ((((bestList[0].length > 5)) || ((bestList[1].length > 4)))))){ if (thisGame.enemy.expa >= thisGame.enemy.abArray[3].cost){ applyShield(); return (true); }; }; }; }; _local1 = !(ageMath.RandomInt(0, 1)); if (thisGame.enemy.expa >= 20){ _local1 = true; }; if (thisGame.enemy.abArray[4].upg_level > 0){ if (((_local1) && ((bestList[0].length <= 3)))){ if (thisGame.enemy.expa >= thisGame.enemy.abArray[4].cost){ applyDrop(); return (true); }; }; }; _local1 = !(ageMath.RandomInt(0, 1)); if (thisGame.enemy.expa >= 20){ _local1 = true; }; if ((((thisGame.enemy.abArray[5].upg_level > 0)) && ((thisGame.enemy.curCompLevel < 9)))){ if (((_local1) && ((bestList[0].length > bestList[curPathID].length)))){ if (thisGame.enemy.expa >= thisGame.enemy.abArray[5].cost){ applyView(); curPathID = 0; return (true); }; }; }; return (false); } public function nextNode(_arg1:AIPoint, _arg2:Array, _arg3:int, _arg4:int){ var _local6:AIPoint; var _local7:Array; var _local8:AIPoint; _arg2.push(_arg1); var _local5:Array = getChilds(_arg1, _arg2); for each (_local6 in _local5) { _local7 = new Array(); if (!BlockAllowed(_local6.x, _local6.y, _arg2)){ } else { for each (_local8 in _arg2) { _local7.push(_local8); }; nextNode(_local6, _local7, _arg3, _arg4); }; }; if (maxList.length < _arg2.length){ while (maxList.length) { maxList.pop(); }; for each (_local8 in _arg2) { maxList.push(_local8); }; }; } public function calcBestAIMove():void{ var _local1:int; var _local2:int; var _local5:Array; var _local6:int; var _local7:Array; var _local8:int; var _local9:Array; if (bestList == null){ bestList = new Array(); }; while (bestList.length) { bestList.pop(); }; _local1 = 0; while (_local1 < curwidth) { _local2 = 0; while (_local2 < curheight) { if (blocks[_local1][_local2] != null){ _local5 = calcBestPathFrom(_local1, _local2, 15); trace((_local5.length + " ")); if (_local5.length >= 3){ bestList.push(cloneArrayPoints(_local5)); }; }; _local2++; }; _local1++; }; if (bestList.length == 0){ drop(); thisGame.timerOpponentDelayTurn.delay = ageMath.RandomInt(500, 2000); thisGame.timerOpponentDelayTurn.start(); return; }; bestList.sort(orderBestList); var _local3:int = (bestList[0].length - thisGame.enemy.AI); if (_local3 < 3){ _local3 = 3; }; var _local4:int = ageMath.RandomInt(_local3, bestList[0].length); if ((((((thisGame.player.curCompLevel == 1)) && ((_local4 > 4)))) || (thisGame.player.isShield))){ _local4 = 3; }; if ((((thisGame.player.curCompLevel == 2)) && ((_local4 > 5)))){ _local4 = 3; }; curPathID = 0; trace(((((("AI choose: curLowWant=" + _local3) + " curCntWant=") + _local4) + " curMax=") + bestList[0].length)); if (!lengthExist(_local4)){ trace("not lengthExist"); while (true) { _local6 = ageMath.RandomInt(0, (bestList.length - 1)); if (bestList[_local6].length >= _local4){ curPathID = _local6; _local7 = new Array(_local4); _local8 = 0; _local9 = bestList[_local6]; _local8 = 0; while (_local8 < _local4) { _local7[_local8] = _local9[_local8]; _local8++; }; bestList[_local6] = _local7; break; }; }; trace("not lengthExist end"); } else { trace("yes lengthExist"); while (true) { _local6 = ageMath.RandomInt(0, (bestList.length - 1)); if (bestList[_local6].length == _local4){ curPathID = _local6; break; }; }; trace("yes lengthExist end"); }; if (thisGame.player.diffLevel == 0){ if (!ageMath.RandomInt(0, 2)){ curPathID = 0; }; } else { if ((((thisGame.player.diffLevel == 1)) && ((thisGame.player.curCompLevel > 2)))){ if (!ageMath.RandomInt(0, 1)){ curPathID = 0; }; } else { if (thisGame.player.diffLevel == 2){ if (!ageMath.RandomInt(0, 0)){ curPathID = 0; }; }; }; }; if (applyAbilites()){ applyAITurn.delay = 3000; } else { applyAITurn.delay = 1; }; applyAITurn.start(); } function applyAITurn_Timer(_arg1:TimerEvent):void{ var _local2:AIPoint; var _local3:AIPoint; applyAITurn.stop(); for each (_local2 in bestList[curPathID]) { if (_local2 != null){ if ((((_local2.x == -1)) && ((_local2.y == -1)))){ break; }; if (((!((_local2.lx == -1))) && (!((_local2.ly == -1))))){ addPathLine((blocks[_local2.lx][_local2.ly].x + 30), (blocks[_local2.lx][_local2.ly].y + 30), (blocks[_local2.x][_local2.y].x + 30), (blocks[_local2.x][_local2.y].y + 30)); }; addPathPoint((blocks[_local2.x][_local2.y].x + 30), (blocks[_local2.x][_local2.y].y + 30)); }; }; while (blockPath.length > 0) { blockPath.pop(); }; for each (_local3 in bestList[curPathID]) { blockPath.push(blocks[_local3.x][_local3.y]); }; releaseBlocks(true); } public function pointInBlock(_arg1:block, _arg2:Number, _arg3:Number):Boolean{ if ((((_arg2 >= _arg1.x)) && ((_arg2 <= (_arg1.x + _arg1.width))))){ if ((((_arg3 >= _arg1.y)) && ((_arg3 <= (_arg1.y + _arg1.height))))){ return (true); }; }; return (false); } public function MouseDown(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; if (((((ismouseDown) || (!(Player1Turn)))) || (blocks_moved))){ return; }; ismouseDown = true; var _local4:Boolean; _local2 = 0; while (_local2 < curwidth) { _local3 = 0; while (_local3 < curheight) { if (blocks[_local2][_local3] != null){ if (((((_arg1.stageX - x) > blocks[_local2][_local3].x)) && (((_arg1.stageX - x) < (blocks[_local2][_local3].x + blocks[_local2][_local3].width))))){ if (((((_arg1.stageY - y) > blocks[_local2][_local3].y)) && (((_arg1.stageY - y) < (blocks[_local2][_local3].y + blocks[_local2][_local3].height))))){ blockPath.push(blocks[_local2][_local3]); iCurPicID = blocks[_local2][_local3].blockPic.currentFrame; addPathPoint((blocks[_local2][_local3].x + 30), (blocks[_local2][_local3].y + 30)); startDragged = true; _local4 = true; }; }; }; _local3++; }; _local2++; }; if (!_local4){ ismouseDown = false; }; } public function UndoPath(_arg1:MouseEvent):void{ var _local2:alphaFader; if (((blocks_moved) || (!(startDragged)))){ return; }; moveScore = 0; ismouseDown = false; startDragged = false; for each (_local2 in pathElem) { if (((_local2.visible) && ((_local2.fadeSpeed > 0.099)))){ _local2.startFadeOut(); }; }; while (blockPath.length > 0) { blockPath.pop(); }; } public function addPathPoint(_arg1:Number, _arg2:Number):void{ var _local3:pathPointPlayer; var _local4:pathPointEnemy; if (Player1Turn){ _local3 = new pathPointPlayer(); _local3.x = _arg1; _local3.y = _arg2; _local3.startFadeIn(); addChild(_local3); pathElem.push(_local3); moveScore++; } else { _local4 = new pathPointEnemy(); _local4.x = _arg1; _local4.y = _arg2; _local4.startFadeIn(); addChild(_local4); pathElem.push(_local4); }; } public function getChilds(_arg1:AIPoint, _arg2:Array):Array{ var _local3:Array; var _local4:*; var _local5:int; var _local6:*; _local3 = new Array(); _local4 = _arg1.x; _local5 = _arg1.y; if ((((((((_local4 > 0)) && ((_local5 > 0)))) && (!((blocks[(_local4 - 1)][(_local5 - 1)] == null))))) && ((blocks[(_local4 - 1)][(_local5 - 1)].blockPic.currentFrame == _arg1.picID)))){ if (notInLists((_local4 - 1), (_local5 - 1), _arg2)){ _local6 = new AIPoint(); _local6.x = (_local4 - 1); _local6.y = (_local5 - 1); _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((_local5 > 0)) && (!((blocks[_local4][(_local5 - 1)] == null))))) && ((blocks[_local4][(_local5 - 1)].blockPic.currentFrame == _arg1.picID)))){ if (notInLists(_local4, (_local5 - 1), _arg2)){ _local6 = new AIPoint(); _local6.x = _local4; _local6.y = (_local5 - 1); _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((((_local4 < (curwidth - 1))) && ((_local5 > 0)))) && (!((blocks[(_local4 + 1)][(_local5 - 1)] == null))))) && ((blocks[(_local4 + 1)][(_local5 - 1)].blockPic.currentFrame == _arg1.picID)))){ if (notInLists((_local4 + 1), (_local5 - 1), _arg2)){ _local6 = new AIPoint(); _local6.x = (_local4 + 1); _local6.y = (_local5 - 1); _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((_local4 > 0)) && (!((blocks[(_local4 - 1)][_local5] == null))))) && ((blocks[(_local4 - 1)][_local5].blockPic.currentFrame == _arg1.picID)))){ if (notInLists((_local4 - 1), _local5, _arg2)){ _local6 = new AIPoint(); _local6.x = (_local4 - 1); _local6.y = _local5; _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((_local4 < (curwidth - 1))) && (!((blocks[(_local4 + 1)][_local5] == null))))) && ((blocks[(_local4 + 1)][_local5].blockPic.currentFrame == _arg1.picID)))){ if (notInLists((_local4 + 1), _local5, _arg2)){ _local6 = new AIPoint(); _local6.x = (_local4 + 1); _local6.y = _local5; _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((((_local4 > 0)) && ((_local5 < (curheight - 1))))) && (!((blocks[(_local4 - 1)][(_local5 + 1)] == null))))) && ((blocks[(_local4 - 1)][(_local5 + 1)].blockPic.currentFrame == _arg1.picID)))){ if (notInLists((_local4 - 1), (_local5 + 1), _arg2)){ _local6 = new AIPoint(); _local6.x = (_local4 - 1); _local6.y = (_local5 + 1); _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((_local5 < (curheight - 1))) && (!((blocks[_local4][(_local5 + 1)] == null))))) && ((blocks[_local4][(_local5 + 1)].blockPic.currentFrame == _arg1.picID)))){ if (notInLists(_local4, (_local5 + 1), _arg2)){ _local6 = new AIPoint(); _local6.x = _local4; _local6.y = (_local5 + 1); _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; if ((((((((_local4 < (curwidth - 1))) && ((_local5 < (curheight - 1))))) && (!((blocks[(_local4 + 1)][(_local5 + 1)] == null))))) && ((blocks[(_local4 + 1)][(_local5 + 1)].blockPic.currentFrame == _arg1.picID)))){ if (notInLists((_local4 + 1), (_local5 + 1), _arg2)){ _local6 = new AIPoint(); _local6.x = (_local4 + 1); _local6.y = (_local5 + 1); _local6.lx = _local4; _local6.ly = _local5; _local6.cost = (_arg1.cost + 1); _local6.picID = _arg1.picID; _local3.push(_local6); }; }; return (_local3); } public function addPathLineHelp(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local6:pathLine; var _local5:* = Math.sqrt((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4)))); _local6 = new pathLine(); _local6.x = _arg1; _local6.y = _arg2; _local6.width = _local5; _local6.rotation = ((Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) / Math.PI) * 180); _local6.startFadeIn(); _local6.fadeSpeed = 0.04; _local6.fadeMaxLimit = 0.5; addChild(_local6); pathElem.push(_local6); } function applyBomb():void{ thisGame.abMessageEnemy.startFadeIn(); thisGame.abMessageEnemy.abName.text = "Bomb"; thisGame.abMessageEnemy.abPic.gotoAndStop(1); thisGame.enemy.expa = (thisGame.enemy.expa - thisGame.enemy.abArray[0].cost); PlayerApplyAbility = true; thisGame.addFxExplode((thisGame.playerPic.x + (thisGame.playerPic.width * 0.5)), (thisGame.playerPic.y + (thisGame.playerPic.width * 0.5))); thisGame.sndmap.PlaySnd("abBomb"); if (thisGame.player.isShield){ thisGame.sndmap.PlaySnd("shieldBlocked"); thisGame.player.isShield = false; thisGame.uiShield.startFadeOut(); return; }; thisGame.player.life = (thisGame.player.life - thisGame.enemy.upgParamBomb[thisGame.enemy.abArray[0].upg_level]); thisGame.player.lifeShow = thisGame.player.life; } public function calcBestPathFrom(_arg1:int, _arg2:int, _arg3:int):Array{ var _local6:Array; var _local4:* = blocks[_arg1][_arg2].blockPic.currentFrame; var _local5:* = new AIPoint(); _local5.x = _arg1; _local5.y = _arg2; _local5.lx = -1; _local5.ly = -1; _local5.cost = 1; _local5.picID = _local4; _local6 = new Array(); if (maxList == null){ maxList = new Array(); }; while (maxList.length) { maxList.pop(); }; nextNode(_local5, _local6, 0, 0); return (maxList); } public function removeBlock(_arg1:block):void{ var _local2:int; var _local3:int; _local2 = 0; while (_local2 < curwidth) { _local3 = 0; while (_local3 < curheight) { if (blocks[_local2][_local3] != null){ if (blocks[_local2][_local3] == _arg1){ blocks[_local2].splice(_local3, 1, null); removeChild(_arg1); return; }; }; _local3++; }; _local2++; }; } function applyHealth():void{ thisGame.abMessageEnemy.startFadeIn(); thisGame.abMessageEnemy.abName.text = "Health"; thisGame.abMessageEnemy.abPic.gotoAndStop(2); thisGame.enemy.expa = (thisGame.enemy.expa - thisGame.enemy.abArray[1].cost); PlayerApplyAbility = true; thisGame.sndmap.PlaySnd("abHealth"); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.addFxHealth(ageMath.Random((thisGame.enemyPic.x + 25), ((thisGame.enemyPic.x + thisGame.enemyPic.width) - 25)), ageMath.Random((thisGame.enemyPic.y + 25), ((thisGame.enemyPic.y + thisGame.enemyPic.width) - 25))); thisGame.enemy.life = (thisGame.enemy.life + thisGame.enemy.upgParamHealth[thisGame.enemy.abArray[1].upg_level]); } public function canCreate(_arg1:int, _arg2:int):Boolean{ var _local3:int; var _local4:int; var _local5:Number = (_arg1 * (60 + 5)); var _local6:Number = (_arg2 * (60 + 5)); _local3 = 0; while (_local3 < curwidth) { _local4 = 0; while (_local4 < curheight) { if (blocks[_local3][_local4] != null){ if (((((((pointInBlock(blocks[_local3][_local4], _local5, _local6)) || (pointInBlock(blocks[_local3][_local4], (_local5 + 60), _local6)))) || (pointInBlock(blocks[_local3][_local4], _local5, (_local6 + 60))))) || (pointInBlock(blocks[_local3][_local4], (_local5 + 60), (_local6 + 60))))){ return (false); }; }; _local4++; }; _local3++; }; return (true); } public function Update(_arg1:Event):void{ var _local2:int; var _local3:int; var _local4:alphaFader; _local2 = 0; while (_local2 < curwidth) { _local3 = 0; while (_local3 < curheight) { if (blocks[_local2][_local3] != null){ if (blocks[_local2][_local3].visible == false){ removeBlock(blocks[_local2][_local3]); }; }; _local3++; }; _local2++; }; for each (_local4 in pathElem) { if (_local4.visible == false){ removePathElem(_local4); }; }; _local2 = 0; while (_local2 < curwidth) { _local3 = (curheight - 2); while (_local3 >= 0) { if (blocks[_local2][_local3] != null){ if (blocks[_local2][(_local3 + 1)] == null){ blocks[_local2][(_local3 + 1)] = blocks[_local2][_local3]; blocks[_local2][_local3] = null; }; }; _local3--; }; _local2++; }; blocks_moved = false; _local2 = 0; while (_local2 < curwidth) { _local3 = 0; while (_local3 < curheight) { if (blocks[_local2][_local3] != null){ if ((((blocks[_local2][_local3].alpha < 1)) || (blocks[_local2][_local3].fadingout))){ blocks_moved = true; }; if (blocks[_local2][_local3].y < (_local3 * (60 + 5))){ blocks[_local2][_local3].y = (blocks[_local2][_local3].y + 10); blocks_moved = true; if (blocks[_local2][_local3].y >= (_local3 * (60 + 5))){ thisGame.sndmap.PlaySnd(("toyBlock0" + ageMath.RandomInt(1, 5))); }; } else { blocks[_local2][_local3].y = (_local3 * (60 + 5)); }; }; _local3++; }; _local2++; }; _local2 = 0; while (_local2 < curwidth) { if (blocks[_local2][0] == null){ blocks_moved = true; if (canCreate(_local2, -1)){ generateBlock(_local2, 0, true); }; }; _local2++; }; if (!blocks_moved){ numBlocksTypes = 6; }; } public function showBestMove():void{ var _local1:int; var _local2:int; var _local3:AIPoint; var _local4:Array; if (bestList == null){ bestList = new Array(); }; while (bestList.length) { bestList.pop(); }; _local1 = 0; while (_local1 < curwidth) { _local2 = 0; while (_local2 < curheight) { if (blocks[_local1][_local2] != null){ _local4 = calcBestPathFrom(_local1, _local2, 15); trace((_local4.length + " ")); if (_local4.length >= 3){ bestList.push(cloneArrayPoints(_local4)); }; }; _local2++; }; _local1++; }; bestList.sort(orderBestList); showBestPath = bestList[0]; for each (_local3 in showBestPath) { if (_local3 != null){ if ((((_local3.x == -1)) && ((_local3.y == -1)))){ break; }; if (((!((_local3.lx == -1))) && (!((_local3.ly == -1))))){ addPathLineHelp((blocks[_local3.lx][_local3.ly].x + 30), (blocks[_local3.lx][_local3.ly].y + 30), (blocks[_local3.x][_local3.y].x + 30), (blocks[_local3.x][_local3.y].y + 30)); }; addPathPointHelp((blocks[_local3.x][_local3.y].x + 30), (blocks[_local3.x][_local3.y].y + 30)); }; }; } public function drop():void{ var _local1:int; var _local2:int; releaseAllPathElem(); if (Player1Turn){ helpTimer.start(); }; _local1 = 0; while (_local1 < curwidth) { _local2 = 0; while (_local2 < curheight) { if (blocks[_local1][_local2] != null){ blocks[_local1][_local2].startFadeOut(); }; _local2++; }; _local1++; }; } function applyShield():void{ thisGame.abMessageEnemy.startFadeIn(); thisGame.abMessageEnemy.abName.text = "Shield"; thisGame.abMessageEnemy.abPic.gotoAndStop(6); thisGame.enemy.expa = (thisGame.enemy.expa - thisGame.enemy.abArray[3].cost); PlayerApplyAbility = true; thisGame.sndmap.PlaySnd("abShield"); thisGame.uiShield2.startFadeIn(); thisGame.uiShield2.fadeSpeed = 0.07; thisGame.enemy.isShield = true; } public function removePathElem(_arg1:alphaFader):void{ var _local2:Number; _local2 = 0; while (_local2 < pathElem.length) { if (pathElem[_local2] == _arg1){ pathElem.splice(_local2, 1); break; }; _local2++; }; removeChild(_arg1); } function applyView():void{ thisGame.abMessageEnemy.startFadeIn(); thisGame.abMessageEnemy.abName.text = "View"; thisGame.abMessageEnemy.abPic.gotoAndStop(4); thisGame.enemy.expa = (thisGame.enemy.expa - thisGame.enemy.abArray[5].cost); PlayerApplyAbility = true; thisGame.sndmap.PlaySnd("abView"); releaseAllPathElem(); showBestMove(); } public function BlockAllowed(_arg1:int, _arg2:int, _arg3:Array):Boolean{ var _local4:AIPoint; if (!(((Math.abs((_arg3[(_arg3.length - 1)].x - _arg1)) < 1.01)) && ((Math.abs((_arg3[(_arg3.length - 1)].y - _arg2)) < 1.01)))){ return (false); }; var _local5:int; _local5 = (_arg3.length - 2); while (_local5 > 0) { if (ageMath.IsLinesCross(_arg1, _arg2, _arg3[(_arg3.length - 1)].x, _arg3[(_arg3.length - 1)].y, _arg3[_local5].x, _arg3[_local5].y, _arg3[(_local5 - 1)].x, _arg3[(_local5 - 1)].y)){ return (false); }; _local5--; }; return (true); } public function releaseBlocks(_arg1:Boolean):void{ var _local2:alphaFader; var _local3:MouseEvent; var _local4:int; var _local5:Boolean; if (((!(Player1Turn)) && (!(_arg1)))){ return; }; if (blockPath.length < 3){ UndoPath(_local3); return; }; blocks_moved = true; startDragged = false; iCurPicID = -1; releaseAllPathElem(); if (Player1Turn){ if (blockPath.length >= 8){ ach.getAch("Damage"); }; if (thisGame.enemy.isShield){ thisGame.enemy.isShield = false; thisGame.uiShield2.startFadeOut(); thisGame.sndmap.PlaySnd("shieldBlocked"); thisGame.player.life = (thisGame.player.life - Math.round((blockPath.length * thisGame.enemy.upgParamShield[thisGame.enemy.abArray[3].upg_level]))); } else { _local5 = false; _local4 = 0; while (_local4 < blockPath.length) { if (!Math.round(ageMath.Random(0, thisGame.enemy.upgParamLuck[thisGame.enemy.upg_level_luck]))){ _local5 = true; thisGame.addFxLuck(false); } else { thisGame.enemy.life--; }; _local4++; }; if (_local5){ thisGame.sndmap.PlaySnd("Lucked"); }; if (blockPath.length > 3){ thisGame.player.expa = (thisGame.player.expa + blockPath.length); }; }; if ((((blockPath.length >= 6)) || ((thisGame.enemy.life <= 0)))){ thisGame.sndmap.PlaySnd(((thisGame.enemy.picID + "_bad_") + ageMath.RandomInt(1, 2))); }; } else { if (thisGame.player.isShield){ thisGame.player.isShield = false; thisGame.uiShield.startFadeOut(); thisGame.sndmap.PlaySnd("shieldBlocked"); trace(("damage=" + thisGame.player.abArray[3].upg_level)); thisGame.enemy.life = (thisGame.enemy.life - Math.round((blockPath.length * thisGame.player.upgParamShield[thisGame.player.abArray[3].upg_level]))); } else { _local5 = false; _local4 = 0; while (_local4 < blockPath.length) { if (!Math.round(ageMath.Random(0, thisGame.player.upgParamLuck[thisGame.player.upg_level_luck]))){ thisGame.addFxLuck(true); _local5 = true; } else { thisGame.player.life--; }; _local4++; }; if (_local5){ thisGame.sndmap.PlaySnd("Lucked"); }; if (blockPath.length > 3){ thisGame.enemy.expa = (thisGame.enemy.expa + blockPath.length); }; }; if (blockPath.length >= 6){ thisGame.sndmap.PlaySnd(((thisGame.enemy.picID + "_good_") + ageMath.RandomInt(1, 2))); }; }; for each (_local2 in blockPath) { if (_local2.visible){ _local2.startFadeOut(); if (_local2.extraBonus.currentFrame > 1){ if (_local2.extraBonus.currentFrame == 2){ if (Player1Turn){ thisGame.player.expa = (thisGame.player.expa + 1); } else { thisGame.enemy.expa = (thisGame.enemy.expa + 1); }; }; if (_local2.extraBonus.currentFrame == 3){ if (Player1Turn){ thisGame.player.expa = (thisGame.player.expa + 2); } else { thisGame.enemy.expa = (thisGame.enemy.expa + 2); }; }; if (_local2.extraBonus.currentFrame == 4){ if (Player1Turn){ if (thisGame.player.life < thisGame.player.lifeMax){ thisGame.player.life = (thisGame.player.life + 3); }; } else { if (thisGame.enemy.life < thisGame.enemy.lifeMax){ thisGame.enemy.life = (thisGame.enemy.life + 3); }; }; }; if (_local2.extraBonus.currentFrame == 5){ if (Player1Turn){ thisGame.player.lev_cash = (thisGame.player.lev_cash + 2); }; }; if (_local2.extraBonus.currentFrame == 6){ if (Player1Turn){ thisGame.player.lev_cash = (thisGame.player.lev_cash + 3); }; }; if (_local2.extraBonus.currentFrame == 7){ if (Player1Turn){ thisGame.player.lev_cash = (thisGame.player.lev_cash + 5); }; }; }; }; }; PlayerApplyAbility = false; thisGame.player.total_turns++; if (skipTurn){ if (Player1Turn){ thisGame.uiRev.startFadeOut(); thisGame.uiRev.zoomedIn = false; thisGame.player.player_turns++; thisGame.enemy.expa = (thisGame.enemy.expa - Math.round((thisGame.enemy.expa * thisGame.player.upgParamDoubleTurn[thisGame.player.abArray[2].upg_level]))); if (thisGame.enemy.expa < 0){ thisGame.enemy.expa = 0; }; } else { thisGame.uiRev2.startFadeOut(); thisGame.uiRev2.zoomedIn = false; thisGame.player.expa = (thisGame.player.expa - Math.round((thisGame.player.expa * thisGame.enemy.upgParamDoubleTurn[thisGame.enemy.abArray[2].upg_level]))); if (thisGame.player.expa < 0){ thisGame.player.expa = 0; }; }; skipTurn = false; } else { if (Player1Turn){ thisGame.player.player_turns++; }; Player1Turn = !(Player1Turn); }; if (Player1Turn){ if (thisGame.player.max_chain < blockPath.length){ thisGame.player.max_chain = blockPath.length; }; thisGame.player.av_chain = (thisGame.player.av_chain + blockPath.length); }; while (blockPath.length > 0) { blockPath.pop(); }; if (Player1Turn){ helpTimer.start(); } else { helpTimer.stop(); }; turn_tested = false; } function calcCanMakeTurn():Boolean{ var _local1:int; var _local2:int; var _local3:Array; _local1 = 0; while (_local1 < curwidth) { _local2 = 0; while (_local2 < curheight) { if (blocks[_local1][_local2] != null){ _local3 = calcBestPathFrom(_local1, _local2, 15); if (_local3.length >= 3){ return (true); }; }; _local2++; }; _local1++; }; return (false); } function cloneArrayPoints(_arg1:Array):Array{ var _local2:AIPoint; var _local3:Array = new Array(); for each (_local2 in _arg1) { _local3.push(_local2.clone()); }; return (_local3); } } }//package main
Section 28
//GameFrame (main.GameFrame) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class GameFrame extends MovieClip { public var menuChooseChar:menuChooseChar; public var menuWinner:menuWinner; public var menuChoose:menuChoose; public var tip:hlpTip; public var menuMain:menuMain; public var menuCredits:menuMainCredits; public var inGame:game; public function GameFrame(){ addFrameScript(0, frame1); } public function buttWinBack_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuChoose.startFadeIn(); menuMain.updateContButt(); menuWinner.startFadeOut(); } public function buttExit_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuChoose.startFadeIn(); musicEnv.fadeTo("musMenu"); } public function buttMoreGames_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); ach.getAch("sponsor"); mainGlobal.toUrl("moreGames", "http://onlinegamer.cc/cat/6/Puzzle/newest-1.html"); } public function click_myLogoCred2(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.anegmetex.com"), "_blank"); } public function buttHard_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuChoose.startFadeIn(); menuChooseChar.startFadeOut(); menuChooseChar.moveDiffToScr = false; menuChooseChar.fader50perc.startFadeOut(); inGame.player.init(); inGame.player.createCookie((14 + menuChooseChar.moveID), 2, 0, 0); inGame.player.loadCookie(); } public function buttNewGame_Click(_arg1:MouseEvent):void{ menuMain.startFadeOut(); menuChooseChar.startFadeIn(); inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } public function buttBack_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuMain.startFadeIn(); menuMain.updateContButt(); menuChoose.startFadeOut(); } public function buttContinue_Click(_arg1:MouseEvent):void{ if (!menuMain.buttContinue.enabled){ return; }; inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); inGame.player.loadCookie(); menuChoose.startFadeIn(); menuMain.startFadeOut(); } public function buttNorm_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuChoose.startFadeIn(); menuChooseChar.startFadeOut(); menuChooseChar.moveDiffToScr = false; menuChooseChar.fader50perc.startFadeOut(); inGame.player.init(); inGame.player.createCookie((14 + menuChooseChar.moveID), 1, 0, 0); inGame.player.loadCookie(); } public function buttAch_Click(_arg1:MouseEvent):void{ menuChoose.achPanel.moveToScr = true; menuChoose.fader50perc.startFadeIn(); menuChoose.achPanel.init(); inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } public function buttCredits_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuCredits.startFadeIn(); } public function buttEasy_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuChoose.startFadeIn(); menuChooseChar.startFadeOut(); menuChooseChar.moveDiffToScr = false; menuChooseChar.fader50perc.startFadeOut(); inGame.player.init(); inGame.player.createCookie((14 + menuChooseChar.moveID), 0, 0, 0); inGame.player.loadCookie(); } public function click_buttCredBack(_arg1:MouseEvent){ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuCredits.startFadeOut(); } function frame1(){ menuChoose.visible = false; menuChooseChar.visible = false; inGame.visible = false; menuWinner.visible = false; menuCredits.visible = false; menuChoose.thisgame = inGame; menuChooseChar.thisgame = inGame; menuChoose.upgradePanel.thisgame = inGame; inGame.upgradePanel.thisgame = inGame; menuMain.thisgame = inGame; addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); menuMain.myCR.buttonMode = true; menuMain.myCR.mouseChildren = false; menuMain.myCR.addEventListener(MouseEvent.CLICK, clickCR); menuMain.spLogo.buttonMode = true; menuMain.spLogo.addEventListener(MouseEvent.CLICK, click_spLogo); menuCredits.myLogoCred.buttonMode = true; menuCredits.myLogoCred.addEventListener(MouseEvent.CLICK, click_myLogoCred); menuCredits.myLogoCred2.buttonMode = true; menuCredits.myLogoCred2.addEventListener(MouseEvent.CLICK, click_myLogoCred2); menuCredits.buttCredBack.addEventListener(MouseEvent.CLICK, click_buttCredBack); menuWinner.buttWinBack.addEventListener(MouseEvent.CLICK, buttWinBack_Click); menuChooseChar.buttBack.addEventListener(MouseEvent.CLICK, buttCharBack_Click); menuChooseChar.menuDiff.diffEasy.addEventListener(MouseEvent.CLICK, buttEasy_Click); menuChooseChar.menuDiff.diffNorm.addEventListener(MouseEvent.CLICK, buttNorm_Click); menuChooseChar.menuDiff.diffHard.addEventListener(MouseEvent.CLICK, buttHard_Click); menuChoose.buttBack.addEventListener(MouseEvent.CLICK, buttBack_Click); menuChoose.buttUpgrade.addEventListener(MouseEvent.CLICK, buttUpgrade_Click); menuChoose.upgradePanel.buttClose.addEventListener(MouseEvent.CLICK, buttUpgradeClose_Click); menuChoose.buttAch.addEventListener(MouseEvent.CLICK, buttAch_Click); menuChoose.achPanel.buttClose.addEventListener(MouseEvent.CLICK, buttAchClose_Click); menuMain.buttNewGame.addEventListener(MouseEvent.CLICK, buttNewGame_Click); menuMain.buttContinue.addEventListener(MouseEvent.CLICK, buttContinue_Click); menuMain.buttCredits.addEventListener(MouseEvent.CLICK, buttCredits_Click); menuMain.buttMoreGames.addEventListener(MouseEvent.CLICK, buttMoreGames_Click); inGame.gameMenu.buttExit.addEventListener(MouseEvent.CLICK, buttExit_Click); } public function buttUpgrade_Click(_arg1:MouseEvent):void{ menuChoose.upgradePanel.moveToScr = true; menuChoose.fader50perc.startFadeIn(); menuChoose.upgradePanel.init(inGame.player); inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } public function buttAchClose_Click(_arg1:MouseEvent):void{ menuChoose.achPanel.moveToScr = false; menuChoose.fader50perc.startFadeOut(); inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } public function MouseMove(_arg1:MouseEvent):void{ tip.mousePosX = _arg1.stageX; tip.mousePosY = _arg1.stageY; } public function clickCR(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.anegmetex.com"), "_blank"); } public function buttCharBack_Click(_arg1:MouseEvent):void{ inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); menuMain.startFadeIn(); menuMain.updateContButt(); menuChooseChar.startFadeOut(); } public function buttUpgradeClose_Click(_arg1:MouseEvent):void{ menuChoose.upgradePanel.moveToScr = false; menuChoose.fader50perc.startFadeOut(); inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); inGame.player.createCookie(); } public function click_myLogoCred(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.anegmetex.com"), "_blank"); } public function click_spLogo(_arg1:MouseEvent){ ach.getAch("sponsor"); mainGlobal.toUrl("inMenuLogo"); } } }//package main
Section 29
//gameMenu (main.gameMenu) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.geom.*; import fl.motion.*; public class gameMenu extends MovieClip { public var musOnOff:TextField; var mousePosX:int; public var buttExit:SimpleButton; public var buttMusic:SimpleButton; var mousePosY:int; public var sndOnOff:TextField; public var buttQuality:SimpleButton; public var thisGame:game; public var quaTxt:TextField; public var buttSound:SimpleButton; public function gameMenu(){ addFrameScript(0, frame1); addEventListener(Event.ENTER_FRAME, Update); } public function buttQuality_Click(_arg1:MouseEvent):void{ if (quaTxt.text == "LOW"){ stage.quality = "medium"; quaTxt.text = "GOOD"; } else { if (quaTxt.text == "GOOD"){ stage.quality = "high"; quaTxt.text = "BEST"; } else { stage.quality = "low"; quaTxt.text = "LOW"; }; }; thisGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } public function buttSound_Click(_arg1:MouseEvent):void{ if (sndOnOff.text == "OFF"){ sndOnOff.text = "ON"; thisGame.sndmap.vol = 0.9; } else { sndOnOff.text = "OFF"; thisGame.sndmap.vol = 0; }; thisGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } public function Update(_arg1:Event):void{ if ((((((((((((MovieClip(parent).fader50perc.visible == false)) && ((MovieClip(parent).helpFrame.visible == false)))) && ((mousePosX >= 0)))) && ((mousePosX <= 149)))) && ((mousePosY >= (y - 20))))) && ((mousePosY <= (y + height))))){ if (y >= 457){ thisGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); }; y = ageMath.Lerp(y, 327, 0.2); } else { y = ageMath.Lerp(y, 458, 0.2); }; } function frame1(){ buttMusic.addEventListener(MouseEvent.CLICK, buttMusic_Click); buttSound.addEventListener(MouseEvent.CLICK, buttSound_Click); buttQuality.addEventListener(MouseEvent.CLICK, buttQuality_Click); } public function buttMusic_Click(_arg1:MouseEvent):void{ if (musOnOff.text == "OFF"){ musOnOff.text = "ON"; mainGlobal.PlayMusic(); } else { musOnOff.text = "OFF"; mainGlobal.PauseMusic(); }; thisGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); } } }//package main
Section 30
//helpFrame (main.helpFrame) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class helpFrame extends alphaFader { public function helpFrame(){ addFrameScript(0, frame1); } function frame1(){ this.minInfoLimit = 1; this.maxInfoLimit = 6; hlpNext.addEventListener(MouseEvent.CLICK, hlpNext_Click); hlpPrev.addEventListener(MouseEvent.CLICK, hlpPrev_Click); hlpClose.addEventListener(MouseEvent.CLICK, hlpClose_Click); dontShow.buttonMode = true; dontShow.addEventListener(MouseEvent.CLICK, dontShow_Click); addEventListener(Event.ENTER_FRAME, Update); } public function hlpClose_Click(_arg1:MouseEvent):void{ game(parent).sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); startFadeOut(); } public function dontShow_Click(_arg1:MouseEvent):void{ if (dontShow.currentFrame == 1){ dontShow.gotoAndStop(2); game(parent).player.saveCookieDontShowHelp(true); } else { dontShow.gotoAndStop(1); game(parent).player.saveCookieDontShowHelp(false); }; } public function hlpNext_Click(_arg1:MouseEvent):void{ if (!hlpNext.enabled){ return; }; game(parent).sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); inf.gotoAndStop((inf.currentFrame + 1)); } public function Update(_arg1:Event):void{ txtPage.text = ((inf.currentFrame.toString() + "/") + this.maxInfoLimit); var _local2:ColorMatrix = new ColorMatrix(); var _local3:ColorMatrix = new ColorMatrix(); _local3.adjustBrightness(0); _local2.adjustBrightness(-100); var _local4:Array = hlpPrev.filters; if (inf.currentFrame == this.minInfoLimit){ _local4[0] = new ColorMatrixFilter(_local2.matrix); hlpPrev.enabled = false; } else { _local4[0] = new ColorMatrixFilter(_local3.matrix); hlpPrev.enabled = true; }; hlpPrev.filters = _local4; _local4 = hlpNext.filters; if (inf.currentFrame == this.maxInfoLimit){ _local4[0] = new ColorMatrixFilter(_local2.matrix); hlpNext.enabled = false; } else { _local4[0] = new ColorMatrixFilter(_local3.matrix); hlpNext.enabled = true; }; hlpNext.filters = _local4; } public function hlpPrev_Click(_arg1:MouseEvent):void{ if (!hlpPrev.enabled){ return; }; game(parent).sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); inf.gotoAndStop((inf.currentFrame - 1)); } } }//package main
Section 31
//hlpTip (main.hlpTip) package main { import flash.events.*; import flash.display.*; import flash.text.*; public class hlpTip extends alphaFader { var isStartFadeIn:Boolean;// = false public var bg:MovieClip; var mousePosX:int; var mousePosY:int; public var tipInfo:TextField; public var manaInfo:TextField; var isStartFadeOut:Boolean;// = false public var tipTitle:TextField; public function hlpTip(){ addFrameScript(0, frame1); mouseEnabled = false; mouseChildren = false; addEventListener(Event.ENTER_FRAME, Update); fadeSpeed = 0.2; } public function setTxtToAbility(_arg1:int, _arg2:int, _arg3:Boolean=true, _arg4:Boolean=true){ var _local5:TextFormat = new TextFormat(); var _local6:TextFormat = new TextFormat(); var _local7:TextFormat = new TextFormat(); _local5.color = 0xFF0000; _local6.color = 0xFFFFFF; _local7.color = 0xFF00; if (_arg1 == 0){ tipTitle.text = "Life"; manaInfo.text = "----------------"; if (_arg2 == 0){ tipInfo.text = "Increases the maximum number of lives to 30"; } else { if (_arg2 == 1){ tipInfo.text = "Increases the maximum number of lives to 35"; } else { if (_arg2 == 2){ tipInfo.text = "Increases the maximum number of lives to 44"; } else { if (_arg2 == 3){ tipInfo.text = "Increases the maximum number of lives to 55"; } else { if (_arg2 == 4){ tipInfo.text = "Increases the maximum number of lives to 60"; } else { if (_arg2 == 5){ tipInfo.text = "Increases the maximum number of lives to 65"; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; }; } else { if (_arg1 == 1){ tipTitle.text = "Luck"; manaInfo.text = "----------------"; if (_arg2 == 0){ tipInfo.text = "Increases luck to 1 out of 1000.\nLuck makes it possible to receive less damage from the opponent."; } else { if (_arg2 == 1){ tipInfo.text = "Increases luck to 1 out of 12.\nLuck makes it possible to receive less damage from the opponent."; } else { if (_arg2 == 2){ tipInfo.text = "Increases luck to 1 out of 10.\nLuck makes it possible to receive less damage from the opponent."; } else { if (_arg2 == 3){ tipInfo.text = "Increases luck to 1 out of 8.\nLuck makes it possible to receive less damage from the opponent."; } else { if (_arg2 == 4){ tipInfo.text = "Increases luck to 1 out of 6.\nLuck makes it possible to receive less damage from the opponent."; } else { if (_arg2 == 5){ tipInfo.text = "Increases luck to 1 out of 3.\nLuck makes it possible to receive less damage from the opponent."; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; }; } else { if (_arg1 == 2){ tipTitle.text = "Spell 'View'"; manaInfo.text = "Mana cost: 5"; if (_arg2 == 0){ tipInfo.text = "This spell isn't avalible."; } else { if (_arg2 == 1){ tipInfo.text = "Shows the best path on the board"; } else { tipInfo.text = "Maximum reached"; }; }; } else { if (_arg1 == 3){ tipTitle.text = "Spell 'Shield'"; manaInfo.text = "Mana cost: 10"; if (_arg2 == 0){ tipInfo.text = "This spell isn't avalible."; } else { if (_arg2 == 1){ tipInfo.text = "Protects from any opponent's damage on the current move.\nAlso opponent don't recieve mana on this move."; } else { if (_arg2 == 2){ tipInfo.text = "Protects from any opponent's damage on the current move.\nAlso opponent don't recieve mana on this move.\nUpgrade 1: Opponent receives himself 25% of his damage."; } else { if (_arg2 == 3){ tipInfo.text = "Protects from any opponent's damage on the current move.\nAlso opponent don't recieve mana on this move.\nUpgrade 2: Opponent receives himself 50% of his damage."; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; }; }; }; if (_arg1 == 4){ tipTitle.text = "Spell 'Drop Board'"; manaInfo.text = "Mana cost: 10"; if (_arg2 == 0){ tipInfo.text = "This spell isn't avalible."; } else { if (_arg2 == 1){ tipInfo.text = "Generates new blocks on the board."; } else { if (_arg2 == 2){ tipInfo.text = "Generates new blocks on the board\nUpgrade 1: Generates only 5 types of blocks of 6."; } else { if (_arg2 == 3){ tipInfo.text = "Generates new blocks on the board\nUpgrade 2: Generates only 4 types of blocks of 6."; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; if (_arg1 == 5){ tipTitle.text = "Spell 'Double Move'"; manaInfo.text = "Mana cost: 15"; if (_arg2 == 0){ tipInfo.text = "This spell isn't avalible."; } else { if (_arg2 == 1){ tipInfo.text = "You can make a move twice."; } else { if (_arg2 == 2){ tipInfo.text = "You can make a move twice.\nUpgrade 1: At the first of yours turn, your opponent loses 25% of mana."; } else { if (_arg2 == 3){ tipInfo.text = "You can make a move twice.\nUpgrade 2: At the first of yours turn, your opponent loses 50% of mana."; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; if (_arg1 == 6){ tipTitle.text = "Spell 'Health'"; manaInfo.text = "Mana cost: 15"; if (_arg2 == 0){ tipInfo.text = "This spell isn't avalible."; } else { if (_arg2 == 1){ tipInfo.text = "Restores your lives.\nAdd 5 points to your lives."; } else { if (_arg2 == 2){ tipInfo.text = "Restores your lives.\nUpgrade 1: Add 10 points to your lives."; } else { if (_arg2 == 3){ tipInfo.text = "Restores your lives.\nUpgrade 2: Add 15 points to your lives."; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; if (_arg1 == 7){ tipTitle.text = "Spell 'Bomb'"; manaInfo.text = "Mana cost: 15"; if (_arg2 == 0){ tipInfo.text = "This spell isn't avalible."; } else { if (_arg2 == 1){ tipInfo.text = "Adds additional damage to your opponent.\nAdd 5 points of damage to your opponent."; } else { if (_arg2 == 2){ tipInfo.text = "Adds additional damage to your opponent.\nUpgrade 1: Add 8 points of damage to your opponent."; } else { if (_arg2 == 3){ tipInfo.text = "Adds additional damage to your opponent.\nUpgrade 2: Add 12 points of damage to your opponent."; } else { tipInfo.text = "Maximum reached"; }; }; }; }; }; bg.height = (((Math.abs(bg.y) + Math.abs(tipInfo.y)) + tipInfo.textHeight) + 12); if (_arg3){ manaInfo.setTextFormat(_local6); } else { manaInfo.setTextFormat(_local5); }; if (_arg4){ tipTitle.setTextFormat(_local7); } else { tipTitle.setTextFormat(_local5); manaInfo.text = "This spell isn't available yet."; tipInfo.text = "Spells can be purchased for cash in the upgrade menu."; bg.height = (((Math.abs(bg.y) + Math.abs(tipInfo.y)) + tipInfo.textHeight) + 12); manaInfo.setTextFormat(_local6); }; } function frame1(){ visible = false; cacheAsBitmap = true; } public function hideTip(){ visible = false; alpha = 1; isStartFadeOut = true; isStartFadeIn = false; } public function Update(_arg1:Event):void{ if (!visible){ return; }; x = ageMath.Lerp(x, (mousePosX + 16), 0.8); y = ageMath.Lerp(y, (mousePosY + 16), 0.8); if (x < 0){ x = 0; }; if (y < 0){ y = 0; }; if ((x + width) > 640){ x = (640 - width); }; if ((y + bg.height) > 480){ y = (480 - bg.height); }; } public function showTip(){ visible = true; alpha = 1; isStartFadeIn = true; isStartFadeOut = false; } } }//package main
Section 32
//LuckFX (main.LuckFX) package main { public dynamic class LuckFX extends alphaFader { public function LuckFX(){ addFrameScript(19, frame20); } function frame20(){ stop(); visible = false; } } }//package main
Section 33
//mainGlobal (main.mainGlobal) package main { import flash.net.*; public dynamic class mainGlobal { public static var _url:String; public static var isCookieExist:Boolean = false; public static var noAds:Boolean = false; public static function checkLocal(_arg1:Boolean=false):void{ if (_url.indexOf("http://") != -1){ } else { if (_arg1){ navigateToURL(new URLRequest("http://onlinegamer.cc/Puzzle/698/Wizards-Puzzle-War.html?utm_source=WizWar&utm_medium=checkLocalToGame"), "_blank"); } else { navigateToURL(new URLRequest("http://onlinegamer.cc?utm_source=WizWar&utm_medium=checkLocal"), "_blank"); }; }; } public static function toUrl(_arg1:String, _arg2:String="http://onlinegamer.cc"):void{ navigateToURL(new URLRequest(((_arg2 + "?utm_source=WizWar&utm_medium=") + _arg1)), "_blank"); } public static function PauseMusic():void{ musicEnv.musEnable = false; musicEnv.played(false); } public static function PlayMusic():void{ musicEnv.musEnable = true; musicEnv.played(true); } } }//package main
Section 34
//menuChoose (main.menuChoose) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.geom.*; import fl.motion.*; public class menuChoose extends alphaFader { public var buttUpgrade:SimpleButton; public var pic01:MovieClip; public var pic02:MovieClip; public var pic03:MovieClip; public var pic04:MovieClip; public var pic05:MovieClip; public var pic06:MovieClip; public var pic07:MovieClip; public var pic09:MovieClip; public var pic08:MovieClip; public var thisgame:game; public var buttBack:SimpleButton; public var achPanel:achPanel; public var spLogo:MovieClip; public var pic10:MovieClip; public var pic11:MovieClip; public var pic12:MovieClip; public var pic13:MovieClip; public var pic15:MovieClip; var moveID:int; public var pic14:MovieClip; public var pInfo:MovieClip; public var upgradePanel:upgradePanel; public var txtComplete:TextField; var tArr:Array; public var diffInfo:TextField; public var fxLen:MovieClip; public var playerPic:MovieClip; var plstatArr:Array; public var buttAch:SimpleButton; public var fader50perc:fader50perc; var picArr:Array; public function menuChoose(){ var _local1:int; var _local2:*; var _local3:int; tArr = new Array(); super(); addFrameScript(0, frame1); picArr = new Array(); plstatArr = new Array(); tArr.push("Easy"); tArr.push("Normal"); tArr.push("Hard"); picArr.push(pic01); picArr.push(pic02); picArr.push(pic03); picArr.push(pic04); picArr.push(pic05); picArr.push(pic06); picArr.push(pic07); picArr.push(pic08); picArr.push(pic09); picArr.push(pic10); picArr.push(pic11); picArr.push(pic12); picArr.push(pic13); picArr.push(pic14); picArr.push(pic15); upgradePanel.buttUpgNext.visible = false; fader50perc.visible = false; _local1 = 0; while (_local1 < picArr.length) { picArr[_local1].txt.text = ("Level " + (_local1 + 1)); _local2 = new playerStat(); if ((((_local1 >= 0)) && ((_local1 <= 1)))){ _local2.upg_level_life = 0; } else { if ((((_local1 >= 2)) && ((_local1 <= 3)))){ _local2.upg_level_life = 1; } else { if ((((_local1 >= 4)) && ((_local1 <= 5)))){ _local2.upg_level_life = 2; } else { if ((((_local1 >= 6)) && ((_local1 <= 8)))){ _local2.upg_level_life = 3; } else { if ((((_local1 >= 9)) && ((_local1 <= 11)))){ _local2.upg_level_life = 4; } else { if (_local1 >= 12){ _local2.upg_level_life = 5; }; }; }; }; }; }; _local2.lifeMax = _local2.life; _local2.expa = 0; _local2.picID = (_local1 + 1); if ((((_local1 >= 0)) && ((_local1 <= 2)))){ _local2.AI = (8 - _local1); } else { if ((((_local1 >= 3)) && ((_local1 <= 5)))){ _local2.AI = 3; } else { if (_local1 >= 6){ _local2.AI = 0; }; }; }; _local2.upg_level_luck = int(ageMath.RemapVal(_local1, 0, 14, 0, 5)); _local3 = (_local1 + 1); if (_local3 < 8){ _local2.abArray[0].upg_level = 0; } else { if ((((_local3 >= 8)) && ((_local3 <= 10)))){ _local2.abArray[0].upg_level = 1; } else { if ((((_local3 == 11)) || ((_local3 == 12)))){ _local2.abArray[0].upg_level = 2; } else { if (_local3 >= 13){ _local2.abArray[0].upg_level = 3; }; }; }; }; if (_local3 < 8){ _local2.abArray[1].upg_level = 0; } else { if ((((_local3 >= 8)) && ((_local3 <= 10)))){ _local2.abArray[1].upg_level = 1; } else { if (_local3 == 11){ _local2.abArray[1].upg_level = 2; } else { if (_local3 >= 12){ _local2.abArray[1].upg_level = 3; }; }; }; }; if (_local3 < 5){ _local2.abArray[2].upg_level = 0; } else { if ((((_local3 >= 5)) && ((_local3 <= 8)))){ _local2.abArray[2].upg_level = 1; } else { if ((((_local3 >= 9)) && ((_local3 <= 10)))){ _local2.abArray[2].upg_level = 2; } else { if (_local3 >= 11){ _local2.abArray[2].upg_level = 3; }; }; }; }; if (_local3 < 3){ _local2.abArray[3].upg_level = 0; } else { if ((((_local3 >= 3)) && ((_local3 <= 6)))){ _local2.abArray[3].upg_level = 1; } else { if ((((_local3 >= 6)) && ((_local3 <= 9)))){ _local2.abArray[3].upg_level = 2; } else { if (_local3 >= 10){ _local2.abArray[3].upg_level = 3; }; }; }; }; if (_local3 < 4){ _local2.abArray[4].upg_level = 0; } else { if ((((_local3 >= 4)) && ((_local3 <= 7)))){ _local2.abArray[4].upg_level = 1; } else { if ((((_local3 >= 7)) && ((_local3 <= 10)))){ _local2.abArray[4].upg_level = 2; } else { if (_local3 >= 11){ _local2.abArray[4].upg_level = 3; }; }; }; }; if (_local3 < 2){ _local2.abArray[5].upg_level = 0; } else { if (_local3 >= 2){ _local2.abArray[5].upg_level = 1; }; }; plstatArr.push(_local2); _local1++; }; fxLen.addEventListener(MouseEvent.MOUSE_UP, picClick); fxLen.buttonMode = true; addEventListener(Event.ENTER_FRAME, Update); addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); } function picClick(_arg1:MouseEvent):void{ if (((fader50perc.visible) || ((moveID > (thisgame.player.curCompLevel - 1))))){ return; }; startFadeOut(); thisgame.startFadeIn(); thisgame.startLevel(moveID); fxLen.x = -999999; mainGlobal.checkLocal(true); } public function click_spLogo(_arg1:MouseEvent){ ach.getAch("sponsor"); mainGlobal.toUrl("inChooseMenuLogo"); } function frame1(){ spLogo.buttonMode = true; spLogo.addEventListener(MouseEvent.CLICK, click_spLogo); } public function Update(_arg1:Event):void{ var _local4:int; var _local7:int; var _local8:Array; if (!visible){ return; }; var _local2:ColorMatrix = new ColorMatrix(); var _local3:ColorMatrix = new ColorMatrix(); _local2.reset(); _local3.reset(); _local3.adjustSaturation(0); _local3.adjustBrightness(-1); _local3.adjustContrast(-0.2); diffInfo.text = tArr[thisgame.player.diffLevel]; playerPic.picRow.gotoAndStop(thisgame.player.picID); pInfo.iCash.text = (thisgame.player.cash.toString() + "cr"); pInfo.iLife.text = ((thisgame.player.upgParamLife[thisgame.player.upg_level_life] + "/") + thisgame.player.upgParamLife[(thisgame.player.upgParamLife.length - 2)]); pInfo.iLuck.text = ((thisgame.player.upg_level_luck + "/") + (thisgame.player.upgParamLuck.length - 2)); pInfo.iView.text = ((thisgame.player.abArray[5].upg_level + "/") + (thisgame.player.upgParamView.length - 1)); pInfo.iShield.text = ((thisgame.player.abArray[3].upg_level + "/") + (thisgame.player.upgParamShield.length - 1)); pInfo.iDrop.text = ((thisgame.player.abArray[4].upg_level + "/") + (thisgame.player.upgParamDrop.length - 1)); pInfo.iDMove.text = ((thisgame.player.abArray[2].upg_level + "/") + (thisgame.player.upgParamDoubleTurn.length - 1)); pInfo.iHealth.text = ((thisgame.player.abArray[1].upg_level + "/") + (thisgame.player.upgParamHealth.length - 1)); pInfo.iBomb.text = ((thisgame.player.abArray[0].upg_level + "/") + (thisgame.player.upgParamBomb.length - 1)); _local4 = 0; while (_local4 < picArr.length) { _local8 = picArr[_local4].filters; if (_local4 <= (thisgame.player.curCompLevel - 1)){ _local8[0] = new ColorMatrixFilter(_local2.matrix); if (_local4 < (thisgame.player.curCompLevel - 1)){ picArr[_local4].mark.visible = true; } else { picArr[_local4].mark.visible = false; }; } else { _local8[0] = new ColorMatrixFilter(_local3.matrix); picArr[_local4].mark.visible = false; }; picArr[_local4].filters = _local8; _local4++; }; var _local5:int; _local5 = (_local5 + Math.round(ageMath.RemapVal(thisgame.player.curCompLevel, 1, 13, 0, 70))); var _local6:int; _local7 = 0; while (_local7 < 14) { if (ach.arr[_local7].active){ _local6++; }; _local7++; }; _local5 = (_local5 + Math.round(ageMath.RemapVal(_local6, 0, 14, 0, 30))); if (_local5 > 100){ _local5 = 100; }; txtComplete.text = (("Game complete " + _local5) + "%"); } public function MouseMove(_arg1:MouseEvent):void{ var _local2:int; var _local3:Boolean; if (fader50perc.visible){ return; }; _local2 = 0; while (_local2 < picArr.length) { if (_local2 <= (thisgame.player.curCompLevel - 1)){ if (picArr[_local2].hitTestPoint(_arg1.stageX, _arg1.stageY)){ moveID = _local2; _local3 = true; }; }; _local2++; }; if (!_local3){ fxLen.x = -999999; } else { fxLen.x = picArr[moveID].x; fxLen.y = picArr[moveID].y; }; } } }//package main
Section 35
//menuChooseChar (main.menuChooseChar) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.geom.*; import fl.motion.*; public class menuChooseChar extends alphaFader { public var menuDiff:MovieClip; public var warn:MovieClip; public var thisgame:game; public var moveDiffToScr:Boolean;// = false public var buttBack:SimpleButton; public var fxLen:MovieClip; public var pl1:MovieClip; public var pl2:MovieClip; public var fader50perc:fader50perc; var moveID:int; var picArr:Array; public function menuChooseChar(){ picArr = new Array(); super(); addFrameScript(0, frame1); picArr.push(pl1); picArr.push(pl2); fxLen.addEventListener(MouseEvent.MOUSE_UP, picClick); fxLen.buttonMode = true; fader50perc.visible = false; addEventListener(Event.ENTER_FRAME, Update); addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); menuDiff.buttBack.addEventListener(MouseEvent.CLICK, buttDiffBack_Click); } public function MouseMove(_arg1:MouseEvent):void{ var _local2:int; var _local3:Boolean; if (fader50perc.visible){ return; }; _local2 = 0; while (_local2 < picArr.length) { if ((((((((_arg1.stageX >= picArr[_local2].x)) && ((_arg1.stageX <= (picArr[_local2].x + 128))))) && ((_arg1.stageY >= picArr[_local2].y)))) && ((_arg1.stageY <= (picArr[_local2].y + 365))))){ moveID = _local2; _local3 = true; }; _local2++; }; pl1.gotoAndStop(1); pl2.gotoAndStop(1); if (!_local3){ fxLen.x = -999999; } else { picArr[moveID].gotoAndStop(2); if (moveID == 0){ fxLen.x = 198; fxLen.y = 215; } else { fxLen.x = 446; fxLen.y = 228; }; }; } function picClick(_arg1:MouseEvent):void{ fxLen.x = -999999; thisgame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); mainClass(root).allmc.inGame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); mainClass(root).allmc.menuChoose.startFadeIn(); startFadeOut(); mainClass(root).allmc.inGame.player.init(); mainClass(root).allmc.inGame.player.createCookie((16 + moveID), 1, 0, 0); mainClass(root).allmc.inGame.player.loadCookie(); ach.initAch(); } function frame1(){ } function buttDiffBack_Click(_arg1:MouseEvent):void{ thisgame.sndmap.PlaySnd(("paper0" + ageMath.RandomInt(1, 4))); moveDiffToScr = false; fader50perc.startFadeOut(); } public function Update(_arg1:Event):void{ if (mainGlobal.isCookieExist){ warn.visible = true; } else { warn.visible = false; }; if (moveDiffToScr){ menuDiff.y = ageMath.Lerp(menuDiff.y, ((480 - menuDiff.height) * 0.5), 0.2); } else { menuDiff.y = ageMath.Lerp(menuDiff.y, 500, 0.2); }; } } }//package main
Section 36
//menuMain (main.menuMain) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.geom.*; import fl.motion.*; public class menuMain extends alphaFader { public var buttCredits:SimpleButton; public var spLogo:MovieClip; public var fbButt:SimpleButton; public var twButt:SimpleButton; public var thisgame:game; public var buttMoreGames:SimpleButton; public var buttContinue:SimpleButton; public var myCR:MovieClip; public var buttNewGame:SimpleButton; public function menuMain(){ addFrameScript(0, frame1); thisgame = GameFrame(parent).inGame; updateContButt(); addEventListener(Event.ENTER_FRAME, Update); } function frame1(){ twButt.addEventListener(MouseEvent.CLICK, click_twButt); fbButt.addEventListener(MouseEvent.CLICK, click_fbButt); } public function click_fbButt(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.facebook.com/OnlineGamer.cc"), "_blank"); } public function Update(_arg1:Event):void{ } public function click_twButt(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://twitter.com/#!/OnlineGamer_cc"), "_blank"); } public function updateContButt(){ var _local1:ColorMatrix; var _local2:Array; var _local3:ColorMatrix; if (!thisgame.player.isCookieExist()){ _local1 = new ColorMatrix(); _local1.adjustBrightness(-100); _local2 = buttContinue.filters; buttContinue.enabled = false; _local2[0] = new ColorMatrixFilter(_local1.matrix); buttContinue.filters = _local2; mainGlobal.isCookieExist = false; } else { _local3 = new ColorMatrix(); _local3.adjustBrightness(0); _local2 = buttContinue.filters; buttContinue.enabled = true; _local2[0] = new ColorMatrixFilter(_local3.matrix); buttContinue.filters = _local2; mainGlobal.isCookieExist = true; }; } } }//package main
Section 37
//menuMainCredits (main.menuMainCredits) package main { public dynamic class menuMainCredits extends alphaFader { } }//package main
Section 38
//menuWinner (main.menuWinner) package main { public dynamic class menuWinner extends alphaFader { public function menuWinner(){ addFrameScript(0, frame1); } function frame1(){ } } }//package main
Section 39
//MochiBot (main.MochiBot) package main { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:MochiBot = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); var _local4 = "http://core.mochibot.com/my/core.swf"; var _local5:URLVariables = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; var _local6:String = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; var _local7:URLRequest = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; var _local8:Loader = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package main
Section 40
//musicEnv (main.musicEnv) package main { import flash.events.*; import flash.display.*; import flash.media.*; import flash.utils.*; import flash.geom.*; public dynamic class musicEnv { static var t1:SoundTransform = new SoundTransform(); public static var curCh:SoundChannel; public static var timerVolFader:Timer = new Timer(10); static var mus:Object; public static var vol:Number = 0.8; public static var volFadeSpeed:Number = 0.04; public static var curMusName:String = ""; public static var offVol:Number = 0; public static var musEnable:Boolean = true; public static var curVol:Number = 0; public static var offCh:SoundChannel; public static var curPos:Number = 0; public static var isplayed:Boolean = false; static var t2:SoundTransform = new SoundTransform(); public static function init(){ timerVolFader.stop(); mus = new Object(); mus["musMenu"] = new musMenu(); mus["musLost"] = new musLost(); mus["musGame1"] = new musGame1(); mus["musGame2"] = new musGame2(); mus["musGame3"] = new musGame3(); } public static function played(_arg1:Boolean):void{ if (_arg1 == isplayed){ return; }; if (_arg1){ if (curMusName != ""){ fadeTo(curMusName); }; } else { isplayed = false; if (curCh){ curCh.stop(); curPos = curCh.position; }; if (offCh){ offCh.stop(); }; offVol = 0; curVol = vol; if (timerVolFader.running){ timerVolFader.stop(); timerVolFader.removeEventListener(TimerEvent.TIMER, timerVolFader_Timer); }; }; } public static function fadeTo(_arg1:String){ var _local2:SoundTransform; curMusName = _arg1; if (!musEnable){ return; }; isplayed = true; _local2 = new SoundTransform(); _local2.volume = 0; if (offCh){ offCh.stop(); }; offCh = curCh; if ((((curMusName == "musLose")) || ((curMusName == "musWin")))){ curCh = mus[_arg1].play(0, 1, _local2); } else { curCh = mus[_arg1].play(0, int.MAX_VALUE, _local2); }; curVol = 0; offVol = vol; if (!timerVolFader.running){ timerVolFader.addEventListener(TimerEvent.TIMER, timerVolFader_Timer, false, 0, true); timerVolFader.start(); }; } public static function timerVolFader_Timer(_arg1:TimerEvent):void{ if (offCh != null){ if (offVol > 0){ offVol = (offVol - volFadeSpeed); } else { offVol = 0; }; t1.volume = offVol; offCh.soundTransform = t1; }; if (((!((curCh == null))) && ((((offVol < (vol / 2))) || ((offCh == null)))))){ if (curVol < vol){ curVol = (curVol + volFadeSpeed); } else { curVol = vol; }; t2.volume = curVol; curCh.soundTransform = t2; }; if (curVol > (vol - 0.0001)){ if (offCh != null){ offCh.stop(); }; timerVolFader.stop(); timerVolFader.removeEventListener(TimerEvent.TIMER, timerVolFader_Timer); }; } } }//package main
Section 41
//pathLine (main.pathLine) package main { public dynamic class pathLine extends alphaFader { } }//package main
Section 42
//pathPoint (main.pathPoint) package main { public dynamic class pathPoint extends alphaFader { } }//package main
Section 43
//pathPointEnemy (main.pathPointEnemy) package main { public dynamic class pathPointEnemy extends alphaFader { } }//package main
Section 44
//pathPointPlayer (main.pathPointPlayer) package main { public dynamic class pathPointPlayer extends alphaFader { } }//package main
Section 45
//playerStat (main.playerStat) package main { import flash.geom.*; public dynamic class playerStat { var upgParamBomb:Array; var upgParamView:Array; var upgAvLevLife:Array; var upgParamShield:Array; var diffLevel:int;// = 0 var upgParamDoubleTurn:Array; var upgParamLuck:Array; var lev_cash:int;// = 0 var lifeShow:Number;// = 30 var upgAvLevView:Array; var picID:int;// = 1 var max_chain:int;// = 0 var AI:int;// = 5 var upgAvLevLuck:Array; var upgCostDrop:Array; var isShield:Boolean;// = false var upgCostLife:Array; var av_chain:Number;// = 0 var abArray:Array; var player_turns:int;// = 0 var upgAvLevBomb:Array; var cash:int;// = 0 var lifeMax:Number;// = 30 var upg_level_life:int;// = 1 var curCompLevel:int;// = 1 var upgParamDrop:Array; var upgAvLevHealth:Array; var total_turns:int;// = 0 var upgCostHealth:Array; var upgParamLife:Array; var upgCostView:Array; var upgCostShield:Array; var expa:Number;// = 0 var upgAvLevShield:Array; var upgCostDoubleTurn:Array; var upgAvLevDrop:Array; var upgCostLuck:Array; var upgCostBomb:Array; var upgAvLevDoubleTurn:Array; var life:Number;// = 30 var upgParamHealth:Array; var upg_level_luck:int;// = 1 public function playerStat(){ upgParamLife = [30, 40, 50, 60, 75, 90, -1]; upgParamLuck = [200, 12, 10, 8, 6, 3, -1]; upgParamView = [1, -1]; upgParamShield = [0, 0, 0.25, 0.5]; upgParamDrop = [0, 0, 1, 2]; upgParamDoubleTurn = [0, 0, 0.25, 0.5]; upgParamHealth = [0, 5, 10, 15]; upgParamBomb = [0, 5, 10, 15]; upgCostLife = [35, 45, 55, 65, 75, -1]; upgCostLuck = [35, 45, 55, 60, 65, -1]; upgCostView = [15, -1]; upgCostShield = [30, 45, 55, -1]; upgCostDrop = [30, 45, 55, -1]; upgCostDoubleTurn = [30, 45, 55, -1]; upgCostHealth = [45, 55, 65, -1]; upgCostBomb = [45, 55, 65, -1]; upgAvLevLife = [1, 1, 1, 1, 1, -1]; upgAvLevLuck = [1, 1, 1, 1, 1, -1]; upgAvLevView = [1, -1]; upgAvLevShield = [3, 3, 3, -1]; upgAvLevDrop = [4, 4, 4, -1]; upgAvLevDoubleTurn = [5, 5, 5, -1]; upgAvLevHealth = [7, 7, 7, -1]; upgAvLevBomb = [9, 9, 9, -1]; super(); abArray = new Array(); abArray.push(new abStat(0, 15)); abArray.push(new abStat(0, 15)); abArray.push(new abStat(0, 15)); abArray.push(new abStat(0, 10)); abArray.push(new abStat(0, 10)); abArray.push(new abStat(0, 5)); } public function createCookie(_arg1:int=-1, _arg2:int=-1, _arg3:int=-1, _arg4:int=-1){ if (_arg1 < 0){ _arg1 = picID; }; if (_arg2 < 0){ _arg2 = diffLevel; }; if (_arg3 < 0){ _arg3 = upg_level_life; }; if (_arg4 < 0){ _arg4 = upg_level_luck; }; var _local5:Cookie = new Cookie("wizPuzzleGame_Save"); _local5.putNoFlush("lifeMax", upgParamLife[_arg3]); _local5.putNoFlush("picID", _arg1); _local5.putNoFlush("upg_level_life", _arg3); _local5.putNoFlush("upg_level_luck", _arg4); _local5.putNoFlush("cash", cash); _local5.putNoFlush("diffLevel", _arg2); _local5.putNoFlush("curCompLevel", curCompLevel); var _local6:int; _local6 = 0; while (_local6 < abArray.length) { _local5.putNoFlush(("upg_level" + _local6), abArray[_local6].upg_level); _local6++; }; _local5.flushData(); } public function loadCookie(){ ach.loadAch(); var _local1:Cookie = new Cookie("wizPuzzleGame_Save"); if (_local1.getSize() == 0){ trace("no saved found..."); return; }; lifeMax = int(_local1.get("lifeMax")); picID = int(_local1.get("picID")); upg_level_life = int(_local1.get("upg_level_life")); upg_level_luck = int(_local1.get("upg_level_luck")); cash = int(_local1.get("cash")); diffLevel = int(_local1.get("diffLevel")); curCompLevel = int(_local1.get("curCompLevel")); var _local2:int; _local2 = 0; while (_local2 < abArray.length) { abArray[_local2].upg_level = int(_local1.get(("upg_level" + _local2))); _local2++; }; } public function init():void{ curCompLevel = 1; cash = 0; var _local1:int; _local1 = 0; while (_local1 < abArray.length) { abArray[_local1].upg_level = 0; _local1++; }; } public function saveCookieDontShowHelp(_arg1:Boolean):void{ var _local2:Cookie = new Cookie("wizPuzzleGame_Save"); _local2.put("Dont_Show_Help", int(_arg1)); } public function isCookieExist():Boolean{ var _local1:Cookie = new Cookie("wizPuzzleGame_Save"); return (!((_local1.getSize() == 0))); } public function isCookieDontShowHelp():Boolean{ var _local1:Cookie = new Cookie("wizPuzzleGame_Save"); return (Boolean(_local1.get("Dont_Show_Help"))); } public function clone():playerStat{ var _local1:playerStat = new playerStat(); _local1.life = life; _local1.lifeShow = lifeShow; _local1.lifeMax = lifeMax; _local1.expa = expa; _local1.picID = picID; _local1.AI = AI; _local1.isShield = isShield; _local1.cash = cash; _local1.upg_level_life = upg_level_life; _local1.upg_level_luck = upg_level_luck; _local1.abArray = cloneArrayAb(abArray); return (_local1); } function cloneArrayAb(_arg1:Array):Array{ var _local2:abStat; var _local3:Array = new Array(); for each (_local2 in _arg1) { _local3.push(_local2.clone()); }; return (_local3); } } }//package main
Section 46
//preloader (main.preloader) package main { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public dynamic class preloader extends MovieClip { public var progressBar:MovieClip; public var playButt:SimpleButton; var timerLoadAds:Timer; public var txt:TextField; public function preloader(){ timerLoadAds = new Timer(4000, 1); super(); addFrameScript(0, frame1, 1, frame2); if (0){ this.txt.text = "BAD URL!"; } else { addEventListener(Event.ENTER_FRAME, Update); timerLoadAds.start(); }; } function frame1(){ stop(); } public function isUrl(_arg1:Array):Boolean{ var _local2:String = stage.loaderInfo.loaderURL; var _local3:Number = (_local2.indexOf("://") + 3); var _local4:Number = _local2.indexOf("/", _local3); var _local5:String = _local2.substring(_local3, _local4); var _local6:Number = (_local5.lastIndexOf(".") - 1); var _local7:Number = (_local5.lastIndexOf(".", _local6) + 1); _local5 = _local5.substring(_local7, _local5.length); var _local8:int; while (_local8 < _arg1.length) { if (_local5 == _arg1[_local8]){ return (true); }; _local8++; }; return (false); } public function Update(_arg1:Event):void{ var _local2:Number = stage.loaderInfo.bytesLoaded; var _local3:Number = stage.loaderInfo.bytesTotal; var _local4 = ""; var _local5:Number = 0; if (_local3 > 0){ _local5 = Math.floor(((_local2 / _local3) * 100)); _local4 = (((((_local5 + "% (") + Math.round((_local2 / 0x0400))) + "kb / ") + Math.round((_local3 / 0x0400))) + "kb)"); }; if (_local5 == 100){ this.txt.text = "One moment, please..."; } else { this.txt.text = ("Loading... " + _local4); }; this.progressBar.gotoAndStop(Math.round(ageMath.RemapVal((_local5 + 1), 1, 100, 1, 100))); if ((((_local2 == _local3)) || ((_local3 == 0)))){ if (!timerLoadAds.running){ removeEventListener(Event.ENTER_FRAME, Update); gotoAndStop(2); }; }; } function frame2(){ playButt.addEventListener(MouseEvent.CLICK, playButt_Click); } public function playButt_Click(_arg1:MouseEvent):void{ if ((parent is MovieClip)){ parent.removeChild(parent["adBox"]); (parent as MovieClip).play(); mainGlobal.checkLocal(); }; } } }//package main
Section 47
//shootFX (main.shootFX) package main { import flash.display.*; public dynamic class shootFX extends MovieClip { public function shootFX(){ addFrameScript(17, frame18); } function frame18(){ stop(); visible = false; } } }//package main
Section 48
//sounds (main.sounds) package main { import flash.media.*; public dynamic class sounds { var stageRadius:Number; public var vol:Number;// = 0.9 var snd:Object; public function PlaySnd(_arg1:String):void{ var _local2:SoundTransform; _local2 = new SoundTransform(); _local2.volume = vol; snd[_arg1].play(0, 0, _local2); } public function init(){ snd = new Object(); snd["snd_ach"] = new snd_ach(); snd["buysnd"] = new buysnd(); snd["buyno"] = new buyno(); snd["abBomb"] = new snd_abBomb(); snd["abHealth"] = new snd_abHealth(); snd["abRev"] = new snd_abRev(); snd["abDrop"] = new snd_abDrop(); snd["abView"] = new snd_abView(); snd["abShield"] = new snd_abShield(); snd["shieldBlocked"] = new snd_shieldBlocked(); snd["Lucked"] = new snd_Lucked(); snd["goodAttack1"] = new pistolShoot1(); snd["goodAttack2"] = new pistolShoot2(); snd["badAttack1"] = new badAttack1(); snd["badAttack2"] = new badAttack2(); snd["paper01"] = new paper01(); snd["paper02"] = new paper02(); snd["paper03"] = new paper03(); snd["paper04"] = new paper04(); snd["toyBlock01"] = new snd_toyBlock01(); snd["toyBlock02"] = new snd_toyBlock02(); snd["toyBlock03"] = new snd_toyBlock03(); snd["toyBlock04"] = new snd_toyBlock04(); snd["toyBlock05"] = new snd_toyBlock05(); snd["1_bad_1"] = new bads_man_sad_1(); snd["1_bad_2"] = new bads_man_sad_2(); snd["1_good_1"] = new bads_man_happy_1(); snd["1_good_2"] = new bads_man_happy_2(); snd["2_bad_1"] = new bads_woman_sad_1(); snd["2_bad_2"] = new bads_woman_sad_2(); snd["2_good_1"] = new bads_woman_happy_1(); snd["2_good_2"] = new bads_woman_happy_2(); snd["3_bad_1"] = new bads_mandead_sad_1(); snd["3_bad_2"] = new bads_mandead_sad_2(); snd["3_good_1"] = new bads_mandead_happy_1(); snd["3_good_2"] = new bads_mandead_happy_2(); snd["4_bad_1"] = new bads_skel_sad_1(); snd["4_bad_2"] = new bads_skel_sad_2(); snd["4_good_1"] = new bads_skel_happy_1(); snd["4_good_2"] = new bads_skel_happy_2(); snd["5_bad_1"] = new bads_womanlight_sad_1(); snd["5_bad_2"] = new bads_womanlight_sad_2(); snd["5_good_1"] = new bads_womanlight_happy_1(); snd["5_good_2"] = new bads_womanlight_happy_2(); snd["6_bad_1"] = new bad_1(); snd["6_bad_2"] = new bad_2(); snd["6_good_1"] = new good_1(); snd["6_good_2"] = new good_2(); snd["7_bad_1"] = new bads_mandead_sad_1(); snd["7_bad_2"] = new bads_mandead_sad_2(); snd["7_good_1"] = new bads_mandead_happy_1(); snd["7_good_2"] = new bads_mandead_happy_2(); snd["8_bad_1"] = new bads_man_sad_1(); snd["8_bad_2"] = new bads_man_sad_2(); snd["8_good_1"] = new bads_man_happy_1(); snd["8_good_2"] = new bads_man_happy_2(); snd["9_bad_1"] = new bads_woman_sad_1(); snd["9_bad_2"] = new bads_woman_sad_2(); snd["9_good_1"] = new bads_woman_happy_1(); snd["9_good_2"] = new bads_woman_happy_2(); snd["10_bad_1"] = new bad_1(); snd["10_bad_2"] = new bad_2(); snd["10_good_1"] = new good_1(); snd["10_good_2"] = new good_2(); snd["11_bad_1"] = new bads_grund_sad_1(); snd["11_bad_2"] = new bads_grund_sad_1(); snd["11_good_1"] = new bads_grund_happy_1(); snd["11_good_2"] = new bads_grund_happy_2(); snd["12_bad_1"] = new bad_1(); snd["12_bad_2"] = new bad_2(); snd["12_good_1"] = new good_1(); snd["12_good_2"] = new good_2(); snd["13_bad_1"] = new bads_demon_sad_1(); snd["13_bad_2"] = new bads_demon_sad_2(); snd["13_good_1"] = new bads_demon_happy_1(); snd["13_good_2"] = new bads_grund_happy_1(); snd["14_bad_1"] = new bad_1(); snd["14_bad_2"] = new bad_2(); snd["14_good_1"] = new good_1(); snd["14_good_2"] = new good_2(); snd["15_bad_1"] = new bads_skel_sad_1(); snd["15_bad_2"] = new bads_skel_sad_2(); snd["15_good_1"] = new bads_angel_happy_1(); snd["15_good_2"] = new bads_angel_happy_2(); } } }//package main
Section 49
//uiRev (main.uiRev) package main { public dynamic class uiRev extends uiShield { public function uiRev(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package main
Section 50
//uiShield (main.uiShield) package main { import flash.events.*; import flash.text.*; import flash.utils.*; import flash.geom.*; public dynamic class uiShield extends alphaFader { public var zoomedIn;// = true public function uiShield(){ addEventListener(Event.ENTER_FRAME, Update); } public function Update(_arg1:Event):void{ var _local2:Array = filters; if (zoomedIn){ _local2[1].blurX = ageMath.RemapVal(alpha, 0, 1, 50, 0); _local2[1].blurY = ageMath.RemapVal(alpha, 0, 1, 50, 0); } else { _local2[1].blurX = ageMath.RemapVal(alpha, 1, 0, 0, 50); _local2[1].blurY = ageMath.RemapVal(alpha, 1, 0, 0, 50); }; filters = _local2; } function timerDelay_Timer(_arg1:TimerEvent):void{ stop(); startFadeOut(); } } }//package main
Section 51
//upgradePanel (main.upgradePanel) package main { import flash.filters.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.geom.*; import fl.motion.*; public dynamic class upgradePanel extends MovieClip { public var thisgame:game; public var upgrade1:MovieClip; public var moveToScr:Boolean; public var upgrade3:MovieClip; public var upgrade4:MovieClip; public var upgrade5:MovieClip; public var upgrade6:MovieClip; public var upgrade7:MovieClip; public var upgrade8:MovieClip; public var upgrade2:MovieClip; public var buttClose:SimpleButton; public var buttUpgNext:SimpleButton; var picArr:Array; public var cashTxt:TextField; static var mX:Number = 0; static var mY:Number = 0; public function upgradePanel(){ picArr = new Array(); picArr.push(upgrade1); picArr.push(upgrade2); picArr.push(upgrade3); picArr.push(upgrade4); picArr.push(upgrade5); picArr.push(upgrade6); picArr.push(upgrade7); picArr.push(upgrade8); moveToScr = false; y = (240 - (height * 0.5)); upgrade1.pic.gotoAndStop(8); upgrade1.titleTxt.text = "Life"; upgrade1.costTxt.text = "15cr"; setPointsTo(0, upgrade1); upgrade1.bg.gotoAndStop(1); upgrade1.infoTxt.visible = false; upgrade2.pic.gotoAndStop(9); upgrade2.titleTxt.text = "Luck"; upgrade2.costTxt.text = "25cr"; setPointsTo(0, upgrade2); upgrade2.bg.gotoAndStop(1); upgrade2.infoTxt.visible = false; upgrade3.pic.gotoAndStop(4); upgrade3.titleTxt.text = "Spell 'View'"; upgrade3.costTxt.text = "15cr"; setPointsTo(0, upgrade3); upgrade3.bg.gotoAndStop(1); upgrade3.infoTxt.visible = false; upgrade4.pic.gotoAndStop(6); upgrade4.titleTxt.text = "Spell 'Shield'"; upgrade4.costTxt.text = "30cr"; setPointsTo(0, upgrade4); upgrade4.bg.gotoAndStop(1); upgrade4.infoTxt.visible = false; upgrade5.pic.gotoAndStop(5); upgrade5.titleTxt.text = "Spell 'Drop'"; upgrade5.costTxt.text = "35cr"; setPointsTo(0, upgrade5); upgrade5.bg.gotoAndStop(1); upgrade5.infoTxt.visible = false; upgrade6.pic.gotoAndStop(7); upgrade6.titleTxt.text = "Spell 'Double Move'"; upgrade6.costTxt.text = "40cr"; setPointsTo(0, upgrade6); upgrade6.bg.gotoAndStop(1); upgrade6.infoTxt.visible = false; upgrade7.pic.gotoAndStop(2); upgrade7.titleTxt.text = "Spell 'Health'"; upgrade7.costTxt.text = "50cr"; setPointsTo(0, upgrade7); upgrade7.bg.gotoAndStop(1); upgrade7.infoTxt.visible = false; upgrade8.pic.gotoAndStop(1); upgrade8.titleTxt.text = "Spell 'Bomb'"; upgrade8.costTxt.text = "55cr"; setPointsTo(0, upgrade8); upgrade8.bg.gotoAndStop(1); upgrade8.infoTxt.visible = false; addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); upgrade1.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade2.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade3.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade4.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade5.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade6.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade7.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); upgrade8.addEventListener(MouseEvent.MOUSE_DOWN, Mouse_down); addEventListener(Event.ENTER_FRAME, Update); } public function setPointsTo(_arg1:int, _arg2:MovieClip):void{ if (_arg1 == 0){ _arg2.p1.gotoAndStop(2); _arg2.p2.gotoAndStop(2); _arg2.p3.gotoAndStop(2); _arg2.p4.gotoAndStop(2); _arg2.p5.gotoAndStop(2); } else { if (_arg1 == 1){ _arg2.p1.gotoAndStop(1); _arg2.p2.gotoAndStop(2); _arg2.p3.gotoAndStop(2); _arg2.p4.gotoAndStop(2); _arg2.p5.gotoAndStop(2); } else { if (_arg1 == 2){ _arg2.p1.gotoAndStop(1); _arg2.p2.gotoAndStop(1); _arg2.p3.gotoAndStop(2); _arg2.p4.gotoAndStop(2); _arg2.p5.gotoAndStop(2); } else { if (_arg1 == 3){ _arg2.p1.gotoAndStop(1); _arg2.p2.gotoAndStop(1); _arg2.p3.gotoAndStop(1); _arg2.p4.gotoAndStop(2); _arg2.p5.gotoAndStop(2); } else { if (_arg1 == 4){ _arg2.p1.gotoAndStop(1); _arg2.p2.gotoAndStop(1); _arg2.p3.gotoAndStop(1); _arg2.p4.gotoAndStop(1); _arg2.p5.gotoAndStop(2); } else { if (_arg1 == 5){ _arg2.p1.gotoAndStop(1); _arg2.p2.gotoAndStop(1); _arg2.p3.gotoAndStop(1); _arg2.p4.gotoAndStop(1); _arg2.p5.gotoAndStop(1); }; }; }; }; }; }; } public function MouseMove(_arg1:MouseEvent):void{ mX = (_arg1.stageX - x); mY = (_arg1.stageY - y); } public function setPointsVisible(_arg1:MovieClip):void{ _arg1.p1.visible = true; _arg1.p2.visible = true; _arg1.p3.visible = true; _arg1.p4.visible = true; _arg1.p5.visible = true; _arg1.costTxt.visible = true; } public function Mouse_down(_arg1:MouseEvent):void{ var _local2:int; var _local3:Array = [thisgame.player.upg_level_life, thisgame.player.upg_level_luck, thisgame.player.abArray[5].upg_level, thisgame.player.abArray[3].upg_level, thisgame.player.abArray[4].upg_level, thisgame.player.abArray[2].upg_level, thisgame.player.abArray[1].upg_level, thisgame.player.abArray[0].upg_level]; var _local4:Array = [thisgame.player.upgCostLife[_local3[0]], thisgame.player.upgCostLuck[_local3[1]], thisgame.player.upgCostView[_local3[2]], thisgame.player.upgCostShield[_local3[3]], thisgame.player.upgCostDrop[_local3[4]], thisgame.player.upgCostDoubleTurn[_local3[5]], thisgame.player.upgCostHealth[_local3[6]], thisgame.player.upgCostBomb[_local3[7]]]; var _local5:Array = [thisgame.player.upgAvLevLife[_local3[0]], thisgame.player.upgAvLevLuck[_local3[1]], thisgame.player.upgAvLevView[_local3[2]], thisgame.player.upgAvLevShield[_local3[3]], thisgame.player.upgAvLevDrop[_local3[4]], thisgame.player.upgAvLevDoubleTurn[_local3[5]], thisgame.player.upgAvLevHealth[_local3[6]], thisgame.player.upgAvLevBomb[_local3[7]]]; _local2 = 0; while (_local2 < picArr.length) { if ((((_local5[_local2] > thisgame.player.curCompLevel)) || ((_local4[_local2] < 0)))){ } else { if ((((((((mX >= picArr[_local2].x)) && ((mX <= (picArr[_local2].x + picArr[_local2].width))))) && ((mY >= (picArr[_local2].y + 19))))) && ((mY <= (picArr[_local2].y + picArr[_local2].height))))){ if (_local4[_local2] > thisgame.player.cash){ mainClass(root).allmc.inGame.sndmap.PlaySnd("buyno"); } else { mainClass(root).allmc.inGame.sndmap.PlaySnd("buysnd"); thisgame.player.cash = (thisgame.player.cash - _local4[_local2]); if (_local2 == 0){ thisgame.player.upg_level_life++; } else { if (_local2 == 1){ thisgame.player.upg_level_luck++; } else { if (_local2 == 2){ thisgame.player.abArray[5].upg_level++; } else { if (_local2 == 3){ thisgame.player.abArray[3].upg_level++; } else { if (_local2 == 4){ thisgame.player.abArray[4].upg_level++; } else { if (_local2 == 5){ thisgame.player.abArray[2].upg_level++; } else { if (_local2 == 6){ thisgame.player.abArray[1].upg_level++; } else { if (_local2 == 7){ thisgame.player.abArray[0].upg_level++; }; }; }; }; }; }; }; }; init(thisgame.player); if (thisgame.player.upg_level_life == 5){ ach.getAch("fullHealth"); }; if ((((((((((((thisgame.player.abArray[5].upg_level >= 1)) && ((thisgame.player.abArray[3].upg_level >= 1)))) && ((thisgame.player.abArray[4].upg_level >= 1)))) && ((thisgame.player.abArray[2].upg_level >= 1)))) && ((thisgame.player.abArray[1].upg_level >= 1)))) && ((thisgame.player.abArray[0].upg_level >= 1)))){ ach.getAch("upgrade1"); }; if ((((((((((((thisgame.player.abArray[5].upg_level >= 1)) && ((thisgame.player.abArray[3].upg_level >= 3)))) && ((thisgame.player.abArray[4].upg_level >= 3)))) && ((thisgame.player.abArray[2].upg_level >= 3)))) && ((thisgame.player.abArray[1].upg_level >= 3)))) && ((thisgame.player.abArray[0].upg_level >= 3)))){ ach.getAch("upgrade2"); }; }; }; }; _local2++; }; } public function setPointsNotVisible(_arg1:MovieClip):void{ _arg1.p1.visible = false; _arg1.p2.visible = false; _arg1.p3.visible = false; _arg1.p4.visible = false; _arg1.p5.visible = false; _arg1.costTxt.visible = false; } public function init(_arg1:playerStat):void{ var _local2:Array; var _local8:int; var _local3:ColorMatrix = new ColorMatrix(); var _local4:ColorMatrix = new ColorMatrix(); _local3.reset(); _local3.adjustSaturation(0); _local4.reset(); var _local5:Array = [_arg1.upg_level_life, _arg1.upg_level_luck, _arg1.abArray[5].upg_level, _arg1.abArray[3].upg_level, _arg1.abArray[4].upg_level, _arg1.abArray[2].upg_level, _arg1.abArray[1].upg_level, _arg1.abArray[0].upg_level]; var _local6:Array = [_arg1.upgCostLife[_local5[0]], _arg1.upgCostLuck[_local5[1]], _arg1.upgCostView[_local5[2]], _arg1.upgCostShield[_local5[3]], _arg1.upgCostDrop[_local5[4]], _arg1.upgCostDoubleTurn[_local5[5]], _arg1.upgCostHealth[_local5[6]], _arg1.upgCostBomb[_local5[7]]]; var _local7:Array = [_arg1.upgAvLevLife[_local5[0]], _arg1.upgAvLevLuck[_local5[1]], _arg1.upgAvLevView[_local5[2]], _arg1.upgAvLevShield[_local5[3]], _arg1.upgAvLevDrop[_local5[4]], _arg1.upgAvLevDoubleTurn[_local5[5]], _arg1.upgAvLevHealth[_local5[6]], _arg1.upgAvLevBomb[_local5[7]]]; _local8 = 0; while (_local8 < picArr.length) { _local2 = picArr[_local8].filters; if (_local7[_local8] <= _arg1.curCompLevel){ _local2[1] = new ColorMatrixFilter(_local4.matrix); picArr[_local8].infoTxt.visible = false; if (_local6[_local8] > 0){ picArr[_local8].costTxt.text = (_local6[_local8].toString() + "cr"); picArr[_local8].buttonMode = true; } else { picArr[_local8].costTxt.text = "FULL"; picArr[_local8].buttonMode = false; }; setPointsTo(_local5[_local8], picArr[_local8]); setPointsVisible(picArr[_local8]); } else { picArr[_local8].buttonMode = false; _local2[1] = new ColorMatrixFilter(_local3.matrix); picArr[_local8].infoTxt.visible = true; picArr[_local8].costTxt.text = ""; setPointsNotVisible(picArr[_local8]); }; picArr[_local8].filters = _local2; _local8++; }; } public function Update(_arg1:Event):void{ var _local2:int; upgrade3.p2.visible = (upgrade3.p3.visible = (upgrade3.p4.visible = (upgrade3.p5.visible = false))); upgrade4.p4.visible = (upgrade4.p5.visible = false); upgrade5.p4.visible = (upgrade5.p5.visible = false); upgrade6.p4.visible = (upgrade6.p5.visible = false); upgrade7.p4.visible = (upgrade7.p5.visible = false); upgrade8.p4.visible = (upgrade8.p5.visible = false); if (moveToScr){ x = ageMath.Lerp(x, (320 - (width * 0.5)), 0.2); } else { x = ageMath.Lerp(x, 650, 0.2); }; var _local3:TextFormat = new TextFormat(); var _local4:TextFormat = new TextFormat(); _local3.color = 0xFF0000; _local4.color = 0xFFFFFF; var _local5:Array = [thisgame.player.upg_level_life, thisgame.player.upg_level_luck, thisgame.player.abArray[5].upg_level, thisgame.player.abArray[3].upg_level, thisgame.player.abArray[4].upg_level, thisgame.player.abArray[2].upg_level, thisgame.player.abArray[1].upg_level, thisgame.player.abArray[0].upg_level]; var _local6:Array = [thisgame.player.upgCostLife[_local5[0]], thisgame.player.upgCostLuck[_local5[1]], thisgame.player.upgCostView[_local5[2]], thisgame.player.upgCostShield[_local5[3]], thisgame.player.upgCostDrop[_local5[4]], thisgame.player.upgCostDoubleTurn[_local5[5]], thisgame.player.upgCostHealth[_local5[6]], thisgame.player.upgCostBomb[_local5[7]]]; var _local7:Array = [thisgame.player.upgAvLevLife[_local5[0]], thisgame.player.upgAvLevLuck[_local5[1]], thisgame.player.upgAvLevView[_local5[2]], thisgame.player.upgAvLevShield[_local5[3]], thisgame.player.upgAvLevDrop[_local5[4]], thisgame.player.upgAvLevDoubleTurn[_local5[5]], thisgame.player.upgAvLevHealth[_local5[6]], thisgame.player.upgAvLevBomb[_local5[7]]]; cashTxt.text = (("your cash: " + thisgame.player.cash) + "cr"); var _local8:Boolean; _local2 = 0; while (_local2 < picArr.length) { if (_local7[_local2] > thisgame.player.curCompLevel){ } else { if (_local6[_local2] > thisgame.player.cash){ picArr[_local2].costTxt.setTextFormat(_local3); } else { picArr[_local2].costTxt.setTextFormat(_local4); }; if ((((((((mX >= picArr[_local2].x)) && ((mX <= (picArr[_local2].x + picArr[_local2].width))))) && ((mY >= (picArr[_local2].y + 19))))) && ((mY <= (picArr[_local2].y + picArr[_local2].height))))){ GameFrame(parent.parent).tip.showTip(); GameFrame(parent.parent).tip.setTxtToAbility(_local2, (_local5[_local2] + 1)); _local8 = true; if (_local6[_local2] > thisgame.player.cash){ picArr[_local2].bg.gotoAndStop(3); } else { picArr[_local2].bg.gotoAndStop(2); }; } else { picArr[_local2].bg.gotoAndStop(1); }; }; _local2++; }; if (((!(_local8)) && ((x < 642)))){ GameFrame(parent.parent).tip.hideTip(); }; } } }//package main
Section 52
//whiteFader (main.whiteFader) package main { public dynamic class whiteFader extends alphaFader { } }//package main
Section 53
//playbtn (road.playbtn) package road { import flash.display.*; public dynamic class playbtn extends MovieClip { public var plbtn:SimpleButton; } }//package road
Section 54
//_tlpscr_68 (WizPuzzleWar_fla._tlpscr_68) package WizPuzzleWar_fla { import flash.display.*; public dynamic class _tlpscr_68 extends MovieClip { public function _tlpscr_68(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package WizPuzzleWar_fla
Section 55
//abPics_45 (WizPuzzleWar_fla.abPics_45) package WizPuzzleWar_fla { import flash.display.*; public dynamic class abPics_45 extends MovieClip { public function abPics_45(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 56
//bgWallpaper_17 (WizPuzzleWar_fla.bgWallpaper_17) package WizPuzzleWar_fla { import flash.display.*; public dynamic class bgWallpaper_17 extends MovieClip { public function bgWallpaper_17(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 57
//bigPl1_112 (WizPuzzleWar_fla.bigPl1_112) package WizPuzzleWar_fla { import flash.display.*; public dynamic class bigPl1_112 extends MovieClip { public function bigPl1_112(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 58
//bigPl1s_122 (WizPuzzleWar_fla.bigPl1s_122) package WizPuzzleWar_fla { import flash.display.*; public dynamic class bigPl1s_122 extends MovieClip { public function bigPl1s_122(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 59
//bigPl2_111 (WizPuzzleWar_fla.bigPl2_111) package WizPuzzleWar_fla { import flash.display.*; public dynamic class bigPl2_111 extends MovieClip { public function bigPl2_111(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 60
//bigPl2s_121 (WizPuzzleWar_fla.bigPl2s_121) package WizPuzzleWar_fla { import flash.display.*; public dynamic class bigPl2s_121 extends MovieClip { public function bigPl2s_121(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 61
//blockPic_76 (WizPuzzleWar_fla.blockPic_76) package WizPuzzleWar_fla { import flash.display.*; public dynamic class blockPic_76 extends MovieClip { public function blockPic_76(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 62
//dontShowHelp_88 (WizPuzzleWar_fla.dontShowHelp_88) package WizPuzzleWar_fla { import flash.display.*; public dynamic class dontShowHelp_88 extends MovieClip { public function dontShowHelp_88(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 63
//extraBonus_77 (WizPuzzleWar_fla.extraBonus_77) package WizPuzzleWar_fla { import flash.display.*; public dynamic class extraBonus_77 extends MovieClip { public function extraBonus_77(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 64
//FightBar1_25 (WizPuzzleWar_fla.FightBar1_25) package WizPuzzleWar_fla { import flash.display.*; public dynamic class FightBar1_25 extends MovieClip { public function FightBar1_25(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 65
//FightBar2_27 (WizPuzzleWar_fla.FightBar2_27) package WizPuzzleWar_fla { import flash.display.*; public dynamic class FightBar2_27 extends MovieClip { public function FightBar2_27(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 66
//fxLen_99 (WizPuzzleWar_fla.fxLen_99) package WizPuzzleWar_fla { import flash.display.*; public dynamic class fxLen_99 extends MovieClip { public function fxLen_99(){ addFrameScript(0, frame1); } function frame1(){ } } }//package WizPuzzleWar_fla
Section 67
//helpFrameInfo_67 (WizPuzzleWar_fla.helpFrameInfo_67) package WizPuzzleWar_fla { import flash.display.*; import main.*; public dynamic class helpFrameInfo_67 extends MovieClip { public var b3:block; public var e1:MovieClip; public var e2:MovieClip; public var e3:MovieClip; public var e4:MovieClip; public var e5:MovieClip; public var e6:MovieClip; public var b4:block; public var b1:block; public var b2:block; public function helpFrameInfo_67(){ addFrameScript(0, frame1, 5, frame6); } function frame6(){ this.b1.blockPic.gotoAndStop(1); this.b2.blockPic.gotoAndStop(2); this.b3.blockPic.gotoAndStop(3); this.b4.blockPic.gotoAndStop(4); this.b1.extraBonus.gotoAndStop(2); this.b2.extraBonus.gotoAndStop(3); this.b3.extraBonus.gotoAndStop(4); this.b4.extraBonus.gotoAndStop(5); this.e1.gotoAndStop(2); this.e2.gotoAndStop(3); this.e3.gotoAndStop(4); this.e4.gotoAndStop(5); this.e5.gotoAndStop(6); this.e6.gotoAndStop(7); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 68
//notShow_78 (WizPuzzleWar_fla.notShow_78) package WizPuzzleWar_fla { import flash.display.*; public dynamic class notShow_78 extends MovieClip { public function notShow_78(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package WizPuzzleWar_fla
Section 69
//og_logo_13 (WizPuzzleWar_fla.og_logo_13) package WizPuzzleWar_fla { import flash.display.*; public dynamic class og_logo_13 extends MovieClip { public function og_logo_13(){ addFrameScript(84, frame85); } function frame85(){ stop(); } } }//package WizPuzzleWar_fla
Section 70
//og_logo_text_14 (WizPuzzleWar_fla.og_logo_text_14) package WizPuzzleWar_fla { import flash.display.*; public dynamic class og_logo_text_14 extends MovieClip { public function og_logo_text_14(){ addFrameScript(42, frame43); } function frame43(){ stop(); } } }//package WizPuzzleWar_fla
Section 71
//onlinegamercc_logo_12 (WizPuzzleWar_fla.onlinegamercc_logo_12) package WizPuzzleWar_fla { import flash.display.*; public dynamic class onlinegamercc_logo_12 extends MovieClip { public function onlinegamercc_logo_12(){ addFrameScript(237, frame238); } function frame238(){ stop(); } } }//package WizPuzzleWar_fla
Section 72
//picMark_20 (WizPuzzleWar_fla.picMark_20) package WizPuzzleWar_fla { import flash.display.*; public dynamic class picMark_20 extends MovieClip { public function picMark_20(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package WizPuzzleWar_fla
Section 73
//toysPicRow_19 (WizPuzzleWar_fla.toysPicRow_19) package WizPuzzleWar_fla { import flash.display.*; public dynamic class toysPicRow_19 extends MovieClip { public function toysPicRow_19(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 74
//upgradeBarBG_63 (WizPuzzleWar_fla.upgradeBarBG_63) package WizPuzzleWar_fla { import flash.display.*; public dynamic class upgradeBarBG_63 extends MovieClip { public function upgradeBarBG_63(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 75
//upgradeBarPoint_64 (WizPuzzleWar_fla.upgradeBarPoint_64) package WizPuzzleWar_fla { import flash.display.*; public dynamic class upgradeBarPoint_64 extends MovieClip { public function upgradeBarPoint_64(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package WizPuzzleWar_fla
Section 76
//adBoxClass (adBoxClass) package { import main.*; import flash.events.*; import flash.display.*; public dynamic class adBoxClass extends MovieClip { public var myAds:MovieClip; public function adBoxClass(){ addFrameScript(0, frame1); } public function click_Logo(_arg1:MouseEvent){ mainGlobal.toUrl("LogoAds"); } function frame1(){ myAds.buttonMode = true; myAds.addEventListener(MouseEvent.CLICK, click_Logo); } } }//package
Section 77
//adMY (adMY) package { import flash.events.*; import flash.media.*; import flash.display.*; import main.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class adMY extends MovieClip { public function adMY(){ addFrameScript(0, frame1); } public function clickHandler(_arg1:Event):void{ ach.getAch("sponsor"); navigateToURL(new URLRequest("http://www.onlinegamer.cc?utm_source=Escaped&utm_medium=inWinLoseMenu"), "_blank"); } function frame1(){ addEventListener(MouseEvent.CLICK, clickHandler); this.ButtonMode = true; } } }//package
Section 78
//bad_1 (bad_1) package { import flash.media.*; public dynamic class bad_1 extends Sound { } }//package
Section 79
//bad_2 (bad_2) package { import flash.media.*; public dynamic class bad_2 extends Sound { } }//package
Section 80
//badAttack1 (badAttack1) package { import flash.media.*; public dynamic class badAttack1 extends Sound { } }//package
Section 81
//badAttack2 (badAttack2) package { import flash.media.*; public dynamic class badAttack2 extends Sound { } }//package
Section 82
//bads_angel_happy_1 (bads_angel_happy_1) package { import flash.media.*; public dynamic class bads_angel_happy_1 extends Sound { } }//package
Section 83
//bads_angel_happy_2 (bads_angel_happy_2) package { import flash.media.*; public dynamic class bads_angel_happy_2 extends Sound { } }//package
Section 84
//bads_demon_happy_1 (bads_demon_happy_1) package { import flash.media.*; public dynamic class bads_demon_happy_1 extends Sound { } }//package
Section 85
//bads_demon_sad_1 (bads_demon_sad_1) package { import flash.media.*; public dynamic class bads_demon_sad_1 extends Sound { } }//package
Section 86
//bads_demon_sad_2 (bads_demon_sad_2) package { import flash.media.*; public dynamic class bads_demon_sad_2 extends Sound { } }//package
Section 87
//bads_grund_happy_1 (bads_grund_happy_1) package { import flash.media.*; public dynamic class bads_grund_happy_1 extends Sound { } }//package
Section 88
//bads_grund_happy_2 (bads_grund_happy_2) package { import flash.media.*; public dynamic class bads_grund_happy_2 extends Sound { } }//package
Section 89
//bads_grund_sad_1 (bads_grund_sad_1) package { import flash.media.*; public dynamic class bads_grund_sad_1 extends Sound { } }//package
Section 90
//bads_man_happy_1 (bads_man_happy_1) package { import flash.media.*; public dynamic class bads_man_happy_1 extends Sound { } }//package
Section 91
//bads_man_happy_2 (bads_man_happy_2) package { import flash.media.*; public dynamic class bads_man_happy_2 extends Sound { } }//package
Section 92
//bads_man_sad_1 (bads_man_sad_1) package { import flash.media.*; public dynamic class bads_man_sad_1 extends Sound { } }//package
Section 93
//bads_man_sad_2 (bads_man_sad_2) package { import flash.media.*; public dynamic class bads_man_sad_2 extends Sound { } }//package
Section 94
//bads_mandead_happy_1 (bads_mandead_happy_1) package { import flash.media.*; public dynamic class bads_mandead_happy_1 extends Sound { } }//package
Section 95
//bads_mandead_happy_2 (bads_mandead_happy_2) package { import flash.media.*; public dynamic class bads_mandead_happy_2 extends Sound { } }//package
Section 96
//bads_mandead_sad_1 (bads_mandead_sad_1) package { import flash.media.*; public dynamic class bads_mandead_sad_1 extends Sound { } }//package
Section 97
//bads_mandead_sad_2 (bads_mandead_sad_2) package { import flash.media.*; public dynamic class bads_mandead_sad_2 extends Sound { } }//package
Section 98
//bads_skel_happy_1 (bads_skel_happy_1) package { import flash.media.*; public dynamic class bads_skel_happy_1 extends Sound { } }//package
Section 99
//bads_skel_happy_2 (bads_skel_happy_2) package { import flash.media.*; public dynamic class bads_skel_happy_2 extends Sound { } }//package
Section 100
//bads_skel_sad_1 (bads_skel_sad_1) package { import flash.media.*; public dynamic class bads_skel_sad_1 extends Sound { } }//package
Section 101
//bads_skel_sad_2 (bads_skel_sad_2) package { import flash.media.*; public dynamic class bads_skel_sad_2 extends Sound { } }//package
Section 102
//bads_woman_happy_1 (bads_woman_happy_1) package { import flash.media.*; public dynamic class bads_woman_happy_1 extends Sound { } }//package
Section 103
//bads_woman_happy_2 (bads_woman_happy_2) package { import flash.media.*; public dynamic class bads_woman_happy_2 extends Sound { } }//package
Section 104
//bads_woman_sad_1 (bads_woman_sad_1) package { import flash.media.*; public dynamic class bads_woman_sad_1 extends Sound { } }//package
Section 105
//bads_woman_sad_2 (bads_woman_sad_2) package { import flash.media.*; public dynamic class bads_woman_sad_2 extends Sound { } }//package
Section 106
//bads_womanlight_happy_1 (bads_womanlight_happy_1) package { import flash.media.*; public dynamic class bads_womanlight_happy_1 extends Sound { } }//package
Section 107
//bads_womanlight_happy_2 (bads_womanlight_happy_2) package { import flash.media.*; public dynamic class bads_womanlight_happy_2 extends Sound { } }//package
Section 108
//bads_womanlight_sad_1 (bads_womanlight_sad_1) package { import flash.media.*; public dynamic class bads_womanlight_sad_1 extends Sound { } }//package
Section 109
//bads_womanlight_sad_2 (bads_womanlight_sad_2) package { import flash.media.*; public dynamic class bads_womanlight_sad_2 extends Sound { } }//package
Section 110
//buyno (buyno) package { import flash.media.*; public dynamic class buyno extends Sound { } }//package
Section 111
//buysnd (buysnd) package { import flash.media.*; public dynamic class buysnd extends Sound { } }//package
Section 112
//good_1 (good_1) package { import flash.media.*; public dynamic class good_1 extends Sound { } }//package
Section 113
//good_2 (good_2) package { import flash.media.*; public dynamic class good_2 extends Sound { } }//package
Section 114
//keyv (keyv) package { import flash.media.*; public dynamic class keyv extends Sound { } }//package
Section 115
//mainClass (mainClass) package { import main.*; import flash.filters.*; import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; import CPMStar.*; import flash.text.*; import flash.utils.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class mainClass extends MovieClip { public var my_cMenu:ContextMenu; public var myLogoPreload:MovieClip; public var timerLogo2:Timer; public var ad:DisplayObject; public var my_link2; public var my_link3; public var my_link4; public var my_link5; public var my_link6; public var my_link7; public var my_link1; public var adBox:adBoxClass; public var CPMStarContentSpotID:String; public var twButt:SimpleButton; public var wFader:whiteFader; public var achInfoClip:achInfo; public var sponsorLogo:MovieClip; public var fbButt:SimpleButton; public var preloader:preloader; public var myLogo:MovieClip; public var allmc:GameFrame; public function mainClass(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } public function click_fbButt(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.facebook.com/OnlineGamer.cc"), "_blank"); } public function clickMyLogo(_arg1:MouseEvent){ mainGlobal.toUrl("splash"); } public function clickMyGamPreload(_arg1:MouseEvent){ mainGlobal.toUrl("preloaderLogo"); } public function openLink1(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuOG"); } public function openLink2(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuShooter", "http://onlinegamer.cc/cat/3/Shooter/newest-1.html"); } public function openLink3(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuAction", "http://onlinegamer.cc/cat/2/Action/newest-1.html"); } public function openLink7(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuAdventure", "http://onlinegamer.cc/cat/8/Adventure/newest-1.html"); } public function openLink4(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuPuzzle", "http://onlinegamer.cc/cat/6/Puzzle/newest-1.html"); } public function openLink5(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuDriving", "http://onlinegamer.cc/cat/10/Driving/newest-1.html"); } public function openLink6(_arg1:ContextMenuEvent):void{ mainGlobal.toUrl("contextMenuStrategy", "http://onlinegamer.cc/cat/4/Strategy/newest-1.html"); } public function click_twButt(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://twitter.com/#!/OnlineGamer_cc"), "_blank"); } function frame1(){ stop(); my_cMenu = new ContextMenu(); my_cMenu.hideBuiltInItems(); my_link1 = new ContextMenuItem("OnlineGamer.cc"); my_link1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink1); my_cMenu.customItems.push(my_link1); my_link2 = new ContextMenuItem("Shooter Games"); my_link2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink2); my_cMenu.customItems.push(my_link2); my_link3 = new ContextMenuItem("Action Games"); my_link3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink3); my_cMenu.customItems.push(my_link3); my_link4 = new ContextMenuItem("Puzzle Games"); my_link4.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink4); my_cMenu.customItems.push(my_link4); my_link5 = new ContextMenuItem("Driving Games"); my_link5.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink5); my_cMenu.customItems.push(my_link5); my_link6 = new ContextMenuItem("Strategy Games"); my_link6.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink6); my_cMenu.customItems.push(my_link6); my_link7 = new ContextMenuItem("Adventure Games"); my_link7.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink7); my_cMenu.customItems.push(my_link7); contextMenu = my_cMenu; myLogoPreload.buttonMode = true; myLogoPreload.useHandCursor = false; myLogoPreload.addEventListener(MouseEvent.CLICK, clickMyGamPreload); mainGlobal._url = stage.loaderInfo.loaderURL; mainGlobal.noAds = ((preloader.isUrl(["kongregate.com", "www.kongregate.com"])) || (preloader.isUrl(["flashgamelicense.com", "www.flashgamelicense.com"]))); if (!mainGlobal.noAds){ CPMStarContentSpotID = "5969QC6D3E53E"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); }; MochiBot.track(this, "dcea0604"); twButt.addEventListener(MouseEvent.CLICK, click_twButt); fbButt.addEventListener(MouseEvent.CLICK, click_fbButt); } function frame3(){ stop(); timerLogo2 = new Timer(8000, 1); timerLogo2.start(); timerLogo2.addEventListener(TimerEvent.TIMER, timerLogo2_Timer); myLogo.buttonMode = true; myLogo.addEventListener(MouseEvent.CLICK, clickMyLogo); musicEnv.init(); musicEnv.fadeTo("musMenu"); } function frame4(){ wFader.fadeSpeed = 0.02; wFader.startFadeOut(); stop(); achInfoClip.fadeSpeed = 0.05; achInfoClip.visible = false; ach.init(achInfoClip); } public function timerLogo2_Timer(_arg1:TimerEvent):void{ play(); } function frame2(){ } } }//package
Section 116
//musGame1 (musGame1) package { import flash.media.*; public dynamic class musGame1 extends Sound { } }//package
Section 117
//musGame2 (musGame2) package { import flash.media.*; public dynamic class musGame2 extends Sound { } }//package
Section 118
//musGame3 (musGame3) package { import flash.media.*; public dynamic class musGame3 extends Sound { } }//package
Section 119
//musLost (musLost) package { import flash.media.*; public dynamic class musLost extends Sound { } }//package
Section 120
//musMenu (musMenu) package { import flash.media.*; public dynamic class musMenu extends Sound { } }//package
Section 121
//paper01 (paper01) package { import flash.media.*; public dynamic class paper01 extends Sound { } }//package
Section 122
//paper02 (paper02) package { import flash.media.*; public dynamic class paper02 extends Sound { } }//package
Section 123
//paper03 (paper03) package { import flash.media.*; public dynamic class paper03 extends Sound { } }//package
Section 124
//paper04 (paper04) package { import flash.media.*; public dynamic class paper04 extends Sound { } }//package
Section 125
//pistolShoot1 (pistolShoot1) package { import flash.media.*; public dynamic class pistolShoot1 extends Sound { } }//package
Section 126
//pistolShoot2 (pistolShoot2) package { import flash.media.*; public dynamic class pistolShoot2 extends Sound { } }//package
Section 127
//snd_abBomb (snd_abBomb) package { import flash.media.*; public dynamic class snd_abBomb extends Sound { } }//package
Section 128
//snd_abDrop (snd_abDrop) package { import flash.media.*; public dynamic class snd_abDrop extends Sound { } }//package
Section 129
//snd_abHealth (snd_abHealth) package { import flash.media.*; public dynamic class snd_abHealth extends Sound { } }//package
Section 130
//snd_abRev (snd_abRev) package { import flash.media.*; public dynamic class snd_abRev extends Sound { } }//package
Section 131
//snd_abShield (snd_abShield) package { import flash.media.*; public dynamic class snd_abShield extends Sound { } }//package
Section 132
//snd_abView (snd_abView) package { import flash.media.*; public dynamic class snd_abView extends Sound { } }//package
Section 133
//snd_ach (snd_ach) package { import flash.media.*; public dynamic class snd_ach extends Sound { } }//package
Section 134
//snd_Lucked (snd_Lucked) package { import flash.media.*; public dynamic class snd_Lucked extends Sound { } }//package
Section 135
//snd_shieldBlocked (snd_shieldBlocked) package { import flash.media.*; public dynamic class snd_shieldBlocked extends Sound { } }//package
Section 136
//snd_toyBlock01 (snd_toyBlock01) package { import flash.media.*; public dynamic class snd_toyBlock01 extends Sound { } }//package
Section 137
//snd_toyBlock02 (snd_toyBlock02) package { import flash.media.*; public dynamic class snd_toyBlock02 extends Sound { } }//package
Section 138
//snd_toyBlock03 (snd_toyBlock03) package { import flash.media.*; public dynamic class snd_toyBlock03 extends Sound { } }//package
Section 139
//snd_toyBlock04 (snd_toyBlock04) package { import flash.media.*; public dynamic class snd_toyBlock04 extends Sound { } }//package
Section 140
//snd_toyBlock05 (snd_toyBlock05) package { import flash.media.*; public dynamic class snd_toyBlock05 extends Sound { } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:6 251
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:6 599 619 659
Symbol 6 MovieClipUses:2 5Used by:Timeline
Symbol 7 FontUsed by:8
Symbol 8 EditableTextUses:7Used by:20
Symbol 9 GraphicUsed by:12
Symbol 10 ShapeTweeningUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:9 10 11Used by:20
Symbol 13 FontUsed by:14 15 191 192 195 309 373 374 375 379 381 382 394 395 400 401 402 404 405 406 408 409 410 412 413 414 416 417 418 422 423 425 426 428 429 431 433 435 437 439 441 442 445 458 463 468 469 470 471 527 530 531 582 584 585 586 588 589 590 595 600 601 604 605 607 608 610 611 612 630 636 637 639 649 652 653 655 656 658 661 664 666 667 694 695 701 705 706 707 711
Symbol 14 TextUses:13Used by:19
Symbol 15 TextUses:13Used by:19
Symbol 16 GraphicUsed by:19
Symbol 17 FontUsed by:18 295 301 377 430 432 434 436 438 440 592 602 640 641 642 643 644 645 646 647 648 651 670 671 673 674 676 677 679 680 687 692
Symbol 18 TextUses:17Used by:19
Symbol 19 ButtonUses:14 15 16 18Used by:20
Symbol 20 MovieClip {main.preloader}Uses:8 12 19Used by:Timeline
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:24
Symbol 24 MovieClip {adBoxClass}Uses:23Used by:Timeline
Symbol 25 BitmapUsed by:26 30
Symbol 26 GraphicUses:25Used by:31
Symbol 27 FontUsed by:28 29 34 35 40 41 42 43 44
Symbol 28 TextUses:27Used by:31
Symbol 29 TextUses:27Used by:31
Symbol 30 GraphicUses:25Used by:31
Symbol 31 ButtonUses:26 28 29 30Used by:619  Timeline
Symbol 32 BitmapUsed by:33 36
Symbol 33 GraphicUses:32Used by:37
Symbol 34 TextUses:27Used by:37
Symbol 35 TextUses:27Used by:37
Symbol 36 GraphicUses:32Used by:37
Symbol 37 ButtonUses:33 34 35 36Used by:619  Timeline
Symbol 38 GraphicUsed by:Timeline
Symbol 39 FontUsed by:40 41 42 43 44
Symbol 40 EditableTextUses:27 39Used by:Timeline
Symbol 41 EditableTextUses:27 39Used by:Timeline
Symbol 42 EditableTextUses:27 39Used by:Timeline
Symbol 43 EditableTextUses:27 39Used by:Timeline
Symbol 44 EditableTextUses:27 39Used by:Timeline
Symbol 45 Sound {snd_toyBlock05}
Symbol 46 Sound {snd_toyBlock04}
Symbol 47 Sound {snd_toyBlock03}
Symbol 48 Sound {snd_toyBlock02}
Symbol 49 Sound {snd_toyBlock01}
Symbol 50 Sound {snd_shieldBlocked}
Symbol 51 Sound {pistolShoot2}
Symbol 52 Sound {pistolShoot1}
Symbol 53 Sound {paper04}
Symbol 54 Sound {paper03}
Symbol 55 Sound {paper02}
Symbol 56 Sound {paper01}
Symbol 57 Sound {musMenu}
Symbol 58 Sound {musLost}
Symbol 59 Sound {musGame3}
Symbol 60 Sound {musGame2}
Symbol 61 Sound {musGame1}
Symbol 62 Sound {snd_Lucked}
Symbol 63 Sound {good_2}
Symbol 64 Sound {good_1}
Symbol 65 Sound {buyno}
Symbol 66 Sound {buysnd}
Symbol 67 Sound {bads_womanlight_sad_2}
Symbol 68 Sound {bads_womanlight_sad_1}
Symbol 69 Sound {bads_womanlight_happy_2}
Symbol 70 Sound {bads_womanlight_happy_1}
Symbol 71 Sound {bads_woman_sad_2}
Symbol 72 Sound {bads_woman_sad_1}
Symbol 73 Sound {bads_woman_happy_2}
Symbol 74 Sound {bads_woman_happy_1}
Symbol 75 Sound {bads_skel_sad_2}
Symbol 76 Sound {bads_skel_sad_1}
Symbol 77 Sound {bads_skel_happy_2}
Symbol 78 Sound {bads_skel_happy_1}
Symbol 79 Sound {bads_mandead_sad_2}
Symbol 80 Sound {bads_mandead_sad_1}
Symbol 81 Sound {bads_mandead_happy_2}
Symbol 82 Sound {bads_mandead_happy_1}
Symbol 83 Sound {bads_man_sad_2}
Symbol 84 Sound {bads_man_sad_1}
Symbol 85 Sound {bads_man_happy_2}
Symbol 86 Sound {bads_man_happy_1}
Symbol 87 Sound {bads_grund_sad_1}
Symbol 88 Sound {bads_grund_happy_2}
Symbol 89 Sound {bads_grund_happy_1}
Symbol 90 Sound {bads_demon_sad_2}
Symbol 91 Sound {bads_demon_sad_1}
Symbol 92 Sound {bads_demon_happy_1}
Symbol 93 Sound {bads_angel_happy_2}
Symbol 94 Sound {bads_angel_happy_1}
Symbol 95 Sound {badAttack2}
Symbol 96 Sound {badAttack1}
Symbol 97 Sound {bad_2}
Symbol 98 Sound {bad_1}
Symbol 99 Sound {snd_ach}
Symbol 100 Sound {snd_abView}
Symbol 101 Sound {snd_abShield}
Symbol 102 Sound {snd_abRev}
Symbol 103 Sound {snd_abHealth}
Symbol 104 Sound {snd_abDrop}
Symbol 105 Sound {snd_abBomb}
Symbol 106 Sound {keyv}Used by:216
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:109
Symbol 109 MovieClipUses:108Used by:110
Symbol 110 MovieClip {main.fxBloodSpatters}Uses:109
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:113
Symbol 113 MovieClipUses:112Used by:114
Symbol 114 MovieClip {main.bloodFX}Uses:113
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:151
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:151
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:151
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:151
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:151
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:151
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:151
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:151
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:151
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:151
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:151
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:151
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:151
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:151
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:151
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:151
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:151
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:151
Symbol 151 MovieClip {main.shootFX}Uses:116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150
Symbol 152 GraphicUsed by:156 158 159 160
Symbol 153 GraphicUsed by:156 158 159 160
Symbol 154 GraphicUsed by:156 158 159 160
Symbol 155 GraphicUsed by:156 158 159 160
Symbol 156 MovieClipUses:152 153 154 155Used by:160
Symbol 157 GraphicUsed by:160
Symbol 158 MovieClipUses:152 153 154 155Used by:160
Symbol 159 MovieClipUses:152 153 154 155Used by:160
Symbol 160 ButtonUses:156 157 158 159 152 153 154 155Used by:161
Symbol 161 MovieClip {road.playbtn}Uses:160
Symbol 162 BitmapUsed by:163
Symbol 163 GraphicUses:162Used by:164
Symbol 164 MovieClip {adMY}Uses:163
Symbol 165 GraphicUsed by:166 197 219
Symbol 166 MovieClip {main.whiteFader}Uses:165Used by:Timeline
Symbol 167 BitmapUsed by:168 189 448
Symbol 168 GraphicUses:167Used by:169 399
Symbol 169 ButtonUses:168Used by:188 682
Symbol 170 GraphicUsed by:173
Symbol 171 GraphicUsed by:173
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClip {WizPuzzleWar_fla.upgradeBarBG_63}Uses:170 171 172Used by:185 457
Symbol 174 GraphicUsed by:185 457
Symbol 175 FontUsed by:176 623
Symbol 176 EditableTextUses:175Used by:185
Symbol 177 FontUsed by:178
Symbol 178 EditableTextUses:177Used by:185
Symbol 179 FontUsed by:180 348 349 384
Symbol 180 TextUses:179Used by:181
Symbol 181 MovieClipUses:180Used by:185
Symbol 182 FontUsed by:183 342 344 383 390
Symbol 183 TextUses:182Used by:184
Symbol 184 MovieClipUses:183Used by:185
Symbol 185 MovieClipUses:173 174 176 178 181 184Used by:188 196
Symbol 186 FontUsed by:187 190 449 451 456 614
Symbol 187 TextUses:186Used by:188
Symbol 188 MovieClip {main.achInfo}Uses:169 185 187Used by:Timeline
Symbol 189 GraphicUses:167Used by:196
Symbol 190 TextUses:186Used by:196
Symbol 191 TextUses:13Used by:194
Symbol 192 TextUses:13Used by:194
Symbol 193 GraphicUsed by:194 424 427 672 675 678 681
Symbol 194 ButtonUses:191 192 193Used by:196 459 598
Symbol 195 EditableTextUses:13Used by:196
Symbol 196 MovieClip {main.achPanel}Uses:189 190 194 195 185Used by:659
Symbol 197 MovieClipUses:165Used by:Timeline
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:217
Symbol 200 FontUsed by:201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
Symbol 201 TextUses:200Used by:216
Symbol 202 TextUses:200Used by:216
Symbol 203 TextUses:200Used by:216
Symbol 204 TextUses:200Used by:216
Symbol 205 TextUses:200Used by:216
Symbol 206 TextUses:200Used by:216
Symbol 207 TextUses:200Used by:216
Symbol 208 TextUses:200Used by:216
Symbol 209 TextUses:200Used by:216
Symbol 210 TextUses:200Used by:216
Symbol 211 TextUses:200Used by:216
Symbol 212 TextUses:200Used by:216
Symbol 213 TextUses:200Used by:216
Symbol 214 TextUses:200Used by:216
Symbol 215 TextUses:200Used by:216
Symbol 216 MovieClip {WizPuzzleWar_fla.og_logo_text_14}Uses:201 106 202 203 204 205 206 207 208 209 210 211 212 213 214 215Used by:217
Symbol 217 MovieClip {WizPuzzleWar_fla.og_logo_13}Uses:199 216Used by:218
Symbol 218 MovieClip {WizPuzzleWar_fla.onlinegamercc_logo_12}Uses:217Used by:219
Symbol 219 MovieClipUses:165 218Used by:Timeline
Symbol 220 GraphicUsed by:Timeline
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:251
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:251
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:251
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:251
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:251
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:251
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:251
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:235Used by:251
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:251
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:251
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:251
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:251
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:251
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:251
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:251 698
Symbol 251 MovieClip {WizPuzzleWar_fla.bgWallpaper_17}Uses:2 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250Used by:599 619 683 713
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:286
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:286
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:286
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:286
Symbol 260 BitmapUsed by:261
Symbol 261 GraphicUses:260Used by:286
Symbol 262 BitmapUsed by:263
Symbol 263 GraphicUses:262Used by:286
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:286
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:286
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:286
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:286
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:286
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:286
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:286
Symbol 278 BitmapUsed by:279
Symbol 279 GraphicUses:278Used by:286
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:286
Symbol 282 BitmapUsed by:283 663 689
Symbol 283 GraphicUses:282Used by:286
Symbol 284 BitmapUsed by:285 660 684
Symbol 285 GraphicUses:284Used by:286
Symbol 286 MovieClip {WizPuzzleWar_fla.toysPicRow_19}Uses:253 255 257 259 261 263 265 267 269 271 273 275 277 279 281 283 285Used by:290
Symbol 287 FontUsed by:288 578
Symbol 288 TextUses:287Used by:289
Symbol 289 MovieClip {WizPuzzleWar_fla.picMark_20}Uses:288Used by:290 626
Symbol 290 MovieClipUses:286 289Used by:599 659
Symbol 291 GraphicUsed by:296
Symbol 292 ShapeTweeningUsed by:294
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:292 293Used by:296
Symbol 295 EditableTextUses:17Used by:296
Symbol 296 MovieClipUses:291 294 295Used by:599
Symbol 297 GraphicUsed by:302
Symbol 298 ShapeTweeningUsed by:300
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:298 299Used by:302
Symbol 301 EditableTextUses:17Used by:302
Symbol 302 MovieClipUses:297 300 301Used by:599
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:303Used by:305
Symbol 305 MovieClip {WizPuzzleWar_fla.FightBar1_25}Uses:304Used by:599
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:306Used by:308
Symbol 308 MovieClip {WizPuzzleWar_fla.FightBar2_27}Uses:307Used by:599
Symbol 309 EditableTextUses:13Used by:599
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:310Used by:312
Symbol 312 MovieClip {main.gamefield}Uses:311Used by:599
Symbol 313 FontUsed by:314 315 370 452 669
Symbol 314 EditableTextUses:313Used by:599
Symbol 315 EditableTextUses:313Used by:599
Symbol 316 GraphicUsed by:333
Symbol 317 GraphicUsed by:333
Symbol 318 GraphicUsed by:333
Symbol 319 GraphicUsed by:333
Symbol 320 GraphicUsed by:333
Symbol 321 GraphicUsed by:333
Symbol 322 GraphicUsed by:333
Symbol 323 GraphicUsed by:333
Symbol 324 GraphicUsed by:333
Symbol 325 GraphicUsed by:333
Symbol 326 GraphicUsed by:333
Symbol 327 GraphicUsed by:333
Symbol 328 GraphicUsed by:333
Symbol 329 GraphicUsed by:333
Symbol 330 GraphicUsed by:333
Symbol 331 GraphicUsed by:333
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClip {main.fxExplode}Uses:316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332Used by:599
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:599
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:336Used by:599
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:338Used by:340
Symbol 340 MovieClip {main.fxHealth}Uses:339Used by:599
Symbol 341 GraphicUsed by:346 356 361 365 369
Symbol 342 TextUses:182Used by:346
Symbol 343 GraphicUsed by:346 351 356 361 365 369
Symbol 344 TextUses:182Used by:346
Symbol 345 GraphicUsed by:346
Symbol 346 Button {main.abBombButt}Uses:341 342 343 344 345Used by:599
Symbol 347 GraphicUsed by:351
Symbol 348 TextUses:179Used by:351
Symbol 349 TextUses:179Used by:351
Symbol 350 GraphicUsed by:351
Symbol 351 Button {main.abHealthButt}Uses:347 348 343 349 350Used by:599
Symbol 352 FontUsed by:353 354 385
Symbol 353 TextUses:352Used by:356
Symbol 354 TextUses:352Used by:356
Symbol 355 GraphicUsed by:356
Symbol 356 Button {main.abRevButt}Uses:341 353 343 354 355Used by:599
Symbol 357 FontUsed by:358 359 362 363 366 367 386 387 388 389
Symbol 358 TextUses:357Used by:361
Symbol 359 TextUses:357Used by:361
Symbol 360 GraphicUsed by:361
Symbol 361 Button {main.abViewButt}Uses:341 358 343 359 360Used by:599
Symbol 362 TextUses:357Used by:365
Symbol 363 TextUses:357Used by:365
Symbol 364 GraphicUsed by:365
Symbol 365 Button {main.abShieldButt}Uses:341 362 343 363 364Used by:599
Symbol 366 TextUses:357Used by:369
Symbol 367 TextUses:357Used by:369
Symbol 368 GraphicUsed by:369
Symbol 369 Button {main.abFreshButt}Uses:341 366 343 367 368Used by:599
Symbol 370 EditableTextUses:313Used by:599
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:371Used by:599
Symbol 373 TextUses:13Used by:378
Symbol 374 TextUses:13Used by:378
Symbol 375 TextUses:13Used by:378
Symbol 376 GraphicUsed by:378 403 407 411 415 553 587 591 603 606 609 613 638 654 657
Symbol 377 TextUses:17Used by:378 403 407 411 415 587 591
Symbol 378 ButtonUses:373 374 375 376 377Used by:599
Symbol 379 EditableTextUses:13Used by:599
Symbol 380 GraphicUsed by:392
Symbol 381 TextUses:13Used by:392
Symbol 382 EditableTextUses:13Used by:392
Symbol 383 TextUses:182Used by:391
Symbol 384 TextUses:179Used by:391
Symbol 385 TextUses:352Used by:391 398
Symbol 386 TextUses:357Used by:391
Symbol 387 TextUses:357Used by:391
Symbol 388 TextUses:357Used by:391 397
Symbol 389 TextUses:357Used by:391
Symbol 390 TextUses:182Used by:391
Symbol 391 MovieClip {WizPuzzleWar_fla.abPics_45}Uses:383 384 385 386 387 388 389 390Used by:392 396 457
Symbol 392 MovieClip {main.abMessagePlayer}Uses:380 381 382 391Used by:599
Symbol 393 GraphicUsed by:396
Symbol 394 TextUses:13Used by:396
Symbol 395 EditableTextUses:13Used by:396
Symbol 396 MovieClip {main.abMessageEnemy}Uses:393 394 395 391Used by:599
Symbol 397 MovieClip {main.uiShield}Uses:388Used by:599
Symbol 398 MovieClip {main.uiRev}Uses:385Used by:599
Symbol 399 MovieClipUses:168Used by:419 447
Symbol 400 TextUses:13Used by:419
Symbol 401 TextUses:13Used by:403
Symbol 402 TextUses:13Used by:403
Symbol 403 ButtonUses:401 402 376 377Used by:419
Symbol 404 TextUses:13Used by:407
Symbol 405 TextUses:13Used by:407
Symbol 406 TextUses:13Used by:407
Symbol 407 ButtonUses:404 405 406 376 377Used by:419
Symbol 408 TextUses:13Used by:411
Symbol 409 TextUses:13Used by:411
Symbol 410 TextUses:13Used by:411
Symbol 411 ButtonUses:408 409 410 376 377Used by:419
Symbol 412 TextUses:13Used by:415
Symbol 413 TextUses:13Used by:415
Symbol 414 TextUses:13Used by:415
Symbol 415 ButtonUses:412 413 414 376 377Used by:419
Symbol 416 EditableTextUses:13Used by:419
Symbol 417 EditableTextUses:13Used by:419
Symbol 418 EditableTextUses:13Used by:419
Symbol 419 MovieClip {main.gameMenu}Uses:399 400 403 407 411 415 416 417 418Used by:599
Symbol 420 GraphicUsed by:421
Symbol 421 MovieClip {main.fader50perc}Uses:420Used by:599 659 683
Symbol 422 TextUses:13Used by:424
Symbol 423 TextUses:13Used by:424
Symbol 424 ButtonUses:422 423 193Used by:447
Symbol 425 TextUses:13Used by:427
Symbol 426 TextUses:13Used by:427
Symbol 427 ButtonUses:425 426 193Used by:447 459
Symbol 428 EditableTextUses:13Used by:447
Symbol 429 TextUses:13Used by:447
Symbol 430 EditableTextUses:17Used by:447
Symbol 431 TextUses:13Used by:447
Symbol 432 EditableTextUses:17Used by:447
Symbol 433 TextUses:13Used by:447
Symbol 434 EditableTextUses:17Used by:447
Symbol 435 TextUses:13Used by:447
Symbol 436 EditableTextUses:17Used by:447
Symbol 437 TextUses:13Used by:447
Symbol 438 EditableTextUses:17Used by:447
Symbol 439 TextUses:13Used by:447
Symbol 440 EditableTextUses:17Used by:447
Symbol 441 TextUses:13Used by:444
Symbol 442 TextUses:13Used by:444
Symbol 443 GraphicUsed by:444
Symbol 444 ButtonUses:441 442 443Used by:447
Symbol 445 TextUses:13Used by:446
Symbol 446 MovieClipUses:445Used by:447
Symbol 447 MovieClipUses:399 424 427 428 429 430 431 432 433 434 435 436 437 438 439 440 444 446Used by:599
Symbol 448 GraphicUses:167Used by:459
Symbol 449 TextUses:186Used by:459
Symbol 450 GraphicUsed by:457
Symbol 451 EditableTextUses:186Used by:457
Symbol 452 EditableTextUses:313Used by:457
Symbol 453 GraphicUsed by:455
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClip {WizPuzzleWar_fla.upgradeBarPoint_64}Uses:453 454Used by:457
Symbol 456 EditableTextUses:186Used by:457
Symbol 457 MovieClipUses:450 173 174 451 452 455 391 456Used by:459
Symbol 458 EditableTextUses:13Used by:459
Symbol 459 MovieClip {main.upgradePanel}Uses:448 449 457 427 458 194Used by:599 659
Symbol 460 GraphicUsed by:598
Symbol 461 MovieClip {WizPuzzleWar_fla._tlpscr_68}Used by:583
Symbol 462 GraphicUsed by:583
Symbol 463 TextUses:13Used by:583
Symbol 464 FontUsed by:465 472 518 522 523 524 525 526 532 533 534 535 536 702
Symbol 465 TextUses:464Used by:583
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:466Used by:583
Symbol 468 TextUses:13Used by:583
Symbol 469 TextUses:13Used by:583
Symbol 470 TextUses:13Used by:583
Symbol 471 TextUses:13Used by:583
Symbol 472 TextUses:464Used by:583
Symbol 473 BitmapUsed by:474
Symbol 474 GraphicUses:473Used by:517
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:517
Symbol 477 BitmapUsed by:478
Symbol 478 GraphicUses:477Used by:517
Symbol 479 BitmapUsed by:480
Symbol 480 GraphicUses:479Used by:517
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:517
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:517
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:517
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:517
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:517
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:517
Symbol 493 BitmapUsed by:494
Symbol 494 GraphicUses:493Used by:517
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:517
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:517
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:517
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:517
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:517
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:517
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:517
Symbol 509 BitmapUsed by:510
Symbol 510 GraphicUses:509Used by:517
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:517
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:517
Symbol 515 BitmapUsed by:516
Symbol 516 GraphicUses:515Used by:517
Symbol 517 MovieClipUses:474 476 478 480 482 484 486 488 490 492 494 496 498 500 502 504 506 508 510 512 514 516Used by:583
Symbol 518 TextUses:464Used by:583
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:521
Symbol 521 MovieClipUses:520Used by:583
Symbol 522 TextUses:464Used by:583
Symbol 523 TextUses:464Used by:583
Symbol 524 TextUses:464Used by:583
Symbol 525 TextUses:464Used by:583
Symbol 526 TextUses:464Used by:583
Symbol 527 TextUses:13Used by:583
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:528Used by:583
Symbol 530 TextUses:13Used by:583
Symbol 531 TextUses:13Used by:583
Symbol 532 TextUses:464Used by:583
Symbol 533 TextUses:464Used by:583
Symbol 534 TextUses:464Used by:583
Symbol 535 TextUses:464Used by:583
Symbol 536 TextUses:464Used by:583
Symbol 537 BitmapUsed by:538
Symbol 538 GraphicUses:537Used by:539
Symbol 539 MovieClipUses:538Used by:581
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:552
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:552
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:552
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:552
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:552
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:552
Symbol 552 MovieClip {WizPuzzleWar_fla.blockPic_76}Uses:541 543 545 547 549 551Used by:581
Symbol 553 MovieClip {WizPuzzleWar_fla.notShow_78}Uses:376Used by:580
Symbol 554 GraphicUsed by:557
Symbol 555 FontUsed by:556 559 563
Symbol 556 TextUses:555Used by:557
Symbol 557 MovieClipUses:554 556Used by:580
Symbol 558 GraphicUsed by:560
Symbol 559 TextUses:555Used by:560
Symbol 560 MovieClipUses:558 559Used by:580
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:564
Symbol 563 TextUses:555Used by:564
Symbol 564 MovieClipUses:562 563Used by:580
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:569
Symbol 567 FontUsed by:568 572 576 596 703 723
Symbol 568 TextUses:567Used by:569
Symbol 569 MovieClipUses:566 568Used by:580
Symbol 570 BitmapUsed by:571
Symbol 571 GraphicUses:570Used by:573
Symbol 572 TextUses:567Used by:573
Symbol 573 MovieClipUses:571 572Used by:580
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:574Used by:577
Symbol 576 TextUses:567Used by:577
Symbol 577 MovieClipUses:575 576Used by:580
Symbol 578 TextUses:287Used by:579
Symbol 579 MovieClipUses:578Used by:580
Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}Uses:553 557 560 564 569 573 577 579Used by:581 583
Symbol 581 MovieClip {main.block}Uses:539 552 580Used by:583  Timeline
Symbol 582 TextUses:13Used by:583
Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67}Uses:461 462 463 465 467 468 469 470 471 472 517 518 521 522 523 524 525 526 527 529 530 531 532 533 534 535 536 581 580 582Used by:598
Symbol 584 TextUses:13Used by:587
Symbol 585 TextUses:13Used by:587
Symbol 586 TextUses:13Used by:587
Symbol 587 ButtonUses:584 585 586 376 377Used by:598
Symbol 588 TextUses:13Used by:591
Symbol 589 TextUses:13Used by:591
Symbol 590 TextUses:13Used by:591
Symbol 591 ButtonUses:588 589 590 376 377Used by:598
Symbol 592 EditableTextUses:17Used by:598
Symbol 593 GraphicUsed by:597
Symbol 594 GraphicUsed by:597
Symbol 595 TextUses:13Used by:597
Symbol 596 TextUses:567Used by:597
Symbol 597 MovieClip {WizPuzzleWar_fla.dontShowHelp_88}Uses:593 594 595 596Used by:598
Symbol 598 MovieClip {main.helpFrame}Uses:460 583 587 591 194 592 597Used by:599
Symbol 599 MovieClip {main.game}Uses:251 290 296 302 305 308 309 312 314 315 333 335 337 340 346 351 356 361 365 369 370 372 378 379 5 392 396 397 398 419 421 447 459 598Used by:714
Symbol 600 TextUses:13Used by:603
Symbol 601 TextUses:13Used by:603
Symbol 602 TextUses:17Used by:603 606 613
Symbol 603 ButtonUses:600 601 376 602Used by:619
Symbol 604 TextUses:13Used by:606
Symbol 605 TextUses:13Used by:606
Symbol 606 ButtonUses:604 605 376 602Used by:619
Symbol 607 TextUses:13Used by:609
Symbol 608 TextUses:13Used by:609
Symbol 609 ButtonUses:607 608 376Used by:619
Symbol 610 TextUses:13Used by:613
Symbol 611 TextUses:13Used by:613
Symbol 612 TextUses:13Used by:613
Symbol 613 ButtonUses:610 611 612 376 602Used by:619
Symbol 614 TextUses:186Used by:615
Symbol 615 MovieClipUses:614Used by:619
Symbol 616 FontUsed by:617 696
Symbol 617 TextUses:616Used by:618
Symbol 618 MovieClipUses:617Used by:619 713
Symbol 619 MovieClip {main.menuMain}Uses:251 603 606 609 613 615 618 5 31 37Used by:714
Symbol 620 BitmapUsed by:621
Symbol 621 GraphicUses:620Used by:659
Symbol 622 FontUsed by:623
Symbol 623 EditableTextUses:175 622Used by:626
Symbol 624 BitmapUsed by:625
Symbol 625 GraphicUses:624Used by:626
Symbol 626 MovieClipUses:623 625 289Used by:659
Symbol 627 BitmapUsed by:628
Symbol 628 GraphicUses:627Used by:629
Symbol 629 ButtonUses:628Used by:659
Symbol 630 TextUses:13Used by:659
Symbol 631 BitmapUsed by:632
Symbol 632 GraphicUses:631Used by:633
Symbol 633 MovieClipUses:632Used by:634
Symbol 634 MovieClipUses:633Used by:635
Symbol 635 MovieClip {WizPuzzleWar_fla.fxLen_99}Uses:634Used by:659 683
Symbol 636 TextUses:13Used by:638
Symbol 637 TextUses:13Used by:638
Symbol 638 ButtonUses:636 637 376Used by:659 683 698 713
Symbol 639 TextUses:13Used by:650
Symbol 640 EditableTextUses:17Used by:650
Symbol 641 EditableTextUses:17Used by:650
Symbol 642 EditableTextUses:17Used by:650
Symbol 643 EditableTextUses:17Used by:650
Symbol 644 EditableTextUses:17Used by:650
Symbol 645 EditableTextUses:17Used by:650
Symbol 646 EditableTextUses:17Used by:650
Symbol 647 EditableTextUses:17Used by:650
Symbol 648 EditableTextUses:17Used by:650
Symbol 649 TextUses:13Used by:650
Symbol 650 MovieClipUses:639 640 641 642 643 644 645 646 647 648 649Used by:659
Symbol 651 EditableTextUses:17Used by:659
Symbol 652 TextUses:13Used by:654
Symbol 653 TextUses:13Used by:654
Symbol 654 ButtonUses:652 653 376Used by:659
Symbol 655 TextUses:13Used by:657
Symbol 656 TextUses:13Used by:657
Symbol 657 ButtonUses:655 656 376Used by:659
Symbol 658 EditableTextUses:13Used by:659
Symbol 659 MovieClip {main.menuChoose}Uses:621 626 290 629 630 635 638 650 651 654 657 658 5 421 196 459Used by:714
Symbol 660 GraphicUses:284Used by:662
Symbol 661 TextUses:13Used by:662
Symbol 662 MovieClip {WizPuzzleWar_fla.bigPl2_111}Uses:660 661Used by:683
Symbol 663 GraphicUses:282Used by:665
Symbol 664 TextUses:13Used by:665
Symbol 665 MovieClip {WizPuzzleWar_fla.bigPl1_112}Uses:663 664Used by:683
Symbol 666 TextUses:13Used by:683
Symbol 667 TextUses:13Used by:668
Symbol 668 MovieClipUses:667Used by:683
Symbol 669 TextUses:313Used by:682
Symbol 670 TextUses:17Used by:672
Symbol 671 TextUses:17Used by:672
Symbol 672 ButtonUses:670 671 193Used by:682
Symbol 673 TextUses:17Used by:675
Symbol 674 TextUses:17Used by:675
Symbol 675 ButtonUses:673 674 193Used by:682
Symbol 676 TextUses:17Used by:678
Symbol 677 TextUses:17Used by:678
Symbol 678 ButtonUses:676 677 193Used by:682
Symbol 679 TextUses:17Used by:681
Symbol 680 TextUses:17Used by:681
Symbol 681 ButtonUses:679 680 193Used by:682
Symbol 682 MovieClipUses:169 669 672 675 678 681Used by:683
Symbol 683 MovieClip {main.menuChooseChar}Uses:251 662 665 666 638 635 668 421 682Used by:714
Symbol 684 GraphicUses:284Used by:688
Symbol 685 BitmapUsed by:686
Symbol 686 GraphicUses:685Used by:688
Symbol 687 TextUses:17Used by:688
Symbol 688 MovieClip {WizPuzzleWar_fla.bigPl2s_121}Uses:684 686 687Used by:698
Symbol 689 GraphicUses:282Used by:693
Symbol 690 BitmapUsed by:691
Symbol 691 GraphicUses:690Used by:693
Symbol 692 TextUses:17Used by:693
Symbol 693 MovieClip {WizPuzzleWar_fla.bigPl1s_122}Uses:689 691 692Used by:698
Symbol 694 TextUses:13Used by:698
Symbol 695 TextUses:13Used by:698
Symbol 696 TextUses:616Used by:697
Symbol 697 MovieClipUses:696Used by:698
Symbol 698 MovieClip {main.menuWinner}Uses:250 688 693 638 694 695 697Used by:714
Symbol 699 GraphicUsed by:700
Symbol 700 MovieClipUses:699Used by:704
Symbol 701 EditableTextUses:13Used by:704
Symbol 702 EditableTextUses:464Used by:704
Symbol 703 EditableTextUses:567Used by:704
Symbol 704 MovieClip {main.hlpTip}Uses:700 701 702 703Used by:714
Symbol 705 TextUses:13Used by:713
Symbol 706 TextUses:13Used by:713
Symbol 707 TextUses:13Used by:713
Symbol 708 BitmapUsed by:709
Symbol 709 GraphicUses:708Used by:710
Symbol 710 MovieClipUses:709Used by:713
Symbol 711 TextUses:13Used by:712
Symbol 712 MovieClipUses:711Used by:713
Symbol 713 MovieClip {main.menuMainCredits}Uses:251 638 618 705 706 707 710 712Used by:714
Symbol 714 MovieClip {main.GameFrame}Uses:599 619 659 683 698 704 713Used by:Timeline
Symbol 715 GraphicUsed by:716
Symbol 716 MovieClip {main.pathPoint}Uses:715Used by:Timeline
Symbol 717 GraphicUsed by:718
Symbol 718 MovieClip {main.pathLine}Uses:717Used by:Timeline
Symbol 719 GraphicUsed by:720
Symbol 720 MovieClip {main.pathPointEnemy}Uses:719Used by:Timeline
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClip {main.pathPointPlayer}Uses:721Used by:Timeline
Symbol 723 TextUses:567Used by:724
Symbol 724 MovieClipUses:723Used by:725
Symbol 725 MovieClip {main.LuckFX}Uses:724Used by:Timeline

Instance Names

"myLogoPreload"Frame 1Symbol 6 MovieClip
"preloader"Frame 1Symbol 20 MovieClip {main.preloader}
"adBox"Frame 1Symbol 24 MovieClip {adBoxClass}
"twButt"Frame 1Symbol 31 Button
"fbButt"Frame 1Symbol 37 Button
"sponsorLogo"Frame 2Symbol 197 MovieClip
"myLogo"Frame 3Symbol 219 MovieClip
"allmc"Frame 4Symbol 714 MovieClip {main.GameFrame}
"achInfoClip"Frame 4Symbol 188 MovieClip {main.achInfo}
"wFader"Frame 4Symbol 166 MovieClip {main.whiteFader}
"myLogoPreload"Symbol 6 MovieClip Frame 1Symbol 5 MovieClip
"txt"Symbol 20 MovieClip {main.preloader} Frame 1Symbol 8 EditableText
"progressBar"Symbol 20 MovieClip {main.preloader} Frame 1Symbol 12 MovieClip
"playButt"Symbol 20 MovieClip {main.preloader} Frame 2Symbol 19 Button
"myAds"Symbol 24 MovieClip {adBoxClass} Frame 1Symbol 23 MovieClip
"plbtn"Symbol 161 MovieClip {road.playbtn} Frame 1Symbol 160 Button
"bg"Symbol 185 MovieClip Frame 1Symbol 173 MovieClip {WizPuzzleWar_fla.upgradeBarBG_63}
"titleTxt"Symbol 185 MovieClip Frame 1Symbol 176 EditableText
"descTxt"Symbol 185 MovieClip Frame 1Symbol 178 EditableText
"achNo"Symbol 185 MovieClip Frame 1Symbol 181 MovieClip
"achYes"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"achObj"Symbol 188 MovieClip {main.achInfo} Frame 1Symbol 185 MovieClip
"buttClose"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 194 Button
"cashTxt"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 195 EditableText
"ach0"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach1"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach2"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach3"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach4"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach5"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach7"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach8"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach9"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach10"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach11"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach12"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach6"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"ach13"Symbol 196 MovieClip {main.achPanel} Frame 1Symbol 185 MovieClip
"picRow"Symbol 290 MovieClip Frame 1Symbol 286 MovieClip {WizPuzzleWar_fla.toysPicRow_19}
"mark"Symbol 290 MovieClip Frame 1Symbol 289 MovieClip {WizPuzzleWar_fla.picMark_20}
"expbar"Symbol 296 MovieClip Frame 1Symbol 294 MovieClip
"txt"Symbol 296 MovieClip Frame 1Symbol 295 EditableText
"expbar"Symbol 302 MovieClip Frame 1Symbol 300 MovieClip
"txt"Symbol 302 MovieClip Frame 1Symbol 301 EditableText
"gfBG"Symbol 312 MovieClip {main.gamefield} Frame 1Symbol 311 MovieClip
"abName"Symbol 392 MovieClip {main.abMessagePlayer} Frame 1Symbol 382 EditableText
"abPic"Symbol 392 MovieClip {main.abMessagePlayer} Frame 1Symbol 391 MovieClip {WizPuzzleWar_fla.abPics_45}
"abName"Symbol 396 MovieClip {main.abMessageEnemy} Frame 1Symbol 395 EditableText
"abPic"Symbol 396 MovieClip {main.abMessageEnemy} Frame 1Symbol 391 MovieClip {WizPuzzleWar_fla.abPics_45}
"buttMusic"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 403 Button
"buttSound"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 407 Button
"buttQuality"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 411 Button
"buttExit"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 415 Button
"musOnOff"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 416 EditableText
"sndOnOff"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 417 EditableText
"quaTxt"Symbol 419 MovieClip {main.gameMenu} Frame 1Symbol 418 EditableText
"repButt"Symbol 447 MovieClip Frame 1Symbol 424 Button
"nextButt"Symbol 447 MovieClip Frame 1Symbol 427 Button
"panelTitle"Symbol 447 MovieClip Frame 1Symbol 428 EditableText
"txtMaxChain"Symbol 447 MovieClip Frame 1Symbol 430 EditableText
"txtAvrChain"Symbol 447 MovieClip Frame 1Symbol 432 EditableText
"txtColCash"Symbol 447 MovieClip Frame 1Symbol 434 EditableText
"txtPrizeCash"Symbol 447 MovieClip Frame 1Symbol 436 EditableText
"txtTotalCash"Symbol 447 MovieClip Frame 1Symbol 438 EditableText
"txtTotalTurns"Symbol 447 MovieClip Frame 1Symbol 440 EditableText
"buttExit"Symbol 447 MovieClip Frame 1Symbol 444 Button
"tipLose"Symbol 447 MovieClip Frame 1Symbol 446 MovieClip
"bg"Symbol 457 MovieClip Frame 1Symbol 173 MovieClip {WizPuzzleWar_fla.upgradeBarBG_63}
"titleTxt"Symbol 457 MovieClip Frame 1Symbol 451 EditableText
"costTxt"Symbol 457 MovieClip Frame 1Symbol 452 EditableText
"p1"Symbol 457 MovieClip Frame 1Symbol 455 MovieClip {WizPuzzleWar_fla.upgradeBarPoint_64}
"p2"Symbol 457 MovieClip Frame 1Symbol 455 MovieClip {WizPuzzleWar_fla.upgradeBarPoint_64}
"p3"Symbol 457 MovieClip Frame 1Symbol 455 MovieClip {WizPuzzleWar_fla.upgradeBarPoint_64}
"p4"Symbol 457 MovieClip Frame 1Symbol 455 MovieClip {WizPuzzleWar_fla.upgradeBarPoint_64}
"p5"Symbol 457 MovieClip Frame 1Symbol 455 MovieClip {WizPuzzleWar_fla.upgradeBarPoint_64}
"pic"Symbol 457 MovieClip Frame 1Symbol 391 MovieClip {WizPuzzleWar_fla.abPics_45}
"infoTxt"Symbol 457 MovieClip Frame 1Symbol 456 EditableText
"upgrade1"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade2"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade3"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade4"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade5"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade6"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade7"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"upgrade8"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 457 MovieClip
"buttUpgNext"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 427 Button
"cashTxt"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 458 EditableText
"buttClose"Symbol 459 MovieClip {main.upgradePanel} Frame 1Symbol 194 Button
"blockPic"Symbol 581 MovieClip {main.block} Frame 1Symbol 552 MovieClip {WizPuzzleWar_fla.blockPic_76}
"extraBonus"Symbol 581 MovieClip {main.block} Frame 1Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"b1"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 581 MovieClip {main.block}
"b2"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 581 MovieClip {main.block}
"b3"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 581 MovieClip {main.block}
"b4"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 581 MovieClip {main.block}
"e1"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"e2"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"e3"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"e4"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"e5"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"e6"Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67} Frame 6Symbol 580 MovieClip {WizPuzzleWar_fla.extraBonus_77}
"inf"Symbol 598 MovieClip {main.helpFrame} Frame 1Symbol 583 MovieClip {WizPuzzleWar_fla.helpFrameInfo_67}
"hlpPrev"Symbol 598 MovieClip {main.helpFrame} Frame 1Symbol 587 Button
"hlpNext"Symbol 598 MovieClip {main.helpFrame} Frame 1Symbol 591 Button
"hlpClose"Symbol 598 MovieClip {main.helpFrame} Frame 1Symbol 194 Button
"txtPage"Symbol 598 MovieClip {main.helpFrame} Frame 1Symbol 592 EditableText
"dontShow"Symbol 598 MovieClip {main.helpFrame} Frame 1Symbol 597 MovieClip {WizPuzzleWar_fla.dontShowHelp_88}
"bg"Symbol 599 MovieClip {main.game} Frame 1Symbol 251 MovieClip {WizPuzzleWar_fla.bgWallpaper_17}
"enemyPic"Symbol 599 MovieClip {main.game} Frame 1Symbol 290 MovieClip
"playerPic"Symbol 599 MovieClip {main.game} Frame 1Symbol 290 MovieClip
"expBarPlayer"Symbol 599 MovieClip {main.game} Frame 1Symbol 296 MovieClip
"expBarEnemy"Symbol 599 MovieClip {main.game} Frame 1Symbol 302 MovieClip
"FightBar1"Symbol 599 MovieClip {main.game} Frame 1Symbol 305 MovieClip {WizPuzzleWar_fla.FightBar1_25}
"FightBar2"Symbol 599 MovieClip {main.game} Frame 1Symbol 308 MovieClip {WizPuzzleWar_fla.FightBar2_27}
"infoText"Symbol 599 MovieClip {main.game} Frame 1Symbol 309 EditableText
"thisGamefield"Symbol 599 MovieClip {main.game} Frame 1Symbol 312 MovieClip {main.gamefield}
"playerLife"Symbol 599 MovieClip {main.game} Frame 1Symbol 314 EditableText
"enemyLife"Symbol 599 MovieClip {main.game} Frame 1Symbol 315 EditableText
"abBombButt2"Symbol 599 MovieClip {main.game} Frame 1Symbol 346 Button {main.abBombButt}
"abHealthButt2"Symbol 599 MovieClip {main.game} Frame 1Symbol 351 Button {main.abHealthButt}
"abRevButt2"Symbol 599 MovieClip {main.game} Frame 1Symbol 356 Button {main.abRevButt}
"abViewButt2"Symbol 599 MovieClip {main.game} Frame 1Symbol 361 Button {main.abViewButt}
"abShieldButt2"Symbol 599 MovieClip {main.game} Frame 1Symbol 365 Button {main.abShieldButt}
"abFreshButt2"Symbol 599 MovieClip {main.game} Frame 1Symbol 369 Button {main.abFreshButt}
"txtCash"Symbol 599 MovieClip {main.game} Frame 1Symbol 370 EditableText
"en_star_0_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_0_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_1_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_1_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_2_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_2_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_4_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_4_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_3_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_3_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_5_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"en_star_5_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"buttHelp"Symbol 599 MovieClip {main.game} Frame 1Symbol 378 Button
"infoMoveScore"Symbol 599 MovieClip {main.game} Frame 1Symbol 379 EditableText
"spLogo"Symbol 599 MovieClip {main.game} Frame 1Symbol 5 MovieClip
"abBombButt"Symbol 599 MovieClip {main.game} Frame 1Symbol 346 Button {main.abBombButt}
"abHealthButt"Symbol 599 MovieClip {main.game} Frame 1Symbol 351 Button {main.abHealthButt}
"abRevButt"Symbol 599 MovieClip {main.game} Frame 1Symbol 356 Button {main.abRevButt}
"abViewButt"Symbol 599 MovieClip {main.game} Frame 1Symbol 361 Button {main.abViewButt}
"abShieldButt"Symbol 599 MovieClip {main.game} Frame 1Symbol 365 Button {main.abShieldButt}
"abFreshButt"Symbol 599 MovieClip {main.game} Frame 1Symbol 369 Button {main.abFreshButt}
"pl_star_0_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_0_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_1_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_1_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_2_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_2_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_4_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_4_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_3_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_3_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_5_1"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"pl_star_5_2"Symbol 599 MovieClip {main.game} Frame 1Symbol 372 MovieClip
"abMessagePlayer"Symbol 599 MovieClip {main.game} Frame 1Symbol 392 MovieClip {main.abMessagePlayer}
"abMessageEnemy"Symbol 599 MovieClip {main.game} Frame 1Symbol 396 MovieClip {main.abMessageEnemy}
"uiShield"Symbol 599 MovieClip {main.game} Frame 1Symbol 397 MovieClip {main.uiShield}
"uiRev"Symbol 599 MovieClip {main.game} Frame 1Symbol 398 MovieClip {main.uiRev}
"uiShield2"Symbol 599 MovieClip {main.game} Frame 1Symbol 397 MovieClip {main.uiShield}
"uiRev2"Symbol 599 MovieClip {main.game} Frame 1Symbol 398 MovieClip {main.uiRev}
"gameMenu"Symbol 599 MovieClip {main.game} Frame 1Symbol 419 MovieClip {main.gameMenu}
"fader50perc"Symbol 599 MovieClip {main.game} Frame 1Symbol 421 MovieClip {main.fader50perc}
"winLosePanel"Symbol 599 MovieClip {main.game} Frame 1Symbol 447 MovieClip
"upgradePanel"Symbol 599 MovieClip {main.game} Frame 1Symbol 459 MovieClip {main.upgradePanel}
"helpFrame"Symbol 599 MovieClip {main.game} Frame 1Symbol 598 MovieClip {main.helpFrame}
"buttNewGame"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 603 Button
"buttCredits"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 606 Button
"buttMoreGames"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 609 Button
"buttContinue"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 613 Button
"myCR"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 615 MovieClip
"spLogo"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 5 MovieClip
"twButt"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 31 Button
"fbButt"Symbol 619 MovieClip {main.menuMain} Frame 1Symbol 37 Button
"txt"Symbol 626 MovieClip Frame 1Symbol 623 EditableText
"mark"Symbol 626 MovieClip Frame 1Symbol 289 MovieClip {WizPuzzleWar_fla.picMark_20}
"iLife"Symbol 650 MovieClip Frame 1Symbol 640 EditableText
"iLuck"Symbol 650 MovieClip Frame 1Symbol 641 EditableText
"iView"Symbol 650 MovieClip Frame 1Symbol 642 EditableText
"iShield"Symbol 650 MovieClip Frame 1Symbol 643 EditableText
"iDrop"Symbol 650 MovieClip Frame 1Symbol 644 EditableText
"iDMove"Symbol 650 MovieClip Frame 1Symbol 645 EditableText
"iHealth"Symbol 650 MovieClip Frame 1Symbol 646 EditableText
"iBomb"Symbol 650 MovieClip Frame 1Symbol 647 EditableText
"iCash"Symbol 650 MovieClip Frame 1Symbol 648 EditableText
"pic03"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic06"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic05"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic09"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic11"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic02"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic01"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic04"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic08"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic10"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic07"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic12"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"playerPic"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 290 MovieClip
"pic13"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic14"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"pic15"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 626 MovieClip
"fxLen"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 635 MovieClip {WizPuzzleWar_fla.fxLen_99}
"buttBack"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 638 Button
"pInfo"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 650 MovieClip
"diffInfo"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 651 EditableText
"buttUpgrade"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 654 Button
"buttAch"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 657 Button
"txtComplete"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 658 EditableText
"spLogo"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 5 MovieClip
"fader50perc"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 421 MovieClip {main.fader50perc}
"achPanel"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 196 MovieClip {main.achPanel}
"upgradePanel"Symbol 659 MovieClip {main.menuChoose} Frame 1Symbol 459 MovieClip {main.upgradePanel}
"diffEasy"Symbol 682 MovieClip Frame 1Symbol 672 Button
"diffNorm"Symbol 682 MovieClip Frame 1Symbol 675 Button
"diffHard"Symbol 682 MovieClip Frame 1Symbol 678 Button
"buttBack"Symbol 682 MovieClip Frame 1Symbol 681 Button
"pl2"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 662 MovieClip {WizPuzzleWar_fla.bigPl2_111}
"pl1"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 665 MovieClip {WizPuzzleWar_fla.bigPl1_112}
"buttBack"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 638 Button
"fxLen"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 635 MovieClip {WizPuzzleWar_fla.fxLen_99}
"warn"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 668 MovieClip
"fader50perc"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 421 MovieClip {main.fader50perc}
"menuDiff"Symbol 683 MovieClip {main.menuChooseChar} Frame 1Symbol 682 MovieClip
"plw2"Symbol 698 MovieClip {main.menuWinner} Frame 1Symbol 688 MovieClip {WizPuzzleWar_fla.bigPl2s_121}
"plw1"Symbol 698 MovieClip {main.menuWinner} Frame 1Symbol 693 MovieClip {WizPuzzleWar_fla.bigPl1s_122}
"buttWinBack"Symbol 698 MovieClip {main.menuWinner} Frame 1Symbol 638 Button
"bg"Symbol 704 MovieClip {main.hlpTip} Frame 1Symbol 700 MovieClip
"tipTitle"Symbol 704 MovieClip {main.hlpTip} Frame 1Symbol 701 EditableText
"tipInfo"Symbol 704 MovieClip {main.hlpTip} Frame 1Symbol 702 EditableText
"manaInfo"Symbol 704 MovieClip {main.hlpTip} Frame 1Symbol 703 EditableText
"buttCredBack"Symbol 713 MovieClip {main.menuMainCredits} Frame 1Symbol 638 Button
"myLogoCred"Symbol 713 MovieClip {main.menuMainCredits} Frame 1Symbol 710 MovieClip
"myLogoCred2"Symbol 713 MovieClip {main.menuMainCredits} Frame 1Symbol 712 MovieClip
"inGame"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 599 MovieClip {main.game}
"menuMain"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 619 MovieClip {main.menuMain}
"menuChoose"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 659 MovieClip {main.menuChoose}
"menuChooseChar"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 683 MovieClip {main.menuChooseChar}
"menuWinner"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 698 MovieClip {main.menuWinner}
"tip"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 704 MovieClip {main.hlpTip}
"menuCredits"Symbol 714 MovieClip {main.GameFrame} Frame 1Symbol 713 MovieClip {main.menuMainCredits}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 65000 seconds




http://swfchan.com/27/130420/info.shtml
Created: 22/2 -2019 06:45:06 Last modified: 22/2 -2019 06:45:06 Server time: 10/05 -2024 05:10:57