Section 1
//beam_1_101 (game_fla.beam_1_101)
package game_fla {
import flash.display.*;
public dynamic class beam_1_101 extends MovieClip {
public function beam_1_101(){
addFrameScript(4, frame5);
}
function frame5(){
trace("goto", ((parent as MovieClip).currentFrame + 1));
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 2
//beam_10_121 (game_fla.beam_10_121)
package game_fla {
import flash.display.*;
public dynamic class beam_10_121 extends MovieClip {
public function beam_10_121(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 3
//beam_2_105 (game_fla.beam_2_105)
package game_fla {
import flash.display.*;
public dynamic class beam_2_105 extends MovieClip {
public function beam_2_105(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 4
//beam_3_107 (game_fla.beam_3_107)
package game_fla {
import flash.display.*;
public dynamic class beam_3_107 extends MovieClip {
public function beam_3_107(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 5
//beam_4_109 (game_fla.beam_4_109)
package game_fla {
import flash.display.*;
public dynamic class beam_4_109 extends MovieClip {
public function beam_4_109(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 6
//beam_5_111 (game_fla.beam_5_111)
package game_fla {
import flash.display.*;
public dynamic class beam_5_111 extends MovieClip {
public function beam_5_111(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 7
//beam_6_113 (game_fla.beam_6_113)
package game_fla {
import flash.display.*;
public dynamic class beam_6_113 extends MovieClip {
public function beam_6_113(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 8
//beam_7_115 (game_fla.beam_7_115)
package game_fla {
import flash.display.*;
public dynamic class beam_7_115 extends MovieClip {
public function beam_7_115(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 9
//beam_8_117 (game_fla.beam_8_117)
package game_fla {
import flash.display.*;
public dynamic class beam_8_117 extends MovieClip {
public function beam_8_117(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 10
//beam_9_119 (game_fla.beam_9_119)
package game_fla {
import flash.display.*;
public dynamic class beam_9_119 extends MovieClip {
public function beam_9_119(){
addFrameScript(4, frame5);
}
function frame5(){
(parent as MovieClip).gotoAndStop(((parent as MovieClip).currentFrame + 1));
}
}
}//package game_fla
Section 11
//btn2_146 (game_fla.btn2_146)
package game_fla {
import flash.display.*;
public dynamic class btn2_146 extends MovieClip {
public function btn2_146(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package game_fla
Section 12
//digits_128 (game_fla.digits_128)
package game_fla {
import flash.display.*;
public dynamic class digits_128 extends MovieClip {
public function digits_128(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package game_fla
Section 13
//game_start_21 (game_fla.game_start_21)
package game_fla {
import flash.events.*;
import flash.display.*;
public dynamic class game_start_21 extends MovieClip {
public var btnemc:MovieClip;
public function game_start_21(){
addFrameScript(49, frame50, 64, frame65);
}
function frame50(){
stop();
btnemc.useHandCursor = true;
btnemc.buttonMode = true;
btnemc.addEventListener(MouseEvent.CLICK, function ():void{
play();
});
btnemc.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{
new buttonsnd().play();
});
stop();
}
function frame65(){
stop();
(parent as MovieClip).play();
}
}
}//package game_fla
Section 14
//holders_123 (game_fla.holders_123)
package game_fla {
import flash.events.*;
import flash.display.*;
public dynamic class holders_123 extends MovieClip {
public var plesen:MovieClip;
public function holders_123(){
addFrameScript(24, frame25, 34, frame35);
}
function frame25(){
stop();
dispatchEvent(new Event("DONE"));
}
function frame35(){
stop();
}
}
}//package game_fla
Section 15
//MainTimeline (game_fla.MainTimeline)
package game_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var area9_3:MovieClip;
public var area9_4:MovieClip;
public var area9_5:MovieClip;
public var area9_6:MovieClip;
public var area9_1:MovieClip;
public var citem:uint;
public var ctc:MovieClip;
public var bar:MovieClip;
public var area10_1:MovieClip;
public var area10_2:MovieClip;
public var area10_3:MovieClip;
public var area10_4:MovieClip;
public var area10_5:MovieClip;
public var area10_6:MovieClip;
public var area10_7:MovieClip;
public var beamatplacecounter:uint;
public var cchar:uint;
public var donecounter:uint;
public var area8_1:MovieClip;
public var area8_2:MovieClip;
public var area8_3:MovieClip;
public var area8_4:MovieClip;
public var area8_5:MovieClip;
public var area8_6:MovieClip;
public var holders:MovieClip;
public var d1:MovieClip;
public var d2:MovieClip;
public var d3:MovieClip;
public var d4:MovieClip;
public var d5:MovieClip;
public var d6:MovieClip;
public var device:MovieClip;
public var bd:BitmapData;
public var btn:MovieClip;
public var shadowbitmap:Bitmap;
public var leveltime:uint;
public var st:uint;
public var myContextMenu:ContextMenu;
public var splash:MovieClip;
public var i:uint;
public var fineshed:Boolean;
public var area7_1:MovieClip;
public var area7_2:MovieClip;
public var area7_4:MovieClip;
public var area7_6:MovieClip;
public var area7_3:MovieClip;
public var area7_5:MovieClip;
public var gameid:String;
public var offset:Point;
public var canstart:Boolean;
public var options:MovieClip;
public var z:uint;
public var shadowmc:MovieClip;
public var area6_1:MovieClip;
public var area6_2:MovieClip;
public var area6_3:MovieClip;
public var area6_4:MovieClip;
public var area6_5:MovieClip;
public var area6_6:MovieClip;
public var beamsound:SoundChannel;
public var plesenbitmap:Bitmap;
public var step:Number;
public var mousedown:Boolean;
public var version:uint;
public var timearea:TextField;
public var btnemc:MovieClip;
public var showid:uint;
public var powerbar:MovieClip;
public var totalpixels:uint;
public var area5_1:MovieClip;
public var area5_2:MovieClip;
public var area5_4:MovieClip;
public var area5_6:MovieClip;
public var area5_3:MovieClip;
public var area5_5:MovieClip;
public var item:ContextMenuItem;
public var beammask:MovieClip;
public var TranslateShowed:Boolean;
public var powersound:SoundChannel;
public var area4_1:MovieClip;
public var area4_2:MovieClip;
public var area4_3:MovieClip;
public var area4_5:MovieClip;
public var area4_4:MovieClip;
public var gotoMainMenu:Boolean;
public var prevdevicex:Number;
public var config:configManager;
public var image:MovieClip;
public var menu:MovieClip;
public var area13_1:MovieClip;
public var area13_2:MovieClip;
public var area13_3:MovieClip;
public var area13_4:MovieClip;
public var area13_5:MovieClip;
public var area13_6:MovieClip;
public var closebtn:MovieClip;
public var HUForm:MovieClip;
public var basepoint:Point;
public var area3_2:MovieClip;
public var menuitem1:MovieClip;
public var menuitem2:MovieClip;
public var menuitem3:MovieClip;
public var menuitem4:MovieClip;
public var powermaskcounter:uint;
public var areas:Array;
public var area3_1:MovieClip;
public var letcounter:uint;
public var area3_3:MovieClip;
public var item1:ContextMenuItem;
public var bdtmp:BitmapData;
public var mi:Array;
public var levelid:uint;
public var area12_1:MovieClip;
public var area12_2:MovieClip;
public var area12_3:MovieClip;
public var area12_4:MovieClip;
public var area12_5:MovieClip;
public var beamflash:MovieClip;
public var beam:MovieClip;
public var area2_1:MovieClip;
public var area2_2:MovieClip;
public var area2_3:MovieClip;
public var area2_4:MovieClip;
public var gametime:uint;
public var beamatplacecountermax:uint;
public var addplesencounter:uint;
public var bgSound:SoundChannel;
public var area11_1:MovieClip;
public var area11_2:MovieClip;
public var area11_3:MovieClip;
public var area11_4:MovieClip;
public var area11_5:MovieClip;
public var area11_6:MovieClip;
public var area11_7:MovieClip;
public var gamescore:uint;
public var bdshadow:BitmapData;
public var area1_2:MovieClip;
public var area1_1:MovieClip;
public var area9_2:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 212, frame213, 213, frame214, 216, frame217, 217, frame218, 218, frame219, 219, frame220);
}
public function playbeamsound(_arg1:uint):void{
if (beamsound != null){
beamsound.stop();
};
switch (_arg1){
case 2:
beamsound = new b01().play(0, int.MAX_VALUE);
break;
case 4:
beamsound = new b02().play(0, int.MAX_VALUE);
break;
case 6:
beamsound = new b03().play(0, int.MAX_VALUE);
break;
case 8:
beamsound = new b04().play(0, int.MAX_VALUE);
break;
case 10:
beamsound = new b05().play(0, int.MAX_VALUE);
break;
case 12:
beamsound = new b06().play(0, int.MAX_VALUE);
break;
case 14:
beamsound = new b07().play(0, int.MAX_VALUE);
break;
case 16:
beamsound = new b08().play(0, int.MAX_VALUE);
break;
case 18:
beamsound = new b09().play(0, int.MAX_VALUE);
break;
case 22:
beamsound = new b10().play(0, int.MAX_VALUE);
break;
};
}
public function beammaskmaker(_arg1, _arg2):Number{
var _local4:uint;
var _local5:uint;
var _local7:uint;
var _local3:Number = 0;
var _local6:uint = int((_arg1 - (_arg2 / 2)));
while (_local6 < int((_arg1 + (_arg2 / 2)))) {
_local7 = bd.height;
while (_local7 > 0) {
_local4 = bd.getPixel32(_local6, _local7);
_local5 = ((_local4 >> 24) & 0xFF);
if (_local5 != 0){
_local3 = _local7;
break;
};
_local7--;
};
_local6++;
};
return (_local3);
}
public function plasenDONE(_arg1:Event):void{
leveltime = getTimer();
bd = new BitmapData(holders.plesen.width, holders.plesen.height, true, 0xFFFFFF);
bd.draw(holders.plesen);
bdtmp = bd.clone();
plesenbitmap.bitmapData = bd;
holders.plesen.removeChildAt(0);
holders.plesen.addChild(plesenbitmap);
shadowmc.filters = [new DropShadowFilter(2, 0, 0, 0.75, 4, 4, 5, BitmapFilterQuality.HIGH, false, false)];
bdshadow = bd;
shadowbitmap.bitmapData = bdshadow;
shadowmc.addChild(shadowbitmap);
image.visible = true;
canstart = true;
addEventListener(MouseEvent.MOUSE_DOWN, MDOWN);
addEventListener(MouseEvent.MOUSE_UP, MUP);
}
public function EXTRAS(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, EF1);
gotoAndStop(1, "Translate");
}
function frame1(){
version = 1;
gameid = "postnuke-explorer-2";
config = new configManager(gameid, version, stage, loaderInfo.loaderURL);
st = getTimer();
levelid = 1;
gamescore = 0;
gametime = 0;
showid = levelid;
gotoMainMenu = true;
TranslateShowed = false;
fineshed = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.showDefaultContextMenu = false;
myContextMenu = new ContextMenu();
item = new ContextMenuItem("!!!- MORE GAMES -!!!");
myContextMenu.customItems.push(item);
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);
item1 = new ContextMenuItem("EXIT");
myContextMenu.customItems.push(item1);
item1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler1);
contextMenu = myContextMenu;
loaderInfo.addEventListener(Event.COMPLETE, function (_arg1:Event):void{
gotoAndStop(1, "menu");
});
}
function frame2(){
loaderInfo.addEventListener(ProgressEvent.PROGRESS, update);
stop();
}
function frame3(){
stop();
if (bgSound){
bgSound.stop();
};
bgSound = new m_game().play(0, int.MAX_VALUE);
config.addArea("menu1", menu.holder1);
config.addArea("menu2", menu.holder2);
mi = ["play", "game chicks", "hentai portal", "sign up"];
if ((((levelid > 1)) && ((levelid < 25)))){
mi[0] = "continue";
};
citem = 0;
cchar = 0;
letcounter = 0;
addEventListener(Event.ENTER_FRAME, EF1);
menuitem1.addEventListener(MouseEvent.CLICK, PLAY);
menuitem2.addEventListener(MouseEvent.CLICK, Splash2);
menuitem4.addEventListener(MouseEvent.CLICK, Splash3);
menuitem3.addEventListener(MouseEvent.CLICK, EXTRAS);
}
public function MDOWN(_arg1:MouseEvent):void{
if (canstart){
playbeamsound((int((((90 + powerbar.powermask.x) / 9) + 1)) * 2));
mousedown = true;
powermaskcounter = 0;
beam.visible = true;
makehole();
};
}
public function Splash3(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, EF1);
gotoAndStop(1, "Splash3");
}
public function Splash2(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, EF1);
gotoAndStop(1, "Splash2");
}
public function EF(_arg1:Event):void{
var _local2:uint;
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:String;
var _local7:uint;
donecounter++;
if (donecounter == 25){
if (chkdone()){
removeEventListener(Event.ENTER_FRAME, EF);
removeEventListener(MouseEvent.MOUSE_DOWN, MDOWN);
removeEventListener(MouseEvent.MOUSE_UP, MUP);
playbeamsound(0);
ctc.visible = true;
if (bgSound){
bgSound.stop();
};
new m_clear().play();
gotoMainMenu = true;
beammask.x = -100;
beamflash.visible = false;
levelid++;
gametime = (gametime + (getTimer() - leveltime));
return;
} else {
donecounter = 0;
};
};
if (!options.visible){
if (canstart){
_local2 = ((gametime + getTimer()) - leveltime);
_local3 = int((_local2 / 60000));
_local4 = int(((_local2 - (_local3 * 60000)) / 1000));
_local5 = int((((_local2 - (_local3 * 60000)) - (_local4 * 1000)) / 10));
if (_local3 < 10){
_local6 = ("0" + String(_local3));
} else {
_local6 = String(_local3);
};
_local6 = (_local6 + ":");
if (_local4 < 10){
_local6 = (_local6 + ("0" + String(_local4)));
} else {
_local6 = (_local6 + String(_local4));
};
_local6 = (_local6 + ":");
if (_local5 < 10){
_local6 = (_local6 + ("0" + String(_local5)));
} else {
_local6 = (_local6 + String(_local5));
};
timearea.text = _local6;
addplesencounter++;
if (addplesencounter == 1){
addplesen();
addplesencounter = 0;
};
device.x = (stage.mouseX - 44);
if (device.x < -36){
device.x = -36;
};
if (device.x > 500){
device.x = 500;
};
beam.x = (device.x + 44);
device.gotoAndStop((int((device.x / step)) + 1));
if (prevdevicex != device.x){
if (mousedown){
makehole();
};
prevdevicex = device.x;
beamatplacecounter = 0;
beamflash.visible = false;
};
if (beamatplacecounter >= beamatplacecountermax){
beamatplacecounter = 0;
};
beammask.x = (device.x + 40);
if (mousedown){
beamatplacecounter++;
if (beamatplacecounter == beamatplacecountermax){
beamatplacecounter = 0;
makehole();
};
if (powerbar.powermask.x > -90){
powermaskcounter++;
if (powermaskcounter == 10){
powermaskcounter = 0;
powerbar.powermask.x = (powerbar.powermask.x + -9);
};
};
} else {
if (powerbar.powermask.x < 0){
powermaskcounter++;
if (powermaskcounter == 10){
powermaskcounter = 0;
powerbar.powermask.x = (powerbar.powermask.x + (9 * 2));
playpowersound(int(((90 + powerbar.powermask.x) / 9)));
};
};
};
_local7 = (int((((90 + powerbar.powermask.x) / 9) + 1)) * 2);
beam.up.scaleX = (_local7 / 20);
if (beam.currentFrame != _local7){
beam.gotoAndStop(_local7);
if (mousedown){
playbeamsound(_local7);
};
};
} else {
device.x = (device.x + -4);
};
};
}
public function submitf1(_arg1:Event):void{
var _local2:URLRequest = new URLRequest("https://secure.pimpboss.com/forms/signup_verifyform.php");
var _local3:URLVariables = new URLVariables();
_local3.ps = "1";
_local3.nc = "0";
_local3.nt = "0";
_local3.freesites = "DYNAMIC";
_local3.site = "4";
_local3.product_id = "9";
_local3.nostate = "1";
_local3.wmid = "300162";
_local3.username = HUForm.username.text;
_local3.password = HUForm.pass.text;
_local3.email = HUForm.email.text;
_local2.method = URLRequestMethod.POST;
_local2.data = _local3;
navigateToURL(_local2, "_blank");
var _local4:URLLoader = new URLLoader();
_local4.load(new URLRequest((((("http://tds.mutanky.com/?gameid=" + gameid) + "&version=") + version) + "&action=customsplash1")));
gotoAndStop(1, "menu");
}
public function menuItemSelectHandler(_arg1:ContextMenuEvent):void{
config.gotoTDS("more-games");
}
public function update(_arg1:ProgressEvent):void{
var _local2:Number = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal));
bar.barmask.scaleX = (_local2 / 100);
}
public function ctcclick(_arg1:Event):void{
if (levelid < 25){
gotoAndPlay(1, "loopback");
} else {
gotoAndStop(1, "Translate");
};
}
public function menuItemSelectHandler1(_arg1:ContextMenuEvent):void{
gotoAndStop(1, "menu");
}
public function chkdone():Boolean{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local1:uint;
var _local2:uint;
if (bd != null){
_local5 = 0;
while (_local5 < bd.width) {
_local6 = 0;
while (_local6 < bd.height) {
_local1++;
_local3 = bd.getPixel32(_local5, _local6);
_local4 = ((_local3 >> 24) & 0xFF);
if (_local4 == 0){
_local2++;
};
_local6++;
};
_local5++;
};
};
if ((_local2 / (_local1 / 100)) > 99.5){
return (true);
};
return (false);
}
public function PLAY(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, EF1);
if (levelid == 1){
play();
} else {
if (mi[0] != "ending"){
if (levelid > 24){
levelid = 1;
};
gotoAndStop(1, "game");
} else {
gotoAndStop(1, "Translate");
};
};
}
function frame213(){
stop();
btnemc.useHandCursor = true;
btnemc.buttonMode = true;
btnemc.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
play();
});
btnemc.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{
new buttonsnd().play();
});
}
function frame217(){
stop();
if (bgSound){
bgSound.stop();
};
bgSound = new m_game().play(0, int.MAX_VALUE);
ctc.visible = false;
ctc.buttonMode = true;
ctc.addEventListener(MouseEvent.CLICK, ctcclick);
totalpixels = 0;
step = (460 / 29);
mousedown = false;
donecounter = 0;
canstart = false;
addplesencounter = 0;
powermaskcounter = 0;
beamatplacecounter = 0;
beamatplacecountermax = 1;
prevdevicex = device.x;
basepoint = new Point(0, 0);
offset = new Point(100, 100);
stage.addEventListener(Event.MOUSE_LEAVE, MUP);
areas = [[[area1_1, 25], [area1_2, 25]], [[area2_1, 25], [area2_2, 25], [area2_3, 25], [area2_4, 25]], [[area3_1, 25], [area3_2, 25], [area3_3, 25]], [[area4_1, 30], [area4_2, 30], [area4_3, 30], [area4_4, 30], [area4_5, 30]], [[area5_1, 30], [area5_2, 30], [area5_3, 30], [area5_4, 30], [area5_5, 30], [area5_6, 30]], [[area6_1, 30], [area6_2, 30], [area6_3, 30], [area6_4, 30], [area6_5, 30], [area6_6, 30]], [[area7_1, 35], [area7_2, 35], [area7_3, 35], [area7_4, 35], [area7_5, 35], [area7_6, 35]], [[area8_1, 35], [area8_2, 35], [area8_3, 35], [area8_4, 35], [area8_5, 35], [area8_6, 35]], [[area9_1, 35], [area9_2, 35], [area9_3, 35], [area9_4, 35], [area9_5, 35], [area9_6, 35]], [[area10_1, 40], [area10_2, 40], [area10_3, 40], [area10_4, 40], [area10_5, 40], [area10_6, 40], [area10_7, 40]], [[area11_1, 50], [area11_2, 50], [area11_3, 50], [area11_4, 50], [area11_5, 50], [area11_6, 50], [area11_7, 50]], [[area12_1, 60], [area12_2, 60], [area12_3, 60], [area12_4, 60], [area12_5, 60]], [[area13_1, 75], [area13_2, 75], [area13_3, 75], [area13_4, 75], [area13_5, 75], [area13_6, 75]], [[area1_1, (25 + 60)], [area1_2, (25 + 60)]], [[area2_1, (25 + 60)], [area2_2, (25 + 60)], [area2_3, (25 + 60)], [area2_4, (25 + 60)]], [[area3_1, (25 + 60)], [area3_2, (25 + 60)], [area3_3, (25 + 60)]], [[area4_1, (30 + 60)], [area4_2, (30 + 60)], [area4_3, (30 + 60)], [area4_4, (30 + 60)], [area4_5, (30 + 60)]], [[area5_1, (30 + 60)], [area5_2, (30 + 60)], [area5_3, (30 + 60)], [area5_4, (30 + 60)], [area5_5, (30 + 60)], [area5_6, (30 + 60)]], [[area6_1, (30 + 60)], [area6_2, (30 + 60)], [area6_3, (30 + 60)], [area6_4, (30 + 60)], [area6_5, (30 + 60)], [area6_6, (30 + 60)]], [[area7_1, (35 + 60)], [area7_2, (35 + 60)], [area7_3, (35 + 60)], [area7_4, (35 + 60)], [area7_5, (35 + 60)], [area7_6, (35 + 60)]], [[area8_1, (35 + 60)], [area8_2, (35 + 60)], [area8_3, (35 + 60)], [area8_4, (35 + 60)], [area8_5, (35 + 60)], [area8_6, (35 + 60)]], [[area9_1, (35 + 60)], [area9_2, (35 + 60)], [area9_3, (35 + 60)], [area9_4, (35 + 60)], [area9_5, (35 + 60)], [area9_6, (35 + 60)]], [[area10_1, (40 + 60)], [area10_2, (40 + 60)], [area10_3, (40 + 60)], [area10_4, (40 + 60)], [area10_5, (40 + 60)], [area10_6, (40 + 60)], [area10_7, (40 + 60)]], [[area11_1, (50 + 60)], [area11_2, (50 + 60)], [area11_3, (50 + 60)], [area11_4, (50 + 60)], [area11_5, (50 + 60)], [area11_6, (50 + 60)], [area11_7, (50 + 60)]], [[area12_1, (60 + 60)], [area12_2, (60 + 60)], [area12_3, (60 + 60)], [area12_4, (60 + 60)], [area12_5, (60 + 60)]], [[area13_1, (75 + 60)], [area13_2, (75 + 60)], [area13_3, (75 + 60)], [area13_4, (75 + 60)], [area13_5, (75 + 60)], [area13_6, (75 + 60)]]];
i = 0;
while (i < areas.length) {
z = 0;
while (z < areas[i].length) {
areas[i][z][0].visible = false;
if (levelid > 13){
areas[i][z][0].scaleX = 1.2;
areas[i][z][0].scaleY = 1.2;
};
z++;
};
i++;
};
beam.visible = false;
beam.gotoAndStop(1);
device.gotoAndStop(1);
plesenbitmap = new Bitmap();
shadowbitmap = new Bitmap();
options.visible = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
powerbar.powermask.x = -90;
image.visible = false;
image.gotoAndStop(levelid);
holders.plesen.gotoAndStop(levelid);
beamflash.visible = false;
holders.addEventListener("DONE", plasenDONE);
addEventListener(Event.ENTER_FRAME, EF);
setscore();
}
function frame219(){
btn.buttonMode = true;
btn.addEventListener(MouseEvent.CLICK, function (_arg1:Event){
if (btn.currentFrame < 3){
btn.gotoAndStop((btn.currentFrame + 1));
} else {
config.gotoTDS("splash2");
gotoAndStop(1, "menu");
};
});
closebtn.buttonMode = true;
closebtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event){
gotoAndStop(1, "menu");
});
}
function frame218(){
TranslateShowed = true;
fineshed = true;
addEventListener(MouseEvent.CLICK, splashClick);
stop();
}
function frame214(){
stop();
}
public function splashClick(_arg1:Event):void{
if (splash.currentFrame == 65){
splash.play();
};
if (splash.currentFrame == 210){
config.gotoTDS("splash1");
removeEventListener(MouseEvent.CLICK, splashClick);
gotoAndStop(1, "menu");
};
}
function frame220(){
HUForm.hubtn1.buttonMode = true;
HUForm.hubtn2.buttonMode = true;
HUForm.submit.buttonMode = true;
HUForm.hubtn1.addEventListener(MouseEvent.CLICK, function (_arg1:Event){
config.gotoTDS("hu");
});
HUForm.hubtn2.addEventListener(MouseEvent.CLICK, function (_arg1:Event){
config.gotoTDS("hu");
});
HUForm.submit.addEventListener(MouseEvent.CLICK, submitf1);
HUForm.close.buttonMode = true;
HUForm.close.addEventListener(MouseEvent.CLICK, function (_arg1:Event){
gotoAndStop(1, "menu");
});
}
public function playpowersound(_arg1:uint):void{
if (powersound != null){
powersound.stop();
};
switch (_arg1){
case 1:
powersound = new p01().play();
break;
case 2:
powersound = new p02().play();
break;
case 3:
powersound = new p03().play();
break;
case 4:
powersound = new p04().play();
break;
case 5:
powersound = new p05().play();
break;
case 6:
powersound = new p06().play();
break;
case 7:
powersound = new p07().play();
break;
case 8:
powersound = new p08().play();
break;
case 9:
powersound = new p09().play();
break;
case 10:
powersound = new p10().play();
break;
};
}
public function setscore():void{
var _local3:uint;
var _local1:String = String(gamescore);
var _local2:uint = _local1.length;
if (_local2 < 6){
_local3 = 0;
while (_local3 < (6 - _local2)) {
_local1 = ("0" + _local1);
_local3++;
};
};
_local3 = 1;
while (_local3 < 7) {
(getChildByName(("d" + _local3)) as MovieClip).gotoAndStop((int(_local1.substr((_local3 - 1), 1)) + 1));
_local3++;
};
}
public function makehole():void{
var _local1:*;
var _local2:Number;
var _local8:uint;
var _local9:uint;
var _local11:uint;
_local1 = (device.x + 40);
var _local3:Number = beam.currentFrame;
if (_local3 < 3){
_local3 = 3;
};
_local2 = beammaskmaker(_local1, _local3);
if (_local3 < 4){
offset = new Point((_local1 - (_local3 * 1.25)), (_local2 - _local3));
} else {
offset = new Point((_local1 - _local3), (_local2 - _local3));
};
playpowersound(_local3);
var _local4:MovieClip = new MovieClip();
_local4.graphics.beginFill(0);
_local4.graphics.drawCircle(_local3, _local3, _local3);
_local4.graphics.endFill();
var _local5:BitmapData = new BitmapData(_local4.width, _local4.height, true, 4294967295);
var _local6:Rectangle = new Rectangle(_local5.width, _local5.height);
_local5.draw(_local4);
_local5.copyChannel(_local5, _local5.getColorBoundsRect(0xFFFFFF, 0, true), basepoint, 1, 8);
var _local7:uint;
var _local10:uint = offset.x;
while (_local10 < (offset.x + (_local3 * 2))) {
_local11 = offset.y;
while (_local11 < (offset.y + (_local3 * 2))) {
_local8 = bd.getPixel32(_local10, _local11);
_local9 = ((_local8 >> 24) & 0xFF);
if (_local9 != 0){
_local7++;
};
_local11++;
};
_local10++;
};
totalpixels = (totalpixels + int((_local7 / 10)));
gamescore = (gamescore + int((_local7 / 10)));
setscore();
bd.copyPixels(bd, new Rectangle(offset.x, offset.y, (_local3 * 2), (_local3 * 2)), offset, _local5, basepoint, false);
beammask.y = (_local2 - (_local3 * 2));
if (beammask.y <= 4){
beamflash.visible = false;
beammask.y = 4;
} else {
beamflash.visible = true;
};
if (!beamflash.visible){
beamatplacecountermax = 1;
};
beamflash.y = (beammask.y + 10);
beamflash.x = (beammask.x + 5);
}
public function addplesen():void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:uint;
var _local8:uint;
var _local1:Array = [];
var _local2:Array = [];
if (bd != null){
_local3 = 0;
while (_local3 < areas[(levelid - 1)].length) {
_local4 = 0;
_local5 = areas[(levelid - 1)][_local3][1];
_local6 = 0;
while ((((_local4 < _local5)) && ((_local6 < (_local5 * 10))))) {
_local6++;
_local7 = (int(((areas[(levelid - 1)][_local3][0].x + 1) + (Math.random() * (areas[(levelid - 1)][_local3][0].width - 2)))) - 6);
_local8 = (int(((areas[(levelid - 1)][_local3][0].y + 1) + (Math.random() * (areas[(levelid - 1)][_local3][0].height - 2)))) - 5);
if (areas[(levelid - 1)][_local3][0].hitTestPoint((_local7 + 6), (_local8 + 5), true)){
_local1[0] = bd.getPixel32(_local7, _local8);
_local1[1] = bd.getPixel32((_local7 + 1), _local8);
_local1[2] = bd.getPixel32(_local7, (_local8 - 1));
_local1[3] = bd.getPixel32(_local7, (_local8 + 1));
_local2[0] = ((_local1[0] >> 24) & 0xFF);
_local2[1] = ((_local1[1] >> 24) & 0xFF);
_local2[2] = ((_local1[2] >> 24) & 0xFF);
_local2[3] = ((_local1[3] >> 24) & 0xFF);
if (((!((_local2[0] == 0))) && ((_local2[1] == 0)))){
_local4++;
bd.copyPixels(bdtmp, new Rectangle(_local7, _local8, 2, 1), new Point(_local7, _local8));
};
if ((((_local2[0] == 0)) && (!((_local2[1] == 0))))){
_local4++;
bd.copyPixels(bdtmp, new Rectangle(_local7, _local8, 2, 1), new Point(_local7, _local8));
};
if (((!((_local2[0] == 0))) && ((_local2[2] == 0)))){
_local4++;
bd.copyPixels(bdtmp, new Rectangle(_local7, (_local8 - 1), 1, 2), new Point(_local7, (_local8 - 1)));
};
if (((!((_local2[0] == 0))) && ((_local2[3] == 0)))){
_local4++;
bd.copyPixels(bdtmp, new Rectangle(_local7, (_local8 + 1), 1, 2), new Point(_local7, (_local8 + 1)));
};
};
};
_local3++;
};
};
}
public function reportKeyDown(_arg1:KeyboardEvent):void{
if (_arg1.charCode == 27){
options.visible = true;
canstart = false;
beammask.x = -100;
beamflash.visible = false;
};
}
public function MUP(_arg1:Event):void{
playbeamsound(0);
if (canstart){
powerbar.powermask.x = -90;
mousedown = false;
beam.visible = false;
beamflash.visible = false;
powermaskcounter = 0;
};
}
public function EF1(_arg1:Event):void{
var m:MovieClip;
var e = _arg1;
if (menu.currentFrame > 24){
letcounter++;
if (letcounter == 2){
if (citem < mi.length){
m = (getChildByName(("menuitem" + (citem + 1))) as MovieClip);
if (cchar < (mi[citem].length + 1)){
m.titem.text = mi[citem].substr(0, cchar);
cchar++;
} else {
m.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{
new buttonsnd().play();
_arg1.target.y = (_arg1.target.y + -2);
});
m.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{
_arg1.target.y = (_arg1.target.y + 2);
});
m.buttonMode = true;
m.mouseChildren = false;
citem++;
cchar = 0;
};
} else {
removeEventListener(Event.ENTER_FRAME, EF1);
};
};
if (letcounter == 2){
letcounter = 0;
};
};
}
}
}//package game_fla
Section 16
//menu_menu_10 (game_fla.menu_menu_10)
package game_fla {
import flash.display.*;
public dynamic class menu_menu_10 extends MovieClip {
public function menu_menu_10(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package game_fla
Section 17
//options1_131 (game_fla.options1_131)
package game_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class options1_131 extends MovieClip {
public var i:uint;
public var m:MovieClip;
public var btn1:MovieClip;
public var btn3:MovieClip;
public var btn4:MovieClip;
public function options1_131(){
addFrameScript(0, frame1);
}
function frame1(){
i = 1;
while (i < 5) {
if (i == 2){
} else {
m = (getChildByName(("btn" + i)) as MovieClip);
m.buttonMode = true;
m.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{
new buttonsnd().play();
_arg1.target.y--;
});
m.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{
_arg1.target.y++;
});
};
i++;
};
btn1.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
visible = false;
(parent as MovieClip).canstart = true;
});
btn3.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
(parent as MovieClip).config.gotoTDS("more-games");
});
btn4.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
(parent as MovieClip).gotoAndStop(1, "menu");
});
}
}
}//package game_fla
Section 18
//text_1_24 (game_fla.text_1_24)
package game_fla {
import flash.display.*;
public dynamic class text_1_24 extends MovieClip {
public function text_1_24(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package game_fla
Section 19
//z_splash_137 (game_fla.z_splash_137)
package game_fla {
import flash.display.*;
public dynamic class z_splash_137 extends MovieClip {
public function z_splash_137(){
addFrameScript(64, frame65, 65, frame66, 209, frame210);
}
function frame210(){
stop();
buttonMode = true;
}
function frame65(){
stop();
buttonMode = true;
}
function frame66(){
buttonMode = false;
}
}
}//package game_fla
Section 20
//b01 (b01)
package {
import flash.media.*;
public dynamic class b01 extends Sound {
}
}//package
Section 21
//b02 (b02)
package {
import flash.media.*;
public dynamic class b02 extends Sound {
}
}//package
Section 22
//b03 (b03)
package {
import flash.media.*;
public dynamic class b03 extends Sound {
}
}//package
Section 23
//b04 (b04)
package {
import flash.media.*;
public dynamic class b04 extends Sound {
}
}//package
Section 24
//b05 (b05)
package {
import flash.media.*;
public dynamic class b05 extends Sound {
}
}//package
Section 25
//b06 (b06)
package {
import flash.media.*;
public dynamic class b06 extends Sound {
}
}//package
Section 26
//b07 (b07)
package {
import flash.media.*;
public dynamic class b07 extends Sound {
}
}//package
Section 27
//b08 (b08)
package {
import flash.media.*;
public dynamic class b08 extends Sound {
}
}//package
Section 28
//b09 (b09)
package {
import flash.media.*;
public dynamic class b09 extends Sound {
}
}//package
Section 29
//b10 (b10)
package {
import flash.media.*;
public dynamic class b10 extends Sound {
}
}//package
Section 30
//buttonsnd (buttonsnd)
package {
import flash.media.*;
public dynamic class buttonsnd extends Sound {
}
}//package
Section 31
//configManager (configManager)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class configManager extends MovieClip {
var showonload:String;// = null
var popupurl:String;// = ""
var areas:Dictionary;
public var values:Array;
var gid:String;
var ver:uint;
var areacontent:Dictionary;
var configXML:XML;
var refUrl:String;
public function configManager(_arg1:String, _arg2:uint, _arg3:Stage, _arg4:String):void{
var ioErrorHandler:Function;
var loadXML:Function;
var gameid = _arg1;
var version = _arg2;
var st = _arg3;
var url = _arg4;
configXML = <config></config>
;
areas = new Dictionary(true);
areacontent = new Dictionary(true);
values = [];
super();
ioErrorHandler = function (_arg1:Event):void{
trace("config fail");
};
loadXML = function (_arg1:Event):void{
var k:uint;
var tmpfn:Function;
var e = _arg1;
configXML = new XML(e.target.data);
var i:uint;
while (i < configXML.stages.stage.length()) {
k = 0;
while (k < configXML.stages.stage[i].banners.banner.length()) {
if (configXML.stages.stage[i].banners.banner[k].@autoload == "true"){
trace(((("get content " + configXML.stages.stage[i].@name) + " loc:") + configXML.stages.stage[i].banners.banner[k].@location));
getContent(configXML.stages.stage[i].@name, k, configXML.stages.stage[i].banners.banner[k].@location, configXML.stages.stage[i].banners.banner[k].@x, configXML.stages.stage[i].banners.banner[k].@y, configXML.stages.stage[i].banners.banner[k].@href);
};
if (configXML.stages.stage[i].@name == "popup"){
tmpfn = function (_arg1:Event):void{
if (popupurl != ""){
navigateToURL(new URLRequest(popupurl), "_blank");
};
st.removeEventListener(MouseEvent.CLICK, tmpfn);
};
st.addEventListener(MouseEvent.CLICK, tmpfn);
popupurl = configXML.stages.stage[i].banners.banner[k].@href;
};
k = (k + 1);
};
i = (i + 1);
};
i = 0;
while (i < configXML.values.value.length()) {
if (String(configXML.values.value[i].@stagename).length > 0){
values[configXML.values.value[i].@name] = [configXML.values.value[i].@stagename, configXML.values.value[i].@text];
} else {
values[String(configXML.values.value[i].@name)] = String(configXML.values.value[i].@value);
};
i = (i + 1);
};
dispatchEvent(new Event("CONFIGLOADED"));
trace("config loaded\n\n");
};
gid = gameid;
ver = version;
refUrl = url;
var loader:URLLoader = new URLLoader();
loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, ioErrorHandler);
loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
loader.addEventListener(Event.COMPLETE, loadXML);
loader.load(new URLRequest(((((((("http://config.mutanky.com/?gameid=" + gameid) + "&version=") + version) + "&ref=") + escape(refUrl)) + "&player=") + Capabilities.version)));
}
public function gotoTDS(_arg1:String){
navigateToURL(new URLRequest(((((("http://tds.mutanky.com/?gameid=" + gid) + "&action=") + _arg1) + "&ref=") + escape(refUrl))), "_blank");
}
public function addArea(_arg1:String, _arg2:MovieClip):void{
var bannerid:uint;
var i:uint;
var k:uint;
var id = _arg1;
var area = _arg2;
if (areas[id] == undefined){
areas[id] = area;
if (areacontent[id] == undefined){
areacontent[id] = [];
i = 0;
while (i < configXML.stages.stage.length()) {
if (String(configXML.stages.stage[i].@name) == id){
k = 0;
while (k < configXML.stages.stage[i].banners.banner.length()) {
getContent(configXML.stages.stage[i].@name, k, configXML.stages.stage[i].banners.banner[k].@location, configXML.stages.stage[i].banners.banner[k].@x, configXML.stages.stage[i].banners.banner[k].@y, configXML.stages.stage[i].banners.banner[k].@href);
k = (k + 1);
};
};
i = (i + 1);
};
};
};
bannerid = int((Math.random() * areacontent[id].length));
if (((((!((areacontent[id][bannerid] == null))) && (!((areacontent[id][bannerid] == undefined))))) && (!(area.contains(areacontent[id][bannerid]))))){
area.addChild(areacontent[id][bannerid]);
dispatchEvent(new Event(("LOADED_" + id)));
if (areacontent[id][bannerid].href != ""){
areacontent[id][bannerid].addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
navigateToURL(new URLRequest(areacontent[id][bannerid].href), "_blank");
});
};
} else {
showonload = id;
};
trace((("start " + id) + " area"));
}
function getContent(_arg1:String, _arg2:uint, _arg3:String, _arg4:Number, _arg5:Number, _arg6:String):void{
var loadcontent:Function;
var id = _arg1;
var arrid = _arg2;
var loc = _arg3;
var x = _arg4;
var y = _arg5;
var href = _arg6;
loadcontent = function (_arg1:Event):void{
var bannerid:uint;
var e = _arg1;
if (areacontent[id] == undefined){
areacontent[id] = [];
};
e.target.content.x = x;
e.target.content.y = y;
e.target.content.href = href;
e.target.content.gameid = gid;
e.target.content.version = ver;
areacontent[id][arrid] = e.target.content;
if (showonload == id){
bannerid = int((Math.random() * areacontent[id].length));
areas[id].addChild(areacontent[id][bannerid]);
if (areacontent[id][bannerid].href != ""){
areacontent[id][bannerid].addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
navigateToURL(new URLRequest(areacontent[id][bannerid].href), "_blank");
});
};
};
trace("content loaded");
trace(("LOADED_" + id));
dispatchEvent(new Event(("LOADED_" + id)));
};
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadcontent);
loader.load(new URLRequest(loc));
}
}
}//package
Section 32
//m_clear (m_clear)
package {
import flash.media.*;
public dynamic class m_clear extends Sound {
}
}//package
Section 33
//m_game (m_game)
package {
import flash.media.*;
public dynamic class m_game extends Sound {
}
}//package
Section 34
//p01 (p01)
package {
import flash.media.*;
public dynamic class p01 extends Sound {
}
}//package
Section 35
//p02 (p02)
package {
import flash.media.*;
public dynamic class p02 extends Sound {
}
}//package
Section 36
//p03 (p03)
package {
import flash.media.*;
public dynamic class p03 extends Sound {
}
}//package
Section 37
//p04 (p04)
package {
import flash.media.*;
public dynamic class p04 extends Sound {
}
}//package
Section 38
//p05 (p05)
package {
import flash.media.*;
public dynamic class p05 extends Sound {
}
}//package
Section 39
//p06 (p06)
package {
import flash.media.*;
public dynamic class p06 extends Sound {
}
}//package
Section 40
//p07 (p07)
package {
import flash.media.*;
public dynamic class p07 extends Sound {
}
}//package
Section 41
//p08 (p08)
package {
import flash.media.*;
public dynamic class p08 extends Sound {
}
}//package
Section 42
//p09 (p09)
package {
import flash.media.*;
public dynamic class p09 extends Sound {
}
}//package
Section 43
//p10 (p10)
package {
import flash.media.*;
public dynamic class p10 extends Sound {
}
}//package