Section 1
//01_platform_LR_w260_m200_31 (steampunk_armor_fla.01_platform_LR_w260_m200_31)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 01_platform_LR_w260_m200_31 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 01_platform_LR_w260_m200_31(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((vy - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle((vx - 200), vy, 200, 0);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 2
//01_tutorial_30 (steampunk_armor_fla.01_tutorial_30)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class 01_tutorial_30 extends MovieClip {
public function 01_tutorial_30(){
addFrameScript(249, frame250);
}
function frame250(){
stop();
}
}
}//package steampunk_armor_fla
Section 3
//02_meh1_49 (steampunk_armor_fla.02_meh1_49)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class 02_meh1_49 extends MovieClip {
public function 02_meh1_49(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame16(){
stop();
}
function frame15(){
stop();
}
function frame18(){
stop();
}
function frame19(){
stop();
}
function frame12(){
stop();
}
function frame17(){
stop();
}
function frame3(){
stop();
}
function frame13(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame22(){
stop();
}
function frame4(){
stop();
}
function frame24(){
stop();
}
function frame25(){
stop();
}
function frame26(){
stop();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame23(){
stop();
}
function frame21(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
}
function frame30(){
stop();
}
function frame29(){
stop();
}
function frame35(){
stop();
}
function frame36(){
stop();
}
function frame37(){
stop();
}
function frame27(){
stop();
}
function frame28(){
stop();
}
function frame20(){
stop();
}
function frame38(){
stop();
}
function frame31(){
stop();
}
function frame32(){
stop();
}
function frame34(){
stop();
}
function frame33(){
stop();
}
function frame40(){
stop();
}
function frame39(){
stop();
}
function frame43(){
stop();
}
function frame44(){
stop();
}
function frame45(){
stop();
}
function frame46(){
stop();
}
function frame47(){
stop();
}
function frame41(){
stop();
}
function frame48(){
stop();
}
function frame49(){
stop();
}
function frame42(){
stop();
}
function frame51(){
stop();
}
function frame52(){
stop();
}
function frame53(){
stop();
}
function frame54(){
stop();
}
function frame55(){
stop();
}
function frame56(){
stop();
}
function frame50(){
stop();
}
function frame58(){
stop();
}
function frame59(){
stop();
}
function frame57(){
stop();
}
function frame60(){
stop();
}
function frame61(){
stop();
}
function frame62(){
stop();
}
function frame63(){
stop();
}
function frame64(){
stop();
}
function frame65(){
stop();
}
function frame66(){
stop();
}
function frame67(){
stop();
}
function frame68(){
stop();
}
function frame69(){
stop();
}
function frame70(){
stop();
}
function frame72(){
stop();
}
function frame73(){
stop();
}
function frame75(){
stop();
}
function frame77(){
stop();
}
function frame71(){
stop();
}
function frame76(){
stop();
}
function frame78(){
stop();
}
function frame74(){
stop();
}
function frame79(){
stop();
}
function frame80(){
stop();
}
function frame81(){
stop();
}
function frame84(){
stop();
}
function frame85(){
stop();
}
function frame86(){
stop();
}
function frame87(){
stop();
}
function frame88(){
stop();
}
function frame82(){
stop();
}
function frame83(){
stop();
}
function frame89(){
stop();
}
function frame90(){
stop();
}
function frame91(){
stop();
}
function frame93(){
stop();
}
function frame94(){
stop();
}
function frame95(){
stop();
}
function frame98(){
stop();
}
function frame92(){
stop();
}
function frame97(){
stop();
}
function frame99(){
stop();
}
function frame96(){
stop();
}
function frame100(){
stop();
}
}
}//package steampunk_armor_fla
Section 4
//02_meh2_57 (steampunk_armor_fla.02_meh2_57)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class 02_meh2_57 extends MovieClip {
public function 02_meh2_57(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame16(){
stop();
}
function frame15(){
stop();
}
function frame18(){
stop();
}
function frame19(){
stop();
}
function frame12(){
stop();
}
function frame17(){
stop();
}
function frame3(){
stop();
}
function frame13(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame22(){
stop();
}
function frame4(){
stop();
}
function frame24(){
stop();
}
function frame25(){
stop();
}
function frame26(){
stop();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame23(){
stop();
}
function frame21(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
}
function frame30(){
stop();
}
function frame29(){
stop();
}
function frame35(){
stop();
}
function frame36(){
stop();
}
function frame37(){
stop();
}
function frame27(){
stop();
}
function frame28(){
stop();
}
function frame20(){
stop();
}
function frame38(){
stop();
}
function frame31(){
stop();
}
function frame32(){
stop();
}
function frame34(){
stop();
}
function frame33(){
stop();
}
function frame40(){
stop();
}
function frame39(){
stop();
}
function frame43(){
stop();
}
function frame44(){
stop();
}
function frame45(){
stop();
}
function frame46(){
stop();
}
function frame47(){
stop();
}
function frame41(){
stop();
}
function frame48(){
stop();
}
function frame49(){
stop();
}
function frame42(){
stop();
}
function frame51(){
stop();
}
function frame52(){
stop();
}
function frame53(){
stop();
}
function frame54(){
stop();
}
function frame55(){
stop();
}
function frame56(){
stop();
}
function frame50(){
stop();
}
function frame58(){
stop();
}
function frame59(){
stop();
}
function frame57(){
stop();
}
function frame60(){
stop();
}
function frame61(){
stop();
}
function frame62(){
stop();
}
function frame63(){
stop();
}
function frame64(){
stop();
}
function frame65(){
stop();
}
function frame66(){
stop();
}
function frame67(){
stop();
}
function frame68(){
stop();
}
function frame69(){
stop();
}
function frame70(){
stop();
}
function frame72(){
stop();
}
function frame73(){
stop();
}
function frame75(){
stop();
}
function frame77(){
stop();
}
function frame71(){
stop();
}
function frame76(){
stop();
}
function frame78(){
stop();
}
function frame74(){
stop();
}
function frame79(){
stop();
}
function frame80(){
stop();
}
function frame81(){
stop();
}
function frame84(){
stop();
}
function frame85(){
stop();
}
function frame86(){
stop();
}
function frame87(){
stop();
}
function frame88(){
stop();
}
function frame82(){
stop();
}
function frame83(){
stop();
}
function frame89(){
stop();
}
function frame90(){
stop();
}
function frame91(){
stop();
}
function frame93(){
stop();
}
function frame94(){
stop();
}
function frame95(){
stop();
}
function frame98(){
stop();
}
function frame92(){
stop();
}
function frame97(){
stop();
}
function frame99(){
stop();
}
function frame96(){
stop();
}
function frame100(){
stop();
}
}
}//package steampunk_armor_fla
Section 5
//02_meh2_born_56 (steampunk_armor_fla.02_meh2_born_56)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 02_meh2_born_56 extends MovieClip {
public var channel:SoundChannel;
public var drum:sound_platform;
public function 02_meh2_born_56(){
addFrameScript(9, frame10, 99, frame100);
}
function frame10(){
drum = new sound_platform();
channel = drum.play();
}
function frame100(){
stop();
(root as MovieClip).obj_level.play();
}
}
}//package steampunk_armor_fla
Section 6
//02_meh3_53 (steampunk_armor_fla.02_meh3_53)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 02_meh3_53 extends MovieClip {
public var drum2:sound_switch;
public var btn:SimpleButton;
public var channel2:SoundChannel;
public function 02_meh3_53(){
addFrameScript(0, frame1, 1, frame2, 25, frame26);
}
public function func_Button(_arg1:MouseEvent):void{
play();
}
function frame1(){
stop();
btn.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame26(){
stop();
(root as MovieClip).obj_level.play();
}
function frame2(){
drum2 = new sound_switch();
channel2 = drum2.play();
}
}
}//package steampunk_armor_fla
Section 7
//02_platform1_UD_w160_m200_51 (steampunk_armor_fla.02_platform1_UD_w160_m200_51)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 02_platform1_UD_w160_m200_51 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 02_platform1_UD_w160_m200_51(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
var _local3:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
_local3 = (Math.floor((Math.abs((_local2 - vy)) / 2)) + 1);
(parent as MovieClip).obj_back1.gotoAndStop(_local3);
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((_local2 - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 0, 200);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 8
//02_platform2_UD_w160_m200_58 (steampunk_armor_fla.02_platform2_UD_w160_m200_58)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 02_platform2_UD_w160_m200_58 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 02_platform2_UD_w160_m200_58(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
var _local3:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
_local3 = (Math.floor((Math.abs((_local2 - vy)) / 2)) + 1);
(parent as MovieClip).obj_back2.gotoAndStop(_local3);
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((_local2 - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 0, 200);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 9
//03_tube1_LR_w50_m150_64 (steampunk_armor_fla.03_tube1_LR_w50_m150_64)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 03_tube1_LR_w50_m150_64 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var cy:Number;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 03_tube1_LR_w50_m150_64(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_steam;
var _local3:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).obj_level.obj_hero.y = (((cy - (h1 / 2)) - (h2 / 2)) - hy);
(root as MovieClip).vJumpSide = 0;
(root as MovieClip).HeroAnimPlay = 0;
(root as MovieClip).vHeroFall = 1;
(root as MovieClip).vHeroCurrentJump = (root as MovieClip).vHeroJumpSpeed;
(root as MovieClip).vCurrentGravitation = (root as MovieClip).vGravitation;
_local2 = new sound_steam();
_local3 = _local2.play();
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 150, 0);
drum = new sound_platform();
cy = this.y;
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 10
//03_tube2_RL_w50_m150_61 (steampunk_armor_fla.03_tube2_RL_w50_m150_61)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 03_tube2_RL_w50_m150_61 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var cy:Number;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 03_tube2_RL_w50_m150_61(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_steam;
var _local3:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).obj_level.obj_hero.y = (((cy - (h1 / 2)) - (h2 / 2)) - hy);
(root as MovieClip).vJumpSide = 0;
(root as MovieClip).HeroAnimPlay = 0;
(root as MovieClip).vHeroFall = 1;
(root as MovieClip).vHeroCurrentJump = (root as MovieClip).vHeroJumpSpeed;
(root as MovieClip).vCurrentGravitation = (root as MovieClip).vGravitation;
_local2 = new sound_steam();
_local3 = _local2.play();
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 150, 0);
drum = new sound_platform();
cy = this.y;
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 11
//03_wall_UD_m350_65 (steampunk_armor_fla.03_wall_UD_m350_65)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 03_wall_UD_m350_65 extends MovieClip {
public var channel:SoundChannel;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var obj_clsn:MovieClip;
public var obj_clsn2:MovieClip;
public function 03_wall_UD_m350_65(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
} else {
if (obj_clsn2.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
};
}
function frame1(){
vx = this.x;
vy = (this.y - 350);
rec = new Rectangle(vx, vy, 0, 350);
drum = new sound_platform();
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 12
//04_platform_UD_w160_m350_72 (steampunk_armor_fla.04_platform_UD_w160_m350_72)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 04_platform_UD_w160_m350_72 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 04_platform_UD_w160_m350_72(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((_local2 - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 0, 350);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 13
//04_teleport1_70 (steampunk_armor_fla.04_teleport1_70)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 04_teleport1_70 extends MovieClip {
public var obj_clsn:MovieClip;
public function 04_teleport1_70(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
(root as MovieClip).obj_level.obj_hero.x = -430;
(root as MovieClip).obj_level.obj_hero.y = 0;
};
};
}
function frame1(){
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 14
//04_teleport2_69 (steampunk_armor_fla.04_teleport2_69)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 04_teleport2_69 extends MovieClip {
public var obj_clsn:MovieClip;
public function 04_teleport2_69(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
(root as MovieClip).obj_level.obj_hero.x = -430;
(root as MovieClip).obj_level.obj_hero.y = 175;
};
};
}
function frame1(){
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 15
//05_meh1_85 (steampunk_armor_fla.05_meh1_85)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class 05_meh1_85 extends MovieClip {
public function 05_meh1_85(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame16(){
stop();
}
function frame15(){
stop();
}
function frame18(){
stop();
}
function frame19(){
stop();
}
function frame12(){
stop();
}
function frame17(){
stop();
}
function frame3(){
stop();
}
function frame13(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame22(){
stop();
}
function frame4(){
stop();
}
function frame24(){
stop();
}
function frame25(){
stop();
}
function frame26(){
stop();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame23(){
stop();
}
function frame21(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
}
function frame30(){
stop();
}
function frame29(){
stop();
}
function frame35(){
stop();
}
function frame36(){
stop();
}
function frame37(){
stop();
}
function frame27(){
stop();
}
function frame28(){
stop();
}
function frame20(){
stop();
}
function frame38(){
stop();
}
function frame31(){
stop();
}
function frame32(){
stop();
}
function frame34(){
stop();
}
function frame33(){
stop();
}
function frame40(){
stop();
}
function frame39(){
stop();
}
function frame43(){
stop();
}
function frame44(){
stop();
}
function frame45(){
stop();
}
function frame46(){
stop();
}
function frame47(){
stop();
}
function frame41(){
stop();
}
function frame48(){
stop();
}
function frame49(){
stop();
}
function frame42(){
stop();
}
function frame51(){
stop();
}
function frame52(){
stop();
}
function frame53(){
stop();
}
function frame54(){
stop();
}
function frame55(){
stop();
}
function frame56(){
stop();
}
function frame50(){
stop();
}
function frame58(){
stop();
}
function frame59(){
stop();
}
function frame57(){
stop();
}
function frame60(){
stop();
}
function frame61(){
stop();
}
function frame62(){
stop();
}
function frame63(){
stop();
}
function frame64(){
stop();
}
function frame65(){
stop();
}
function frame66(){
stop();
}
function frame67(){
stop();
}
function frame68(){
stop();
}
function frame69(){
stop();
}
function frame70(){
stop();
}
function frame72(){
stop();
}
function frame73(){
stop();
}
function frame75(){
stop();
}
function frame77(){
stop();
}
function frame71(){
stop();
}
function frame76(){
stop();
}
function frame78(){
stop();
}
function frame74(){
stop();
}
function frame79(){
stop();
}
function frame80(){
stop();
}
function frame81(){
stop();
}
function frame84(){
stop();
}
function frame85(){
stop();
}
function frame86(){
stop();
}
function frame87(){
stop();
}
function frame88(){
stop();
}
function frame82(){
stop();
}
function frame83(){
stop();
}
function frame89(){
stop();
}
function frame90(){
stop();
}
function frame91(){
stop();
}
function frame93(){
stop();
}
function frame94(){
stop();
}
function frame95(){
stop();
}
function frame98(){
stop();
}
function frame92(){
stop();
}
function frame97(){
stop();
}
function frame99(){
stop();
}
function frame96(){
stop();
}
function frame100(){
stop();
}
}
}//package steampunk_armor_fla
Section 16
//05_meh2_1_82 (steampunk_armor_fla.05_meh2_1_82)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 05_meh2_1_82 extends MovieClip {
public var obj_hero:MovieClip;
public var vP:Number;
public var obj_clsn:MovieClip;
public var obj_barrel:MovieClip;
public function 05_meh2_1_82(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_barrel2;
var _local3:SoundChannel;
var _local4:sound_barrel1;
var _local5:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_hero.hitTestObject((parent as MovieClip).obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
if (vP == 1){
this.x = (parent as MovieClip).obj_platform.x;
this.y = (parent as MovieClip).obj_platform.y;
if (obj_barrel.hitTestObject((parent as MovieClip).obj_b3.obj_barrel)){
this.y = ((parent as MovieClip).obj_b3.y - 155);
(parent as MovieClip).obj_platform.y = this.y;
} else {
if (obj_barrel.hitTestObject((parent as MovieClip).obj_b2.obj_barrel)){
this.y = ((parent as MovieClip).obj_b2.y - 155);
(parent as MovieClip).obj_platform.y = this.y;
} else {
if (((((parent as MovieClip).obj_platform.vB == 1)) && (((parent as MovieClip).obj_platform.y > ((parent as MovieClip).obj_platform.vy + 195))))){
vP = 0;
(parent as MovieClip).obj_platform.vB = 0;
(parent as MovieClip).obj_platform.y = (this.y - 30);
this.y = 85;
if ((((((this.x > -120)) && ((this.x < -80)))) && (((parent as MovieClip).vStep == 0)))){
this.x = 1000;
(parent as MovieClip).play();
} else {
_local2 = new sound_barrel2();
_local3 = _local2.play();
};
};
};
};
} else {
if (obj_clsn.hitTestObject((parent as MovieClip).obj_platform.obj_clsn)){
if ((parent as MovieClip).obj_platform.vB == 0){
vP = 1;
(parent as MovieClip).obj_platform.vB = 1;
(parent as MovieClip).obj_platform.y = (this.y - 35);
_local4 = new sound_barrel1();
_local5 = _local4.play();
};
};
};
};
}
function frame1(){
vP = 0;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 17
//05_meh2_2_83 (steampunk_armor_fla.05_meh2_2_83)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 05_meh2_2_83 extends MovieClip {
public var obj_hero:MovieClip;
public var vP:Number;
public var obj_clsn:MovieClip;
public var obj_barrel:MovieClip;
public function 05_meh2_2_83(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_barrel2;
var _local3:SoundChannel;
var _local4:sound_barrel1;
var _local5:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_hero.hitTestObject((parent as MovieClip).obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
if (vP == 1){
this.x = (parent as MovieClip).obj_platform.x;
this.y = (parent as MovieClip).obj_platform.y;
if (obj_barrel.hitTestObject((parent as MovieClip).obj_b1.obj_barrel)){
this.y = ((parent as MovieClip).obj_b1.y - 155);
(parent as MovieClip).obj_platform.y = this.y;
} else {
if (obj_barrel.hitTestObject((parent as MovieClip).obj_b3.obj_barrel)){
this.y = ((parent as MovieClip).obj_b3.y - 155);
(parent as MovieClip).obj_platform.y = this.y;
} else {
if (((((parent as MovieClip).obj_platform.vB == 1)) && (((parent as MovieClip).obj_platform.y > ((parent as MovieClip).obj_platform.vy + 195))))){
vP = 0;
(parent as MovieClip).obj_platform.vB = 0;
(parent as MovieClip).obj_platform.y = (this.y - 30);
this.y = 85;
if ((((((this.x > -120)) && ((this.x < -80)))) && (((parent as MovieClip).vStep == 0)))){
this.x = 1000;
(parent as MovieClip).play();
} else {
_local2 = new sound_barrel2();
_local3 = _local2.play();
};
};
};
};
} else {
if (obj_clsn.hitTestObject((parent as MovieClip).obj_platform.obj_clsn)){
if ((parent as MovieClip).obj_platform.vB == 0){
vP = 1;
(parent as MovieClip).obj_platform.vB = 1;
(parent as MovieClip).obj_platform.y = (this.y - 35);
_local4 = new sound_barrel1();
_local5 = _local4.play();
};
};
};
};
}
function frame1(){
vP = 0;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 18
//05_meh2_3_84 (steampunk_armor_fla.05_meh2_3_84)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 05_meh2_3_84 extends MovieClip {
public var obj_hero:MovieClip;
public var vP:Number;
public var obj_clsn:MovieClip;
public var obj_barrel:MovieClip;
public function 05_meh2_3_84(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_barrel2;
var _local3:SoundChannel;
var _local4:sound_barrel1;
var _local5:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_hero.hitTestObject((parent as MovieClip).obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
if (vP == 1){
this.x = (parent as MovieClip).obj_platform.x;
this.y = (parent as MovieClip).obj_platform.y;
if (obj_barrel.hitTestObject((parent as MovieClip).obj_b1.obj_barrel)){
this.y = ((parent as MovieClip).obj_b1.y - 155);
(parent as MovieClip).obj_platform.y = this.y;
} else {
if (obj_barrel.hitTestObject((parent as MovieClip).obj_b2.obj_barrel)){
this.y = ((parent as MovieClip).obj_b2.y - 155);
(parent as MovieClip).obj_platform.y = this.y;
} else {
if (((((parent as MovieClip).obj_platform.vB == 1)) && (((parent as MovieClip).obj_platform.y > ((parent as MovieClip).obj_platform.vy + 195))))){
vP = 0;
(parent as MovieClip).obj_platform.vB = 0;
(parent as MovieClip).obj_platform.y = (this.y - 30);
this.y = 85;
if ((((((this.x > -120)) && ((this.x < -80)))) && (((parent as MovieClip).vStep == 0)))){
this.x = 1000;
(parent as MovieClip).play();
} else {
_local2 = new sound_barrel2();
_local3 = _local2.play();
};
};
};
};
} else {
if (obj_clsn.hitTestObject((parent as MovieClip).obj_platform.obj_clsn)){
if ((parent as MovieClip).obj_platform.vB == 0){
vP = 1;
(parent as MovieClip).obj_platform.vB = 1;
(parent as MovieClip).obj_platform.y = (this.y - 35);
_local4 = new sound_barrel1();
_local5 = _local4.play();
};
};
};
};
}
function frame1(){
vP = 0;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 19
//05_meh3_88 (steampunk_armor_fla.05_meh3_88)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 05_meh3_88 extends MovieClip {
public var drum2:sound_barrel2;
public var cy:Number;
public var channel2:SoundChannel;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 05_meh3_88(){
addFrameScript(8, frame9, 9, frame10);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).obj_level.obj_hero.y = ((cy - (h1 / 2)) - (h2 / 2));
(root as MovieClip).vHeroFall = 0;
};
};
}
function frame10(){
cy = this.y;
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
function frame9(){
drum2 = new sound_barrel2();
channel2 = drum2.play();
}
}
}//package steampunk_armor_fla
Section 20
//05_platform_LR_m200_86 (steampunk_armor_fla.05_platform_LR_m200_86)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 05_platform_LR_m200_86 extends MovieClip {
public var channel:SoundChannel;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public function 05_platform_LR_m200_86(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.x;
(parent as MovieClip).obj_platform.x = _local2;
(parent as MovieClip).obj_back.x = _local2;
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle((vx - 500), vy, 500, 0);
drum = new sound_platform();
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 21
//05_platform_UD_m200_87 (steampunk_armor_fla.05_platform_UD_m200_87)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 05_platform_UD_m200_87 extends MovieClip {
public var channel:SoundChannel;
public var drum:sound_platform;
public var vB:Number;
public var obj_platform:SimpleButton;
public var vy:Number;
public var obj_clsn:MovieClip;
public function 05_platform_UD_m200_87(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
var _local3:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
_local3 = (Math.floor((Math.abs((_local2 - vy)) / 2)) + 1);
(parent as MovieClip).obj_back.gotoAndStop(_local3);
};
}
function frame1(){
vB = 0;
vy = this.y;
drum = new sound_platform();
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Rectangle;
_local2 = this.x;
_local3 = new Rectangle(_local2, vy, 0, 200);
this.startDrag(false, _local3);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 22
//06_gear_UD_m400_78 (steampunk_armor_fla.06_gear_UD_m400_78)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 06_gear_UD_m400_78 extends MovieClip {
public var vDownY:Number;
public var i:Number;
public var obj_clsn:MovieClip;
public var vUpY:Number;
public function 06_gear_UD_m400_78(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if ((((this.y > vDownY)) || ((this.y < vUpY)))){
i = (i * -1);
};
this.y = (this.y + i);
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
}
function frame1(){
vDownY = (this.y + 350);
vUpY = this.y;
i = 8;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 23
//06_tube_w50_76 (steampunk_armor_fla.06_tube_w50_76)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 06_tube_w50_76 extends MovieClip {
public var hy:Number;
public var cy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 06_tube_w50_76(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_steam;
var _local3:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).obj_level.obj_hero.y = (((cy - (h1 / 2)) - (h2 / 2)) - hy);
(root as MovieClip).vJumpSide = 0;
(root as MovieClip).HeroAnimPlay = 0;
(root as MovieClip).vHeroFall = 1;
(root as MovieClip).vHeroCurrentJump = (root as MovieClip).vHeroJumpSpeed;
(root as MovieClip).vCurrentGravitation = (root as MovieClip).vGravitation;
_local2 = new sound_steam();
_local3 = _local2.play();
};
};
}
function frame1(){
cy = this.y;
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 24
//07_wall_98 (steampunk_armor_fla.07_wall_98)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 07_wall_98 extends MovieClip {
public var obj_clsn:MovieClip;
public function 07_wall_98(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
};
}
function frame1(){
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 25
//07_wall1_UD_m150_97 (steampunk_armor_fla.07_wall1_UD_m150_97)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 07_wall1_UD_m150_97 extends MovieClip {
public var channel:SoundChannel;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var obj_clsn:MovieClip;
public function 07_wall1_UD_m150_97(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
(parent as MovieClip).obj_back1.y = (150 - this.y);
(parent as MovieClip).obj_back2.y = this.y;
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
};
}
function frame1(){
vx = this.x;
vy = (this.y - 150);
rec = new Rectangle(vx, vy, 0, 150);
drum = new sound_platform();
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 26
//07_wall2_UD_m150_99 (steampunk_armor_fla.07_wall2_UD_m150_99)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 07_wall2_UD_m150_99 extends MovieClip {
public var channel:SoundChannel;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var obj_clsn:MovieClip;
public function 07_wall2_UD_m150_99(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
};
}
function frame1(){
vx = this.x;
vy = (this.y - 150);
rec = new Rectangle(vx, vy, 0, 150);
drum = new sound_platform();
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 27
//07_wall3_UD_m150_100 (steampunk_armor_fla.07_wall3_UD_m150_100)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 07_wall3_UD_m150_100 extends MovieClip {
public var channel:SoundChannel;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var obj_clsn:MovieClip;
public function 07_wall3_UD_m150_100(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
(parent as MovieClip).obj_back3.y = (150 - this.y);
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
if ((parent as MovieClip).obj_hero.x > this.x){
(root as MovieClip).vHeroRight = 1;
(root as MovieClip).vHeroLeft = 0;
} else {
(root as MovieClip).vHeroRight = 0;
(root as MovieClip).vHeroLeft = 1;
};
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 0, 150);
drum = new sound_platform();
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 28
//08_platform_UD_w160_m100_94 (steampunk_armor_fla.08_platform_UD_w160_m100_94)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 08_platform_UD_w160_m100_94 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 08_platform_UD_w160_m100_94(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((_local2 - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, (vy - 150), 0, 150);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 29
//08_platform1_LR_w260_m200_92 (steampunk_armor_fla.08_platform1_LR_w260_m200_92)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 08_platform1_LR_w260_m200_92 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 08_platform1_LR_w260_m200_92(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((vy - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle((vx - 200), vy, 250, 0);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 30
//08_platform2_LR_m100_93 (steampunk_armor_fla.08_platform2_LR_m100_93)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 08_platform2_LR_m100_93 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 08_platform2_LR_m100_93(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((vy - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle((vx - 100), vy, 100, 0);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 31
//09_meh_107 (steampunk_armor_fla.09_meh_107)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
public dynamic class 09_meh_107 extends MovieClip {
public var channel:SoundChannel;
public var drum2:sound_switch;
public var btn:SimpleButton;
public var drum:sound_platform;
public var channel2:SoundChannel;
public var vb:Number;
public function 09_meh_107(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 11, frame12, 44, frame45);
}
public function func_Button(_arg1:MouseEvent):void{
if (vb == 0){
vb = 1;
} else {
vb = 0;
};
play();
}
function frame12(){
drum = new sound_platform();
channel = drum.play();
}
function frame3(){
drum2 = new sound_switch();
channel2 = drum2.play();
}
function frame1(){
vb = 0;
}
function frame2(){
stop();
btn.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame45(){
gotoAndStop("l_start");
}
}
}//package steampunk_armor_fla
Section 32
//09_platform1_UDm200_106 (steampunk_armor_fla.09_platform1_UDm200_106)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 09_platform1_UDm200_106 extends MovieClip {
public var hy:Number;
public var i:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 09_platform1_UDm200_106(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((_local2 - (h1 / 2)) - (h2 / 2)) - hy);
};
if (((((parent as MovieClip).obj_btn.vb == 1)) && (!((_local2 == -100))))){
this.y = (this.y - i);
if (this.y < -100){
this.y = -100;
};
};
if (((((parent as MovieClip).obj_btn.vb == 0)) && (!((_local2 == 100))))){
this.y = (this.y + i);
if (this.y > 100){
this.y = 100;
};
};
};
}
function frame1(){
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
i = 5;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 33
//09_platform2_UDm200copy_105 (steampunk_armor_fla.09_platform2_UDm200copy_105)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 09_platform2_UDm200copy_105 extends MovieClip {
public var hy:Number;
public var i:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 09_platform2_UDm200copy_105(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:Number;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
_local2 = this.y;
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((_local2 - (h1 / 2)) - (h2 / 2)) - hy);
};
if (((((parent as MovieClip).obj_btn.vb == 1)) && (!((_local2 == 100))))){
this.y = (this.y + i);
if (this.y > 100){
this.y = 100;
};
};
if (((((parent as MovieClip).obj_btn.vb == 0)) && (!((_local2 == -100))))){
this.y = (this.y - i);
if (this.y < -100){
this.y = -100;
};
};
};
}
function frame1(){
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
i = 5;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 34
//11_tube_LR_w50_m300_110 (steampunk_armor_fla.11_tube_LR_w50_m300_110)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 11_tube_LR_w50_m300_110 extends MovieClip {
public var hy:Number;
public var vDownY:Number;
public var i:Number;
public var cy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public var vUpY:Number;
public function 11_tube_LR_w50_m300_110(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
var _local2:sound_steam;
var _local3:SoundChannel;
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if ((((this.x > vDownY)) || ((this.x < vUpY)))){
i = (i * -1);
};
this.x = (this.x + i);
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).obj_level.obj_hero.y = (((cy - (h1 / 2)) - (h2 / 2)) - hy);
(root as MovieClip).vJumpSide = 0;
(root as MovieClip).HeroAnimPlay = 0;
(root as MovieClip).vHeroFall = 1;
(root as MovieClip).vHeroCurrentJump = (root as MovieClip).vHeroJumpSpeed;
(root as MovieClip).vCurrentGravitation = (root as MovieClip).vGravitation;
_local2 = new sound_steam();
_local3 = _local2.play();
};
};
}
function frame1(){
vDownY = this.x;
vUpY = (this.x - 300);
i = 5;
cy = this.y;
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 35
//12_platform_LR_w260_m200_127 (steampunk_armor_fla.12_platform_LR_w260_m200_127)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class 12_platform_LR_w260_m200_127 extends MovieClip {
public var channel:SoundChannel;
public var hy:Number;
public var rec:Rectangle;
public var drum:sound_platform;
public var obj_platform:SimpleButton;
public var vx:Number;
public var vy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function 12_platform_LR_w260_m200_127(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vHeroFall = 0;
(root as MovieClip).obj_level.obj_hero.y = (((vy - (h1 / 2)) - (h2 / 2)) - hy);
};
};
}
function frame1(){
vx = this.x;
vy = this.y;
rec = new Rectangle(vx, vy, 200, 0);
drum = new sound_platform();
h1 = obj_clsn.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
hy = Math.abs(obj_clsn.y);
stop();
obj_platform.addEventListener(MouseEvent.MOUSE_DOWN, func_DragStart);
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
public function func_DragStart(_arg1:MouseEvent):void{
this.startDrag(false, rec);
channel = drum.play();
}
}
}//package steampunk_armor_fla
Section 36
//b_moregames_38 (steampunk_armor_fla.b_moregames_38)
package steampunk_armor_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class b_moregames_38 extends MovieClip {
public var obj_button:SimpleButton;
public function b_moregames_38(){
addFrameScript(0, frame1);
}
public function func_Button(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://armor.ag/MoreGames"), "_blank");
}
function frame1(){
stop();
obj_button.addEventListener(MouseEvent.CLICK, func_Button);
}
}
}//package steampunk_armor_fla
Section 37
//b_replay_129 (steampunk_armor_fla.b_replay_129)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class b_replay_129 extends MovieClip {
public var obj_button:SimpleButton;
public function b_replay_129(){
addFrameScript(74, frame75);
}
function frame75(){
stop();
obj_button.addEventListener(MouseEvent.CLICK, func_Button);
}
public function func_Button(_arg1:MouseEvent):void{
(root as MovieClip).vLevelEnd = 1;
(root as MovieClip).gotoAndStop("l_restartmenu");
}
}
}//package steampunk_armor_fla
Section 38
//b_select_36 (steampunk_armor_fla.b_select_36)
package steampunk_armor_fla {
import flash.events.*;
import flash.display.*;
public dynamic class b_select_36 extends MovieClip {
public var obj_button:SimpleButton;
public function b_select_36(){
addFrameScript(0, frame1);
}
public function func_Button(_arg1:MouseEvent):void{
(root as MovieClip).gotoAndStop("l_lvl01");
}
function frame1(){
stop();
obj_button.addEventListener(MouseEvent.CLICK, func_Button);
}
}
}//package steampunk_armor_fla
Section 39
//backtomenu_45 (steampunk_armor_fla.backtomenu_45)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class backtomenu_45 extends MovieClip {
public var obj_button:SimpleButton;
public function backtomenu_45(){
addFrameScript(0, frame1);
}
public function func_Button(_arg1:MouseEvent):void{
(root as MovieClip).vLevelEnd = 1;
(root as MovieClip).gotoAndStop("l_restartmenu");
}
function frame1(){
stop();
obj_button.addEventListener(MouseEvent.CLICK, func_Button);
}
}
}//package steampunk_armor_fla
Section 40
//Block_Dead_25 (steampunk_armor_fla.Block_Dead_25)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Block_Dead_25 extends MovieClip {
public var obj_clsn:MovieClip;
public function Block_Dead_25(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).vLevelEnd = 1;
(root as MovieClip).obj_level.gotoAndStop("l_restart");
};
};
}
function frame1(){
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 41
//Block_Down_27 (steampunk_armor_fla.Block_Down_27)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Block_Down_27 extends MovieClip {
public var cy:Number;
public var h1:Number;
public var h2:Number;
public var obj_clsn:MovieClip;
public function Block_Down_27(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_leg)){
(root as MovieClip).obj_level.obj_hero.y = ((cy - (h1 / 2)) - (h2 / 2));
(root as MovieClip).vHeroFall = 0;
};
};
}
function frame1(){
cy = this.y;
h1 = this.height;
h2 = (root as MovieClip).obj_level.obj_hero.obj_clsn_leg.height;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 42
//Clip_Preloader_3 (steampunk_armor_fla.Clip_Preloader_3)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class Clip_Preloader_3 extends MovieClip {
public var obj_progressbar:MovieClip;
}
}//package steampunk_armor_fla
Section 43
//Clip_SoundOnOff_11 (steampunk_armor_fla.Clip_SoundOnOff_11)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
public dynamic class Clip_SoundOnOff_11 extends MovieClip {
public var obj_btn_play:SimpleButton;
public var obj_btn_stop:SimpleButton;
public function Clip_SoundOnOff_11(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
obj_btn_stop.addEventListener(MouseEvent.CLICK, func_AllSoundStop);
}
function frame2(){
stop();
obj_btn_play.addEventListener(MouseEvent.CLICK, func_AllSoundPlay);
}
public function func_AllSoundStop(_arg1:MouseEvent):void{
SoundMixer.soundTransform = new SoundTransform(0, 0);
gotoAndStop("l_stopsound");
}
public function func_AllSoundPlay(_arg1:MouseEvent):void{
SoundMixer.soundTransform = new SoundTransform(1, 0);
gotoAndStop("l_playsound");
}
}
}//package steampunk_armor_fla
Section 44
//clip_sp_link_40 (steampunk_armor_fla.clip_sp_link_40)
package steampunk_armor_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class clip_sp_link_40 extends MovieClip {
public var btn_like:SimpleButton;
public var btn_link:SimpleButton;
public function clip_sp_link_40(){
addFrameScript(0, frame1);
}
public function URL_sp_like(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://plus.google.com/u/0/104425856972539712808/posts"), "_blank");
}
function frame1(){
stop();
btn_link.addEventListener(MouseEvent.CLICK, URL_sp_link);
btn_like.addEventListener(MouseEvent.CLICK, URL_sp_like);
}
public function URL_sp_link(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://armor.ag/MoreGames"), "_blank");
}
}
}//package steampunk_armor_fla
Section 45
//clip_sp_logo_5 (steampunk_armor_fla.clip_sp_logo_5)
package steampunk_armor_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class clip_sp_logo_5 extends MovieClip {
public var btn_sp_logo:SimpleButton;
public function clip_sp_logo_5(){
addFrameScript(0, frame1, 224, frame225);
}
function frame1(){
btn_sp_logo.addEventListener(MouseEvent.CLICK, URL_sp_splash);
}
function frame225(){
(root as MovieClip).play();
}
public function URL_sp_splash(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://armor.ag/MoreGames"), "_blank");
}
}
}//package steampunk_armor_fla
Section 46
//Exit_29 (steampunk_armor_fla.Exit_29)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Exit_29 extends MovieClip {
public var cx:Number;
public var obj_clsn:MovieClip;
public function Exit_29(){
addFrameScript(0, frame1, 4, frame5);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
(root as MovieClip).obj_level.obj_hero.x = cx;
(root as MovieClip).vHeroLeft = 0;
(root as MovieClip).vHeroRight = 0;
play();
};
};
}
function frame1(){
cx = this.x;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
function frame5(){
stop();
(root as MovieClip).vLevelEnd = 1;
(root as MovieClip).play();
}
}
}//package steampunk_armor_fla
Section 47
//Exit_final_114 (steampunk_armor_fla.Exit_final_114)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Exit_final_114 extends MovieClip {
public var cx:Number;
public var obj_clsn:MovieClip;
public function Exit_final_114(){
addFrameScript(0, frame1);
}
public function func_CollisionLive(_arg1:Event){
if ((root as MovieClip).vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
} else {
if (obj_clsn.hitTestObject((root as MovieClip).obj_level.obj_hero.obj_clsn_body)){
removeEventListener(Event.ENTER_FRAME, func_CollisionLive);
(root as MovieClip).vLevelEnd = 1;
(root as MovieClip).obj_level.obj_hero.gotoAndPlay("l_stand");
(root as MovieClip).obj_level.play();
};
};
}
function frame1(){
cx = this.x;
stop();
addEventListener(Event.ENTER_FRAME, func_CollisionLive);
}
}
}//package steampunk_armor_fla
Section 48
//Hero_17 (steampunk_armor_fla.Hero_17)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Hero_17 extends MovieClip {
public var channel:SoundChannel;
public var obj_clsn_leg:MovieClip;
public var obj_clsn_body:MovieClip;
public var drum:sound_step;
public function Hero_17(){
addFrameScript(0, frame1, 22, frame23, 27, frame28, 37, frame38, 43, frame44, 62, frame63, 76, frame77, 95, frame96, 121, frame122);
}
function frame77(){
stop();
}
function frame1(){
drum = new sound_step();
}
function frame23(){
gotoAndPlay("l_stand");
}
function frame96(){
(root as MovieClip).HeroAnimPlay = 4;
}
function frame28(){
channel = drum.play();
}
function frame38(){
channel = drum.play();
}
function frame44(){
gotoAndPlay("l_r");
}
function frame122(){
stop();
}
function frame63(){
}
}
}//package steampunk_armor_fla
Section 49
//hero_zont_24 (steampunk_armor_fla.hero_zont_24)
package steampunk_armor_fla {
import flash.media.*;
import flash.display.*;
public dynamic class hero_zont_24 extends MovieClip {
public var channel:SoundChannel;
public var drum:sound_umbrella;
public function hero_zont_24(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
drum = new sound_umbrella();
channel = drum.play();
}
function frame8(){
stop();
}
}
}//package steampunk_armor_fla
Section 50
//level01_14 (steampunk_armor_fla.level01_14)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level01_14 extends MovieClip {
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level01_14(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame1(){
stop();
}
function frame4(){
play();
}
function frame5(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
function frame2(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
}
}//package steampunk_armor_fla
Section 51
//level02_47 (steampunk_armor_fla.level02_47)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level02_47 extends MovieClip {
public var obj_back2:MovieClip;
public var obj_p1:MovieClip;
public var obj_p2:MovieClip;
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public var obj_back1:MovieClip;
public function level02_47(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 4, frame5, 5, frame6);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
stop();
}
function frame6(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame5(){
play();
}
function frame2(){
stop();
}
}
}//package steampunk_armor_fla
Section 52
//level03_59 (steampunk_armor_fla.level03_59)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level03_59 extends MovieClip {
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level03_59(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 53
//level04_68 (steampunk_armor_fla.level04_68)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level04_68 extends MovieClip {
public var obj_p2:MovieClip;
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level04_68(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 54
//level05_80 (steampunk_armor_fla.level05_80)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level05_80 extends MovieClip {
public var obj_back:MovieClip;
public var obj_b1:MovieClip;
public var obj_b2:MovieClip;
public var vStep:Number;
public var obj_b3:MovieClip;
public var obj_hero:MovieClip;
public var obj_platform:MovieClip;
public var btn_start:SimpleButton;
public var obj_platform2:MovieClip;
public function level05_80(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame1(){
vStep = 0;
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame5(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
function frame4(){
play();
}
function frame2(){
stop();
vStep = 1;
}
}
}//package steampunk_armor_fla
Section 55
//level06_74 (steampunk_armor_fla.level06_74)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level06_74 extends MovieClip {
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level06_74(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 56
//level07_95 (steampunk_armor_fla.level07_95)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level07_95 extends MovieClip {
public var obj_back2:MovieClip;
public var obj_back3:MovieClip;
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public var obj_back1:MovieClip;
public function level07_95(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 57
//level08_90 (steampunk_armor_fla.level08_90)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level08_90 extends MovieClip {
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level08_90(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 58
//level09_103 (steampunk_armor_fla.level09_103)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level09_103 extends MovieClip {
public var obj_back2:MovieClip;
public var obj_btn:MovieClip;
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public var obj_back1:MovieClip;
public function level09_103(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 59
//level10_111 (steampunk_armor_fla.level10_111)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level10_111 extends MovieClip {
public var obj_back2:MovieClip;
public var obj_back3:MovieClip;
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public var obj_back1:MovieClip;
public function level10_111(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 60
//level11_108 (steampunk_armor_fla.level11_108)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level11_108 extends MovieClip {
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level11_108(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame3(){
play();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
}
}//package steampunk_armor_fla
Section 61
//level12_113 (steampunk_armor_fla.level12_113)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class level12_113 extends MovieClip {
public var obj_hero:MovieClip;
public var btn_start:SimpleButton;
public function level12_113(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function func_Button(_arg1:MouseEvent):void{
btn_start.visible = false;
(root as MovieClip).func_StartLevel();
}
function frame1(){
stop();
(root as MovieClip).func_NewLevel();
btn_start.addEventListener(MouseEvent.CLICK, func_Button);
}
function frame4(){
play();
}
function frame5(){
stop();
(root as MovieClip).obj_level.gotoAndStop("l_level");
}
function frame2(){
stop();
}
}
}//package steampunk_armor_fla
Section 62
//logo_mif2000_9 (steampunk_armor_fla.logo_mif2000_9)
package steampunk_armor_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class logo_mif2000_9 extends MovieClip {
public var btn_mif2000:SimpleButton;
public function logo_mif2000_9(){
addFrameScript(0, frame1, 44, frame45);
}
public function URL_mif2000(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://mif2000.blogspot.com/"), "_blank");
}
function frame1(){
btn_mif2000.addEventListener(MouseEvent.CLICK, URL_mif2000);
}
function frame45(){
(root as MovieClip).play();
}
}
}//package steampunk_armor_fla
Section 63
//MainTimeline (steampunk_armor_fla.MainTimeline)
package steampunk_armor_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var XRotNow:Number;
public var vHeroJumpSpeed:Number;
public var my_menu:ContextMenu;
public var vGravitation:Number;
public var obj_preloader:MovieClip;
public var vHeroFall:Number;
public var vCurrentGravitation:Number;
public var obj_level:MovieClip;
public var HeroAnimPlay:Number;
public var vHeroRight:Number;
public var XRotLast:Number;
public var vHeroCurrentJump:Number;
public var vHeroSpeed:Number;
public var vLevelEnd:Number;
public var vHeroLeft:Number;
public var vHeroY:Number;
public var vHeroX:Number;
public var vGravitationMax:Number;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19);
}
function frame14(){
stop();
}
function frame10(){
stop();
}
function frame6(){
stop();
}
function frame16(){
stop();
}
function frame1(){
stage.tabChildren = false;
my_menu = new ContextMenu();
my_menu.hideBuiltInItems();
my_menu.builtInItems.quality = true;
contextMenu = my_menu;
stop();
loaderInfo.addEventListener(ProgressEvent.PROGRESS, func_Loading);
loaderInfo.addEventListener(Event.COMPLETE, func_CompleteLoading);
}
function frame3(){
stop();
}
function frame12(){
stop();
}
function frame13(){
stop();
}
function frame4(){
vLevelEnd = 0;
vHeroLeft = 0;
vHeroRight = 0;
vHeroFall = 0;
XRotNow = 1;
XRotLast = 1;
HeroAnimPlay = 0;
vHeroCurrentJump = 0;
vHeroX = 0;
vHeroY = 0;
vGravitation = 5;
vGravitationMax = 15;
vCurrentGravitation = vGravitation;
vHeroSpeed = 5;
vHeroJumpSpeed = 30;
}
function frame5(){
play();
}
public function func_CompleteLoading(_arg1:Event):void{
play();
}
function frame8(){
stop();
obj_level.play();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
public function func_DragStop(_arg1:MouseEvent):void{
if (vLevelEnd == 1){
stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP, func_DragStop);
} else {
stopDrag();
};
}
public function func_Loading(_arg1:ProgressEvent):void{
var _local2:uint;
var _local3:uint;
var _local4:uint;
_local2 = _arg1.bytesLoaded;
_local3 = _arg1.bytesTotal;
_local4 = int(((_local2 / _local3) * 100));
obj_preloader.obj_progressbar.gotoAndStop((_local4 + 1));
}
function frame18(){
stop();
}
function frame19(){
stop();
}
public function func_LevelLive(_arg1:Event){
if (vLevelEnd == 1){
removeEventListener(Event.ENTER_FRAME, func_LevelLive);
} else {
vHeroX = 0;
if (vHeroLeft == 1){
vHeroX = (-1 * vHeroSpeed);
};
if (vHeroRight == 1){
vHeroX = vHeroSpeed;
};
if (vHeroFall == 0){
vHeroCurrentJump = 0;
vCurrentGravitation = vGravitation;
};
if (vHeroCurrentJump > 0){
vHeroCurrentJump = (vHeroCurrentJump - 1);
};
vHeroY = vHeroCurrentJump;
if (HeroAnimPlay == 4){
vCurrentGravitation = (vCurrentGravitation - 1);
} else {
vCurrentGravitation = (vCurrentGravitation + 1);
};
if (vCurrentGravitation < vGravitation){
vCurrentGravitation = vGravitation;
};
if (vCurrentGravitation > vGravitationMax){
vCurrentGravitation = vGravitationMax;
};
if ((((vHeroCurrentJump > 0)) || ((vCurrentGravitation > (vGravitation + 3))))){
if (HeroAnimPlay == 3){
vHeroX = (vHeroX / 2);
};
};
obj_level.obj_hero.x = (obj_level.obj_hero.x + vHeroX);
if (vHeroFall == 1){
obj_level.obj_hero.y = (obj_level.obj_hero.y + (vCurrentGravitation - vHeroY));
};
if (vHeroLeft == 1){
XRotNow = 0;
};
if (vHeroRight == 1){
XRotNow = 1;
};
if (XRotNow != XRotLast){
obj_level.obj_hero.scaleX = (obj_level.obj_hero.scaleX * -1);
XRotLast = XRotNow;
};
if (vHeroFall == 1){
if (vHeroCurrentJump > 0){
if (((!((HeroAnimPlay == 2))) && (!((HeroAnimPlay == 4))))){
HeroAnimPlay = 2;
obj_level.obj_hero.gotoAndPlay("l_jump2");
};
} else {
if (vCurrentGravitation > (vGravitation + 3)){
if (((!((HeroAnimPlay == 3))) && (!((HeroAnimPlay == 4))))){
HeroAnimPlay = 3;
obj_level.obj_hero.gotoAndPlay("l_fall");
};
};
};
} else {
if ((((((vHeroLeft == 1)) || ((vHeroRight == 1)))) && ((vHeroFall == 0)))){
if (HeroAnimPlay != 1){
HeroAnimPlay = 1;
obj_level.obj_hero.gotoAndPlay("l_run");
};
} else {
if (HeroAnimPlay != 0){
HeroAnimPlay = 0;
obj_level.obj_hero.gotoAndPlay("l_stand");
};
};
};
vHeroFall = 1;
};
}
public function func_StartLevel():void{
vHeroRight = 1;
}
public function func_DragStop2(_arg1:Event):void{
if (vLevelEnd == 1){
stopDrag();
stage.removeEventListener(Event.MOUSE_LEAVE, func_DragStop2);
} else {
stopDrag();
};
}
function frame11(){
stop();
}
function frame17(){
stop();
}
public function func_NewLevel():void{
vLevelEnd = 0;
vHeroX = 0;
vHeroY = 0;
vHeroCurrentJump = 0;
vHeroLeft = 0;
vHeroRight = 0;
vHeroFall = 0;
XRotNow = 1;
XRotLast = 1;
HeroAnimPlay = 0;
stage.addEventListener(MouseEvent.MOUSE_UP, func_DragStop);
stage.addEventListener(Event.MOUSE_LEAVE, func_DragStop2);
addEventListener(Event.ENTER_FRAME, func_LevelLive);
}
}
}//package steampunk_armor_fla
Section 64
//menu_main_35 (steampunk_armor_fla.menu_main_35)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class menu_main_35 extends MovieClip {
public function menu_main_35(){
addFrameScript(44, frame45);
}
function frame45(){
stop();
}
}
}//package steampunk_armor_fla
Section 65
//platform2_32 (steampunk_armor_fla.platform2_32)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class platform2_32 extends MovieClip {
public function platform2_32(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package steampunk_armor_fla
Section 66
//platform3_52 (steampunk_armor_fla.platform3_52)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class platform3_52 extends MovieClip {
public function platform3_52(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package steampunk_armor_fla
Section 67
//platform4_73 (steampunk_armor_fla.platform4_73)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class platform4_73 extends MovieClip {
public function platform4_73(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package steampunk_armor_fla
Section 68
//platform5_66 (steampunk_armor_fla.platform5_66)
package steampunk_armor_fla {
import flash.display.*;
public dynamic class platform5_66 extends MovieClip {
public function platform5_66(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package steampunk_armor_fla
Section 69
//waklt_43 (steampunk_armor_fla.waklt_43)
package steampunk_armor_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class waklt_43 extends MovieClip {
public var obj_button:SimpleButton;
public function waklt_43(){
addFrameScript(0, frame1);
}
public function func_Button(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://armorgames.com/guide/Steampunk-Odyssey-Walkthrough"), "_blank");
}
function frame1(){
stop();
obj_button.addEventListener(MouseEvent.CLICK, func_Button);
}
}
}//package steampunk_armor_fla
Section 70
//sound_barrel1 (sound_barrel1)
package {
import flash.media.*;
public dynamic class sound_barrel1 extends Sound {
}
}//package
Section 71
//sound_barrel2 (sound_barrel2)
package {
import flash.media.*;
public dynamic class sound_barrel2 extends Sound {
}
}//package
Section 72
//sound_platform (sound_platform)
package {
import flash.media.*;
public dynamic class sound_platform extends Sound {
}
}//package
Section 73
//sound_steam (sound_steam)
package {
import flash.media.*;
public dynamic class sound_steam extends Sound {
}
}//package
Section 74
//sound_step (sound_step)
package {
import flash.media.*;
public dynamic class sound_step extends Sound {
}
}//package
Section 75
//sound_switch (sound_switch)
package {
import flash.media.*;
public dynamic class sound_switch extends Sound {
}
}//package
Section 76
//sound_umbrella (sound_umbrella)
package {
import flash.media.*;
public dynamic class sound_umbrella extends Sound {
}
}//package