STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #28651 |
CLICK TO CONTINUE... |
PLEASE WAIT... LOADING... |
<p align="left"></p> |
Copyright Frozen Module, 2008. All rights reserved. |
WWW.FROZENMODULE.COM |
CREDITS: |
DESIGN & PROGRAMMING: |
HI-RES. TEXTURES: |
MUSIC: |
IGOR VASILIEV AKA "THE HELMSMAN" ALEXANDER AGRONIC |
BITTBOX |
S.L.REC BERNARD KOSTEN H.E.PALIN |
WWW.FROZENMODULE.COM |
WWW.BITTBOX.COM |
PICTURES: |
STOCK.XCHNG |
WWW.SXC.HU |
BACK |
BACK |
INSTRUCTIONS: |
"Code Red" is a turn-based strategy game where a player makes decisions on actions of each member of his squad in order to exterminate all enemy units located on level. Each level of "Code Red" game represents a hidden area which must be explored first to discover locations of all enemy units that later must be destoyed in order to proceed to a next level. To do this, a player must move his soldiers to a hidden areas to reveal them. To move soldier, player should click on soldier he wants to move and then click on empty area where he want to send a soldier (only green marked locations are permitted for move). As soon as a new enemy life form will be spotted, a player must decide on how he can destroy it with help of his team members. To attack monster, player should click on a soldier who must perform action and then click on monster to shoot him. If cursor located on enemy is green - shoot is permitted for current weapon, otherwise a solder must come closer. Usually enemies much stronger then player's squad memebers and the result of the whole mission is subject of a good planning and cooperation. |
GAME OVER |
YOUR SCORE: |
0 |
CONTINUE |
CONTINUE |
SUBMIT SCORE |
SUBMIT SCORE |
As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon! Before upgrade: Weapon: A91 WMS [Standard] Add-on: “ATN Ultra” open collimating reflex sight Silencer: “Warlock” Ammo: 30 round polymer magazines for 5.56 45mm M193 NATO ammo Damage range: 5-6 After upgrade: Weapon: A-91A WMS [Assault] Add-on: extended magazineand “ATN 5X33L” rifle scope Silencer: “Thundertrap” Ammo: extended 45 rounds magazines for 5.56 45mm M856 ammo Damage range: 7-11 |
MISSION ACCOMPLISHED |
As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon! Before upgrade: Weapon: A91 WMS [Standard] Add-on: “ATN Ultra” open collimating reflex sight Silencer: “Warlock” Ammo: 30 round polymer magazines for 5.56 45mm M193 NATO ammo Damage range: 5-6 After upgrade: Weapon: A-91A WMS [Assault] Add-on: extended magazineand “ATN 5X33L” rifle scope Silencer: “Thundertrap” Ammo: extended 45 rounds magazines for 5.56 45mm M856 ammo Damage range: 7-11 |
As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon! Before upgrade: Weapon: A91 WMS [Standard] Add-on: “ATN Ultra” open collimating reflex sight Silencer: “Warlock” Ammo: 30 round polymer magazines for 5.56 45mm M193 NATO ammo Damage range: 5-6 After upgrade: Weapon: A-91A WMS [Assault] Add-on: extended magazineand “ATN 5X33L” rifle scope Silencer: “Thundertrap” Ammo: extended 45 rounds magazines for 5.56 45mm M856 ammo Damage range: 7-11 |
0 |
As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon! Before upgrade: Weapon: A91 WMS [Standard] Add-on: “ATN Ultra” open collimating reflex sight Silencer: “Warlock” Ammo: 30 round polymer magazines for 5.56 45mm M193 NATO ammo Damage range: 5-6 After upgrade: Weapon: A-91A WMS [Assault] Add-on: extended magazineand “ATN 5X33L” rifle scope Silencer: “Thundertrap” Ammo: extended 45 rounds magazines for 5.56 45mm M856 ammo Damage range: 7-11 |
As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon! Before upgrade: Weapon: A91 WMS [Standard] Add-on: “ATN Ultra” open collimating reflex sight Silencer: “Warlock” Ammo: 30 round polymer magazines for 5.56 45mm M193 NATO ammo Damage range: 5-6 After upgrade: Weapon: A-91A WMS [Assault] Add-on: extended magazineand “ATN 5X33L” rifle scope Silencer: “Thundertrap” Ammo: extended 45 rounds magazines for 5.56 45mm M856 ammo Damage range: 7-11 |
As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon! Before upgrade: Weapon: A91 WMS [Standard] Add-on: “ATN Ultra” open collimating reflex sight Silencer: “Warlock” Ammo: 30 round polymer magazines for 5.56 45mm M193 NATO ammo Damage range: 5-6 After upgrade: Weapon: A-91A WMS [Assault] Add-on: extended magazineand “ATN 5X33L” rifle scope Silencer: “Thundertrap” Ammo: extended 45 rounds magazines for 5.56 45mm M856 ammo Damage range: 7-11 |
Life: |
Move: |
MOVE |
N |
ATTACK |
INFO |
100 |
10 |
NAME: |
BACKGROUND: |
Responsibility: |
Specialization: |
Training: |
Life: |
Move: |
Attack range: |
Weapon: |
Add-ons:: |
Silencer: |
Ammo: |
Damage range: |
NAME: |
TYPE YOUR NAME AND CLICK CONTINUE TO SUBMIT |
SCORE: |
0 |
TYPE YOUR NAME HERE |
SKIP |
SKIP |
PRESENTS |
SEVERAL YEARS AFTER RESTRUCTURING AND ECONOMICAL COLLAPSE OF THE USSR... DURING PERIOD OF DISSOLUTION OF THE SOVIET UNION INTO A LESS CENTRALIZED STATE... |
SEVERAL FORMER LEADERS OF KGB FOUNDED G-CORP - NEW PHARMACEUTICAL CORPORATION. THE COMPANY WAS KNOWN FOR YEARS AS A MANUFACTURER OF QUALITY HEALTH PRODUCTS. |
WHILE THE TRUE PURPOSE OF COMPANY FACTORIES AND RESEARCH CENTERS WERE SECRET EXPERIMENTS IN BIOLOGICAL, CHEMICAL AND GENETIC AREAS. |
TO DEAL WITH VARIOUS BIOLOGICAL HAZARDS, G-CORP INTRODUCED RUBICON - A SUBSIDIARY MILITARY COMPANY COMPOSED OF HIGHLY TRAINED EX-KGB OFFICERS CAPABALE OF PERFORMING RESCUE, RECONNAISSANCE AND SEARCH-AND-DESTROY OPERATIONS. |
AND EVERYTHING WAS FINE UNTIL ONE DAY... |
INTRO |
INTRO |
PLAY GAME |
PLAY GAME |
INSTRUCTIONS |
INSTRUCTIONS |
CREDITS |
CREDITS |
DIFFICULTY: |
EASY |
NORMAL |
HARD |
BURST SATTELITE TRANSMISSION |
<p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">from: Vladimir Panin [Baltic Region Monitoring Department]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">to: Alexander Orlov [Alpha Strike Team]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">date: Wed, Feb 20, 2008 at 1:46 PM</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">subject: CASE #296-x35</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">origin: classified</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Alpha Strike Team</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Case #296-x35 Briefing</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Mission status: Code red. Mission assignment: report on X-5 Lab status</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">--</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Commander Vladimir Panin</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Baltic Region Monitoring Department</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">G-CORP Headquarters</font></p><p align="left"></p><p align="left"></p> |
<p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">from: Vladimir Panin [Baltic Region Monitoring Department]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">to: Alexander Orlov [Alpha Strike Team]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">date: Wed, Feb 20, 2008 at 1:46 PM</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">subject: CASE #296-x35</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">origin: classified</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Alpha Strike Team</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Case #296-x35 Briefing</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Mission status: Code red. Mission assignment: report on X-5 Lab status</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">--</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Commander Vladimir Panin</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Baltic Region Monitoring Department</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">G-CORP Headquarters</font></p><p align="left"></p><p align="left"></p> |
<p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">from: Vladimir Panin [Baltic Region Monitoring Department]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">to: Alexander Orlov [Alpha Strike Team]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">date: Wed, Feb 20, 2008 at 1:46 PM</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">subject: CASE #296-x35</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">origin: classified</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Alpha Strike Team</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Case #296-x35 Briefing</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Mission status: Code red. Mission assignment: report on X-5 Lab status</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">--</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Commander Vladimir Panin</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Baltic Region Monitoring Department</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">G-CORP Headquarters</font></p><p align="left"></p><p align="left"></p> |
<p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">from: Vladimir Panin [Baltic Region Monitoring Department]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">to: Alexander Orlov [Alpha Strike Team]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">date: Wed, Feb 20, 2008 at 1:46 PM</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">subject: CASE #296-x35</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">origin: classified</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Alpha Strike Team</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Case #296-x35 Briefing</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Mission status: Code red. Mission assignment: report on X-5 Lab status</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">--</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Commander Vladimir Panin</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Baltic Region Monitoring Department</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">G-CORP Headquarters</font></p><p align="left"></p><p align="left"></p> |
<p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">from: Vladimir Panin [Baltic Region Monitoring Department]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">to: Alexander Orlov [Alpha Strike Team]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">date: Wed, Feb 20, 2008 at 1:46 PM</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">subject: CASE #296-x35</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">origin: classified</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Alpha Strike Team</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Case #296-x35 Briefing</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Mission status: Code red. Mission assignment: report on X-5 Lab status</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">--</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Commander Vladimir Panin</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Baltic Region Monitoring Department</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">G-CORP Headquarters</font></p><p align="left"></p><p align="left"></p> |
<p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">from: Vladimir Panin [Baltic Region Monitoring Department]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">to: Alexander Orlov [Alpha Strike Team]</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">date: Wed, Feb 20, 2008 at 1:46 PM</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">subject: CASE #296-x35</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">origin: classified</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Alpha Strike Team</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Case #296-x35 Briefing</font></p><p align="left"></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Wed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Mission status: Code red. Mission assignment: report on X-5 Lab status</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">--</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Commander Vladimir Panin</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">Baltic Region Monitoring Department</font></p><p align="left"><font face="Trebuchet MS" size="11" color="#ccd1cd" letterSpacing="0.000000" kerning="0">G-CORP Headquarters</font></p><p align="left"></p><p align="left"></p> |
END TURN |
QUIT |
MISSION LOG: |
Version: 1.3.4 |
MUSIC |
SOUND |
GAME SCORE: |
ActionScript [AS3]
Section 1//back_26 (codeRed_v13_fla.back_26) package codeRed_v13_fla { import flash.display.*; public dynamic class back_26 extends MovieClip { public function back_26(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 2//btm_menu_anim_mc_14 (codeRed_v13_fla.btm_menu_anim_mc_14) package codeRed_v13_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class btm_menu_anim_mc_14 extends MovieClip { public var site_link_btn:MovieClip; public function btm_menu_anim_mc_14(){ addFrameScript(30, frame31); } public function NavigateToURLExample(_arg1:MouseEvent){ var url:String; var variables:URLVariables; var request:URLRequest; var event = _arg1; url = "http://www.frozenmodule.com"; variables = new URLVariables(); variables.exampleSessionId = new Date().getTime(); variables.exampleUserLabel = "Igor Vasiliev"; request = new URLRequest(url); request.data = variables; try { navigateToURL(request); } catch(e:Error) { }; } function frame31(){ stop(); site_link_btn.addEventListener(MouseEvent.CLICK, NavigateToURLExample); } } }//package codeRed_v13_flaSection 3//btn_back_mc_18 (codeRed_v13_fla.btn_back_mc_18) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_back_mc_18 extends MovieClip { public function btn_back_mc_18(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 4//btn_continue_mc_21 (codeRed_v13_fla.btn_continue_mc_21) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_continue_mc_21 extends MovieClip { public function btn_continue_mc_21(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 5//btn_credits_mc_152 (codeRed_v13_fla.btn_credits_mc_152) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_credits_mc_152 extends MovieClip { public function btn_credits_mc_152(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 6//btn_game_mc_150 (codeRed_v13_fla.btn_game_mc_150) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_game_mc_150 extends MovieClip { public function btn_game_mc_150(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 7//btn_instructions_mc_151 (codeRed_v13_fla.btn_instructions_mc_151) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_instructions_mc_151 extends MovieClip { public function btn_instructions_mc_151(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 8//btn_intro_mc_149 (codeRed_v13_fla.btn_intro_mc_149) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_intro_mc_149 extends MovieClip { public function btn_intro_mc_149(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 9//btn_skip_mc_138 (codeRed_v13_fla.btn_skip_mc_138) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_skip_mc_138 extends MovieClip { public function btn_skip_mc_138(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 10//btn_submit_mc_22 (codeRed_v13_fla.btn_submit_mc_22) package codeRed_v13_fla { import flash.display.*; public dynamic class btn_submit_mc_22 extends MovieClip { public function btn_submit_mc_22(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 11//easybutton_153 (codeRed_v13_fla.easybutton_153) package codeRed_v13_fla { import flash.display.*; public dynamic class easybutton_153 extends MovieClip { public function easybutton_153(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 12//endturnbutton_159 (codeRed_v13_fla.endturnbutton_159) package codeRed_v13_fla { import flash.display.*; public dynamic class endturnbutton_159 extends MovieClip { public function endturnbutton_159(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 13//enemyfire_3 (codeRed_v13_fla.enemyfire_3) package codeRed_v13_fla { import flash.display.*; public dynamic class enemyfire_3 extends MovieClip { public function enemyfire_3(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package codeRed_v13_flaSection 14//exitgamebutton_160 (codeRed_v13_fla.exitgamebutton_160) package codeRed_v13_fla { import flash.display.*; public dynamic class exitgamebutton_160 extends MovieClip { public function exitgamebutton_160(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 15//faces_30 (codeRed_v13_fla.faces_30) package codeRed_v13_fla { import flash.display.*; public dynamic class faces_30 extends MovieClip { public function faces_30(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 16//firebutton_28 (codeRed_v13_fla.firebutton_28) package codeRed_v13_fla { import flash.display.*; public dynamic class firebutton_28 extends MovieClip { public function firebutton_28(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 17//hardbutton_155 (codeRed_v13_fla.hardbutton_155) package codeRed_v13_fla { import flash.display.*; public dynamic class hardbutton_155 extends MovieClip { public function hardbutton_155(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 18//infobutton_29 (codeRed_v13_fla.infobutton_29) package codeRed_v13_fla { import flash.display.*; public dynamic class infobutton_29 extends MovieClip { public function infobutton_29(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 19//MainTimeline (codeRed_v13_fla.MainTimeline) package codeRed_v13_fla { import flash.display.*; import flash.events.*; import flash.text.*; import mochi.*; import flash.media.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var briefing_mc:BriefingMan; public var music:Boolean; public var winTextsList:Array; public var maxLvl:int; public var intro_mc:IntroAnimMan; public var channelTwo:SoundChannel; public var channelOne:SoundChannel; public var instructions_mc:InstructionsMan; public var end_turn_btn:MovieClip; public var exit_game_btn:MovieClip; public var difficult:int; public var currLvl:int; public var myBgSnd:BgSnd; public var score:uint; public var soldiers_map1:Array; public var soldiers_map2:Array; public var soldiers_map3:Array; public var soldiers_map5:Array; public var soldiers_map4:Array; public var submit_score_mc:SubmitScoreMan; public var myGameSnd:GameSnd; public var enemies_map1:Array; public var enemies_map2:Array; public var enemies_map3:Array; public var enemies_map4:Array; public var enemies_map5:Array; public var you_win_mc:YouWinMan; public var field:MovieClip; public var playerName:String; public var sound:Boolean; public var weaponsInfo:Array; public var sound_btn:MovieClip; public var mission_log_txt:TextField; public var score_txt:TextField; public var music_btn:MovieClip; public var credits_mc:CreditsMan; public var items_map2:Array; public var items_map3:Array; public var items_map4:Array; public var items_map5:Array; public var items_map1:Array; public var soldiersInfo:Array; public var perc_txt:TextField; public var game_over_mc:GameOverMan; public var briefingList:Array; public var main_menu_mc:MainMenu; public var game:Game; public function MainTimeline(){ addFrameScript(0, frame1, 2, frame3, 8, frame9, 24, frame25, 25, frame26, 29, frame30, 30, frame31, 35, frame36, 36, frame37, 44, frame45, 45, frame46, 50, frame51, 51, frame52, 56, frame57, 57, frame58, 65, frame66, 66, frame67, 74, frame75, 75, frame76, 83, frame84, 84, frame85, 94, frame95, 95, frame96); } public function endTurnHandler(_arg1:MouseEvent):void{ if (game.isEndTurnBlocked){ return; }; game.onFinishMoveSoldiers(); } public function onLevelUp(_arg1:Event):void{ end_turn_btn.removeEventListener(MouseEvent.CLICK, endTurnHandler); exit_game_btn.removeEventListener(MouseEvent.CLICK, exitGameHandler); game.removeEventListener(Game.GAME_OVER, onGameOver); game.removeEventListener(Game.LEVEL_UP, onLevelUp); removeChild(game); gotoAndStop("youWin"); } function frame3(){ currLvl = 1; score = 0; music = true; sound = true; playerName = ""; maxLvl = 5; difficult = 1; items_map1 = new Array([0, 0, 0, 0, 0, 4, 5, 0, 28, 1, 0, 0, 0, 0, 31, 27, 25, 52, 51, 50], [37, 1, 1, 38, 0, 2, 3, 0, 28, 1, 0, 35, 0, 0, 0, 0, 34, 46, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 24, 29, 29, 25, 1, 1, 35, 0, 0, 0, 0, 45], [29, 29, 29, 37, 0, 36, 29, 29, 32, 13, 13, 24, 26, 26, 25, 0, 35, 47, 48, 49], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 23, 23, 25, 0, 31, 29, 29, 29], [0, 30, 26, 26, 26, 26, 26, 26, 33, 0, 0, 24, 23, 23, 25, 0, 0, 0, 0, 0], [0, 31, 27, 27, 27, 23, 27, 27, 32, 0, 36, 27, 27, 23, 27, 29, 33, 0, 0, 56], [0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 28, 0, 40, 28, 0, 43, 57], [29, 29, 33, 0, 0, 28, 0, 36, 33, 0, 35, 0, 10, 28, 0, 36, 32, 0, 0, 58], [39, 0, 34, 0, 0, 28, 0, 0, 24, 29, 32, 0, 10, 28, 0, 0, 0, 0, 36, 26], [15, 0, 0, 0, 0, 28, 7, 0, 34, 0, 0, 0, 0, 28, 0, 45, 0, 0, 0, 24], [19, 0, 35, 0, 0, 28, 7, 0, 0, 0, 12, 12, 0, 28, 47, 48, 49, 35, 0, 24], [29, 29, 32, 0, 0, 31, 29, 29, 37, 0, 36, 29, 29, 27, 29, 29, 29, 32, 0, 34], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 9, 0, 0, 0, 0, 9, 9, 0, 18], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 22], [29, 37, 0, 36, 29, 29, 26, 29, 37, 0, 36, 29, 26, 29, 29, 29, 33, 0, 36, 26], [1, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 28, 0, 9, 13, 34, 0, 0, 31], [1, 0, 4, 5, 0, 0, 28, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 56], [32, 0, 2, 3, 0, 0, 28, 0, 0, 35, 0, 0, 28, 0, 45, 0, 35, 0, 43, 57], [25, 0, 0, 1, 1, 1, 28, 0, 0, 28, 0, 0, 28, 47, 48, 49, 28, 0, 0, 58]); enemies_map1 = new Array({life:25, walk:2, x:4, y:2, rotation:90, range:4, drange:[3, 4]}, {life:25, walk:2, x:5, y:17, rotation:180, range:4, drange:[3, 4]}, {life:25, walk:2, x:16, y:10, rotation:0, range:4, drange:[3, 4]}, {life:25, walk:2, x:17, y:17, rotation:0, range:4, drange:[3, 4]}); soldiers_map1 = new Array({life:17, walk:7, x:8, y:16, rotation:90, range:3, drange:[5, 6], alive:1}, {life:16, walk:6, x:7, y:19, rotation:0, range:4, drange:[5, 6], alive:1}, {life:16, walk:7, x:11, y:16, rotation:-90, range:4, drange:[5, 6], alive:1}, {life:18, walk:7, x:10, y:19, rotation:0, range:3, drange:[5, 6], alive:1}); items_map2 = new Array([52, 51, 50, 24, 25, 17, 21, 0, 31, 25, 52, 51, 50, 24, 27, 32, 64, 0, 0, 67], [0, 46, 0, 31, 25, 0, 0, 0, 40, 28, 43, 0, 0, 28, 0, 0, 0, 0, 0, 68], [0, 0, 0, 0, 31, 29, 37, 0, 36, 27, 37, 0, 36, 32, 0, 35, 0, 0, 0, 69], [33, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 73, 75, 30], [25, 54, 44, 0, 35, 0, 30, 26, 37, 0, 36, 26, 33, 0, 0, 0, 0, 36, 29, 27], [25, 55, 0, 0, 28, 0, 24, 32, 0, 0, 0, 31, 25, 0, 0, 0, 0, 0, 0, 0], [23, 29, 29, 29, 32, 0, 28, 0, 0, 45, 0, 0, 28, 0, 30, 29, 29, 29, 33, 0], [25, 0, 0, 0, 0, 0, 28, 0, 43, 56, 44, 0, 28, 0, 28, 53, 0, 0, 34, 0], [27, 37, 0, 30, 26, 26, 25, 0, 43, 79, 44, 0, 28, 0, 28, 54, 44, 0, 0, 0], [53, 0, 0, 31, 27, 27, 25, 0, 43, 55, 44, 0, 28, 0, 28, 55, 0, 0, 35, 0], [54, 44, 0, 52, 51, 50, 28, 0, 0, 46, 0, 0, 28, 0, 31, 29, 29, 29, 32, 0], [55, 0, 0, 0, 46, 0, 28, 0, 0, 0, 0, 63, 28, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 24, 33, 0, 30, 29, 29, 27, 33, 0, 30, 29, 29, 29, 29], [0, 45, 0, 30, 26, 29, 27, 32, 0, 28, 53, 0, 0, 34, 0, 34, 64, 0, 0, 56], [47, 48, 49, 24, 25, 0, 0, 0, 0, 28, 54, 44, 0, 0, 0, 0, 0, 0, 43, 57], [29, 29, 29, 27, 25, 0, 0, 0, 0, 28, 55, 0, 0, 30, 26, 37, 0, 0, 0, 58], [17, 21, 17, 21, 34, 0, 30, 37, 0, 31, 29, 37, 0, 31, 25, 0, 0, 36, 29, 26], [0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 28, 53, 0, 0, 0, 24], [0, 0, 0, 0, 30, 26, 25, 0, 45, 0, 35, 0, 45, 0, 28, 54, 44, 0, 0, 24], [33, 42, 35, 42, 24, 23, 25, 47, 48, 49, 28, 47, 48, 49, 28, 55, 0, 0, 30, 23]); enemies_map2 = new Array({life:40, walk:2, x:10, y:10, rotation:90, range:5, drange:[9, 13]}, {life:40, walk:2, x:3, y:12, rotation:-90, range:5, drange:[9, 13]}, {life:30, walk:2, x:3, y:2, rotation:180, range:4, drange:[7, 9]}, {life:30, walk:2, x:12, y:14, rotation:180, range:4, drange:[7, 9]}, {life:30, walk:2, x:7, y:14, rotation:-90, range:4, drange:[7, 9]}, {life:30, walk:2, x:18, y:18, rotation:0, range:4, drange:[7, 9]}); soldiers_map2 = new Array({life:26, walk:7, x:17, y:0, rotation:-90, range:3, drange:[7, 11], alive:1}, {life:25, walk:6, x:18, y:0, rotation:180, range:4, drange:[7, 11], alive:1}, {life:25, walk:7, x:17, y:2, rotation:-90, range:4, drange:[7, 11], alive:1}, {life:27, walk:7, x:18, y:2, rotation:0, range:3, drange:[7, 11], alive:1}); items_map3 = new Array([9, 13, 13, 9, 9, 28, 0, 0, 34, 64, 31, 27, 25, 0, 0, 31, 27, 27, 23, 23], [0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 56, 28, 0, 0, 52, 51, 50, 24, 23], [33, 0, 0, 36, 29, 32, 0, 0, 35, 0, 43, 57, 28, 53, 0, 0, 46, 0, 31, 27], [32, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 58, 28, 54, 44, 0, 0, 0, 0, 6], [0, 0, 0, 35, 0, 0, 30, 29, 23, 37, 0, 36, 25, 55, 0, 0, 30, 37, 0, 0], [6, 6, 30, 27, 37, 0, 34, 0, 28, 53, 0, 0, 31, 29, 37, 0, 34, 0, 0, 0], [29, 29, 32, 0, 0, 0, 0, 0, 28, 54, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 5, 0, 0, 36, 26, 37, 0, 28, 55, 0, 0, 35, 0, 36, 29, 29, 33, 6, 6], [2, 3, 35, 0, 0, 28, 0, 0, 24, 29, 29, 26, 32, 0, 13, 9, 9, 31, 29, 29], [29, 29, 27, 29, 29, 27, 29, 26, 32, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 28, 53, 0, 0, 0, 0, 59, 60, 0, 59, 60, 0, 0], [0, 59, 60, 0, 59, 60, 0, 28, 54, 44, 0, 35, 0, 61, 62, 0, 61, 62, 0, 1], [0, 61, 62, 0, 61, 62, 0, 34, 55, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 29, 26, 29, 26, 29, 26, 26, 26], [0, 59, 60, 0, 59, 60, 0, 35, 12, 12, 12, 28, 41, 34, 41, 34, 41, 24, 27, 27], [0, 61, 62, 0, 61, 62, 0, 31, 29, 29, 26, 25, 0, 0, 0, 0, 0, 28, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 27, 37, 0, 35, 20, 16, 28, 11, 0], [0, 59, 60, 0, 59, 60, 0, 0, 45, 0, 0, 0, 0, 0, 31, 29, 29, 32, 11, 0], [0, 61, 62, 0, 61, 62, 0, 47, 48, 49, 35, 70, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 30, 26, 26, 25, 72, 0, 63, 30, 26, 26, 26, 26, 26]); enemies_map3 = new Array({life:45, walk:2, x:3, y:13, rotation:90, range:5, drange:[15, 17]}, {life:45, walk:2, x:14, y:1, rotation:-90, range:5, drange:[15, 17]}, {life:45, walk:2, x:15, y:12, rotation:-90, range:4, drange:[15, 17]}, {life:45, walk:2, x:13, y:15, rotation:180, range:4, drange:[15, 17]}); soldiers_map3 = new Array({life:33, walk:7, x:0, y:1, rotation:90, range:3, drange:[9, 13], alive:1}, {life:32, walk:6, x:3, y:1, rotation:-90, range:4, drange:[9, 13], alive:1}, {life:32, walk:7, x:0, y:4, rotation:90, range:4, drange:[9, 13], alive:1}, {life:34, walk:7, x:2, y:4, rotation:0, range:3, drange:[9, 13], alive:1}); items_map4 = new Array([0, 0, 0, 0, 0, 0, 0, 0, 31, 25, 0, 0, 0, 10, 28, 0, 4, 5, 0, 0], [0, 30, 26, 29, 29, 26, 33, 0, 9, 34, 0, 30, 29, 26, 25, 0, 2, 3, 0, 1], [0, 24, 25, 65, 0, 31, 25, 0, 0, 0, 0, 34, 13, 31, 32, 0, 0, 0, 0, 36], [0, 31, 25, 70, 0, 0, 24, 33, 12, 8, 0, 0, 0, 0, 0, 0, 1, 0, 4, 5], [0, 0, 28, 72, 0, 0, 24, 27, 26, 29, 29, 29, 33, 0, 36, 29, 37, 0, 2, 3], [33, 0, 31, 29, 37, 0, 34, 0, 28, 0, 0, 0, 28, 0, 6, 6, 0, 0, 0, 35], [25, 0, 0, 0, 0, 0, 0, 0, 34, 0, 35, 0, 34, 0, 35, 0, 0, 0, 36, 27], [32, 0, 35, 0, 0, 30, 26, 0, 0, 0, 28, 0, 0, 0, 28, 6, 6, 0, 6, 6], [0, 0, 28, 0, 0, 24, 23, 37, 0, 36, 27, 29, 29, 26, 25, 6, 0, 0, 0, 0], [29, 29, 32, 0, 0, 31, 25, 0, 0, 0, 0, 0, 14, 24, 23, 37, 0, 35, 6, 6], [0, 0, 0, 0, 0, 0, 28, 0, 36, 33, 0, 0, 14, 31, 25, 0, 0, 24, 29, 29], [59, 60, 0, 59, 60, 0, 28, 0, 0, 24, 37, 0, 0, 0, 28, 0, 30, 32, 78, 76], [61, 62, 0, 61, 62, 0, 24, 33, 0, 34, 9, 9, 38, 0, 28, 0, 34, 0, 0, 0], [37, 0, 0, 36, 37, 0, 24, 25, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 38, 63], [59, 60, 0, 59, 60, 0, 24, 27, 29, 29, 37, 0, 36, 29, 32, 0, 35, 0, 0, 0], [61, 62, 0, 61, 62, 0, 28, 53, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 45, 0], [37, 0, 0, 0, 38, 0, 28, 54, 44, 0, 30, 29, 29, 29, 29, 29, 25, 47, 48, 49], [81, 0, 81, 0, 81, 0, 34, 55, 0, 0, 28, 0, 0, 0, 0, 0, 24, 29, 26, 26], [81, 0, 81, 0, 81, 0, 0, 0, 0, 14, 34, 0, 35, 20, 16, 0, 34, 41, 31, 23], [81, 35, 81, 35, 81, 0, 30, 33, 0, 0, 0, 0, 24, 26, 33, 0, 0, 0, 40, 24]); enemies_map4 = new Array({life:60, walk:2, x:2, y:16, rotation:0, range:4, drange:[23, 25]}, {life:60, walk:2, x:11, y:15, rotation:-90, range:4, drange:[23, 25]}, {life:60, walk:2, x:17, y:13, rotation:-90, range:4, drange:[23, 25]}, {life:60, walk:2, x:17, y:5, rotation:0, range:4, drange:[23, 25]}, {life:60, walk:2, x:10, y:2, rotation:-90, range:4, drange:[23, 25]}); soldiers_map4 = new Array({life:50, walk:7, x:0, y:3, rotation:0, range:3, drange:[12, 15], alive:1}, {life:46, walk:6, x:1, y:5, rotation:180, range:4, drange:[12, 15], alive:1}, {life:46, walk:7, x:1, y:7, rotation:0, range:4, drange:[12, 15], alive:1}, {life:52, walk:7, x:0, y:8, rotation:90, range:3, drange:[12, 15], alive:1}); items_map5 = new Array([23, 27, 27, 27, 25, 64, 24, 25, 70, 0, 34, 0, 0, 0, 0, 0, 0, 24, 23, 23], [25, 53, 45, 0, 34, 0, 31, 25, 72, 0, 13, 0, 36, 26, 29, 37, 0, 31, 27, 27], [25, 54, 0, 0, 0, 0, 0, 31, 37, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0], [25, 55, 0, 0, 35, 0, 0, 0, 0, 0, 0, 45, 0, 28, 0, 30, 37, 0, 35, 0], [23, 33, 0, 0, 28, 12, 35, 73, 75, 35, 47, 48, 49, 28, 0, 28, 0, 0, 28, 0], [27, 32, 0, 0, 24, 29, 27, 29, 26, 27, 29, 29, 29, 32, 0, 34, 0, 36, 25, 0], [0, 0, 0, 36, 32, 78, 77, 76, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 29], [0, 45, 0, 0, 0, 0, 0, 0, 28, 0, 36, 29, 33, 0, 0, 35, 0, 0, 0, 0], [47, 48, 49, 0, 0, 0, 56, 30, 25, 0, 0, 0, 28, 0, 36, 23, 37, 0, 35, 0], [29, 29, 26, 37, 0, 43, 57, 24, 25, 0, 38, 0, 28, 0, 0, 34, 0, 0, 28, 0], [39, 0, 28, 11, 0, 0, 58, 24, 25, 0, 0, 0, 28, 0, 0, 0, 0, 0, 28, 0], [37, 0, 31, 29, 33, 0, 30, 27, 27, 29, 33, 0, 31, 29, 29, 26, 29, 29, 32, 0], [0, 0, 0, 0, 34, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 28, 0, 0, 0, 0], [20, 16, 35, 0, 0, 0, 28, 0, 35, 0, 24, 26, 26, 33, 0, 24, 37, 0, 36, 29], [26, 29, 32, 0, 35, 0, 34, 0, 28, 0, 31, 27, 27, 25, 0, 28, 0, 0, 0, 0], [25, 0, 0, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 28, 0, 28, 0, 0, 0, 30], [32, 0, 36, 26, 27, 37, 0, 36, 27, 29, 29, 33, 0, 28, 0, 28, 63, 0, 36, 27], [0, 0, 0, 28, 53, 0, 0, 0, 0, 0, 66, 28, 0, 28, 0, 24, 37, 0, 0, 56], [0, 45, 0, 28, 54, 44, 0, 0, 0, 0, 0, 28, 0, 34, 0, 28, 70, 0, 43, 57], [47, 48, 49, 28, 55, 0, 0, 35, 73, 74, 75, 28, 0, 0, 0, 28, 72, 0, 0, 58]); enemies_map5 = new Array({life:90, walk:2, x:15, y:6, rotation:-90, range:4, drange:[17, 25]}, {life:90, walk:3, x:17, y:17, rotation:0, range:4, drange:[17, 25]}); soldiers_map5 = new Array({life:50, walk:7, x:3, y:1, rotation:180, range:3, drange:[11, 20], alive:1}, {life:46, walk:6, x:3, y:3, rotation:0, range:4, drange:[11, 20], alive:1}, {life:46, walk:7, x:2, y:4, rotation:180, range:4, drange:[11, 20], alive:1}, {life:52, walk:7, x:3, y:5, rotation:-90, range:3, drange:[11, 20], alive:1}); briefingList = new Array("from: Vladimir Panin [Baltic Region Monitoring Department]\nto: Alexander Orlov [Alpha Strike Team]\ndate: Wed, Feb 20, 2008 at 1:46 PM\nsubject: CASE #296-x35\norigin: classified\n\nAlpha Strike Team\nCase #296-x35 Briefing\n\nWed, Feb 20, 2008 at 5:00AM contact with X-5 laboratory in Baltic sector was lost. All tries to re-establish connection using emergency channels failed.\nWed, Feb 20, 2008 at 9:00AM decision to deploy Alpha Strike Team in the region was taken.\n<font color=\"#FE5555\">Mission status: Code red. Mission assignment: infiltrate and report on laboratory status</font>\n--\nCommander Vladimir Panin\nBaltic Region Monitoring Department\nG-CORP Headquarters", "from: Vladimir Panin [Baltic Region Monitoring Department]\nto: Alexander Orlov [Alpha Strike Team]\ndate: Wed, Feb 20, 2008 at 14:00 PM\nsubject: CASE #296-x35\norigin: classified\n\nAlpha Strike Team\nCase #296-x35 Briefing\n\nWed, Feb 20, 2008 at 11:00AM Alpha Strike Team successfully infiltrated to X-5 laboratory.\nNew report on lab status was received. Dangerous mutual life forms were found and destroyed.\n<font color=\"#FE5555\">Mission status: Code red. Mission assignment: proceed to the office level and search for survivors</font>\n--\nCommander Vladimir Panin\nBaltic Region Monitoring Department\nG-CORP Headquarters", "from: Vladimir Panin [Baltic Region Monitoring Department]\nto: Alexander Orlov [Alpha Strike Team]\ndate: Wed, Feb 20, 2008 at 17:00 PM\nsubject: CASE #296-x35\norigin: classified\n\nAlpha Strike Team\nCase #296-x35 Briefing\n\nWed, Feb 20, 2008 at 11:00AM Alpha Strike Team successfully recovered laboratory weapon test samples.\nNo survivors found yet. New mutual life forms were discovered - probably scientists or lab personnel.\n<font color=\"#FE5555\">Mission status: Code red. Mission assignment: proceed to research center, destroy new mutated life forms.</font>\n--\nCommander Vladimir Panin\nBaltic Region Monitoring Department\nG-CORP Headquarters", "from: Vladimir Panin [Baltic Region Monitoring Department]\nto: Alexander Orlov [Alpha Strike Team]\ndate: Wed, Feb 20, 2008 at 17:00 PM\nsubject: CASE #296-x35\norigin: classified\n\nAlpha Strike Team\nCase #296-x35 Briefing\n\nWed, Feb 20, 2008 at 11:00AM Alpha Strike Team successfully recovered new laboratory weapon samples.\nMore dangerous life forms were found - probably mutated security guards.\n<font color=\"#FE5555\">Mission status: Code red. Mission assignment: proceed to bio-incubators and locate any documents.</font>\n--\nCommander Vladimir Panin\nBaltic Region Monitoring Department\nG-CORP Headquarters", "from: Vladimir Panin [Baltic Region Monitoring Department]\nto: Alexander Orlov [Alpha Strike Team]\ndate: Wed, Feb 20, 2008 at 17:00 PM\nsubject: CASE #296-x35\norigin: classified\n\nAlpha Strike Team\nCase #296-x35 Briefing\n\nWed, Feb 20, 2008 at 11:00AM Alpha Strike Team successfully recovered research documentss and weapon samples.\nExtremely dangerous life forms were discovered - probably mutated security officers.\n<font color=\"#FE5555\">Mission status: Code red. Mission assignment: infiltrate control chamber. Gain control on lab security systems.</font>\n--\nCommander Vladimir Panin\nBaltic Region Monitoring Department\nG-CORP Headquarters"); winTextsList = new Array("Weapon: OTs-14 \"Groza-3\" Standart Complex\nAdd-on: Leupold Mark 4 CQT 1-3x14 Tactical Rifle Scope\nSilencer: None\nAmmo: 30 rounds 5.56 45mm M193 NATO ammo\nDamage range: 5-6", "Weapon: OTs-14 \"Groza-3\" Assault Complex\nAdd-on: Trijicon ACOG 4x32 Scope\nSilencer: None\nAmmo: 45 rounds 5.56 45mm M193 ammo\nDamage range: 7-11", "Weapon: OTs-14 \"Groza-3\" Special Complex\nAdd-on: ATN 4-12x80 DNS 3A Day/Night Riflescope\nSilencer: None\nAmmo: 30 rounds 5.56 45mm M855 light penetration ammo\nDamage range: 9-13", "Weapon: OTs-14 \"Groza-3\" Heavy Complex\nAdd-on: 40mm grenade launcher\nSilencer: None\nAmmo: 30 rounds 5.56 45mm M995 armor piercing ammo\n Damage range: 9-15", "Weapon: OTs-14 \"Groza-3\" Long Range Complex\nAdd-on: \"ELCAN Specter IR\" Thermal Weapon Sight\nSilencer: None\nAmmo: 30 rounds 5.56 45mm M995 armor piercing ammo\nDamage range: 11-20"); weaponsInfo = new Array(["OTs-14 \"Groza-3\" Standart Complex", "Leupold Mark 4 CQT 1-3x14 Close Quarter Tactical Rifle Scope", "None", "30 round polymer magazines for 5.56 45mm M193 NATO ammo", "5-6"], ["OTs-14 \"Groza-3\" Assault Complex", "Trijicon ACOG Scope 4x32 (Special Forces model)", "None", "extended 45 rounds polymer magazines for 5.56 45mm M193 NATO ammo", "7-11"], ["OTs-14 \"Groza-3\" Special Complex", "ATN 4-12x80 DNS 3A Day/Night Riflescope", "None", "30 rounds polymer magazines for 5.56 45mm M855 light penetration ammo", "9-13"], ["OTs-14 \"Groza-3\" Heavy Complex", "40mm grenade launcher", "None", "30 rounds polymer magazines for 5.56 45mm M995 armor piercing ammo", "9-15"], ["OTs-14 \"Groza-3\" Long Range Complex", "\"ELCAN Specter IR\" Thermal Weapon Sight", "None", "30 round polymer magazines for 5.56 45mm M995 armor piercing ammo", "11-20"]); soldiersInfo = new Array(["Alexander Orlov", "Former KGB officer.\nCounter-intelligence department.", "strategic planning and security countermeasures.", "intelligence.", "long range specialist (sniper)."], ["Michael Belov", "Former KGB officer.\nAssault department.", "communication.", "engineering.", "demolition technician."], ["Dmitry Krinov", "Former KGB officer.\nBiohazard countermeasures department.", "target interception and extermination.", "ambushes and close combat.", "medic."], ["Igor Pavlov", "Former KGB officer.\nAssault department.", "assault and infiltration.", "scouting and espionage.", "scout."]); MochiAd.showPreGameAd({clip:root, id:"a5bdbfecf97fdd01", res:"800x625", no_bg:true}); MochiServices.connect("a5bdbfecf97fdd01", this); MochiBot.track(this, "0773e920"); stop(); myBgSnd = new BgSnd(); myGameSnd = new GameSnd(); channelOne = new SoundChannel(); channelTwo = new SoundChannel(); } function frame1(){ } function frame26(){ resetGame(); gotoAndStop("initialization"); } function frame9(){ gotoAndStop("intro"); } function frame25(){ stop(); intro_mc.getTimeLine(this); channelOne.stop(); channelTwo.stop(); if (music){ channelOne = myBgSnd.play(0, 999); }; } function frame30(){ stop(); main_menu_mc.getTimeLine(this); channelOne.stop(); channelTwo.stop(); if (music){ channelOne = myBgSnd.play(0, 999); }; } function frame37(){ resetGame(); gotoAndStop("initialization"); } function frame31(){ resetGame(); gotoAndStop("initialization"); } function frame36(){ stop(); instructions_mc.getTimeLine(this); } function frame45(){ stop(); credits_mc.getTimeLine(this); } function frame46(){ resetGame(); gotoAndStop("initialization"); } function frame51(){ stop(); briefing_mc.getTimeLine(this, currLvl); channelOne.stop(); channelTwo.stop(); if (music){ channelTwo = myGameSnd.play(0, 999); }; } function frame52(){ resetGame(); gotoAndStop("initialization"); } function frame57(){ game = new Game(currLvl, this, mission_log_txt); game.addEventListener(Game.GAME_OVER, onGameOver); game.addEventListener(Game.LEVEL_UP, onLevelUp); game.x = (game.y = 14); addChild(game); setUpBtns(); end_turn_btn.addEventListener(MouseEvent.CLICK, endTurnHandler); exit_game_btn.addEventListener(MouseEvent.CLICK, exitGameHandler); music_btn.addEventListener(MouseEvent.CLICK, musicHandler); sound_btn.addEventListener(MouseEvent.CLICK, soundHandler); } function frame58(){ resetGame(); gotoAndStop("initialization"); } public function onGameOver(_arg1:Event):void{ end_turn_btn.removeEventListener(MouseEvent.CLICK, endTurnHandler); exit_game_btn.removeEventListener(MouseEvent.CLICK, exitGameHandler); game.removeEventListener(Game.GAME_OVER, onGameOver); game.removeEventListener(Game.LEVEL_UP, onLevelUp); removeChild(game); gotoAndStop("gameOver"); } function frame66(){ stop(); game_over_mc.getTimeLine(this, currLvl); } function frame67(){ resetGame(); gotoAndStop("initialization"); } public function exitGameHandler(_arg1:MouseEvent):void{ end_turn_btn.removeEventListener(MouseEvent.CLICK, endTurnHandler); exit_game_btn.removeEventListener(MouseEvent.CLICK, exitGameHandler); game.removeEventListener(Game.GAME_OVER, onGameOver); game.removeEventListener(Game.LEVEL_UP, onLevelUp); game.removeGameEventListeners(); removeChild(game); resetGame(); gotoAndStop("menu"); } function frame75(){ stop(); you_win_mc.getTimeLine(this, currLvl); } function frame76(){ resetGame(); gotoAndStop("initialization"); } function frame84(){ stop(); MochiScores.showLeaderboard({boardID:"267b9dca5b432204", score:score, name:playerName, onClose:function ():void{ gotoAndStop("menu"); resetGame(); }}); } function frame85(){ resetGame(); gotoAndStop("initialization"); } public function soundHandler(_arg1:MouseEvent):void{ if (sound == true){ sound = false; _arg1.target.gotoAndStop(2); } else { sound = true; _arg1.target.gotoAndStop(1); }; } function frame95(){ stop(); submit_score_mc.getTimeLine(this); } public function musicHandler(_arg1:MouseEvent):void{ if (music == true){ channelOne.stop(); channelTwo.stop(); music = false; _arg1.target.gotoAndStop(2); } else { channelOne.stop(); channelTwo.stop(); channelTwo = myGameSnd.play(0, 999); music = true; _arg1.target.gotoAndStop(1); }; } function frame96(){ resetGame(); gotoAndStop("initialization"); } public function setUpBtns():void{ if (music == true){ music_btn.gotoAndStop(1); } else { music_btn.gotoAndStop(2); }; if (sound == true){ sound_btn.gotoAndStop(1); } else { sound_btn.gotoAndStop(2); }; } public function resetGame():void{ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < 4) { _local2 = 1; while (_local2 <= maxLvl) { this[("soldiers_map" + _local2)][_local1].alive = 1; _local2++; }; _local1++; }; currLvl = 1; playerName = ""; score = 0; difficult = 1; } } }//package codeRed_v13_flaSection 20//movebutton_27 (codeRed_v13_fla.movebutton_27) package codeRed_v13_fla { import flash.display.*; public dynamic class movebutton_27 extends MovieClip { public function movebutton_27(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 21//musicbutton_161 (codeRed_v13_fla.musicbutton_161) package codeRed_v13_fla { import flash.display.*; public dynamic class musicbutton_161 extends MovieClip { public function musicbutton_161(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 22//normalbutton_154 (codeRed_v13_fla.normalbutton_154) package codeRed_v13_fla { import flash.display.*; public dynamic class normalbutton_154 extends MovieClip { public function normalbutton_154(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 23//s_p_idx_mc_31 (codeRed_v13_fla.s_p_idx_mc_31) package codeRed_v13_fla { import flash.display.*; public dynamic class s_p_idx_mc_31 extends MovieClip { public function s_p_idx_mc_31(){ addFrameScript(0, frame1, 6, frame7, 11, frame12, 16, frame17); } function frame12(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame17(){ stop(); } } }//package codeRed_v13_flaSection 24//soldier_bg_mc_7 (codeRed_v13_fla.soldier_bg_mc_7) package codeRed_v13_fla { import flash.display.*; public dynamic class soldier_bg_mc_7 extends MovieClip { public function soldier_bg_mc_7(){ addFrameScript(0, frame1, 6, frame7, 11, frame12, 16, frame17, 22, frame23, 30, frame31, 37, frame38, 44, frame45); } function frame12(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame17(){ stop(); } function frame23(){ stop(); } function frame38(){ stop(); } function frame31(){ stop(); } function frame45(){ stop(); } } }//package codeRed_v13_flaSection 25//soldierfire_10 (codeRed_v13_fla.soldierfire_10) package codeRed_v13_fla { import flash.display.*; public dynamic class soldierfire_10 extends MovieClip { public function soldierfire_10(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package codeRed_v13_flaSection 26//soundbutton_162 (codeRed_v13_fla.soundbutton_162) package codeRed_v13_fla { import flash.display.*; public dynamic class soundbutton_162 extends MovieClip { public function soundbutton_162(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 27//text_anim_mc_44 (codeRed_v13_fla.text_anim_mc_44) package codeRed_v13_fla { import flash.display.*; import flash.utils.*; public dynamic class text_anim_mc_44 extends MovieClip { public var intervalId:uint; public function text_anim_mc_44(){ addFrameScript(0, frame1); } public function myDelayedFunction():void{ play(); } function frame1(){ stop(); intervalId = setTimeout(myDelayedFunction, (Math.random() * 60000)); } } }//package codeRed_v13_flaSection 28//tmp_8 (codeRed_v13_fla.tmp_8) package codeRed_v13_fla { import flash.display.*; public dynamic class tmp_8 extends MovieClip { public var fire:MovieClip; public function tmp_8(){ addFrameScript(0, frame1, 5, frame6, 11, frame12); } function frame12(){ play(); } function frame6(){ stop(); } function frame1(){ stop(); } } }//package codeRed_v13_flaSection 29//tmp_monster_2 (codeRed_v13_fla.tmp_monster_2) package codeRed_v13_fla { import flash.display.*; public dynamic class tmp_monster_2 extends MovieClip { public var fire:MovieClip; public function tmp_monster_2(){ addFrameScript(0, frame1, 5, frame6, 11, frame12); } function frame12(){ play(); } function frame6(){ stop(); } function frame1(){ stop(); } } }//package codeRed_v13_flaSection 30//weapons_mc_24 (codeRed_v13_fla.weapons_mc_24) package codeRed_v13_fla { import flash.display.*; public dynamic class weapons_mc_24 extends MovieClip { public function weapons_mc_24(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package codeRed_v13_flaSection 31//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochiSection 32//MochiServices (mochi.MochiServices) package mochi { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function getVersion():String{ return ("1.31"); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); _rcvChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; return (_local2); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion()}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); _rcvChannelName = _arg1; initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//package mochiSection 33//Affirmative (Affirmative) package { import flash.media.*; public dynamic class Affirmative extends Sound { } }//packageSection 34//BgSnd (BgSnd) package { import flash.media.*; public dynamic class BgSnd extends Sound { } }//packageSection 35//BriefingMan (BriefingMan) package { import flash.display.*; import flash.events.*; import flash.text.*; public class BriefingMan extends MovieClip { private var mainTimeLine:MovieClip; private var gameLevel:int; public var btn_continue_mc:MovieClip; public var briefing_txt:TextField; public function BriefingMan(){ addFrameScript(15, frame16, 17, frame18, 19, frame20, 32, frame33, 45, frame46, 47, frame48, 49, frame50, 66, frame67); super(); } public function getBriefing():String{ return (mainTimeLine.briefingList[(gameLevel - 1)]); } private function removeBtnsListeners():void{ btn_continue_mc.removeEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } function frame18(){ briefing_txt.htmlText = getBriefing(); } function frame16(){ briefing_txt.htmlText = getBriefing(); } function frame20(){ briefing_txt.htmlText = getBriefing(); briefing_txt.antiAliasType = AntiAliasType.ADVANCED; } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } public function goContinue(_arg1:MouseEvent):void{ removeBtnsListeners(); this.play(); } function frame48(){ briefing_txt.htmlText = getBriefing(); } public function executePlayerCommand():void{ mainTimeLine.gotoAndStop("game"); } function frame33(){ stop(); btn_continue_mc.addEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } function frame46(){ briefing_txt.htmlText = getBriefing(); } function frame50(){ briefing_txt.htmlText = getBriefing(); } public function getTimeLine(_arg1:MovieClip, _arg2:int):void{ this.mainTimeLine = _arg1; this.gameLevel = _arg2; } function frame67(){ stop(); executePlayerCommand(); } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } } }//packageSection 36//Cells (Cells) package { import flash.display.*; import flash.events.*; public class Cells extends MovieClip { private var isfrozen:Boolean; private var ishaded:Boolean; private var shape:Shape; public var selected:Boolean; public static const ON_CELL_OVER_EVENT:String = "onCellOver"; public static const ON_CELL_CLICK_EVENT:String = "onCellClick"; public static const ON_CELL_OUT_EVENT:String = "onCellOut"; public function Cells(){ addFrameScript(0, frame1, 7, frame8, 15, frame16); selected = false; isfrozen = false; ishaded = true; drawShadow(); } private function onMouseOver(_arg1:MouseEvent):void{ dispatchEvent(new Event(Cells.ON_CELL_OVER_EVENT)); } public function callMouseEvent(_arg1:String):void{ switch (_arg1){ case "click": dispatchEvent(new Event(Cells.ON_CELL_CLICK_EVENT)); break; case "over": dispatchEvent(new Event(Cells.ON_CELL_OVER_EVENT)); break; case "out": dispatchEvent(new Event(Cells.ON_CELL_OUT_EVENT)); break; }; } public function turnOffMouseEvents():void{ isfrozen = true; removeEventListener(MouseEvent.CLICK, onMouseClick); removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver); } public function turnOffAllMouseEvents():void{ removeEventListener(MouseEvent.CLICK, onMouseClick); removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut); removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver); } private function onMouseClick(_arg1:MouseEvent):void{ dispatchEvent(new Event(Cells.ON_CELL_CLICK_EVENT)); } public function turnOnAllMouseEvents():void{ addEventListener(MouseEvent.CLICK, onMouseClick); addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); } function frame16(){ stop(); } function frame1(){ stop(); } function frame8(){ stop(); } private function drawShadow():void{ shape = new Shape(); shape.graphics.beginFill(0, 0.7); shape.graphics.drawRect(0, 0, 30, 30); shape.graphics.endFill(); addChild(shape); } private function onMouseOut(_arg1:MouseEvent):void{ dispatchEvent(new Event(Cells.ON_CELL_OUT_EVENT)); } public function get frozen():Boolean{ return (isfrozen); } public function turnOnMouseEvents():void{ isfrozen = false; addEventListener(MouseEvent.CLICK, onMouseClick); addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); } public function set color(_arg1:String):void{ gotoAndStop(_arg1); } public function clearShadow():void{ shape.graphics.clear(); ishaded = false; } public function get shaded():Boolean{ return (ishaded); } } }//packageSection 37//click_mc (click_mc) package { import flash.display.*; public dynamic class click_mc extends MovieClip { } }//packageSection 38//CreditsMan (CreditsMan) package { import flash.display.*; import flash.events.*; public class CreditsMan extends MovieClip { public var btn_back_mc:MovieClip; private var mainTimeLine:MovieClip; public function CreditsMan(){ addFrameScript(32, frame33, 66, frame67); super(); } private function removeBtnsListeners():void{ btn_back_mc.removeEventListener(MouseEvent.CLICK, goBack); btn_back_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_back_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } function frame33(){ stop(); btn_back_mc.addEventListener(MouseEvent.CLICK, goBack); btn_back_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_back_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } public function executePlayerCommand():void{ mainTimeLine.gotoAndStop("menu"); } public function getTimeLine(_arg1:MovieClip):void{ this.mainTimeLine = _arg1; } function frame67(){ stop(); executePlayerCommand(); } public function goBack(_arg1:MouseEvent):void{ removeBtnsListeners(); this.play(); } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } } }//packageSection 39//Enemy (Enemy) package { import flash.display.*; import flash.events.*; import flash.text.*; public class Enemy extends LifeForm { public var anim:MovieClip; public static const ENEMY_END_TO_MOVE:String = "Enemy_and_to_move"; public static const ENEMY_READY_TO_SHOOT:String = "Enemy_ready_to_shoot"; private function addTextField(_arg1:uint):void{ var _local2:TextField; _local2 = new TextField(); _local2.name = "tf"; _local2.autoSize = "center"; _local2.textColor = 0xFFFFFF; _local2.text = _arg1.toString(); _local2.y = ((30 - _local2.height) / 2); _local2.x = ((30 - _local2.width) / 2); addChild(_local2); } override protected function dispatchEndMove():void{ dispatchEvent(new Event(Enemy.ENEMY_END_TO_MOVE)); } override protected function dispatchReadyToShoot():void{ dispatchEvent(new Event(Enemy.ENEMY_READY_TO_SHOOT)); } } }//packageSection 40//EnemyAttack (EnemyAttack) package { import flash.media.*; public dynamic class EnemyAttack extends Sound { } }//packageSection 41//EnemyScream (EnemyScream) package { import flash.media.*; public dynamic class EnemyScream extends Sound { } }//packageSection 42//Game (Game) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.utils.*; public class Game extends MovieClip { private const G_RANGE:uint = 100; private var mission_log:TextField; private var path:Object; private var activeSoldierIndex:uint; public var isEndTurnBlocked:Boolean;// = false private var infoPanelIdx:int;// = -1 private var fired_enemy:MovieClip;// = null private var field:MovieClip; private var enemies_array:Array; private var panels_array:Array; private var items_array:Array; private var isAffirmativePlayed:Array; private var fired_soldier:MovieClip;// = null private var map:GameField; private var gearsInstance:MovieClip; private var main:MovieClip; private var isValidAction:Boolean;// = false private var path_array:Array; private var soldiers_array:Array; private var cells_array:Array; private var window:MovieClip; public static const GAME_OVER:String = "Game_over"; public static const LEVEL_UP:String = "Level_up"; public function Game(_arg1:int, _arg2:MovieClip, _arg3:TextField){ var _local4:uint; var _local5:uint; fired_enemy = null; fired_soldier = null; infoPanelIdx = -1; isValidAction = false; isEndTurnBlocked = false; isAffirmativePlayed = new Array(false, false, false, false); super(); main = _arg2; field = new MovieClip(); window = new WindowInfo(); panels_array = new Array(); map = new GameField(_arg2[("items_map" + _arg1)]); items_array = map.buildField(field); enemies_array = placeLifeForm(field, "Enemy", _arg2[("enemies_map" + _arg1)]); soldiers_array = placeLifeForm(field, "Soldier", _arg2[("soldiers_map" + _arg1)]); cells_array = map.buildMouseEventField(field); _local4 = 0; while (_local4 < cells_array.length) { _local5 = 0; while (_local5 < cells_array[_local4].length) { cells_array[_local4][_local5].addEventListener(Cells.ON_CELL_CLICK_EVENT, onMouseClick); cells_array[_local4][_local5].addEventListener(Cells.ON_CELL_OVER_EVENT, onMouseOver); cells_array[_local4][_local5].addEventListener(Cells.ON_CELL_OUT_EVENT, onMouseOut); cells_array[_local4][_local5].turnOnAllMouseEvents(); _local5++; }; _local4++; }; window.x = 300; window.y = 300; addChild(field); addChild(window); initGame(); this.mission_log = _arg3; addToLog("Your turn"); isEndTurnBlocked = false; main["score_txt"].text = main.score; } private function placeLifeForm(_arg1:MovieClip, _arg2:String, _arg3:Array):Array{ var _local4:Array; var _local5:uint; var _local6:Class; var _local7:MovieClip; var _local8:SoldierPanel; _local4 = new Array(); _local5 = 0; while (_local5 < _arg3.length) { _local6 = (getDefinitionByName(_arg2) as Class); _local7 = new (_local6); if (_arg2 == "Enemy"){ _local7.addEventListener(LifeForm.END_OF_LIFE_FORM, onEndOfLifeForm); _arg3[_local5].walk = ((_arg3[_local5].walk + main.difficult) - 1); _local7.initLifeForm(_arg3[_local5], _local5); _local7.visible = false; _arg1.addChild(_local7); _local4.push(_local7); }; if (_arg2 == "Soldier"){ _local8 = new SoldierPanel(); if (_arg3[_local5].alive == 1){ _local7.addEventListener(LifeForm.END_OF_LIFE_FORM, onEndOfLifeForm); _local8.addEventListener(SoldierPanel.ON_SET_ACTIVE, onSetActive); _local8.addEventListener(SoldierPanel.SHOW_INFO, onShowInfoWindow); _local7.initLifeForm(_arg3[_local5], _local5); _local8.initPanel(_local7, _local5); _local4.push(_local7); _local7.addTextField(_local5); _arg1.addChild(_local7); } else { _local8.initKilled(_local5); }; panels_array.push(_local8); addChild(_local8); }; _local5++; }; return (_local4); } private function printCellsShadows():void{ } private function onEnemyEndMove(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); _local2.removeEventListener(Enemy.ENEMY_END_TO_MOVE, onEnemyEndMove); if ((((cells_array[Math.round((Math.round(_local2.y) / 30))][Math.round((Math.round(_local2.x) / 30))].shaded == false)) && ((_local2.visible == false)))){ _local2.visible = true; }; checkEnemySteps(); } private function isPossibleToMoveEnemy(_arg1:MovieClip, _arg2:Array):Boolean{ var _local3:int; var _local4:int; var _local5:Boolean; _local3 = isEnemyOnTheCell(_arg1, (_arg1.x + (30 * _arg2[0])), (_arg1.y + (30 * _arg2[1]))); _local4 = isSolderOnTheCell(_arg1, (_arg1.x + (30 * _arg2[0])), (_arg1.y + (30 * _arg2[1]))); _local5 = map.isCellEmpty([_arg1.x, _arg1.y], _arg2); if ((((((_local3 < 0)) && ((_local4 < 0)))) && (_local5))){ return (true); }; return (false); } private function addNode(_arg1:Object, _arg2:int, _arg3:int):void{ var _local4:Boolean; path.name = ((("node_" + _arg3) + "_") + _arg2); if (isEnemyOnTheCell(null, _arg2, _arg3) < 0){ _local4 = true; } else { if (enemies_array[isEnemyOnTheCell(null, _arg2, _arg3)].alpha < 1){ _local4 = true; } else { _local4 = false; }; }; if (((((map.isCellEmpty([_arg2, _arg3], [0, 0])) && (_local4))) && ((isSolderOnTheCell(null, _arg2, _arg3) < 0)))){ if (path[path.name] == undefined){ path[path.name] = {x:_arg2, y:_arg3, visited:false, parentx:_arg1.x, parenty:_arg1.y}; path.unchecked_neighbours[path.unchecked_neighbours.length] = path[path.name]; }; }; } private function removeThinking():void{ this.removeChild(gearsInstance); } private function showEnemies(_arg1:int, _arg2:int):void{ var _local3:uint; _local3 = 0; while (_local3 < enemies_array.length) { if ((((enemies_array[_local3].x == items_array[_arg2][_arg1].x)) && ((enemies_array[_local3].y == items_array[_arg2][_arg1].y)))){ if (!enemies_array[_local3].visible){ enemies_array[_local3].visible = true; }; }; _local3++; }; } private function onEndOfLifeForm(_arg1:Event):void{ var _local2:MovieClip; var _local3:Soldier; var _local4:SoldierScream; var _local5:SoundChannel; var _local6:uint; var _local7:uint; var _local8:Cells; var _local9:EnemyScream; var _local10:SoundChannel; var _local11:uint; _local2 = (_arg1.target as MovieClip); if (getQualifiedClassName(_local2) == "Soldier"){ if (main["sound"] == true){ _local4 = new SoldierScream(); _local5 = new SoundChannel(); _local5 = _local4.play(0, 0); }; if (soldiers_array.length > main.difficult){ _local6 = 0; while (_local6 < soldiers_array.length) { if (soldiers_array[_local6] == _local2){ _local7 = main.currLvl; while (_local7 <= main.maxLvl) { main[("soldiers_map" + _local7)][soldiers_array[_local6].soldierIdx].alive = 0; _local7++; }; if (_local6 == 0){ changeActiveSolder(soldiers_array[(_local6 + 1)]); activeSoldierIndex = 0; } else { changeActiveSolder(soldiers_array[(_local6 - 1)]); }; panels_array[soldiers_array[_local6].soldierIdx].onKillSoldier(); soldiers_array.splice(_local6, 1); break; }; _local6++; }; _local2.removeEventListener(Soldier.SOLDIER_READY_TO_SHOOT, onSoldierReadyToShoot); _local2.removeEventListener(Soldier.SOLDIER_END_TO_MOVE, onSoldierEndMove); _local2.removeEventListener(LifeForm.END_OF_LIFE_FORM, onEndOfLifeForm); field.removeChild(_local2); } else { removeGameEventListeners(); dispatchEvent(new Event(Game.GAME_OVER)); }; }; if (getQualifiedClassName(_local2) == "Enemy"){ if (main["sound"] == true){ _local9 = new EnemyScream(); _local10 = new SoundChannel(); _local10 = _local9.play(0, 0); }; if (enemies_array.length > 1){ _local11 = 0; while (_local11 < enemies_array.length) { if (enemies_array[_local11] == _local2){ _local8 = cells_array[Math.round((Math.round(_local2.y) / 30))][Math.round((Math.round(_local2.x) / 30))]; enemies_array.splice(_local11, 1); break; }; _local11++; }; _local2.removeEventListener(Enemy.ENEMY_READY_TO_SHOOT, onEnemyReadyToShoot); _local2.removeEventListener(LifeForm.END_OF_LIFE_FORM, onEndOfLifeForm); _local2.removeEventListener(Enemy.ENEMY_END_TO_MOVE, onEnemyEndMove); field.removeChild(_local2); _local8.callMouseEvent("over"); } else { removeGameEventListeners(); dispatchEvent(new Event(Game.LEVEL_UP)); }; }; } private function isSolderOnTheCell(_arg1:MovieClip, _arg2:int, _arg3:int):int{ var _local4:int; var _local5:uint; _local4 = -1; _local5 = 0; while (_local5 < soldiers_array.length) { if ((((((_arg2 == soldiers_array[_local5].x)) && ((_arg3 == soldiers_array[_local5].y)))) && (!((_arg1 == soldiers_array[_local5]))))){ _local4 = _local5; break; }; _local5++; }; return (_local4); } public function onFinishMoveSoldiers():void{ var _local1:uint; mouseListenersEnabled = false; isEndTurnBlocked = true; _local1 = 0; while (_local1 < enemies_array.length) { enemies_array[_local1].resetSteps(); _local1++; }; addToLog("Enemy turn"); isEndTurnBlocked = true; addThinking(); moveEnemies(enemies_array); } public function addToLog(_arg1:String):void{ mission_log.appendText((_arg1 + "\n")); mission_log.scrollV = (mission_log.scrollV + mission_log.maxScrollV); } private function onEnemyReadyToShoot(_arg1:Event):void{ var _local2:MovieClip; var _local3:Array; var _local4:uint; var _local5:uint; var _local6:EnemyAttack; var _local7:SoundChannel; _local2 = (_arg1.target as MovieClip); _local3 = _local2.currentDir; _local2.removeEventListener(Enemy.ENEMY_READY_TO_SHOOT, onEnemyReadyToShoot); if (isHasGot){ _local4 = 1; while (_local4 <= _local2.rangeVal) { _local5 = 0; while (_local5 < soldiers_array.length) { if (((((_local2.x + ((30 * _local4) * _local3[0])) == soldiers_array[_local5].x)) && (((_local2.y + ((30 * _local4) * _local3[1])) == soldiers_array[_local5].y)))){ soldiers_array[_local5].hasGot(_local2.damageRange); //unresolved jump }; _local5++; }; _local4++; }; if (main["sound"] == true){ _local6 = new EnemyAttack(); _local7 = new SoundChannel(); _local7 = _local6.play(0, 0); }; }; checkEnemySteps(); } private function onShowInfoWindow(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); if (infoPanelIdx == -1){ _local2.setActiveInfoBtn(); infoPanelIdx = _local2.idx; window.showInfo(main, _local2.owner, panels_array[_local2.owner.soldierIdx]); } else { if (infoPanelIdx == _local2.idx){ panels_array[infoPanelIdx].resetButton(); infoPanelIdx = -1; window.closeWin(); } else { panels_array[infoPanelIdx].resetButton(); panels_array[_local2.idx].setActiveInfoBtn(); infoPanelIdx = _local2.idx; window.showInfo(main, _local2.owner, panels_array[_local2.owner.soldierIdx]); }; }; } private function paintCell(_arg1:MovieClip, _arg2:String):void{ if (_arg2 == "red"){ _arg1.color = "red"; } else { if (_arg2 == "green"){ _arg1.color = "green"; }; }; } private function onSetActive(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); _local2.removeEventListener(SoldierPanel.ON_SET_ACTIVE, onSetActive); changeActiveSolder(_local2.owner); } private function isPossibleForEnemyToShoot(_arg1:MovieClip, _arg2:Array):Boolean{ var _local3:Boolean; var _local4:uint; _local3 = false; _local4 = 1; while (_local4 <= _arg1.rangeVal) { if (!map.isCellEmpty([_arg1.x, _arg1.y], [(_local4 * _arg2[0]), (_local4 * _arg2[1])])){ break; }; if (isSolderOnTheCell(_arg1, (_arg1.x + ((30 * _local4) * _arg2[0])), (_arg1.y + ((30 * _local4) * _arg2[1]))) >= 0){ _local3 = true; break; }; _local4++; }; return (_local3); } private function changeActiveSolder(_arg1:MovieClip):void{ var _local2:uint; _local2 = 0; while (_local2 < soldiers_array.length) { if ((((_arg1.x == soldiers_array[_local2].x)) && ((_arg1.y == soldiers_array[_local2].y)))){ panels_array[soldiers_array[activeSoldierIndex].soldierIdx].isActive = false; panels_array[soldiers_array[_local2].soldierIdx].isActive = true; soldiers_array[activeSoldierIndex].resetTextColor(); soldiers_array[_local2].changeTextColor(); activeSoldierIndex = _local2; }; _local2++; }; } public function removeGameEventListeners():void{ var _local1:uint; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = 0; while (_local1 < cells_array.length) { _local5 = 0; while (_local5 < cells_array[_local1].length) { cells_array[_local1][_local5].removeEventListener(Cells.ON_CELL_CLICK_EVENT, onMouseClick); cells_array[_local1][_local5].removeEventListener(Cells.ON_CELL_OVER_EVENT, onMouseOver); cells_array[_local1][_local5].removeEventListener(Cells.ON_CELL_OUT_EVENT, onMouseOut); cells_array[_local1][_local5].turnOffAllMouseEvents(); _local5++; }; _local1++; }; _local2 = 0; while (_local2 < enemies_array.length) { enemies_array[_local2].removeEventListener(Enemy.ENEMY_END_TO_MOVE, onEnemyEndMove); enemies_array[_local2].removeEventListener(LifeForm.END_OF_LIFE_FORM, onEndOfLifeForm); enemies_array[_local2].removeEventListener(Enemy.ENEMY_READY_TO_SHOOT, onEnemyReadyToShoot); _local2++; }; _local3 = 0; while (_local3 < soldiers_array.length) { soldiers_array[_local3].removeEventListener(LifeForm.END_OF_LIFE_FORM, onEndOfLifeForm); soldiers_array[_local3].removeEventListener(Soldier.SOLDIER_END_TO_MOVE, onSoldierEndMove); soldiers_array[_local3].removeEventListener(Soldier.SOLDIER_READY_TO_SHOOT, onSoldierReadyToShoot); _local3++; }; _local4 = 0; while (_local4 < panels_array.length) { panels_array[_local4].removeEventListener(SoldierPanel.ON_SET_ACTIVE, onSetActive); panels_array[_local4].removeEventListener(SoldierPanel.SHOW_INFO, onShowInfoWindow); panels_array[_local4].removeListeners(); _local4++; }; } private function moveEnemies(_arg1:Array):void{ var _local2:Array; var _local3:uint; var _local4:Array; var _local5:Array; var _local6:int; _local2 = new Array(2); _local3 = Math.round((Math.random() * (_arg1.length - 1))); _local4 = new Array([-1, 0], [0, -1], [1, 0], [0, 1]); _local5 = new Array([-1, 0], [0, -1], [1, 0], [0, 1]); _local6 = Math.round((Math.random() * (_local5.length - 1))); while (!(isPossibleForEnemyToShoot(_arg1[_local3], _local5[_local6]))) { _local5.splice(_local6, 1); if (_local5.length == 0){ break; }; _local6 = Math.round((Math.random() * (_local5.length - 1))); }; if (_local5.length > 0){ _arg1[_local3].addEventListener(Enemy.ENEMY_READY_TO_SHOOT, onEnemyReadyToShoot); _arg1[_local3].toShoot(_local5[_local6]); } else { _local6 = Math.round((Math.random() * (_local4.length - 1))); while (!(isPossibleToMoveEnemy(_arg1[_local3], _local4[_local6]))) { _local4.splice(_local6, 1); if (_local4.length == 0){ break; }; _local6 = Math.round((Math.random() * (_local4.length - 1))); }; _arg1[_local3].addEventListener(Enemy.ENEMY_END_TO_MOVE, onEnemyEndMove); if (_local4.length == 0){ _arg1[_local3].moveForm([0, 0]); } else { _arg1[_local3].moveForm(_local4[_local6]); }; addToLog("Moving enemies..."); }; } public function onMouseClick(_arg1:Event):void{ var _local2:MovieClip; var _local3:int; var _local4:Soldier; var _local5:int; var _local6:NoMoves; var _local7:SoundChannel; var _local8:uint; var _local9:Affirmative; var _local10:SoundChannel; var _local11:uint; var _local12:uint; var _local13:uint; _local2 = (_arg1.target as MovieClip); _local3 = isSolderOnTheCell(_local2, _local2.x, _local2.y); _local4 = soldiers_array[activeSoldierIndex]; if ((((_local4.noSteps == true)) && ((_local3 < 0)))){ isValidAction = false; if (main["sound"] == true){ _local6 = new NoMoves(); _local7 = new SoundChannel(); _local7 = _local6.play(0, 0); addToLog("No moves left..."); }; }; if (isValidAction == false){ return; }; _local5 = isEnemyOnTheCell(_local2, _local2.x, _local2.y); if (_local3 >= 0){ (isValidAction == false); _local8 = activeSoldierIndex; changeActiveSolder(_local2); if (_local8 != activeSoldierIndex){ paintCell(_local2, "green"); }; if (main["sound"] == true){ _local9 = new Affirmative(); _local10 = new SoundChannel(); if (activeSoldierIndex == _local8){ _local10 = _local9.play(0, 0); } else { if (isAffirmativePlayed[activeSoldierIndex] == false){ _local10 = _local9.play(0, 0); isAffirmativePlayed[activeSoldierIndex] = true; }; }; }; } else { if (_local5 >= 0){ (isValidAction == false); mouseListenersEnabled = false; panels_array[_local4.soldierIdx].onFireClick(new MouseEvent(MouseEvent.CLICK)); _local11 = 0; while (_local11 < enemies_array.length) { if ((((enemies_array[_local11].x == _local2.x)) && ((enemies_array[_local11].y == _local2.y)))){ fired_enemy = enemies_array[_local11]; }; _local11++; }; if (enemies_array[_local5].visible){ _local4.addEventListener(Soldier.SOLDIER_READY_TO_SHOOT, onSoldierReadyToShoot); _local4.toShoot([((_local2.x - _local4.x) / 30), ((_local2.y - _local4.y) / 30)]); } else { isValidAction = true; mouseListenersEnabled = true; if (((((Math.abs((_local4.x - _local2.x)) - 1) >= _local4.stepsVal)) || (((Math.abs((_local4.y - _local2.y)) - 1) >= _local4.stepsVal)))){ _local12 = (_local2.x / 30); _local13 = (_local2.y / 30); if ((_local4.x - _local2.x) != 0){ _local12 = (_local12 + ((_local4.x - _local2.x) / Math.abs((_local4.x - _local2.x)))); }; if ((_local4.y - _local2.y) != 0){ _local13 = (_local13 + ((_local4.y - _local2.y) / Math.abs((_local4.y - _local2.y)))); }; cells_array[_local13][_local12].callMouseEvent("click"); }; }; } else { isValidAction = false; mouseListenersEnabled = false; panels_array[_local4.soldierIdx].onMoveClick(new MouseEvent(MouseEvent.CLICK)); _local4.addEventListener(LifeForm.REMOVE_SHADOW, removeShadowFromCells); _local4.addEventListener(Soldier.SOLDIER_END_TO_MOVE, onSoldierEndMove); _local4.moveForm([((path_array[0].x - _local4.x) / 30), ((path_array[0].y - _local4.y) / 30)]); }; }; } private function onSoldierEndMove(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); _local2.removeEventListener(Soldier.SOLDIER_END_TO_MOVE, onSoldierEndMove); _local2.removeEventListener(LifeForm.REMOVE_SHADOW, removeShadowFromCells); if (path_array.length > 1){ path_array.shift(); isValidAction = true; cells_array[Math.round((Math.round(path_array[0].y) / 30))][Math.round((Math.round(path_array[0].x) / 30))].callMouseEvent("click"); } else { path_array.shift(); checkSoldierSteps(); }; } private function makePath(_arg1:Object):Boolean{ var _local2:int; var _local3:int; var _local4:Object; path_array = new Array(); while (_arg1.parentx != null) { _local4 = new Object(); _local4.x = _arg1.x; _local4.y = _arg1.y; path_array.unshift(_local4); _arg1 = path[((("node_" + _arg1.parenty) + "_") + _arg1.parentx)]; }; if (path_array.length > soldiers_array[activeSoldierIndex].stepsVal){ return (false); }; _local2 = 0; while (_local2 < path_array.length) { if (isEnemyOnTheCell(null, path_array[_local2].x, path_array[_local2].y) >= 0){ path_array.splice(_local2); break; }; _local2++; }; _local3 = 0; while (_local3 < path_array.length) { if ((((_local3 > 0)) && ((_local3 < (path_array.length - 1))))){ if ((((((path_array[(_local3 - 1)].x == path_array[_local3].x)) && ((path_array[_local3].x == path_array[(_local3 + 1)].x)))) || ((((path_array[(_local3 - 1)].y == path_array[_local3].y)) && ((path_array[_local3].y == path_array[(_local3 + 1)].y)))))){ path_array.splice(_local3, 1); _local3 = -1; }; }; _local3++; }; return (true); } private function initGame():void{ var _local1:uint; while (_local1 < soldiers_array.length) { removeShadowOnInit(soldiers_array[_local1]); _local1++; }; soldiers_array[0].changeTextColor(); panels_array[0].isActive = true; } private function removeShadowFromCells(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); removeShadowOnInit(_local2); } private function get isHasGot():Boolean{ var _local1:uint; _local1 = Math.round((100 * Math.random())); if (_local1 <= G_RANGE){ return (true); }; return (false); } public function onMouseOut(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); _local2.selected = false; _local2.color = "none"; } private function addThinking():void{ var _local1:Class; _local1 = (getDefinitionByName("gears_anim_mc") as Class); gearsInstance = new (_local1); this.addChild(gearsInstance); gearsInstance.x = this.mouseX; gearsInstance.y = this.mouseY; gearsInstance.startDrag(); } private function removeShadowOnInit(_arg1:MovieClip){ var _local2:int; var _local3:int; var _local4:int; var _local5:Boolean; var _local6:int; _local2 = (_arg1.x / 30); _local3 = (_arg1.y / 30); _local4 = 3; _local5 = true; _local6 = _local2; while (_local6 < (_local2 + _local4)) { if (_local5){ if (_local6 < cells_array.length){ if (cells_array[_local3][_local6].shaded == true){ cells_array[_local3][_local6].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local6, _local3); }; }; }; if (map.isCellEmpty([(_local6 * 30), _arg1.y], [0, 0]) == false){ _local5 = false; }; _local6++; }; _local5 = true; _local6 = _local2; while (_local6 > (_local2 - _local4)) { if (_local5){ if (_local6 >= 0){ if (cells_array[_local3][_local6].shaded == true){ cells_array[_local3][_local6].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local6, _local3); }; }; }; if (map.isCellEmpty([(_local6 * 30), _arg1.y], [0, 0]) == false){ _local5 = false; }; _local6--; }; _local5 = true; _local6 = _local3; while (_local6 < (_local3 + _local4)) { if (_local5){ if (_local6 < cells_array.length){ if (cells_array[_local6][_local2].shaded == true){ cells_array[_local6][_local2].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local2, _local6); }; }; }; if (map.isCellEmpty([_arg1.x, (_local6 * 30)], [0, 0]) == false){ _local5 = false; }; _local6++; }; _local5 = true; _local6 = _local3; while (_local6 > (_local3 - _local4)) { if (_local5){ if (_local6 >= 0){ if (cells_array[_local6][_local2].shaded == true){ cells_array[_local6][_local2].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local2, _local6); }; }; }; if (map.isCellEmpty([_arg1.x, (_local6 * 30)], [0, 0]) == false){ _local5 = false; }; _local6--; }; _local2 = ((_arg1.x / 30) + 1); _local3 = ((_arg1.y / 30) + 1); if ((((_local2 < cells_array.length)) && ((_local3 < cells_array.length)))){ if (cells_array[_local3][_local2].shaded == true){ cells_array[_local3][_local2].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local2, _local3); }; }; _local2 = ((_arg1.x / 30) - 1); _local3 = ((_arg1.y / 30) - 1); if ((((_local2 >= 0)) && ((_local3 >= 0)))){ if (cells_array[_local3][_local2].shaded == true){ cells_array[_local3][_local2].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local2, _local3); }; }; _local2 = ((_arg1.x / 30) - 1); _local3 = ((_arg1.y / 30) + 1); if ((((_local3 < cells_array.length)) && ((_local2 >= 0)))){ if (cells_array[_local3][_local2].shaded == true){ cells_array[_local3][_local2].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local2, _local3); }; }; _local2 = ((_arg1.x / 30) + 1); _local3 = ((_arg1.y / 30) - 1); if ((((_local3 >= 0)) && ((_local2 < cells_array.length)))){ if (cells_array[_local3][_local2].shaded == true){ cells_array[_local3][_local2].clearShadow(); main.score = (main.score + main.difficult); main["score_txt"].text = main.score; showEnemies(_local2, _local3); }; }; } private function onSoldierReadyToShoot(_arg1:Event):void{ var _local2:MovieClip; var _local3:Shot; var _local4:SoundChannel; _local2 = (_arg1.target as MovieClip); _local2.removeEventListener(Soldier.SOLDIER_READY_TO_SHOOT, onSoldierReadyToShoot); if (main["sound"] == true){ _local3 = new Shot(); _local4 = new SoundChannel(); _local4 = _local3.play(0, 0); }; if (isHasGot){ if (fired_enemy != null){ fired_enemy.hasGot(_local2.damageRange); fired_enemy = null; main.score = (main.score + (10 * (main.difficult + 1))); main["score_txt"].text = main.score; }; }; checkSoldierSteps(); } private function set mouseListenersEnabled(_arg1:Boolean):void{ var _local2:uint; var _local3:uint; var _local4:uint; _local2 = 0; while (_local2 < cells_array.length) { _local4 = 0; while (_local4 < cells_array[_local2].length) { if (_arg1){ cells_array[_local2][_local4].turnOnMouseEvents(); if ((((Math.floor((mouseX / 30)) == _local4)) && ((Math.floor((mouseY / 30)) == _local2)))){ cells_array[_local2][_local4].callMouseEvent("over"); }; } else { if ((((Math.floor((mouseX / 30)) == _local4)) && ((Math.floor((mouseY / 30)) == _local2)))){ cells_array[_local2][_local4].callMouseEvent("out"); }; cells_array[_local2][_local4].turnOffMouseEvents(); }; _local4++; }; _local2++; }; _local3 = 0; while (_local3 < panels_array.length) { if (_arg1){ panels_array[_local3].addMouseListeners(); } else { panels_array[_local3].removeMouseListeners(); }; _local3++; }; } private function findPath(_arg1:int, _arg2:int, _arg3:int, _arg4:int):Boolean{ var _local5:Object; if (((Math.abs((_arg1 - _arg3)) + Math.abs((_arg2 - _arg4))) / 30) > soldiers_array[activeSoldierIndex].stepsVal){ return (false); }; path = new Object(); path.unchecked_neighbours = []; path.done = false; path.name = ((("node_" + _arg2) + "_") + _arg1); path[path.name] = {x:_arg1, y:_arg2, visited:true, parentx:null, parenty:null}; path.unchecked_neighbours[path.unchecked_neighbours.length] = path[path.name]; while (path.unchecked_neighbours.length > 0) { _local5 = path.unchecked_neighbours.shift(); if ((((_local5.x == _arg3)) && ((_local5.y == _arg4)))){ path.done = makePath(_local5); break; } else { _local5.visited = true; addNode(_local5, (_local5.x + 30), _local5.y); addNode(_local5, (_local5.x - 30), _local5.y); addNode(_local5, _local5.x, (_local5.y + 30)); addNode(_local5, _local5.x, (_local5.y - 30)); }; }; if (path.done){ return (true); }; return (false); } private function checkEnemySteps():void{ var _local1:Array; var _local2:uint; var _local3:uint; _local1 = new Array(); _local2 = 0; while (_local2 < enemies_array.length) { if (!enemies_array[_local2].noSteps){ _local1.push(enemies_array[_local2]); }; _local2++; }; if (_local1.length > 0){ moveEnemies(_local1); } else { _local3 = 0; while (_local3 < soldiers_array.length) { soldiers_array[_local3].resetSteps(); _local3++; }; mouseListenersEnabled = true; addToLog("Your turn"); removeThinking(); isEndTurnBlocked = false; }; } public function checkTheWall(_arg1:MovieClip, _arg2:Soldier):Boolean{ var _local3:int; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:uint; _local6 = Math.max(Math.abs(((_arg1.x - _arg2.x) / 30)), Math.abs(((_arg1.y - _arg2.y) / 30))); _local7 = 0; while (_local7 < _local6) { _local3 = isEnemyOnTheCell(_arg2, (_arg2.x + ((_local7 * (_arg1.x - _arg2.x)) / _local6)), (_arg2.y + ((_local7 * (_arg1.y - _arg2.y)) / _local6))); _local4 = isSolderOnTheCell(_arg2, (_arg2.x + ((_local7 * (_arg1.x - _arg2.x)) / _local6)), (_arg2.y + ((_local7 * (_arg1.y - _arg2.y)) / _local6))); _local5 = map.isCellEmpty([(_arg2.x + ((_local7 * (_arg1.x - _arg2.x)) / _local6)), (_arg2.y + ((_local7 * (_arg1.y - _arg2.y)) / _local6))], [0, 0]); if (((((!(_local5)) || ((_local4 >= 0)))) || ((_local3 >= 0)))){ return (true); }; _local7++; }; return (false); } private function isEnemyOnTheCell(_arg1:MovieClip, _arg2:int, _arg3:int):int{ var _local4:int; var _local5:uint; _local4 = -1; _local5 = 0; while (_local5 < enemies_array.length) { if ((((((_arg2 == enemies_array[_local5].x)) && ((_arg3 == enemies_array[_local5].y)))) && (!((_arg1 == enemies_array[_local5]))))){ _local4 = _local5; break; }; _local5++; }; return (_local4); } private function checkSoldierSteps():void{ var _local1:Boolean; var _local2:uint; var _local3:uint; _local1 = true; _local2 = 0; while (_local2 < soldiers_array.length) { if (!soldiers_array[_local2].noSteps){ _local1 = false; }; _local2++; }; if (_local1){ _local3 = 0; while (_local3 < enemies_array.length) { enemies_array[_local3].resetSteps(); _local3++; }; moveEnemies(enemies_array); addToLog("Enemy turn"); isEndTurnBlocked = true; addThinking(); } else { mouseListenersEnabled = true; }; } public function onMouseOver(_arg1:Event):void{ var _local2:MovieClip; var _local3:int; var _local4:int; var _local5:Soldier; _local2 = (_arg1.target as MovieClip); _local3 = isEnemyOnTheCell(_local2, _local2.x, _local2.y); _local4 = isSolderOnTheCell(_local2, _local2.x, _local2.y); _local5 = soldiers_array[activeSoldierIndex]; _local2.selected = true; if (map.isCellEmpty([_local2.x, _local2.y], [0, 0]) == false){ isValidAction = false; paintCell(_local2, "red"); } else { if (_local4 >= 0){ isValidAction = true; paintCell(_local2, "green"); } else { if (_local3 >= 0){ if (enemies_array[_local3].visible){ checkRanges(_local2, _local5, _local5.rangeVal); } else { if (findPath(_local5.x, _local5.y, _local2.x, _local2.y)){ paintCell(_local2, "green"); isValidAction = true; } else { isValidAction = false; paintCell(_local2, "red"); }; }; } else { if (findPath(_local5.x, _local5.y, _local2.x, _local2.y)){ paintCell(_local2, "green"); isValidAction = true; } else { isValidAction = false; paintCell(_local2, "red"); }; }; }; }; } public function checkRanges(_arg1:MovieClip, _arg2:Soldier, _arg3:int):void{ if (((!((_arg1.x == _arg2.x))) && (!((_arg1.y == _arg2.y))))){ isValidAction = false; paintCell(_arg1, "red"); } else { if (((((Math.abs((_arg2.x - _arg1.x)) / 30) <= _arg3)) && (((Math.abs((_arg2.y - _arg1.y)) / 30) <= _arg3)))){ if (_arg2.noSteps == true){ isValidAction = false; paintCell(_arg1, "red"); } else { if (checkTheWall(_arg1, _arg2) == true){ isValidAction = false; paintCell(_arg1, "red"); } else { isValidAction = true; paintCell(_arg1, "green"); }; }; } else { isValidAction = false; paintCell(_arg1, "red"); }; }; } } }//packageSection 43//GameField (GameField) package { import flash.display.*; import flash.text.*; import flash.utils.*; public class GameField { private var itemsMap:Array; public function GameField(_arg1:Array){ this.itemsMap = _arg1; } public function isCellEmpty(_arg1:Array, _arg2:Array):Boolean{ var _local3:int; var _local4:int; _local3 = (Math.round((_arg1[0] / 30)) + _arg2[0]); _local4 = (Math.round((_arg1[1] / 30)) + _arg2[1]); if (_local3 < 0){ return (false); }; if (_local4 < 0){ return (false); }; if (_local3 >= this.itemsMap.length){ return (false); }; if (_local4 >= this.itemsMap.length){ return (false); }; if (itemsMap[_local4][_local3] == 0){ return (true); }; return (false); } private function addTextField(_arg1:MovieClip):void{ var _local2:TextField; _local2 = new TextField(); _local2.name = "tf"; _local2.autoSize = "center"; _local2.textColor = 0xFFFFFF; _local2.text = (((_arg1.x / 30) + "/") + (_arg1.y / 30)); _local2.y = ((30 - _local2.height) / 2); _local2.x = ((30 - _local2.width) / 2); _local2.selectable = false; _arg1.addChild(_local2); } public function buildField(_arg1:MovieClip):Array{ var _local2:Array; var _local3:uint; var _local4:Array; var _local5:uint; var _local6:Class; var _local7:MovieClip; _local2 = new Array(); _local3 = 0; while (_local3 < this.itemsMap.length) { _local4 = new Array(); _local5 = 0; while (_local5 < this.itemsMap[_local3].length) { _local6 = (getDefinitionByName(("tile_" + itemsMap[_local3][_local5].toString())) as Class); _local7 = new (_local6); _arg1.addChild(_local7); _local4.push(_local7); _local7.name = ("tile_" + itemsMap[_local3][_local5].toString()); _local7.x = (30 * _local5); _local7.y = (30 * _local3); _local5++; }; _local2.push(_local4); _local3++; }; return (_local2); } public function buildMouseEventField(_arg1:MovieClip):Array{ var _local2:Array; var _local3:uint; var _local4:Array; var _local5:uint; var _local6:MovieClip; _local2 = new Array(); _local3 = 0; while (_local3 < this.itemsMap.length) { _local4 = new Array(); _local5 = 0; while (_local5 < this.itemsMap[_local3].length) { _local6 = new Cells(); _local6.x = (30 * _local5); _local6.y = (30 * _local3); _arg1.addChild(_local6); _local4.push(_local6); _local5++; }; _local2.push(_local4); _local3++; }; return (_local2); } } }//packageSection 44//GameOverMan (GameOverMan) package { import flash.display.*; import flash.events.*; import flash.text.*; public class GameOverMan extends MovieClip { public var btn_submit_mc:MovieClip; public var playerScore_txt:TextField; private var mainTimeLine:MovieClip; private var gameLevel:int; private var actionToPerform:String; public var btn_continue_mc:MovieClip; public function GameOverMan(){ addFrameScript(19, frame20, 32, frame33, 66, frame67); super(); } public function getScoreText():String{ return (mainTimeLine.score); } public function goSubmit(_arg1:MouseEvent):void{ removeBtnsListeners(); actionToPerform = "submitScore"; this.play(); } private function removeBtnsListeners():void{ btn_continue_mc.removeEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_submit_mc.removeEventListener(MouseEvent.CLICK, goSubmit); btn_submit_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_submit_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } function frame20(){ playerScore_txt.text = getScoreText(); } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } public function goContinue(_arg1:MouseEvent):void{ removeBtnsListeners(); actionToPerform = "menu"; this.play(); } public function executePlayerCommand():void{ if (actionToPerform == "menu"){ mainTimeLine.resetGame(); }; mainTimeLine.gotoAndStop(actionToPerform); } function frame33(){ stop(); btn_continue_mc.addEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_submit_mc.addEventListener(MouseEvent.CLICK, goSubmit); btn_submit_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_submit_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); playerScore_txt.text = getScoreText(); } public function getTimeLine(_arg1:MovieClip, _arg2:int):void{ this.mainTimeLine = _arg1; this.gameLevel = _arg2; } function frame67(){ stop(); executePlayerCommand(); } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } } }//packageSection 45//GameSnd (GameSnd) package { import flash.media.*; public dynamic class GameSnd extends Sound { } }//packageSection 46//gears_anim_mc (gears_anim_mc) package { import flash.display.*; public dynamic class gears_anim_mc extends MovieClip { } }//packageSection 47//InstructionsMan (InstructionsMan) package { import flash.display.*; import flash.events.*; public class InstructionsMan extends MovieClip { public var btn_back_mc:MovieClip; private var mainTimeLine:MovieClip; public function InstructionsMan(){ addFrameScript(31, frame32, 64, frame65); super(); } function frame65(){ stop(); executePlayerCommand(); } private function removeBtnsListeners():void{ btn_back_mc.removeEventListener(MouseEvent.CLICK, goBack); btn_back_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_back_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } public function executePlayerCommand():void{ mainTimeLine.gotoAndStop("menu"); } function frame32(){ stop(); btn_back_mc.addEventListener(MouseEvent.CLICK, goBack); btn_back_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_back_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } public function getTimeLine(_arg1:MovieClip):void{ this.mainTimeLine = _arg1; } public function goBack(_arg1:MouseEvent):void{ removeBtnsListeners(); this.play(); } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } } }//packageSection 48//IntroAnimMan (IntroAnimMan) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class IntroAnimMan extends MovieClip { private var isClickOnStage:Boolean; private var isRollOver:Boolean; private var clickInstance:MovieClip; public var btn_skip_mc:MovieClip; private var mainTimeLine:MovieClip; public function IntroAnimMan(){ addFrameScript(24, frame25, 49, frame50, 73, frame74, 97, frame98, 121, frame122, 145, frame146, 169, frame170, 193, frame194, 215, frame216); super(); } function frame74(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } function frame98(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } function frame170(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } function frame25(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } function frame216(){ stop(); this.goToMenu(); } public function skipOutHandler(_arg1:MouseEvent):void{ if (!isRollOver){ return; }; if (isClickOnStage == false){ showClick(); }; isRollOver = false; _arg1.target.gotoAndStop(1); } public function goToMenu():void{ this.mainTimeLine.gotoAndStop("menu"); } function frame194(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } public function showClick():void{ var _local1:Class; if (isClickOnStage){ return; }; _local1 = (getDefinitionByName("click_mc") as Class); clickInstance = new (_local1); this.addChild(clickInstance); clickInstance.x = this.mouseX; clickInstance.y = this.mouseY; clickInstance.startDrag(); isClickOnStage = true; } function frame122(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } public function goForward(_arg1:MouseEvent):void{ this.removeEventListener(MouseEvent.CLICK, goForward); if (isRollOver){ return; }; this.removeChild(clickInstance); this.play(); isClickOnStage = false; } public function skipClickHandler(_arg1:MouseEvent):void{ this.removeEventListener(MouseEvent.CLICK, goForward); _arg1.target.removeEventListener(MouseEvent.ROLL_OVER, skipOverHandler); _arg1.target.removeEventListener(MouseEvent.ROLL_OUT, skipOutHandler); _arg1.target.removeEventListener(MouseEvent.CLICK, skipClickHandler); this.gotoAndPlay("skipped"); } function frame50(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } public function getTimeLine(_arg1:MovieClip):void{ this.mainTimeLine = _arg1; isRollOver = false; isClickOnStage = false; } public function skipOverHandler(_arg1:MouseEvent):void{ if (isRollOver){ return; }; if (isClickOnStage == true){ this.removeChild(clickInstance); isClickOnStage = false; }; isRollOver = true; _arg1.target.gotoAndStop(2); } function frame146(){ stop(); this.addEventListener(MouseEvent.CLICK, goForward); btn_skip_mc.addEventListener(MouseEvent.ROLL_OVER, skipOverHandler); btn_skip_mc.addEventListener(MouseEvent.ROLL_OUT, skipOutHandler); btn_skip_mc.addEventListener(MouseEvent.CLICK, skipClickHandler); showClick(); } } }//packageSection 49//LifeForm (LifeForm) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class LifeForm extends MovieClip { private var life:int; private var steps:int; private var isMoving:Boolean;// = false private var action:String; private var range:int; private var drange:Array; private var direction:int; private var defsteps:uint; private var hjy:uint; private var angle:int; public var soldierIdx:int; private var wix:uint; public static const END_OF_LIFE_FORM:String = "End_of_life_form"; public static const REMOVE_SHADOW:String = "Remove_shadows"; public static const LIFE_WAS_CHANGED:String = "Life_was_changed"; public static const CHANGE_STEPS_NUM:String = "Steps_num_was_changed"; public function LifeForm(){ isMoving = false; super(); } private function execMove(_arg1:Event):void{ if ((((Math.round(x) == wix)) && ((Math.round(y) == hjy)))){ this["anim"].gotoAndStop("stop"); isMoving = false; removeEventListener(Event.ENTER_FRAME, execMove); dispatchEndMove(); } else { if (!isMoving){ this["anim"].gotoAndStop("move"); isMoving = true; }; if (x < wix){ x = (x + 5); }; if (x > wix){ x = (x - 5); }; if (y < hjy){ y = (y + 5); }; if (y > hjy){ y = (y - 5); }; if (((((x % 30) == 0)) && (((y % 30) == 0)))){ if (steps > 0){ steps--; } else { steps = 0; }; dispatchEvent(new Event(LifeForm.CHANGE_STEPS_NUM)); dispatchEvent(new Event(LifeForm.REMOVE_SHADOW)); }; }; } public function get damageRange():Array{ return (drange); } public function initLifeForm(_arg1:Object, _arg2:uint):void{ action = "move"; life = _arg1.life; steps = _arg1.walk; range = _arg1.range; wix = (x = (30 * _arg1.x)); hjy = (y = (30 * _arg1.y)); drange = _arg1.drange; defsteps = _arg1.walk; direction = (this["anim"].rotation = _arg1.rotation); name = ((getQualifiedClassName(this).toLocaleLowerCase() + "_") + _arg2); soldierIdx = _arg2; } public function get actionVal():String{ return (action); } public function set actionVal(_arg1:String):void{ action = _arg1; } private function getAction(_arg1:uint, _arg2:uint):void{ wix = _arg1; hjy = _arg2; getDirection(); } public function moveForm(_arg1:Array):void{ action = "move"; getAction((Math.round(x) + (30 * _arg1[0])), (Math.round(y) + (30 * _arg1[1]))); } public function resetSteps():void{ steps = defsteps; dispatchEvent(new Event(LifeForm.CHANGE_STEPS_NUM)); } private function execRotate(_arg1:Event):void{ if ((((Math.round(this["anim"].rotation) == direction)) || ((((Math.round(this["anim"].rotation) == -180)) && ((direction == 180)))))){ removeEventListener(Event.ENTER_FRAME, execRotate); if (action == "move"){ addEventListener(Event.ENTER_FRAME, execMove); }; if (action == "shoot"){ this["anim"]["fire"].play(); dispatchReadyToShoot(); }; } else { this["anim"].rotation = (this["anim"].rotation + angle); }; } public function get currentDir():Array{ if (direction == 0){ return ([0, -1]); }; if (direction == 90){ return ([1, 0]); }; if (direction == 180){ return ([0, 1]); }; if (direction == -90){ return ([-1, 0]); }; return ([0, 0]); } private function endOfLifeForm(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, endOfLifeForm); dispatchEvent(new Event(LifeForm.END_OF_LIFE_FORM)); } public function toShoot(_arg1:Array):void{ if (steps > 0){ steps--; } else { if (steps == 1){ steps = 0; } else { return; }; }; action = "shoot"; getAction((x + (30 * _arg1[0])), (y + (30 * _arg1[1]))); dispatchEvent(new Event(LifeForm.CHANGE_STEPS_NUM)); } protected function dispatchEndMove():void{ } public function hasGot(_arg1:Array):void{ this["anim"].gotoAndPlay("hit"); life = (life - (_arg1[0] + Math.round(((_arg1[1] - _arg1[0]) * Math.random())))); dispatchEvent(new Event(LifeForm.LIFE_WAS_CHANGED)); if (life <= 0){ addEventListener(Event.ENTER_FRAME, endOfLifeForm); }; } public function get lifeVal():int{ return (life); } public function get stepsVal():uint{ return (steps); } private function getDirection():void{ var _local1:int; if (x < wix){ direction = 90; }; if (x > wix){ direction = -90; }; if (y < hjy){ direction = 180; }; if (y > hjy){ direction = 0; }; _local1 = (Math.round(this["anim"].rotation) - direction); if ((((_local1 == 90)) || ((_local1 == -270)))){ angle = -18; } else { angle = 18; }; if (visible == false){ x = wix; y = hjy; if (steps > 0){ steps--; } else { steps = 0; }; this["anim"].rotation = direction; }; addEventListener(Event.ENTER_FRAME, execRotate); } public function get rangeVal():uint{ return (range); } public function get noSteps():Boolean{ if (steps > 0){ return (false); }; return (true); } protected function dispatchReadyToShoot():void{ } } }//packageSection 50//MainMenu (MainMenu) package { import flash.display.*; import flash.events.*; public class MainMenu extends MovieClip { public var normal_btn:MovieClip; public var hard_btn:MovieClip; public var btn_credits_mc:MovieClip; public var btn_game_mc:MovieClip; private var playerCmd:String; private var mainTimeLine:MovieClip; public var easy_btn:MovieClip; public var btn_instructions_mc:MovieClip; public var btn_intro_mc:MovieClip; public function MainMenu(){ addFrameScript(38, frame39, 57, frame58); super(); } public function setupDifficulty():void{ if (mainTimeLine.difficult == 1){ this["easy_btn"].gotoAndStop(2); this["normal_btn"].gotoAndStop(1); this["hard_btn"].gotoAndStop(1); } else { if (mainTimeLine.difficult == 2){ this["easy_btn"].gotoAndStop(1); this["normal_btn"].gotoAndStop(2); this["hard_btn"].gotoAndStop(1); } else { this["easy_btn"].gotoAndStop(1); this["normal_btn"].gotoAndStop(1); this["hard_btn"].gotoAndStop(2); }; }; } private function removeBtnsListeners():void{ btn_intro_mc.removeEventListener(MouseEvent.CLICK, replayIntro); btn_game_mc.removeEventListener(MouseEvent.CLICK, playGame); btn_instructions_mc.removeEventListener(MouseEvent.CLICK, showInstructions); btn_credits_mc.removeEventListener(MouseEvent.CLICK, showCredits); btn_intro_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_game_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_instructions_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_credits_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_intro_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_game_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_instructions_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_credits_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); easy_btn.removeEventListener(MouseEvent.CLICK, onEasyHandler); normal_btn.removeEventListener(MouseEvent.CLICK, onNormalHandler); hard_btn.removeEventListener(MouseEvent.CLICK, onHardHandler); } public function playGame(_arg1:MouseEvent):void{ removeBtnsListeners(); playerCmd = "briefing"; this.play(); } public function onHardHandler(_arg1:MouseEvent):void{ resetDifficultyButtons(); mainTimeLine.difficult = 3; _arg1.target.gotoAndStop(2); } public function onEasyHandler(_arg1:MouseEvent):void{ resetDifficultyButtons(); mainTimeLine.difficult = 1; _arg1.target.gotoAndStop(2); } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } function frame39(){ stop(); btn_intro_mc.addEventListener(MouseEvent.CLICK, replayIntro); btn_game_mc.addEventListener(MouseEvent.CLICK, playGame); btn_instructions_mc.addEventListener(MouseEvent.CLICK, showInstructions); btn_credits_mc.addEventListener(MouseEvent.CLICK, showCredits); btn_intro_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_game_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_instructions_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_credits_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_intro_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_game_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_instructions_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); btn_credits_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); easy_btn.addEventListener(MouseEvent.CLICK, onEasyHandler); normal_btn.addEventListener(MouseEvent.CLICK, onNormalHandler); hard_btn.addEventListener(MouseEvent.CLICK, onHardHandler); setupDifficulty(); } public function showInstructions(_arg1:MouseEvent):void{ removeBtnsListeners(); playerCmd = "instructions"; this.play(); } public function resetDifficultyButtons():void{ this["easy_btn"].gotoAndStop(1); this["normal_btn"].gotoAndStop(1); this["hard_btn"].gotoAndStop(1); } public function replayIntro(_arg1:MouseEvent):void{ removeBtnsListeners(); playerCmd = "intro"; this.play(); } public function executePlayerCommand():void{ mainTimeLine.gotoAndStop(playerCmd); } function frame58(){ stop(); executePlayerCommand(); } public function onNormalHandler(_arg1:MouseEvent):void{ resetDifficultyButtons(); mainTimeLine.difficult = 2; _arg1.target.gotoAndStop(2); } public function getTimeLine(_arg1:MovieClip):void{ this.mainTimeLine = _arg1; } public function showCredits(_arg1:MouseEvent):void{ removeBtnsListeners(); playerCmd = "credits"; this.play(); } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } } }//packageSection 51//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.1"); } public static function showTimedAd(_arg1:Object):void{ MochiAd.showInterLevelAd(_arg1); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var f:Function; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip._mochiad_loaded){ return (null); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; lv.lc = name; lv.st = getTimer(); loader = new Loader(); f = function (_arg1:Object):void{ mc._mochiad_ctr_failed = true; }; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); g = function (_arg1:Object):void{ MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["sendHighScore", _arg1], _arg2, _arg3); return (true); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; return (_local3); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; _arg1.removeChild(_arg1._mochiad); delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ this.clip.stop(); }, ad_finished:function ():void{ this.clip.play(); }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = _local1.loaderInfo.bytesTotal; if ((((_local4 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ _local3 = true; }; }; }; if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _loadCommunicator(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var clipname:String; var server:String; var depth:Number; var mc:MovieClip; var lv:URLVariables; var k:String; var lc:LocalConnection; var name:String; var req:URLRequest; var loader:Loader; var options = _arg1; DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; clipname = ("_mochiad_com_" + options.id); if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip[clipname]){ return (clip[clipname]); }; server = (options.com_server + options.id); MochiAd._allowDomains(server); delete options.id; delete options.com_server; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, clipname, depth); lv = new URLVariables(); for (k in options) { lv[k] = options[k]; }; lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.name = name; mc.lc = lc; lv.lc = name; mc._id = 0; mc._queue = []; mc.rpcResult = function (_arg1:Object):void{ var _local3:Array; var _local4:Array; var _local5:Number; var _local6:Object; var _local7:Object; _arg1 = parseInt(_arg1.toString()); _local3 = mc._callbacks[_arg1]; if (typeof(_local3) == "undefined"){ return; }; delete mc._callbacks[_arg1]; _local4 = []; _local5 = 2; while (_local5 < _local3.length) { _local4.push(_local3[_local5]); _local5++; }; _local5 = 1; while (_local5 < arguments.length) { _local4.push(arguments[_local5]); _local5++; }; _local6 = _local3[1]; _local7 = _local3[0]; if (((_local7) && ((typeof(_local6) == "string")))){ _local6 = _local7[_local6]; }; if (typeof(_local6) == "function"){ _local6.apply(_local7, _local4); }; }; mc._didConnect = function (_arg1:String):void{ var _local2:Array; var _local3:Function; var _local4:Number; var _local5:Array; mc._endpoint = _arg1; _local2 = mc._queue; delete mc._queue; _local3 = mc.doSend; _local4 = 0; while (_local4 < _local2.length) { _local5 = _local2[_local4]; _local3.apply(this, _local5); _local4++; }; }; mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{ var _local5:Number; var _local6:LocalConnection; var _local7:Array; var _local8:Number; if (mc._endpoint == null){ _local7 = []; _local8 = 0; while (_local8 < arguments.length) { _local7.push(arguments[_local8]); _local8++; }; mc._queue.push(_local7); return; }; mc._id = (mc._id + 1); _local5 = mc._id; mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))]; _local6 = new LocalConnection(); _local6.send(mc._endpoint, "rpc", _local5, _arg1); }; mc._callbacks = {}; mc._callbacks[0] = [mc, "_didConnect"]; lv.st = getTimer(); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader = new Loader(); loader.load(req); mc.addChild(loader); mc._mochiad_com = loader; return (mc); } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{ this.clip.stop(); }, ad_finished:function ():void{ this.clip.play(); }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); bar.x = 10; bar.y = (h - 20); bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (!this.parent.parent){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); if (!chk.showing){ _local11 = _local2.loaderInfo.bytesTotal; if ((((_local11 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local3 > chk.ad_timeout){ _local4 = true; }; }; }; if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ MochiAd.showPreGameAd(_arg1); } public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3); return (true); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { mc.removeEventListener(Event.ENTER_FRAME, f); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//packageSection 52//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//packageSection 53//NoMoves (NoMoves) package { import flash.media.*; public dynamic class NoMoves extends Sound { } }//packageSection 54//Shot (Shot) package { import flash.media.*; public dynamic class Shot extends Sound { } }//packageSection 55//Soldier (Soldier) package { import flash.display.*; import flash.events.*; public class Soldier extends LifeForm { public var highlight_mc:MovieClip; public var anim:MovieClip; public static const SOLDIER_READY_TO_SHOOT:String = "Soldier_ready_to_shoot"; public static const SOLDIER_END_TO_MOVE:String = "Soldier_end_to_move"; public function addTextField(_arg1:uint):void{ switch (_arg1){ case 0: this["highlight_mc"].gotoAndStop("green"); break; case 1: this["highlight_mc"].gotoAndStop("blue"); break; case 2: this["highlight_mc"].gotoAndStop("red"); break; case 3: this["highlight_mc"].gotoAndStop("yellow"); break; }; } public function changeTextColor():void{ switch (soldierIdx){ case 0: this["highlight_mc"].gotoAndStop("sel_green"); break; case 1: this["highlight_mc"].gotoAndStop("sel_blue"); break; case 2: this["highlight_mc"].gotoAndStop("sel_red"); break; case 3: this["highlight_mc"].gotoAndStop("sel_yellow"); break; }; } override protected function dispatchEndMove():void{ dispatchEvent(new Event(Soldier.SOLDIER_END_TO_MOVE)); } public function resetTextColor():void{ switch (soldierIdx){ case 0: this["highlight_mc"].gotoAndStop("green"); break; case 1: this["highlight_mc"].gotoAndStop("blue"); break; case 2: this["highlight_mc"].gotoAndStop("red"); break; case 3: this["highlight_mc"].gotoAndStop("yellow"); break; }; } override protected function dispatchReadyToShoot():void{ dispatchEvent(new Event(Soldier.SOLDIER_READY_TO_SHOOT)); } } }//packageSection 56//SoldierPanel (SoldierPanel) package { import flash.display.*; import flash.events.*; import flash.text.*; public class SoldierPanel extends MovieClip { public var life:TextField; private var is_killed:Boolean;// = false public var fire:MovieClip; public var face:MovieClip; public var s_p_idx_mc:MovieClip; private var soldier:MovieClip;// = null public var info:MovieClip; public var idx:int;// = -1 public var step:TextField; private var info_is_open:Boolean;// = false public var move:MovieClip; public var back:MovieClip; public static const SHOW_INFO:String = "Show_info"; public static const ON_SET_ACTIVE:String = "On_set_active"; public function SoldierPanel(){ idx = -1; info_is_open = false; is_killed = false; soldier = null; super(); } public function setActiveInfoBtn():void{ if (is_killed){ return; }; this["info"].gotoAndStop(2); } public function addMouseListeners():void{ if (is_killed){ return; }; this["info"].addEventListener(MouseEvent.CLICK, onInfoClick); } public function removeListeners():void{ if (is_killed){ return; }; soldier.removeEventListener(LifeForm.CHANGE_STEPS_NUM, changeStepsNum); soldier.removeEventListener(LifeForm.LIFE_WAS_CHANGED, changeLifeLevel); removeMouseListeners(); } private function changeLifeLevel(_arg1:Event):void{ if (is_killed){ return; }; this["life"].text = soldier.lifeVal.toString(); } public function onMoveClick(_arg1:MouseEvent):void{ if (is_killed){ return; }; soldier.actionVal = "move"; this["fire"].gotoAndStop(1); this["move"].gotoAndStop(2); } private function onInfoClick(_arg1:MouseEvent):void{ if (is_killed){ return; }; dispatchEvent(new Event(SoldierPanel.SHOW_INFO)); } public function resetButton():void{ if (is_killed){ return; }; this["info"].gotoAndStop(1); } public function initKilled(_arg1:uint):void{ if (is_killed){ return; }; this["step"].autoSize = TextFieldAutoSize.RIGHT; this["life"].autoSize = TextFieldAutoSize.RIGHT; this["face"].gotoAndStop((_arg1 + 5)); this["step"].text = 0; this["life"].text = 0; setSoldierIdx(_arg1); idx = _arg1; is_killed = true; name = ("pnl_" + _arg1); y = (_arg1 * (height + 5)); x = 625; } public function set isActive(_arg1:Boolean):void{ if (is_killed){ return; }; if (_arg1){ this["back"].gotoAndStop(2); } else { this["back"].gotoAndStop(1); }; } public function get owner():MovieClip{ return (soldier); } public function removeMouseListeners():void{ if (is_killed){ return; }; this["info"].removeEventListener(MouseEvent.CLICK, onInfoClick); } private function onBackClick(_arg1:MouseEvent):void{ if (is_killed){ return; }; dispatchEvent(new Event(SoldierPanel.ON_SET_ACTIVE)); isActive = true; } public function onFireClick(_arg1:MouseEvent):void{ if (is_killed){ return; }; soldier.actionVal = "shoot"; this["move"].gotoAndStop(1); this["fire"].gotoAndStop(2); } public function initPanel(_arg1:MovieClip, _arg2:uint):void{ if (is_killed){ return; }; this["step"].autoSize = TextFieldAutoSize.RIGHT; this["life"].autoSize = TextFieldAutoSize.RIGHT; this["step"].text = _arg1.stepsVal.toString(); this["life"].text = _arg1.lifeVal.toString(); setSoldierIdx(_arg2); this["face"].gotoAndStop((_arg2 + 1)); this["move"].gotoAndStop(2); this.soldier = _arg1; this.name = ("pnl_" + _arg2); this.idx = _arg2; addListeners(); y = (_arg2 * (height + 5)); x = 625; } private function addListeners():void{ soldier.addEventListener(LifeForm.LIFE_WAS_CHANGED, changeLifeLevel); soldier.addEventListener(LifeForm.CHANGE_STEPS_NUM, changeStepsNum); addMouseListeners(); } private function setSoldierIdx(_arg1:int):void{ switch (_arg1){ case 0: this["s_p_idx_mc"].gotoAndStop("green"); break; case 1: this["s_p_idx_mc"].gotoAndStop("blue"); break; case 2: this["s_p_idx_mc"].gotoAndStop("red"); break; case 3: this["s_p_idx_mc"].gotoAndStop("yellow"); break; }; } public function onKillSoldier():void{ if (is_killed){ return; }; trace(("onKillSoldier, idx: " + idx)); this["face"].gotoAndStop((idx + 5)); this["move"].gotoAndStop(1); this["fire"].gotoAndStop(1); this["step"].text = 0; this["life"].text = 0; removeListeners(); is_killed = false; } private function changeStepsNum(_arg1:Event):void{ if (is_killed){ return; }; this["step"].text = soldier.stepsVal.toString(); } public function get infoIsOpen():Boolean{ return (info_is_open); } public function ternOffInfoButton():void{ if (is_killed){ return; }; onInfoClick(new MouseEvent(MouseEvent.CLICK)); } } }//packageSection 57//SoldierScream (SoldierScream) package { import flash.media.*; public dynamic class SoldierScream extends Sound { } }//packageSection 58//SubmitScoreMan (SubmitScoreMan) package { import flash.display.*; import flash.events.*; import flash.text.*; public class SubmitScoreMan extends MovieClip { public var playerScore_txt:TextField; private var mainTimeLine:MovieClip; private var gameLevel:int; public var playerName_txt:TextField; public var btn_continue_mc:MovieClip; public function SubmitScoreMan(){ addFrameScript(32, frame33, 66, frame67); super(); } public function getScoreText():String{ return (mainTimeLine.score); } private function removeBtnsListeners():void{ btn_continue_mc.removeEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } public function goContinue(_arg1:MouseEvent):void{ removeBtnsListeners(); trace(((("player name: " + playerName_txt.text) + " score: ") + mainTimeLine.score)); mainTimeLine.playerName = playerName_txt.text; this.play(); } public function executePlayerCommand():void{ mainTimeLine.gotoAndStop("leaderboard"); } function frame33(){ stop(); btn_continue_mc.addEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); playerScore_txt.text = getScoreText(); } public function getTimeLine(_arg1:MovieClip):void{ this.mainTimeLine = _arg1; } function frame67(){ stop(); executePlayerCommand(); } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } } }//packageSection 59//tile_0 (tile_0) package { import flash.display.*; public dynamic class tile_0 extends MovieClip { public function tile_0(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 60//tile_1 (tile_1) package { import flash.display.*; public dynamic class tile_1 extends MovieClip { public function tile_1(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 61//tile_10 (tile_10) package { import flash.display.*; public dynamic class tile_10 extends MovieClip { public function tile_10(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 62//tile_11 (tile_11) package { import flash.display.*; public dynamic class tile_11 extends MovieClip { public function tile_11(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 63//tile_12 (tile_12) package { import flash.display.*; public dynamic class tile_12 extends MovieClip { public function tile_12(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 64//tile_13 (tile_13) package { import flash.display.*; public dynamic class tile_13 extends MovieClip { public function tile_13(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 65//tile_14 (tile_14) package { import flash.display.*; public dynamic class tile_14 extends MovieClip { public function tile_14(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 66//tile_15 (tile_15) package { import flash.display.*; public dynamic class tile_15 extends MovieClip { public function tile_15(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 67//tile_16 (tile_16) package { import flash.display.*; public dynamic class tile_16 extends MovieClip { public function tile_16(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 68//tile_17 (tile_17) package { import flash.display.*; public dynamic class tile_17 extends MovieClip { public function tile_17(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 69//tile_18 (tile_18) package { import flash.display.*; public dynamic class tile_18 extends MovieClip { public function tile_18(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 70//tile_19 (tile_19) package { import flash.display.*; public dynamic class tile_19 extends MovieClip { public function tile_19(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 71//tile_2 (tile_2) package { import flash.display.*; public dynamic class tile_2 extends MovieClip { public function tile_2(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 72//tile_20 (tile_20) package { import flash.display.*; public dynamic class tile_20 extends MovieClip { public function tile_20(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 73//tile_21 (tile_21) package { import flash.display.*; public dynamic class tile_21 extends MovieClip { public function tile_21(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 74//tile_22 (tile_22) package { import flash.display.*; public dynamic class tile_22 extends MovieClip { public function tile_22(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 75//tile_23 (tile_23) package { import flash.display.*; public dynamic class tile_23 extends MovieClip { public function tile_23(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 76//tile_24 (tile_24) package { import flash.display.*; public dynamic class tile_24 extends MovieClip { public function tile_24(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 77//tile_25 (tile_25) package { import flash.display.*; public dynamic class tile_25 extends MovieClip { public function tile_25(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 78//tile_26 (tile_26) package { import flash.display.*; public dynamic class tile_26 extends MovieClip { public function tile_26(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 79//tile_27 (tile_27) package { import flash.display.*; public dynamic class tile_27 extends MovieClip { public function tile_27(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 80//tile_28 (tile_28) package { import flash.display.*; public dynamic class tile_28 extends MovieClip { public function tile_28(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 81//tile_29 (tile_29) package { import flash.display.*; public dynamic class tile_29 extends MovieClip { public function tile_29(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 82//tile_3 (tile_3) package { import flash.display.*; public dynamic class tile_3 extends MovieClip { public function tile_3(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 83//tile_30 (tile_30) package { import flash.display.*; public dynamic class tile_30 extends MovieClip { public function tile_30(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 84//tile_31 (tile_31) package { import flash.display.*; public dynamic class tile_31 extends MovieClip { public function tile_31(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 85//tile_32 (tile_32) package { import flash.display.*; public dynamic class tile_32 extends MovieClip { public function tile_32(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 86//tile_33 (tile_33) package { import flash.display.*; public dynamic class tile_33 extends MovieClip { public function tile_33(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 87//tile_34 (tile_34) package { import flash.display.*; public dynamic class tile_34 extends MovieClip { public function tile_34(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 88//tile_35 (tile_35) package { import flash.display.*; public dynamic class tile_35 extends MovieClip { public function tile_35(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 89//tile_36 (tile_36) package { import flash.display.*; public dynamic class tile_36 extends MovieClip { public function tile_36(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 90//tile_37 (tile_37) package { import flash.display.*; public dynamic class tile_37 extends MovieClip { public function tile_37(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 91//tile_38 (tile_38) package { import flash.display.*; public dynamic class tile_38 extends MovieClip { public function tile_38(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 92//tile_39 (tile_39) package { import flash.display.*; public dynamic class tile_39 extends MovieClip { public function tile_39(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 93//tile_4 (tile_4) package { import flash.display.*; public dynamic class tile_4 extends MovieClip { public function tile_4(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 94//tile_40 (tile_40) package { import flash.display.*; public dynamic class tile_40 extends MovieClip { public function tile_40(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 95//tile_41 (tile_41) package { import flash.display.*; public dynamic class tile_41 extends MovieClip { public function tile_41(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 96//tile_42 (tile_42) package { import flash.display.*; public dynamic class tile_42 extends MovieClip { public function tile_42(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 97//tile_43 (tile_43) package { import flash.display.*; public dynamic class tile_43 extends MovieClip { public function tile_43(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 98//tile_44 (tile_44) package { import flash.display.*; public dynamic class tile_44 extends MovieClip { public function tile_44(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 99//tile_45 (tile_45) package { import flash.display.*; public dynamic class tile_45 extends MovieClip { public function tile_45(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 100//tile_46 (tile_46) package { import flash.display.*; public dynamic class tile_46 extends MovieClip { public function tile_46(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 101//tile_47 (tile_47) package { import flash.display.*; public dynamic class tile_47 extends MovieClip { public function tile_47(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 102//tile_48 (tile_48) package { import flash.display.*; public dynamic class tile_48 extends MovieClip { public function tile_48(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 103//tile_49 (tile_49) package { import flash.display.*; public dynamic class tile_49 extends MovieClip { public function tile_49(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 104//tile_5 (tile_5) package { import flash.display.*; public dynamic class tile_5 extends MovieClip { public function tile_5(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 105//tile_50 (tile_50) package { import flash.display.*; public dynamic class tile_50 extends MovieClip { public var text_anim_mc:MovieClip; public function tile_50(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 106//tile_51 (tile_51) package { import flash.display.*; public dynamic class tile_51 extends MovieClip { public function tile_51(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 107//tile_52 (tile_52) package { import flash.display.*; public dynamic class tile_52 extends MovieClip { public function tile_52(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 108//tile_53 (tile_53) package { import flash.display.*; public dynamic class tile_53 extends MovieClip { public function tile_53(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 109//tile_54 (tile_54) package { import flash.display.*; public dynamic class tile_54 extends MovieClip { public function tile_54(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 110//tile_55 (tile_55) package { import flash.display.*; public dynamic class tile_55 extends MovieClip { public function tile_55(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 111//tile_56 (tile_56) package { import flash.display.*; public dynamic class tile_56 extends MovieClip { public function tile_56(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 112//tile_57 (tile_57) package { import flash.display.*; public dynamic class tile_57 extends MovieClip { public function tile_57(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 113//tile_58 (tile_58) package { import flash.display.*; public dynamic class tile_58 extends MovieClip { public function tile_58(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 114//tile_59 (tile_59) package { import flash.display.*; public dynamic class tile_59 extends MovieClip { public function tile_59(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 115//tile_6 (tile_6) package { import flash.display.*; public dynamic class tile_6 extends MovieClip { public function tile_6(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 116//tile_60 (tile_60) package { import flash.display.*; public dynamic class tile_60 extends MovieClip { public function tile_60(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 117//tile_61 (tile_61) package { import flash.display.*; public dynamic class tile_61 extends MovieClip { public function tile_61(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 118//tile_62 (tile_62) package { import flash.display.*; public dynamic class tile_62 extends MovieClip { public function tile_62(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 119//tile_63 (tile_63) package { import flash.display.*; public dynamic class tile_63 extends MovieClip { public function tile_63(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 120//tile_64 (tile_64) package { import flash.display.*; public dynamic class tile_64 extends MovieClip { public function tile_64(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 121//tile_65 (tile_65) package { import flash.display.*; public dynamic class tile_65 extends MovieClip { public function tile_65(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 122//tile_66 (tile_66) package { import flash.display.*; public dynamic class tile_66 extends MovieClip { public function tile_66(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 123//tile_67 (tile_67) package { import flash.display.*; public dynamic class tile_67 extends MovieClip { public function tile_67(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 124//tile_68 (tile_68) package { import flash.display.*; public dynamic class tile_68 extends MovieClip { public function tile_68(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 125//tile_69 (tile_69) package { import flash.display.*; public dynamic class tile_69 extends MovieClip { public function tile_69(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 126//tile_7 (tile_7) package { import flash.display.*; public dynamic class tile_7 extends MovieClip { public function tile_7(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 127//tile_70 (tile_70) package { import flash.display.*; public dynamic class tile_70 extends MovieClip { public function tile_70(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 128//tile_71 (tile_71) package { import flash.display.*; public dynamic class tile_71 extends MovieClip { public function tile_71(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 129//tile_72 (tile_72) package { import flash.display.*; public dynamic class tile_72 extends MovieClip { public function tile_72(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 130//tile_73 (tile_73) package { import flash.display.*; public dynamic class tile_73 extends MovieClip { public function tile_73(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 131//tile_74 (tile_74) package { import flash.display.*; public dynamic class tile_74 extends MovieClip { public function tile_74(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 132//tile_75 (tile_75) package { import flash.display.*; public dynamic class tile_75 extends MovieClip { public function tile_75(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 133//tile_76 (tile_76) package { import flash.display.*; public dynamic class tile_76 extends MovieClip { public function tile_76(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 134//tile_77 (tile_77) package { import flash.display.*; public dynamic class tile_77 extends MovieClip { public function tile_77(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 135//tile_78 (tile_78) package { import flash.display.*; public dynamic class tile_78 extends MovieClip { public function tile_78(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 136//tile_79 (tile_79) package { import flash.display.*; public dynamic class tile_79 extends MovieClip { public function tile_79(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 137//tile_8 (tile_8) package { import flash.display.*; public dynamic class tile_8 extends MovieClip { public function tile_8(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 138//tile_80 (tile_80) package { import flash.display.*; public dynamic class tile_80 extends MovieClip { public function tile_80(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 139//tile_81 (tile_81) package { import flash.display.*; public dynamic class tile_81 extends MovieClip { public function tile_81(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 140//tile_9 (tile_9) package { import flash.display.*; public dynamic class tile_9 extends MovieClip { public function tile_9(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//packageSection 141//WindowInfo (WindowInfo) package { import flash.display.*; import flash.text.*; public class WindowInfo extends MovieClip { public var spec_txt:TextField; public var move_txt:TextField; public var skills_txt:TextField; public var addOn_txt:TextField; private var xDelta:int;// = 370 public var bg_txt:TextField; public var ammo_txt:TextField; public var resp_txt:TextField; public var damage_txt:TextField; public var life_txt:TextField; private var showedIdx:int;// = -1 public var name_txt:TextField; public var weapon_txt:TextField; private var yDelta:int;// = 3 public var silence_txt:TextField; private var isVisible:Boolean; public var attack_txt:TextField; public function WindowInfo(){ xDelta = 370; yDelta = 3; showedIdx = -1; super(); this.visible = false; isVisible = false; } private function showSoldierInfo(_arg1:MovieClip, _arg2:MovieClip, _arg3:int):void{ trace("showSoldierInfo"); this["name_txt"].text = _arg1.soldiersInfo[_arg3][0]; this["bg_txt"].text = _arg1.soldiersInfo[_arg3][1]; this["resp_txt"].text = _arg1.soldiersInfo[_arg3][2]; this["skills_txt"].text = _arg1.soldiersInfo[_arg3][3]; this["spec_txt"].text = _arg1.soldiersInfo[_arg3][4]; this["life_txt"].text = _arg2.lifeVal; this["move_txt"].text = _arg2.stepsVal; this["attack_txt"].text = _arg2.rangeVal; this["weapon_txt"].text = _arg1.weaponsInfo[(_arg1.currLvl - 1)][0].toString(); this["addOn_txt"].text = _arg1.weaponsInfo[(_arg1.currLvl - 1)][1].toString(); this["silence_txt"].text = _arg1.weaponsInfo[(_arg1.currLvl - 1)][2].toString(); this["ammo_txt"].text = _arg1.weaponsInfo[(_arg1.currLvl - 1)][3].toString(); this["damage_txt"].text = _arg1.weaponsInfo[(_arg1.currLvl - 1)][4].toString(); } public function showInfo(_arg1:MovieClip, _arg2:MovieClip, _arg3:SoldierPanel):void{ trace(((_arg1.name + " / ") + _arg2.name)); if (isVisible){ if (showedIdx != _arg2.soldierIdx){ showedIdx = _arg2.soldierIdx; this.x = (_arg3.x - xDelta); this.y = (_arg3.y + yDelta); showSoldierInfo(_arg1, _arg2, showedIdx); } else { closeWin(); }; } else { if ((((showedIdx == -1)) || (!((showedIdx == _arg2.soldierIdx))))){ showedIdx = _arg2.soldierIdx; this.x = (_arg3.x - xDelta); this.y = (_arg3.y + yDelta); this.visible = true; isVisible = true; showSoldierInfo(_arg1, _arg2, showedIdx); } else { closeWin(); }; }; } public function closeWin():void{ trace("close window"); showedIdx = -1; isVisible = false; this.visible = false; } } }//packageSection 142//YouWinMan (YouWinMan) package { import flash.display.*; import flash.events.*; import flash.text.*; public class YouWinMan extends MovieClip { public var btn_submit_mc:MovieClip; public var weapons_after_mc:MovieClip; public var playerScore_txt:TextField; public var youWin_txt:TextField; private var mainTimeLine:MovieClip; private var gameLevel:int; private var actionToPerform:String; public var btn_continue_mc:MovieClip; public var weapons_before_mc:MovieClip; public function YouWinMan(){ addFrameScript(15, frame16, 17, frame18, 19, frame20, 32, frame33, 45, frame46, 47, frame48, 49, frame50, 66, frame67); super(); } public function getWinText():String{ var _local1:String; if (mainTimeLine.currLvl < 5){ _local1 = "As a result of recovery laboratory weapon test samples during the mission you successfully upgraded your weapon!\n"; _local1 = (_local1 + (("\n Before upgrade:\n" + mainTimeLine.winTextsList[(gameLevel - 1)]) + "\n")); _local1 = (_local1 + ("\n After upgrade:\n" + mainTimeLine.winTextsList[gameLevel])); } else { _local1 = "from: Alexander Orlov [Alpha Strike Team]\nto: Vladimir Panin [Baltic Region Monitoring Department]\ndate: Wed, Feb 20, 2008 at 19:00 PM\nsubject: CASE #296-x35\norigin: classified\n\nAlpha Strike Team\nCase #296-x35 Reporting\n\nMission acomplished\nTeam Leader standing ready to recieve orders for next mission. All team members report ready...\nAlpha Strike Team awaiting orders...\nMission status: acomplished...\n--\nOfficer Alexander Orlov [Alpha Strike Team]\nRubicon"; }; return (_local1); } public function showWeapons():void{ this["weapons_before_mc"].gotoAndStop((mainTimeLine.currLvl + 1)); this["weapons_after_mc"].gotoAndStop((mainTimeLine.currLvl + 2)); } public function getScore():String{ return (mainTimeLine.score); } public function goSubmit(_arg1:MouseEvent):void{ removeBtnsListeners(); _arg1.target.removeEventListener(MouseEvent.CLICK, goSubmit); _arg1.target.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); _arg1.target.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); actionToPerform = "submitScore"; this.play(); } private function removeBtnsListeners():void{ btn_continue_mc.removeEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.removeEventListener(MouseEvent.MOUSE_OUT, onMiceOut); } function frame18(){ youWin_txt.text = getWinText(); } function frame16(){ youWin_txt.text = getWinText(); } function frame20(){ youWin_txt.text = getWinText(); } public function onMiceOut(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(1); } public function goContinue(_arg1:MouseEvent):void{ removeBtnsListeners(); actionToPerform = "menu"; this.play(); } function frame48(){ youWin_txt.text = getWinText(); } public function executePlayerCommand():void{ switch (actionToPerform){ case "menu": if (mainTimeLine.currLvl < 5){ mainTimeLine.currLvl++; mainTimeLine.gotoAndStop("briefing"); } else { mainTimeLine.resetGame(); mainTimeLine.gotoAndStop("menu"); }; break; case "submitScore": mainTimeLine.gotoAndStop("submitScore"); break; }; } function frame33(){ stop(); btn_continue_mc.addEventListener(MouseEvent.CLICK, goContinue); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_continue_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); playerScore_txt.text = getScore(); if (gameLevel < 5){ btn_submit_mc.alpha = 0; showWeapons(); } else { btn_submit_mc.alpha = 100; btn_submit_mc.addEventListener(MouseEvent.CLICK, goSubmit); btn_submit_mc.addEventListener(MouseEvent.MOUSE_OVER, onMiceOver); btn_submit_mc.addEventListener(MouseEvent.MOUSE_OUT, onMiceOut); }; } function frame46(){ youWin_txt.text = getWinText(); } function frame50(){ youWin_txt.text = getWinText(); } public function getTimeLine(_arg1:MovieClip, _arg2:int):void{ this.mainTimeLine = _arg1; this.gameLevel = _arg2; } public function onMiceOver(_arg1:MouseEvent):void{ _arg1.target.gotoAndStop(2); } function frame67(){ stop(); executePlayerCommand(); } } }//package
Library Items
Symbol 1 Sound {NoMoves} | ||
Symbol 2 Sound {SoldierScream} | ||
Symbol 3 Sound {Shot} | ||
Symbol 4 Sound {GameSnd} | ||
Symbol 5 Sound {EnemyAttack} | ||
Symbol 6 Sound {EnemyScream} | ||
Symbol 7 Sound {BgSnd} | ||
Symbol 8 Sound {Affirmative} | ||
Symbol 9 ShapeTweening | Used by:16 | |
Symbol 10 ShapeTweening | Used by:16 | |
Symbol 11 ShapeTweening | Used by:16 | |
Symbol 12 Graphic | Used by:16 | |
Symbol 13 Font | Used by:14 100 101 102 103 104 105 106 107 108 109 110 111 113 114 123 133 134 135 136 137 139 140 150 153 473 474 475 476 477 485 486 491 521 522 524 525 527 528 530 531 533 548 | |
Symbol 14 Text | Uses:13 | Used by:16 |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip {click_mc} | Uses:9 10 11 12 14 15 | |
Symbol 17 Graphic | Used by:19 | |
Symbol 18 Graphic | Used by:19 | |
Symbol 19 MovieClip {gears_anim_mc} | Uses:17 18 | Used by:Timeline |
Symbol 20 Bitmap | Used by:21 | |
Symbol 21 Graphic | Uses:20 | Used by:24 |
Symbol 22 Graphic | Used by:23 51 55 74 335 | |
Symbol 23 MovieClip | Uses:22 | Used by:24 27 Timeline |
Symbol 24 MovieClip {tile_0} | Uses:21 23 | Used by:Timeline |
Symbol 25 Bitmap | Used by:26 | |
Symbol 26 Graphic | Uses:25 | Used by:27 |
Symbol 27 MovieClip {tile_6} | Uses:26 23 | Used by:Timeline |
Symbol 28 Graphic | Used by:33 | |
Symbol 29 Graphic | Used by:33 | |
Symbol 30 Graphic | Used by:33 | |
Symbol 31 Graphic | Used by:33 | |
Symbol 32 Graphic | Used by:33 | |
Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} | Uses:28 29 30 31 32 | Used by:52 |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:34 | Used by:51 |
Symbol 36 Graphic | Used by:38 | |
Symbol 37 Graphic | Used by:38 | |
Symbol 38 MovieClip {codeRed_v13_fla.soldierfire_10} | Uses:36 37 | Used by:51 |
Symbol 39 Graphic | Used by:49 | |
Symbol 40 Graphic | Used by:49 | |
Symbol 41 Graphic | Used by:49 | |
Symbol 42 Graphic | Used by:49 | |
Symbol 43 Graphic | Used by:49 | |
Symbol 44 Graphic | Used by:49 | |
Symbol 45 Graphic | Used by:49 | |
Symbol 46 Graphic | Used by:49 | |
Symbol 47 Graphic | Used by:49 | |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:39 40 41 42 43 44 45 46 47 48 | Used by:51 235 |
Symbol 50 Graphic | Used by:51 | |
Symbol 51 MovieClip {codeRed_v13_fla.tmp_8} | Uses:22 35 38 49 50 | Used by:52 |
Symbol 52 MovieClip {Soldier} | Uses:33 51 | Used by:Timeline |
Symbol 53 Graphic | Used by:55 | |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip {Cells} | Uses:22 53 54 | Used by:Timeline |
Symbol 56 Graphic | Used by:75 | |
Symbol 57 Graphic | Used by:58 | |
Symbol 58 MovieClip {codeRed_v13_fla.enemyfire_3} | Uses:57 | Used by:74 |
Symbol 59 Graphic | Used by:74 | |
Symbol 60 Graphic | Used by:70 | |
Symbol 61 Graphic | Used by:70 | |
Symbol 62 Graphic | Used by:70 | |
Symbol 63 Graphic | Used by:70 | |
Symbol 64 Graphic | Used by:70 | |
Symbol 65 Graphic | Used by:70 | |
Symbol 66 Graphic | Used by:70 | |
Symbol 67 Graphic | Used by:70 | |
Symbol 68 Graphic | Used by:70 | |
Symbol 69 Graphic | Used by:70 | |
Symbol 70 MovieClip | Uses:60 61 62 63 64 65 66 67 68 69 | Used by:74 |
Symbol 71 Graphic | Used by:74 | |
Symbol 72 Graphic | Used by:74 | |
Symbol 73 Graphic | Used by:74 | |
Symbol 74 MovieClip {codeRed_v13_fla.tmp_monster_2} | Uses:58 59 22 70 71 72 73 | Used by:75 |
Symbol 75 MovieClip {Enemy} | Uses:56 74 | Used by:Timeline |
Symbol 76 Graphic | Used by:Timeline | |
Symbol 77 Font | Used by:78 79 | |
Symbol 78 Text | Uses:77 | Used by:Timeline |
Symbol 79 EditableText | Uses:77 | Used by:Timeline |
Symbol 80 Bitmap | Used by:81 | |
Symbol 81 Graphic | Uses:80 | Used by:Timeline |
Symbol 82 Bitmap | Used by:84 88 | |
Symbol 83 Bitmap | Used by:84 516 | |
Symbol 84 Graphic | Uses:82 83 | Used by:Timeline |
Symbol 85 Bitmap | Used by:86 | |
Symbol 86 Graphic | Uses:85 | Used by:87 |
Symbol 87 MovieClip | Uses:86 | Used by:119 129 145 171 481 558 |
Symbol 88 Graphic | Uses:82 | Used by:89 |
Symbol 89 MovieClip | Uses:88 | Used by:96 |
Symbol 90 Font | Used by:91 | |
Symbol 91 Text | Uses:90 | Used by:92 |
Symbol 92 MovieClip | Uses:91 | Used by:96 |
Symbol 93 Font | Used by:94 | |
Symbol 94 Text | Uses:93 | Used by:95 |
Symbol 95 MovieClip | Uses:94 | Used by:96 |
Symbol 96 MovieClip {codeRed_v13_fla.btm_menu_anim_mc_14} | Uses:89 92 95 | Used by:119 129 145 171 481 515 544 558 |
Symbol 97 Graphic | Used by:119 | |
Symbol 98 Graphic | Used by:119 | |
Symbol 99 Graphic | Used by:119 | |
Symbol 100 Text | Uses:13 | Used by:119 |
Symbol 101 Text | Uses:13 | Used by:119 |
Symbol 102 Text | Uses:13 | Used by:119 |
Symbol 103 Text | Uses:13 | Used by:119 |
Symbol 104 Text | Uses:13 | Used by:119 |
Symbol 105 Text | Uses:13 | Used by:119 |
Symbol 106 Text | Uses:13 | Used by:119 |
Symbol 107 Text | Uses:13 | Used by:119 |
Symbol 108 Text | Uses:13 | Used by:119 |
Symbol 109 Text | Uses:13 | Used by:119 |
Symbol 110 Text | Uses:13 | Used by:119 |
Symbol 111 Text | Uses:13 | Used by:119 |
Symbol 112 Graphic | Used by:115 138 141 487 515 523 526 529 532 | |
Symbol 113 Text | Uses:13 | Used by:115 |
Symbol 114 Text | Uses:13 | Used by:115 |
Symbol 115 MovieClip {codeRed_v13_fla.btn_back_mc_18} | Uses:112 113 114 | Used by:119 129 |
Symbol 116 Graphic | Used by:119 | |
Symbol 117 Graphic | Used by:119 | |
Symbol 118 Graphic | Used by:119 | |
Symbol 119 MovieClip {CreditsMan} | Uses:87 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 115 116 117 118 | Used by:Timeline |
Symbol 120 Graphic | Used by:129 | |
Symbol 121 Graphic | Used by:129 | |
Symbol 122 Graphic | Used by:129 | |
Symbol 123 Text | Uses:13 | Used by:129 |
Symbol 124 Font | Used by:125 149 151 152 165 166 167 175 176 177 181 184 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 498 502 506 510 514 535 537 539 549 550 551 552 553 554 563 567 569 572 574 576 | |
Symbol 125 Text | Uses:124 | Used by:129 |
Symbol 126 Graphic | Used by:129 | |
Symbol 127 Graphic | Used by:129 | |
Symbol 128 Graphic | Used by:129 | |
Symbol 129 MovieClip {InstructionsMan} | Uses:87 96 120 121 122 123 125 115 126 127 128 | Used by:Timeline |
Symbol 130 Graphic | Used by:145 | |
Symbol 131 Graphic | Used by:145 | |
Symbol 132 Graphic | Used by:145 | |
Symbol 133 Text | Uses:13 | Used by:145 |
Symbol 134 Text | Uses:13 | Used by:145 171 |
Symbol 135 EditableText | Uses:13 | Used by:145 |
Symbol 136 Text | Uses:13 | Used by:138 |
Symbol 137 Text | Uses:13 | Used by:138 |
Symbol 138 MovieClip {codeRed_v13_fla.btn_continue_mc_21} | Uses:112 136 137 | Used by:145 171 481 558 |
Symbol 139 Text | Uses:13 | Used by:141 |
Symbol 140 Text | Uses:13 | Used by:141 |
Symbol 141 MovieClip {codeRed_v13_fla.btn_submit_mc_22} | Uses:112 139 140 | Used by:145 171 |
Symbol 142 Graphic | Used by:145 | |
Symbol 143 Graphic | Used by:145 | |
Symbol 144 Graphic | Used by:145 | |
Symbol 145 MovieClip {GameOverMan} | Uses:87 96 130 131 132 133 134 135 138 141 142 143 144 | Used by:Timeline |
Symbol 146 Graphic | Used by:171 | |
Symbol 147 Graphic | Used by:171 | |
Symbol 148 Graphic | Used by:171 | |
Symbol 149 EditableText | Uses:124 | Used by:171 |
Symbol 150 Text | Uses:13 | Used by:171 |
Symbol 151 EditableText | Uses:124 | Used by:171 |
Symbol 152 EditableText | Uses:124 | Used by:171 |
Symbol 153 EditableText | Uses:13 | Used by:171 |
Symbol 154 Bitmap | Used by:155 | |
Symbol 155 Graphic | Uses:154 | Used by:164 |
Symbol 156 Bitmap | Used by:157 | |
Symbol 157 Graphic | Uses:156 | Used by:164 |
Symbol 158 Bitmap | Used by:159 | |
Symbol 159 Graphic | Uses:158 | Used by:164 |
Symbol 160 Bitmap | Used by:161 | |
Symbol 161 Graphic | Uses:160 | Used by:164 |
Symbol 162 Bitmap | Used by:163 | |
Symbol 163 Graphic | Uses:162 | Used by:164 |
Symbol 164 MovieClip {codeRed_v13_fla.weapons_mc_24} | Uses:155 157 159 161 163 | Used by:171 |
Symbol 165 EditableText | Uses:124 | Used by:171 |
Symbol 166 EditableText | Uses:124 | Used by:171 |
Symbol 167 EditableText | Uses:124 | Used by:171 |
Symbol 168 Graphic | Used by:171 | |
Symbol 169 Graphic | Used by:171 | |
Symbol 170 Graphic | Used by:171 | |
Symbol 171 MovieClip {YouWinMan} | Uses:87 96 146 147 148 149 150 151 152 138 141 134 153 164 165 166 167 168 169 170 | Used by:Timeline |
Symbol 172 Graphic | Used by:174 | |
Symbol 173 Graphic | Used by:174 | |
Symbol 174 MovieClip {codeRed_v13_fla.back_26} | Uses:172 173 | Used by:205 |
Symbol 175 Text | Uses:124 | Used by:205 |
Symbol 176 Text | Uses:124 | Used by:205 |
Symbol 177 Text | Uses:124 | Used by:180 |
Symbol 178 Font | Used by:179 | |
Symbol 179 Text | Uses:178 | Used by:180 182 |
Symbol 180 MovieClip {codeRed_v13_fla.movebutton_27} | Uses:177 179 | Used by:205 |
Symbol 181 Text | Uses:124 | Used by:182 |
Symbol 182 MovieClip {codeRed_v13_fla.firebutton_28} | Uses:181 179 | Used by:205 |
Symbol 183 Graphic | Used by:186 | |
Symbol 184 Text | Uses:124 | Used by:186 |
Symbol 185 Graphic | Used by:186 536 538 540 564 568 573 575 | |
Symbol 186 MovieClip {codeRed_v13_fla.infobutton_29} | Uses:183 184 185 | Used by:205 |
Symbol 187 Font | Used by:188 189 549 550 551 552 553 554 | |
Symbol 188 EditableText | Uses:187 | Used by:205 |
Symbol 189 EditableText | Uses:187 | Used by:205 |
Symbol 190 Graphic | Used by:199 | |
Symbol 191 Graphic | Used by:199 | |
Symbol 192 Graphic | Used by:199 | |
Symbol 193 Graphic | Used by:199 | |
Symbol 194 Graphic | Used by:199 | |
Symbol 195 Graphic | Used by:199 | |
Symbol 196 Graphic | Used by:199 | |
Symbol 197 Graphic | Used by:199 | |
Symbol 198 Graphic | Used by:199 | |
Symbol 199 MovieClip {codeRed_v13_fla.faces_30} | Uses:190 191 192 193 194 195 196 197 198 | Used by:205 |
Symbol 200 Graphic | Used by:204 | |
Symbol 201 Graphic | Used by:204 | |
Symbol 202 Graphic | Used by:204 | |
Symbol 203 Graphic | Used by:204 | |
Symbol 204 MovieClip {codeRed_v13_fla.s_p_idx_mc_31} | Uses:200 201 202 203 | Used by:205 |
Symbol 205 MovieClip {SoldierPanel} | Uses:174 175 176 180 182 186 188 189 199 204 | Used by:Timeline |
Symbol 206 Graphic | Used by:235 | |
Symbol 207 Graphic | Used by:235 | |
Symbol 208 Text | Uses:124 | Used by:235 |
Symbol 209 Text | Uses:124 | Used by:235 |
Symbol 210 Text | Uses:124 | Used by:235 |
Symbol 211 EditableText | Uses:124 | Used by:235 |
Symbol 212 EditableText | Uses:124 | Used by:235 |
Symbol 213 EditableText | Uses:124 | Used by:235 |
Symbol 214 Text | Uses:124 | Used by:235 |
Symbol 215 Text | Uses:124 | Used by:235 |
Symbol 216 EditableText | Uses:124 | Used by:235 |
Symbol 217 EditableText | Uses:124 | Used by:235 |
Symbol 218 Text | Uses:124 | Used by:235 |
Symbol 219 EditableText | Uses:124 | Used by:235 |
Symbol 220 Text | Uses:124 | Used by:235 |
Symbol 221 Text | Uses:124 | Used by:235 |
Symbol 222 EditableText | Uses:124 | Used by:235 |
Symbol 223 EditableText | Uses:124 | Used by:235 |
Symbol 224 Text | Uses:124 | Used by:235 |
Symbol 225 EditableText | Uses:124 | Used by:235 |
Symbol 226 Text | Uses:124 | Used by:235 |
Symbol 227 EditableText | Uses:124 | Used by:235 |
Symbol 228 Text | Uses:124 | Used by:235 |
Symbol 229 EditableText | Uses:124 | Used by:235 |
Symbol 230 Text | Uses:124 | Used by:235 |
Symbol 231 EditableText | Uses:124 | Used by:235 |
Symbol 232 Text | Uses:124 | Used by:235 |
Symbol 233 EditableText | Uses:124 | Used by:235 |
Symbol 234 Graphic | Used by:235 | |
Symbol 235 MovieClip {WindowInfo} | Uses:206 49 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | Used by:Timeline |
Symbol 236 Bitmap | Used by:237 | |
Symbol 237 Graphic | Uses:236 | Used by:240 |
Symbol 238 Graphic | Used by:239 | |
Symbol 239 MovieClip | Uses:238 | Used by:240 243 245 247 249 252 254 256 258 265 267 269 271 274 276 278 280 283 285 287 289 292 295 298 301 304 307 310 313 316 319 322 325 328 331 334 |
Symbol 240 MovieClip {tile_38} | Uses:237 239 | Used by:Timeline |
Symbol 241 Bitmap | Used by:242 244 246 248 | |
Symbol 242 Graphic | Uses:241 | Used by:243 |
Symbol 243 MovieClip {tile_39} | Uses:242 239 | Used by:Timeline |
Symbol 244 Graphic | Uses:241 | Used by:245 |
Symbol 245 MovieClip {tile_40} | Uses:244 239 | Used by:Timeline |
Symbol 246 Graphic | Uses:241 | Used by:247 |
Symbol 247 MovieClip {tile_41} | Uses:246 239 | Used by:Timeline |
Symbol 248 Graphic | Uses:241 | Used by:249 |
Symbol 249 MovieClip {tile_42} | Uses:248 239 | Used by:Timeline |
Symbol 250 Bitmap | Used by:251 253 255 257 | |
Symbol 251 Graphic | Uses:250 | Used by:252 |
Symbol 252 MovieClip {tile_43} | Uses:251 239 | Used by:Timeline |
Symbol 253 Graphic | Uses:250 | Used by:254 |
Symbol 254 MovieClip {tile_44} | Uses:253 239 | Used by:Timeline |
Symbol 255 Graphic | Uses:250 | Used by:256 |
Symbol 256 MovieClip {tile_45} | Uses:255 239 | Used by:Timeline |
Symbol 257 Graphic | Uses:250 | Used by:258 |
Symbol 258 MovieClip {tile_46} | Uses:257 239 | Used by:Timeline |
Symbol 259 Bitmap | Used by:260 266 268 270 | |
Symbol 260 Graphic | Uses:259 | Used by:265 |
Symbol 261 Graphic | Used by:264 | |
Symbol 262 Graphic | Used by:263 | |
Symbol 263 MovieClip | Uses:262 | Used by:264 |
Symbol 264 MovieClip {codeRed_v13_fla.text_anim_mc_44} | Uses:261 263 | Used by:265 267 269 271 |
Symbol 265 MovieClip {tile_47} | Uses:260 264 239 | Used by:Timeline |
Symbol 266 Graphic | Uses:259 | Used by:267 |
Symbol 267 MovieClip {tile_50} | Uses:266 264 239 | Used by:Timeline |
Symbol 268 Graphic | Uses:259 | Used by:269 |
Symbol 269 MovieClip {tile_53} | Uses:268 264 239 | Used by:Timeline |
Symbol 270 Graphic | Uses:259 | Used by:271 |
Symbol 271 MovieClip {tile_58} | Uses:270 264 239 | Used by:Timeline |
Symbol 272 Bitmap | Used by:273 275 277 279 | |
Symbol 273 Graphic | Uses:272 | Used by:274 |
Symbol 274 MovieClip {tile_48} | Uses:273 239 | Used by:Timeline |
Symbol 275 Graphic | Uses:272 | Used by:276 |
Symbol 276 MovieClip {tile_51} | Uses:275 239 | Used by:Timeline |
Symbol 277 Graphic | Uses:272 | Used by:278 |
Symbol 278 MovieClip {tile_54} | Uses:277 239 | Used by:Timeline |
Symbol 279 Graphic | Uses:272 | Used by:280 |
Symbol 280 MovieClip {tile_57} | Uses:279 239 | Used by:Timeline |
Symbol 281 Bitmap | Used by:282 284 286 288 | |
Symbol 282 Graphic | Uses:281 | Used by:283 |
Symbol 283 MovieClip {tile_49} | Uses:282 239 | Used by:Timeline |
Symbol 284 Graphic | Uses:281 | Used by:285 |
Symbol 285 MovieClip {tile_52} | Uses:284 239 | Used by:Timeline |
Symbol 286 Graphic | Uses:281 | Used by:287 |
Symbol 287 MovieClip {tile_55} | Uses:286 239 | Used by:Timeline |
Symbol 288 Graphic | Uses:281 | Used by:289 |
Symbol 289 MovieClip {tile_56} | Uses:288 239 | Used by:Timeline |
Symbol 290 Bitmap | Used by:291 | |
Symbol 291 Graphic | Uses:290 | Used by:292 |
Symbol 292 MovieClip {tile_36} | Uses:291 239 | Used by:Timeline |
Symbol 293 Bitmap | Used by:294 | |
Symbol 294 Graphic | Uses:293 | Used by:295 |
Symbol 295 MovieClip {tile_37} | Uses:294 239 | Used by:Timeline |
Symbol 296 Bitmap | Used by:297 | |
Symbol 297 Graphic | Uses:296 | Used by:298 |
Symbol 298 MovieClip {tile_35} | Uses:297 239 | Used by:Timeline |
Symbol 299 Bitmap | Used by:300 | |
Symbol 300 Graphic | Uses:299 | Used by:301 |
Symbol 301 MovieClip {tile_34} | Uses:300 239 | Used by:Timeline |
Symbol 302 Bitmap | Used by:303 | |
Symbol 303 Graphic | Uses:302 | Used by:304 |
Symbol 304 MovieClip {tile_24} | Uses:303 239 | Used by:Timeline |
Symbol 305 Bitmap | Used by:306 | |
Symbol 306 Graphic | Uses:305 | Used by:307 |
Symbol 307 MovieClip {tile_25} | Uses:306 239 | Used by:Timeline |
Symbol 308 Bitmap | Used by:309 | |
Symbol 309 Graphic | Uses:308 | Used by:310 |
Symbol 310 MovieClip {tile_26} | Uses:309 239 | Used by:Timeline |
Symbol 311 Bitmap | Used by:312 | |
Symbol 312 Graphic | Uses:311 | Used by:313 |
Symbol 313 MovieClip {tile_27} | Uses:312 239 | Used by:Timeline |
Symbol 314 Bitmap | Used by:315 | |
Symbol 315 Graphic | Uses:314 | Used by:316 |
Symbol 316 MovieClip {tile_29} | Uses:315 239 | Used by:Timeline |
Symbol 317 Bitmap | Used by:318 | |
Symbol 318 Graphic | Uses:317 | Used by:319 |
Symbol 319 MovieClip {tile_28} | Uses:318 239 | Used by:Timeline |
Symbol 320 Bitmap | Used by:321 | |
Symbol 321 Graphic | Uses:320 | Used by:322 |
Symbol 322 MovieClip {tile_30} | Uses:321 239 | Used by:Timeline |
Symbol 323 Bitmap | Used by:324 | |
Symbol 324 Graphic | Uses:323 | Used by:325 |
Symbol 325 MovieClip {tile_31} | Uses:324 239 | Used by:Timeline |
Symbol 326 Bitmap | Used by:327 | |
Symbol 327 Graphic | Uses:326 | Used by:328 |
Symbol 328 MovieClip {tile_32} | Uses:327 239 | Used by:Timeline |
Symbol 329 Bitmap | Used by:330 | |
Symbol 330 Graphic | Uses:329 | Used by:331 |
Symbol 331 MovieClip {tile_33} | Uses:330 239 | Used by:Timeline |
Symbol 332 Bitmap | Used by:333 | |
Symbol 333 Graphic | Uses:332 | Used by:334 |
Symbol 334 MovieClip {tile_23} | Uses:333 239 | Used by:Timeline |
Symbol 335 MovieClip | Uses:22 | Used by:338 341 344 347 350 353 355 357 359 362 364 366 368 377 379 381 383 386 388 390 392 395 398 401 404 407 409 411 413 416 419 422 424 426 428 430 432 434 436 438 440 443 445 469 Timeline |
Symbol 336 Bitmap | Used by:337 | |
Symbol 337 Graphic | Uses:336 | Used by:338 |
Symbol 338 MovieClip {tile_2} | Uses:337 335 | Used by:Timeline |
Symbol 339 Bitmap | Used by:340 | |
Symbol 340 Graphic | Uses:339 | Used by:341 |
Symbol 341 MovieClip {tile_3} | Uses:340 335 | Used by:Timeline |
Symbol 342 Bitmap | Used by:343 | |
Symbol 343 Graphic | Uses:342 | Used by:344 |
Symbol 344 MovieClip {tile_5} | Uses:343 335 | Used by:Timeline |
Symbol 345 Bitmap | Used by:346 | |
Symbol 346 Graphic | Uses:345 | Used by:347 |
Symbol 347 MovieClip {tile_4} | Uses:346 335 | Used by:Timeline |
Symbol 348 Bitmap | Used by:349 | |
Symbol 349 Graphic | Uses:348 | Used by:350 |
Symbol 350 MovieClip {tile_1} | Uses:349 335 | Used by:Timeline |
Symbol 351 Bitmap | Used by:352 354 356 358 | |
Symbol 352 Graphic | Uses:351 | Used by:353 |
Symbol 353 MovieClip {tile_19} | Uses:352 335 | Used by:Timeline |
Symbol 354 Graphic | Uses:351 | Used by:355 |
Symbol 355 MovieClip {tile_20} | Uses:354 335 | Used by:Timeline |
Symbol 356 Graphic | Uses:351 | Used by:357 |
Symbol 357 MovieClip {tile_22} | Uses:356 335 | Used by:Timeline |
Symbol 358 Graphic | Uses:351 | Used by:359 |
Symbol 359 MovieClip {tile_21} | Uses:358 335 | Used by:Timeline |
Symbol 360 Bitmap | Used by:361 363 365 367 | |
Symbol 361 Graphic | Uses:360 | Used by:362 |
Symbol 362 MovieClip {tile_15} | Uses:361 335 | Used by:Timeline |
Symbol 363 Graphic | Uses:360 | Used by:364 |
Symbol 364 MovieClip {tile_16} | Uses:363 335 | Used by:Timeline |
Symbol 365 Graphic | Uses:360 | Used by:366 |
Symbol 366 MovieClip {tile_18} | Uses:365 335 | Used by:Timeline |
Symbol 367 Graphic | Uses:360 | Used by:368 |
Symbol 368 MovieClip {tile_17} | Uses:367 335 | Used by:Timeline |
Symbol 369 Bitmap | Used by:370 378 380 382 | |
Symbol 370 Graphic | Uses:369 | Used by:377 |
Symbol 371 Bitmap | Used by:372 | |
Symbol 372 Graphic | Uses:371 | Used by:373 |
Symbol 373 MovieClip | Uses:372 | Used by:374 |
Symbol 374 MovieClip | Uses:373 | Used by:377 379 381 383 |
Symbol 375 Graphic | Used by:376 | |
Symbol 376 MovieClip | Uses:375 | Used by:377 379 381 383 |
Symbol 377 MovieClip {tile_13} | Uses:370 374 376 335 | Used by:Timeline |
Symbol 378 Graphic | Uses:369 | Used by:379 |
Symbol 379 MovieClip {tile_14} | Uses:378 374 376 335 | Used by:Timeline |
Symbol 380 Graphic | Uses:369 | Used by:381 |
Symbol 381 MovieClip {tile_12} | Uses:380 374 376 335 | Used by:Timeline |
Symbol 382 Graphic | Uses:369 | Used by:383 |
Symbol 383 MovieClip {tile_11} | Uses:382 374 376 335 | Used by:Timeline |
Symbol 384 Bitmap | Used by:385 387 389 391 | |
Symbol 385 Graphic | Uses:384 | Used by:386 |
Symbol 386 MovieClip {tile_7} | Uses:385 335 | Used by:Timeline |
Symbol 387 Graphic | Uses:384 | Used by:388 |
Symbol 388 MovieClip {tile_8} | Uses:387 335 | Used by:Timeline |
Symbol 389 Graphic | Uses:384 | Used by:390 |
Symbol 390 MovieClip {tile_10} | Uses:389 335 | Used by:Timeline |
Symbol 391 Graphic | Uses:384 | Used by:392 |
Symbol 392 MovieClip {tile_9} | Uses:391 335 | Used by:Timeline |
Symbol 393 Bitmap | Used by:394 | |
Symbol 394 Graphic | Uses:393 | Used by:395 |
Symbol 395 MovieClip {tile_59} | Uses:394 335 | Used by:Timeline |
Symbol 396 Bitmap | Used by:397 | |
Symbol 397 Graphic | Uses:396 | Used by:398 |
Symbol 398 MovieClip {tile_60} | Uses:397 335 | Used by:Timeline |
Symbol 399 Bitmap | Used by:400 | |
Symbol 400 Graphic | Uses:399 | Used by:401 |
Symbol 401 MovieClip {tile_61} | Uses:400 335 | Used by:Timeline |
Symbol 402 Bitmap | Used by:403 | |
Symbol 403 Graphic | Uses:402 | Used by:404 |
Symbol 404 MovieClip {tile_62} | Uses:403 335 | Used by:Timeline |
Symbol 405 Bitmap | Used by:406 408 410 412 | |
Symbol 406 Graphic | Uses:405 | Used by:407 |
Symbol 407 MovieClip {tile_63} | Uses:406 335 | Used by:Timeline |
Symbol 408 Graphic | Uses:405 | Used by:409 |
Symbol 409 MovieClip {tile_64} | Uses:408 335 | Used by:Timeline |
Symbol 410 Graphic | Uses:405 | Used by:411 |
Symbol 411 MovieClip {tile_65} | Uses:410 335 | Used by:Timeline |
Symbol 412 Graphic | Uses:405 | Used by:413 |
Symbol 413 MovieClip {tile_66} | Uses:412 335 | Used by:Timeline |
Symbol 414 Bitmap | Used by:415 423 429 439 | |
Symbol 415 Graphic | Uses:414 | Used by:416 |
Symbol 416 MovieClip {tile_67} | Uses:415 335 | Used by:Timeline |
Symbol 417 Bitmap | Used by:418 427 433 435 | |
Symbol 418 Graphic | Uses:417 | Used by:419 |
Symbol 419 MovieClip {tile_69} | Uses:418 335 | Used by:Timeline |
Symbol 420 Bitmap | Used by:421 425 431 437 | |
Symbol 421 Graphic | Uses:420 | Used by:422 |
Symbol 422 MovieClip {tile_68} | Uses:421 335 | Used by:Timeline |
Symbol 423 Graphic | Uses:414 | Used by:424 |
Symbol 424 MovieClip {tile_72} | Uses:423 335 | Used by:Timeline |
Symbol 425 Graphic | Uses:420 | Used by:426 |
Symbol 426 MovieClip {tile_71} | Uses:425 335 | Used by:Timeline |
Symbol 427 Graphic | Uses:417 | Used by:428 |
Symbol 428 MovieClip {tile_70} | Uses:427 335 | Used by:Timeline |
Symbol 429 Graphic | Uses:414 | Used by:430 |
Symbol 430 MovieClip {tile_75} | Uses:429 335 | Used by:Timeline |
Symbol 431 Graphic | Uses:420 | Used by:432 |
Symbol 432 MovieClip {tile_74} | Uses:431 335 | Used by:Timeline |
Symbol 433 Graphic | Uses:417 | Used by:434 |
Symbol 434 MovieClip {tile_73} | Uses:433 335 | Used by:Timeline |
Symbol 435 Graphic | Uses:417 | Used by:436 |
Symbol 436 MovieClip {tile_76} | Uses:435 335 | Used by:Timeline |
Symbol 437 Graphic | Uses:420 | Used by:438 |
Symbol 438 MovieClip {tile_77} | Uses:437 335 | Used by:Timeline |
Symbol 439 Graphic | Uses:414 | Used by:440 |
Symbol 440 MovieClip {tile_78} | Uses:439 335 | Used by:Timeline |
Symbol 441 Bitmap | Used by:442 444 | |
Symbol 442 Graphic | Uses:441 | Used by:443 |
Symbol 443 MovieClip {tile_79} | Uses:442 335 | Used by:Timeline |
Symbol 444 Graphic | Uses:441 | Used by:445 |
Symbol 445 MovieClip {tile_80} | Uses:444 335 | Used by:Timeline |
Symbol 446 Bitmap | Used by:447 | |
Symbol 447 Graphic | Uses:446 | Used by:469 |
Symbol 448 Graphic | Used by:449 | |
Symbol 449 MovieClip | Uses:448 | Used by:468 |
Symbol 450 Graphic | Used by:451 | |
Symbol 451 MovieClip | Uses:450 | Used by:468 |
Symbol 452 Graphic | Used by:453 | |
Symbol 453 MovieClip | Uses:452 | Used by:468 |
Symbol 454 Graphic | Used by:455 | |
Symbol 455 MovieClip | Uses:454 | Used by:468 |
Symbol 456 Graphic | Used by:457 | |
Symbol 457 MovieClip | Uses:456 | Used by:468 |
Symbol 458 Graphic | Used by:459 | |
Symbol 459 MovieClip | Uses:458 | Used by:468 |
Symbol 460 Graphic | Used by:461 | |
Symbol 461 MovieClip | Uses:460 | Used by:468 |
Symbol 462 Graphic | Used by:463 | |
Symbol 463 MovieClip | Uses:462 | Used by:468 |
Symbol 464 Graphic | Used by:465 | |
Symbol 465 MovieClip | Uses:464 | Used by:468 |
Symbol 466 Graphic | Used by:467 | |
Symbol 467 MovieClip | Uses:466 | Used by:468 |
Symbol 468 MovieClip | Uses:449 451 453 455 457 459 461 463 465 467 | Used by:469 |
Symbol 469 MovieClip {tile_81} | Uses:447 468 335 | Used by:Timeline |
Symbol 470 Graphic | Used by:481 | |
Symbol 471 Graphic | Used by:481 | |
Symbol 472 Graphic | Used by:481 | |
Symbol 473 Text | Uses:13 | Used by:481 |
Symbol 474 Text | Uses:13 | Used by:481 |
Symbol 475 Text | Uses:13 | Used by:481 |
Symbol 476 EditableText | Uses:13 | Used by:481 |
Symbol 477 EditableText | Uses:13 | Used by:481 |
Symbol 478 Graphic | Used by:481 | |
Symbol 479 Graphic | Used by:481 | |
Symbol 480 Graphic | Used by:481 | |
Symbol 481 MovieClip {SubmitScoreMan} | Uses:87 96 470 471 472 473 474 475 476 477 138 478 479 480 | Used by:Timeline |
Symbol 482 Bitmap | Used by:483 | |
Symbol 483 Graphic | Uses:482 | Used by:484 |
Symbol 484 MovieClip | Uses:483 | Used by:515 |
Symbol 485 Text | Uses:13 | Used by:487 |
Symbol 486 Text | Uses:13 | Used by:487 |
Symbol 487 MovieClip {codeRed_v13_fla.btn_skip_mc_138} | Uses:112 485 486 | Used by:515 |
Symbol 488 Bitmap | Used by:489 | |
Symbol 489 Graphic | Uses:488 | Used by:490 |
Symbol 490 MovieClip | Uses:489 | Used by:515 |
Symbol 491 Text | Uses:13 | Used by:492 |
Symbol 492 MovieClip | Uses:491 | Used by:515 |
Symbol 493 Graphic | Used by:494 | |
Symbol 494 MovieClip | Uses:493 | Used by:515 |
Symbol 495 Bitmap | Used by:496 | |
Symbol 496 Graphic | Uses:495 | Used by:497 |
Symbol 497 MovieClip | Uses:496 | Used by:515 |
Symbol 498 Text | Uses:124 | Used by:515 |
Symbol 499 Bitmap | Used by:500 | |
Symbol 500 Graphic | Uses:499 | Used by:501 |
Symbol 501 MovieClip | Uses:500 | Used by:515 |
Symbol 502 Text | Uses:124 | Used by:515 |
Symbol 503 Bitmap | Used by:504 | |
Symbol 504 Graphic | Uses:503 | Used by:505 |
Symbol 505 MovieClip | Uses:504 | Used by:515 |
Symbol 506 Text | Uses:124 | Used by:515 |
Symbol 507 Bitmap | Used by:508 | |
Symbol 508 Graphic | Uses:507 | Used by:509 |
Symbol 509 MovieClip | Uses:508 | Used by:515 |
Symbol 510 Text | Uses:124 | Used by:515 |
Symbol 511 Bitmap | Used by:512 | |
Symbol 512 Graphic | Uses:511 | Used by:513 |
Symbol 513 MovieClip | Uses:512 | Used by:515 |
Symbol 514 Text | Uses:124 | Used by:515 |
Symbol 515 MovieClip {IntroAnimMan} | Uses:96 112 484 487 490 492 494 497 498 501 502 505 506 509 510 513 514 | Used by:Timeline |
Symbol 516 Graphic | Uses:83 | Used by:517 |
Symbol 517 MovieClip | Uses:516 | Used by:544 |
Symbol 518 Graphic | Used by:544 | |
Symbol 519 Graphic | Used by:544 | |
Symbol 520 Graphic | Used by:544 | |
Symbol 521 Text | Uses:13 | Used by:523 |
Symbol 522 Text | Uses:13 | Used by:523 |
Symbol 523 MovieClip {codeRed_v13_fla.btn_intro_mc_149} | Uses:112 521 522 | Used by:544 |
Symbol 524 Text | Uses:13 | Used by:526 |
Symbol 525 Text | Uses:13 | Used by:526 |
Symbol 526 MovieClip {codeRed_v13_fla.btn_game_mc_150} | Uses:112 524 525 | Used by:544 |
Symbol 527 Text | Uses:13 | Used by:529 |
Symbol 528 Text | Uses:13 | Used by:529 |
Symbol 529 MovieClip {codeRed_v13_fla.btn_instructions_mc_151} | Uses:112 527 528 | Used by:544 |
Symbol 530 Text | Uses:13 | Used by:532 |
Symbol 531 Text | Uses:13 | Used by:532 |
Symbol 532 MovieClip {codeRed_v13_fla.btn_credits_mc_152} | Uses:112 530 531 | Used by:544 |
Symbol 533 Text | Uses:13 | Used by:544 |
Symbol 534 Graphic | Used by:536 538 540 568 573 575 | |
Symbol 535 Text | Uses:124 | Used by:536 |
Symbol 536 MovieClip {codeRed_v13_fla.easybutton_153} | Uses:534 535 185 | Used by:544 |
Symbol 537 Text | Uses:124 | Used by:538 |
Symbol 538 MovieClip {codeRed_v13_fla.normalbutton_154} | Uses:534 537 185 | Used by:544 |
Symbol 539 Text | Uses:124 | Used by:540 |
Symbol 540 MovieClip {codeRed_v13_fla.hardbutton_155} | Uses:534 539 185 | Used by:544 |
Symbol 541 Graphic | Used by:544 | |
Symbol 542 Graphic | Used by:544 | |
Symbol 543 Graphic | Used by:544 | |
Symbol 544 MovieClip {MainMenu} | Uses:96 517 518 519 520 523 526 529 532 533 536 538 540 541 542 543 | Used by:Timeline |
Symbol 545 Graphic | Used by:558 | |
Symbol 546 Graphic | Used by:558 | |
Symbol 547 Graphic | Used by:558 | |
Symbol 548 Text | Uses:13 | Used by:558 |
Symbol 549 EditableText | Uses:124 187 | Used by:558 |
Symbol 550 EditableText | Uses:124 187 | Used by:558 |
Symbol 551 EditableText | Uses:124 187 | Used by:558 |
Symbol 552 EditableText | Uses:124 187 | Used by:558 |
Symbol 553 EditableText | Uses:124 187 | Used by:558 |
Symbol 554 EditableText | Uses:124 187 | Used by:558 |
Symbol 555 Graphic | Used by:558 | |
Symbol 556 Graphic | Used by:558 | |
Symbol 557 Graphic | Used by:558 | |
Symbol 558 MovieClip {BriefingMan} | Uses:87 96 545 546 547 548 549 550 551 138 552 553 554 555 556 557 | Used by:Timeline |
Symbol 559 Graphic | Used by:560 | |
Symbol 560 MovieClip | Uses:559 | Used by:Timeline |
Symbol 561 MovieClip | Used by:Timeline | |
Symbol 562 Graphic | Used by:564 | |
Symbol 563 Text | Uses:124 | Used by:564 |
Symbol 564 MovieClip {codeRed_v13_fla.endturnbutton_159} | Uses:562 563 185 | Used by:Timeline |
Symbol 565 Font | Used by:566 577 | |
Symbol 566 EditableText | Uses:565 | Used by:Timeline |
Symbol 567 Text | Uses:124 | Used by:568 |
Symbol 568 MovieClip {codeRed_v13_fla.exitgamebutton_160} | Uses:534 567 185 | Used by:Timeline |
Symbol 569 Text | Uses:124 | Used by:Timeline |
Symbol 570 Font | Used by:571 | |
Symbol 571 EditableText | Uses:570 | Used by:Timeline |
Symbol 572 Text | Uses:124 | Used by:573 |
Symbol 573 MovieClip {codeRed_v13_fla.musicbutton_161} | Uses:185 534 572 | Used by:Timeline |
Symbol 574 Text | Uses:124 | Used by:575 |
Symbol 575 MovieClip {codeRed_v13_fla.soundbutton_162} | Uses:185 534 574 | Used by:Timeline |
Symbol 576 Text | Uses:124 | Used by:Timeline |
Symbol 577 EditableText | Uses:565 | Used by:Timeline |
Instance Names
"perc_txt" | Frame 1 | Symbol 79 EditableText |
"credits_mc" | Frame 18 | Symbol 119 MovieClip {CreditsMan} |
"instructions_mc" | Frame 18 | Symbol 129 MovieClip {InstructionsMan} |
"intro_mc" | Frame 25 | Symbol 515 MovieClip {IntroAnimMan} |
"main_menu_mc" | Frame 30 | Symbol 544 MovieClip {MainMenu} |
"instructions_mc" | Frame 36 | Symbol 129 MovieClip {InstructionsMan} |
"credits_mc" | Frame 45 | Symbol 119 MovieClip {CreditsMan} |
"briefing_mc" | Frame 51 | Symbol 558 MovieClip {BriefingMan} |
"field" | Frame 57 | Symbol 561 MovieClip |
"end_turn_btn" | Frame 57 | Symbol 564 MovieClip {codeRed_v13_fla.endturnbutton_159} |
"mission_log_txt" | Frame 57 | Symbol 566 EditableText |
"exit_game_btn" | Frame 57 | Symbol 568 MovieClip {codeRed_v13_fla.exitgamebutton_160} |
"music_btn" | Frame 57 | Symbol 573 MovieClip {codeRed_v13_fla.musicbutton_161} |
"sound_btn" | Frame 57 | Symbol 575 MovieClip {codeRed_v13_fla.soundbutton_162} |
"score_txt" | Frame 57 | Symbol 577 EditableText |
"game_over_mc" | Frame 66 | Symbol 145 MovieClip {GameOverMan} |
"you_win_mc" | Frame 75 | Symbol 171 MovieClip {YouWinMan} |
"submit_score_mc" | Frame 95 | Symbol 481 MovieClip {SubmitScoreMan} |
"fire" | Symbol 51 MovieClip {codeRed_v13_fla.tmp_8} Frame 1 | Symbol 38 MovieClip {codeRed_v13_fla.soldierfire_10} |
"highlight_mc" | Symbol 52 MovieClip {Soldier} Frame 1 | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} |
"anim" | Symbol 52 MovieClip {Soldier} Frame 1 | Symbol 51 MovieClip {codeRed_v13_fla.tmp_8} |
"fire" | Symbol 74 MovieClip {codeRed_v13_fla.tmp_monster_2} Frame 1 | Symbol 58 MovieClip {codeRed_v13_fla.enemyfire_3} |
"anim" | Symbol 75 MovieClip {Enemy} Frame 1 | Symbol 74 MovieClip {codeRed_v13_fla.tmp_monster_2} |
"site_link_btn" | Symbol 96 MovieClip {codeRed_v13_fla.btm_menu_anim_mc_14} Frame 21 | Symbol 95 MovieClip |
"btn_back_mc" | Symbol 119 MovieClip {CreditsMan} Frame 21 | Symbol 115 MovieClip {codeRed_v13_fla.btn_back_mc_18} |
"btn_back_mc" | Symbol 129 MovieClip {InstructionsMan} Frame 21 | Symbol 115 MovieClip {codeRed_v13_fla.btn_back_mc_18} |
"playerScore_txt" | Symbol 145 MovieClip {GameOverMan} Frame 20 | Symbol 135 EditableText |
"btn_continue_mc" | Symbol 145 MovieClip {GameOverMan} Frame 21 | Symbol 138 MovieClip {codeRed_v13_fla.btn_continue_mc_21} |
"btn_submit_mc" | Symbol 145 MovieClip {GameOverMan} Frame 21 | Symbol 141 MovieClip {codeRed_v13_fla.btn_submit_mc_22} |
"youWin_txt" | Symbol 171 MovieClip {YouWinMan} Frame 16 | Symbol 149 EditableText |
"youWin_txt" | Symbol 171 MovieClip {YouWinMan} Frame 18 | Symbol 151 EditableText |
"youWin_txt" | Symbol 171 MovieClip {YouWinMan} Frame 20 | Symbol 152 EditableText |
"btn_continue_mc" | Symbol 171 MovieClip {YouWinMan} Frame 21 | Symbol 138 MovieClip {codeRed_v13_fla.btn_continue_mc_21} |
"btn_submit_mc" | Symbol 171 MovieClip {YouWinMan} Frame 33 | Symbol 141 MovieClip {codeRed_v13_fla.btn_submit_mc_22} |
"playerScore_txt" | Symbol 171 MovieClip {YouWinMan} Frame 33 | Symbol 153 EditableText |
"weapons_before_mc" | Symbol 171 MovieClip {YouWinMan} Frame 33 | Symbol 164 MovieClip {codeRed_v13_fla.weapons_mc_24} |
"weapons_after_mc" | Symbol 171 MovieClip {YouWinMan} Frame 33 | Symbol 164 MovieClip {codeRed_v13_fla.weapons_mc_24} |
"youWin_txt" | Symbol 171 MovieClip {YouWinMan} Frame 46 | Symbol 165 EditableText |
"youWin_txt" | Symbol 171 MovieClip {YouWinMan} Frame 48 | Symbol 166 EditableText |
"youWin_txt" | Symbol 171 MovieClip {YouWinMan} Frame 50 | Symbol 167 EditableText |
"back" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 174 MovieClip {codeRed_v13_fla.back_26} |
"move" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 180 MovieClip {codeRed_v13_fla.movebutton_27} |
"fire" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 182 MovieClip {codeRed_v13_fla.firebutton_28} |
"info" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 186 MovieClip {codeRed_v13_fla.infobutton_29} |
"life" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 188 EditableText |
"step" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 189 EditableText |
"face" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 199 MovieClip {codeRed_v13_fla.faces_30} |
"s_p_idx_mc" | Symbol 205 MovieClip {SoldierPanel} Frame 1 | Symbol 204 MovieClip {codeRed_v13_fla.s_p_idx_mc_31} |
"name_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 211 EditableText |
"bg_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 212 EditableText |
"resp_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 213 EditableText |
"skills_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 216 EditableText |
"spec_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 217 EditableText |
"life_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 219 EditableText |
"move_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 222 EditableText |
"attack_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 223 EditableText |
"weapon_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 225 EditableText |
"addOn_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 227 EditableText |
"silence_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 229 EditableText |
"ammo_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 231 EditableText |
"damage_txt" | Symbol 235 MovieClip {WindowInfo} Frame 1 | Symbol 233 EditableText |
"text_anim_mc" | Symbol 267 MovieClip {tile_50} Frame 1 | Symbol 264 MovieClip {codeRed_v13_fla.text_anim_mc_44} |
"playerScore_txt" | Symbol 481 MovieClip {SubmitScoreMan} Frame 20 | Symbol 476 EditableText |
"playerName_txt" | Symbol 481 MovieClip {SubmitScoreMan} Frame 20 | Symbol 477 EditableText |
"btn_continue_mc" | Symbol 481 MovieClip {SubmitScoreMan} Frame 21 | Symbol 138 MovieClip {codeRed_v13_fla.btn_continue_mc_21} |
"btn_skip_mc" | Symbol 515 MovieClip {IntroAnimMan} Frame 12 | Symbol 487 MovieClip {codeRed_v13_fla.btn_skip_mc_138} |
"btn_intro_mc" | Symbol 544 MovieClip {MainMenu} Frame 15 | Symbol 523 MovieClip {codeRed_v13_fla.btn_intro_mc_149} |
"btn_game_mc" | Symbol 544 MovieClip {MainMenu} Frame 20 | Symbol 526 MovieClip {codeRed_v13_fla.btn_game_mc_150} |
"btn_instructions_mc" | Symbol 544 MovieClip {MainMenu} Frame 25 | Symbol 529 MovieClip {codeRed_v13_fla.btn_instructions_mc_151} |
"btn_credits_mc" | Symbol 544 MovieClip {MainMenu} Frame 30 | Symbol 532 MovieClip {codeRed_v13_fla.btn_credits_mc_152} |
"easy_btn" | Symbol 544 MovieClip {MainMenu} Frame 39 | Symbol 536 MovieClip {codeRed_v13_fla.easybutton_153} |
"normal_btn" | Symbol 544 MovieClip {MainMenu} Frame 39 | Symbol 538 MovieClip {codeRed_v13_fla.normalbutton_154} |
"hard_btn" | Symbol 544 MovieClip {MainMenu} Frame 39 | Symbol 540 MovieClip {codeRed_v13_fla.hardbutton_155} |
"briefing_txt" | Symbol 558 MovieClip {BriefingMan} Frame 16 | Symbol 549 EditableText |
"briefing_txt" | Symbol 558 MovieClip {BriefingMan} Frame 18 | Symbol 550 EditableText |
"briefing_txt" | Symbol 558 MovieClip {BriefingMan} Frame 20 | Symbol 551 EditableText |
"btn_continue_mc" | Symbol 558 MovieClip {BriefingMan} Frame 21 | Symbol 138 MovieClip {codeRed_v13_fla.btn_continue_mc_21} |
"briefing_txt" | Symbol 558 MovieClip {BriefingMan} Frame 46 | Symbol 552 EditableText |
"briefing_txt" | Symbol 558 MovieClip {BriefingMan} Frame 48 | Symbol 553 EditableText |
"briefing_txt" | Symbol 558 MovieClip {BriefingMan} Frame 50 | Symbol 554 EditableText |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Tag 0x0FF (255) | Timeline Frame 1 | 1 bytes " " |
Labels
"preloader" | Frame 1 |
"initialization" | Frame 9 |
"assets" | Frame 18 |
"intro" | Frame 25 |
"menu" | Frame 30 |
"instructions" | Frame 36 |
"credits" | Frame 45 |
"briefing" | Frame 51 |
"game" | Frame 57 |
"gameOver" | Frame 66 |
"youWin" | Frame 75 |
"leaderboard" | Frame 84 |
"submitScore" | Frame 95 |
"green" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 1 |
"blue" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 7 |
"red" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 12 |
"yellow" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 17 |
"sel_green" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 23 |
"sel_blue" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 31 |
"sel_red" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 38 |
"sel_yellow" | Symbol 33 MovieClip {codeRed_v13_fla.soldier_bg_mc_7} Frame 45 |
"stop" | Symbol 51 MovieClip {codeRed_v13_fla.tmp_8} Frame 1 |
"move" | Symbol 51 MovieClip {codeRed_v13_fla.tmp_8} Frame 6 |
"hit" | Symbol 51 MovieClip {codeRed_v13_fla.tmp_8} Frame 12 |
"none" | Symbol 55 MovieClip {Cells} Frame 1 |
"green" | Symbol 55 MovieClip {Cells} Frame 8 |
"red" | Symbol 55 MovieClip {Cells} Frame 16 |
"stop" | Symbol 74 MovieClip {codeRed_v13_fla.tmp_monster_2} Frame 1 |
"move" | Symbol 74 MovieClip {codeRed_v13_fla.tmp_monster_2} Frame 6 |
"hit" | Symbol 74 MovieClip {codeRed_v13_fla.tmp_monster_2} Frame 12 |
"green" | Symbol 204 MovieClip {codeRed_v13_fla.s_p_idx_mc_31} Frame 1 |
"blue" | Symbol 204 MovieClip {codeRed_v13_fla.s_p_idx_mc_31} Frame 7 |
"red" | Symbol 204 MovieClip {codeRed_v13_fla.s_p_idx_mc_31} Frame 12 |
"yellow" | Symbol 204 MovieClip {codeRed_v13_fla.s_p_idx_mc_31} Frame 17 |
"skipped" | Symbol 515 MovieClip {IntroAnimMan} Frame 206 |
|