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

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

Best Friends Forever 3 - help the trio of friends to reach the end of each level.swf

This is the info page for
Flash #93096

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


Text
Exit

ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj

2

not

DOPPLER

Click anywhere to unpause

Arrow Keys to move
Up to jump
Space to Swap
C to use levers
M to Mute

You must mute outside of the pause menu

not

DOPPLER

More Games

Credits

Resume

Play

3

Best

Friends

forever

MUTE
MUSIC

Extras

Best

forever

Friends

1

Resume from level

Back

Back

As you play through the
game, you can unlock a few
different things. Unlocks are
usually found in hard to
reach areas. You can toggle
unlocks in here. High jumps
WILL break some puzzles but
are neccasary for getting
those unlocks in some levels!

Upside-Down Camera

Upside-Down Camera

New Music

New Music

High Jumps

High Jumps

Backflips

Backflips

Zoomy

Zoomy

How Many Have Died?

Use the arrows
to control your
character

Looks like we're
done for the day! I
can't wait to go
home to see my
wife!

Yeah, I need to
get home soon so
I can eat dinner
with my 10 sons.

I never had kids,
and I don't really
like my wife, And
my mother-in-law
is living with me.
My life sucks.

EXIT

Click anywhere to skip
(But I recomend that you don't)

Press  P to pause.

Press  R to restart.

Press  M to mute music.

Press  Q to go to menu.

Time left before you die a horrible, gassy death:

Time

Walkthrough?

<p align="left"><font face="04b30" size="30" color="#990000" letterSpacing="0.000000" kerning="0"><b>Level:</b></font></p>

Level

It appears as
though we have
escaped the inner
workings of that
mine unscatched.

ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj
ojojojojojojojojojoj

I was just
wondering,
shouldn't we like,
call our boss or
something?

We're victims of a
VERY serious
mining accident.
We can get
workers comp or
something.

Seriously, just
shut your damn
mouth Fred!
You're always
looking for a
freaking handout.

How about you
ZIP IT. You were
completley usless
while we were
working our way
through the cave!

Fred's not the guy
who CRUSHED
AND IMPALED
ME 5 TIMES! You
need to get a clue.

As you play through the
game, you can unlock many
different things. Unlocks are
usually found in hard to
reach areas. You can toggle
unlocks in here. High jumps
WILL break some puzzles but
are neccasary for getting
those unlocks in some levels!

Trippppyyyyy

ActionScript [AS3]

Section 1
//asasasas_38 (bffMain_fla.asasasas_38) package bffMain_fla { import flash.display.*; public dynamic class asasasas_38 extends MovieClip { public var heads:MovieClip; } }//package bffMain_fla
Section 2
//axeInPlayer_85 (bffMain_fla.axeInPlayer_85) package bffMain_fla { import flash.display.*; public dynamic class axeInPlayer_85 extends MovieClip { public function axeInPlayer_85(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bffMain_fla
Section 3
//Climbeh_89 (bffMain_fla.Climbeh_89) package bffMain_fla { import flash.display.*; public dynamic class Climbeh_89 extends MovieClip { public function Climbeh_89(){ addFrameScript(0, frame1, 15, frame16); } function frame16(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package bffMain_fla
Section 4
//Duck_87 (bffMain_fla.Duck_87) package bffMain_fla { import flash.display.*; public dynamic class Duck_87 extends MovieClip { public function Duck_87(){ addFrameScript(0, frame1); } function frame1(){ if (Main(parent.parent).retStyle){ visible = false; } else { visible = true; }; } } }//package bffMain_fla
Section 5
//Ending_91 (bffMain_fla.Ending_91) package bffMain_fla { import flash.display.*; public dynamic class Ending_91 extends MovieClip { public function Ending_91(){ addFrameScript(1257, frame1258); } function frame1258(){ Main(parent).gotoAndStop(5); } } }//package bffMain_fla
Section 6
//endLevClip_79 (bffMain_fla.endLevClip_79) package bffMain_fla { import flash.display.*; public dynamic class endLevClip_79 extends MovieClip { public var mister:MovieClip; public var helps:MovieClip; public function endLevClip_79(){ addFrameScript(0, frame1, 30, frame31); } function frame1(){ stop(); } function frame31(){ MovieClip(parent).play(); play(); } } }//package bffMain_fla
Section 7
//endLevClipcopy_61 (bffMain_fla.endLevClipcopy_61) package bffMain_fla { import flash.display.*; public dynamic class endLevClipcopy_61 extends MovieClip { public function endLevClipcopy_61(){ addFrameScript(0, frame1, 47, frame48); } function frame1(){ stop(); } function frame48(){ MovieClip(parent).play(); } } }//package bffMain_fla
Section 8
//endLevClipcopy2_62 (bffMain_fla.endLevClipcopy2_62) package bffMain_fla { import flash.display.*; public dynamic class endLevClipcopy2_62 extends MovieClip { public function endLevClipcopy2_62(){ addFrameScript(0, frame1, 47, frame48); } function frame1(){ stop(); } function frame48(){ MovieClip(parent).gotoAndStop(14); } } }//package bffMain_fla
Section 9
//HitTestBox_105 (bffMain_fla.HitTestBox_105) package bffMain_fla { import flash.display.*; public dynamic class HitTestBox_105 extends MovieClip { public function HitTestBox_105(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package bffMain_fla
Section 10
//Inaers_82 (bffMain_fla.Inaers_82) package bffMain_fla { import flash.display.*; import flash.text.*; public dynamic class Inaers_82 extends MovieClip { public var pes:TextField; public function Inaers_82(){ addFrameScript(0, frame1); } function frame1(){ try { pes.text = String(Main(parent.parent).curLev); } catch(error:TypeError) { }; } } }//package bffMain_fla
Section 11
//introFlash_11 (bffMain_fla.introFlash_11) package bffMain_fla { import flash.display.*; public dynamic class introFlash_11 extends MovieClip { public function introFlash_11(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package bffMain_fla
Section 12
//IntroMovie_72 (bffMain_fla.IntroMovie_72) package bffMain_fla { import flash.display.*; public dynamic class IntroMovie_72 extends MovieClip { public var flake:MovieClip; public function IntroMovie_72(){ addFrameScript(950, frame951); } function frame951(){ Main(parent).play(); } } }//package bffMain_fla
Section 13
//jump_88 (bffMain_fla.jump_88) package bffMain_fla { import flash.display.*; public dynamic class jump_88 extends MovieClip { public function jump_88(){ addFrameScript(0, frame1); } function frame1(){ if (Main(parent.parent).retStyle){ visible = false; } else { visible = true; }; } } }//package bffMain_fla
Section 14
//MainLogo_37 (bffMain_fla.MainLogo_37) package bffMain_fla { import flash.display.*; public dynamic class MainLogo_37 extends MovieClip { public var heads:MovieClip; } }//package bffMain_fla
Section 15
//notDoppler_intro_9 (bffMain_fla.notDoppler_intro_9) package bffMain_fla { import flash.display.*; public dynamic class notDoppler_intro_9 extends MovieClip { public function notDoppler_intro_9(){ addFrameScript(185, frame186); } function frame186(){ stop(); MovieClip(parent).play(); MovieClip(parent).removeChild(this); } } }//package bffMain_fla
Section 16
//Pause_7 (bffMain_fla.Pause_7) package bffMain_fla { import flash.display.*; public dynamic class Pause_7 extends MovieClip { public var moregames:SimpleButton; } }//package bffMain_fla
Section 17
//PLes_80 (bffMain_fla.PLes_80) package bffMain_fla { import flash.display.*; import flash.text.*; public dynamic class PLes_80 extends MovieClip { public var plest:TextField; } }//package bffMain_fla
Section 18
//SignInnards_114 (bffMain_fla.SignInnards_114) package bffMain_fla { import flash.display.*; import flash.text.*; public dynamic class SignInnards_114 extends MovieClip { public var bawx:TextField; } }//package bffMain_fla
Section 19
//SponsorLogo_5 (bffMain_fla.SponsorLogo_5) package bffMain_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class SponsorLogo_5 extends MovieClip { public function SponsorLogo_5(){ addFrameScript(0, frame1); } function frame1(){ addEventListener(MouseEvent.CLICK, clicke); } public function clicke(_arg1:MouseEvent){ var _local2:String; var _local3:URLRequest; if (this.hitTestPoint(stage.mouseX, stage.mouseY)){ _local2 = "http://www.notdoppler.com/?ref=bestfriendsforever3"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); }; } } }//package bffMain_fla
Section 20
//SponsorLogocopy2_81 (bffMain_fla.SponsorLogocopy2_81) package bffMain_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class SponsorLogocopy2_81 extends MovieClip { public function SponsorLogocopy2_81(){ addFrameScript(0, frame1); } function frame1(){ addEventListener(MouseEvent.CLICK, clicke); } public function clicke(_arg1:MouseEvent){ var _local2:String; var _local3:URLRequest; if (this.hitTestPoint(stage.mouseX, stage.mouseY)){ _local2 = "http://www.notdoppler.com/bestfriendsforever3-walkthrough.php"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); }; } } }//package bffMain_fla
Section 21
//Symbol10_13 (bffMain_fla.Symbol10_13) package bffMain_fla { import flash.display.*; public dynamic class Symbol10_13 extends MovieClip { public var buttsMute:SimpleButton; public function Symbol10_13(){ addFrameScript(57, frame58); } function frame58(){ MovieClip(parent).play(); } } }//package bffMain_fla
Section 22
//Symbol12_86 (bffMain_fla.Symbol12_86) package bffMain_fla { import flash.display.*; public dynamic class Symbol12_86 extends MovieClip { public function Symbol12_86(){ addFrameScript(0, frame1); } function frame1(){ if (Main(parent.parent).retStyle){ visible = false; } else { visible = true; }; } } }//package bffMain_fla
Section 23
//Symbol26_90 (bffMain_fla.Symbol26_90) package bffMain_fla { import flash.display.*; public dynamic class Symbol26_90 extends MovieClip { public function Symbol26_90(){ addFrameScript(2, frame3); } function frame3(){ stop(); } } }//package bffMain_fla
Section 24
//Symbol3_27 (bffMain_fla.Symbol3_27) package bffMain_fla { import flash.display.*; public dynamic class Symbol3_27 extends MovieClip { public function Symbol3_27(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package bffMain_fla
Section 25
//Symbol3copy_33 (bffMain_fla.Symbol3copy_33) package bffMain_fla { import flash.display.*; public dynamic class Symbol3copy_33 extends MovieClip { public function Symbol3copy_33(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package bffMain_fla
Section 26
//Symbol3copy2_29 (bffMain_fla.Symbol3copy2_29) package bffMain_fla { import flash.display.*; public dynamic class Symbol3copy2_29 extends MovieClip { public function Symbol3copy2_29(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package bffMain_fla
Section 27
//Symbol3copy3_31 (bffMain_fla.Symbol3copy3_31) package bffMain_fla { import flash.display.*; public dynamic class Symbol3copy3_31 extends MovieClip { public function Symbol3copy3_31(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package bffMain_fla
Section 28
//Symbol3copy4_35 (bffMain_fla.Symbol3copy4_35) package bffMain_fla { import flash.display.*; public dynamic class Symbol3copy4_35 extends MovieClip { public function Symbol3copy4_35(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package bffMain_fla
Section 29
//TextHold_84 (bffMain_fla.TextHold_84) package bffMain_fla { import flash.display.*; import flash.text.*; public dynamic class TextHold_84 extends MovieClip { public var inden:TextField; } }//package bffMain_fla
Section 30
//Timeline_2 (bffMain_fla.Timeline_2) package bffMain_fla { import flash.display.*; public dynamic class Timeline_2 extends MovieClip { public function Timeline_2(){ addFrameScript(177, frame178); } function frame178(){ MovieClip(parent).nextFrame(); } } }//package bffMain_fla
Section 31
//VCam_AS3_78 (bffMain_fla.VCam_AS3_78) package bffMain_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.geom.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.ui.*; import flash.system.*; import flash.filters.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class VCam_AS3_78 extends MovieClip { public var sH:Number; public var rp:Point; public var sW:Number; public var bounds_obj:Object; public var camH:Number; public var camW:Number; public var oldScaleMode:String; public function VCam_AS3_78(){ addFrameScript(0, frame1); } public function set scaleX2(_arg1:Number):void{ setProperty2("scaleX", _arg1); } function frame1(){ mouseEnabled = false; visible = false; oldScaleMode = stage.scaleMode; stage.scaleMode = "exactFit"; sW = stage.stageWidth; sH = stage.stageHeight; stage.scaleMode = oldScaleMode; bounds_obj = this.getBounds(this); camH = bounds_obj.height; camW = bounds_obj.width; rp = new Point(x, y); addEventListener(Event.ENTER_FRAME, camControl); addEventListener(Event.REMOVED_FROM_STAGE, reset); camControl(); } public function set x2(_arg1:Number):void{ var _local2:Point; _local2 = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent.x = (parent.x + (_arg1 - _local2.x)); } public function get rotation2():Number{ return (parent.rotation); } public function camControl(... _args):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; rp.x = x; rp.y = y; _local2 = (camH * scaleY); _local3 = (camW * scaleX); _local4 = (sH / _local2); _local5 = (sW / _local3); x2 = ((_local3 / 2) * _local5); y2 = ((_local2 / 2) * _local4); scaleX2 = _local5; scaleY2 = _local4; rotation2 = -(rotation); parent.filters = this.filters; parent.transform.colorTransform = this.transform.colorTransform; } public function set scaleY2(_arg1:Number):void{ setProperty2("scaleY", _arg1); } public function get scaleX2():Number{ return (parent.scaleX); } public function get x2():Number{ var _local1:Point; _local1 = parent.parent.globalToLocal(parent.localToGlobal(rp)); return (_local1.x); } public function setProperty2(_arg1:String, _arg2:Number):void{ var _local3:Point; var _local4:Point; _local3 = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent[_arg1] = _arg2; _local4 = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent.x = (parent.x - (_local4.x - _local3.x)); parent.y = (parent.y - (_local4.y - _local3.y)); } public function set y2(_arg1:Number):void{ var _local2:Point; _local2 = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent.y = (parent.y + (_arg1 - _local2.y)); } public function reset(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, camControl); removeEventListener(Event.REMOVED_FROM_STAGE, reset); parent.scaleX = 1; parent.scaleY = 1; parent.x = 0; parent.y = 0; parent.rotation = 0; parent.visible = true; } public function get scaleY2():Number{ return (parent.scaleY); } public function get y2():Number{ var _local1:Point; _local1 = parent.parent.globalToLocal(parent.localToGlobal(rp)); return (_local1.y); } public function set rotation2(_arg1:Number):void{ setProperty2("rotation", _arg1); } } }//package bffMain_fla
Section 32
//SoundManager (com.reintroducing.sound.SoundManager) package com.reintroducing.sound { import flash.media.*; import gs.*; import flash.utils.*; import flash.net.*; public class SoundManager { private var _soundsDict:Dictionary; private var _sounds:Array; private static var _instance:SoundManager; private static var _allowInstance:Boolean; public function SoundManager(){ this._soundsDict = new Dictionary(true); this._sounds = new Array(); if (!SoundManager._allowInstance){ throw (new Error("Error: Use SoundManager.getInstance() instead of the new keyword.")); }; } public function fadeSound(_arg1:String, _arg2:Number=0, _arg3:Number=1):void{ var _local4:SoundChannel; _local4 = this._soundsDict[_arg1].channel; TweenLite.to(_local4, _arg3, {volume:_arg2}); } public function get sounds():Array{ return (this._sounds); } public function getSoundDuration(_arg1:String):Number{ return (this._soundsDict[_arg1].sound.length); } public function setSoundVolume(_arg1:String, _arg2:Number):void{ var _local3:Object; var _local4:SoundTransform; _local3 = this._soundsDict[_arg1]; _local4 = _local3.channel.soundTransform; _local4.volume = _arg2; _local3.channel.soundTransform = _local4; } public function getSoundVolume(_arg1:String):Number{ return (this._soundsDict[_arg1].channel.soundTransform.volume); } public function addLibrarySound(_arg1, _arg2:String):Boolean{ var _local3:int; var _local4:Object; var _local5:Sound; _local3 = 0; while (_local3 < this._sounds.length) { if (this._sounds[_local3].name == _arg2){ return (false); }; _local3++; }; _local4 = new Object(); _local5 = new (_arg1); _local4.name = _arg2; _local4.sound = _local5; _local4.channel = new SoundChannel(); _local4.position = 0; _local4.paused = true; _local4.volume = 1; _local4.startTime = 0; _local4.loops = 0; _local4.pausedByAll = false; this._soundsDict[_arg2] = _local4; this._sounds.push(_local4); return (true); } public function toString():String{ return (getQualifiedClassName(this)); } public function isSoundPaused(_arg1:String):Boolean{ return (this._soundsDict[_arg1].paused); } public function removeAllSounds():void{ var _local1:int; _local1 = 0; while (_local1 < this._sounds.length) { this._sounds[_local1] = null; _local1++; }; this._sounds = new Array(); this._soundsDict = new Dictionary(true); } public function getSoundPosition(_arg1:String):Number{ return (this._soundsDict[_arg1].channel.position); } public function stopAllSounds(_arg1:Boolean=true):void{ var _local2:int; var _local3:String; _local2 = 0; while (_local2 < this._sounds.length) { _local3 = this._sounds[_local2].name; if (_arg1){ if (!this._soundsDict[_local3].paused){ this._soundsDict[_local3].pausedByAll = true; this.stopSound(_local3); }; } else { this.stopSound(_local3); }; _local2++; }; } public function removeSound(_arg1:String):void{ var _local2:int; _local2 = 0; while (_local2 < this._sounds.length) { if (this._sounds[_local2].name == _arg1){ this._sounds[_local2] = null; this._sounds.splice(_local2, 1); }; _local2++; }; delete this._soundsDict[_arg1]; } public function muteAllSounds():void{ var _local1:int; var _local2:String; _local1 = 0; while (_local1 < this._sounds.length) { _local2 = this._sounds[_local1].name; this.setSoundVolume(_local2, 0); _local1++; }; } public function stopSound(_arg1:String):void{ var _local2:Object; _local2 = this._soundsDict[_arg1]; _local2.paused = true; _local2.channel.stop(); _local2.position = _local2.channel.position; } public function pauseAllSounds(_arg1:Boolean=true):void{ var _local2:int; var _local3:String; _local2 = 0; while (_local2 < this._sounds.length) { _local3 = this._sounds[_local2].name; if (_arg1){ if (!this._soundsDict[_local3].paused){ this._soundsDict[_local3].pausedByAll = true; this.pauseSound(_local3); }; } else { this.pauseSound(_local3); }; _local2++; }; } public function playAllSounds(_arg1:Boolean=false):void{ var _local2:int; var _local3:String; _local2 = 0; while (_local2 < this._sounds.length) { _local3 = this._sounds[_local2].name; if (_arg1){ if (this._soundsDict[_local3].pausedByAll){ this._soundsDict[_local3].pausedByAll = false; this.playSound(_local3); }; } else { this.playSound(_local3); }; _local2++; }; } public function addExternalSound(_arg1:String, _arg2:String, _arg3:Number=1000, _arg4:Boolean=false):Boolean{ var _local5:int; var _local6:Object; var _local7:Sound; _local5 = 0; while (_local5 < this._sounds.length) { if (this._sounds[_local5].name == _arg2){ return (false); }; _local5++; }; _local6 = new Object(); _local7 = new Sound(new URLRequest(_arg1), new SoundLoaderContext(_arg3, _arg4)); _local6.name = _arg2; _local6.sound = _local7; _local6.channel = new SoundChannel(); _local6.position = 0; _local6.paused = true; _local6.volume = 1; _local6.startTime = 0; _local6.loops = 0; _local6.pausedByAll = false; this._soundsDict[_arg2] = _local6; this._sounds.push(_local6); return (true); } public function unmuteAllSounds():void{ var _local1:int; var _local2:String; var _local3:Object; var _local4:SoundTransform; _local1 = 0; while (_local1 < this._sounds.length) { _local2 = this._sounds[_local1].name; _local3 = this._soundsDict[_local2]; _local4 = _local3.channel.soundTransform; _local4.volume = _local3.volume; _local3.channel.soundTransform = _local4; _local1++; }; } public function isSoundPausedByAll(_arg1:String):Boolean{ return (this._soundsDict[_arg1].pausedByAll); } public function getSoundObject(_arg1:String):Sound{ return (this._soundsDict[_arg1].sound); } public function pauseSound(_arg1:String):void{ var _local2:Object; _local2 = this._soundsDict[_arg1]; _local2.paused = true; _local2.position = _local2.channel.position; _local2.channel.stop(); } public function playSound(_arg1:String, _arg2:Number=1, _arg3:Number=0, _arg4:int=0):void{ var _local5:Object; _local5 = this._soundsDict[_arg1]; _local5.volume = _arg2; _local5.startTime = _arg3; _local5.loops = _arg4; if (_local5.paused){ _local5.channel = _local5.sound.play(_local5.position, _local5.loops, new SoundTransform(_local5.volume)); } else { _local5.channel = _local5.sound.play(_arg3, _local5.loops, new SoundTransform(_local5.volume)); }; _local5.paused = false; } public static function getInstance():SoundManager{ if (SoundManager._instance == null){ SoundManager._allowInstance = true; SoundManager._instance = new (SoundManager); SoundManager._allowInstance = false; }; return (SoundManager._instance); } } }//package com.reintroducing.sound
Section 33
//BaseButton (fl.controls.BaseButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.events.*; import flash.utils.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 34
//Button (fl.controls.Button) package fl.controls { import flash.display.*; import fl.core.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 35
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 36
//LabelButton (fl.controls.LabelButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 37
//NumericStepper (fl.controls.NumericStepper) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.ui.*; public class NumericStepper extends UIComponent implements IFocusManagerComponent { protected var upArrow:BaseButton; protected var _stepSize:Number;// = 1 protected var downArrow:BaseButton; protected var _value:Number;// = 1 protected var _minimum:Number;// = 0 protected var _maximum:Number;// = 10 protected var _precision:Number; protected var inputField:TextInput; protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const TEXT_INPUT_STYLES:Object = {upSkin:"upSkin", disabledSkin:"disabledSkin", textPadding:"textPadding", textFormat:"textFormat", disabledTextFormat:"disabledTextFormat", embedFonts:"embedFonts"}; protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {downArrowDisabledSkin:"NumericStepperDownArrow_disabledSkin", downArrowDownSkin:"NumericStepperDownArrow_downSkin", downArrowOverSkin:"NumericStepperDownArrow_overSkin", downArrowUpSkin:"NumericStepperDownArrow_upSkin", upArrowDisabledSkin:"NumericStepperUpArrow_disabledSkin", upArrowDownSkin:"NumericStepperUpArrow_downSkin", upArrowOverSkin:"NumericStepperUpArrow_overSkin", upArrowUpSkin:"NumericStepperUpArrow_upSkin", upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRect:null, focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35, embedFonts:false}; public function NumericStepper(){ _maximum = 10; _minimum = 0; _value = 1; _stepSize = 1; super(); setStyles(); stepSize = _stepSize; } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); }; } public function get minimum():Number{ return (_minimum); } public function set imeMode(_arg1:String):void{ inputField.imeMode = _arg1; } public function set minimum(_arg1:Number):void{ _minimum = _arg1; if (_value < _minimum){ setValue(_minimum, false); }; } public function get maximum():Number{ return (_maximum); } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == inputField)) || (super.isOurFocus(_arg1)))); } public function get nextValue():Number{ var _local1:Number; _local1 = (_value + _stepSize); return ((inRange(_local1)) ? _local1 : _value); } public function set maximum(_arg1:Number):void{ _maximum = _arg1; if (_value > _maximum){ setValue(_maximum, false); }; } protected function setValue(_arg1:Number, _arg2:Boolean=true):void{ var _local3:Number; if (_arg1 == _value){ return; }; _local3 = _value; _value = getValidValue(_arg1); inputField.text = _value.toString(); if (_arg2){ dispatchEvent(new Event(Event.CHANGE, true)); }; } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:Number; if (!enabled){ return; }; _arg1.stopImmediatePropagation(); _local2 = Number(inputField.text); switch (_arg1.keyCode){ case Keyboard.END: setValue(maximum); break; case Keyboard.HOME: setValue(minimum); break; case Keyboard.UP: setValue(nextValue); break; case Keyboard.DOWN: setValue(previousValue); break; case Keyboard.ENTER: setValue(_local2); break; }; } override public function set enabled(_arg1:Boolean):void{ if (_arg1 == enabled){ return; }; super.enabled = _arg1; upArrow.enabled = (downArrow.enabled = (inputField.enabled = _arg1)); } protected function onTextChange(_arg1:Event):void{ _arg1.stopImmediatePropagation(); } public function get previousValue():Number{ var _local1:Number; _local1 = (_value - _stepSize); return ((inRange(_local1)) ? _local1 : _value); } protected function getValidValue(_arg1:Number):Number{ var _local2:Number; if (isNaN(_arg1)){ return (_value); }; _local2 = Number((_stepSize * Math.round((_arg1 / _stepSize))).toFixed(_precision)); if (_local2 > maximum){ return (maximum); }; if (_local2 < minimum){ return (minimum); }; return (_local2); } public function set value(_arg1:Number):void{ setValue(_arg1, false); } public function get stepSize():Number{ return (_stepSize); } protected function passEvent(_arg1:Event):void{ dispatchEvent(_arg1); } public function get imeMode():String{ return (inputField.imeMode); } protected function stepperPressHandler(_arg1:ComponentEvent):void{ setValue(Number(inputField.text), false); switch (_arg1.currentTarget){ case upArrow: setValue(nextValue); break; case downArrow: setValue(previousValue); }; inputField.setFocus(); inputField.textField.setSelection(0, 0); } override protected function focusOutHandler(_arg1:FocusEvent):void{ if (_arg1.eventPhase == 3){ setValue(Number(inputField.text)); }; super.focusOutHandler(_arg1); } protected function inRange(_arg1:Number):Boolean{ return ((((_arg1 >= _minimum)) && ((_arg1 <= _maximum)))); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ setStyles(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; validate(); } override protected function configUI():void{ super.configUI(); upArrow = new BaseButton(); copyStylesToChild(upArrow, UP_ARROW_STYLES); upArrow.autoRepeat = true; upArrow.setSize(21, 12); upArrow.focusEnabled = false; addChild(upArrow); downArrow = new BaseButton(); copyStylesToChild(downArrow, DOWN_ARROW_STYLES); downArrow.autoRepeat = true; downArrow.setSize(21, 12); downArrow.focusEnabled = false; addChild(downArrow); inputField = new TextInput(); copyStylesToChild(inputField, TEXT_INPUT_STYLES); inputField.restrict = "0-9\\-\\.\\,"; inputField.text = _value.toString(); inputField.setSize(21, 24); inputField.focusTarget = (this as IFocusManagerComponent); inputField.focusEnabled = false; inputField.addEventListener(FocusEvent.FOCUS_IN, passEvent); inputField.addEventListener(FocusEvent.FOCUS_OUT, passEvent); addChild(inputField); inputField.addEventListener(Event.CHANGE, onTextChange, false, 0, true); upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, stepperPressHandler, false, 0, true); downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, stepperPressHandler, false, 0, true); } public function get value():Number{ return (_value); } protected function inStep(_arg1:Number):Boolean{ return ((((_arg1 - _minimum) % _stepSize) == 0)); } protected function drawLayout():void{ var _local1:Number; var _local2:Number; _local1 = (width - upArrow.width); _local2 = (height / 2); inputField.setSize(_local1, height); upArrow.height = _local2; downArrow.height = Math.floor(_local2); downArrow.move(_local1, _local2); upArrow.move(_local1, 0); downArrow.drawNow(); upArrow.drawNow(); inputField.drawNow(); } override public function setFocus():void{ if (stage){ stage.focus = inputField.textField; }; } protected function getPrecision():Number{ var _local1:String; _local1 = _stepSize.toString(); if (_local1.indexOf(".") == -1){ return (0); }; return (_local1.split(".").pop().length); } public function get textField():TextInput{ return (inputField); } public function set stepSize(_arg1:Number):void{ _stepSize = _arg1; _precision = getPrecision(); setValue(_value); } protected function setStyles():void{ copyStylesToChild(downArrow, DOWN_ARROW_STYLES); copyStylesToChild(upArrow, UP_ARROW_STYLES); copyStylesToChild(inputField, TEXT_INPUT_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 38
//TextInput (fl.controls.TextInput) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class TextInput extends UIComponent implements IFocusManagerComponent { protected var _html:Boolean;// = false protected var _savedHTML:String; protected var background:DisplayObject; protected var _editable:Boolean;// = true public var textField:TextField; private static var defaultStyles:Object = {upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:0, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function TextInput(){ _editable = true; _html = false; super(); } override public function drawFocus(_arg1:Boolean):void{ if (focusTarget != null){ focusTarget.drawFocus(_arg1); return; }; super.drawFocus(_arg1); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == textField)) || (super.isOurFocus(_arg1)))); } protected function handleKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ dispatchEvent(new ComponentEvent(ComponentEvent.ENTER, true)); }; } public function set text(_arg1:String):void{ textField.text = _arg1; _html = false; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } protected function updateTextFieldType():void{ textField.type = (((enabled) && (editable))) ? TextFieldType.INPUT : TextFieldType.DYNAMIC; textField.selectable = enabled; } public function get selectionEndIndex():int{ return (textField.selectionEndIndex); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (_arg1.target == this){ stage.focus = textField; }; _local2 = focusManager; if (((editable) && (_local2))){ _local2.showFocusIndicator = true; if (((textField.selectable) && ((textField.selectionBeginIndex == textField.selectionBeginIndex)))){ setSelection(0, textField.length); }; }; super.focusInHandler(_arg1); if (editable){ setIMEMode(true); }; } public function get selectionBeginIndex():int{ return (textField.selectionBeginIndex); } public function set alwaysShowSelection(_arg1:Boolean):void{ textField.alwaysShowSelection = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; updateTextFieldType(); } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } public function get horizontalScrollPosition():int{ return (textField.scrollH); } public function set condenseWhite(_arg1:Boolean):void{ textField.condenseWhite = _arg1; } public function set displayAsPassword(_arg1:Boolean):void{ textField.displayAsPassword = _arg1; } public function set horizontalScrollPosition(_arg1:int):void{ textField.scrollH = _arg1; } public function get restrict():String{ return (textField.restrict); } public function get textWidth():Number{ return (textField.textWidth); } public function get textHeight():Number{ return (textField.textHeight); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; updateTextFieldType(); } public function get maxChars():int{ return (textField.maxChars); } public function get length():int{ return (textField.length); } public function getLineMetrics(_arg1:int):TextLineMetrics{ return (textField.getLineMetrics(_arg1)); } public function get imeMode():String{ return (_imeMode); } override protected function focusOutHandler(_arg1:FocusEvent):void{ super.focusOutHandler(_arg1); if (editable){ setIMEMode(false); }; } public function set htmlText(_arg1:String):void{ if (_arg1 == ""){ text = ""; return; }; _html = true; _savedHTML = _arg1; textField.htmlText = _arg1; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } public function get text():String{ return (textField.text); } override public function get enabled():Boolean{ return (super.enabled); } public function get condenseWhite():Boolean{ return (textField.condenseWhite); } public function get alwaysShowSelection():Boolean{ return (textField.alwaysShowSelection); } override protected function draw():void{ var _local1:Object; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawTextFormat(); drawBackground(); _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function handleTextInput(_arg1:TextEvent):void{ _arg1.stopPropagation(); dispatchEvent(new TextEvent(TextEvent.TEXT_INPUT, true, false, _arg1.text)); } override protected function configUI():void{ super.configUI(); tabChildren = true; textField = new TextField(); addChild(textField); updateTextFieldType(); textField.addEventListener(TextEvent.TEXT_INPUT, handleTextInput, false, 0, true); textField.addEventListener(Event.CHANGE, handleChange, false, 0, true); textField.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true); } public function setSelection(_arg1:int, _arg2:int):void{ textField.setSelection(_arg1, _arg2); } public function get displayAsPassword():Boolean{ return (textField.displayAsPassword); } public function appendText(_arg1:String):void{ textField.appendText(_arg1); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; textField.restrict = _arg1; } public function get htmlText():String{ return (textField.htmlText); } protected function drawBackground():void{ var _local1:DisplayObject; var _local2:String; _local1 = background; _local2 = (enabled) ? "upSkin" : "disabledSkin"; background = getDisplayObjectInstance(getStyleValue(_local2)); if (background == null){ return; }; addChildAt(background, 0); if (((((!((_local1 == null))) && (!((_local1 == background))))) && (contains(_local1)))){ removeChild(_local1); }; } override public function setFocus():void{ stage.focus = textField; } protected function drawLayout():void{ var _local1:Number; _local1 = Number(getStyleValue("textPadding")); if (background != null){ background.width = width; background.height = height; }; textField.width = (width - (2 * _local1)); textField.height = (height - (2 * _local1)); textField.x = (textField.y = _local1); } public function set maxChars(_arg1:int):void{ textField.maxChars = _arg1; } public function get maxHorizontalScrollPosition():int{ return (textField.maxScrollH); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); if (_html){ textField.htmlText = _savedHTML; }; } protected function handleChange(_arg1:Event):void{ _arg1.stopPropagation(); dispatchEvent(new Event(Event.CHANGE, true)); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 39
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 40
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 41
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.utils.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 42
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 43
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.controls.*; import flash.display.*; import fl.core.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 44
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 45
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 46
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 47
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.text.*; import flash.utils.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 48
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin) package gs.plugins { import flash.display.*; import gs.*; public class AutoAlphaPlugin extends TweenPlugin { protected var _tweenVisible:Boolean; protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function AutoAlphaPlugin(){ this.propName = "autoAlpha"; this.overwriteProps = ["alpha", "visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); if (((!((_target.visible == true))) && (_tweenVisible))){ _target.visible = true; }; } public function onCompleteTween():void{ if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(!((_arg2 == 0))); _tweenVisible = true; addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha"); return (true); } override public function killProps(_arg1:Object):void{ super.killProps(_arg1); _tweenVisible = !(Boolean(("visible" in _arg1))); } } }//package gs.plugins
Section 49
//EndArrayPlugin (gs.plugins.EndArrayPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class EndArrayPlugin extends TweenPlugin { protected var _info:Array; protected var _a:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function EndArrayPlugin(){ _info = []; super(); this.propName = "endArray"; this.overwriteProps = ["endArray"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:ArrayTweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _a[_local3.index] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function init(_arg1:Array, _arg2:Array):void{ var _local3:int; _a = _arg1; _local3 = (_arg2.length - 1); while (_local3 > -1) { if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){ _info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3])); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (false); }; init((_arg1 as Array), _arg2); return (true); } } }//package gs.plugins
Section 50
//FramePlugin (gs.plugins.FramePlugin) package gs.plugins { import flash.display.*; import gs.*; public class FramePlugin extends TweenPlugin { public var frame:int; protected var _target:MovieClip; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function FramePlugin(){ this.propName = "frame"; this.overwriteProps = ["frame"]; this.round = true; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.gotoAndStop(this.frame); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){ return (false); }; _target = (_arg1 as MovieClip); this.frame = _target.currentFrame; addTween(this, "frame", this.frame, _arg2, "frame"); return (true); } } }//package gs.plugins
Section 51
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin) package gs.plugins { public class RemoveTintPlugin extends TintPlugin { public static const VERSION:Number = 1.01; public static const API:Number = 1; public function RemoveTintPlugin(){ this.propName = "removeTint"; } } }//package gs.plugins
Section 52
//TintPlugin (gs.plugins.TintPlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.geom.*; import gs.utils.tween.*; public class TintPlugin extends TweenPlugin { protected var _ct:ColorTransform; protected var _ignoreAlpha:Boolean; protected var _target:DisplayObject; public static const VERSION:Number = 1.1; public static const API:Number = 1; protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"]; public function TintPlugin(){ this.propName = "tint"; this.overwriteProps = ["tint"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:ColorTransform; updateTweens(_arg1); if (_ignoreAlpha){ _local2 = _target.transform.colorTransform; _ct.alphaMultiplier = _local2.alphaMultiplier; _ct.alphaOffset = _local2.alphaOffset; }; _target.transform.colorTransform = _ct; } public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{ var _local3:int; var _local4:String; _target = _arg1; _ct = _target.transform.colorTransform; _local3 = (_props.length - 1); while (_local3 > -1) { _local4 = _props[_local3]; if (_ct[_local4] != _arg2[_local4]){ _tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:ColorTransform; if (!(_arg1 is DisplayObject)){ return (false); }; _local4 = new ColorTransform(); if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){ _local4.color = uint(_arg2); }; _ignoreAlpha = true; init((_arg1 as DisplayObject), _local4); return (true); } } }//package gs.plugins
Section 53
//TweenPlugin (gs.plugins.TweenPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class TweenPlugin { public var overwriteProps:Array; protected var _tweens:Array; public var round:Boolean; public var onComplete:Function; public var propName:String; protected var _changeFactor:Number;// = 0 public static const VERSION:Number = 1.03; public static const API:Number = 1; public function TweenPlugin(){ _tweens = []; _changeFactor = 0; super(); } protected function updateTweens(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _changeFactor = _arg1; } protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{ var _local6:Number; if (_arg4 != null){ _local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4); if (_local6 != 0){ _tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false); }; }; } public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (this.overwriteProps.length - 1); while (_local2 > -1) { if ((this.overwriteProps[_local2] in _arg1)){ this.overwriteProps.splice(_local2, 1); }; _local2--; }; _local2 = (_tweens.length - 1); while (_local2 > -1) { if ((_tweens[_local2].name in _arg1)){ _tweens.splice(_local2, 1); }; _local2--; }; } public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName); return (true); } public function get changeFactor():Number{ return (_changeFactor); } public static function activate(_arg1:Array):Boolean{ var _local2:int; var _local3:Object; _local2 = (_arg1.length - 1); while (_local2 > -1) { _local3 = new (_arg1[_local2]); TweenLite.plugins[_local3.propName] = _arg1[_local2]; _local2--; }; return (true); } } }//package gs.plugins
Section 54
//VisiblePlugin (gs.plugins.VisiblePlugin) package gs.plugins { import flash.display.*; import gs.*; public class VisiblePlugin extends TweenPlugin { protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function VisiblePlugin(){ this.propName = "visible"; this.overwriteProps = ["visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ if (_target.visible != true){ _target.visible = true; }; } public function onCompleteTween():void{ if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(_arg2); return (true); } } }//package gs.plugins
Section 55
//VolumePlugin (gs.plugins.VolumePlugin) package gs.plugins { import flash.display.*; import flash.media.*; import gs.*; public class VolumePlugin extends TweenPlugin { protected var _st:SoundTransform; protected var _target:Object; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function VolumePlugin(){ this.propName = "volume"; this.overwriteProps = ["volume"]; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.soundTransform = _st; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){ return (false); }; _target = _arg1; _st = _target.soundTransform; addTween(_st, "volume", _st.volume, _arg2, "volume"); return (true); } } }//package gs.plugins
Section 56
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo) package gs.utils.tween { public class ArrayTweenInfo { public var change:Number; public var index:uint; public var start:Number; public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){ this.index = _arg1; this.start = _arg2; this.change = _arg3; } } }//package gs.utils.tween
Section 57
//TweenInfo (gs.utils.tween.TweenInfo) package gs.utils.tween { public class TweenInfo { public var start:Number; public var name:String; public var change:Number; public var target:Object; public var property:String; public var isPlugin:Boolean; public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){ this.target = _arg1; this.property = _arg2; this.start = _arg3; this.change = _arg4; this.name = _arg5; this.isPlugin = _arg6; } } }//package gs.utils.tween
Section 58
//TweenLite (gs.TweenLite) package gs { import flash.display.*; import flash.events.*; import flash.utils.*; import gs.utils.tween.*; import gs.plugins.*; public class TweenLite { public var delay:Number; protected var _hasUpdate:Boolean; protected var _hasPlugins:Boolean; public var started:Boolean; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; public var gc:Boolean; public var vars:Object; public var ease:Function; public var tweens:Array; public var exposedVars:Object; public var combinedTimeScale:Number; public var initTime:Number; public static const version:Number = 10.092; private static var _timer:Timer = new Timer(2000); public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var currentTime:uint; public static var masterList:Dictionary = new Dictionary(false); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1}; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public static var timingSprite:Sprite = new Sprite(); public static var overwriteManager:Object; private static var _tlInitted:Boolean; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:int; super(); if (_arg1 == null){ return; }; if (!_tlInitted){ TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]); currentTime = getTimer(); timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage, false, 0, true); _timer.start(); _tlInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0)))); this.target = _arg1; if (typeof(this.vars.ease) != "function"){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars; this.tweens = []; this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); _local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if (((!((_arg1 in masterList))) || ((_local4 == 1)))){ masterList[_arg1] = [this]; } else { masterList[_arg1].push(this); }; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){ this.target.visible = this.exposedVars.visible; }; }; } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (!(this.target in masterList)){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ _local2[_local2.length] = this; }; }; }; this.gc = (_arg1) ? false : true; if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function clear():void{ this.tweens = []; this.vars = (this.exposedVars = {ease:this.vars.ease}); _hasUpdate = false; } public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:TweenInfo; var _local5:int; _local2 = ((_arg1 - this.startTime) * 0.001); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change)); _local5--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function get enabled():Boolean{ return ((this.gc) ? false : true); } public function initTweenVals():void{ var _local1:String; var _local2:int; var _local3:*; var _local4:TweenInfo; if (((!((this.exposedVars.timeScale == undefined))) && (this.target.hasOwnProperty("timeScale")))){ this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false); }; for (_local1 in this.exposedVars) { if ((_local1 in _reservedProps)){ } else { if ((_local1 in plugins)){ _local3 = new (plugins[_local1]); if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){ this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); } else { this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true); _hasPlugins = true; }; } else { this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); }; }; }; if (this.vars.runBackwards == true){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { _local4 = this.tweens[_local2]; this.tweens[_local2].start = (_local4.start + _local4.change); _local4.change = -(_local4.change); _local2--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.exposedVars, this.tweens); }; } public function complete(_arg1:Boolean=false):void{ var _local2:int; if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (_hasPlugins){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){ this.tweens[_local2].target.onComplete(); }; _local2--; }; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function updateAll(_arg1:Event=null):void{ var _local2:uint; var _local3:Dictionary; var _local4:Array; var _local5:int; var _local6:TweenLite; _local2 = (currentTime = getTimer()); _local3 = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { _local6 = _local4[_local5]; if (_local6.active){ _local6.render(_local2); } else { if (_local6.gc){ _local4.splice(_local5, 1); } else { if (_local2 >= _local6.startTime){ _local6.activate(); _local6.render(_local2); }; }; }; _local5--; }; }; } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && ((_arg1 in masterList)))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } protected static function killGarbage(_arg1:TimerEvent):void{ var _local2:Dictionary; var _local3:Object; _local2 = masterList; for (_local3 in _local2) { if (_local2[_local3].length == 0){ delete _local2[_local3]; }; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 59
//axe (axe) package { import flash.display.*; import flash.events.*; public class axe extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function axe(){ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; try { if ((((((MovieClip(parent.getChildByName("p1")).haveAxe <= 0)) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])))) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))){ MovieClip(parent.getChildByName("p1")).haveAxe = 3; parent.removeChild(this); } else { if ((((((MovieClip(parent.getChildByName("p2")).haveAxe <= 0)) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])))) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))){ MovieClip(parent.getChildByName("p2")).haveAxe = 3; parent.removeChild(this); } else { if ((((((MovieClip(parent.getChildByName("p3")).haveAxe <= 0)) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])))) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))){ MovieClip(parent.getChildByName("p3")).haveAxe = 3; parent.removeChild(this); }; }; }; } catch(error:TypeError) { }; } public function sign():void{ init(); } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 60
//baFlips (baFlips) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class baFlips extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function baFlips():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(fanfares, "success"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; if ((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))){ Main(parent).backFlipsPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[3] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))){ Main(parent).backFlipsPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[3] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))){ Main(parent).backFlipsPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[3] = true; parent.removeChild(this); }; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 61
//breakTile (breakTile) package { import flash.display.*; import flash.events.*; public class breakTile extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function breakTile():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 62
//camRot (camRot) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class camRot extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function camRot():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(fanfares, "success"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; if ((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))){ Main(parent).rotatingCameraPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[4] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))){ Main(parent).rotatingCameraPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[4] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))){ Main(parent).rotatingCameraPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[4] = true; parent.removeChild(this); }; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 63
//clickSound (clickSound) package { import flash.media.*; public dynamic class clickSound extends Sound { } }//package
Section 64
//cracky (cracky) package { import flash.media.*; public dynamic class cracky extends Sound { } }//package
Section 65
//dieSound (dieSound) package { import flash.media.*; public dynamic class dieSound extends Sound { } }//package
Section 66
//difMusic (difMusic) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class difMusic extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function difMusic():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(fanfares, "success"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; if ((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))){ Main(parent).diffMusicPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[1] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))){ Main(parent).diffMusicPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[1] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))){ Main(parent).diffMusicPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[1] = true; parent.removeChild(this); }; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 67
//door (door) package { import flash.display.*; import flash.events.*; public class door extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function door():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var i:*; temp = 0; try { i = 0; while (i < 9) { if (parent.parent != null){ if (MovieClip(parent.parent).activationArray[linkData.split("-")[1]][i] == 0){ temp++; }; }; i = (i + 1); }; } catch(error:TypeError) { }; if (temp == 9){ activated = false; } else { activated = true; }; if (activated){ prevFrame(); } else { nextFrame(); }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 68
//elevator (elevator) package { import flash.display.*; import flash.events.*; public class elevator extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function elevator():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var i:*; temp = 0; try { i = 0; while (i < 9) { if (parent.parent != null){ if (MovieClip(parent.parent).activationArray[linkData.split("-")[1]][i] == 0){ temp++; }; }; i = (i + 1); }; } catch(error:TypeError) { }; if (temp == 9){ activated = false; } else { activated = true; }; if (activated){ prevFrame(); } else { nextFrame(); }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 69
//endMusic (endMusic) package { import flash.media.*; public dynamic class endMusic extends Sound { } }//package
Section 70
//exitDoor (exitDoor) package { import flash.display.*; import flash.events.*; public class exitDoor extends MovieClip { public var i:Number;// = 0 public var hotBawx:MovieClip; public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function exitDoor(){ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; myTile = getTile(x, y); try { if (((((((((((hotBawx.hitTestObject(MovieClip(parent.getChildByName("p3")))) && (hotBawx.hitTestObject(MovieClip(parent.getChildByName("p2")))))) && (hotBawx.hitTestObject(MovieClip(parent.getChildByName("p1")))))) && (MovieClip(parent.getChildByName("p1")).visible))) && (MovieClip(parent.getChildByName("p2")).visible))) && (MovieClip(parent.getChildByName("p3")).visible))){ Main(parent).newLev = true; MovieClip(Main(parent).getChildByName("endLevClip")).play(); }; } catch(error:TypeError) { }; } public function sign():void{ init(); } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 71
//fanfares (fanfares) package { import flash.media.*; public dynamic class fanfares extends Sound { } }//package
Section 72
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 73
//gameMusic (gameMusic) package { import flash.media.*; public dynamic class gameMusic extends Sound { } }//package
Section 74
//gameMusicNew (gameMusicNew) package { import flash.media.*; public dynamic class gameMusicNew extends Sound { } }//package
Section 75
//GasPipe (GasPipe) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class GasPipe extends MovieClip { public var active:Boolean;// = false public var Keys:Object; public var myTile:Array; public var clickControl:Boolean;// = false public var ey:Boolean;// = false public var linkData:String;// = "" public function GasPipe(){ myTile = new Array(); active = false; clickControl = false; linkData = ""; ey = false; super(); } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(clickSound, "clickSou"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var _local1:particles; var _local2:particles; _local1 = new particles(); _local1.x = (x + 8); _local1.y = (y + 15); _local1.gotoAndStop(6); parent.addChild(_local1); _local2 = new particles(); _local2.x = (x + 8); _local2.y = (y + 15); _local2.gotoAndStop(6); parent.addChild(_local2); } public function lever():void{ KeyObject.initialize(stage); Keys = KeyObject; if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 76
//geyser (geyser) package { import flash.display.*; import flash.events.*; public class geyser extends MovieClip { public var active:Boolean;// = true public var myTile:Array; public var linkData:String;// = "" public function geyser():void{ myTile = new Array(); linkData = ""; active = true; super(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var _local1:Number; var _local2:particles; var _local3:particles; gotoAndStop(1); _local1 = 0; while (_local1 < MovieClip(parent.getChildByName("touchGround")).numChildren) { if ((MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1) is rock)){ if (((hitTestPoint((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).x + 25), (MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).y + 29), true)) || (hitTestPoint((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).x + 5), (MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).y + 29), true)))){ gotoAndStop(2); active = false; break; }; }; _local1++; }; if (currentFrame == 1){ _local2 = new particles(); _local2.x = (x + 14); _local2.y = (y + 28); parent.addChild(_local2); _local3 = new particles(); _local3.x = (x + 14); _local3.y = (y + 28); parent.addChild(_local3); myTile = getTile((x + 3), (y + 3)); active = true; }; if (active){ if ((((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])) && ((((32 + y) - MovieClip(parent.getChildByName("p1")).y) < 100)))) && (((y + 32) > MovieClip(parent.getChildByName("p1")).y)))){ MovieClip(parent.getChildByName("p1")).ySpeed = (MovieClip(parent.getChildByName("p1")).ySpeed - 1.6); MovieClip(parent.getChildByName("p1")).y--; }; if ((((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])) && ((((32 + y) - MovieClip(parent.getChildByName("p2")).y) < 100)))) && (((y + 32) > MovieClip(parent.getChildByName("p2")).y)))){ MovieClip(parent.getChildByName("p2")).ySpeed = (MovieClip(parent.getChildByName("p2")).ySpeed - 1.6); MovieClip(parent.getChildByName("p2")).y--; }; if ((((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])) && ((((32 + y) - MovieClip(parent.getChildByName("p3")).y) < 100)))) && (((y + 32) > MovieClip(parent.getChildByName("p3")).y)))){ MovieClip(parent.getChildByName("p3")).ySpeed = (MovieClip(parent.getChildByName("p3")).ySpeed - 1.6); MovieClip(parent.getChildByName("p3")).y--; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 77
//geyserLeft (geyserLeft) package { import flash.display.*; import flash.events.*; public class geyserLeft extends MovieClip { public var active:Boolean;// = true public var myTile:Array; public var linkData:String;// = "" public function geyserLeft(){ myTile = new Array(); linkData = ""; active = true; super(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function geyser():void{ } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var _local1:particles; var _local2:particles; gotoAndStop(1); if (currentFrame == 1){ _local1 = new particles(); _local1.x = (x + 25); _local1.y = (y + 14); _local1.gotoAndStop(3); parent.addChild(_local1); _local2 = new particles(); _local2.x = (x + 25); _local2.y = (y + 14); _local2.gotoAndStop(3); parent.addChild(_local2); myTile = getTile((x + 3), (y + 3)); active = true; }; if (active){ if ((((((getTile(MovieClip(parent.getChildByName("p1")).x, (MovieClip(parent.getChildByName("p1")).y - 15))[0] == myTile[0])) && ((((x + 32) - MovieClip(parent.getChildByName("p1")).x) < 150)))) && (((x + 32) > MovieClip(parent.getChildByName("p1")).x)))){ MovieClip(parent.getChildByName("p1")).xSpeed = (MovieClip(parent.getChildByName("p1")).xSpeed - 1.5); MovieClip(parent.getChildByName("p1")).x--; }; if ((((((getTile(MovieClip(parent.getChildByName("p2")).x, (MovieClip(parent.getChildByName("p2")).y - 15))[0] == myTile[0])) && ((((x + 32) - MovieClip(parent.getChildByName("p2")).x) < 150)))) && (((x + 32) > MovieClip(parent.getChildByName("p2")).x)))){ MovieClip(parent.getChildByName("p2")).xSpeed = (MovieClip(parent.getChildByName("p2")).xSpeed - 1.5); MovieClip(parent.getChildByName("p2")).x--; }; if ((((((getTile(MovieClip(parent.getChildByName("p3")).x, (MovieClip(parent.getChildByName("p3")).y - 15))[0] == myTile[0])) && ((((x + 32) - MovieClip(parent.getChildByName("p3")).x) < 150)))) && (((x + 32) > MovieClip(parent.getChildByName("p3")).x)))){ MovieClip(parent.getChildByName("p3")).xSpeed = (MovieClip(parent.getChildByName("p3")).xSpeed - 1.5); MovieClip(parent.getChildByName("p3")).x--; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 78
//geyserRight (geyserRight) package { import flash.display.*; import flash.events.*; public class geyserRight extends MovieClip { public var active:Boolean;// = true public var myTile:Array; public var linkData:String;// = "" public function geyserRight(){ myTile = new Array(); linkData = ""; active = true; super(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function geyser():void{ } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var _local1:particles; var _local2:particles; gotoAndStop(1); if (currentFrame == 1){ _local1 = new particles(); _local1.x = (x + 5); _local1.y = (y + 14); _local1.gotoAndStop(2); parent.addChild(_local1); _local2 = new particles(); _local2.x = (x + 5); _local2.y = (y + 14); _local2.gotoAndStop(2); parent.addChild(_local2); myTile = getTile((x + 3), (y + 3)); active = true; }; if (active){ if ((((((getTile(MovieClip(parent.getChildByName("p1")).x, (MovieClip(parent.getChildByName("p1")).y - 15))[0] == myTile[0])) && (((MovieClip(parent.getChildByName("p1")).x - x) < 150)))) && ((x < MovieClip(parent.getChildByName("p1")).x)))){ MovieClip(parent.getChildByName("p1")).xSpeed = (MovieClip(parent.getChildByName("p1")).xSpeed + 1.5); MovieClip(parent.getChildByName("p1")).x++; }; if ((((((getTile(MovieClip(parent.getChildByName("p2")).x, (MovieClip(parent.getChildByName("p2")).y - 15))[0] == myTile[0])) && (((MovieClip(parent.getChildByName("p2")).x - x) < 150)))) && ((x < MovieClip(parent.getChildByName("p2")).x)))){ MovieClip(parent.getChildByName("p2")).xSpeed = (MovieClip(parent.getChildByName("p2")).xSpeed + 1.5); MovieClip(parent.getChildByName("p2")).x++; }; if ((((((getTile(MovieClip(parent.getChildByName("p3")).x, (MovieClip(parent.getChildByName("p3")).y - 15))[0] == myTile[0])) && (((MovieClip(parent.getChildByName("p3")).x - x) < 150)))) && ((x < MovieClip(parent.getChildByName("p3")).x)))){ MovieClip(parent.getChildByName("p3")).xSpeed = (MovieClip(parent.getChildByName("p3")).xSpeed + 1.5); MovieClip(parent.getChildByName("p3")).x++; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 79
//hiJumps (hiJumps) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class hiJumps extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function hiJumps():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(fanfares, "success"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; if ((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))){ Main(parent).highJumpsPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[2] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))){ Main(parent).highJumpsPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[2] = true; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))){ Main(parent).highJumpsPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[2] = true; parent.removeChild(this); }; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 80
//keyDoor (keyDoor) package { import flash.display.*; import flash.events.*; public class keyDoor extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function keyDoor():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); addFrameScript(0, frame1, 10, frame11); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ if (parent.parent != null){ if (((MovieClip(parent.parent).keyGot) && ((currentFrame < 3)))){ play(); }; }; } function frame1(){ stop(); } function frame11(){ stop(); } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 81
//KeyObject (KeyObject) package { import flash.display.*; import flash.events.*; public class KeyObject { private static var initialized:Boolean = false; private static var keysDown:Object = new Object(); public static function initialize(_arg1:Stage){ if (!initialized){ _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased); _arg1.addEventListener(Event.DEACTIVATE, clearKeys); initialized = true; }; } private static function clearKeys(_arg1:Event):void{ keysDown = new Object(); } public static function isDown(_arg1:uint):Boolean{ if (!initialized){ throw (new Error("Key class has yet been initialized.")); }; return (Boolean((_arg1 in keysDown))); } private static function keyPressed(_arg1:KeyboardEvent):void{ keysDown[_arg1.keyCode] = true; } private static function keyReleased(_arg1:KeyboardEvent):void{ if ((_arg1.keyCode in keysDown)){ delete keysDown[_arg1.keyCode]; }; } } }//package
Section 82
//ladder (ladder) package { import flash.display.*; public dynamic class ladder extends MovieClip { } }//package
Section 83
//levelsFile (levelsFile) package { public class levelsFile { var level10:Array; var level11:Array; var level12:Array; var level13:Array; var level14:Array; var level15:Array; var level16:Array; var level17:Array; var level18:Array; var level19:Array; var level1:Array; var level2:Array; var level3:Array; var level4:Array; var level5:Array; var level6:Array; var level7:Array; var level8:Array; var level9:Array; var level20:Array; var level21:Array; var level22:Array; var level23:Array; var level25:Array; var level27:Array; var level29:Array; var level24:Array; var level26:Array; var level28:Array; var level30:Array; var level32:Array; var level31:Array; var level33:Array; public function levelsFile():void{ level1 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 9, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, "7-Pardon the horrible intro. So you're stuck in this cave, eh? ", 0, 0, "7-Well the point of the game is to get all these blue collar workers in that door over there.", 0, 0, "7-You can move the minors using the ARROWS and you switch the miners SPACE.", 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level2 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 0, 0, 0, 0, "7-You press buttons to do things. Sometimes you need to hit more then one button to do something.", 0, 0, "2-0-0", 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, "3-0-1", 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level3 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "2-0-0", 0, "7-If you're standing up here I'm assuming you figured it out.", 0, 11, 0, 0, 1], [1, 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, "7-Here's where things get a little bit complicated.", 0, 0, 0, "7-Hitting DOWN ARROW makes a miner crouch. You can then jump on that miner's back for a boost.", 0, 0, 0, "3-0-1", 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "2-1-1", 0, 0, 11, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, "7-Levels can be any size. Also, look out for the spikes, they hurt. ", 0, 0, "7-Try using the rock to push the button down. Run into the rock to push it.", 0, 0, 0, "2-0-0", 0, "6-0-1", "6-0-2", "6-0-3", "6-0-4", "6-0-5", 0, 0, "3-1-0", 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 9, 10, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, "7-That CD up there is an UNLOCK! It allows you to do stupid things to the game.", 0, "7-You can't reach it right now, so you'll have to come back to this level once you can!", 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 11, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level7 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, "7-Use the force of the geyser to jump over this pit. This might be messy...", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "2-1-1", "7-I assume you lived. ", 11, 0, 1], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, "3-1-0", 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 16, 16, 16, 16, 16, 16, 16, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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 0, 0, 0, 10, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "4-0-0", 0, 0, "2-1-1", 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "2-0-1", 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 0, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, "7-You know, whenever you restart a level, there are 3 NEW miners. Those old miners are dead.", 0, 0, 0, "7-They're gone forever and they're never coming back. So, you know, be careful.", 0, 0, 0, 11, 0, 0, "3-1-0", 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level11 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1], [1, 0, "20-0-1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "7-Use C to activate levers", 0, "20-0-2", 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [1, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "7-Years ago, I, the man who wrote these signs, used to be a mine worker just like you. ", 0, 0, "7-I promised myself that I would write a string of helpful signs to help others out. ", 0, 0, "7-But then I got bored and started writing signs telling people to jump into pits.", 0, "3-0-0", 0, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 8, 9, 10, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 13, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "7-Don't forget, sometimes it takes 2 or more buttons to make something work! I bet you forgot that!", 0, "20-0-0", "20-0-2", 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, "3-2-1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, "2-1-0", 0, 8, 9, 10, "3-0-1", 0, 0, 0, "7-Remember, use C to activate levers, they're just like really fancy buttons.", 0, 0, "7-Also you can use up and down to climb ladders.", 0, 0, "3-1-1", 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level14 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],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0, 0, 0, 1], [1, 0, "6-0-4", "6-0-0", "6-0-1", "6-0-2", 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, "6-0-7", "6-0-6", "6-0-5", "6-0-8", 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level16 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 8, 9, 0, 10, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, "7-You may not want to hit every switch you see. Someone could get hurt!", 0, 0, 0, 0, "3-0-0", 0, "3-0-1", 0, "3-0-2", 0, "3-0-3", 0, 0, "2-0-4", "7-No, seriously, don't hit every switch. What if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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [1, 8, 0, 9, 0, "2-1-2", 0, 5, 0, "7-It's a bit crazy when you think about it. People without arms climbing ladders!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, "3-2-0", 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 0, 5, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 5, 0, "6-0-3", 0, 0, 0, 0, 12, 0, "2-0-5", 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, "6-0-0", "6-0-1", "6-0-2", 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, "2-0-4", 0, 0, 0, 10, 0, 0, 11, 0, 0, "2-2-1", 0, "3-1-0", 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level19 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 8, 9, 10, "7-That's a pickaxe. Pick it up and swing it with your non existant arms using X.", "7-The pickaxe is made of talcum powder, so you can only swing it thrice.", 0, 18, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 11, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, "7-Does anyone else smell a gas leak?", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 18, "7-Be smart about how you use these. You can only swing them when you're not in the air.", 18, 0, 18, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level27 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, "7-I KNEW I SMELLED GAS!", 0, 0, 0, "7-When there's a gas leak in a level, you have 30 seconds to get out of the cave.", 0, 0, 0, "7-You really don't have the time to read these signs.", 0, 0, 0, 0, 11, 0, 0, 1], [1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, "7-Yes, this level is beatable. Try going through the geyser at the height of your jump.", 0, 0, 0, 0, 0, 0, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; level31 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "3-1-0", 0, 0, 0, 1, 1, 1, 1], [1, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 1], [1, "6-0-2", "6-0-1", "6-0-3", "6-0-4", "2-0-0", 0, "7-Sometimes I think about what this game is named.", 0, "7-Are these guys really Best Friends Forever? I mean, they're just 3 guys stuck in a cave together. ", "2-1-5", 0, 0, 0, "3-1-1", 0, 0, 0, "20-1-3", 0, 0, 19, 26, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; super(); } } }//package
Section 84
//lever (lever) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class lever extends MovieClip { public var active:Boolean;// = false public var Keys:Object; public var myTile:Array; public var clickControl:Boolean;// = false public var ey:Boolean;// = false public var linkData:String;// = "" public function lever():void{ myTile = new Array(); active = false; clickControl = false; linkData = ""; ey = false; super(); KeyObject.initialize(stage); Keys = KeyObject; if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(clickSound, "clickSou"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ if (active){ Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 0; gotoAndStop(2); } else { Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 1; gotoAndStop(1); }; if (((Keys.isDown(67)) && (clickControl))){ if ((((((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p1")).inAir)))) && ((MovieClip(parent).inPlay == 1)))){ active = !(active); if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = true; } else { if ((((((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p2")).inAir)))) && ((MovieClip(parent).inPlay == 2)))){ active = !(active); if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = true; } else { if ((((((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p3")).inAir)))) && ((MovieClip(parent).inPlay == 3)))){ active = !(active); if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = true; }; }; }; }; ey = false; if (Keys.isDown(67)){ clickControl = false; } else { clickControl = true; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 85
//Main (Main) package { import fl.controls.*; import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; import flash.utils.*; import flash.net.*; import flash.ui.*; import flash.filters.*; public class Main extends MovieClip { public var ps:MovieClip; public var b1:SimpleButton; public var Keys:Object; public var c1:SimpleButton; public var urlStart:Number; public var upsideCamera:Boolean;// = false public var domEnd:Number; public var levTimers:Number;// = -1 public var __setPropDict:Dictionary; public var sdsd:MovieClip; public var i:Number;// = 0 public var bFlips:SimpleButton; public var bf1:SimpleButton; public var bf2:SimpleButton; public var d1:SimpleButton; public var p:Number;// = 0 public var e1:SimpleButton; public var mgames:SimpleButton; public var rotatingCameraPos:Boolean;// = false public var newLev:Boolean;// = false public var hJumps:SimpleButton; public var shared:SharedObject; public var upsideCameraPos:Boolean;// = false public var f1:SimpleButton; public var rotatingCamera:Boolean;// = false public var levelOver:Boolean;// = false public var moosic:SimpleButton; public var LastDot:Number; public var curLevArray:Array; public var butts:SimpleButton; public var domain:String; public var startGamess:MovieClip; public var backFlipsPos:Boolean;// = false public var plsee:MovieClip; public var temp1:Number;// = 0 public var deathCounts:SimpleButton; public var activationArray:Array; public var urlEnd:Number; public var buttsMute:SimpleButton; public var tripy:SimpleButton; public var backFlips:Boolean;// = false public var temp2:Number;// = 0 public var muteControl:Boolean;// = false public var curTile; public var diffMusicPos:Boolean;// = false public var myMenu:ContextMenu; public var diffMusic:Boolean;// = false public var modes:SimpleButton; public var playerTiles:Array; public var modese:SimpleButton; public var upCam:SimpleButton; public var levelStart:Boolean;// = false public var cred:SimpleButton; public var deathCount:Boolean;// = false public var baws:NumericStepper; public var muted:Boolean;// = false public var url:String; public var deathCountPos:Boolean;// = true public var levels:levelsFile; public var menuItem2:ContextMenuItem; public var startGame:MovieClip; public var highJumps:Boolean;// = false public var crazyEffect:Number;// = 0 public var ground:MovieClip; public var retStyle:Boolean;// = false public var keyGot:Boolean;// = false public var endLevClip:MovieClip; public var curLev:Number;// = 1 public var p1:player; public var p2:player; public var p3:player; public var cam:MovieClip; public var highJumpsPos:Boolean;// = false public var resu:SimpleButton; public var goHome:Boolean;// = false public var a1:SimpleButton; public var inPlay:Number;// = 1 public var scrolling:Boolean;// = false public var troMovie:MovieClip; public function Main():void{ __setPropDict = new Dictionary(true); inPlay = 1; curTile = new tile(); i = 0; retStyle = false; upsideCameraPos = false; diffMusicPos = false; highJumpsPos = false; backFlipsPos = false; rotatingCameraPos = false; deathCountPos = true; deathCount = false; upsideCamera = false; diffMusic = false; highJumps = false; backFlips = false; rotatingCamera = false; crazyEffect = 0; goHome = false; p = 0; temp1 = 0; levels = new levelsFile(); curLev = 1; newLev = false; temp2 = 0; levelOver = false; levelStart = false; ground = new MovieClip(); scrolling = false; keyGot = false; muted = false; levTimers = -1; playerTiles = [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]; activationArray = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; muteControl = false; super(); addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5, 7, frame8, 8, frame9, 9, frame10, 13, frame14, 14, frame15, 18, frame19); if (stage){ stage.addEventListener(MouseEvent.MOUSE_DOWN, inits); init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } public function tripys(_arg1:MouseEvent){ if (rotatingCameraPos){ rotatingCamera = !(rotatingCamera); if (rotatingCamera){ tripy.visible = true; } else { tripy.visible = false; }; }; } public function asss(_arg1:MouseEvent){ muted = !(muted); } public function doSomething(_arg1:ContextMenuEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.notdoppler.com/?ref=bestfriendsforever3"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function moGames(_arg1:MouseEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.notdoppler.com/?ref=bestfriendsforever3"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } function frame10(){ MovieClip(MovieClip(getChildByName("troMovie")).getChildByName("flake")).stop(); } function frame14(){ stop(); levelStart = true; MovieClip(getChildByName("endLevClip")).gotoAndPlay(34); levelOver = false; goHome = false; trace("Starting another level"); } public function tripyss(_arg1:MouseEvent){ gotoAndStop(5); } function frame4(){ stop(); shared = SharedObject.getLocal("BFF3"); if (shared.data.saveLev == null){ shared.data.saveLev = 1; shared.data.unlocs = [false, false, false, false, false]; }; upsideCameraPos = shared.data.unlocs[0]; diffMusicPos = shared.data.unlocs[1]; highJumpsPos = shared.data.unlocs[2]; backFlipsPos = shared.data.unlocs[3]; rotatingCameraPos = shared.data.unlocs[4]; } public function mopGames(_arg1:MouseEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.notdoppler.com/bestfriendsforever.php"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } function frame9(){ stop(); curLev = 1; addEventListener(MouseEvent.MOUSE_DOWN, cluk); } function frame15(){ levelOver = true; trace(levelOver); } function frame5(){ if ((((__setPropDict[baws] == undefined)) || (!((int(__setPropDict[baws]) == 5))))){ __setPropDict[baws] = currentFrame; __setProp_baws_Scene1_BFFGUYS_5(); }; stop(); butts.addEventListener(MouseEvent.MOUSE_DOWN, ass); buttsMute.addEventListener(MouseEvent.MOUSE_DOWN, asss); baws.maximum = shared.data.saveLev; baws.value = baws.maximum; resu.addEventListener(MouseEvent.MOUSE_DOWN, assss); modes.addEventListener(MouseEvent.MOUSE_DOWN, assssp); cred.addEventListener(MouseEvent.CLICK, creds); mgames.addEventListener(MouseEvent.CLICK, moGames); bf1.addEventListener(MouseEvent.CLICK, mopGames); bf2.addEventListener(MouseEvent.CLICK, mokGames); } function frame8(){ a1.addEventListener(MouseEvent.MOUSE_DOWN, upCams); b1.addEventListener(MouseEvent.MOUSE_DOWN, moosics); c1.addEventListener(MouseEvent.MOUSE_DOWN, hJumpss); d1.addEventListener(MouseEvent.MOUSE_DOWN, bFlipss); e1.addEventListener(MouseEvent.MOUSE_DOWN, tripys); f1.addEventListener(MouseEvent.MOUSE_DOWN, deathCountss); modese.addEventListener(MouseEvent.MOUSE_DOWN, tripyss); if (!upsideCameraPos){ a1.alpha = 0.5; }; if (!diffMusicPos){ b1.alpha = 0.5; }; if (!highJumpsPos){ c1.alpha = 0.5; }; if (!backFlipsPos){ d1.alpha = 0.5; }; if (!rotatingCameraPos){ e1.alpha = 0.5; }; if (!deathCountPos){ f1.alpha = 0.5; }; if (upsideCamera){ upCam.visible = true; } else { upCam.visible = false; }; if (diffMusic){ moosic.visible = true; } else { moosic.visible = false; }; if (highJumps){ hJumps.visible = true; } else { hJumps.visible = false; }; if (backFlips){ bFlips.visible = true; } else { bFlips.visible = false; }; if (rotatingCamera){ tripy.visible = true; } else { tripy.visible = false; }; } public function bFlipss(_arg1:MouseEvent){ if (backFlipsPos){ backFlips = !(backFlips); if (backFlips){ bFlips.visible = true; } else { bFlips.visible = false; }; }; } public function ass(_arg1:MouseEvent){ startGame.play(); gotoAndStop(6); } function frame1(){ url = stage.loaderInfo.url; urlStart = (url.indexOf("://") + 3); urlEnd = url.indexOf("/", urlStart); domain = url.substring(urlStart, urlEnd); LastDot = (domain.lastIndexOf(".") - 1); domEnd = (domain.lastIndexOf(".", LastDot) + 1); domain = domain.substring(domEnd, domain.length); myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); menuItem2 = new ContextMenuItem("NotDoppler"); menuItem2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doSomething); myMenu.customItems.push(menuItem2); this.contextMenu = myMenu; if (((!((domain == "newgrounds.com"))) && (!((domain == "notdoppler.com"))))){ }; } public function deathCountss(_arg1:MouseEvent){ if (deathCountPos){ deathCount = !(deathCount); if (deathCount){ deathCounts.visible = true; } else { deathCounts.visible = false; }; }; } public function assss(_arg1:MouseEvent){ curLev = baws.value; startGamess.play(); gotoAndStop(6); } function frame19(){ if (((newLev) && ((curLev <= 33)))){ curLev++; trace("New Level"); }; if (curLev == 34){ gotoAndStop(57); shared.data.saveLev = 33; }; stop(); removeChild(getChildByName("endLevClip")); levelOver = false; if (curLev != 34){ if (shared.data.saveLev < curLev){ shared.data.saveLev = curLev; }; if (goHome){ gotoAndStop(5); } else { trace("Going back to second frame"); gotoAndStop(14); }; }; } public function onFrameEnter(_arg1:Event=null):void{ var _local2:Number; var _local3:MovieClip; var _local4:GlowFilter; var _local5:BevelFilter; var _local6:Array; var _local7:Number; var _local8:Number; if (((Keys.isDown(77)) && (!(muteControl)))){ muted = !(muted); }; if (Keys.isDown(77)){ muteControl = true; } else { muteControl = false; }; if (!muted){ if ((((currentFrame == 4)) || ((currentFrame == 5)))){ SoundManager.getInstance().fadeSound("menuSound", 1.3, 2); SoundManager.getInstance().fadeSound("gameSound2", 0, 2); SoundManager.getInstance().fadeSound("endSound", 0, 2); SoundManager.getInstance().fadeSound("gameSound", 0, 2); }; if ((((currentFrame == 9)) || ((currentFrame == 14)))){ SoundManager.getInstance().fadeSound("menuSound", 0, 2); SoundManager.getInstance().fadeSound("endSound", 0, 2); if (diffMusic){ SoundManager.getInstance().fadeSound("gameSound2", 1.3, 2); } else { SoundManager.getInstance().fadeSound("gameSound", 1.3, 2); }; }; if (currentFrame == 57){ SoundManager.getInstance().fadeSound("menuSound", 0, 2); SoundManager.getInstance().fadeSound("endSound", 1.3, 2); SoundManager.getInstance().fadeSound("gameSound2", 0, 2); SoundManager.getInstance().fadeSound("gameSound", 0, 2); }; } else { SoundManager.getInstance().fadeSound("menuSound", 0, 1); SoundManager.getInstance().fadeSound("gameSound", 0, 1); SoundManager.getInstance().fadeSound("gameSound2", 0, 1); }; if (levelStart){ _local3 = new MovieClip(); _local3.name = "s"; buildLevel(levels[("level" + curLev)], _local3); _local4 = new GlowFilter(6574116, 1, 4, 4, 0xFF, 1, false, false); _local5 = new BevelFilter(5, 45, 11175223, 1, 11569721, 1, 5, 5, 1, 1); _local3.filters = [_local5]; _local6 = new Array(); _local6 = _local3.filters; _local6.push(_local4); _local3.filters = _local6; addChild(_local3); levelStart = false; MovieClip(getChildByName("endLevClip")).play(); }; if (getChildByName("touchGround") != null){ _local7 = 0; while (_local7 < MovieClip(getChildByName("touchGround")).numChildren) { if ((((((((((MovieClip(getChildByName("touchGround")).getChildAt(_local7) is door)) || ((MovieClip(getChildByName("touchGround")).getChildAt(_local7) is elevator)))) || ((MovieClip(getChildByName("touchGround")).getChildAt(_local7) is rock)))) || ((MovieClip(getChildByName("touchGround")).getChildAt(_local7) is breakTile)))) || ((MovieClip(getChildByName("touchGround")).getChildAt(_local7) is keyDoor)))){ MovieClip(MovieClip(getChildByName("touchGround")).getChildAt(_local7)).onEnterFrames(); }; _local7++; }; if (levelOver){ _local8 = 0; while (_local8 < MovieClip(getChildByName("touchGround")).numChildren) { trace(_local8); _local8++; }; removeChild(getChildByName("touchGround")); removeChild(getChildByName("s")); }; }; _local2 = 0; while (_local2 < numChildren) { if (levelOver){ if ((((((((((((((((((((((((((((((((((((((((((((getChildAt(_local2) is difMusic)) || ((getChildAt(_local2) is upsCam)))) || ((getChildAt(_local2) is hiJumps)))) || ((getChildAt(_local2) is camRot)))) || ((getChildAt(_local2) is baFlips)))) || ((getChildAt(_local2) is player)))) || ((getChildAt(_local2) is GasPipe)))) || ((getChildAt(_local2) is breakTile)))) || ((getChildAt(_local2) is swiths)))) || ((getChildAt(_local2) is spike)))) || ((getChildAt(_local2) is sign)))) || ((getChildAt(_local2) is ladder)))) || ((getChildAt(_local2) is exitDoor)))) || ((getChildAt(_local2) is particles)))) || ((getChildAt(_local2) is geyser)))) || ((getChildAt(_local2) is geyserRight)))) || ((getChildAt(_local2) is geyserLeft)))) || ((getChildAt(_local2) is spikePermanent)))) || ((getChildAt(_local2) is spikePermanentUp)))) || ((getChildAt(_local2) is axe)))) || ((getChildAt(_local2) is lever)))) || ((getChildAt(_local2) is Okey)))){ removeChildAt(_local2); }; } else { if ((getChildAt(_local2) is player)){ if (MovieClip(getChildAt(_local2)).ducking){ playerTiles[((Number(getChildAt(_local2).name.substr(1)) - 1) * 2)] = getTile((getChildAt(_local2).x - 15), (getChildAt(_local2).y - 35)); playerTiles[(((Number(getChildAt(_local2).name.substr(1)) - 1) * 2) + 1)] = getTile((getChildAt(_local2).x + 15), (getChildAt(_local2).y - 35)); } else { playerTiles[((Number(getChildAt(_local2).name.substr(1)) - 1) * 2)] = [3232, 2323]; playerTiles[(((Number(getChildAt(_local2).name.substr(1)) - 1) * 2) + 1)] = [3232, 2323]; }; }; }; if (((!(levelOver)) && ((currentFrame == 14)))){ if (getChildByName("plsee") != null){ plsee.x = cam.x; plsee.y = cam.y; }; if ((((((((((((((((((((((((((((((((((((((((getChildAt(_local2) is difMusic)) || ((getChildAt(_local2) is upsCam)))) || ((getChildAt(_local2) is hiJumps)))) || ((getChildAt(_local2) is camRot)))) || ((getChildAt(_local2) is baFlips)))) || ((getChildAt(_local2) is player)))) || ((getChildAt(_local2) is GasPipe)))) || ((getChildAt(_local2) is swiths)))) || ((getChildAt(_local2) is spike)))) || ((getChildAt(_local2) is sign)))) || ((getChildAt(_local2) is exitDoor)))) || ((getChildAt(_local2) is geyser)))) || ((getChildAt(_local2) is particles)))) || ((getChildAt(_local2) is geyserRight)))) || ((getChildAt(_local2) is geyserLeft)))) || ((getChildAt(_local2) is spikePermanent)))) || ((getChildAt(_local2) is spikePermanentUp)))) || ((getChildAt(_local2) is axe)))) || ((getChildAt(_local2) is lever)))) || ((getChildAt(_local2) is Okey)))){ MovieClip(getChildAt(_local2)).onEnterFrames(); }; }; _local2++; }; if (getChildByName("endLevClip") != null){ if (Keys.isDown(80)){ if ((((currentFrame == 14)) && ((MovieClip(getChildByName("endLevClip")).currentFrame == 1)))){ stage.frameRate = 0.01; ps.alpha = 0.8; setChildIndex(ps, (numChildren - 1)); }; }; levTimers--; if (levTimers == 0){ p1.death(); p2.death(); p3.death(); p1.visible = false; p2.visible = false; p3.visible = false; newLev = false; MovieClip(getChildByName("endLevClip")).play(); }; if (levTimers > 0){ MovieClip(MovieClip(getChildByName("endLevClip")).getChildByName("helps")).plest.text = levTimers; MovieClip(MovieClip(getChildByName("endLevClip")).getChildByName("helps")).alpha = 1; } else { MovieClip(MovieClip(getChildByName("endLevClip")).getChildByName("helps")).alpha = 0; }; MovieClip(getChildByName("endLevClip")).x = cam.x; MovieClip(getChildByName("endLevClip")).y = cam.y; setChildIndex(getChildByName("endLevClip"), (numChildren - 1)); setChildIndex(getChildByName("startGame"), (numChildren - 1)); setChildIndex(getChildByName("startGamess"), (numChildren - 1)); MovieClip(getChildByName("startGame")).x = cam.x; MovieClip(getChildByName("startGame")).y = cam.y; MovieClip(getChildByName("startGamess")).x = cam.x; MovieClip(getChildByName("startGamess")).y = cam.y; ps.x = cam.x; setChildIndex(cam, 1); ps.y = cam.y; if (upsideCamera){ cam.rotation = -180; } else { cam.rotation = 0; }; if (rotatingCamera){ cam.scaleX = 0.5; } else { cam.scaleX = 1.309; }; }; } public function cluk(_arg1:MouseEvent){ if (currentFrame == 9){ startGame.play(); }; } public function creds(_arg1:MouseEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.thesharknation.com"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } function frame2(){ stop(); sdsd.addEventListener(MouseEvent.CLICK, moeGames); MochiBot.track(this, "cd3acd03"); } private function init(_arg1:Event=null):void{ KeyObject.initialize(stage); Keys = KeyObject; SoundManager.getInstance().addLibrarySound(gameMusic, "gameSound"); SoundManager.getInstance().addLibrarySound(menuMusic, "menuSound"); SoundManager.getInstance().addLibrarySound(endMusic, "endSound"); SoundManager.getInstance().addLibrarySound(gameMusicNew, "gameSound2"); SoundManager.getInstance().playSound("menuSound", 0, 0, 1000000); SoundManager.getInstance().playSound("gameSound", 0, 0, 1000000); SoundManager.getInstance().playSound("gameSound2", 0, 0, 1000000); SoundManager.getInstance().playSound("endSound", 0, 0, 1000000); SoundManager.getInstance().fadeSound("menuSound", 0, 5); SoundManager.getInstance().fadeSound("gameSound", 0, 5); SoundManager.getInstance().fadeSound("gameSound2", 0, 5); SoundManager.getInstance().fadeSound("endSound", 0, 5); removeEventListener(Event.ADDED_TO_STAGE, init); addEventListener(Event.ENTER_FRAME, onFrameEnter); } public function mokGames(_arg1:MouseEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.notdoppler.com/bestfriendsforever2.php"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } public function inits(_arg1:MouseEvent):void{ stage.frameRate = 29.9; ps.alpha = 0; setChildIndex(ps, 1); } function __setProp_baws_Scene1_BFFGUYS_5(){ try { baws["componentInspectorSetting"] = true; } catch(e:Error) { }; baws.enabled = true; baws.maximum = 10; baws.minimum = 1; baws.stepSize = 1; baws.value = 1; baws.visible = true; try { baws["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function moeGames(_arg1:MouseEvent):void{ var _local2:String; var _local3:URLRequest; _local2 = "http://www.notdoppler.com/?ref=bestfriendsforever3"; _local3 = new URLRequest(_local2); navigateToURL(_local3, "_blank"); } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } public function hJumpss(_arg1:MouseEvent){ if (highJumpsPos){ highJumps = !(highJumps); if (highJumps){ hJumps.visible = true; } else { hJumps.visible = false; }; }; } public function buildLevel(_arg1:Array, _arg2:MovieClip){ var _local3:MovieClip; var _local4:Number; var _local5:Number; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:*; var _local17:*; var _local18:*; var _local19:*; var _local20:*; var _local21:*; var _local22:*; var _local23:*; var _local24:*; var _local25:*; var _local26:*; var _local27:*; var _local28:*; var _local29:*; var _local30:*; activationArray = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; keyGot = false; _local3 = new MovieClip(); _local3.name = "touchGround"; levTimers = -1; _local4 = 0; while (_local4 < _arg1.length) { temp2++; if (temp2 == 5){ temp2 = 1; }; temp1 = 0; _local5 = 0; while (_local5 < _arg1[0].length) { temp1++; if (temp1 == 5){ temp1 = 1; }; if (String(_arg1[_local4][_local5]).split("-")[0] == 1){ _local6 = new tile(); _local6.x = (_local5 * 30); _local6.y = (_local4 * 30); _local6.gotoAndStop(((4 * (temp2 - 1)) + temp1)); _arg2.addChild(_local6); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 2){ _local7 = new swiths(); _local7.x = (_local5 * 30); _local7.y = (_local4 * 30); _local7.myTile = [_local4, _local5]; _local7.linkData = _arg1[_local4][_local5]; addChild(_local7); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 3){ _local8 = new elevator(); _local8.x = (_local5 * 30); _local8.y = (_local4 * 30); _local8.myTile = [_local4, _local5]; _local8.linkData = _arg1[_local4][_local5]; _local3.addChild(_local8); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 4){ _local9 = new door(); _local9.x = (_local5 * 30); _local9.y = (_local4 * 30); _local9.myTile = [_local4, _local5]; _local9.linkData = _arg1[_local4][_local5]; _local3.addChild(_local9); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 5){ _local10 = new ladder(); _local10.x = (_local5 * 30); _local10.y = (_local4 * 30); addChildAt(_local10, getChildIndex(getChildByName("p1"))); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 6){ _local11 = new spike(); _local11.x = (_local5 * 30); _local11.y = (_local4 * 30); _local11.myTile = [_local4, _local5]; _local11.linkData = _arg1[_local4][_local5]; addChildAt(_local11, getChildIndex(getChildByName("p1"))); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 7){ _local12 = new sign(); _local12.x = (_local5 * 30); _local12.y = (_local4 * 30); _local12.myTile = [_local4, _local5]; _local12.linkData = _arg1[_local4][_local5]; addChildAt(_local12, (getChildIndex(getChildByName("p1")) + 3)); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 8){ MovieClip(getChildByName("p1")).x = ((_local5 * 30) + 15); MovieClip(getChildByName("p1")).y = ((_local4 * 30) + 15); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 9){ MovieClip(getChildByName("p2")).x = ((_local5 * 30) + 15); MovieClip(getChildByName("p2")).y = ((_local4 * 30) + 15); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 10){ MovieClip(getChildByName("p3")).x = ((_local5 * 30) + 15); MovieClip(getChildByName("p3")).y = ((_local4 * 30) + 15); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 11){ _local13 = new exitDoor(); _local13.x = (_local5 * 30); _local13.y = (_local4 * 30); _local13.gotoAndStop(19); addChildAt(_local13, getChildIndex(getChildByName("p1"))); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 12){ _local14 = new rock(); _local14.x = (_local5 * 30); _local14.y = (_local4 * 30); _local14.myTile = [_local4, _local5]; _local14.linkData = _arg1[_local4][_local5]; _local3.addChild(_local14); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 13){ _local15 = new geyser(); _local15.x = (_local5 * 30); _local15.y = (_local4 * 30); _local15.myTile = [_local4, _local5]; addChild(_local15); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 14){ _local16 = new geyserRight(); _local16.x = (_local5 * 30); _local16.y = (_local4 * 30); _local16.myTile = [_local4, _local5]; addChild(_local16); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 15){ _local17 = new geyserLeft(); _local17.x = (_local5 * 30); _local17.y = (_local4 * 30); _local17.myTile = [_local4, _local5]; addChild(_local17); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 16){ _local18 = new spikePermanent(); _local18.x = (_local5 * 30); _local18.y = (_local4 * 30); _local18.myTile = [_local4, _local5]; _local18.linkData = _arg1[_local4][_local5]; addChildAt(_local18, getChildIndex(getChildByName("p1"))); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 17){ _local19 = new spikePermanentUp(); _local19.x = (_local5 * 30); _local19.y = (_local4 * 30); _local19.myTile = [_local4, _local5]; _local19.linkData = _arg1[_local4][_local5]; addChildAt(_local19, getChildIndex(getChildByName("p1"))); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 18){ _local20 = new axe(); _local20.x = (_local5 * 30); _local20.y = (_local4 * 30); _local20.myTile = [_local4, _local5]; _local20.linkData = _arg1[_local4][_local5]; addChildAt(_local20, getChildIndex(getChildByName("p1"))); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 19){ _local21 = new breakTile(); _local21.x = (_local5 * 30); _local21.y = (_local4 * 30); _local21.myTile = [_local4, _local5]; _local21.linkData = _arg1[_local4][_local5]; _local3.addChild(_local21); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 20){ _local22 = new lever(); _local22.x = (_local5 * 30); _local22.y = (_local4 * 30); _local22.myTile = [_local4, _local5]; _local22.linkData = _arg1[_local4][_local5]; addChild(_local22); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 21){ _local23 = new keyDoor(); _local23.x = (_local5 * 30); _local23.y = (_local4 * 30); _local23.myTile = [_local4, _local5]; _local23.linkData = _arg1[_local4][_local5]; _local3.addChild(_local23); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 22){ _local24 = new Okey(); _local24.x = (_local5 * 30); _local24.y = (_local4 * 30); _local24.myTile = [_local4, _local5]; _local24.linkData = _arg1[_local4][_local5]; addChild(_local24); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 23){ _local25 = new GasPipe(); _local25.x = (_local5 * 30); _local25.y = (_local4 * 30); _local25.myTile = [_local4, _local5]; _local25.linkData = _arg1[_local4][_local5]; levTimers = (30 * 30); addChild(_local25); }; if (String(_arg1[_local4][_local5]).split("-")[0] == 24){ if (!diffMusicPos){ _local26 = new difMusic(); _local26.x = (_local5 * 30); _local26.y = (_local4 * 30); _local26.myTile = [_local4, _local5]; _local26.linkData = _arg1[_local4][_local5]; addChild(_local26); }; }; if (String(_arg1[_local4][_local5]).split("-")[0] == 25){ if (!backFlipsPos){ _local27 = new baFlips(); _local27.x = (_local5 * 30); _local27.y = (_local4 * 30); _local27.myTile = [_local4, _local5]; _local27.linkData = _arg1[_local4][_local5]; addChild(_local27); }; }; if (String(_arg1[_local4][_local5]).split("-")[0] == 26){ if (!rotatingCameraPos){ _local28 = new camRot(); _local28.x = (_local5 * 30); _local28.y = (_local4 * 30); _local28.myTile = [_local4, _local5]; _local28.linkData = _arg1[_local4][_local5]; addChild(_local28); }; }; if (String(_arg1[_local4][_local5]).split("-")[0] == 27){ if (!highJumpsPos){ _local29 = new hiJumps(); _local29.x = (_local5 * 30); _local29.y = (_local4 * 30); _local29.myTile = [_local4, _local5]; _local29.linkData = _arg1[_local4][_local5]; addChild(_local29); }; }; if (String(_arg1[_local4][_local5]).split("-")[0] == 28){ if (!upsideCameraPos){ _local30 = new upsCam(); _local30.x = (_local5 * 30); _local30.y = (_local4 * 30); _local30.myTile = [_local4, _local5]; _local30.linkData = _arg1[_local4][_local5]; addChild(_local30); }; }; _local5++; }; _local4++; }; addChild(_local3); curLevArray = _arg1; } public function upCams(_arg1:MouseEvent){ if (upsideCameraPos){ upsideCamera = !(upsideCamera); if (upsideCamera){ upCam.visible = true; } else { upCam.visible = false; }; }; } public function moosics(_arg1:MouseEvent){ if (diffMusicPos){ diffMusic = !(diffMusic); if (diffMusic){ moosic.visible = true; } else { moosic.visible = false; }; }; } public function assssp(_arg1:MouseEvent){ gotoAndStop(8); } } }//package
Section 86
//menuMusic (menuMusic) package { import flash.media.*; public dynamic class menuMusic extends Sound { } }//package
Section 87
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 88
//NGLoader (NGLoader) package { import flash.display.*; import flash.events.*; import flash.net.*; import flash.system.*; public dynamic class NGLoader extends MovieClip { public const AUTO_PLAY:Boolean = false; public var bar:MovieClip; public var playButton:SimpleButton; public var loadingComplete:Boolean; public var initialized:Boolean; public function NGLoader(){ addFrameScript(0, frame1, 1, frame2); } public function init():void{ if (initialized){ return; }; initialized = true; stop(); if (((root) && ((root is MovieClip)))){ MovieClip(root).stop(); }; loadingComplete = false; addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true); if (meetsVersion([9, 0, 28, 0])){ addEventListener(Event.REMOVED_FROM_STAGE, cleanup, false, 0, true); }; enterFrameHandler(); } public function enterFrameHandler(_arg1:Event=null):void{ var _local2:Number; if (!loadingComplete){ _local2 = 0; if (bar.currentFrame == 1){ if (loaderInfo){ _local2 = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal); }; if (bar){ bar.scaleX = _local2; }; } else { bar.scaleX = 1; }; if (_local2 == 1){ loadingComplete = true; if (AUTO_PLAY){ startMovie(); } else { bar.scaleX = 1; bar.play(); }; }; }; } public function meetsVersion(_arg1:Array):Boolean{ var _local2:Array; var _local3:uint; _local2 = String(Capabilities.version.split(" ")[1]).split(","); _local3 = 0; while (_local3 < _arg1.length) { if (uint(_local2[_local3]) > _arg1[_local3]){ return (true); }; if (uint(_local2[_local3]) < _arg1[_local3]){ return (false); }; _local3++; }; return (true); } public function playButtonClickHandler(_arg1:Event=null):void{ startMovie(); } function frame1(){ initialized = false; init(); } function frame2(){ stop(); if (((playButton) && (!(playButton.hasEventListener(MouseEvent.CLICK))))){ playButton.addEventListener(MouseEvent.CLICK, playButtonClickHandler, false, 0, true); }; } public function ngButtonClickHandler(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank"); } public function cleanup(_arg1:Event=null){ if (initialized){ removeEventListener(Event.ENTER_FRAME, enterFrameHandler); if (meetsVersion([9, 0, 28, 0])){ removeEventListener(Event.REMOVED_FROM_STAGE, cleanup); }; }; initialized = false; } public function startMovie():void{ cleanup(); if (((root) && ((root is MovieClip)))){ MovieClip(root).play(); }; dispatchEvent(new Event(Event.COMPLETE)); } } }//package
Section 89
//NumericStepperDownArrow_disabledSkin (NumericStepperDownArrow_disabledSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_disabledSkin extends MovieClip { } }//package
Section 90
//NumericStepperDownArrow_downSkin (NumericStepperDownArrow_downSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_downSkin extends MovieClip { } }//package
Section 91
//NumericStepperDownArrow_overSkin (NumericStepperDownArrow_overSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_overSkin extends MovieClip { } }//package
Section 92
//NumericStepperDownArrow_upSkin (NumericStepperDownArrow_upSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_upSkin extends MovieClip { } }//package
Section 93
//NumericStepperUpArrow_disabledSkin (NumericStepperUpArrow_disabledSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_disabledSkin extends MovieClip { } }//package
Section 94
//NumericStepperUpArrow_downSkin (NumericStepperUpArrow_downSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_downSkin extends MovieClip { } }//package
Section 95
//NumericStepperUpArrow_overSkin (NumericStepperUpArrow_overSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_overSkin extends MovieClip { } }//package
Section 96
//NumericStepperUpArrow_upSkin (NumericStepperUpArrow_upSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_upSkin extends MovieClip { } }//package
Section 97
//Okey (Okey) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class Okey extends MovieClip { public var active:Boolean;// = false public var Keys:Object; public var myTile:Array; public var clickControl:Boolean;// = false public var ey:Boolean;// = false public var linkData:String;// = "" public function Okey():void{ myTile = new Array(); active = false; clickControl = false; linkData = ""; ey = false; super(); KeyObject.initialize(stage); Keys = KeyObject; if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(clickSound, "clickSou"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ if ((((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p1")).inAir)))){ active = !(active); if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; Main(parent).keyGot = true; Main(parent).removeChild(this); ey = true; } else { if ((((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p2")).inAir)))){ active = !(active); if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; Main(parent).keyGot = true; ey = true; Main(parent).removeChild(this); } else { if ((((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p3")).inAir)))){ active = !(active); if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; Main(parent).keyGot = true; Main(parent).removeChild(this); ey = true; }; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 98
//particles (particles) package { import flash.display.*; import flash.events.*; public class particles extends MovieClip { public var hill:Boolean; public var ySpeed:Number;// = -3 public var i:Number; public var xSpeed:Number;// = 0 public function particles(){ xSpeed = 0; ySpeed = -3; super(); if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } private function init(_arg1:Event=null):void{ if (currentFrame == 1){ x = (x + (0.5 - Math.random())); y = (y + (0.5 - Math.random())); xSpeed = (-1 + (Math.random() * 2)); ySpeed = (-13 + Math.random()); rotation = (Math.random() * 800); }; if (currentFrame == 2){ y = (y + (0.5 - Math.random())); x = (x + (0.5 - Math.random())); ySpeed = (-1 + (Math.random() * 2)); xSpeed = (13 + Math.random()); rotation = (Math.random() * 800); }; if (currentFrame == 3){ y = (y + (0.5 - Math.random())); x = (x + (0.5 - Math.random())); ySpeed = (-1 + (Math.random() * 2)); xSpeed = (-13 + Math.random()); rotation = (Math.random() * 800); }; if ((((currentFrame == 4)) || ((currentFrame == 5)))){ x = (x + (0.5 - Math.random())); y = (y + (0.5 - Math.random())); xSpeed = (-10 + (Math.random() * 20)); ySpeed = (Math.random() * -13); rotation = (Math.random() * 800); }; if (currentFrame == 6){ y = (y + (0.5 - Math.random())); x = (x + (0.5 - Math.random())); ySpeed = (Math.random() * 2); xSpeed = (-8 + Math.random()); rotation = (Math.random() * 800); }; removeEventListener(Event.ADDED_TO_STAGE, init); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } function onEnterFrames(){ stop(); if (currentFrame == 1){ x = (x + xSpeed); xSpeed = (xSpeed * 1.05); scaleX = (scaleX - 0.01); y = (y + ySpeed); ySpeed = (ySpeed * 0.9); alpha = (alpha - 0.04); }; if (currentFrame == 2){ y = (y + ySpeed); ySpeed = (ySpeed * 1.05); scaleY = (scaleY - 0.01); x = (x + xSpeed); xSpeed = (xSpeed * 0.9); alpha = (alpha - 0.04); }; if (currentFrame == 3){ y = (y + ySpeed); ySpeed = (ySpeed * 1.05); scaleY = (scaleY - 0.01); x = (x + xSpeed); xSpeed = (xSpeed * 0.9); alpha = (alpha - 0.04); }; if ((((currentFrame == 4)) || ((currentFrame == 5)))){ y = (y + ySpeed); ySpeed = (ySpeed + 0.5); x = (x + xSpeed); alpha = (alpha - 0.04); }; if (currentFrame == 6){ y = (y + ySpeed); ySpeed = (ySpeed + 0.07); x = (x + xSpeed); xSpeed = (xSpeed * 0.8); alpha = (alpha - 0.04); }; if ((((scaleX <= 0)) || ((alpha <= 0)))){ parent.removeChild(this); }; } } }//package
Section 99
//player (player) package { import flash.display.*; import com.reintroducing.sound.*; public class player extends MovieClip { public var leftKey:Number;// = 37 public var inser:MovieClip; public var Keys:Object; public var switchKeyBoo:Boolean;// = false public var maxSpeed:Number;// = 5 public var ySpeed:Number;// = -5 public var gravity:Number;// = 1 public var jumpKey:Number;// = 38 public var tileY:Number; public var tileX:Number; public var downKey:Number;// = 36 public var ducking:Boolean;// = false public var haveAxe:Number;// = 0 public var inAxe:MovieClip; public var switchKey:Number;// = 32 public var xSpeed:Number;// = -5 public var textHold:MovieClip; public var rightKey:Number;// = 39 public var jumpSpeed:Number;// = 0 public var onLadder:Boolean;// = false public var inAir:Boolean;// = false public var tempArray:Array; public function player():void{ xSpeed = -5; ySpeed = -5; inAir = false; gravity = 1; maxSpeed = 5; jumpSpeed = 0; ducking = false; switchKeyBoo = false; onLadder = false; haveAxe = 0; jumpKey = 38; leftKey = 37; downKey = 36; rightKey = 39; switchKey = 32; super(); SoundManager.getInstance().addLibrarySound(cracky, "pickAX"); SoundManager.getInstance().addLibrarySound(dieSound, "deadSound"); KeyObject.initialize(stage); Keys = KeyObject; } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } function onEnterFrames():void{ var _local1:Number; var _local2:Number; var _local3:particles; var _local4:particles; var _local5:particles; var _local6:particles; var _local7:particles; var _local8:particles; var _local9:particles; var _local10:particles; var _local11:particles; var _local12:particles; var _local13:particles; var _local14:particles; var _local15:particles; var _local16:particles; var _local17:particles; var _local18:particles; var _local19:particles; var _local20:particles; var _local21:particles; var _local22:particles; inAxe.alpha = (0.34 * haveAxe); if (haveAxe > 0){ if (((((Keys.isDown(88)) && ((MovieClip(parent).inPlay == name.substr(1))))) && (!(inAir)))){ inAxe.play(); }; if (inAxe.currentFrame == 10){ _local2 = 0; while (_local2 < MovieClip(parent.getChildByName("touchGround")).numChildren) { if ((MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2) is breakTile)){ if (scaleX > 0){ if ((((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[0] == getTile((x + 30), (y - 40))[0])) && ((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[1] == getTile((x + 30), (y - 40))[1])))){ MovieClip(parent.getChildByName("touchGround")).removeChild(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)); _local3 = new particles(); _local3.x = (x + 30); _local3.y = (y - 40); _local3.gotoAndStop(5); parent.addChild(_local3); _local4 = new particles(); _local4.x = (x + 30); _local4.y = (y - 40); _local4.gotoAndStop(5); parent.addChild(_local4); _local5 = new particles(); _local5.x = (x + 30); _local5.y = (y - 40); _local5.gotoAndStop(5); parent.addChild(_local5); _local6 = new particles(); _local6.x = (x + 30); _local6.y = (y - 40); _local6.gotoAndStop(5); parent.addChild(_local6); _local7 = new particles(); _local7.x = (x + 30); _local7.y = (y - 40); _local7.gotoAndStop(5); parent.addChild(_local7); SoundManager.getInstance().playSound("pickAX", 1, 0, 1); }; if ((((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[0] == getTile((x + 30), (y - 10))[0])) && ((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[1] == getTile((x + 30), (y - 10))[1])))){ MovieClip(parent.getChildByName("touchGround")).removeChild(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)); _local8 = new particles(); _local8.x = (x + 30); _local8.y = (y - 20); _local8.gotoAndStop(5); parent.addChild(_local8); _local9 = new particles(); _local9.x = (x + 30); _local9.y = (y - 20); _local9.gotoAndStop(5); parent.addChild(_local9); _local10 = new particles(); _local10.x = (x + 30); _local10.y = (y - 20); _local10.gotoAndStop(5); parent.addChild(_local10); _local11 = new particles(); _local11.x = (x + 30); _local11.y = (y - 20); _local11.gotoAndStop(5); parent.addChild(_local11); _local12 = new particles(); _local12.x = (x + 30); _local12.y = (y - 20); _local12.gotoAndStop(5); parent.addChild(_local12); SoundManager.getInstance().playSound("pickAX", 1, 0, 1); }; } else { if ((((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[0] == getTile((x - 30), (y - 40))[0])) && ((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[1] == getTile((x - 30), (y - 40))[1])))){ MovieClip(parent.getChildByName("touchGround")).removeChild(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)); _local13 = new particles(); _local13.x = (x - 30); _local13.y = (y - 40); _local13.gotoAndStop(5); parent.addChild(_local13); _local14 = new particles(); _local14.x = (x - 30); _local14.y = (y - 40); _local14.gotoAndStop(5); parent.addChild(_local14); _local15 = new particles(); _local15.x = (x - 30); _local15.y = (y - 40); _local15.gotoAndStop(5); parent.addChild(_local15); _local16 = new particles(); _local16.x = (x - 30); _local16.y = (y - 40); _local16.gotoAndStop(5); parent.addChild(_local16); _local17 = new particles(); _local17.x = (x - 30); _local17.y = (y - 40); _local17.gotoAndStop(5); parent.addChild(_local17); }; if ((((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[0] == getTile((x - 30), (y - 10))[0])) && ((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)).myTile[1] == getTile((x - 30), (y - 10))[1])))){ MovieClip(parent.getChildByName("touchGround")).removeChild(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local2)); _local18 = new particles(); _local18.x = (x - 30); _local18.y = (y - 20); _local18.gotoAndStop(5); parent.addChild(_local18); _local19 = new particles(); _local19.x = (x - 30); _local19.y = (y - 20); _local19.gotoAndStop(5); parent.addChild(_local19); _local20 = new particles(); _local20.x = (x - 30); _local20.y = (y - 20); _local20.gotoAndStop(5); parent.addChild(_local20); _local21 = new particles(); _local21.x = (x - 30); _local21.y = (y - 20); _local21.gotoAndStop(5); parent.addChild(_local21); _local22 = new particles(); _local22.x = (x - 30); _local22.y = (y - 20); _local22.gotoAndStop(5); parent.addChild(_local22); }; }; }; _local2++; }; haveAxe--; }; }; if (Keys.isDown(49)){ MovieClip(parent).inPlay = 1; }; if (Keys.isDown(50)){ MovieClip(parent).inPlay = 2; }; if (Keys.isDown(51)){ MovieClip(parent).inPlay = 3; }; if (((Keys.isDown(switchKey)) && (switchKeyBoo))){ MovieClip(parent).inPlay++; if (MovieClip(parent).inPlay == 4){ MovieClip(parent).inPlay = 1; }; }; if (Keys.isDown(81)){ if (((visible) && ((MovieClip(Main(parent).getChildByName("endLevClip")).currentFrame == 1)))){ Main(parent).newLev = false; Main(parent).goHome = true; MovieClip(Main(parent).getChildByName("endLevClip")).gotoAndPlay(2); MovieClip(Main(parent).getChildByName("endLevClip")).play(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); death(); visible = false; }; }; if (Keys.isDown(82)){ if (((visible) && ((MovieClip(Main(parent).getChildByName("endLevClip")).currentFrame == 1)))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).gotoAndPlay(2); MovieClip(Main(parent).getChildByName("endLevClip")).play(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); death(); visible = false; }; }; if (Keys.isDown(32)){ switchKeyBoo = false; } else { switchKeyBoo = true; }; if (!onLadder){ if (((((((Keys.isDown(jumpKey)) && (!(inAir)))) && (!(ducking)))) && ((inAxe.currentFrame == 1)))){ ySpeed = 0; y = (y - 5); jumpSpeed = 6; }; if (Keys.isDown(jumpKey)){ if ((((getLevelTile((x - 10), (y - 25)) == 5)) || ((getLevelTile((x + 10), (y - 25)) == 5)))){ onLadder = true; }; }; if (((Keys.isDown(jumpKey)) && ((jumpSpeed >= 0)))){ if (inAir){ ducking = false; if (Main(parent).highJumps){ jumpSpeed = (jumpSpeed - 0.5); } else { jumpSpeed = (jumpSpeed - 1); }; ySpeed = (ySpeed - jumpSpeed); if (Main(parent).highJumps){ if (ySpeed < -17){ ySpeed = -17; }; }; }; if (!Keys.isDown(jumpKey)){ jumpSpeed = -5; }; } else { if (Keys.isDown(downKey)){ ducking = true; } else { if ((((downKey == 5000)) && (ducking))){ } else { ducking = false; }; }; if (ducking){ checkGotoStop(3); } else { if (((!(inAir)) && (!(onLadder)))){ if (Math.abs(xSpeed) > 1){ checkGotoStop(2); } else { checkGotoStop(1); }; }; }; }; }; if (((inAir) && (!(onLadder)))){ checkGotoStop(4); if (Main(parent).backFlips){ rotation = (rotation + 20); }; } else { rotation = 0; }; if (((Keys.isDown(rightKey)) && (!(ducking)))){ scaleX = 1; if (xSpeed < maxSpeed){ xSpeed = (xSpeed + 1); }; } else { if (((Keys.isDown(leftKey)) && (!(ducking)))){ scaleX = -1; if (xSpeed > -(maxSpeed)){ xSpeed = (xSpeed - 1); }; } else { xSpeed = (xSpeed * 0.7); }; }; if (!onLadder){ ySpeed = (ySpeed + gravity); } else { checkGotoStop(5); if (Keys.isDown(jumpKey)){ if (getChildByName("inser") != null){ MovieClip(getChildByName("inser")).nextFrame(); }; ySpeed = -5; } else { if (Keys.isDown(downKey)){ if (getChildByName("inser") != null){ MovieClip(getChildByName("inser")).nextFrame(); }; ySpeed = 5; } else { ySpeed = 0; }; }; if ((((getLevelTile((x - 10), (y - 25)) == 5)) || ((getLevelTile((x + 10), (y - 25)) == 5)))){ onLadder = true; }; }; if (((!((getLevelTile((x - 10), (y - 25)) == 5))) && (!((getLevelTile((x + 10), (y - 25)) == 5))))){ onLadder = false; }; if (Math.abs(xSpeed) < 0.5){ xSpeed = 0; }; if (ySpeed > 13){ ySpeed = 13; }; if (ySpeed < -19){ ySpeed = -19; }; if (xSpeed > 13){ xSpeed = 13; }; if (xSpeed < -13){ xSpeed = -13; }; y = (y + ySpeed); x = (x + xSpeed); if ((((getLevelTile((x - 7), y) == 1)) || ((getLevelTile((x + 7), y) == 1)))){ if (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), (y - 57), true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), (y - 57), true)))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); death(); visible = false; }; }; if (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), y, true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), y, true)))){ if ((((getLevelTile((x - 7), (y - 57)) == 1)) || ((getLevelTile((x + 7), (y - 57)) == 1)))){ Main(parent).newLev = false; death(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); visible = false; }; }; if (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), y, true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), y, true)))){ if (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), (y - 55), true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), (y - 55), true)))){ Main(parent).newLev = false; death(); MovieClip(Main(parent).getChildByName("endLevClip")).play(); visible = false; }; }; while ((((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 15), (y - 14), true) == 1)) || ((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 15), (y - 40), true) == 1)))) { x--; xSpeed = 0; }; while ((((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 15), (y - 14), true) == 1)) || ((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 15), (y - 40), true) == 1)))) { x++; xSpeed = 0; }; while ((((getLevelTile((x + 15), (y - 14)) == 1)) || ((getLevelTile((x + 15), (y - 40)) == 1)))) { x--; xSpeed = 0; }; while ((((getLevelTile((x - 15), (y - 14)) == 1)) || ((getLevelTile((x - 15), (y - 40)) == 1)))) { x++; xSpeed = 0; }; if (((!((getLevelTile((x - 7), (y + 2)) == 1))) && (!((getLevelTile((x + 7), (y + 2)) == 1))))){ inAir = true; } else { inAir = false; }; while ((((getLevelTile((x - 7), y) == 1)) || ((getLevelTile((x + 7), y) == 1)))) { inAir = false; y--; ySpeed = 0; }; while ((((getLevelTile((x - 7), (y - 59)) == 1)) || ((getLevelTile((x + 7), (y - 59)) == 1)))) { y++; ySpeed = 0; }; while (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), (y - 59), true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), (y - 59), true)))) { y++; ySpeed = 0; }; _local1 = 0; while (_local1 < 6) { while ((((((((((getTile(x, (y - 5))[0] == Main(parent).playerTiles[_local1][0])) && ((getTile(x, (y - 5))[1] == Main(parent).playerTiles[_local1][1])))) && ((ySpeed >= 0)))) && (!((_local1 == ((Number(name.substr(1)) - 1) * 2)))))) && (!((_local1 == (((Number(name.substr(1)) - 1) * 2) + 1)))))) { inAir = false; y--; ySpeed = 0; }; _local1++; }; while (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), y, true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), y, true)))) { inAir = false; y--; ySpeed = 0; }; if (((MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x - 7), (y + 3), true)) || (MovieClip(Main(parent).getChildByName("touchGround")).hitTestPoint((x + 7), (y + 3), true)))){ inAir = false; }; if (MovieClip(parent).inPlay == name.substr(1)){ tempArray = Main(parent).curLevArray; parent.getChildByName("cam").x = (parent.getChildByName("cam").x - ((parent.getChildByName("cam").x - x) / 5)); parent.getChildByName("cam").y = (parent.getChildByName("cam").y - ((parent.getChildByName("cam").y - (y - 25)) / 5)); if ((parent.getChildByName("cam").x - (parent.getChildByName("cam").width / 2)) < 0){ parent.getChildByName("cam").x = (parent.getChildByName("cam").width / 2); }; if ((parent.getChildByName("cam").y - (parent.getChildByName("cam").height / 2)) < 0){ parent.getChildByName("cam").y = (parent.getChildByName("cam").height / 2); }; if ((parent.getChildByName("cam").y + (parent.getChildByName("cam").height / 2)) > (Main(parent).curLevArray.length * 30)){ parent.getChildByName("cam").y = ((Main(parent).curLevArray.length * 30) - (parent.getChildByName("cam").height / 2)); }; while ((parent.getChildByName("cam").x + (parent.getChildByName("cam").width / 2)) > (Main(parent).curLevArray[1].length * 30)) { parent.getChildByName("cam").x = ((Main(parent).curLevArray[1].length * 30) - (parent.getChildByName("cam").width / 2)); }; if ((((MovieClip(parent.getChildByName("endLevClip")).currentFrame == 1)) || ((MovieClip(parent.getChildByName("endLevClip")).currentFrame > 54)))){ alpha = 1; jumpKey = 38; leftKey = 37; downKey = 40; rightKey = 39; switchKey = 32; } else { alpha = 0.5; jumpKey = 5000; leftKey = 5000; downKey = 5000; rightKey = 5000; switchKey = 5000; }; } else { alpha = 0.5; jumpKey = 5000; leftKey = 5000; downKey = 5000; rightKey = 5000; switchKey = 5000; }; textHold.scaleX = scaleX; textHold.inden.text = name.substr(1); } public function death(){ var _local1:particles; var _local2:particles; var _local3:particles; var _local4:particles; var _local5:particles; var _local6:particles; var _local7:particles; var _local8:particles; var _local9:particles; _local1 = new particles(); _local1.x = x; _local1.y = (y - 20); _local1.gotoAndStop(4); parent.addChild(_local1); _local2 = new particles(); _local2.x = x; _local2.y = (y - 20); _local2.gotoAndStop(4); parent.addChild(_local2); _local3 = new particles(); _local3.x = x; _local3.y = (y - 20); _local3.gotoAndStop(4); parent.addChild(_local3); _local4 = new particles(); _local4.x = x; _local4.y = (y - 20); _local4.gotoAndStop(4); parent.addChild(_local4); _local5 = new particles(); _local5.x = x; _local5.y = (y - 20); _local5.gotoAndStop(4); parent.addChild(_local5); _local6 = new particles(); _local6.x = x; _local6.y = (y - 20); _local6.gotoAndStop(4); parent.addChild(_local6); _local7 = new particles(); _local7.x = x; _local7.y = (y - 20); _local7.gotoAndStop(4); parent.addChild(_local7); _local8 = new particles(); _local8.x = x; _local8.y = (y - 20); _local8.gotoAndStop(4); parent.addChild(_local8); _local9 = new particles(); _local9.x = x; _local9.y = (y - 20); _local9.gotoAndStop(4); parent.addChild(_local9); } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 100
//rock (rock) package { import flash.display.*; import flash.events.*; public class rock extends MovieClip { public var inRock:MovieClip; public var ySpeed:Number;// = 0 public var i:Number;// = 0 public var myTile:Array; public var xSpeed:Number;// = 0 public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function rock():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; ySpeed = 0; xSpeed = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var p:Number; try { if (!Main(parent.parent).levelOver){ temp = 0; myTile = getTile(x, y); while ((((getLevelTile((x + 10), (y + 29)) == 1)) || ((getLevelTile((x + 20), (y + 29)) == 1)))) { y--; ySpeed = 0; }; p = 0; while (p < parent.numChildren) { if ((((parent.getChildAt(p) is door)) || ((parent.getChildAt(p) is elevator)))){ while (((MovieClip(parent.getChildAt(p)).hitTestPoint((x + 10), (y + 29), true)) || (MovieClip(parent.getChildAt(p)).hitTestPoint((x + 20), (y + 29), true)))) { y--; ySpeed = 0; }; }; p = (p + 1); }; ySpeed = (ySpeed + 1); if (ySpeed > 5){ ySpeed = 0; }; y = (y + ySpeed); if (((hitTestPoint((MovieClip(MovieClip(parent.parent).getChildByName("p3")).x - 17), (MovieClip(MovieClip(parent.parent).getChildByName("p3")).y - 16), true)) && (!(MovieClip(MovieClip(parent.parent).getChildByName("p3")).inAir)))){ xSpeed = -2; }; if (((hitTestPoint((MovieClip(MovieClip(parent.parent).getChildByName("p3")).x + 17), (MovieClip(MovieClip(parent.parent).getChildByName("p3")).y - 16), true)) && (!(MovieClip(MovieClip(parent.parent).getChildByName("p3")).inAir)))){ xSpeed = 2; }; if (((hitTestPoint((MovieClip(MovieClip(parent.parent).getChildByName("p2")).x - 17), (MovieClip(MovieClip(parent.parent).getChildByName("p2")).y - 16), true)) && (!(MovieClip(MovieClip(parent.parent).getChildByName("p2")).inAir)))){ xSpeed = -2; }; if (((hitTestPoint((MovieClip(MovieClip(parent.parent).getChildByName("p2")).x + 17), (MovieClip(MovieClip(parent.parent).getChildByName("p2")).y - 16), true)) && (!(MovieClip(MovieClip(parent.parent).getChildByName("p2")).inAir)))){ xSpeed = 2; }; if (((hitTestPoint((MovieClip(MovieClip(parent.parent).getChildByName("p1")).x - 17), (MovieClip(MovieClip(parent.parent).getChildByName("p1")).y - 16), true)) && (!(MovieClip(MovieClip(parent.parent).getChildByName("p1")).inAir)))){ xSpeed = -2; }; if (((hitTestPoint((MovieClip(MovieClip(parent.parent).getChildByName("p1")).x + 17), (MovieClip(MovieClip(parent.parent).getChildByName("p1")).y - 16), true)) && (!(MovieClip(MovieClip(parent.parent).getChildByName("p1")).inAir)))){ xSpeed = 2; }; xSpeed = (xSpeed * 0.8); x = (x + xSpeed); inRock.rotation = (inRock.rotation + (xSpeed * 2)); while (MovieClip(Main(parent.parent).getChildByName("touchGround")).hitTestPoint((x + 35), (y + 15), true) == 1) { x--; xSpeed = 0; }; while (MovieClip(Main(parent.parent).getChildByName("touchGround")).hitTestPoint((x - 5), (y + 15), true) == 1) { x++; xSpeed = 0; }; while (getLevelTile((x + 32), (y + 15)) == 1) { x--; xSpeed = 0; }; while (getLevelTile((x - 2), (y + 15)) == 1) { x++; xSpeed = 0; }; }; } catch(error:TypeError) { }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent.parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 101
//sign (sign) package { import flash.display.*; import flash.events.*; public class sign extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public var inText:MovieClip; public function sign():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; try { if ((((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p1")).inAir)))){ nextFrame(); } else { if ((((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p2")).inAir)))){ nextFrame(); } else { if ((((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p3")).inAir)))){ nextFrame(); } else { prevFrame(); }; }; }; inText.bawx.text = linkData.split("-")[1]; } catch(error:TypeError) { }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 102
//spike (spike) package { import flash.display.*; import flash.events.*; public class spike extends MovieClip { public var p3Arr2:Array; public var p1Arr1:Array; public var p1Arr2:Array; public var p3Arr1:Array; public var i:Number;// = 0 public var myTile:Array; public var p2Arr1:Array; public var p2Arr2:Array; public var temp:Number;// = 0 public var activated:Boolean;// = true public var linkData:String;// = "2-2-2" public function spike():void{ myTile = new Array(); p1Arr1 = new Array(); p2Arr1 = new Array(); p3Arr1 = new Array(); p1Arr2 = new Array(); p2Arr2 = new Array(); p3Arr2 = new Array(); activated = true; linkData = "2-2-2"; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames(){ var _local1:*; temp = 0; p1Arr1 = getTile((Main(parent).getChildByName("p1").x + 13), Main(parent).getChildByName("p1").y); p2Arr1 = getTile((Main(parent).getChildByName("p2").x + 13), Main(parent).getChildByName("p2").y); p3Arr1 = getTile((Main(parent).getChildByName("p3").x + 13), Main(parent).getChildByName("p3").y); p1Arr2 = getTile((Main(parent).getChildByName("p1").x - 13), Main(parent).getChildByName("p1").y); p2Arr2 = getTile((Main(parent).getChildByName("p2").x - 13), Main(parent).getChildByName("p2").y); p3Arr2 = getTile((Main(parent).getChildByName("p3").x - 13), Main(parent).getChildByName("p3").y); if (currentFrame == 1){ if ((((p1Arr1[0] == myTile[0])) && ((p1Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p1").visible = false; MovieClip(Main(parent).getChildByName("p1")).death(); }; if ((((p1Arr2[0] == myTile[0])) && ((p1Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p1").visible = false; MovieClip(Main(parent).getChildByName("p1")).death(); }; if ((((p2Arr1[0] == myTile[0])) && ((p2Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p2").visible = false; MovieClip(Main(parent).getChildByName("p2")).death(); }; if ((((p2Arr2[0] == myTile[0])) && ((p2Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p2").visible = false; MovieClip(Main(parent).getChildByName("p2")).death(); }; if ((((p3Arr1[0] == myTile[0])) && ((p3Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p3").visible = false; MovieClip(Main(parent).getChildByName("p3")).death(); }; if ((((p3Arr2[0] == myTile[0])) && ((p3Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p3").visible = false; MovieClip(Main(parent).getChildByName("p3")).death(); }; }; _local1 = 0; while (_local1 < 9) { if (Main(parent).activationArray[linkData.split("-")[1]][_local1] == 0){ temp++; }; _local1++; }; if (temp == 9){ activated = false; } else { activated = true; }; if (activated){ prevFrame(); } else { nextFrame(); }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 103
//spikePermanent (spikePermanent) package { import flash.display.*; import flash.events.*; public class spikePermanent extends MovieClip { public var p3Arr2:Array; public var p1Arr1:Array; public var p1Arr2:Array; public var p3Arr1:Array; public var i:Number;// = 0 public var myTile:Array; public var p2Arr1:Array; public var p2Arr2:Array; public var temp:Number;// = 0 public var activated:Boolean;// = true public var linkData:String;// = "2-2-2" public function spikePermanent():void{ myTile = new Array(); p1Arr1 = new Array(); p2Arr1 = new Array(); p3Arr1 = new Array(); p1Arr2 = new Array(); p2Arr2 = new Array(); p3Arr2 = new Array(); activated = true; linkData = "2-2-2"; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames(){ temp = 0; p1Arr1 = getTile((Main(parent).getChildByName("p1").x + 13), Main(parent).getChildByName("p1").y); p2Arr1 = getTile((Main(parent).getChildByName("p2").x + 13), Main(parent).getChildByName("p2").y); p3Arr1 = getTile((Main(parent).getChildByName("p3").x + 13), Main(parent).getChildByName("p3").y); p1Arr2 = getTile((Main(parent).getChildByName("p1").x - 13), Main(parent).getChildByName("p1").y); p2Arr2 = getTile((Main(parent).getChildByName("p2").x - 13), Main(parent).getChildByName("p2").y); p3Arr2 = getTile((Main(parent).getChildByName("p3").x - 13), Main(parent).getChildByName("p3").y); if (currentFrame == 1){ if ((((p1Arr1[0] == myTile[0])) && ((p1Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p1").visible = false; MovieClip(Main(parent).getChildByName("p1")).death(); }; if ((((p1Arr2[0] == myTile[0])) && ((p1Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p1").visible = false; MovieClip(Main(parent).getChildByName("p1")).death(); }; if ((((p2Arr1[0] == myTile[0])) && ((p2Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p2").visible = false; MovieClip(Main(parent).getChildByName("p2")).death(); }; if ((((p2Arr2[0] == myTile[0])) && ((p2Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p2").visible = false; MovieClip(Main(parent).getChildByName("p2")).death(); }; if ((((p3Arr1[0] == myTile[0])) && ((p3Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p3").visible = false; MovieClip(Main(parent).getChildByName("p3")).death(); }; if ((((p3Arr2[0] == myTile[0])) && ((p3Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p3").visible = false; MovieClip(Main(parent).getChildByName("p3")).death(); }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 104
//spikePermanentUp (spikePermanentUp) package { import flash.display.*; import flash.events.*; public class spikePermanentUp extends MovieClip { public var p3Arr2:Array; public var p1Arr1:Array; public var p1Arr2:Array; public var p3Arr1:Array; public var i:Number;// = 0 public var myTile:Array; public var p2Arr1:Array; public var p2Arr2:Array; public var temp:Number;// = 0 public var activated:Boolean;// = true public var linkData:String;// = "2-2-2" public function spikePermanentUp(){ myTile = new Array(); p1Arr1 = new Array(); p2Arr1 = new Array(); p3Arr1 = new Array(); p1Arr2 = new Array(); p2Arr2 = new Array(); p3Arr2 = new Array(); activated = true; linkData = "2-2-2"; temp = 0; i = 0; super(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames(){ temp = 0; p1Arr1 = getTile((Main(parent).getChildByName("p1").x + 13), (Main(parent).getChildByName("p1").y - 50)); p2Arr1 = getTile((Main(parent).getChildByName("p2").x + 13), (Main(parent).getChildByName("p2").y - 50)); p3Arr1 = getTile((Main(parent).getChildByName("p3").x + 13), (Main(parent).getChildByName("p3").y - 50)); p1Arr2 = getTile((Main(parent).getChildByName("p1").x - 13), (Main(parent).getChildByName("p1").y - 50)); p2Arr2 = getTile((Main(parent).getChildByName("p2").x - 13), (Main(parent).getChildByName("p2").y - 50)); p3Arr2 = getTile((Main(parent).getChildByName("p3").x - 13), (Main(parent).getChildByName("p3").y - 50)); if (currentFrame == 1){ if ((((p1Arr1[0] == myTile[0])) && ((p1Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p1").visible = false; MovieClip(Main(parent).getChildByName("p1")).death(); }; if ((((p1Arr2[0] == myTile[0])) && ((p1Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p1").visible = false; MovieClip(Main(parent).getChildByName("p1")).death(); }; if ((((p2Arr1[0] == myTile[0])) && ((p2Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p2").visible = false; MovieClip(Main(parent).getChildByName("p2")).death(); }; if ((((p2Arr2[0] == myTile[0])) && ((p2Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p2").visible = false; MovieClip(Main(parent).getChildByName("p2")).death(); }; if ((((p3Arr1[0] == myTile[0])) && ((p3Arr1[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p3").visible = false; MovieClip(Main(parent).getChildByName("p3")).death(); }; if ((((p3Arr2[0] == myTile[0])) && ((p3Arr2[1] == myTile[1])))){ Main(parent).newLev = false; MovieClip(Main(parent).getChildByName("endLevClip")).play(); Main(parent).getChildByName("p3").visible = false; MovieClip(Main(parent).getChildByName("p3")).death(); }; }; } public function spikePermanent():void{ init(); } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 105
//swiths (swiths) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class swiths extends MovieClip { public var myTile:Array; public var ey:Boolean;// = false public var linkData:String;// = "" public function swiths():void{ myTile = new Array(); linkData = ""; ey = false; super(); if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(clickSound, "clickSou"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ var _local1:Number; if ((((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p1")).inAir)))){ gotoAndStop(2); Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 0; if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = true; } else { if ((((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p2")).inAir)))){ gotoAndStop(2); Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 0; if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = true; } else { if ((((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))) && (!(MovieClip(parent.getChildByName("p3")).inAir)))){ gotoAndStop(2); Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 0; if (!ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = true; } else { gotoAndStop(1); if (ey){ SoundManager.getInstance().playSound("clickSou", 1, 0, 1); }; ey = false; Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 1; }; }; }; _local1 = 0; while (_local1 < MovieClip(parent.getChildByName("touchGround")).numChildren) { if ((MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1) is rock)){ if (((hitTestPoint((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).x + 25), (MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).y + 29), true)) || (hitTestPoint((MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).x + 5), (MovieClip(MovieClip(parent.getChildByName("touchGround")).getChildAt(_local1)).y + 29), true)))){ gotoAndStop(2); Main(parent).activationArray[linkData.split("-")[1]][linkData.split("-")[2]] = 0; }; }; _local1++; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package
Section 106
//TextInput_disabledSkin (TextInput_disabledSkin) package { import flash.display.*; public dynamic class TextInput_disabledSkin extends MovieClip { } }//package
Section 107
//TextInput_upSkin (TextInput_upSkin) package { import flash.display.*; public dynamic class TextInput_upSkin extends MovieClip { } }//package
Section 108
//tile (tile) package { import flash.display.*; public dynamic class tile extends MovieClip { } }//package
Section 109
//Tileadsads (Tileadsads) package { import flash.display.*; public dynamic class Tileadsads extends MovieClip { } }//package
Section 110
//upsCam (upsCam) package { import flash.display.*; import flash.events.*; import com.reintroducing.sound.*; public class upsCam extends MovieClip { public var i:Number;// = 0 public var myTile:Array; public var activated:Boolean;// = true public var linkData:String;// = "" public var temp:Number;// = 0 public function upsCam():void{ myTile = new Array(); activated = true; linkData = ""; temp = 0; i = 0; super(); init(); } private function init(_arg1:Event=null):void{ SoundManager.getInstance().addLibrarySound(fanfares, "success"); removeEventListener(Event.ADDED_TO_STAGE, init); } public function getTile(_arg1, _arg2){ return (new Array(Math.floor((_arg2 / 30)), Math.floor((_arg1 / 30)))); } function checkGotoStop(_arg1:Number):void{ if (((!((currentFrame == _arg1))) && (!((_arg1 == 0))))){ gotoAndStop(_arg1); }; } public function onEnterFrames():void{ temp = 0; if ((((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p1")).x, MovieClip(parent.getChildByName("p1")).y)[1] == myTile[1])))){ Main(parent).upsideCameraPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[0]; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p2")).x, MovieClip(parent.getChildByName("p2")).y)[1] == myTile[1])))){ Main(parent).upsideCameraPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[0]; parent.removeChild(this); } else { if ((((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[0] == myTile[0])) && ((getTile(MovieClip(parent.getChildByName("p3")).x, MovieClip(parent.getChildByName("p3")).y)[1] == myTile[1])))){ Main(parent).upsideCameraPos = true; SoundManager.getInstance().playSound("success", 1, 0, 1); Main(parent).shared.data.unlocs[0]; parent.removeChild(this); }; }; }; } public function getLevelTile(_arg1, _arg2){ return (Main(parent).curLevArray[getTile(_arg1, _arg2)[0]][getTile(_arg1, _arg2)[1]]); } } }//package

Library Items

Symbol 1 Sound {gameMusic}
Symbol 2 Sound {fanfares}
Symbol 3 Sound {dieSound}
Symbol 4 Sound {clickSound}
Symbol 5 Sound {endMusic}
Symbol 6 Sound {cracky}
Symbol 7 Sound {gameMusicNew}
Symbol 8 Sound {menuMusic}
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip {keyDoor}Uses:11
Symbol 13 GraphicUsed by:17
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:16
Symbol 16 MovieClipUses:15Used by:17
Symbol 17 MovieClip {Tileadsads}Uses:13 16
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:69
Symbol 20 BitmapUsed by:21 85
Symbol 21 GraphicUses:20Used by:69
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:69
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:69
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:69
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:69
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:69
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:69
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:69
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:69
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:69
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:69
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:69
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:69 106
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:69
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:69
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClip {bffMain_fla.HitTestBox_105}Uses:50Used by:54 68 96 98 100 102
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip {swiths}Uses:51 52 53Used by:69
Symbol 55 ShapeTweeningUsed by:57
Symbol 56 GraphicUsed by:57 70 216 234 354 392 412  Timeline
Symbol 57 MovieClip {elevator}Uses:55 56Used by:69
Symbol 58 GraphicUsed by:69  Timeline
Symbol 59 GraphicUsed by:62
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:62
Symbol 62 MovieClipUses:59 61Used by:68
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:67
Symbol 65 FontUsed by:66
Symbol 66 TextUses:65Used by:67
Symbol 67 MovieClipUses:64 66Used by:68
Symbol 68 MovieClip {exitDoor}Uses:51 62 67Used by:69
Symbol 69 MovieClip {tile}Uses:19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 54 57 58 68
Symbol 70 MovieClip {door}Uses:56
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClip {ladder}Uses:71
Symbol 73 GraphicUsed by:79 80 81
Symbol 74 GraphicUsed by:78
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:77
Symbol 77 MovieClipUses:76Used by:78
Symbol 78 MovieClipUses:74 77Used by:79 80 81
Symbol 79 MovieClip {spikePermanentUp}Uses:73 78
Symbol 80 MovieClip {spikePermanent}Uses:73 78
Symbol 81 MovieClip {spike}Uses:73 78
Symbol 82 GraphicUsed by:89
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:89
Symbol 85 GraphicUses:20Used by:86
Symbol 86 MovieClipUses:85Used by:87 96 362
Symbol 87 MovieClipUses:86Used by:89
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClip {particles}Uses:82 84 87 88
Symbol 90 GraphicUsed by:95
Symbol 91 GraphicUsed by:94
Symbol 92 FontUsed by:93 356 357 358 372 373 374 375 376 380 397 399 400 402 404 408 411
Symbol 93 EditableTextUses:92Used by:94
Symbol 94 MovieClip {bffMain_fla.SignInnards_114}Uses:91 93Used by:95
Symbol 95 MovieClip {sign}Uses:90 94
Symbol 96 MovieClip {rock}Uses:51 86
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClip {geyserLeft}Uses:51 97
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClip {geyserRight}Uses:51 99
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClip {geyser}Uses:51 101
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:105 128 263 267 271 275 279 284 362  Timeline
Symbol 105 MovieClip {axe}Uses:104
Symbol 106 MovieClipUses:45Used by:108
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClip {breakTile}Uses:106 107
Symbol 109 GraphicUsed by:111
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClip {lever}Uses:109 110
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClip {Okey}Uses:112
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClip {GasPipe}Uses:114
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:118 119 120 121 122
Symbol 118 MovieClip {difMusic}Uses:117
Symbol 119 MovieClip {upsCam}Uses:117
Symbol 120 MovieClip {baFlips}Uses:117
Symbol 121 MovieClip {hiJumps}Uses:117
Symbol 122 MovieClip {camRot}Uses:117
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:157 362 412
Symbol 125 FontUsed by:126
Symbol 126 EditableTextUses:125Used by:127
Symbol 127 MovieClip {bffMain_fla.TextHold_84}Uses:126Used by:157
Symbol 128 MovieClip {bffMain_fla.axeInPlayer_85}Uses:104Used by:157
Symbol 129 GraphicUsed by:139
Symbol 130 GraphicUsed by:139
Symbol 131 GraphicUsed by:139
Symbol 132 GraphicUsed by:139
Symbol 133 GraphicUsed by:139
Symbol 134 GraphicUsed by:139
Symbol 135 GraphicUsed by:139
Symbol 136 GraphicUsed by:139
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:129 130 131 132 133 134 135 136 137 138Used by:140 310
Symbol 140 MovieClipUses:139Used by:141
Symbol 141 MovieClipUses:140Used by:142 263  Timeline
Symbol 142 MovieClip {bffMain_fla.Symbol12_86}Uses:141Used by:157
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClip {bffMain_fla.Duck_87}Uses:143Used by:157
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClip {bffMain_fla.jump_88}Uses:145Used by:157
Symbol 147 GraphicUsed by:156
Symbol 148 GraphicUsed by:156
Symbol 149 GraphicUsed by:156
Symbol 150 GraphicUsed by:156
Symbol 151 GraphicUsed by:156
Symbol 152 GraphicUsed by:156
Symbol 153 GraphicUsed by:156
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClip {bffMain_fla.Climbeh_89}Uses:147 148 149 150 151 152 153 154 155Used by:157
Symbol 157 MovieClip {player}Uses:124 127 128 142 144 146 156Used by:Timeline
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:167 185
Symbol 160 MovieClip {fl.core.ComponentShim}Used by:167 185
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClip {TextInput_disabledSkin}Uses:161Used by:167
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip {TextInput_upSkin}Uses:163Used by:167
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip {focusRectSkin}Uses:165Used by:167 185
Symbol 167 MovieClip {fl.controls.TextInput}Uses:159 160 162 164 166Used by:185
Symbol 168 GraphicUsed by:170
Symbol 169 GraphicUsed by:170 172 174 176 178 180 182 184
Symbol 170 MovieClip {NumericStepperDownArrow_disabledSkin}Uses:168 169Used by:185
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClip {NumericStepperDownArrow_downSkin}Uses:171 169Used by:185
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClip {NumericStepperDownArrow_overSkin}Uses:173 169Used by:185
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {NumericStepperDownArrow_upSkin}Uses:175 169Used by:185
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClip {NumericStepperUpArrow_disabledSkin}Uses:177 169Used by:185
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClip {NumericStepperUpArrow_downSkin}Uses:179 169Used by:185
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClip {NumericStepperUpArrow_overSkin}Uses:181 169Used by:185
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClip {NumericStepperUpArrow_upSkin}Uses:183 169Used by:185
Symbol 185 MovieClip {fl.controls.NumericStepper}Uses:159 160 166 170 172 174 176 178 180 182 184 167Used by:Timeline
Symbol 186 GraphicUsed by:199
Symbol 187 GraphicUsed by:188 263 267 271 275 279 284 322 328 331 334 337 340 342
Symbol 188 MovieClip {bffMain_fla.Timeline_2}Uses:187Used by:199
Symbol 189 GraphicUsed by:199
Symbol 190 GraphicUsed by:196
Symbol 191 GraphicUsed by:196
Symbol 192 GraphicUsed by:196
Symbol 193 GraphicUsed by:196
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 ButtonUses:190 191 192 193 194 195Used by:199
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClip {NGLoader}Uses:186 188 189 196 198Used by:Timeline
Symbol 200 GraphicUsed by:207
Symbol 201 FontUsed by:202 203 213 214
Symbol 202 TextUses:201Used by:207
Symbol 203 TextUses:201Used by:207
Symbol 204 GraphicUsed by:206 215
Symbol 205 GraphicUsed by:206
Symbol 206 ButtonUses:204 205Used by:207 215 381
Symbol 207 MovieClip {bffMain_fla.SponsorLogo_5}Uses:200 202 203 206Used by:263 390 412  Timeline
Symbol 208 FontUsed by:209 212 245 255 312 323 326 327 329 330 332 333 335 336 338 339 341 413 414
Symbol 209 TextUses:208Used by:216
Symbol 210 FontUsed by:211 237 239 241 243 246 247 248 280 320 321 360 387 388
Symbol 211 TextUses:210Used by:216
Symbol 212 TextUses:208Used by:216
Symbol 213 TextUses:201Used by:215 232
Symbol 214 TextUses:201Used by:215 232
Symbol 215 ButtonUses:204 213 214 206Used by:216
Symbol 216 MovieClip {bffMain_fla.Pause_7}Uses:56 209 211 212 215Used by:Timeline
Symbol 217 ShapeTweeningUsed by:234
Symbol 218 GraphicUsed by:222 263
Symbol 219 ShapeTweeningUsed by:221 222
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClip {bffMain_fla.introFlash_11}Uses:219 220Used by:222
Symbol 222 ButtonUses:218 221 219Used by:234
Symbol 223 GraphicUsed by:234
Symbol 224 GraphicUsed by:234
Symbol 225 ShapeTweeningUsed by:234
Symbol 226 GraphicUsed by:234
Symbol 227 ShapeTweeningUsed by:234
Symbol 228 GraphicUsed by:234
Symbol 229 ShapeTweeningUsed by:234
Symbol 230 ShapeTweeningUsed by:234
Symbol 231 GraphicUsed by:234
Symbol 232 MovieClipUses:213 214Used by:234
Symbol 233 ShapeTweeningUsed by:234
Symbol 234 MovieClip {bffMain_fla.notDoppler_intro_9}Uses:217 222 223 224 225 226 227 228 229 56 230 231 232 233 SS1Used by:Timeline
Symbol 235 BitmapUsed by:236 343 349
Symbol 236 GraphicUses:235Used by:Timeline
Symbol 237 TextUses:210Used by:238 278 279
Symbol 238 MovieClipUses:237Used by:263
Symbol 239 TextUses:210Used by:240 274 275
Symbol 240 MovieClipUses:239Used by:263
Symbol 241 TextUses:210Used by:242 270 271
Symbol 242 MovieClipUses:241Used by:263
Symbol 243 TextUses:210Used by:244 266 267
Symbol 244 MovieClipUses:243Used by:263
Symbol 245 TextUses:208Used by:249
Symbol 246 TextUses:210Used by:249
Symbol 247 TextUses:210Used by:249
Symbol 248 TextUses:210Used by:249
Symbol 249 MovieClipUses:245 246 247 248Used by:250
Symbol 250 MovieClipUses:249Used by:263  Timeline
Symbol 251 BitmapUsed by:252 350
Symbol 252 GraphicUses:251Used by:253
Symbol 253 MovieClipUses:252Used by:263  Timeline
Symbol 254 GraphicUsed by:256
Symbol 255 TextUses:208Used by:256
Symbol 256 ButtonUses:254 255Used by:263  Timeline
Symbol 257 ShapeTweeningUsed by:263
Symbol 258 ShapeTweeningUsed by:263
Symbol 259 GraphicUsed by:263 316 319 390
Symbol 260 GraphicUsed by:263 316 319 390
Symbol 261 ShapeTweeningUsed by:263
Symbol 262 ShapeTweeningUsed by:263
Symbol 263 MovieClip {bffMain_fla.Symbol10_13}Uses:207 238 240 242 244 250 253 141 256 104 257 258 259 260 261 187 262 218Used by:Timeline
Symbol 264 ShapeTweeningUsed by:266
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClip {bffMain_fla.Symbol3_27}Uses:243 264 265Used by:267
Symbol 267 ButtonUses:243 266 104 187Used by:Timeline
Symbol 268 ShapeTweeningUsed by:270
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClip {bffMain_fla.Symbol3copy2_29}Uses:241 268 269Used by:271
Symbol 271 ButtonUses:241 270 104 187Used by:Timeline
Symbol 272 ShapeTweeningUsed by:274
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClip {bffMain_fla.Symbol3copy3_31}Uses:239 272 273Used by:275
Symbol 275 ButtonUses:239 274 104 187Used by:Timeline
Symbol 276 ShapeTweeningUsed by:278
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClip {bffMain_fla.Symbol3copy_33}Uses:237 276 277Used by:279
Symbol 279 ButtonUses:237 278 104 187Used by:Timeline
Symbol 280 TextUses:210Used by:284
Symbol 281 ShapeTweeningUsed by:283
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClip {bffMain_fla.Symbol3copy4_35}Uses:281 282Used by:284
Symbol 284 ButtonUses:280 283 104 187Used by:Timeline
Symbol 285 GraphicUsed by:298
Symbol 286 FontUsed by:287 290
Symbol 287 TextUses:286Used by:298
Symbol 288 FontUsed by:289
Symbol 289 TextUses:288Used by:298
Symbol 290 TextUses:286Used by:298
Symbol 291 GraphicUsed by:294
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:294
Symbol 294 MovieClip {bffMain_fla.asasasas_38}Uses:291 293Used by:298
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:298
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClip {bffMain_fla.MainLogo_37}Uses:285 287 289 290 294 296 297Used by:302
Symbol 299 FontUsed by:300
Symbol 300 TextUses:299Used by:302
Symbol 301 GraphicUsed by:302 309
Symbol 302 ButtonUses:298 300 301Used by:Timeline
Symbol 303 GraphicUsed by:308
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClipUses:304Used by:308
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:306Used by:308
Symbol 308 MovieClipUses:303 305 307Used by:309
Symbol 309 ButtonUses:308 301Used by:Timeline
Symbol 310 MovieClipUses:139Used by:311
Symbol 311 MovieClipUses:310Used by:Timeline
Symbol 312 TextUses:208Used by:Timeline
Symbol 313 SoundUsed by:316 319 390
Symbol 314 ShapeTweeningUsed by:316
Symbol 315 ShapeTweeningUsed by:316
Symbol 316 MovieClip {bffMain_fla.endLevClipcopy_61}Uses:313 314 260 315 259Used by:Timeline
Symbol 317 ShapeTweeningUsed by:319
Symbol 318 ShapeTweeningUsed by:319
Symbol 319 MovieClip {bffMain_fla.endLevClipcopy2_62}Uses:313 317 260 318 259Used by:Timeline
Symbol 320 TextUses:210Used by:322
Symbol 321 TextUses:210Used by:322
Symbol 322 ButtonUses:320 321 187Used by:Timeline
Symbol 323 TextUses:208Used by:Timeline
Symbol 324 GraphicUsed by:325
Symbol 325 ButtonUses:324Used by:Timeline
Symbol 326 TextUses:208Used by:328  Timeline
Symbol 327 TextUses:208Used by:328
Symbol 328 ButtonUses:326 327 187Used by:Timeline
Symbol 329 TextUses:208Used by:331  Timeline
Symbol 330 TextUses:208Used by:331
Symbol 331 ButtonUses:329 330 187Used by:Timeline
Symbol 332 TextUses:208Used by:334  Timeline
Symbol 333 TextUses:208Used by:334
Symbol 334 ButtonUses:332 333 187Used by:Timeline
Symbol 335 TextUses:208Used by:337  Timeline
Symbol 336 TextUses:208Used by:337
Symbol 337 ButtonUses:335 336 187Used by:Timeline
Symbol 338 TextUses:208Used by:340
Symbol 339 TextUses:208Used by:340
Symbol 340 ButtonUses:338 339 187Used by:Timeline
Symbol 341 TextUses:208Used by:342
Symbol 342 ButtonUses:341 187Used by:Timeline
Symbol 343 GraphicUses:235Used by:344
Symbol 344 MovieClipUses:343Used by:Timeline
Symbol 345 ShapeTweeningUsed by:368
Symbol 346 FontUsed by:347 369
Symbol 347 TextUses:346Used by:348 368
Symbol 348 MovieClipUses:347Used by:368
Symbol 349 GraphicUses:235Used by:362
Symbol 350 GraphicUses:251Used by:362  Timeline
Symbol 351 SoundUsed by:362
Symbol 352 ShapeTweeningUsed by:354
Symbol 353 ShapeTweeningUsed by:354
Symbol 354 MovieClipUses:352 56 353Used by:362 412
Symbol 355 GraphicUsed by:362
Symbol 356 TextUses:92Used by:362
Symbol 357 TextUses:92Used by:362
Symbol 358 TextUses:92Used by:362
Symbol 359 GraphicUsed by:362
Symbol 360 TextUses:210Used by:362
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:349 350 124 104 351 354 355 356 357 358 359 360 86 361 SS2Used by:368
Symbol 363 ShapeTweeningUsed by:368
Symbol 364 GraphicUsed by:368 412
Symbol 365 SoundUsed by:368
Symbol 366 ShapeTweeningUsed by:368
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClip {bffMain_fla.IntroMovie_72}Uses:345 347 348 362 363 364 365 366 367 SS3Used by:Timeline
Symbol 369 TextUses:346Used by:Timeline
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClip {bffMain_fla.VCam_AS3_78}Uses:370Used by:Timeline
Symbol 372 TextUses:92Used by:390
Symbol 373 TextUses:92Used by:390
Symbol 374 TextUses:92Used by:390
Symbol 375 TextUses:92Used by:390
Symbol 376 TextUses:92Used by:379
Symbol 377 FontUsed by:378
Symbol 378 EditableTextUses:377Used by:379
Symbol 379 MovieClip {bffMain_fla.PLes_80}Uses:376 378Used by:390
Symbol 380 TextUses:92Used by:381
Symbol 381 MovieClip {bffMain_fla.SponsorLogocopy2_81}Uses:380 206Used by:390
Symbol 382 ShapeTweeningUsed by:390
Symbol 383 ShapeTweeningUsed by:390
Symbol 384 ShapeTweeningUsed by:390
Symbol 385 ShapeTweeningUsed by:390
Symbol 386 GraphicUsed by:390
Symbol 387 EditableTextUses:210Used by:389
Symbol 388 EditableTextUses:210Used by:389
Symbol 389 MovieClip {bffMain_fla.Inaers_82}Uses:387 388Used by:390
Symbol 390 MovieClip {bffMain_fla.endLevClip_79}Uses:372 373 374 375 379 207 381 313 382 260 383 259 384 385 386 389Used by:Timeline
Symbol 391 GraphicUsed by:Timeline
Symbol 392 MovieClip {bffMain_fla.Symbol26_90}Uses:56Used by:Timeline
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:412
Symbol 395 ShapeTweeningUsed by:412
Symbol 396 GraphicUsed by:412
Symbol 397 TextUses:92Used by:412
Symbol 398 GraphicUsed by:412
Symbol 399 TextUses:92Used by:412
Symbol 400 TextUses:92Used by:412
Symbol 401 GraphicUsed by:412
Symbol 402 TextUses:92Used by:412
Symbol 403 GraphicUsed by:412
Symbol 404 TextUses:92Used by:412
Symbol 405 GraphicUsed by:412
Symbol 406 GraphicUsed by:412
Symbol 407 GraphicUsed by:412
Symbol 408 TextUses:92Used by:412
Symbol 409 ShapeTweeningUsed by:412
Symbol 410 GraphicUsed by:412
Symbol 411 TextUses:92Used by:412
Symbol 412 MovieClip {bffMain_fla.Ending_91}Uses:394 124 395 396 397 398 399 354 364 400 401 402 403 404 405 406 407 408 409 410 411 56 207Used by:Timeline
Symbol 413 TextUses:208Used by:Timeline
Symbol 414 TextUses:208Used by:Timeline
Streaming Sound 1Used by:Symbol 234 MovieClip {bffMain_fla.notDoppler_intro_9}
Streaming Sound 2Used by:Symbol 362 MovieClip
Streaming Sound 3Used by:Symbol 368 MovieClip {bffMain_fla.IntroMovie_72}

Instance Names

"ps"Frame 1Symbol 216 MovieClip {bffMain_fla.Pause_7}
"sdsd"Frame 2Symbol 234 MovieClip {bffMain_fla.notDoppler_intro_9}
"butts"Frame 5Symbol 267 Button
"resu"Frame 5Symbol 271 Button
"cred"Frame 5Symbol 275 Button
"mgames"Frame 5Symbol 279 Button
"modes"Frame 5Symbol 284 Button
"bf1"Frame 5Symbol 302 Button
"bf2"Frame 5Symbol 309 Button
"buttsMute"Frame 5Symbol 256 Button
"baws"Frame 5Symbol 185 MovieClip {fl.controls.NumericStepper}
"startGame"Frame 5Symbol 316 MovieClip {bffMain_fla.endLevClipcopy_61}
"startGamess"Frame 5Symbol 319 MovieClip {bffMain_fla.endLevClipcopy2_62}
"modese"Frame 8Symbol 322 Button
"upCam"Frame 8Symbol 325 Button
"moosic"Frame 8Symbol 325 Button
"hJumps"Frame 8Symbol 325 Button
"bFlips"Frame 8Symbol 325 Button
"tripy"Frame 8Symbol 325 Button
"a1"Frame 8Symbol 328 Button
"b1"Frame 8Symbol 331 Button
"c1"Frame 8Symbol 334 Button
"d1"Frame 8Symbol 337 Button
"e1"Frame 8Symbol 340 Button
"deathCounts"Frame 8Symbol 325 Button
"f1"Frame 8Symbol 342 Button
"troMovie"Frame 9Symbol 368 MovieClip {bffMain_fla.IntroMovie_72}
"cam"Frame 12Symbol 371 MovieClip {bffMain_fla.VCam_AS3_78}
"endLevClip"Frame 12Symbol 390 MovieClip {bffMain_fla.endLevClip_79}
"p1"Frame 14Symbol 157 MovieClip {player}
"p2"Frame 14Symbol 157 MovieClip {player}
"p3"Frame 14Symbol 157 MovieClip {player}
"plsee"Frame 14Symbol 392 MovieClip {bffMain_fla.Symbol26_90}
"upCam"Frame 97Symbol 325 Button
"moosic"Frame 97Symbol 325 Button
"hJumps"Frame 97Symbol 325 Button
"bFlips"Frame 97Symbol 325 Button
"tripy"Frame 97Symbol 325 Button
"hotBawx"Symbol 68 MovieClip {exitDoor} Frame 1Symbol 51 MovieClip {bffMain_fla.HitTestBox_105}
"bawx"Symbol 94 MovieClip {bffMain_fla.SignInnards_114} Frame 1Symbol 93 EditableText
"inText"Symbol 95 MovieClip {sign} Frame 1Symbol 94 MovieClip {bffMain_fla.SignInnards_114}
"inRock"Symbol 96 MovieClip {rock} Frame 1Symbol 86 MovieClip
"inden"Symbol 127 MovieClip {bffMain_fla.TextHold_84} Frame 1Symbol 126 EditableText
"inser"Symbol 157 MovieClip {player} Frame 1Symbol 124 MovieClip
"textHold"Symbol 157 MovieClip {player} Frame 1Symbol 127 MovieClip {bffMain_fla.TextHold_84}
"inAxe"Symbol 157 MovieClip {player} Frame 1Symbol 128 MovieClip {bffMain_fla.axeInPlayer_85}
"inser"Symbol 157 MovieClip {player} Frame 2Symbol 142 MovieClip {bffMain_fla.Symbol12_86}
"inser"Symbol 157 MovieClip {player} Frame 3Symbol 144 MovieClip {bffMain_fla.Duck_87}
"inser"Symbol 157 MovieClip {player} Frame 4Symbol 146 MovieClip {bffMain_fla.jump_88}
"inser"Symbol 157 MovieClip {player} Frame 5Symbol 156 MovieClip {bffMain_fla.Climbeh_89}
"bar"Symbol 199 MovieClip {NGLoader} Frame 1Symbol 188 MovieClip {bffMain_fla.Timeline_2}
"playButton"Symbol 199 MovieClip {NGLoader} Frame 2Symbol 196 Button
"bar"Symbol 199 MovieClip {NGLoader} Frame 2Symbol 198 MovieClip
"moregames"Symbol 216 MovieClip {bffMain_fla.Pause_7} Frame 1Symbol 215 Button
"buttsMute"Symbol 263 MovieClip {bffMain_fla.Symbol10_13} Frame 1Symbol 256 Button
"heads"Symbol 294 MovieClip {bffMain_fla.asasasas_38} Frame 1Symbol 293 MovieClip
"heads"Symbol 298 MovieClip {bffMain_fla.MainLogo_37} Frame 1Symbol 296 MovieClip
"flake"Symbol 368 MovieClip {bffMain_fla.IntroMovie_72} Frame 1Symbol 348 MovieClip
"flake"Symbol 368 MovieClip {bffMain_fla.IntroMovie_72} Frame 151Symbol 362 MovieClip
"plest"Symbol 379 MovieClip {bffMain_fla.PLes_80} Frame 1Symbol 378 EditableText
"pes"Symbol 389 MovieClip {bffMain_fla.Inaers_82} Frame 1Symbol 388 EditableText
"helps"Symbol 390 MovieClip {bffMain_fla.endLevClip_79} Frame 1Symbol 379 MovieClip {bffMain_fla.PLes_80}
"mister"Symbol 390 MovieClip {bffMain_fla.endLevClip_79} Frame 51Symbol 389 MovieClip {bffMain_fla.Inaers_82}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"loaded"Symbol 199 MovieClip {NGLoader} Frame 2




http://swfchan.com/19/93096/info.shtml
Created: 27/3 -2019 03:12:08 Last modified: 27/3 -2019 03:12:08 Server time: 14/11 -2024 18:32:30