Section 1
//Level01 (Levels.Level01)
package Levels {
import Plugs.*;
public class Level01 {
var grav;// = 0
var dda;
var lmc;
var isprt;// = null
var plat;// = null
var sprt;// = null
public function Level01(){
lmc = Main.sprt;
dda = new Object();
super();
var _local1:* = (100 + Main.levl);
_local1 = ("level" + _local1);
isprt = Tools.getObjectByName(_local1);
lmc.addChild(isprt);
sprt = {s1:isprt.sprt1, s2:isprt.sprt2, s3:isprt.sprt3, spd:5, spdY:5, xx:0};
sprt.s1.cacheAsBitmap = true;
sprt.s2.cacheAsBitmap = true;
sprt.s3.cacheAsBitmap = true;
plat = isprt.plat;
iniDD();
var _local2:* = new walkthroughMC();
_local2.x = 640;
lmc.addChild(_local2);
}
function controlsY(){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local1:* = 0;
if (sprt.s1.istop){
sprt.s1.enl = 0;
sprt.s1.shrnk = 0;
if (s2H() > 90){
sprt.s1.shrnk = 1;
};
if (s2H() < 80){
sprt.s1.enl = 1;
};
if (((!(sprt.s1.enl)) && (!(sprt.s1.shrnk)))){
fluteCode();
return;
};
};
if (((!(sprt.s1.shrnk)) && ((((((Input.kkode[38] == 1)) || ((Input.kkode[87] == 1)))) || (sprt.s1.enl))))){
_local1 = 1;
sprt.s3.y = (sprt.s3.y - sprt.spdY);
if (sprt.s1.gr){
sprt.s3.y = (sprt.s3.y + sprt.spdY);
sprt.s1.y = (sprt.s1.y + sprt.spdY);
};
if (((sprt.s1.gr2) && ((s2H() >= 300)))){
sprt.s1.y = (sprt.s1.y - sprt.spdY);
};
_local2 = 0;
while (_local2 < plat.numChildren) {
_local3 = plat.getChildAt(_local2);
while (sprt.s3.colT.hitTestObject(_local3)) {
sprt.s3.y = (sprt.s3.y + 1);
};
while (((sprt.s1.gr) && (sprt.s1.colB.hitTestObject(_local3)))) {
sprtY(-1);
_local4 = 0;
while (_local4 < plat.numChildren) {
_local5 = plat.getChildAt(_local4);
while (sprt.s3.colT.hitTestObject(_local5)) {
sprt.s3.y = (sprt.s3.y + 1);
};
_local4++;
};
};
_local2++;
};
};
if (((!(_local1)) && ((((((Input.kkode[40] == 1)) || ((Input.kkode[83] == 1)))) || (sprt.s1.shrnk))))){
sprt.s3.y = (sprt.s3.y + sprt.spdY);
if (sprt.s1.gr2){
sprt.s3.y = (sprt.s3.y - sprt.spdY);
sprt.s1.y = (sprt.s1.y - sprt.spdY);
if (s2H() < 40){
sprt.s1.y = (sprt.s3.y + 40);
};
};
_local2 = 0;
while (_local2 < plat.numChildren) {
_local3 = plat.getChildAt(_local2);
while (((sprt.s1.gr2) && (sprt.s1.colT.hitTestObject(_local3)))) {
sprtY(1);
};
while (sprt.s3.colB.hitTestObject(_local3)) {
sprtY(-1);
};
while (sprt.s1.colT.hitTestObject(_local3)) {
sprt.s1.y = (sprt.s1.y + 1);
};
_local2++;
};
};
if (s2H() < 40){
sprt.s3.y = (sprt.s1.y - 40);
};
if (s2H() > 300){
sprt.s3.y = (sprt.s1.y - 300);
};
sprt.s2.height = (s2H() - 20);
fluteCode();
}
function iniDD(){
dda.s1y = ((Math.random() * -10) - 2);
dda.s2y = ((Math.random() * -10) - 2);
dda.s3y = ((Math.random() * -10) - 2);
dda.s1x = ((Math.random() * 10) - 5);
dda.s2x = ((Math.random() * 10) - 5);
dda.s3x = ((Math.random() * 10) - 5);
dda.s1rot = ((Math.random() * 10) - 5);
dda.s2rot = ((Math.random() * 10) - 5);
dda.s3rot = ((Math.random() * 10) - 5);
}
function collX(){
var _local2:*;
var _local1:* = 0;
while (_local1 < plat.numChildren) {
_local2 = plat.getChildAt(_local1);
collXTile(sprt.s3, _local2);
collXTile(sprt.s1, _local2);
collXTile(sprt.s2, _local2);
_local1++;
};
}
function fluteCode(){
if (!sprt.s2.heightPrev){
sprt.s2.heightPrev = sprt.s2.height;
};
if (sprt.s2.heightPrev < sprt.s2.height){
Music.fluteFX(1, ((sprt.s2.height - 20) / 260));
};
if (sprt.s2.heightPrev > sprt.s2.height){
Music.fluteFX(2, ((sprt.s2.height - 20) / 260));
};
if (sprt.s2.heightPrev == sprt.s2.height){
Music.fluteFX(0, 0);
};
sprt.s2.heightPrev = sprt.s2.height;
}
function controlsX(){
if ((((Input.kkode[37] == 1)) || ((Input.kkode[65] == 1)))){
sprt.xx = -(sprt.spd);
};
if ((((Input.kkode[39] == 1)) || ((Input.kkode[68] == 1)))){
sprt.xx = sprt.spd;
};
if ((sprt.s1.getRect(isprt).x + sprt.xx) < 0){
sprt.xx = 0;
};
sprt.s1.x = (sprt.s1.x + sprt.xx);
sprt.s2.x = (sprt.s2.x + sprt.xx);
sprt.s3.x = (sprt.s3.x + sprt.xx);
sprt.xx = 0;
}
function sprtY(_arg1){
sprt.s1.y = (sprt.s1.y + _arg1);
sprt.s2.y = (sprt.s2.y + _arg1);
sprt.s3.y = (sprt.s3.y + _arg1);
sprt.s2.y = (sprt.s1.y - 10);
}
function collY(){
var _local2:*;
var _local1:* = 0;
while (_local1 < plat.numChildren) {
_local2 = plat.getChildAt(_local1);
while (sprt.s3.colT.hitTestObject(_local2)) {
sprt.s3.y = (sprt.s3.y + 1);
sprt.s2.height = s2H();
};
_local1++;
};
}
function s2H(){
return ((sprt.s1.y - sprt.s3.y));
}
public function update(){
if (sprt.s1.dd){
Music.fluteFX(0, 0);
sprt.s1.y = (sprt.s1.y + dda.s1y);
sprt.s2.y = (sprt.s2.y + dda.s2y);
sprt.s3.y = (sprt.s3.y + dda.s3y);
sprt.s1.x = (sprt.s1.x + dda.s1x);
sprt.s2.x = (sprt.s2.x + dda.s2x);
sprt.s3.x = (sprt.s3.x + dda.s3x);
sprt.s1.rotation = (sprt.s1.rotation + dda.s1rot);
sprt.s2.rotation = (sprt.s2.rotation + dda.s2rot);
sprt.s3.rotation = (sprt.s3.rotation + dda.s3rot);
dda.s1y++;
dda.s2y++;
dda.s3y++;
if ((((((sprt.s1.y > 1900)) && ((sprt.s2.y > 1900)))) && ((sprt.s3.y > 1900)))){
Music.fluteFX(0, 0);
Main.dd = 1;
Main.onceagain = 1;
};
};
if (!sprt.s1.dd){
isprt.y = 0;
isprt.scaleY = 1;
controlsY();
if (!sprt.s1.istop){
controlsX();
};
collX();
gravCode();
if (sprt.s1.x > 640){
Main.then = 1;
Main.levl++;
Music.fluteFX(0, 0);
Main.dd = 1;
};
};
if (Input.kkode[32] == 1){
};
if (((!(Main.dd)) && ((Main.levl == 5)))){
isprt.y = 400;
isprt.scaleY = -1;
};
if (Main.dd){
isprt.visible = false;
};
}
function sprtX(_arg1){
sprt.s1.x = (sprt.s1.x + _arg1);
sprt.s2.x = (sprt.s2.x + _arg1);
sprt.s3.x = (sprt.s3.x + _arg1);
}
function collXTile(_arg1, _arg2){
while (_arg1.colR.hitTestObject(_arg2)) {
sprtX(-1);
};
while (_arg1.colL.hitTestObject(_arg2)) {
sprtX(1);
};
}
function gravCode(){
var _local1:*;
var _local2:*;
if (!sprt.s1.gr){
sprtY(grav);
grav = (grav + 1);
if (grav > 15){
grav = 15;
};
_local1 = 0;
while (_local1 < plat.numChildren) {
_local2 = plat.getChildAt(_local1);
while (((sprt.s3.colB.hitTestObject(_local2)) || (sprt.s1.colB.hitTestObject(_local2)))) {
sprtY(-1);
grav = 0;
};
_local1++;
};
} else {
sprtY(grav);
grav = -1;
if (grav > 15){
grav = 15;
};
_local1 = 0;
while (_local1 < plat.numChildren) {
_local2 = plat.getChildAt(_local1);
while (((sprt.s3.colT.hitTestObject(_local2)) || (sprt.s1.colT.hitTestObject(_local2)))) {
sprtY(1);
grav = 0;
};
_local1++;
};
};
}
}
}//package Levels
Section 2
//Input (Plugs.Input)
package Plugs {
import flash.events.*;
import flash.display.*;
public class Input {
public static var kkode = null;
public static var mclick = null;
public static var mdown = null;
public function Input(_arg1){
ini();
_arg1.stage.addEventListener(KeyboardEvent.KEY_DOWN, kpress);
_arg1.stage.addEventListener(KeyboardEvent.KEY_UP, krelease);
_arg1.stage.addEventListener(MouseEvent.CLICK, miw);
_arg1.stage.addEventListener(MouseEvent.MOUSE_DOWN, md);
_arg1.stage.addEventListener(MouseEvent.MOUSE_UP, mu);
}
public function kpress(_arg1){
kkode[_arg1.keyCode] = 1;
}
public function miw(_arg1){
if (_arg1.target.name){
Main.mclick(_arg1.target);
mclick = _arg1.target;
};
}
public function krelease(_arg1){
kkode[_arg1.keyCode] = 0;
}
public function mu(_arg1){
mdown = null;
}
public function md(_arg1){
if (_arg1.target.name){
mdown = _arg1.target;
};
}
public static function ini(){
kkode = new Array();
mclick = null;
mdown = null;
}
}
}//package Plugs
Section 3
//Music (Plugs.Music)
package Plugs {
import flash.media.*;
public class Music {
public static var panel = null;
public static var ln = null;
public static var vol = 1;
static var volG = 0;
public static var fluteChan = null;
public static var fluteStat = 0;
public static var currN = 0;
public static var volMU = 1;
static var musicChannel = new Array();
public static var st = "off";
static var music = new Sound();
public static var musicNR = null;
public static var volFX = 1;
static var musicChannelCrowd = null;
public static var curvolMU = 1;
public static var chargeVol = 0;
public function Music(_arg1){
}
public static function loopStart(... _args){
var _local2:*;
if (ln != _args[0]){
_local2 = Tools.getObjectByName(_args[0]);
if (_local2){
if (musicChannel[0]){
musicChannel[0].stop();
musicChannel[0] = null;
ln = null;
};
musicChannel[0] = _local2.play(0, 99999, new SoundTransform((_args[1] * volFX)));
ln = _args[0];
};
};
}
public static function changeVol(... _args){
if (musicChannel["music"]){
curvolMU = (curvolMU + _args[0]);
if (curvolMU < 0){
curvolMU = 0;
};
musicChannel["music"].soundTransform = new SoundTransform((curvolMU * volMU));
};
}
public static function loopMod(... _args){
if (musicChannel["fxShip"]){
musicChannel["fxShip"].soundTransform = new SoundTransform((_args[0] * volFX));
};
}
public static function loopEnd(... _args){
if (musicChannel[_args[0]]){
musicChannel[_args[0]].stop();
};
}
public static function mus(... _args){
var _local2:* = _args[0];
var _local3:* = Tools.getObjectByName(_args[0]);
if (_local3){
if (musicNR != _local2){
if (musicChannel["music"]){
musicChannel["music"].stop();
};
curvolMU = _args[1];
musicChannel["music"] = _local3.play(0, 99999, new SoundTransform((curvolMU * volMU)));
musicNR = _local2;
};
};
}
public static function snd(... _args){
var _local2:* = Tools.getObjectByName(_args[0]);
if (_local2){
_local2.play(0, 0, new SoundTransform(((_args[1] * volFX) * 0.7)));
};
}
public static function fluteFX(_arg1, _arg2){
var _local3:* = null;
if (_arg1 != fluteStat){
if (fluteChan){
fluteChan.stop();
fluteChan = null;
};
if (_arg1 == 1){
_local3 = new fluteUp();
fluteStat = 1;
};
if (_arg1 == 2){
_arg2 = (1 - _arg2);
_local3 = new fluteDown();
fluteStat = 2;
};
if (_arg1 == 0){
fluteStat = 0;
};
if (((!(fluteChan)) && (fluteStat))){
fluteChan = _local3.play((_local3.length * _arg2), 0, new SoundTransform((0.4 * volFX)));
};
};
}
public static function stopLoops(){
if (musicChannel[0]){
musicChannel[0].stop();
musicChannel[0] = null;
ln = null;
};
}
}
}//package Plugs
Section 4
//Tools (Plugs.Tools)
package Plugs {
import flash.utils.*;
public class Tools {
public static function getObjectByName(_arg1){
var n = _arg1;
var obj:* = null;
try {
obj = (getDefinitionByName(n) as Class);
obj = new (obj);
} catch(e) {
};
return (obj);
}
}
}//package Plugs
Section 5
//ag_intro_mc_8 (the_I_of_It_Armor_640x400_final_fla.ag_intro_mc_8)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.net.*;
import flash.text.*;
import flash.utils.*;
import flash.geom.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class ag_intro_mc_8 extends MovieClip {
public var t;
public function ag_intro_mc_8(){
addFrameScript(0, frame1, 224, frame225);
}
function frame1(){
gotoAndPlay(2);
}
function frame225(){
stop();
t = this;
t.root.play();
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 6
//iDot_21 (the_I_of_It_Armor_640x400_final_fla.iDot_21)
package the_I_of_It_Armor_640x400_final_fla {
import flash.display.*;
public dynamic class iDot_21 extends MovieClip {
public var kol:MovieClip;
public function iDot_21(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 7
//intron1_31 (the_I_of_It_Armor_640x400_final_fla.intron1_31)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class intron1_31 extends MovieClip {
public var btScore:SimpleButton;
public var btArmor:SimpleButton;
public var btFB:SimpleButton;
public var bt:SimpleButton;
public var t;
public function intron1_31(){
addFrameScript(0, frame1, 404, frame405);
}
function frame1(){
stop();
t = this;
addEventListener(MouseEvent.CLICK, sg);
}
function frame405(){
stop();
Main.levl = 1;
Main.then = 1;
Main.dd = 1;
}
public function sg(_arg1:MouseEvent){
if (_arg1.target.name == "btArmor"){
navigateToURL(new URLRequest("http://armorgames.com"), "_blank");
};
if (_arg1.target.name == "btFB"){
navigateToURL(new URLRequest("http://www.facebook.com/ArmorGames"), "_blank");
};
if (_arg1.target.name == "btScore"){
t.root.setChildIndex(t.root.agi, (t.root.numChildren - 1));
t.root.agi.showScoreboardList([{format:"time", descending:false}]);
};
if (_arg1.target.name == "bt"){
removeEventListener(MouseEvent.CLICK, sg);
Main.starTime();
t.play();
};
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 8
//kol_3 (the_I_of_It_Armor_640x400_final_fla.kol_3)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.net.*;
import flash.text.*;
import flash.utils.*;
import flash.geom.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class kol_3 extends MovieClip {
public var t;
public function kol_3(){
addFrameScript(0, frame1);
}
function frame1(){
t = this;
t.visible = false;
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 9
//out1_22 (the_I_of_It_Armor_640x400_final_fla.out1_22)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class out1_22 extends MovieClip {
public var t;
public function out1_22(){
addFrameScript(149, frame150);
}
function frame150(){
Main.levl++;
Main.then = 1;
Main.dd = 1;
t = this;
t.parent.dd = 1;
stop();
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 10
//outroITmeet_23 (the_I_of_It_Armor_640x400_final_fla.outroITmeet_23)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class outroITmeet_23 extends MovieClip {
public var ms;
public var btArmor:SimpleButton;
public var bt:SimpleButton;
public var tim;
public var t;
public function outroITmeet_23(){
addFrameScript(323, frame324, 464, frame465, 494, frame495, 577, frame578);
}
function frame495(){
t = this;
t.root.setChildIndex(t.root.agi, (t.root.numChildren - 1));
ms = Main.geTime();
tim = Math.round((ms / 1000));
t.root.agi.showScoreboardSubmit(tim, null, null, [{format:"time", descending:false}]);
}
function frame324(){
Music.mus("level1", 0);
}
function frame578(){
stop();
addEventListener(MouseEvent.CLICK, sg);
stop();
}
public function sg(_arg1:MouseEvent){
if (_arg1.target.name == "btArmor"){
navigateToURL(new URLRequest("http://armorgames.com"), "_blank");
};
if (_arg1.target.name == "btFB"){
navigateToURL(new URLRequest("http://www.facebook.com/ArmorGames"), "_blank");
};
if (_arg1.target.name == "btScore"){
};
if (_arg1.target.name == "bt"){
removeEventListener(MouseEvent.CLICK, sg);
Main.levl = 0;
Main.dd = 1;
};
}
function frame465(){
Music.mus("titel", 0.9);
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 11
//outron1_19 (the_I_of_It_Armor_640x400_final_fla.outron1_19)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class outron1_19 extends MovieClip {
public var t;
public function outron1_19(){
addFrameScript(184, frame185);
}
function frame185(){
stop();
t = this;
t.parent.nextFrame();
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 12
//plat108_129 (the_I_of_It_Armor_640x400_final_fla.plat108_129)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class plat108_129 extends MovieClip {
public var dd;
public var t;
public var pl1:MovieClip;
public var pl1xx;
public var gnd:MovieClip;
public function plat108_129(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
if (pl1xx > 0){
pl1.gotoAndStop(1);
} else {
pl1.gotoAndStop(2);
};
var _local2:* = 0;
while (_local2 < 5) {
pl1.x = (pl1.x + pl1xx);
if (hitP()){
if (((((pl1.hitTestObject(t.parent.sprt1)) || (pl1.hitTestObject(t.parent.sprt2)))) || (pl1.hitTestObject(t.parent.sprt3)))){
if (_local2 < 111){
pl1.x = (pl1.x - pl1xx);
};
pl1.gotoAndStop(3);
break;
};
} else {
if (((((pl1.hitTestObject(t.parent.sprt1)) || (pl1.hitTestObject(t.parent.sprt2)))) || (pl1.hitTestObject(t.parent.sprt3)))){
t.parent.sprt1.x = (t.parent.sprt1.x + pl1xx);
t.parent.sprt2.x = (t.parent.sprt2.x + pl1xx);
t.parent.sprt3.x = (t.parent.sprt3.x + pl1xx);
};
};
_local2++;
};
if (pl1.x > 500){
pl1xx = -1;
};
if (pl1.x < 140){
pl1xx = 1;
};
}
public function hitP(){
var _local3:*;
var _local1:* = null;
var _local2:* = 0;
while (_local2 < t.numChildren) {
_local3 = t.getChildAt(_local2);
if (_local3.name != "pl1"){
if (((((_local3.hitTestObject(t.parent.sprt1)) || (_local3.hitTestObject(t.parent.sprt2)))) || (_local3.hitTestObject(t.parent.sprt3)))){
_local1 = 1;
};
};
_local2++;
};
return (_local1);
}
function frame1(){
t = this;
dd = 0;
pl1xx = -1;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 13
//plat110_131 (the_I_of_It_Armor_640x400_final_fla.plat110_131)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class plat110_131 extends MovieClip {
public var dd;
public var t;
public var pl1:MovieClip;
public var pl2:MovieClip;
public var plts;
public function plat110_131(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
plata();
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
public function hitP(_arg1){
var _local4:*;
var _local2:* = null;
var _local3:* = 0;
while (_local3 < t.numChildren) {
_local4 = t.getChildAt(_local3);
if (_local4 != _arg1){
if (((((_local4.hitTestObject(t.parent.sprt1)) || (_local4.hitTestObject(t.parent.sprt2)))) || (_local4.hitTestObject(t.parent.sprt3)))){
_local2 = 1;
};
};
_local3++;
};
return (_local2);
}
function frame1(){
t = this;
dd = 0;
pl1.xx = 1;
pl1.xmax = 280;
pl1.xmin = 100;
pl2.xx = -1;
pl2.xmax = 540;
pl2.xmin = 360;
plts = new Array(pl1, pl2);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function plata(){
var _local2:*;
var _local3:*;
var _local1:* = 0;
while (_local1 < plts.length) {
_local2 = plts[_local1];
if (_local2.xx > 0){
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
};
_local3 = 0;
while (_local3 < 5) {
_local2.x = (_local2.x + _local2.xx);
if (hitP(_local2)){
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
if (_local3 < 111){
_local2.x = (_local2.x - _local2.xx);
};
_local2.gotoAndStop(3);
break;
};
} else {
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
t.parent.sprt1.x = (t.parent.sprt1.x + _local2.xx);
t.parent.sprt2.x = (t.parent.sprt2.x + _local2.xx);
t.parent.sprt3.x = (t.parent.sprt3.x + _local2.xx);
};
};
_local3++;
};
if (_local2.x > _local2.xmax){
_local2.xx = -1;
};
if (_local2.x < _local2.xmin){
_local2.xx = 1;
};
_local1++;
};
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 14
//plat112_139 (the_I_of_It_Armor_640x400_final_fla.plat112_139)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class plat112_139 extends MovieClip {
public var dd;
public var t;
public var pl1:MovieClip;
public var pl2:MovieClip;
public var plts;
public function plat112_139(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
plata();
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
public function hitP(_arg1){
var _local4:*;
var _local2:* = null;
var _local3:* = 0;
while (_local3 < t.numChildren) {
_local4 = t.getChildAt(_local3);
if (_local4 != _arg1){
if (((((_local4.hitTestObject(t.parent.sprt1)) || (_local4.hitTestObject(t.parent.sprt2)))) || (_local4.hitTestObject(t.parent.sprt3)))){
_local2 = 1;
};
};
_local3++;
};
return (_local2);
}
function frame1(){
t = this;
dd = 0;
pl1.xx = 1;
pl1.xmax = 410;
pl1.xmin = 280;
pl2.xx = -1;
pl2.xmax = 620;
pl2.xmin = 490;
plts = new Array(pl1, pl2);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function plata(){
var _local2:*;
var _local3:*;
var _local1:* = 0;
while (_local1 < plts.length) {
_local2 = plts[_local1];
if (_local2.xx > 0){
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
};
_local3 = 0;
while (_local3 < 5) {
_local2.x = (_local2.x + _local2.xx);
if (hitP(_local2)){
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
if (_local3 < 111){
_local2.x = (_local2.x - _local2.xx);
};
_local2.gotoAndStop(3);
break;
};
} else {
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
t.parent.sprt1.x = (t.parent.sprt1.x + _local2.xx);
t.parent.sprt2.x = (t.parent.sprt2.x + _local2.xx);
t.parent.sprt3.x = (t.parent.sprt3.x + _local2.xx);
};
};
_local3++;
};
if (_local2.x > _local2.xmax){
_local2.xx = -1;
};
if (_local2.x < _local2.xmin){
_local2.xx = 1;
};
_local1++;
};
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 15
//plat113_147 (the_I_of_It_Armor_640x400_final_fla.plat113_147)
package the_I_of_It_Armor_640x400_final_fla {
import flash.display.*;
public dynamic class plat113_147 extends MovieClip {
public function plat113_147(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 16
//plat116_142 (the_I_of_It_Armor_640x400_final_fla.plat116_142)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class plat116_142 extends MovieClip {
public var dd;
public var t;
public var pl1:MovieClip;
public var plts;
public function plat116_142(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
plata();
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
function frame1(){
t = this;
dd = 0;
pl1.xx = -1;
pl1.xmax = 720;
pl1.xmin = 200;
plts = new Array(pl1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function plata(){
var _local2:*;
var _local3:*;
var _local1:* = 0;
while (_local1 < plts.length) {
_local2 = plts[_local1];
if (_local2.xx > 0){
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
};
_local3 = 0;
while (_local3 < 5) {
_local2.x = (_local2.x + _local2.xx);
if (hitP(_local2)){
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
if (_local3 < 111){
_local2.x = (_local2.x - _local2.xx);
};
_local2.gotoAndStop(3);
break;
};
} else {
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
t.parent.sprt1.x = (t.parent.sprt1.x + _local2.xx);
t.parent.sprt2.x = (t.parent.sprt2.x + _local2.xx);
t.parent.sprt3.x = (t.parent.sprt3.x + _local2.xx);
};
};
_local3++;
};
if (_local2.x > _local2.xmax){
_local2.xx = -1;
};
if (_local2.x < _local2.xmin){
_local2.xx = 1;
};
_local1++;
};
}
public function hitP(_arg1){
var _local4:*;
var _local2:* = null;
var _local3:* = 0;
while (_local3 < t.numChildren) {
_local4 = t.getChildAt(_local3);
if (_local4 != _arg1){
if (((((_local4.hitTestObject(t.parent.sprt1)) || (_local4.hitTestObject(t.parent.sprt2)))) || (_local4.hitTestObject(t.parent.sprt3)))){
_local2 = 1;
};
};
_local3++;
};
return (_local2);
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 17
//plat119_152 (the_I_of_It_Armor_640x400_final_fla.plat119_152)
package the_I_of_It_Armor_640x400_final_fla {
import flash.display.*;
public dynamic class plat119_152 extends MovieClip {
public var door1End:MovieClip;
public var door1:MovieClip;
public function plat119_152(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 18
//plat126_119 (the_I_of_It_Armor_640x400_final_fla.plat126_119)
package the_I_of_It_Armor_640x400_final_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class plat126_119 extends MovieClip {
public var dd;
public var t;
public var pl1:MovieClip;
public var plts;
public function plat126_119(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
plata();
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
function frame1(){
t = this;
dd = 0;
pl1.xx = 1;
pl1.xmax = 720;
pl1.xmin = 560;
plts = new Array(pl1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function plata(){
var _local2:*;
var _local3:*;
var _local1:* = 0;
while (_local1 < plts.length) {
_local2 = plts[_local1];
if (_local2.xx > 0){
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
};
_local3 = 0;
while (_local3 < 5) {
_local2.x = (_local2.x + _local2.xx);
if (hitP(_local2)){
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
if (_local3 < 111){
_local2.x = (_local2.x - _local2.xx);
};
_local2.gotoAndStop(3);
break;
};
} else {
if (((((_local2.hitTestObject(t.parent.sprt1)) || (_local2.hitTestObject(t.parent.sprt2)))) || (_local2.hitTestObject(t.parent.sprt3)))){
t.parent.sprt1.x = (t.parent.sprt1.x + _local2.xx);
t.parent.sprt2.x = (t.parent.sprt2.x + _local2.xx);
t.parent.sprt3.x = (t.parent.sprt3.x + _local2.xx);
};
};
_local3++;
};
if (_local2.x > _local2.xmax){
_local2.xx = -1;
};
if (_local2.x < _local2.xmin){
_local2.xx = 1;
};
_local1++;
};
}
public function hitP(_arg1){
var _local4:*;
var _local2:* = null;
var _local3:* = 0;
while (_local3 < t.numChildren) {
_local4 = t.getChildAt(_local3);
if (_local4 != _arg1){
if (((((_local4.hitTestObject(t.parent.sprt1)) || (_local4.hitTestObject(t.parent.sprt2)))) || (_local4.hitTestObject(t.parent.sprt3)))){
_local2 = 1;
};
};
_local3++;
};
return (_local2);
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 19
//theX1_71 (the_I_of_It_Armor_640x400_final_fla.theX1_71)
package the_I_of_It_Armor_640x400_final_fla {
import flash.display.*;
public dynamic class theX1_71 extends MovieClip {
public function theX1_71(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package the_I_of_It_Armor_640x400_final_fla
Section 20
//afewsecondslater (afewsecondslater)
package {
import flash.media.*;
public dynamic class afewsecondslater extends Sound {
}
}//package
Section 21
//allatonce (allatonce)
package {
import flash.media.*;
public dynamic class allatonce extends Sound {
}
}//package
Section 22
//andilearnedabit (andilearnedabit)
package {
import flash.media.*;
public dynamic class andilearnedabit extends Sound {
}
}//package
Section 23
//anothertry (anothertry)
package {
import flash.media.*;
public dynamic class anothertry extends Sound {
}
}//package
Section 24
//boom (boom)
package {
import flash.media.*;
public dynamic class boom extends Sound {
}
}//package
Section 25
//chinup (chinup)
package {
import flash.media.*;
public dynamic class chinup extends Sound {
}
}//package
Section 26
//clickdooropen (clickdooropen)
package {
import flash.media.*;
public dynamic class clickdooropen extends Sound {
}
}//package
Section 27
//clickelevatordown (clickelevatordown)
package {
import flash.media.*;
public dynamic class clickelevatordown extends Sound {
}
}//package
Section 28
//clickelevatorup (clickelevatorup)
package {
import flash.media.*;
public dynamic class clickelevatorup extends Sound {
}
}//package
Section 29
//clickgravityoff (clickgravityoff)
package {
import flash.media.*;
public dynamic class clickgravityoff extends Sound {
}
}//package
Section 30
//clickgravityon (clickgravityon)
package {
import flash.media.*;
public dynamic class clickgravityon extends Sound {
}
}//package
Section 31
//dartMC1 (dartMC1)
package {
import flash.display.*;
public dynamic class dartMC1 extends MovieClip {
public function dartMC1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 32
//donttouchspikes (donttouchspikes)
package {
import flash.media.*;
public dynamic class donttouchspikes extends Sound {
}
}//package
Section 33
//explo1 (explo1)
package {
import flash.display.*;
public dynamic class explo1 extends MovieClip {
public function explo1(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
}
}
}//package
Section 34
//fahrstuhl2 (fahrstuhl2)
package {
import flash.media.*;
public dynamic class fahrstuhl2 extends Sound {
}
}//package
Section 35
//fluteDown (fluteDown)
package {
import flash.media.*;
public dynamic class fluteDown extends Sound {
}
}//package
Section 36
//fluteUp (fluteUp)
package {
import flash.media.*;
public dynamic class fluteUp extends Sound {
}
}//package
Section 37
//flyingbombs (flyingbombs)
package {
import flash.media.*;
public dynamic class flyingbombs extends Sound {
}
}//package
Section 38
//great (great)
package {
import flash.media.*;
public dynamic class great extends Sound {
}
}//package
Section 39
//hitmebabyonemoretime (hitmebabyonemoretime)
package {
import flash.media.*;
public dynamic class hitmebabyonemoretime extends Sound {
}
}//package
Section 40
//hmmm (hmmm)
package {
import flash.media.*;
public dynamic class hmmm extends Sound {
}
}//package
Section 41
//hugplatform (hugplatform)
package {
import flash.media.*;
public dynamic class hugplatform extends Sound {
}
}//package
Section 42
//icameoutbuilding (icameoutbuilding)
package {
import flash.media.*;
public dynamic class icameoutbuilding extends Sound {
}
}//package
Section 43
//igrabbedballoon (igrabbedballoon)
package {
import flash.media.*;
public dynamic class igrabbedballoon extends Sound {
}
}//package
Section 44
//insky (insky)
package {
import flash.media.*;
public dynamic class insky extends Sound {
}
}//package
Section 45
//introMC (introMC)
package {
import Plugs.*;
import flash.display.*;
public dynamic class introMC extends MovieClip {
public var txt:MovieClip;
public var gto;
public function introMC(){
addFrameScript(118, frame119, 119, frame120, 122, frame123, 156, frame157);
}
function frame120(){
stop();
}
function frame123(){
gto = 0;
if (Main.levl == 5){
gto = 2;
} else {
gto = 1;
};
txt.gotoAndStop(gto);
}
function frame157(){
stop();
Main.then = 0;
Main.dd = 1;
}
function frame119(){
stop();
Music.mus("titel", 0.8);
}
}
}//package
Section 46
//later (later)
package {
import flash.media.*;
public dynamic class later extends Sound {
}
}//package
Section 47
//letsgo (letsgo)
package {
import flash.media.*;
public dynamic class letsgo extends Sound {
}
}//package
Section 48
//level1 (level1)
package {
import flash.media.*;
public dynamic class level1 extends Sound {
}
}//package
Section 49
//level101 (level101)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level101 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public var xo;
public var tut:MovieClip;
public var t;
public function level101(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (tut.x != xo){
tut.x = (tut.x + Math.ceil(((xo - tut.x) / 8)));
if ((tut.x - xo) < 1){
tut.x = xo;
};
};
if ((((sprt1.x > 280)) || ((tut.alpha < 1)))){
tut.alpha = (tut.alpha - 0.1);
if (tut.alpha < 0){
tut.visible = false;
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
function frame1(){
t = this;
xo = tut.x;
tut.x = (tut.x + 300);
tut.cacheAsBitmap = true;
t.addEventListener(Event.ENTER_FRAME, cd);
Music.snd("timetomove", 1);
}
}
}//package
Section 50
//level102 (level102)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level102 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public var xo;
public var tut:MovieClip;
public var t;
public function level102(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (tut.x != xo){
tut.x = (tut.x + Math.ceil(((xo - tut.x) / 8)));
if ((tut.x - xo) < 1){
tut.x = xo;
};
};
if ((((sprt1.x > 280)) || ((tut.alpha < 1)))){
tut.alpha = (tut.alpha - 0.1);
if (tut.alpha < 0){
tut.visible = false;
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
function frame1(){
t = this;
xo = tut.x;
tut.x = (tut.x + 300);
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 51
//level103 (level103)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level103 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public var xo;
public var tut:MovieClip;
public var t;
public function level103(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (tut.x != xo){
tut.x = (tut.x + Math.ceil(((xo - tut.x) / 8)));
if ((tut.x - xo) < 1){
tut.x = xo;
};
};
if ((((sprt1.x > 280)) || ((tut.alpha < 1)))){
tut.alpha = (tut.alpha - 0.1);
if (tut.alpha < 0){
tut.visible = false;
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
function frame1(){
t = this;
xo = tut.x;
tut.x = (tut.x + 300);
t.addEventListener(Event.ENTER_FRAME, cd);
Music.snd("chinup", 1);
}
}
}//package
Section 52
//level104 (level104)
package {
import flash.display.*;
import Plugs.*;
public dynamic class level104 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public function level104(){
addFrameScript(0, frame1);
}
function frame1(){
Music.snd("andilearnedabit", 1);
}
}
}//package
Section 53
//level105 (level105)
package {
import flash.display.*;
public dynamic class level105 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public function level105(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 54
//level106 (level106)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level106 extends MovieClip {
public var door1open;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var btn1:MovieClip;
public var plat:MovieClip;
public var t;
public function level106(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!door1open){
if (((((btn1.hitTestObject(sprt1)) || (btn1.hitTestObject(sprt2)))) || (btn1.hitTestObject(sprt3)))){
btn1.y = (btn1.y - 15);
door1open = 1;
Music.snd("clickdooropen", 1);
};
};
if (door1open){
plat.door1.y = (plat.door1.y - 2);
if (plat.door1.y < plat.door1End.y){
(plat.door1.y == plat.door1End.y);
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
function frame1(){
t = this;
door1open = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 55
//level107 (level107)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level107 extends MovieClip {
public var dd;
public var warn:MovieClip;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var ene1:MovieClip;
public var enexo;
public var t;
public function level107(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
if (!dd){
if (ene1.hitTestObject(warn)){
warn.visible = false;
};
ene1.x = (ene1.x - 5);
ene1.bg.rotation = (ene1.bg.rotation - 5);
if (-180 > ene1.x){
ene1.x = -180;
};
if (((((ene1.ene1.hitTestObject(sprt1)) || (ene1.ene1.hitTestObject(sprt2)))) || (ene1.ene1.hitTestObject(sprt3)))){
sprt1.dd = 1;
ene1.visible = false;
spawnExplo(ene1.x, ene1.y, 60, 16);
Music.snd("boom", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
public function spawnExplo(_arg1, _arg2, _arg3, _arg4){
var _local6:*;
var _local5:* = 0;
while (_local5 < _arg4) {
_local6 = new explo1();
_local6.rotation = (Math.random() * 360);
_local6.gotoAndPlay(int(((Math.random() * 8) + 1)));
_local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.5));
_local6.x = ((_arg1 + (Math.random() * _arg3)) - (_arg3 / 2));
_local6.y = ((_arg2 + (Math.random() * _arg3)) - (_arg3 / 2));
t.addChild(_local6);
_local5++;
};
}
function frame1(){
t = this;
dd = 0;
enexo = ene1.x;
Music.snd("flyingbombs", 1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 56
//level108 (level108)
package {
import flash.display.*;
public dynamic class level108 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
}
}//package
Section 57
//level109 (level109)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level109 extends MovieClip {
public var dd;
public var warn:MovieClip;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var ene1:MovieClip;
public var enexo;
public var t;
public function level109(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
if (!dd){
if (ene1.hitTestObject(warn)){
warn.visible = false;
warn.gotoAndPlay(1);
};
ene1.x = (ene1.x - 5);
ene1.bg.rotation = (ene1.bg.rotation - 5);
if (-100 > ene1.x){
ene1.x = enexo;
warn.visible = true;
};
if (((((ene1.ene1.hitTestObject(sprt1)) || (ene1.ene1.hitTestObject(sprt2)))) || (ene1.ene1.hitTestObject(sprt3)))){
sprt1.dd = 1;
ene1.visible = false;
spawnExplo(ene1.x, ene1.y, 60, 16);
warn.visible = false;
Music.snd("boom", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
public function spawnExplo(_arg1, _arg2, _arg3, _arg4){
var _local6:*;
var _local5:* = 0;
while (_local5 < _arg4) {
_local6 = new explo1();
_local6.rotation = (Math.random() * 360);
_local6.gotoAndPlay(int(((Math.random() * 8) + 1)));
_local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.5));
_local6.x = ((_arg1 + (Math.random() * _arg3)) - (_arg3 / 2));
_local6.y = ((_arg2 + (Math.random() * _arg3)) - (_arg3 / 2));
t.addChild(_local6);
_local5++;
};
}
function frame1(){
t = this;
dd = 0;
enexo = ene1.x;
Music.snd("thenextone", 1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 58
//level110 (level110)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level110 extends MovieClip {
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var btn1:MovieClip;
public var elev1;
public var ele1:MovieClip;
public var t;
public function level110(){
addFrameScript(0, frame1);
}
function frame1(){
t = this;
elev1 = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
if (!elev1){
if (((((btn1.hitTestObject(sprt1)) || (btn1.hitTestObject(sprt2)))) || (btn1.hitTestObject(sprt3)))){
btn1.y = (btn1.y - 6);
elev1 = 1;
plat.lim.y = 270;
Music.snd("clickelevatorup", 1);
Music.mus("fahrstuhl2", 0.4);
};
};
if (elev1){
plat.e1.y = (plat.e1.y - 1);
plat.e2.y = (plat.e2.y - 1);
plat.e3.y = (plat.e3.y - 1);
ele1.y = (ele1.y - 1);
btn1.y = (btn1.y - 1);
if (plat.e2.y <= 40){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
}
}//package
Section 59
//level111 (level111)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level111 extends MovieClip {
public var dd;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var plat:MovieClip;
public var spike6:MovieClip;
public var spike7:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var spike5:MovieClip;
public var spike8:MovieClip;
public var spike9:MovieClip;
public var t;
public var spike10:MovieClip;
public function level111(){
addFrameScript(0, frame1);
}
function frame1(){
t = this;
dd = 0;
Music.snd("donttouchspikes", 1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 20) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
dd = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
}
}//package
Section 60
//level112 (level112)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level112 extends MovieClip {
public var dd;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt3:MovieClip;
public var spike5:MovieClip;
public var sprt2:MovieClip;
public var t;
public function level112(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 10) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
dd = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
function frame1(){
t = this;
dd = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 61
//level113 (level113)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level113 extends MovieClip {
public var gravDSP:MovieClip;
public var door1open;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var btn1:MovieClip;
public var t;
public function level113(){
addFrameScript(0, frame1);
}
function frame1(){
t = this;
door1open = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
if (!door1open){
if (((((btn1.hitTestObject(sprt1)) || (btn1.hitTestObject(sprt2)))) || (btn1.hitTestObject(sprt3)))){
btn1.y = (btn1.y + 15);
door1open = 1;
sprt1.gr = 1;
gravDSP.arw.scaleY = -1;
Music.snd("clickgravityoff", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
}
}//package
Section 62
//level114 (level114)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level114 extends MovieClip {
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public function level114(){
addFrameScript(0, frame1);
}
function frame1(){
sprt1.gr = 1;
}
}
}//package
Section 63
//level115 (level115)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level115 extends MovieClip {
public var dd;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var plat:MovieClip;
public var spike6:MovieClip;
public var spike7:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var spike5:MovieClip;
public var spike8:MovieClip;
public var spike9:MovieClip;
public var t;
public var spike10:MovieClip;
public function level115(){
addFrameScript(0, frame1);
}
function frame1(){
sprt1.gr = 1;
t = this;
dd = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 16) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
Music.snd("ouch", 1);
dd = 1;
t.removeEventListener(Event.ENTER_FRAME, cd);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
}
}//package
Section 64
//level116 (level116)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level116 extends MovieClip {
public var dd;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var plat:MovieClip;
public var spike6:MovieClip;
public var spike7:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var spike5:MovieClip;
public var spike8:MovieClip;
public var spike9:MovieClip;
public var t;
public var spike10:MovieClip;
public function level116(){
addFrameScript(0, frame1);
}
function frame1(){
sprt1.gr = 1;
t = this;
dd = 0;
Music.snd("hugplatform", 1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 20) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
}
}//package
Section 65
//level117 (level117)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level117 extends MovieClip {
public var dd;
public var warn:MovieClip;
public var step;
public var ene1:MovieClip;
public var enexo;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var eneyo;
public var t;
public function level117(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
if (!dd){
if (ene1.hitTestObject(warn)){
warn.visible = false;
warn.gotoAndPlay(1);
};
ene1.x = (ene1.x + ene1.xx);
ene1.bg.rotation = (ene1.bg.rotation + ene1.xx);
if ((((step == 2)) && ((-200 > ene1.x)))){
ene1.xx = (ene1.xx * -1);
ene1.y = (ene1.y - 120);
warn.visible = false;
step = 3;
};
if ((((step == 1)) && ((ene1.x > 840)))){
ene1.xx = (ene1.xx * -1);
ene1.y = (ene1.y - 120);
warn.visible = false;
step = 2;
};
if ((((step == 3)) && ((ene1.x > 840)))){
ene1.x = enexo;
ene1.y = eneyo;
warn.visible = true;
step = 1;
};
if (((((ene1.ene1.hitTestObject(sprt1)) || (ene1.ene1.hitTestObject(sprt2)))) || (ene1.ene1.hitTestObject(sprt3)))){
sprt1.dd = 1;
ene1.visible = false;
spawnExplo(ene1.x, ene1.y, 60, 16);
Music.snd("boom", 1);
warn.visible = false;
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
public function spawnExplo(_arg1, _arg2, _arg3, _arg4){
var _local6:*;
var _local5:* = 0;
while (_local5 < _arg4) {
_local6 = new explo1();
_local6.rotation = (Math.random() * 360);
_local6.gotoAndPlay(int(((Math.random() * 8) + 1)));
_local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.5));
_local6.x = ((_arg1 + (Math.random() * _arg3)) - (_arg3 / 2));
_local6.y = ((_arg2 + (Math.random() * _arg3)) - (_arg3 / 2));
t.addChild(_local6);
_local5++;
};
}
function frame1(){
sprt1.gr = 1;
t = this;
dd = 0;
enexo = ene1.x;
eneyo = ene1.y;
ene1.xx = 5;
step = 1;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 66
//level118 (level118)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level118 extends MovieClip {
public var dd;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var plat:MovieClip;
public var spike6:MovieClip;
public var spike7:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var spike5:MovieClip;
public var spike8:MovieClip;
public var spike9:MovieClip;
public var t;
public var spike10:MovieClip;
public function level118(){
addFrameScript(0, frame1);
}
function frame1(){
sprt1.gr = 1;
t = this;
dd = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 16) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cd);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
}
}//package
Section 67
//level119 (level119)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level119 extends MovieClip {
public var dd;
public var gravDSP:MovieClip;
public var door1open;
public var btn1:MovieClip;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var t;
public function level119(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!door1open){
if (((((btn1.hitTestObject(sprt1)) || (btn1.hitTestObject(sprt2)))) || (btn1.hitTestObject(sprt3)))){
btn1.y = (btn1.y - 15);
door1open = 1;
sprt1.gr = 0;
gravDSP.arw.scaleY = 1;
Music.snd("clickgravityon", 1);
};
};
if (door1open){
plat.door1.y = (plat.door1.y - 2);
if (plat.door1.y < plat.door1End.y){
(plat.door1.y == plat.door1End.y);
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
public function cdn2(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 16) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cdn2);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cdn2);
};
}
function frame1(){
sprt1.gr = 1;
t = this;
door1open = 0;
gravDSP.arw.scaleY = -1;
t.addEventListener(Event.ENTER_FRAME, cd);
dd = 0;
t.addEventListener(Event.ENTER_FRAME, cdn2);
}
}
}//package
Section 68
//level120 (level120)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level120 extends MovieClip {
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var btn1:MovieClip;
public var elev1;
public var ele1:MovieClip;
public var t;
public function level120(){
addFrameScript(0, frame1);
}
function frame1(){
t = this;
elev1 = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
if (!elev1){
if (((((btn1.hitTestObject(sprt1)) || (btn1.hitTestObject(sprt2)))) || (btn1.hitTestObject(sprt3)))){
btn1.y = (btn1.y - 6);
elev1 = 1;
plat.lim.y = 30;
Music.snd("clickelevatordown", 1);
Music.mus("fahrstuhl2", 0.4);
};
};
if (elev1){
sprt1.y = (sprt1.y + 1);
sprt2.y = (sprt2.y + 1);
sprt3.y = (sprt3.y + 1);
plat.e1.y = (plat.e1.y + 1);
plat.e2.y = (plat.e2.y + 1);
plat.e3.y = (plat.e3.y + 1);
ele1.y = (ele1.y + 1);
btn1.y = (btn1.y + 1);
if (plat.e1.y >= 360){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
}
}//package
Section 69
//level121 (level121)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level121 extends MovieClip {
public var door1open;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var plat:MovieClip;
public var yyy;
public var t;
public function level121(){
addFrameScript(0, frame1);
}
function frame1(){
t = this;
door1open = 0;
yyy = -10;
Music.snd("icameoutbuilding", 1);
t.addEventListener(Event.ENTER_FRAME, cd);
}
public function cd(_arg1){
if (!door1open){
if (sprt3.y < 70){
door1open = 1;
};
};
if (door1open){
plat.door1.y = (plat.door1.y - 2);
plat.d2.y = (plat.d2.y - yyy);
yyy = (yyy + 1);
if (plat.door1.y < plat.door1End.y){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
}
}//package
Section 70
//level122 (level122)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level122 extends MovieClip {
public var bloon:MovieClip;
public var theX:MovieClip;
public var step;
public var door1open;
public var si;
public var yyy;
public var plat:MovieClip;
public var sprt3:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var t;
public function level122(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (step < 3){
bloon.y = (140 + (Math.sin(si) * 10));
si = (si + 0.1);
if (theX.hitTestObject(sprt3)){
theX.gotoAndStop(2);
step = 2;
};
};
if (step == 2){
if (bloon.kol.hitTestObject(sprt3)){
step = 3;
};
};
if (step == 3){
bloon.x = sprt3.x;
bloon.y = sprt3.y;
if (theX.hitTestObject(sprt3)){
step = 4;
Music.snd("thexwashappy", 1);
bloon.visible = false;
};
};
if (step == 4){
theX.gotoAndStop(4);
theX.x = (theX.x + 5);
if (theX.x > 800){
plat.door1.x = 800;
t.removeEventListener(Event.ENTER_FRAME, cd);
};
};
}
function frame1(){
t = this;
door1open = 0;
yyy = -10;
si = 0;
plat.door1.visible = false;
step = 1;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 71
//level123 (level123)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level123 extends MovieClip {
public var dn;
public var step;
public var door1open;
public var tut:MovieClip;
public var si;
public var yyy;
public var loose;
public var tgtY;
public var dartShoot;
public var tgt:MovieClip;
public var gn;
public var dartGrab;
public var spd;
public var plat:MovieClip;
public var ct;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var drt;
public var sprt1:MovieClip;
public var t;
public var tut2:MovieClip;
public function level123(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
var _local2:*;
if (((!(dartGrab)) && ((dn < 7)))){
_local2 = plat[("dart" + dn)];
if (_local2.hitTestObject(sprt3)){
drt = _local2;
t.addChild(drt);
dartGrab = 1;
dn = (dn + 1);
};
};
if (dartGrab == 1){
drt.x = (sprt3.x + 70);
drt.y = (sprt3.y - 25);
if (sprt1.hitTestObject(plat.door1)){
if (dn < 3){
if (!tut.visible){
tut.gotoAndPlay(1);
};
tut.visible = true;
};
if (Input.kkode[32] == 1){
dartGrab = 2;
dartShoot = 1;
tut.visible = false;
Music.snd("peow", 1);
};
};
};
if (dartShoot){
drt.x = (drt.x + 10);
if (drt.x > 770){
dartShoot = 0;
dartGrab = 0;
loose++;
};
if (tgt.kol.hitTestPoint(drt.x, drt.y, true)){
Music.snd("tock", 1);
gn++;
spd = (spd * 2);
tgtY = (180 + ((Math.random() * 240) - 120));
dartShoot = 0;
dartGrab = 0;
drt.x = 0;
drt.y = (drt.y - tgt.y);
tgt.addChild(drt);
drt.gotoAndStop(2);
};
};
if ((((gn > 2)) && (((gn + loose) < 6)))){
tgtY = (180 + (Math.sin(si) * 120));
si = (si + spd);
};
tgt.y = (tgt.y + ((tgtY - tgt.y) / 8));
if (loose > 1){
dn = 7;
};
if (((!(dartGrab)) && ((dn > 6)))){
if (gn > 4){
tgtY = (tgtY - 10);
plat.door1.y = (plat.door1.y + 1);
if (plat.door1.y > 440){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
} else {
if (!tut2.visible){
tut2.gotoAndPlay(1);
};
tut2.visible = true;
ct++;
if (ct > 120){
t.removeEventListener(Event.ENTER_FRAME, cd);
Main.dd = 1;
};
};
};
}
function frame1(){
t = this;
door1open = 0;
yyy = -10;
si = 0;
plat.door1.visible = true;
tut.visible = false;
tut2.visible = false;
ct = 0;
loose = 0;
dn = 1;
dartGrab = 0;
dartShoot = 0;
gn = 0;
step = 1;
spd = 0.005;
tgtY = 200;
drt = null;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 72
//level124 (level124)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level124 extends MovieClip {
public var bb:MovieClip;
public var bl:MovieClip;
public var step;
public var door1open;
public var dn;
public var buzz:MovieClip;
public var si;
public var rot;
public var yyy;
public var loose;
public var tgtY;
public var dartShoot;
public var gn;
public var dartGrab;
public var spd;
public var plat:MovieClip;
public var ct;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var t;
public var drt;
public var yy;
public var sprt3:MovieClip;
public function level124(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (!dartGrab){
if (sprt3.hitTestPoint(buzz.x, buzz.y, true)){
dartGrab = 1;
};
};
if (dartGrab == 1){
if (plat.door1.y < 700){
plat.door1.y = (plat.door1.y + 1);
};
buzz.x = sprt3.x;
buzz.y = sprt3.y;
};
bb.x = (buzz.x + buzz.kol.x);
bb.y = (buzz.y + buzz.kol.y);
if (((!((dartGrab == 9))) && (bl.hitTestPoint((buzz.x + buzz.kol.x), (buzz.y + buzz.kol.y), true)))){
dartGrab = 9;
sprt1.dd = 1;
Music.snd("ouch", 1);
};
if (dartGrab == 9){
buzz.y = (buzz.y + yy);
yy = (yy + 1);
buzz.rotation = (buzz.rotation + rot);
};
}
function frame1(){
t = this;
door1open = 0;
yyy = -10;
si = 0;
ct = 0;
loose = 0;
dn = 1;
dartGrab = 0;
dartShoot = 0;
gn = 0;
step = 1;
spd = 0.005;
tgtY = 200;
drt = null;
yy = -10;
rot = ((Math.random() * 4) - 2);
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 73
//level125 (level125)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level125 extends MovieClip {
public var yy;
public var enl:MovieClip;
public var t;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var shrnk:MovieClip;
public var sprt3:MovieClip;
public function level125(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (sprt1.hitTestObject(enl)){
sprt1.enl = 1;
} else {
sprt1.enl = 0;
};
if (sprt1.hitTestObject(shrnk)){
sprt1.shrnk = 1;
} else {
sprt1.shrnk = 0;
};
}
function frame1(){
t = this;
yy = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 74
//level126 (level126)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level126 extends MovieClip {
public var dd;
public var sprt3:MovieClip;
public var yy;
public var enl:MovieClip;
public var spike1:MovieClip;
public var spike2:MovieClip;
public var spike3:MovieClip;
public var spike4:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var plat:MovieClip;
public var shrnk:MovieClip;
public var t;
public function level126(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (sprt1.hitTestObject(enl)){
sprt1.enl = 1;
} else {
sprt1.enl = 0;
};
if (sprt1.hitTestObject(shrnk)){
sprt1.shrnk = 1;
} else {
sprt1.shrnk = 0;
};
}
public function cdn2(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 16) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cdn2);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cdn2);
};
}
function frame1(){
dd = 0;
t = this;
t.addEventListener(Event.ENTER_FRAME, cdn2);
yy = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 75
//level127 (level127)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level127 extends MovieClip {
public var bloon:MovieClip;
public var door1open;
public var step;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var t;
public var plat:MovieClip;
public var yyy;
public var sprt3:MovieClip;
public var si;
public function level127(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (step == 1){
bloon.y = (180 + (Math.sin(si) * 10));
si = (si + 0.1);
if (bloon.kol.hitTestObject(sprt3)){
step = 2;
sprt1.gr = 1;
sprt1.gr2 = 1;
Music.snd("igrabbedballoon", 1);
};
};
if (step == 2){
bloon.x = sprt3.x;
bloon.y = sprt3.y;
if (sprt1.y < 0){
t.removeEventListener(Event.ENTER_FRAME, cd);
Main.then = 1;
Main.levl++;
Main.dd = 1;
};
};
}
function frame1(){
t = this;
door1open = 0;
yyy = -10;
si = 0;
step = 1;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 76
//level128 (level128)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level128 extends MovieClip {
public var dd;
public var eneyo;
public var bloon:MovieClip;
public var warn:MovieClip;
public var door1open;
public var ene1:MovieClip;
public var bx;
public var by;
public var yyy;
public var step;
public var si;
public var enexo;
public var step2;
public var plat:MovieClip;
public var sprt2:MovieClip;
public var sprt3:MovieClip;
public var sprt1:MovieClip;
public var t;
public function level128(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (step2 == 1){
bloon.y = (by + (Math.sin(si) * 10));
si = (si + 0.1);
};
if (step2 == 2){
bloon.x = sprt3.x;
bloon.y = (by = sprt3.y);
if (sprt1.y < 0){
t.removeEventListener(Event.ENTER_FRAME, cd);
Main.then = 1;
Main.levl++;
Main.dd = 1;
};
};
}
public function spawnExplo(_arg1, _arg2, _arg3, _arg4){
var _local6:*;
var _local5:* = 0;
while (_local5 < _arg4) {
_local6 = new explo1();
_local6.rotation = (Math.random() * 360);
_local6.gotoAndPlay(int(((Math.random() * 8) + 1)));
_local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.5));
_local6.x = ((_arg1 + (Math.random() * _arg3)) - (_arg3 / 2));
_local6.y = ((_arg2 + (Math.random() * _arg3)) - (_arg3 / 2));
t.addChild(_local6);
_local5++;
};
}
public function cd2(_arg1){
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd2);
};
if (!dd){
if (ene1.hitTestObject(warn)){
warn.visible = false;
warn.gotoAndPlay(1);
};
ene1.x = (ene1.x + ene1.xx);
ene1.bg.rotation = (ene1.bg.rotation + ene1.xx);
if ((((step == 2)) && ((-100 > ene1.x)))){
ene1.xx = (ene1.xx * -1);
ene1.y = (ene1.y - 120);
warn.visible = false;
step = 3;
};
if ((((step == 1)) && ((ene1.x > 740)))){
ene1.xx = (ene1.xx * -1);
ene1.y = (ene1.y - 120);
warn.visible = false;
step = 2;
};
if ((((step == 3)) && ((ene1.x > 740)))){
ene1.x = enexo;
ene1.y = eneyo;
warn.visible = true;
step = 1;
};
if (((((ene1.ene1.hitTestObject(sprt1)) || (ene1.ene1.hitTestObject(sprt2)))) || (ene1.ene1.hitTestObject(sprt3)))){
sprt1.dd = 1;
ene1.visible = false;
spawnExplo(ene1.x, ene1.y, 60, 16);
Music.snd("boom", 1);
warn.visible = false;
step2 = 1;
t.removeEventListener(Event.ENTER_FRAME, cd2);
};
};
}
function frame1(){
t = this;
door1open = 0;
yyy = -10;
si = 0;
step2 = 2;
sprt1.gr = 1;
sprt1.gr2 = 1;
bx = 0;
by = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
dd = 0;
enexo = ene1.x;
eneyo = ene1.y;
ene1.xx = 10;
step = 1;
Music.snd("theair", 1);
t.addEventListener(Event.ENTER_FRAME, cd2);
}
}
}//package
Section 77
//level129 (level129)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level129 extends MovieClip {
public var bloon:MovieClip;
public var dd;
public var door1open;
public var sisi;
public var plat:MovieClip;
public var sprt1:MovieClip;
public var sprt3:MovieClip;
public var sprt2:MovieClip;
public var step;
public var ene1:MovieClip;
public var by;
public var yyy;
public var si;
public var enexo;
public var bx;
public var step2;
public var spike2:MovieClip;
public var spike4:MovieClip;
public var eneyo;
public var spike3:MovieClip;
public var spike1:MovieClip;
public var t;
public var ball:MovieClip;
public function level129(){
addFrameScript(0, frame1);
}
public function spawnExplo(_arg1, _arg2, _arg3, _arg4){
var _local6:*;
var _local5:* = 0;
while (_local5 < _arg4) {
_local6 = new explo1();
_local6.rotation = (Math.random() * 360);
_local6.gotoAndPlay(int(((Math.random() * 8) + 1)));
_local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.5));
_local6.x = ((_arg1 + (Math.random() * _arg3)) - (_arg3 / 2));
_local6.y = ((_arg2 + (Math.random() * _arg3)) - (_arg3 / 2));
t.addChild(_local6);
_local5++;
};
}
public function cdn3(_arg1){
var _local2:*;
var _local3:*;
if (!dd){
_local2 = 1;
while (_local2 < 16) {
_local3 = t[("spike" + _local2)];
if (!_local3){
break;
};
if (((((_local3.kol.hitTestObject(sprt1)) || (_local3.kol.hitTestObject(sprt2)))) || (_local3.kol.hitTestObject(sprt3)))){
sprt1.dd = 1;
step2 = 1;
Music.snd("ouch", 1);
t.removeEventListener(Event.ENTER_FRAME, cdn3);
break;
};
_local2++;
};
};
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cdn3);
};
}
public function cd(_arg1){
if (step2 == 1){
bloon.y = (by + (Math.sin(si) * 10));
si = (si + 0.1);
};
if (step2 == 2){
bloon.x = sprt3.x;
bloon.y = (by = sprt3.y);
if (sprt1.hitTestObject(ball)){
step2 = 1;
sprt1.gr = 0;
sprt1.gr2 = 0;
};
};
}
function frame1(){
dd = 0;
t = this;
t.addEventListener(Event.ENTER_FRAME, cdn3);
door1open = 0;
yyy = -10;
si = 0;
step2 = 2;
sprt1.gr = 1;
sprt1.gr2 = 1;
bx = 0;
by = 0;
t.addEventListener(Event.ENTER_FRAME, cd);
enexo = ene1.x;
eneyo = ene1.y;
ene1.xx = 10;
step = 1;
sisi = 0;
t.addEventListener(Event.ENTER_FRAME, cd2);
}
public function cd2(_arg1){
if (!t.root){
t.removeEventListener(Event.ENTER_FRAME, cd2);
};
if (!dd){
ene1.y = (230 + (Math.sin(sisi) * 80));
sisi = (sisi + 0.025);
ene1.bg.rotation = (ene1.bg.rotation + ene1.xx);
if ((((step == 2)) && ((-100 > ene1.x)))){
ene1.xx = (ene1.xx * -1);
ene1.y = (ene1.y - 120);
step = 3;
};
if ((((step == 1)) && ((ene1.x > 740)))){
ene1.xx = (ene1.xx * -1);
ene1.y = (ene1.y - 120);
step = 2;
};
if ((((step == 3)) && ((ene1.x > 740)))){
ene1.x = enexo;
ene1.y = eneyo;
step = 1;
};
if (((((ene1.ene1.hitTestObject(sprt1)) || (ene1.ene1.hitTestObject(sprt2)))) || (ene1.ene1.hitTestObject(sprt3)))){
sprt1.dd = 1;
ene1.visible = false;
spawnExplo(ene1.x, ene1.y, 60, 16);
step2 = 1;
Music.snd("boom", 1);
t.removeEventListener(Event.ENTER_FRAME, cd2);
};
};
}
}
}//package
Section 78
//level130 (level130)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Plugs.*;
public dynamic class level130 extends MovieClip {
public var bloon:MovieClip;
public var step;
public var door1open;
public var yyy;
public var si;
public var istop:MovieClip;
public var plat:MovieClip;
public var sprt3:MovieClip;
public var sprt1:MovieClip;
public var sprt2:MovieClip;
public var t;
public function level130(){
addFrameScript(0, frame1);
}
public function cd(_arg1){
if (step == 1){
bloon.y = (80 + (Math.sin(si) * 10));
si = (si + 0.1);
if (bloon.kol.hitTestObject(sprt3)){
step = 2;
};
};
if (step == 2){
bloon.x = sprt3.x;
bloon.y = sprt3.y;
plat.cld.y = (plat.cld.y + yyy);
yyy = (yyy - 1);
if (-200 > plat.cld.y){
};
};
if (((!(sprt1.istop)) && (istop.hitTestObject(sprt1)))){
sprt1.istop = 1;
Music.snd("maybethetleft", 1);
bloon.gotoAndStop(2);
};
if (bloon.dd){
t.removeEventListener(Event.ENTER_FRAME, cd);
};
}
function frame1(){
t = this;
door1open = 0;
yyy = 10;
si = 0;
step = 1;
t.addEventListener(Event.ENTER_FRAME, cd);
}
}
}//package
Section 79
//Main (Main)
package {
import flash.events.*;
import Plugs.*;
import Levels.*;
import flash.display.*;
import flash.ui.*;
import flash.net.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
public class Main extends MovieClip {
public var agi;
public var devKey:String;
public var btArmor:MovieClip;
public var my_cMenu:ContextMenu;
public var loader:Loader;
public var tload:MovieClip;
public var curr_levl;
public var urlRequest:URLRequest;
public var pct:TextField;
public var gameKey:String;
var ct;// = 0
public var agi_url:String;
public var pc;
public static var dd = 1;
public static var onceagainnr = 0;
public static var sprt = null;
public static var shocu = null;
public static var levl = 0;
public static var tim1 = 0;
public static var then = 1;
public static var onceagain = 0;
public function Main(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 6, frame7);
addEventListener(Event.ENTER_FRAME, loada);
}
function frame1(){
stop();
addEventListener(Event.ENTER_FRAME, loder);
pc = 0;
my_cMenu = new ContextMenu();
my_cMenu.hideBuiltInItems();
contextMenu = my_cMenu;
}
function frame7(){
stop();
}
function frame2(){
stop();
}
public function loder(_arg1:Event){
var _local2:* = Math.ceil(((stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal) * 100));
if (_local2 > pc){
pc++;
};
tload.sprt3.y = (-30 - pc);
tload.sprt2.height = (-(tload.sprt3.y) - 20);
pct.y = ((tload.y + tload.sprt3.y) - 45);
pct.text = (pc + "%");
if (pc >= 100){
removeEventListener(Event.ENTER_FRAME, loder);
play();
};
}
function loada(_arg1:Event){
var _local2:*;
if (currentLabel == "game"){
this.scrollRect = new Rectangle(0, 0, 640, 400);
stage.scaleMode = "noScale";
stage.tabChildren = false;
stage.stageFocusRect = false;
_local2 = new Input(stage);
removeEventListener(Event.ENTER_FRAME, loada);
addEventListener(Event.ENTER_FRAME, mcode);
};
}
function mcode(_arg1:Event){
var _local2:*;
var _local3:*;
if (shocu){
shocu = null;
levl = 31;
then = 1;
dd = 1;
};
if (dd == 1){
_local2 = 1;
_local3 = null;
dd = 0;
if (sprt){
removeChild(sprt);
sprt = null;
};
curr_levl = null;
if (then == 1){
if (levl == 31){
sprt = new outroMC();
};
if (levl == 0){
sprt = new introMC();
_local3 = null;
_local2 = 0.5;
};
if (!sprt){
sprt = new ThenMC();
};
addChild(sprt);
} else {
if (onceagain == 1){
if (!sprt){
sprt = new onceAgainMC();
};
addChild(sprt);
} else {
_local3 = "level1";
_local2 = 1;
if ((((levl > 27)) && ((levl < 31)))){
_local3 = "insky";
_local2 = 0.7;
};
sprt = new MovieClip();
addChild(sprt);
curr_levl = new Level01();
Input.ini();
stage.focus = this;
};
};
if (_local3){
Music.mus(_local3, _local2);
};
};
if (curr_levl){
curr_levl.update();
};
}
function frame3(){
stop();
agi_url = "http://agi.armorgames.com/assets/agi/AGI.swf";
Security.allowDomain(agi_url);
devKey = "081387e3d2eadbd854cb99963c2f9f3e";
gameKey = "i-of-it";
urlRequest = new URLRequest(agi_url);
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
loader.load(urlRequest);
}
public function loadComplete(_arg1:Event):void{
agi = _arg1.currentTarget.content;
addChild(agi);
setChildIndex(agi, 0);
agi.init(devKey, gameKey);
play();
}
public static function geTime(){
var _local1:Date = new Date();
return ((_local1.getTime() - tim1));
}
public static function starTime(){
var _local1:Date = new Date();
tim1 = _local1.getTime();
}
public static function mclick(_arg1){
if (_arg1.name == "shortCut"){
shocu = 1;
};
}
}
}//package
Section 80
//maybethetleft (maybethetleft)
package {
import flash.media.*;
public dynamic class maybethetleft extends Sound {
}
}//package
Section 81
//next (next)
package {
import flash.media.*;
public dynamic class next extends Sound {
}
}//package
Section 82
//onceagain (onceagain)
package {
import flash.media.*;
public dynamic class onceagain extends Sound {
}
}//package
Section 83
//onceAgainMC (onceAgainMC)
package {
import Plugs.*;
import flash.display.*;
public dynamic class onceAgainMC extends MovieClip {
public var txt:MovieClip;
public var gto;
public var snd;
public var rn;
public function onceAgainMC(){
addFrameScript(4, frame5, 68, frame69);
}
function frame69(){
stop();
Main.then = 0;
Main.onceagain = 0;
Main.dd = 1;
}
function frame5(){
Main.onceagainnr++;
if (Main.onceagainnr > 8){
Main.onceagainnr = 1;
};
gto = 1;
snd = "anothertry";
rn = Main.onceagainnr;
if (rn == 2){
gto = rn;
snd = "letsgo";
};
if (rn == 3){
gto = rn;
snd = "onceagain";
};
if (rn == 4){
gto = rn;
snd = "hmmm";
};
if (rn == 5){
gto = rn;
snd = "overagain";
};
if (rn == 6){
gto = rn;
snd = "wevegottime";
};
if (rn == 7){
gto = rn;
snd = "thistimeitmustwork";
};
if (rn == 8){
gto = rn;
snd = "hitmebabyonemoretime";
};
Music.snd(snd, 1);
txt.gotoAndStop(gto);
}
}
}//package
Section 84
//ouch (ouch)
package {
import flash.media.*;
public dynamic class ouch extends Sound {
}
}//package
Section 85
//outroMC (outroMC)
package {
import Plugs.*;
import flash.display.*;
public dynamic class outroMC extends MovieClip {
public var txt:MovieClip;
public var gto;
public function outroMC(){
addFrameScript(0, frame1, 1, frame2, 4, frame5, 38, frame39);
}
function frame39(){
stop();
Main.then = 0;
Main.dd = 1;
}
function frame1(){
stop();
Music.mus("fahrstuhl2", 0.3);
}
function frame2(){
stop();
}
function frame5(){
gto = 0;
if (Main.levl == 5){
gto = 2;
} else {
gto = 1;
};
txt.gotoAndStop(gto);
}
}
}//package
Section 86
//overagain (overagain)
package {
import flash.media.*;
public dynamic class overagain extends Sound {
}
}//package
Section 87
//peow (peow)
package {
import flash.media.*;
public dynamic class peow extends Sound {
}
}//package
Section 88
//soonafter (soonafter)
package {
import flash.media.*;
public dynamic class soonafter extends Sound {
}
}//package
Section 89
//suddenly (suddenly)
package {
import flash.media.*;
public dynamic class suddenly extends Sound {
}
}//package
Section 90
//theair (theair)
package {
import flash.media.*;
public dynamic class theair extends Sound {
}
}//package
Section 91
//then (then)
package {
import flash.media.*;
public dynamic class then extends Sound {
}
}//package
Section 92
//thenextone (thenextone)
package {
import flash.media.*;
public dynamic class thenextone extends Sound {
}
}//package
Section 93
//ThenMC (ThenMC)
package {
import Plugs.*;
import flash.display.*;
public dynamic class ThenMC extends MovieClip {
public var txt:MovieClip;
public var gto;
public var snd;
public var rn;
public function ThenMC(){
addFrameScript(4, frame5, 48, frame49);
}
function frame49(){
stop();
Main.then = 0;
Main.dd = 1;
}
function frame5(){
gto = 1;
snd = "then";
if (Main.levl == 5){
gto = 2;
snd = "suddenly";
};
if (Main.levl > 6){
rn = int((Math.random() * 8));
if (rn == 2){
gto = rn;
snd = "suddenly";
};
if (rn == 3){
gto = rn;
snd = "afewsecondslater";
};
if (rn == 4){
gto = rn;
snd = "thereupon";
};
if (rn == 5){
gto = rn;
snd = "allatonce";
};
if (rn == 6){
gto = rn;
snd = "later";
};
if (rn == 7){
gto = rn;
snd = "next";
};
if (rn == 8){
gto = rn;
snd = "soonafter";
};
};
Music.snd(snd, 1);
txt.gotoAndStop(gto);
}
}
}//package
Section 94
//thereupon (thereupon)
package {
import flash.media.*;
public dynamic class thereupon extends Sound {
}
}//package
Section 95
//thexwashappy (thexwashappy)
package {
import flash.media.*;
public dynamic class thexwashappy extends Sound {
}
}//package
Section 96
//thistimeitmustwork (thistimeitmustwork)
package {
import flash.media.*;
public dynamic class thistimeitmustwork extends Sound {
}
}//package
Section 97
//timetomove (timetomove)
package {
import flash.media.*;
public dynamic class timetomove extends Sound {
}
}//package
Section 98
//titel (titel)
package {
import flash.media.*;
public dynamic class titel extends Sound {
}
}//package
Section 99
//tock (tock)
package {
import flash.media.*;
public dynamic class tock extends Sound {
}
}//package
Section 100
//unceuponatime (unceuponatime)
package {
import flash.media.*;
public dynamic class unceuponatime extends Sound {
}
}//package
Section 101
//walkthroughMC (walkthroughMC)
package {
import flash.display.*;
public dynamic class walkthroughMC extends MovieClip {
}
}//package
Section 102
//wevegottime (wevegottime)
package {
import flash.media.*;
public dynamic class wevegottime extends Sound {
}
}//package