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

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

original john su animal animated gif bat cloud crescent moon flash game night sky.swf

This is the info page for
Flash #135215

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


Text
Loading

0%

Cutting Corners since 1984

Cutting Corners since 1984

<p align="center"><font face="Arial_12pt_st" size="12" color="#800000" letterSpacing="0.000000" kerning="0">Actionscript3 Failed to Execute.</font></p><p align="center"><font face="Arial_12pt_st" size="12" color="#800000" letterSpacing="0.000000" kerning="0">Please make sure you have at least</font></p><p align="center"><font face="Arial_12pt_st" size="12" color="#800000" letterSpacing="0.000000" kerning="0">Flash Player 9 installed.</font></p><p align="center"></p><p align="center"><font face="Arial_12pt_st" size="12" color="#800000" letterSpacing="0.000000" kerning="0">(http://www.adobe.com/go/getflashplayer)</font></p>

©2008 Mousekliks Interactive

version 0.8a

START
HOW TO PLAY
INTRO/CREDITS

LOADING...

Paused
Press SPACE to resume

=Rocket Bat=
Game Design
John Su
Programming
John Su
Art & Animation
John Su
Sound Effects
John Su
Made in
Adobe Flash CS3
Sound Editing in
Sound Forge 8.0
Special Thanks to
deviantART
Mochi Media, Inc.
and YOU
to a lesser degree

I am so
sad that I
am alone
on my
birthday.

I wish I
lived with
people or
had friends.

Hullo, Bat.
Are you
singing that
song again?

Canary!

You've
arrived!

Yup. I came
here in the
buckyball
just now.

It's
party
time!

Yeay

Here
we go!

It's a
weird
fish I
cought
this
morning.
Let's eat
it!

I'll try
to meet
your
expect-
ations.

Is
that
weird
fish I
smell?

It
shall
be
ours!

Go! Steal
that fish in
the name of
Kaiser Cat!

Oh no!
a plot
point!

Alright,
everyone
back to the
lOng Cat!
We're going
back...

...To
SPACE.

Oh no!
a plot
twist!

Canary!
Let go of
that weird
fish!

Sorry, I
ate it
just now.

It was
good,
BTW

Help, police! My
friend has been
stolen by foreign
cats and they're
gradually getting
away! I live out in
the middle of the
ocean - please
come quickly
before they get to
outer space! And
bring a rocket
with you.

...
Hello?
Hello??

Looks like I
have no choice
but to chase
after her
myself with this
dangerous
rocket-powered
rocket-pack.

Here
goes
nothing!

Hang in there,
Canary! I'm
coming, and I've
got a metal bat
with me!

Oh,
buckyball,
you'll help
too?

Alles Gute zum
Geburtstag!

BACK

CONTROLS
CATS
OVERVIEW
TIPS
BACK

Select a Topic

CONTROLS

Use the mouse to guide Bat through the skies!

click and
hold!

Hold down the
mouse and Control
to change direction
quickly or perform
tight maneuvers!

Hold A or D to spin
left or right and knock
away hazards!
Alternatively, hold S
and spin the mouse to
do it manually.

Press SPACE to pause in game

@_@

Hold down the
mouse and Shift to
rocket away at
breakneck speeds!

CATS

Long Cat takes girl to Mars.
You can't go to Mars.
Don't let them go to Mars.

Thief Cat kidnaps your friend
and puts her on Long Cat.

Chase Cat does not respect
personal space. He likes to
bother you.

Commander Cat knows
where you are and how to tell
other cats how to annoy you.

Fire Cat has Fire Breath.
Fire Cat Breath is not good
for rockets or people.

Sticky Cat will stick to you
and can't be knocked away,
but comes off in water.

Speedy Cat just likes to run.
Something good might
happen if you catch a
glimpse of him.

OVERVIEW

1.) Find Bat's
friend, Canary,
on the radar.
She is green.

2.) Hit
whoever is
holding her.

3.) Catch her by
flying close to
her and matching
her speed so she
can hold on.

5.) Place her in the
Buckyball so she can
escape underwater.
Fly close to it and
match its speed so
she can get in.

4.) Find the
Buckyball on the
radar. It is
purple.

6.) Protect the
Buckyball until it
dives and you win!

...too fast...

Argh.

TIPS

- When paralyzed by Chase Cats, spin! Even if you can't, try!
- Don't stop moving
- Hit the Commander Cat and his subordinates will lose coordination
- When you hit Long Cat, hit him down so he'll have to start his climb over
- Use Control AND Shift to optimize your flight and escape!
- Don't spin while holding Canary - she can't hold on that well
- The Buckyball can be pushed or hit once Canary is inside
- Cats don't like water; they won't go very close to it if they can't help it
- Slow down by moving the mouse closer to Bat
- You can't just fly to where Speedy Cat is - you have to fly to where he WILL be
- If you can't dock with the Buckyball, practice on Level 0
- If you can't handle the difficulty, you're biting off more than you can chew
- Don't expect to play a game well if you don't understand it.
Read.

Hold down SHIFT to rocket away at
break-neck speeds
Hold down CTRL to perform sharp turns
and tight maneuvers
Hold down A or D to spin and bat away
hazards

Use the mouse to direct Bat through the skies!

Rescue your friend
from the cats and
help her escape
underwater with the
aid of a Buckyball!

Avoid this guy.

Level 0
Level 1
Level 2
Level 3
Level 4
Level 5
Level 6

Choose a difficulty:

<p align="left"><font face="Garamond" size="20" color="#404040" letterSpacing="3.000000" kerning="0"><b>Click a level to play</b></font></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p>

VIEW
HIGHSCORES

PLAY

PANIC
ROCKET

Message

00:00.00

<p align="center"><font face="FrankRuehl" size="20" color="#000000" letterSpacing="10.000000" kerning="0"><b>BACK</b></font></p>

Score:
Time
Average Speed
Top Speed
Full-Rocket Time
Water Time (Bat)
Water Time (Girl)
Total Panic
Feline Violence
Total Score:

<p align="center"></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p>

<p align="center"></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p><p align="center"></p><p align="center"><font face="Garamond" size="20" color="#000000" letterSpacing="8.000000" kerning="0"><b>0</b></font></p>

<p align="left"><font face="Garamond" size="16" color="#404040" letterSpacing="4.000000" kerning="0"><b>--//--</b></font></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p>

<p align="center"><font face="FrankRuehl" size="20" color="#000000" letterSpacing="10.000000" kerning="0"><b>SUBMIT</b></font></p>

00.0

ActionScript [AS3]

Section 1
//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi
Section 2
//MochiServices (mochi.MochiServices) package mochi { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function getVersion():String{ return ("1.31"); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); _rcvChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; return (_local2); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion()}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); _rcvChannelName = _arg1; initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//package mochi
Section 3
//ASFail_3 (RocketBat_fla.ASFail_3) package RocketBat_fla { import flash.display.*; public dynamic class ASFail_3 extends MovieClip { public function ASFail_3(){ addFrameScript(0, frame1); } function frame1(){ visible = false; if (parent != null){ parent.removeChild(this); }; } } }//package RocketBat_fla
Section 4
//Bar_41 (RocketBat_fla.Bar_41) package RocketBat_fla { import flash.display.*; public dynamic class Bar_41 extends MovieClip { public var bar:MovieClip; public function Bar_41(){ addFrameScript(0, frame1); } function frame1(){ stop(); } public function disp(_arg1:Number=1){ _arg1 = HF.constrain(_arg1, 0, 1); bar.scaleX = _arg1; bar.x = (-50 * (1 - _arg1)); } } }//package RocketBat_fla
Section 5
//Battsprites_36 (RocketBat_fla.Battsprites_36) package RocketBat_fla { import flash.display.*; public dynamic class Battsprites_36 extends MovieClip { public var flare:MovieClip; } }//package RocketBat_fla
Section 6
//BG_29 (RocketBat_fla.BG_29) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class BG_29 extends MovieClip { public var sky:MovieClip; public var STs:MovieClip; public var W:MovieClip; public var C1:MovieClip; public var T3:MovieClip; public var T2:MovieClip; public var T1:MovieClip; public var terrains:Array; public function BG_29(){ addFrameScript(0, frame1); } public function raise(_arg1, _arg2, _arg3, _arg4){ var _local5:Matrix; var _local6:*; _local5 = _arg1.transform.matrix.clone(); _local5.scale(1, ((1 / 2) + (_arg4 / 2))); _local6 = ((((_arg4 * (_arg2 - _arg3)) + _arg3) + 400) + ((_arg1.rad * 4) * ((1 / 2) + (_arg4 / 2)))); _local5.ty = _local6; _arg1.transform.matrix = _local5; return (_local5); } public function init(){ T1.gotoAndStop(1); T1.rad = 128; T2.gotoAndStop(2); T2.rad = 145; T3.gotoAndStop(4); T3.rad = 160; W.gotoAndStop(5); W.rad = 128; C1.gotoAndStop(6); C1.rad = 0x0100; } function frame1(){ this.scrollRect = new Rectangle(0, 0, 640, 400); init(); } public function turn(_arg1, _arg2:Number=0, _arg3:Number=20000, _arg4:Number=8, _arg5:Number=4){ var _local6:*; var _local7:*; _local6 = (((-2 * Math.PI) * _arg2) / _arg3); _local7 = new Matrix(); _local7.rotate(_local6); _local7.scale(_arg4, _arg5); _local7.translate(320, _arg1.y); _arg1.transform.matrix = _local7; return (_local7); } public function view(_arg1:Number, _arg2:Number){ var _local3:*; var _local4:*; _local3 = (_arg1 / 0x7D00); _local4 = (_arg2 / -20000); sky.scrollRect = new Rectangle(0, (((-(_local4) * (0x0500 - 400)) + 0x0500) - 400), 640, 400); turn(T1, (0 + (_arg1 * 0.5))); raise(T1, 1000, -300, _local4); turn(T2, (-1200 + (_arg1 * 0.2))); raise(T2, 700, -350, _local4); turn(T3, (1200 + (_arg1 * 0.1))); raise(T3, 400, -325, _local4); turn(W, (_arg1 * 1.5)); raise(W, 2000, -200, _local4); turn(C1, (_arg1 / 16)); raise(C1, -10, -500, _local4); } public function makeST(_arg1, _arg2:Rectangle, _arg3:Number=1){ var _local4:*; _local4 = new ScrollingTerrain(); _local4.gotoAndStop(_arg1); _local4.dim = _arg2; if (_arg3 > 0){ _local4.filters = [new BlurFilter(_arg3, _arg3, 2)]; }; scrollTerr(_local4, new Point(0, 0)); terrains.push({C:_local4, L:_arg3}); _local4.cacheAsBitmap = true; return (_local4); } public function scrollTerr(_arg1, _arg2:Point){ var _local3:*; _local3 = HF.midMod((2 * (_arg2.x + _arg1.dim.x)), 2); _arg1.scrollRect = new Rectangle(((_arg1.dim.width * _local3) - 320), (((-(_arg1.dim.height) * _arg2.y) - ((1 - _arg2.y) * _arg1.dim.y)) - 200), 640, 480); _arg1.x = (_arg1.y = 0); } } }//package RocketBat_fla
Section 7
//Buckyball_27 (RocketBat_fla.Buckyball_27) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Buckyball_27 extends MovieClip { public var field; public var pos:Point; public var blur:MovieClip; public var phase; public var rPos; public var radius:Number; public var vel:Point; public var hold; public var affiliation; public function Buckyball_27(){ addFrameScript(0, frame1); } public function init(_arg1){ radius = 32; Books.register(this, "rescue"); pos = new Point(x, y); vel = new Point(0, 0); phase = 0; field = _arg1; } public function bat(_arg1){ } public function grab(_arg1){ hold = _arg1; } function frame1(){ affiliation = "good"; } public function advance(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; if (vel.y < 60){ vel.offset(0, (1 / 4)); }; if (vel.length > 32){ vel.normalize((vel.length * (1 - (1 / 0x0100)))); }; pos.offset(vel.x, vel.y); if (pos.y > 0){ vel.normalize((vel.length * (1 - (1 / 16)))); if ((((pos.y > 1000)) && ((hold == null)))){ phase = -1; vel.x = (HF.random(-32, 32) * 6); }; if (phase == -1){ vel.y = -100; }; if (pos.y > 8000){ pos.y = 8000; }; } else { if (phase == -1){ phase = 0; }; }; _local1 = Books.fetch("girl"); for (_local2 in _local1) { _local3 = _local1[_local2]; _local4 = pos; _local5 = rPos(_local3.pos, _local4); if (hold == _local3){ _local3.hangBy(_local4, vel); }; if ((((_local3.holder == null)) || ((_local3.holder.affiliation == "good")))){ if ((((_local5.length < 32)) && ((vel.subtract(_local3.vel).length < 20)))){ _local3.grabOff(); _local3.grabOn(this); _local3.phase = "goHome"; Books.register(this, "battable"); }; }; }; field.splash(pos, vel); if (hold == null){ Books.unregister(this, "battable"); }; rotation = (rotation + vel.x); blur.scaleX = ((vel.length + 40) / 100); blur.alpha = (1 - Math.exp((-(vel.length) / 16))); blur.rotation = ((HF.pAng(vel, true) - rotation) + 180); } } }//package RocketBat_fla
Section 8
//Carol_38 (RocketBat_fla.Carol_38) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Carol_38 extends MovieClip { public var field; public var pos:Point; public var spin:Number; public var rPos; public var vel:Point; public var holder; public var phase; public var sprite:MovieClip; public function Carol_38(){ addFrameScript(0, frame1); } public function init(_arg1){ Books.register(this, "girl"); pos = new Point(x, y); vel = new Point(0, 0); phase = "free"; field = _arg1; spin = 0; } public function grabOn(_arg1){ if (_arg1.grab != null){ _arg1.grab(this); }; holder = _arg1; holder.hold = this; phase = "held"; } public function hangBy(_arg1, _arg2, _arg3:Number=0){ var _local4:*; _local4 = HF.rope(pos, vel, (16 + _arg3), _arg1, _arg2); pos = _local4.pos; vel = _local4.vel; spin = HF.midMod(((HF.pAng(_local4.dP, true) - 90) - sprite.rotation), 360); sprite.rotation = (sprite.rotation + spin); sprite.gotoAndStop(30); } function frame1(){ } public function grabOff(){ if (holder != null){ holder.hold = null; holder = null; }; phase = "free"; } public function advance(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; vel.offset(0, (1 / 2)); vel.normalize((vel.length * (1 - (1 / 64)))); if (pos.y > 0){ vel.normalize((vel.length * 0.9)); vel.y = (vel.y - Math.log((pos.y / 4))); }; if (holder != null){ vel.normalize((vel.length * 0.9)); }; if (phase == "free"){ pos.offset(vel.x, vel.y); field.splash(pos, vel); sprite.gotoAndStop(Math.round(Math.min(20, vel.length))); _local3 = (HF.pAng(vel, true) + 90); spin = (spin * 0.9); spin = (spin + (((HF.midMod((_local3 - sprite.rotation), 360) - spin) * (1 - Math.exp((-(vel.length) / 32)))) / 4)); spin = (spin + (((HF.midMod(-(sprite.rotation), 360) - spin) * Math.exp((-(vel.length) / 2))) / 16)); sprite.rotation = (sprite.rotation + spin); _local1 = Books.fetch("player"); for (_local2 in _local1) { _local4 = _local1[_local2]; if ((((rPos(_local4.pos, pos).length < 32)) && ((_local4.vel.subtract(vel).length < (8 + ((32 - rPos(_local4.pos, pos).length) / 2)))))){ grabOn(_local4); phase = "rescued"; }; }; }; } } }//package RocketBat_fla
Section 9
//Cateyes_24 (RocketBat_fla.Cateyes_24) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Cateyes_24 extends MovieClip { public var eye:MovieClip; public function Cateyes_24(){ addFrameScript(1, frame2); } public function spin(_arg1){ if (this.eye != null){ this.eye.spin(_arg1); }; } function frame2(){ } } }//package RocketBat_fla
Section 10
//dynamicflare_14 (RocketBat_fla.dynamicflare_14) package RocketBat_fla { import flash.display.*; public dynamic class dynamicflare_14 extends MovieClip { public var output:Number; public var power:Number; public var flare:MovieClip; public var equalizer:Array; public function dynamicflare_14(){ addFrameScript(0, frame1); } public function init(){ output = 0; power = 0; Audio.createChannel("rocket1", 1); Audio.createChannel("rocket2", 1); Audio.createChannel("rocket3", 1); Audio.createChannel("rocket4", 1); Audio.setChannelVolume("rocket1", 0); Audio.setChannelVolume("rocket2", 0); Audio.setChannelVolume("rocket3", 0); Audio.setChannelVolume("rocket4", 0); Audio.loopSample(new Rocket1_wav(), "rocket1"); Audio.loopSample(new Rocket2_wav(), "rocket2"); Audio.loopSample(new Rocket3_wav(), "rocket3"); Audio.loopSample(new Rocket4_wav(), "rocket4"); } function frame1(){ equalizer = [1, 1, 1, 1]; output = 0; power = 0; } public function burn(_arg1:Number=16){ var _local2:*; var _local3:*; var _local4:*; _local2 = (_arg1 / 10); _local3 = ((6 + (_local2 * 2)) / 10); flare.scaleX = (flare.scaleX + (((_local2 * (0.9375 + (Math.random() / 4))) - flare.scaleX) * 0.75)); flare.scaleY = (flare.scaleY + (((_local3 * (0.9375 + (Math.random() / 4))) - flare.scaleY) * 0.75)); if (flare.scaleX > output){ power = (power + ((flare.scaleX - output) / 4)); output = flare.scaleX; } else { output = ((output * 0.75) + (flare.scaleX * 0.25)); power = ((power * 0.75) + ((flare.scaleX / 32) * 0.25)); }; _local4 = output; Audio.setChannelVolume("rocket1", ((equalizer[0] * power) * HF.constrain(((HF.gauss(_local4, 8, 3) * 0.5) - 0.125), 0, 1))); Audio.setChannelVolume("rocket2", ((equalizer[1] * power) * HF.constrain(((HF.gauss(_local4, 10, 4) * 0.5) - 0.125), 0, 1))); Audio.setChannelVolume("rocket3", ((equalizer[2] * power) * HF.constrain(((HF.gauss(_local4, 8, 4) * 0.5) - 0.125), 0, 1))); Audio.setChannelVolume("rocket4", ((equalizer[3] * power) * HF.constrain((HF.gauss(_local4, 16, 4) - 0.25), 0, 1))); } } }//package RocketBat_fla
Section 11
//Field_32 (RocketBat_fla.Field_32) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Field_32 extends MovieClip { public var water:MovieClip; public var waterNoise:Number; public var myCam:Point; public function Field_32(){ addFrameScript(0, frame1); } public function makeSplash(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Number=1, _arg6:Number=0.5, _arg7:Number=0.5){ var S:*; var pX = _arg1; var vX = _arg2; var sX = _arg3; var sY = _arg4; var inf = _arg5; var spd = _arg6; var dive = _arg7; S = new Splash(); S.gotoAndStop((2 + Math.round((4 * Math.min(1, inf))))); S.pos = new Point(0, 0); S.age = 0; S.lean0 = sX; S.leanD = (sX / 2); S.rise = sY; S.blendMode = "lighten"; S.spread = ((1 / 16) + (dive / 8)); S.H = ((1 / 2) * Math.min(1, inf)); S.W = (1 + (inf * (1 - dive))); S.vel = vX; S.pos.x = (pX - (S.vel * 2)); S.pos.y = 0; S.advance = function (){ var _local1:Matrix; S.age++; _local1 = new Matrix(); S.rise = (S.rise * 0.9); S.rise = (S.rise - (1 / 2)); S.H = (S.H + (S.rise / 16)); if (S.H <= 0){ Books.forget(S); removeChild(S); S = null; return; }; S.W = (S.W + (S.spread / 16)); S.vel = (S.vel * 0.9); S.pos.x = (S.pos.x + S.vel); S.lean0 = (S.lean0 + S.leanD); S.leanD = (S.leanD * 0.9); _local1.scale(S.W, S.H); _local1.c = S.lean0; _local1.translate(S.x, S.y); S.transform.matrix = _local1; waterNoise = (waterNoise + Number((Math.log(((S.W + S.H) + Math.max(0, S.rise))) * S.vol))); }; Books.register(S, "field"); addChild(S); position(S, S.pos); S.advance(); return (S); } public function setCam(_arg1, _arg2){ myCam = new Point(_arg1, _arg2); water.y = -(_arg2); removeChild(water); addChild(water); } public function position(_arg1, _arg2, _arg3:Boolean=true){ var _local4:*; var _local5:*; _local4 = rPos(_arg1.pos); _arg1.x = _local4.x; _arg1.y = _local4.y; _arg1.vol = Math.exp((-(_local4.length) / 128)); if (_arg3){ _local5 = _arg1.getBounds(this); _arg1.visible = !((((((((_local5.x > 320)) || ((_local5.y > 200)))) || (((_local5.x + _local5.width) < -320)))) || (((_local5.y + _local5.height) < -200)))); }; } function frame1(){ scrollRect = new Rectangle(-320, -200, 640, 400); } public function splash(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _arg1 = _arg1.clone(); _arg2 = _arg2.clone(); _local3 = (1 - HF.gauss(_arg2.x, 0, 16)); _local4 = (1 - HF.gauss(_arg2.y, 0, 16)); _local5 = HF.sign(_arg2.x); _local6 = ((_local3 + (2 * _local4)) / ((1 / 4) + (Math.abs(_arg1.y) / 32))); if (_local6 > (1 / 128)){ _local7 = makeSplash(_arg1.x, (_arg2.x / 2), ((_arg2.x * (1 - _local3)) / 64), ((((2 * _local4) + _local3) * 8) * Math.min(1, _local6)), _local6, _local3, _local4); if (((((_arg1.y * (_arg1.y + _arg2.y)) <= 0)) && ((_local4 > 0.125)))){ makeSplash((_arg1.x + 8), ((_arg2.x / 2) + (16 * _local4)), (((_arg2.x * (1 - _local3)) / 64) - _local4), ((((2 * _local4) + _local3) * 4) * Math.min(1, _local6)), _local6, (_local3 + _local4), (_local4 * 0.8)); makeSplash((_arg1.x - 8), ((_arg2.x / 2) - (16 * _local4)), (((_arg2.x * (1 - _local3)) / 64) + _local4), ((((2 * _local4) + _local3) * 4) * Math.min(1, _local6)), _local6, (_local3 + _local4), (_local4 * 0.8)); }; }; return (_local7); } public function rPos(_arg1:Point, _arg2:Point=null){ var _local3:*; if (_arg2 == null){ _arg2 = myCam; }; _local3 = _arg1.subtract(_arg2); _local3.x = HF.midMod(_local3.x, 0x7D00); return (_local3); } } }//package RocketBat_fla
Section 12
//fps_51 (RocketBat_fla.fps_51) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class fps_51 extends MovieClip { public const H = 4; public const W = 32; public var Bar; public var invertFPS:Boolean; public var barDisplay:Number; public var fps2:Number; public var stay:Number; public var fps1:Number; public var phase:Number; public var num:TextField; public var shift:int; public var stability:Number; public var precision:Number; public var lastVal:Number; public var period:uint; public var FPS:Number; public var time:Date; public function fps_51(){ addFrameScript(0, frame1); } function frame1(){ barDisplay = (1 / 2); invertFPS = !(true); precision = 0.1; stability = 1; period = 4; shift = Math.floor((Math.log(precision) / Math.LN10)); time = new Date(); FPS = stage.frameRate; fps1 = FPS; fps2 = FPS; stay = (1 - (1 / (1 + 4))); phase = 0; if (invertFPS){ num.blendMode = "invert"; }; if (barDisplay > 0){ Bar = new MovieClip(); Bar.outline = new MovieClip(); Bar.outline.graphics.lineStyle(1, 0xFFFFFF, 1, true, "normal", null, JointStyle.MITER); Bar.outline.graphics.drawRect(0, 0, W, H); Bar.backShade = new MovieClip(); Bar.backShade.graphics.beginFill(0, 0.5); Bar.backShade.graphics.drawRect(0, 0, W, H); Bar.backShade.graphics.endFill(); Bar.fill = new MovieClip(); Bar.addChild(Bar.fill); Bar.addChild(Bar.outline); Bar.x = (-(W) / 2); Bar.y = 8; addChild(Bar); Bar.alpha = barDisplay; }; this.addEventListener(Event.ENTER_FRAME, advance); stop(); } public function advance(_arg1){ var _local2:Number; var _local3:*; var _local4:Number; var _local5:Number; var _local6:*; var _local7:*; var _local8:*; phase++; time = new Date(); _local2 = time.getMilliseconds(); _local3 = (((_local2 - lastVal) + 1000) % 1000); lastVal = _local2; if (isNaN(_local3)){ return; }; fps2 = fps1; fps1 = (1 / (_local3 / 1000)); FPS = ((FPS * stay) + (((fps1 + fps2) / 2) * (1 - stay))); _local4 = Math.round((((FPS / precision) * precision) * Math.pow(10, -(shift)))); _local5 = Math.min(1, (FPS / stage.frameRate)); if (barDisplay > 0){ _local6 = int((0xFF * Math.min(1, (2 * _local5)))); _local7 = int((0xFF * Math.min(1, (2 * (1 - _local5))))); Bar.fill.graphics.clear(); Bar.fill.graphics.beginFill((((_local7 * 0x0100) * 0x0100) + (_local6 * 0x0100)), 1); Bar.fill.graphics.drawRect(0, 0, (W * _local5), H); Bar.fill.graphics.endFill(); Bar.fill.graphics.beginFill(0, (1 / 2)); Bar.fill.graphics.drawRect((W * _local5), 0, (W * (1 - _local5)), H); Bar.fill.graphics.endFill(); Bar.cacheAsBitmap = true; }; if ((phase % period) == 0){ _local8 = String(_local4); if (shift < 0){ num.text = ((_local8.substr(0, (_local8.length + shift)) + ".") + _local8.substr((_local8.length + shift))); } else { num.text = _local8; }; }; } } }//package RocketBat_fla
Section 13
//Game_4 (RocketBat_fla.Game_4) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Game_4 extends MovieClip { public var bloom:MovieClip; public var t_min; public var t_sec; public var theater:MovieClip; public var scoreKeeper:Object; public var b_Start:MovieClip; public var scoreExplanation:TextField; public var rocket_bar:MovieClip; public var fielders:Array; public var levelDesc; public var b_Intro:MovieClip; public var BG:MovieClip; public var awardCat:Cat; public var B; public var panic_bar:MovieClip; public var camFocus:Point; public var b_L0:MovieClip; public var b_L2:MovieClip; public var b_L5:MovieClip; public var b_L6:MovieClip; public var b_L1:MovieClip; public var a; public var b_L3:MovieClip; public var b_L4:MovieClip; public var f:Number; public var arr:Array; public var timerDisp:TextField; public var oldMode:String; public var b; public var advance:Function; public var LvlDescription:TextField; public var credits:MovieClip; public var girl:MovieClip; public var particles:MovieClip; public var i:int; public var b_Submit:MovieClip; public var backText:TextField; public var goalArrow:MovieClip; public var b_Back:MovieClip; public var player:MovieClip; public var b_viewHS:MovieClip; public var loadScreen:MovieClip; public var field:MovieClip; public var infoScreens:MovieClip; public var Sphase; public var b_HowToPlay:MovieClip; public var newAvg:Number; public var b_Play:MovieClip; public var oldAvg:Number; public var b_cH1:Cathead; public var b_cH2:Cathead; public var b_cH3:Cathead; public var b_cH4:Cathead; public var b_cH5:Cathead; public var b_cH7:Cathead; public var timer:Number; public var b_cH6:Cathead; public var camVel:Point; public var sonar:MovieClip; public var t_ms; public var leaderBoard:MovieClip; public var rawScore:TextField; public var prompt:MovieClip; public var submitText:TextField; public var Level:int; public var skipping:Boolean; public var mat; public var phase:Number; public var wScores; public var arrowPos:Point; public var b_Options:MovieClip; public var scExp; public var weightedScore:TextField; public var b_How1:MovieClip; public var b_How3:MovieClip; public var b_How4:MovieClip; public var resc:MovieClip; public var Mode:String; public var b_How2:MovieClip; public var Inp; public var pausescreen:MovieClip; public var pause:Boolean; public function Game_4(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); } public function scoreSkipIt(){ var _local1:*; if (skipping){ return; }; skipping = true; _local1 = phase; while (_local1 < 120) { advance(); _local1++; }; Mouser.removeFunction(scoreSkipIt); } function frame5(){ b_Back.release = function (){ goTo("levelSelect", false); }; b_Play.release = function (){ goTo("game", true); }; loadScreen.hide(); } function frame1(){ Books.register(this); stop(); Level = 2; pause = false; advance = idleFunc; b_Start.release = function (){ goTo("levelSelect", false); }; b_HowToPlay.release = function (){ goTo("howToPlay", false); }; b_Intro.release = function (){ goTo("intro", false); }; b_Options.release = function (){ goTo("options", false); }; loadScreen.hide(); } function frame3(){ stop(); b_Back.release = function (){ goTo("title", false); }; b_How1.release = function (){ infoScreens.gotoAndStop(2); }; b_How2.release = function (){ infoScreens.gotoAndStop(3); }; b_How3.release = function (){ infoScreens.gotoAndStop(4); }; b_How4.release = function (){ infoScreens.gotoAndStop(5); }; loadScreen.hide(); } function frame4(){ advance = idleFunc; a = 0; while (a <= 6) { B = this[("b_L" + a)]; B.ID = a; B.release = function (){ Level = this.ID; goTo("game", true); }; B.hover = function (_arg1:Boolean=false){ if (_arg1){ LvlDescription.text = levelDesc[this.ID]; Level = this.ID; }; }; a++; }; levelDesc = ["Orientation:\nNo cats! Just get used to flying and carrying the girl.", "Introduction:\n1 Long Cat and 1 Thief Cat.\nThief Cat kidnaps the girl and puts her on Long Cat, who takes her to space.", "Basic:\n1 Long Cat, 1 Thief Cat, and 2 Chase Cats.\nIf they see you, they won't leave you alone.", "Mediocre:\n1 Long Cat, 1 Thief Cat, 3 Chase Cats, and 1 Command Cat.\nCommand Cat can't coordinate his subordinates if he's unconscious.", "Advanced:\n1 Long Cat, 1 Thief Cat, 6 Chase Cats, 2 Command Cats, and 1 Fire Cat.\nFire hot. Do not touch.", "Hard:\n1 Long Cat, 1 Thief Cat, 4 Chase Cats, 2 Command Cats, 3 Fire Cats, and 1 Sticky Cat.\nSticky Cat will slow you down, but comes off in water.", "Harder:\n1 Long Cat, 1 Thief Cat, 4 Chase Cats, 2 Command Cats, 3 Fire Cats, 3 Sticky Cats, and 1 Speedy Cat.\nSpeedy Cat doesn't have time for you. Speedy Cat sure is speedy."]; LvlDescription.text = ""; b_Back.release = function (){ goTo("title", false); }; b_viewHS.release = function (){ if ((((Level >= 0)) && ((Level <= 6)))){ leaderBoard.view(Level); leaderBoard.done = function (){ }; }; }; loadScreen.hide(); } function frame7(){ phase = 0; b_Back.release = function (){ goTo("levelSelect", false); }; backText.visible = (b_Back.visible = false); b_Submit.release = function (){ leaderBoard.submit(Level, wScores[9]); phase = -1; leaderBoard.done = function (){ b_Submit.release = function (){ leaderBoard.view(Level); leaderBoard.done = null; }; leaderBoard.done = null; }; }; submitText.visible = (b_Submit.visible = false); wScores = new Array(); skipping = false; rawScore.text = "\n"; weightedScore.text = "\n"; scoreExplanation.text = ""; advance = function (){ scExp = ["Time:\nThe amount of time you take to rescue the girl.\n\nScore = -Time * 5", "Average Speed:\nYour average flight speed throughout the course of the level.\n\nScore = (Average Speed)^1.5", "Top Speed:\nThe highest speed you reached in the level.\n\nScore = 2 * Top Speed", "Full-Rocket Time:\nThe amount of time you spent with a full rocket charge.\n\nScore = (Full Time) * 10", "Water Time (Bat):\nThe amount of time you spent in the water.\n\nScore = -(Water Time) * 5", "Water Time (Girl):\nThe amount of time you let the girl stay in the water (except with Buckyball).\n\nScore = -(Water Time) * 10", "Total Panic:\nPanic accumulated from all the cats.\n\nScore = -5 * (Total Panic)^(1/2)", "Feline Violence:\nSum total of damage you dealt to the cats.\n\nScore = -2 * (Feline Violence)^(1/2)", "", "Total Score:\nThe sum total of all the scores above.", ""]; if (awardCat.visible){ scExp[8] = "Speedy Cat Bonus:\nSpeedy Cat applaudes your efforts to see him."; }; if (phase >= 0){ phase++; }; if ((((phase < 90)) && ((Keys.idleTime() == 1)))){ scoreSkipIt(); }; if ((phase % 10) == 0){ Sphase = int((phase / 10)); if (Sphase == 1){ rawScore.appendText(((Math.round((scoreKeeper.time * 100)) / 100) + "\n")); wScores[0] = Math.round((-(scoreKeeper.time) * 5)); weightedScore.appendText((Math.round(wScores[0]) + "\n")); } else { if (Sphase == 2){ rawScore.appendText((Math.round(scoreKeeper.avgSpeed) + "\n")); wScores[1] = Math.round(Math.pow(scoreKeeper.avgSpeed, 1.5)); weightedScore.appendText((Math.round(wScores[1]) + "\n")); } else { if (Sphase == 3){ rawScore.appendText(((Math.round((100 * scoreKeeper.topSpeed)) / 100) + "\n")); wScores[2] = Math.round(((2 * Math.pow(scoreKeeper.topSpeed, 1)) / 1)); weightedScore.appendText((Math.round(wScores[2]) + "\n")); } else { if (Sphase == 4){ rawScore.appendText(((Math.round(((100 * scoreKeeper.extraFuel) / 25)) / 100) + "\n")); wScores[3] = Math.round(((scoreKeeper.extraFuel / 25) * 10)); weightedScore.appendText((Math.round(wScores[3]) + "\n")); } else { if (Sphase == 5){ rawScore.appendText(((Math.round(((100 * scoreKeeper.BatWater) / 25)) / 100) + "\n")); wScores[4] = Math.round(((-(scoreKeeper.BatWater) / 25) * 5)); weightedScore.appendText((Math.round(wScores[4]) + "\n")); } else { if (Sphase == 6){ rawScore.appendText(((Math.round(((100 * scoreKeeper.GirlWater) / 25)) / 100) + "\n")); wScores[5] = Math.round(((-(scoreKeeper.GirlWater) / 25) * 10)); weightedScore.appendText((Math.round(wScores[5]) + "\n")); } else { if (Sphase == 7){ rawScore.appendText((Math.round(scoreKeeper.panic) + "\n")); wScores[6] = Math.round((-(Math.sqrt(scoreKeeper.panic)) * 5)); weightedScore.appendText((Math.round(wScores[6]) + "\n")); } else { if (Sphase == 8){ rawScore.appendText((Math.round(scoreKeeper.violence) + "\n")); wScores[7] = Math.round((-(Math.sqrt(scoreKeeper.violence)) * 2)); weightedScore.appendText((Math.round(wScores[7]) + "\n")); } else { if (Sphase == 9){ wScores[8] = 0; if (scoreKeeper.Speedy > 0){ wScores[8] = (wScores[8] + Math.round((32 * Math.sqrt(scoreKeeper.Speedy)))); weightedScore.appendText(String(Math.round(wScores[8]))); awardCat.visible = true; }; weightedScore.appendText("\n"); } else { if (Sphase == 10){ wScores[9] = 0; a = 0; while (a < 9) { wScores[9] = (wScores[9] + wScores[a]); a++; }; wScores[9] = Math.round(wScores[9]); weightedScore.appendText(String(wScores[9])); }; }; }; }; }; }; }; }; }; }; }; if (phase == 120){ backText.visible = (b_Back.visible = true); submitText.visible = (b_Submit.visible = true); }; i = 10; if ((((((phase >= 0)) && ((mouseY > 40)))) && ((mouseY < (40 + 310))))){ i = int(((10 * (mouseY - 40)) / 310)); }; scoreExplanation.text = scExp[i]; }; Mouser.addFunction(scoreSkipIt); awardCat.init(); awardCat.style(7); awardCat.advance(); Books.forget(awardCat); awardCat.visible = false; } public function idleFunc(){ } function frame2(){ b_Back.release = function (){ goTo("title", false); }; advance = function (){ this.theater.advance(); this.credits.y = (this.credits.y - (3 / 4)); }; } function frame6(){ init(); stop(); advance = function (){ Audio.setChannelVolume("water", HF.constrain((field.waterNoise / 4), 0, 8)); Audio.setChannelVolume("fire", HF.constrain((field.fireNoise * 1), 0, 8)); field.waterNoise = 0; field.fireNoise = 0; if (((((((Keys.isDown(Keys.getCode("J"))) && (Keys.isDown(Keys.getCode("O"))))) && (Keys.isDown(Keys.getCode("H"))))) && (Keys.isDown(Keys.getCode("N"))))){ girl.grabOn(resc); }; loadScreen.hide(); if (Keys.holdTime(Keyboard.SPACE) == 1){ pause = !(pause); }; pausescreen.visible = pause; if (pause){ return; }; oldMode = Mode; Inp = {x:player.mouseX, y:player.mouseY, down:Mouser.isDown(), spinCW:Keys.isDown(Keys.getCode("D")), spinCCW:Keys.isDown(Keys.getCode("A")), freeSpin:Keys.isDown(Keys.getCode("S")), gear0:Keys.isDown(Keyboard.CONTROL), gear2:Keys.isDown(Keyboard.SHIFT)}; if (camVel.y == 0){ Inp.y = (player.mouseY - ((player.vel.y * 4) * (1 - Math.exp((-(Math.abs(player.mouseX)) / (1 + Math.abs(player.mouseY))))))); }; player.control(Inp); player.advance(); rocket_bar.disp((player.rocketPower / 100)); panic_bar.disp((player.panic / 64)); f = 0.25; camVel = camFocus.clone(); camFocus.x = ((camFocus.x * (1 - f)) + ((player.pos.x + (player.vel.x * 2.75)) * f)); camFocus.y = ((camFocus.y * (1 - f)) + ((player.pos.y + (player.vel.y * 2.75)) * f)); camFocus.y = HF.constrain(camFocus.y, -20000, -150); camVel.offset(-(camFocus.x), -(camFocus.y)); field.setCam(camFocus.x, camFocus.y); BG.view(camFocus.x, camFocus.y); particles.disp(camVel); field.splash(player.bat.pos, player.bat.vel); sonar.sweep(camFocus, field.rPos); field.position(player, player.pos); arr = Books.fetch("field"); fielders = new Array(); for (a in arr) { fielders.push(arr[a]); arr[a].advances = 0; }; a = 0; while (a < fielders.length) { b = fielders[a]; b.advance(); b.advances++; field.position(b, b.pos); a++; }; field.position(girl, girl.pos); if ((((girl.holder == resc)) && ((resc.pos.y > 60)))){ arrowPos = new Point(0, 0); Mode = "done"; } else { if (girl.holder == resc){ arrowPos = new Point(resc.x, resc.y); Mode = "protect"; } else { if (girl.holder == player){ arrowPos = new Point(resc.x, resc.y); Mode = "return"; } else { if (girl.holder == null){ arrowPos = new Point(girl.x, girl.y); Mode = "pickUp"; } else { if (((((!((girl.holder == null))) && ((girl.holder.affiliation == "cat")))) && ((girl.pos.y < -20200)))){ Mode = "fail"; } else { arrowPos = new Point(girl.holder.x, girl.holder.y); Mode = "rescue"; }; }; }; }; }; goalArrow.scaleY = (0.75 * (1 - Math.exp((-((arrowPos.length - 100)) / 0x0100)))); goalArrow.alpha = (0.5 + (0.5 * Math.exp((-((arrowPos.length - 100)) / 0x0100)))); if ((((Math.abs(arrowPos.x) > 300)) || ((Math.abs(arrowPos.y) > 180)))){ arrowPos.normalize((arrowPos.length * Math.min((300 / Math.abs(arrowPos.x)), (180 / Math.abs(arrowPos.y))))); } else { goalArrow.alpha = 0; }; goalArrow.x = (arrowPos.x + 320); goalArrow.y = (arrowPos.y + 200); goalArrow.rotation = HF.pAng(arrowPos, true); if (oldMode != Mode){ if (Mode == "rescue"){ prompt.disp("Free the girl!"); } else { if (Mode == "pickUp"){ prompt.disp("Retrieve the girl!"); } else { if (Mode == "return"){ prompt.disp("Put her in the Buckyball!"); } else { if (Mode == "protect"){ prompt.disp("Get the Buckyball safely into the waters!"); } else { if (Mode == "done"){ prompt.disp("You've done it! Good job!"); } else { if (Mode == "fail"){ prompt.disp("They got away to Mars. You lose."); }; }; }; }; }; }; }; if ((((Mode == "done")) || ((Mode == "fail")))){ scoreKeeper.lock = true; phase++; if (phase > (25 * 3)){ scoreKeeper.success = Number((Mode == "done")); Audio.stopAllChannels(); bloom.die(); advance = idleFunc; if (Mode == "done"){ goTo("scores", false); } else { goTo("levelSelect", false); }; return; }; } else { timer++; t_sec = (timer / 25); t_min = int((t_sec / 60)); t_ms = int(((100 * t_sec) % 100)); t_sec = int((t_sec % 60)); if (t_sec < 10){ t_sec = ("0" + t_sec); }; if (t_min < 10){ t_min = ("0" + t_min); }; if (t_ms < 10){ t_ms = ("0" + t_ms); }; timerDisp.text = ((((t_min + ":") + t_sec) + ".") + t_ms); scoreKeeper.time = (timer / 25); newAvg = (1 / timer); oldAvg = (1 - newAvg); scoreKeeper.avgSpeed = ((scoreKeeper.avgSpeed * oldAvg) + (player.vel.length * newAvg)); scoreKeeper.topSpeed = Math.max(player.vel.length, scoreKeeper.topSpeed); if (player.pos.y >= 0){ scoreKeeper.BatWater++; } else { if (isNaN(scoreKeeper.BatWater)){ scoreKeeper.BatWater = 0; }; }; if (((!((girl.holder == resc))) && ((girl.pos.y >= 0)))){ scoreKeeper.GirlWater++; }; }; if (Global.vars.bloom){ bloom.advance(); bloom.visible = true; } else { bloom.visible = false; }; BG.visible = Global.vars.BG; particles.visible = Global.vars.wind; }; bloom.tracer = new Rectangle(0, 0, 320, 200); bloom.bD = new BitmapData(bloom.tracer.width, bloom.tracer.height, false, 0); bloom.bmp = new Bitmap(bloom.bD); bloom.addChild(bloom.bmp); bloom.cT = new ColorTransform(2, 2, 2, 1, -256, -256, -256, 0); bloom.scaleX = (640 / bloom.tracer.width); bloom.scaleY = (400 / bloom.tracer.height); bloom.subject = field; bloom.advance = function (){ bloom.visible = false; mat = new Matrix(); mat.scale((1 / bloom.scaleX), (1 / bloom.scaleY)); bloom.bD.fillRect(bloom.tracer, 0); bloom.bD.draw(bloom.subject, mat); bloom.bD.colorTransform(bloom.tracer, bloom.cT); bloom.bD.applyFilter(bloom.bD, bloom.tracer, new Point(0, 0), new BlurFilter(4, 4, 4)); bloom.visible = true; }; bloom.die = function (){ if (((!((bloom == null))) && (!((bloom.bD == null))))){ bloom.bD.dispose(); }; bloom.advance = function (){ }; }; } public function init(){ var _local1:*; var _local2:*; Audio.createChannel("water", 1); Audio.setChannelVolume("water", 0); Audio.loopSample(new noise_wav(), "water"); Audio.createChannel("fire", 1); Audio.setChannelVolume("fire", 0); Audio.loopSample(new fireRoar_wav(), "fire"); scoreKeeper = {time:0, panic:0, BatWater:Number.NaN, GirlWater:0, extraFuel:0, avgSpeed:0, topSpeed:0, violence:0, Speedy:0, success:0, lock:false}; timer = 0; _local1 = Books.fetch("field"); for (_local2 in _local1) { Books.forget(_local1[_local2]); }; Books.wipe("player"); Mode = "init"; phase = 0; particles.init(32); field.setCam(0, 0); Books.register(prompt); prompt.init(); girl.init(field); resc.init(field); resc.pos.y = 500; if (Level == 0){ girl.pos = new Point(0, -1000); girl.vel = Point.polar(64, ((-(Math.PI) / 2) + HF.random(-1, 1))); } else { if (Level == 1){ girl.grabOn(addCat("guard", new Point(2000, -2000))); addCat("long", new Point(-8000, -1000)); } else { if (Level == 2){ addCat("rocket", new Point(2000, -3000)); addCat("rocket", new Point(-2000, -3000)); girl.grabOn(addCat("guard", new Point(2000, -2000))); addCat("long", new Point(-8000, -1000)); } else { if (Level == 3){ addCat("commander", new Point(-2000, -3000), 0).role = "attack"; girl.grabOn(addCat("guard", new Point(2000, -2000))); addCat("long", new Point(-8000, -1000)); } else { if (Level == 4){ addCat("commander", new Point(-2000, -3000), 1).role = "attack"; addCat("commander", new Point(2000, -3000), 0).role = "retrieve"; girl.grabOn(addCat("guard", new Point(2000, -2000))); addCat("long", new Point(-8000, -1000)); } else { if (Level == 5){ addCat("commander", new Point(-2000, -3000), 1).role = "attack"; addCat("commander", new Point(2000, -3000), 2).role = "retrieve"; girl.grabOn(addCat("guard", new Point(2000, -2000))); addCat("guard", new Point(2000, -2000)); addCat("long", new Point(-8000, -1000)); addCat("sticky", new Point(-4000, -2000)); } else { if (Level == 6){ addCat("commander", new Point(-2000, -3000), 1).role = "attack"; addCat("commander", new Point(2000, -3000), 2).role = "retrieve"; girl.grabOn(addCat("guard", new Point(2000, -2000))); addCat("guard", new Point(2000, -2000)); addCat("long", new Point(-8000, -1000)); addCat("sticky", new Point(-4000, -2000)); addCat("sticky", new Point(0, -2000)); addCat("sticky", new Point(4000, -2000)); addCat("speedy", new Point(4000, -3000)); }; }; }; }; }; }; }; player.init(); player.scoreKeeper = scoreKeeper; player.pos = new Point(-512, 0x0200); player.vel = new Point(64, -100); player.spin = 2; camFocus = player.pos.clone(); camVel = player.vel.clone(); adopt(player, false); adopt(girl); adopt(resc); rocket_bar.gotoAndStop("rocket"); panic_bar.gotoAndStop("panic"); field.addChild(particles); particles.x = (-320 - 50); particles.y = (-200 - 50); } public function addCat(_arg1:String="rocket", _arg2:Point=null, _arg3=0){ var _local4:*; var _local5:*; var _local6:*; var _local7:*; if (_arg2 == null){ _arg2 = new Point(0, -1000); }; _local4 = new Cat(); _local4.field = field; _local4.x = _arg2.x; _local4.y = _arg2.y; _local4.init(_arg1); _local4.scoreKeeper = scoreKeeper; adopt(_local4); if (_arg1 == "commander"){ _local7 = 0; if (_arg3 == 0){ _local7 = 3; _local5 = 0; while (_local5 < _local7) { _local6 = addCat("rocket", _local4.pos); _local4.recruit(_local6, ("pursuit" + (_local5 + 1))); _local5++; }; } else { if (_arg3 == 1){ _local7 = 3; _local5 = 0; while (_local5 < _local7) { _local6 = addCat("rocket", _local4.pos); _local4.recruit(_local6, ("pursuit" + (_local5 + 1))); _local5++; }; _local4.recruit(addCat("fire", _local4.pos), "guard1"); } else { if (_arg3 == 2){ _local7 = 2; _local5 = 0; while (_local5 < _local7) { _local6 = addCat("fire", _local4.pos); _local4.recruit(_local6, ("pursuit" + (_local5 + 1))); _local5++; }; _local4.recruit(addCat("rocket", _local4.pos), "guard1"); }; }; }; }; return (_local4); } public function goTo(_arg1=1, _arg2:Boolean=true){ var _local3:*; if ((((_arg1 == currentFrame)) || ((_arg1 == currentLabel)))){ return (false); }; _local3 = Books.fetch("button"); for (a in _local3) { _local3[a].die(); }; Books.wipe("button"); if (_arg2){ loadScreen.show(); gotoAndStop(_arg1); } else { loadScreen.hide(); gotoAndStop(_arg1); }; } public function adopt(_arg1, _arg2:Boolean=true){ field.addChild(_arg1); _arg1.rPos = field.rPos; _arg1.field = field; _arg1.adopt = adopt; if (_arg2){ Books.register(_arg1, "field"); }; field.position(_arg1, _arg1.pos); } } }//package RocketBat_fla
Section 14
//Glowbutton_6 (RocketBat_fla.Glowbutton_6) package RocketBat_fla { import flash.display.*; import flash.events.*; public dynamic class Glowbutton_6 extends MovieClip { public var release:Function; public var hover:Function; public var press:Function; public var listened:Boolean; public var down:Boolean; public var glow:MovieClip; public var over:Boolean; public var _init:Boolean; public function Glowbutton_6(){ addFrameScript(0, frame1); } public function mouse_down(_arg1=null){ down = true; if (over){ press(); }; } public function init(){ if (!_init){ glow.alpha = 0; Books.register(this, "button"); listen(); _init = true; }; over = false; down = false; if (press == null){ press = function (){ }; }; if (release == null){ release = function (){ }; }; if (hover == null){ hover = function (){ }; }; } function frame1(){ init(); } public function mouse_up(_arg1=null){ if (((over) && (down))){ release(); }; down = false; } public function go_out(_arg1=null){ down = false; over = false; hover(false); } public function die(){ unlisten(); _init = false; Books.forget(this); } public function advance(_arg1=null){ var _local2:Number; _local2 = 0; if (over){ _local2 = (_local2 + (1 / 3)); }; if (down){ _local2 = (_local2 + (2 / 3)); }; glow.alpha = ((_local2 * 0.25) + (glow.alpha * 0.75)); } public function unlisten(){ if (!listened){ return (false); }; glow.removeEventListener(MouseEvent.MOUSE_DOWN, mouse_down); glow.removeEventListener(MouseEvent.MOUSE_UP, mouse_up); glow.removeEventListener(MouseEvent.MOUSE_OVER, go_over); glow.removeEventListener(MouseEvent.ROLL_OVER, go_over); glow.removeEventListener(MouseEvent.MOUSE_OUT, go_out); glow.removeEventListener(MouseEvent.ROLL_OUT, go_out); glow.removeEventListener(Event.ENTER_FRAME, advance); listened = false; } public function listen(){ if (listened){ return (false); }; glow.addEventListener(MouseEvent.MOUSE_DOWN, mouse_down); glow.addEventListener(MouseEvent.MOUSE_UP, mouse_up); glow.addEventListener(MouseEvent.MOUSE_OVER, go_over); glow.addEventListener(MouseEvent.ROLL_OVER, go_over); glow.addEventListener(MouseEvent.MOUSE_OUT, go_out); glow.addEventListener(MouseEvent.ROLL_OUT, go_out); glow.addEventListener(Event.ENTER_FRAME, advance); listened = true; } public function go_over(_arg1=null){ over = true; hover(true); } } }//package RocketBat_fla
Section 15
//HowToPlay_12 (RocketBat_fla.HowToPlay_12) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class HowToPlay_12 extends MovieClip { public var cat1:Cat; public var cat2:Cat; public var cat4:Cat; public var cat3:Cat; public var cat5:Cat; public var cat7:Cat; public var thiefCat:Cat; public var cranks; public var c; public var cat6:Cat; public var a; public var b; public var buck:MovieClip; public var w0:MovieClip; public var w1:MovieClip; public var w6:MovieClip; public var w7:MovieClip; public var w4:MovieClip; public var ec:MovieClip; public var w2:MovieClip; public var w3:MovieClip; public var sampleCat:Cat; public var flare:MovieClip; public var b_Back:MovieClip; public var w5:MovieClip; public function HowToPlay_12(){ addFrameScript(0, frame1, 2, frame3, 3, frame4); } function frame3(){ cranks = ["rocket", "commander", "guard", "fire", "long", "sticky", "speedy"]; a = 1; while (a <= 7) { c = this[("cat" + a)]; c.init(cranks[(a - 1)]); b = 0; while (b < 64) { c.AI = null; c.pos = new Point(0, -100); c.vel = new Point(0, 0); c.advance(); b++; }; Books.forget(c); a++; }; } function frame4(){ thiefCat.init("guard"); thiefCat.AI = null; thiefCat.stun = 10; thiefCat.pos = new Point(0, -20); thiefCat.vel = new Point(0, -10); thiefCat.advance(); Books.forget(thiefCat); } function frame1(){ stop(); } } }//package RocketBat_fla
Section 16
//leaderBoard_2 (RocketBat_fla.leaderBoard_2) package RocketBat_fla { import flash.display.*; import mochi.*; public dynamic class leaderBoard_2 extends MovieClip { public var boardIDs:Array; public var done:Function; public function leaderBoard_2(){ addFrameScript(0, frame1, 1, frame2); } public function submit(_arg1:Number=0, _arg2:Number=0){ visible = true; MochiScores.showLeaderboard({boardID:boardIDs[_arg1], score:_arg2}); } function frame1(){ boardIDs = ["f815c5069a0b1d59", "c8bb77c6476761ba", "6dec149dfb0f0ad9", "bd90f3603896ffa3", "8e3d270039fbbab1", "ba717815c2b6afca", "324c3c2e35ad7f12"]; stop(); visible = false; } function frame2(){ if (done != null){ trace("Done"); done(); }; gotoAndStop(1); } public function view(_arg1:Number=0){ visible = true; MochiScores.showLeaderboard({boardID:boardIDs[_arg1]}); } public function connect(){ MochiServices.connect("1a83c7f17131d0f7", this); } } }//package RocketBat_fla
Section 17
//LoadGoat_45 (RocketBat_fla.LoadGoat_45) package RocketBat_fla { import flash.display.*; public dynamic class LoadGoat_45 extends MovieClip { public function LoadGoat_45(){ addFrameScript(0, frame1); } function frame1(){ visible = false; stop(); parent.removeChild(this); } } }//package RocketBat_fla
Section 18
//LoadingScreen_8 (RocketBat_fla.LoadingScreen_8) package RocketBat_fla { import flash.display.*; public dynamic class LoadingScreen_8 extends MovieClip { public function LoadingScreen_8(){ addFrameScript(0, frame1); } function frame1(){ } public function hide(){ visible = false; x = (y = 640); } public function show(){ visible = true; x = (y = 0); } } }//package RocketBat_fla
Section 19
//MainTimeline (RocketBat_fla.MainTimeline) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var mainStepper:Function; public var mute:ContextMenuItem; public var loadText:TextField; public var menu:ContextMenu; public var muted:Boolean; public var reset:ContextMenuItem; public var leaderBoard:MovieClip; public var main; public var logo:MovieClip; public var initialized:Boolean; public var game:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } public function Reset(){ prevFrame(); nextFrame(); } public function m_BG(_arg1:Boolean=true){ var _local2:String; if (_arg1){ Global.vars.BG = !(Global.vars.BG); }; if (Global.vars.BG){ _local2 = "Disable Background"; } else { _local2 = "Enable Background"; }; Menu.setItem(4, _local2, m_BG); } function frame3(){ stop(); Keys.initialize(stage); Mouser.initialize(stage); Audio.initialize(stage); if (!initialized){ initialized = true; main = new Schedule(); mainStepper = function (_arg1=null){ main.setList(Books.fetch()); main.go(); }; stage.addEventListener(Event.ENTER_FRAME, mainStepper); menu = new ContextMenu(); menu.hideBuiltInItems(); menu.builtInItems.zoom = true; menu.builtInItems.quality = true; reset = new ContextMenuItem("Reset"); reset.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, function (){ Reset(); }); muted = false; mute = new ContextMenuItem("Mute"); mute.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, function (){ muted = !(muted); if (muted){ mute.caption = "Unmute"; } else { mute.caption = "Mute"; }; Audio.mute(muted); }); menu.customItems.push(reset); menu.customItems.push(mute); this.contextMenu = menu; }; Books.wipe(); main.reset(); Books.wipe(); if (!Global.vars.init){ Global.vars = {init:true, mute:false, bloom:false, BG:true, wind:true}; }; Menu.initialize(this); Menu.setItem(0, "Reset", Reset); m_Mute(false); m_Bloom(false); m_Wind(false); m_BG(false); game.leaderBoard = leaderBoard; } function frame1(){ MochiBot.track(this, "44fff502"); leaderBoard.connect(); MochiAd.showPreGameAd({clip:root, id:"1a83c7f17131d0f7", res:"640x400", background:0xFFFFFF, color:0xB4B4B4, outline:0, no_bg:true}); stage.quality = "MEDIUM"; } function frame2(){ gotoAndStop(3); } public function m_Bloom(_arg1:Boolean=true){ var _local2:String; if (_arg1){ Global.vars.bloom = !(Global.vars.bloom); }; if (Global.vars.bloom){ _local2 = "Disable Light Blooming"; } else { _local2 = "Enable Light Blooming"; }; Menu.setItem(2, _local2, m_Bloom, true); } public function m_Wind(_arg1:Boolean=true){ var _local2:String; if (_arg1){ Global.vars.wind = !(Global.vars.wind); }; if (Global.vars.wind){ _local2 = "Disable Wind Particles"; } else { _local2 = "Enable Wind Particles"; }; Menu.setItem(3, _local2, m_Wind); } public function m_Mute(_arg1:Boolean=true){ var _local2:String; if (_arg1){ Global.vars.mute = !(Global.vars.mute); }; if (Global.vars.mute){ _local2 = "Unmute"; } else { _local2 = "Mute"; }; Audio.mute(Global.vars.mute); Menu.setItem(1, _local2, m_Mute); } } }//package RocketBat_fla
Section 20
//Maki_25 (RocketBat_fla.Maki_25) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Maki_25 extends MovieClip { public var r0; public var px; public var py; public var L; public var I; public var py0; public var R; public var a; public var g; public var px0; public var r; public var ang0; public var ang; public var maki; public function Maki_25(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ gotoAndStop(2); } public function spin(_arg1){ if (maki != null){ maki.rotation = _arg1; }; } function frame2(){ R = 4; I = 64; L = 2; maki = new MovieClip(); this.addChild(maki); g = maki.graphics; g.lineStyle(1, 0); a = 0; while (a < I) { r0 = (((a + 1) / I) * R); ang0 = ((((-((a + 1)) / I) * L) * 2) * Math.PI); px0 = (r0 * Math.cos(ang0)); py0 = (r0 * Math.sin(ang0)); r = (((a + 0.5) / I) * R); ang = ((((-((a + 0.5)) / I) * L) * 2) * Math.PI); px = (r * Math.cos(ang)); py = (r * Math.sin(ang)); g.curveTo(px, py, px0, py0); a++; }; } } }//package RocketBat_fla
Section 21
//particlestreams_43 (RocketBat_fla.particlestreams_43) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class particlestreams_43 extends MovieClip { public var lastVel:Point; public var phase:Number; public var particles:Array; public function particlestreams_43(){ addFrameScript(0, frame1); } public function init(_arg1:Number=16){ var _local2:*; particles = new Array(); phase = 0; lastVel = new Point(0, 0); _local2 = 0; while (_local2 < _arg1) { particles.push({x:HF.random(0, 740), y:HF.random(0, 500), s:HF.random(0.5, 1)}); _local2++; }; Audio.createChannel("wind", 1); Audio.loopSample(new Wind_wav(), "wind"); Audio.setChannelVolume("wind", 0); } function frame1(){ } public function disp(_arg1:Point){ var _local2:*; var _local3:*; var _local4:*; phase++; if (phase < 2){ return; }; _local2 = this.graphics; _local2.clear(); for (_local3 in particles) { _local4 = particles[_local3]; particles[_local3].x = (_local4.x + (_arg1.x * _local4.s)); if (_local4.x > 740){ _local4.x = (_local4.x - 740); _local4.y = HF.random(0, 500); }; if (_local4.x < 0){ _local4.x = (_local4.x + 740); _local4.y = HF.random(0, 500); }; _local4.y = (_local4.y + (_arg1.y * _local4.s)); if (_local4.y > 500){ _local4.y = (_local4.y - 500); _local4.y = HF.random(0, 740); }; if (_local4.y < 0){ _local4.y = (_local4.y + 500); _local4.y = HF.random(0, 740); }; _local2.lineStyle(_local4.s, 0xFFFFFF, ((_local4.s * (_arg1.length - 16)) / 128)); _local2.moveTo(_local4.x, _local4.y); _local2.lineTo((_local4.x - (_arg1.x * _local4.s)), (_local4.y - (_arg1.y * _local4.s))); }; Audio.setChannelVolume("wind", HF.constrain(((_arg1.length / 32) - 1), 0, 2)); lastVel = _arg1.clone(); } } }//package RocketBat_fla
Section 22
//Pausescreen_9 (RocketBat_fla.Pausescreen_9) package RocketBat_fla { import flash.display.*; public dynamic class Pausescreen_9 extends MovieClip { public function Pausescreen_9(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package RocketBat_fla
Section 23
//Prompt_44 (RocketBat_fla.Prompt_44) package RocketBat_fla { import flash.display.*; import flash.text.*; public dynamic class Prompt_44 extends MovieClip { public var pDir:int; public var toShow:String; public var timer:Number; public var phase:Number; public var msg:TextField; public function Prompt_44(){ addFrameScript(0, frame1); } public function init(){ phase = 0; pDir = 0; disp("", 0); alpha = 0; fadeOut(); } public function fadeOut(){ pDir = -1; } function frame1(){ } public function advance(){ phase = (phase + pDir); alpha = (0.5 - (0.5 * Math.cos(((phase / 25) * Math.PI)))); if (phase < 0){ phase = 0; pDir = 0; if (toShow != ""){ msg.text = toShow; toShow = ""; fadeIn(); }; }; if (phase > 25){ phase = 25; pDir = 0; }; if (phase == 25){ timer--; if (timer <= 0){ fadeOut(); }; }; } public function disp(_arg1:String="", _arg2:Number=75){ toShow = _arg1; if (phase <= 1){ fadeIn(); toShow = ""; msg.text = _arg1; } else { fadeOut(); }; timer = _arg2; } public function fadeIn(){ pDir = 1; } } }//package RocketBat_fla
Section 24
//RBTheater_11 (RocketBat_fla.RBTheater_11) package RocketBat_fla { import flash.display.*; public dynamic class RBTheater_11 extends MovieClip { public var wait:Number; public var fade:String; public function RBTheater_11(){ addFrameScript(0, frame1, 14, frame15, 15, frame16, 16, frame17, 38, frame39, 47, frame48, 49, frame50, 66, frame67, 76, frame77, 77, frame78, 78, frame79, 98, frame99, 99, frame100, 100, frame101, 129, frame130, 130, frame131, 131, frame132, 145, frame146, 156, frame157, 189, frame190, 198, frame199, 199, frame200, 200, frame201, 241, frame242, 242, frame243, 243, frame244, 244, frame245, 245, frame246, 259, frame260, 260, frame261, 269, frame270, 270, frame271, 299, frame300, 326, frame327, 327, frame328, 328, frame329); } function frame260(){ stall(240); } function frame270(){ stall(140); } function frame157(){ stall(15); } function frame77(){ stall(20); } function frame78(){ stall(50); } function frame271(){ stall(60); } function frame79(){ stall(40); } function frame200(){ stall(50); } function frame327(){ stall(70); } function frame328(){ stall(80); } function frame201(){ stall(45); } function frame329(){ fade = "out"; stall((32 + (25 * 5))); stop(); } function frame15(){ stall(32); } function frame16(){ stall(80); } function frame1(){ wait = 0; fade = "in"; alpha = 0; stall(32); } function frame190(){ stall(45); } function frame199(){ stall(70); } function frame101(){ stall(70); } public function advance(){ if (fade == "in"){ alpha = HF.constrain((alpha + (1 / 32)), 0, 1); } else { if (fade == "out"){ alpha = HF.constrain((alpha - (1 / 32)), 0, 1); }; }; if (wait == 0){ play(); } else { stop(); wait = (wait - 1); }; } function frame17(){ stall(70); } function frame39(){ stall(70); } function frame100(){ stall(80); } function frame99(){ stall(20); } function frame245(){ stall(40); } public function stall(_arg1:Number=25){ stop(); wait = _arg1; } function frame244(){ stall(45); } function frame48(){ stall(20); } function frame243(){ stall(55); } function frame242(){ stall(40); } function frame130(){ stall(20); } function frame131(){ stall(50); } function frame132(){ stall(40); } function frame246(){ stall(40); } function frame50(){ stall(40); } function frame261(){ stall(60); } function frame146(){ stall(75); } function frame300(){ stall(70); } function frame67(){ stall(80); } } }//package RocketBat_fla
Section 25
//rocketbat_34 (RocketBat_fla.rocketbat_34) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class rocketbat_34 extends MovieClip { public var sweep:MovieClip; public var turnPhase:int; public var bat:Object; public var scoreKeeper:Object; public var sweat2:MovieClip; public var sweat1:MovieClip; public var pos:Point; public var m0:Point; public var flip:int; public var panic:Number; public var spin:Number; public var rPos:Function; public var rocketPower:Number; public var radius; public var vel:Point; public var dir:Number; public var sprite:MovieClip; public var hold; public var vol:Number; public var affiliation; public function rocketbat_34(){ addFrameScript(0, frame1); } public function init(){ Books.register(this, "player"); sprite.flare.init(); pos = new Point(x, y); vel = new Point(0, 0); bat = {pos:pos.clone(), vel:vel.clone()}; m0 = new Point(mouseX, mouseY); dir = ((rotation * Math.PI) / 180); rotation = 0; spin = 0; flip = 1; turnPhase = (flip * 4); panic = 0; rocketPower = 100; Audio.createChannel("bat", 2); Audio.createChannel("whirlin", 1); Audio.setChannelVolume("whirlin", 0); Audio.loopSample(new BatWhir_wav(), "whirlin"); } public function control(_arg1:Object){ var _local2:Point; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:*; var _local7:Number; var _local8:*; if (panic > 32){ sprite.flare.burn(0); return; }; _local2 = new Point(_arg1.x, _arg1.y); _local3 = (5 + (panic / 4)); if (hold != null){ _local3 = (_local3 * 0.9); }; _local4 = 32; _local5 = Math.min(1, (rocketPower / 25)); _local2.normalize((_local3 * (1 - Math.exp(((-(_local2.length) / _local3) / _local4))))); _local6 = Math.atan2(_arg1.y, _arg1.x); if (_arg1.spinCW){ if (spin < 1){ spin = (spin * (1 - (0.1 * _local5))); spin = (spin + (_local5 / 8)); } else { spin = (spin + (_local5 / 16)); }; rocketPower = (rocketPower - 0.6); }; if (_arg1.spinCCW){ if (spin > -1){ spin = (spin * (1 - (0.1 * _local5))); spin = (spin - (_local5 / 8)); } else { spin = (spin - (_local5 / 16)); }; rocketPower = (rocketPower - 0.6); }; if (_arg1.down){ if (_arg1.freeSpin){ _local2.normalize(0); if (((!(_arg1.spinCW)) && (!(_arg1.spinCCW)))){ _local8 = Mouser.getVel(this); _local7 = ((HF.midMod((_local6 - dir), (2 * Math.PI)) - spin) / 2); spin = (spin + (_local5 * _local7)); rocketPower = (rocketPower - _local7); }; } else { _local2.normalize((_local2.length * Math.max(0, Math.cos((_local6 - dir))))); _local2 = Point.polar(_local2.length, dir); if (_arg1.gear2){ vel.normalize((vel.length * (1 - (1 / 128)))); rocketPower = (rocketPower - ((_local2.length / 8) + 0.33)); } else { if (_arg1.gear0){ vel.normalize((vel.length * (1 - (1 / 2)))); rocketPower = (rocketPower - (_local2.length / 8)); _local2.normalize((_local2.length * 6)); } else { vel.normalize((vel.length * (1 - (1 / 16)))); rocketPower = (rocketPower - (_local2.length / 7)); }; }; vel.offset((_local5 * _local2.x), (_local5 * (_local2.y - (1 / 2)))); if (((((!(_arg1.spinCW)) && (!(_arg1.spinCCW)))) && (!(_arg1.freeSpin)))){ _local7 = (HF.midMod((_local6 - (dir + spin)), (2 * Math.PI)) - spin); if (_arg1.gear0){ spin = (spin + (_local7 * 0.5)); } else { if (_arg1.gear2){ spin = (spin + (_local7 * 0.125)); } else { spin = (spin + (_local7 * 0.25)); }; }; }; }; } else { _local2.normalize(0); }; if (((!((sprite.flare == null))) && (!((sprite.flare.burn == null))))){ if (pos.y > 0){ sprite.flare.equalizer = [vol, (vol / 2), (vol / 4), (vol / 8)]; } else { sprite.flare.equalizer = [vol, vol, vol, vol]; }; if (_arg1.gear0){ sprite.flare.burn(((_local5 * _local2.length) * 4)); } else { if (_arg1.gear2){ sprite.flare.burn(((_local5 * _local2.length) * 32)); } else { sprite.flare.burn(((_local5 * _local2.length) * 24)); }; }; }; m0.x = _arg1.x; m0.y = _arg1.y; } function frame1(){ affiliation = "good"; radius = 16; vol = 1; } public function getHit(_arg1:Number=10, _arg2:Point=null){ if (_arg2 == null){ _arg2 = new Point(0, 0); }; panic = (panic + _arg1); if (!scoreKeeper.lock){ scoreKeeper.panic = (scoreKeeper.panic + _arg1); }; vel.offset(_arg2.x, _arg2.y); if ((((panic > 32)) && (!((hold == null))))){ hold.grabOff(); }; } public function advance(){ var _local1:int; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (vel.y < 64){ vel.y = (vel.y + (1 / 2)); }; if (pos.y > 0){ vel.y = (vel.y + (-(Math.log((pos.y / 4))) / 2)); vel.normalize((vel.length * 0.9)); panic = (panic * (1 - (1 / 16))); rocketPower = Math.min(100, (rocketPower + (1 / 4))); }; vel.normalize((vel.length * (1 - (1 / 0x0100)))); spin = (spin * (1 - (1 / 64))); dir = ((dir + spin) % (2 * Math.PI)); Audio.setChannelVolume("whirlin", HF.constrain((vol * ((Math.abs(spin) / 2) - (1 / 4))), 0, 1)); _local1 = HF.sign((Math.cos(dir) >= 0)); if (rocketPower < 0){ rocketPower = 0; }; rocketPower = (rocketPower + 0.6); if (rocketPower > 100){ if (!scoreKeeper.lock){ scoreKeeper.extraFuel = (scoreKeeper.extraFuel + ((rocketPower - 100) / 0.6)); }; rocketPower = 100; }; if (panic > 0){ panic = (panic - (1 / 2)); if (panic <= 0){ panic = 0; }; sweat1.visible = true; sweat2.visible = (panic > 32); sweat1.scaleX = (sweat1.scaleY = (1 + (1 * (1 - Math.exp((-(panic) / 64)))))); sweat1.scaleX = (sweat1.scaleX * flip); sweat2.scaleX = sweat1.scaleX; sweat2.scaleY = sweat1.scaleY; sweat1.x = (flip * 15); sweat2.x = (-(flip) * 15); } else { sweat1.visible = (sweat2.visible = false); }; if (panic > 32){ sprite.gotoAndStop(Math.round((71 + (9 * Math.exp((-((panic - 32)) / 8)))))); panic = (panic * (1 - (1 / 64))); panic = (panic - 1); if (panic <= 0){ panic = 0; }; } else { if (((!((turnPhase == (_local1 * 4)))) && ((Math.abs(spin) < 0.25)))){ if (turnPhase > (_local1 * 4)){ turnPhase--; } else { turnPhase++; }; flip = HF.sign(turnPhase); sprite.scaleY = (flip / 2); sprite.gotoAndStop((60 + (4 - Math.abs(turnPhase)))); } else { sprite.gotoAndStop((30 + Math.round(((20 / (Math.PI / 2)) * Math.atan(((spin * 4) * flip)))))); }; }; sprite.rotation = ((dir * 180) / Math.PI); this.sweep.sweep(dir, -(spin)); _local2 = 32; _local3 = Math.min(64, ((_local2 + ((spin * spin) * 4)) + (vel.length / 2))); _local4 = pos.add(Point.polar((_local3 / 2), dir)); bat.vel = vel.add(Point.polar((Math.log((1 + (_local3 * Math.abs(spin)))) * 4), (dir + ((HF.sign(spin) * Math.PI) / 2)))); bat.pos = _local4; this.sweep.scaleX = (this.sweep.scaleY = ((0.5 + ((_local3 / _local2) / 2)) / 2)); _local5 = Books.fetch("battable"); for (_local6 in _local5) { if (Math.cos(spin) >= 0.75){ jabAt(_local5[_local6], _local3); } else { swingAt(_local5[_local6], _local3); }; }; pos.offset(vel.x, vel.y); if (hold != null){ hold.hangBy(pos, vel, 0); if (Math.abs(spin) > 1){ hold.grabOff(); hold = null; }; }; } public function swingAt(_arg1, _arg2:Number=32){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:Point; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; _local3 = _arg1.vel.subtract(vel); _local4 = rPos(_arg1.pos, pos); _local5 = _local4.add(_local3); if (_local3.length < (Math.max(_local4.length, _local5.length) - (_arg2 + _arg1.radius))){ return (null); }; _local6 = 0; _local8 = 0; while (_local8 < 1) { _local9 = Point.interpolate(_local5, _local4, _local8); _local10 = ((dir + (spin * _local8)) - Math.atan2(_local9.y, _local9.x)); if (_local9.length <= (_arg2 + _arg1.radius)){ if (((((Math.sin(_local6) * Math.sin(_local10)) < 0)) && ((Math.cos(_local10) > 0)))){ _local7 = Point.polar((_local9.length * spin), ((dir + (spin * _local8)) + (Math.PI / 2))); _local7 = _local7.subtract(_arg1.vel); _arg1.vel.offset(_local7.x, _local7.y); _arg1.bat(_local7); _local11 = (1 + int((3 * Math.random()))); _local12 = HF.constrain(Math.log((1 + (_local7.length / 16))), 0, 2); if (_local11 == 1){ Audio.playSound("bat", new MetalBat1_wav(), _local12); }; if (_local11 == 2){ Audio.playSound("bat", new MetalBat2_wav(), _local12); }; if (_local11 == 3){ Audio.playSound("bat", new MetalBat3_wav(), _local12); }; }; }; _local6 = _local10; _local8 = (_local8 + (1 / 32)); }; } public function jabAt(_arg1, _arg2:Number=32){ var _local3:*; var _local4:*; var _local5:*; var _local6:Point; var _local7:*; var _local8:*; var _local9:*; var _local10:*; _local3 = _arg1.vel.subtract(vel); _local4 = rPos(_arg1.pos, pos); _local5 = _local4.add(_local3); _local4 = _local4.subtract(Point.polar(_arg2, dir)); _local5 = _local5.subtract(Point.polar(_arg2, (dir + spin))); if (_local3.length < (Math.max(_local4.length, _local5.length) - _arg1.radius)){ return (null); }; _local7 = 0; while (_local7 < 1) { _local8 = Point.interpolate(_local5, _local4, _local7); if (_local8.length <= (_arg1.radius + Math.pow(_local3.length, 0.75))){ _local6 = vel.subtract(_arg1.vel); _arg1.vel.offset(_local6.x, _local6.y); _arg1.bat(_local6); _local9 = (1 + int((3 * Math.random()))); _local10 = HF.constrain(Math.log((1 + (_local6.length / 16))), 0, 2); if (_local9 == 1){ Audio.playSound("bat", new MetalBat1_wav(), _local10); }; if (_local9 == 2){ Audio.playSound("bat", new MetalBat2_wav(), _local10); }; if (_local9 == 3){ Audio.playSound("bat", new MetalBat3_wav(), _local10); }; }; _local7 = (_local7 + (1 / 32)); }; } } }//package RocketBat_fla
Section 26
//Sonar_40 (RocketBat_fla.Sonar_40) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Sonar_40 extends MovieClip { public var ec:MovieClip; public function Sonar_40(){ addFrameScript(0, frame1); } public function sweep(_arg1:Point=null, _arg2:Function=null){ var _local3:*; var _local4:Array; var _local5:*; var _local6:Object; _local3 = ec.graphics; if (_arg1 == null){ _arg1 = new Point(0, 0); }; _local4 = Books.fetch("cat"); _local3.clear(); drawLine((0 - _arg1.y), 8433919, 0.75); drawLine((-20000 - _arg1.y), 0xFF0000, 0.75); for (_local5 in _local4) { _local6 = checkPos(_arg1, _local4[_local5].pos, _local4[_local5].vel, _arg2); drawArrow(_local6.x, _local6.y, ((1 + _local6.s) * _local4[_local5].scaleY), 0xFF0000, (0.1 + Math.exp((-(_local4[_local5].stun) / 64))), _local6.v); }; _local4 = Books.fetch("girl"); for (_local5 in _local4) { _local6 = checkPos(_arg1, _local4[_local5].pos, _local4[_local5].vel, _arg2); drawArrow(_local6.x, _local6.y, (2 + _local6.s), 0xFF00, 1, _local6.v); }; _local4 = Books.fetch("rescue"); for (_local5 in _local4) { _local6 = checkPos(_arg1, _local4[_local5].pos, _local4[_local5].vel, _arg2); drawArrow(_local6.x, _local6.y, (2 + _local6.s), 15106303, 1, _local6.v); }; _local4 = Books.fetch("player"); for (_local5 in _local4) { _local6 = checkPos(_arg1, _local4[_local5].pos, _local4[_local5].vel, _arg2); drawCircle(_local6.x, _local6.y, (1 + _local6.s), 0xFFFFFF); }; } public function drawArrow(_arg1:Number=0, _arg2:Number=0, _arg3:Number=4, _arg4:Number=0xFFFFFF, _arg5:Number=1, _arg6:Point=null){ var _local7:Graphics; var _local8:Number; var _local9:Number; var _local10:*; var _local11:*; _local7 = ec.graphics; _local8 = 0; _local9 = (Math.PI / 2); if (_arg6 != null){ _local8 = _arg6.length; _local9 = HF.pAng(_arg6); }; _local10 = [Point.polar((2 + _arg3), (_local9 - (Math.PI / 2))), Point.polar((2 * ((2 + _arg3) + _local8)), _local9), Point.polar((2 + _arg3), (_local9 + (Math.PI / 2)))]; _local11 = 0; while (_local11 < _local10.length) { _local10[_local11] = [(_arg1 + _local10[_local11].x), (_arg2 + _local10[_local11].y)]; _local11++; }; _local7.moveTo(_arg1, _arg2); _local7.beginFill(_arg4, _arg5); _local11 = 0; while (_local11 < _local10.length) { _local7.lineTo(_local10[_local11][0], _local10[_local11][1]); _local11++; }; _local7.endFill(); } public function checkPos(_arg1:Point, _arg2:Point, _arg3:Point, _arg4=null){ var dP:*; var ang:*; var sc:*; var dist:*; var vel:*; var srcPoint = _arg1; var detectPoint = _arg2; var detectVel = _arg3; var positionFunc = _arg4; if (positionFunc == null){ positionFunc = function (_arg1:Point, _arg2:Point){ return (_arg1.subtract(_arg2)); }; }; dP = positionFunc(detectPoint, srcPoint); ang = Math.atan2(dP.y, dP.x); sc = Math.exp((-(dP.length) / 0x0800)); dist = (100 * (1 - sc)); vel = detectVel.clone(); vel.normalize(((vel.length * sc) / 20.48)); dP.normalize(dist); return ({x:dP.x, y:dP.y, s:sc, v:vel}); } public function drawCircle(_arg1:Number=0, _arg2:Number=0, _arg3:Number=4, _arg4:Number=0xFFFFFF){ var _local5:Graphics; _local5 = ec.graphics; _local5.beginFill(_arg4, 1); _local5.drawCircle(_arg1, _arg2, (_arg3 * 1.5)); _local5.endFill(); } public function drawLine(_arg1:Number=0, _arg2:Number=0xFFFFFF, _arg3:Number=0.5){ var _local4:Graphics; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; _local4 = ec.graphics; _local4.lineStyle(1, _arg2, _arg3); _local5 = new Array(); _local6 = 16; while (_local6 >= 0) { _local7 = Math.pow(2, _local6); _local8 = checkPos(new Point(0, 0), new Point(-(_local7), _arg1), new Point(0, 0)); _local9 = checkPos(new Point(0, 0), new Point(_local7, _arg1), new Point(0, 0)); _local5.splice((16 - _local6), 0, [_local8.x, _local8.y], [_local9.x, _local9.y]); _local6--; }; _local4.moveTo(_local5[0][0], _local5[0][1]); _local6 = 0; while (_local6 < _local5.length) { _local4.lineTo(_local5[_local6][0], _local5[_local6][1]); _local6++; }; _local4.lineStyle(0, 0, 0); } function frame1(){ } public function drawCat(_arg1:Number=0, _arg2:Number=0, _arg3:Number=4, _arg4:Number=0xFFFFFF, _arg5:Number=1){ var _local6:Graphics; var _local7:*; var _local8:*; _local6 = ec.graphics; _local7 = [[0, -1], [-1, -2], [-2, 0], [-1, 1], [1, 1], [2, 0], [1, -2], [0, -1]]; _local8 = 0; while (_local8 < _local7.length) { _local7[_local8] = [(_arg1 + (_local7[_local8][0] * _arg3)), (_arg2 + (_local7[_local8][1] * _arg3))]; _local8++; }; _local6.moveTo(_arg1, _arg2); _local6.beginFill(_arg4, _arg5); _local8 = 0; while (_local8 < _local7.length) { _local6.lineTo(_local7[_local8][0], _local7[_local8][1]); _local8++; }; _local6.endFill(); } } }//package RocketBat_fla
Section 27
//Sweep_35 (RocketBat_fla.Sweep_35) package RocketBat_fla { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Sweep_35 extends MovieClip { public var w0:MovieClip; public var w1:MovieClip; public var w4:MovieClip; public var w6:MovieClip; public var w7:MovieClip; public var w2:MovieClip; public var w3:MovieClip; public var w5:MovieClip; public function Sweep_35(){ addFrameScript(0, frame1); } public function sweep(_arg1:Number=0, _arg2:Number=3.14159265358979){ var _local3:*; var _local4:int; var _local5:*; var _local6:*; var _local7:Number; _local3 = Math.abs(_arg2); _arg2 = (HF.sign(_arg2) * Math.min((2 * Math.PI), _local3)); _local4 = Math.ceil(Math.max(((8 * _local3) / (2 * Math.PI)), 1)); _local5 = 0; while (_local5 < 8) { _local6 = this[("w" + _local5)]; _local7 = (_arg1 + ((_local5 / _local4) * _arg2)); _local6.scaleY = Math.min(1, (((Math.PI / 2) * _local3) / _local4)); _local6.rotation = ((_local7 * 180) / Math.PI); _local6.alpha = ((1 - (_local5 / (_local4 + 1))) * ((_local3 * 2) - 1)); _local6.visible = (((_local5 <= _local4)) && ((_local6.alpha > (1 / 8)))); _local5++; }; } function frame1(){ } } }//package RocketBat_fla
Section 28
//Advancer (Advancer) package { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Advancer extends MovieClip { public var list2:Array; public var list:Array; public var _init:Boolean; public function Advancer(){ addFrameScript(0, frame1, 1, frame2); } public function init(_arg1:Boolean=false){ var me:MovieClip; var stopMe:Function; var force = _arg1; if (((this._init) && (!(force)))){ return; }; if (!this._init){ me = this; stopMe = function (_arg1){ me.wipe(); me.stop(); me.removeEventListener(Event.REMOVED_FROM_STAGE, stopMe); me._init = false; }; this.addEventListener(Event.REMOVED_FROM_STAGE, stopMe); }; this.wipe(); this._init = true; } public function disown(_arg1:MovieClip):Function{ var _local2:Function; _local2 = this.list2[_arg1.name]; if (_local2 != null){ this.removeFunction(_local2); }; this.removeChild(_arg1); return (_local2); } public function wipe(){ this.list = new Array(); this.list2 = new Array(); } function frame1(){ this.init(); this.go(); } public function removeFunction(_arg1:Function):int{ var _local2:int; var _local3:uint; _local2 = -1; _local3 = 0; while (_local3 < this.list.length) { if (this.list[_local3] == _arg1){ _local2 = _local3; break; }; _local3++; }; if (_local2 >= 0){ this.list.splice(_local2, 1); }; return (_local2); } function frame2(){ this.go(); } public function addFunction(_arg1:Function):Function{ this.init(false); this.list.push(_arg1); return (_arg1); } public function adopt(_arg1:MovieClip, _arg2:Function):MovieClip{ this.init(false); this.addChild(_arg1); this.list2[_arg1.name] = _arg2; this.addFunction(_arg2); return (_arg1); } public function go(){ var _local1:*; for (_local1 in this.list) { var _local4 = this.list; _local4[_local1](); }; } } }//package
Section 29
//Audio (Audio) package { import flash.display.*; import flash.events.*; import flash.media.*; public class Audio { private static var channelVolume:Array = new Array(); private static var initialized:Boolean = false; private static var masterVolume:Number = 1; private static var channelMax:Array = new Array(); private static var channelPlaying:Array = new Array(); private static var voiced:uint = 1; public static function setBGMVolume(_arg1:Number):void{ setChannelVolume("bgm", _arg1); } public static function setChannelVolume(_arg1:String, _arg2:Number):void{ var _local3:uint; var _local4:*; channelVolume[_arg1] = _arg2; _local3 = 0; while (_local3 < channelPlaying[_arg1].length) { _local4 = channelPlaying[_arg1][_local3]; _local4[1].soundTransform = new SoundTransform((((_local4[2] * _arg2) * masterVolume) * voiced), _local4[3]); _local3++; }; } public static function initialize(_arg1:Stage):void{ stopAllChannels(); masterVolume = 1; createChannel("sfx", 32); createChannel("bgm", 16); } public static function getMasterVolume():Number{ return (masterVolume); } public static function mute(_arg1=null){ if (_arg1 == null){ _arg1 = (voiced == 1); }; if (_arg1){ voiced = 0; } else { voiced = 1; }; setMasterVolume(masterVolume); } public static function setMasterVolume(_arg1:Number=1):void{ var _local2:*; masterVolume = _arg1; for (_local2 in channelVolume) { setChannelVolume(_local2, channelVolume[_local2]); }; } public static function createChannel(_arg1:String, _arg2:uint=16){ channelVolume[_arg1] = 1; channelPlaying[_arg1] = new Array(); channelMax[_arg1] = _arg2; } public static function loopSample(_arg1:Sound, _arg2:String="sfx"):SoundChannel{ var ch:SoundChannel; var snd = _arg1; var channel = _arg2; ch = playSound(channel, snd, 1, 0, true); ch.addEventListener(Event.SOUND_COMPLETE, function (_arg1){ loopSample(snd, channel); }); return (ch); } public static function stopAllChannels(){ var _local1:*; for (_local1 in channelPlaying) { stopChannel(_local1); }; } public static function stopChannel(_arg1:String){ var _local2:*; if (channelPlaying[_arg1] == undefined){ return; }; while (channelPlaying[_arg1].length > 0) { _local2 = channelPlaying[_arg1].pop(); if (((!((_local2 == null))) && (!((_local2[1] == null))))){ _local2[1].stop(); }; }; } public static function playSFX(_arg1:Sound, _arg2:Number=1, _arg3:Number=0, _arg4:Number=0):SoundChannel{ var ch:SoundChannel; var snd = _arg1; var vol = _arg2; var pan = _arg3; var loops = _arg4; ch = playSound("sfx", snd, vol, pan); if (loops != 0){ ch.addEventListener(Event.SOUND_COMPLETE, function (_arg1){ if (loops != 0){ playSFX(snd, vol, pan, (loops - 1)); }; }); }; return (ch); } public static function playBGM(_arg1:Sound, _arg2:Number=-1, _arg3:Number=1, _arg4:Number=0):SoundChannel{ var ch:SoundChannel; var mus = _arg1; var loops = _arg2; var vol = _arg3; var pan = _arg4; ch = playSound("bgm", mus, vol, pan); if (loops != 0){ ch.addEventListener(Event.SOUND_COMPLETE, function (_arg1){ if (loops != 0){ playBGM(mus, (loops - 1), vol, pan); }; }); }; return (ch); } public static function playSound(_arg1:String, _arg2:Sound, _arg3:Number=1, _arg4:Number=0, _arg5:Boolean=false):SoundChannel{ var i:uint; var lps:int; var ch:SoundChannel; var channel = _arg1; var sound = _arg2; var vol = _arg3; var pan = _arg4; var loop = _arg5; if (channelPlaying[channel] == undefined){ throw (new Error((channel + " has not been created as a channel."))); }; i = 0; while (i < channelMax[channel]) { if (channelPlaying[channel][i] == undefined){ break; }; i = (i + 1); }; if (i >= channelMax[channel]){ return (null); }; lps = 0; if (loop){ lps = 65536; }; ch = sound.play(0, lps); if (ch == null){ return (null); }; ch.soundTransform = new SoundTransform((((vol * channelVolume[channel]) * masterVolume) * voiced), pan); channelPlaying[channel][i] = [sound, ch, vol, pan]; ch.addEventListener(Event.SOUND_COMPLETE, function (_arg1){ delete channelPlaying[channel][i]; }); return (ch); } public static function setSFXVolume(_arg1:Number):void{ setChannelVolume("sfx", _arg1); } } }//package
Section 30
//BatWhir_wav (BatWhir_wav) package { import flash.media.*; public dynamic class BatWhir_wav extends Sound { } }//package
Section 31
//Books (Books) package { import flash.display.*; public class Books { private static var myTables:Array = new Array(); private static var subBook:Array = new Array(); private static var myBooks:Array = new Array(); public static function register(_arg1:MovieClip, _arg2:String="active"):uint{ var _local3:String; if (_arg1._clubCard == undefined){ _arg1._clubCard = new Array(); }; if (_arg1._clubCard[_arg2] != undefined){ return (0); }; if (myBooks[_arg2] == undefined){ myBooks[_arg2] = new Array(); myTables[_arg2] = 0; }; var _local4 = myTables; var _local5 = _arg2; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local3 = ("#" + myTables[_arg2]); myBooks[_arg2][_local3] = _arg1; _arg1._clubCard[_arg2] = _local3; return (myTables[_arg2]); } public static function wipe(_arg1:String=""):void{ if (_arg1 == ""){ myBooks = new Array(); myTables = new Array(); } else { myBooks[_arg1] = new Array(); }; } public static function fetch(_arg1:String="active"):Array{ return (myBooks[_arg1]); } public static function unregister(_arg1:MovieClip, _arg2:String="active"):Boolean{ var _local3:String; if (_arg1._clubCard[_arg2] == undefined){ return (false); }; _local3 = _arg1._clubCard[_arg2]; delete myBooks[_arg2][_local3]; delete _arg1._clubCard[_arg2]; return (true); } public static function forget(_arg1:MovieClip):void{ var _local2:*; for (_local2 in _arg1._clubCard) { unregister(_arg1, _local2); }; } } }//package
Section 32
//Cat (Cat) package { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Cat extends MovieClip { public var scoreKeeper:Object; public var AI:Function; public var latch; public var pos:Point; public var face:Point; public var speed:Number; public var role:String; public var targetPoint:Point; public var tVel:Point; public var rPos:Function; public var bPos:Point; public var radius:Number; public var autoGrav:Boolean; public var legTicker:Number; public var stun:Number; public var hold; public var bodyColor:int; public var accer:Point; public var affiliation:String; public var field; public var bodyLength:Number; public var commander; public var tPos:Point; public var tailLength:Number; public var leeway:Number; public var units:Array; public var phase:Number; public var recovery:Number; public var vel:Point; public var body:MovieClip; public var stability:Number; public var adopt:Function; public var bVel:Point; public var head:Cathead; public var leg1:MovieClip; public var leg2:MovieClip; public var leg3:MovieClip; public var leg4:MovieClip; public var autoFloat:Boolean; public var link; public function Cat(){ addFrameScript(0, frame1, 4, frame5, 9, frame10, 14, frame15, 19, frame20, 24, frame25, 29, frame30, 34, frame35); } public function fPos(_arg1:Point, _arg2:Point, _arg3:Number=4):Point{ return (_arg1.add(new Point((_arg2.x * _arg3), (_arg2.y * _arg3)))); } public function bat(_arg1:Point){ getHit(Math.min(0xFF, Math.pow((_arg1.length / 2), 2)), _arg1); } public function getClosest(_arg1:Array, _arg2:Number=0){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local3 = pos.offset((vel.x * _arg2), (vel.y * _arg2)); _local4 = [null, Number.MAX_VALUE]; for (_local5 in _arg1) { _local6 = _arg1[_local5].pos.clone(); _local6.offset((_arg1[_local5].vel.x * _arg2), (_arg1[_local5].vel.y * _arg2)); _local7 = rPos(_local6, _local3); if (_local6.length < _local4[1]){ _local4 = [_arg1[_local5], _local7]; }; }; return (_local4[0]); } public function intimidate(_arg1:Number=4){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = Books.fetch("player"); for (_local3 in _local2) { _local4 = (_arg1 / ((1 + (rPos(_local2[_local3].pos, pos).length / 16)) + stun)); if (_local4 > (_arg1 / 4)){ _local5 = vel.subtract(_local2[_local3].vel); vel.subtract(_local2[_local3].vel).normalize((_local5.length / 2)); _local2[_local3].getHit((_local4 * _local5.length)); vel.offset((-(_local5.x) / 2), (-(_local5.y) / 2)); }; }; } public function grab(_arg1){ hold = _arg1; } function frame15(){ AI = guardAI; } function frame5(){ AI = rocketeerAI; } function frame1(){ stop(); } function frame10(){ AI = commanderAI; } public function getHit(_arg1, _arg2){ stun = (stun + _arg1); if (!scoreKeeper.lock){ scoreKeeper.violence = (scoreKeeper.violence + _arg1); }; if ((((stun > 10)) && (!((hold == null))))){ hold.grabOff(); hold = null; }; } function frame25(){ AI = longAI; scaleX = (scaleY = 2); } function frame20(){ AI = fireAI; } function frame30(){ AI = stickyAI; scaleX = (scaleY = (1 / 2)); } function frame35(){ AI = speedyAI; accer = new Point(0, 0); } public function expression(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; face.normalize((face.length * 0.5)); face.offset((vel.x / 2), (vel.y / 2)); this.head.face((face.x / 16), (face.y / 16)); if (stun > 1){ this.head.spinEyes((45 * (1 - Math.exp((-(stun) / 128))))); } else { this.head.expressEyes(); }; bVel.y = (bVel.y + (1 / 4)); bVel.normalize((bVel.length * (1 - (1 / 16)))); _local1 = HF.rope(bPos, bVel, bodyLength, pos, vel); bPos = _local1.pos; bVel = _local1.vel; tVel.y = (tVel.y + ((((bPos.y - 8) - (tailLength / 2)) - tPos.y) / 32)); tVel.normalize((tVel.length * (1 - (1 / 8)))); _local1 = HF.rope(tPos, tVel, tailLength, bPos, bVel); tPos = _local1.pos; tVel = _local1.vel; _local2 = bPos.subtract(pos); _local2.x = (_local2.x / scaleX); _local2.y = (_local2.y / scaleY); _local3 = tPos.subtract(pos); _local3.x = (_local3.x / scaleX); _local3.y = (_local3.y / scaleY); leg1.x = ((_local2.x / 16) - 5); leg1.y = ((_local2.y / 16) + 8); leg2.x = ((_local2.x / 16) + 5); leg2.y = ((_local2.y / 16) + 8); leg3.x = (_local2.x - 5); leg3.y = (_local2.y + 6); leg4.x = (_local2.x + 5); leg4.y = (_local2.y + 6); body.graphics.clear(); body.graphics.lineStyle(18, bodyColor, 1); body.graphics.curveTo(((_local2.x / 2) + (0 * (bVel.x - vel.x))), ((_local2.y / 2) + (0 * (bVel.y - vel.y))), _local2.x, _local2.y); body.graphics.moveTo(_local2.x, (_local2.y - 8)); body.graphics.lineStyle(4, bodyColor, 1); body.graphics.curveTo((((_local2.x + _local3.x) / 2) + (0 * (tVel.x - vel.x))), (((_local2.y + _local3.y) / 2) + (0 * (tVel.y - vel.y))), _local3.x, _local3.y); legTicker = (legTicker + (Math.log(vel.length) / (1 + stun))); _local4 = (30 * (1 - Math.exp((-(vel.length) / 16)))); _local5 = ((legTicker / 2) / scaleY); leg1.rotation = (_local4 * Math.cos(_local5)); leg2.rotation = (_local4 * Math.cos((_local5 + ((1 * Math.PI) / 2)))); leg3.rotation = (_local4 * Math.cos((_local5 + ((2 * Math.PI) / 2)))); leg4.rotation = (_local4 * Math.cos((_local5 + ((3 * Math.PI) / 2)))); } public function advance(){ vel.y = (vel.y + (1 / 2)); vel.normalize((vel.length * stability)); if (stun > 0){ stun = (stun * (1 - (1 / 0x0100))); if (pos.y >= 0){ stun = (stun - (0.125 * recovery)); } else { stun = (stun - (0.5 * recovery)); }; if (stun < 0){ stun = 0; }; }; if ((((pos.y >= 0)) && (autoFloat))){ vel.normalize((vel.length * (1 - (1 / 16)))); vel.y = (vel.y - (0.5 + (pos.y / 128))); }; if ((((pos.y < -20000)) && (autoGrav))){ vel.y = (vel.y + (-20000 - pos.y)); }; if ((((vel.length > 4)) && ((pos.y > (-8 - vel.length))))){ field.splash(pos, vel); }; pos.offset(vel.x, vel.y); expression(); if (((!((AI == null))) && ((stun <= 0)))){ AI(); }; } public function speedyAI(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; stability = (1 - (1 / 128)); radius = 1; if (Math.random() <= (1 / 32)){ accer = Point.polar(speed, (HF.pAng(accer) + HF.random(-0.5, 0.5))); accer.y = (accer.y * 0.5); }; phase++; accer = new Point(-1.5, (0.125 * Math.sin((phase / 8)))); if (pos.y > (-10000 + (5000 * Math.cos((phase / 128))))){ accer.y = (accer.y - 1); } else { accer.y = (accer.y + 1); }; _local1 = new Point(0, 0); _local6 = false; _local5 = getClosest(Books.fetch("player")); _local3 = avoid(fPos(_local5.pos, _local5.vel, 32)); if (!scoreKeeper.lock){ _local7 = int(((1 + (vel.length / 4)) * HF.gauss(rPos(_local5.pos, pos).length, 0, 100))); if (_local7 > 0){ scoreKeeper.Speedy = (scoreKeeper.Speedy + _local7); }; }; intimidate(Math.sqrt(vel.subtract(_local5.vel).length)); _local6 = true; _local1.offset((_local3.x * 2), (_local3.y * 2)); _local1.offset(accer.x, accer.y); if (((!((commander == null))) && (!((commander.link == null))))){ if (targetPoint != null){ _local3 = approach(targetPoint, 4, 2.25); if (_local6){ _local3.normalize((_local3.length / 16)); }; _local1.offset(_local3.x, _local3.y); }; } else { targetPoint = pos.clone(); }; _local4 = Books.fetch("cat"); for (_local2 in _local4) { if (_local4[_local2] == this){ } else { _local3 = avoid(_local4[_local2].pos); _local1.offset(_local3.x, _local3.y); }; }; _local1.y = (_local1.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 128), 0)) / 128))))); vel.offset(((speed * _local1.x) * 1.25), ((speed * _local1.y) * 1.25)); } public function fireAI(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; phase++; _local1 = new Point(0, 0); _local6 = false; _local5 = getClosest(Books.fetch("player")); if ((((rPos(pos, _local5.pos).length < leeway)) && ((rPos(fPos(pos, vel, 8), targetPoint).length < leeway)))){ _local3 = approach(fPos(_local5.pos, _local5.vel, 8)); _local6 = true; _local1.offset(_local3.x, _local3.y); }; if (((((phase % 75) <= (3 * 5))) && (((phase % 5) == 0)))){ shootFire(rPos(fPos(_local5.pos, _local5.vel, 8), pos)); }; if (((!((commander == null))) && (!((commander.link == null))))){ if (targetPoint != null){ _local3 = approach(targetPoint); if (_local6){ _local3.normalize((_local3.length / 16)); }; _local1.offset(_local3.x, _local3.y); }; } else { targetPoint = pos.clone(); }; intimidate(); _local4 = Books.fetch("cat"); for (_local2 in _local4) { if (_local4[_local2] == this){ } else { _local3 = avoid(_local4[_local2].pos); _local1.offset(_local3.x, _local3.y); }; }; _local1.y = (_local1.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 128), 0)) / 128))))); vel.offset(((speed * _local1.x) * 1), ((speed * _local1.y) * 1)); } public function shootFire(_arg1:Point){ var _local2:*; var _local3:*; _local2 = new Fireball(); _local2.init(); _local2.pos = pos.clone(); _local2.vel = _arg1.clone(); _local3 = _local2.vel.subtract(vel); _local3.normalize(Math.min(_local3.length, 20)); _local2.vel = _local3.add(vel); adopt(_local2); return (_local2); } public function init(_arg1:String="rocket"){ Books.register(this, "battable"); Books.register(this, "cat"); Books.register(this, (_arg1 + "Cat")); affiliation = "cat"; leeway = 200; radius = 16; bodyLength = 24; tailLength = 32; units = new Array(); stun = (legTicker = 0); phase = 0; autoFloat = (autoGrav = true); speed = 1; recovery = 1; pos = new Point(x, y); vel = new Point(0, 0); bPos = pos.clone(); bVel = new Point(0, 0); tPos = pos.clone(); tVel = new Point(0, 0); face = new Point(0, 0); stability = (1 - (1 / 24)); gotoAndStop(_arg1); if (_arg1 == "commander"){ style(2); } else { if (_arg1 == "guard"){ style(3); } else { if (_arg1 == "fire"){ style(4); } else { if (_arg1 == "long"){ style(1); } else { if (_arg1 == "sticky"){ style(6); } else { if (_arg1 == "speedy"){ style(7); } else { style(1); }; }; }; }; }; }; } public function rocketeerAI(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local1 = new Point(0, 0); _local6 = false; _local7 = ((!((commander == null))) && (!((commander.link == null)))); _local5 = getClosest(Books.fetch("player")); if (((((!(_local7)) && ((rPos(pos, _local5.pos).length < 400)))) || ((((rPos(pos, _local5.pos).length < leeway)) && ((rPos(fPos(pos, vel, 8), targetPoint).length < leeway)))))){ _local3 = approach(fPos(_local5.pos, _local5.vel, 8)); _local6 = true; _local1.offset(_local3.x, _local3.y); if (!_local7){ targetPoint = _local5.pos.clone(); }; }; if (_local7){ if (targetPoint != null){ _local3 = approach(targetPoint, 4, 2.25); if (_local6){ _local3.normalize((_local3.length / 16)); }; _local1.offset(_local3.x, _local3.y); }; } else { if (!_local6){ targetPoint = getClosest(Books.fetch("longCat")).pos.clone(); _local3 = approach(targetPoint, 4, 2.25); _local1.offset(_local3.x, _local3.y); }; }; intimidate(); _local4 = Books.fetch("cat"); for (_local2 in _local4) { if (_local4[_local2] == this){ } else { _local3 = avoid(_local4[_local2].pos); _local1.offset(_local3.x, _local3.y); }; }; _local1.y = (_local1.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 128), 0)) / 128))))); vel.offset(((speed * _local1.x) * 1.125), ((speed * _local1.y) * 1.125)); stability = (1 - (1 / 32)); } public function recruit(_arg1, _arg2=-1){ if (_arg2 < 0){ _arg2 = units.length; }; units[_arg2] = _arg1; _arg1.commander = this; } public function avoid(_arg1:Point, _arg2:Number=8, _arg3:Number=8):Point{ var _local4:*; _local4 = rPos(pos, _arg1); _local4.normalize((_arg2 * Math.pow((1 + (_local4.length / _arg3)), -2))); return (_local4); } public function commanderAI(){ var F:*; var arr:*; var a:*; var p:*; var dP:*; var dist:*; var approachDist:*; var tP:*; var tDir:*; var distFunc:*; phase++; if (stun > 0){ link = null; } else { link = 1; }; F = new Point(0, 0); p = null; if (role == "attack"){ p = getClosest(Books.fetch("player")); }; if (role == "protect"){ p = getClosest(Books.fetch("guardCat")); } else { if (role == "retrieve"){ p = getClosest(Books.fetch("girl")); }; }; if (p != null){ dP = rPos(p.pos, pos); dist = dP.length; approachDist = 300; if (dist < 10000){ tP = fPos(p.pos, p.vel, 8); tDir = HF.pAng(p.vel); distFunc = function (_arg1, _arg2){ var _local3:*; if (units[_arg1] == undefined){ return (0); }; _local3 = rPos(units[_arg1].pos, _arg2.pos).length; return (Math.min(800, ((_local3 * 0.75) + 50))); }; direct("pursuit2", tP.add(Point.polar(distFunc("pursuit2", p), (tDir + ((0 * phase) / 32))))); direct("pursuit3", tP.add(Point.polar(distFunc("pursuit3", p), ((tDir + (Math.PI * 0.25)) + ((0 * phase) / 32))))); direct("pursuit4", tP.add(Point.polar(distFunc("pursuit4", p), ((tDir - (Math.PI * 0.25)) + ((0 * phase) / 32))))); direct("pursuit1", tP); if (dist < approachDist){ dP.normalize(Math.min(1, ((approachDist - dist) / 64))); F.offset(-(dP.x), -(dP.y)); } else { dP.normalize(Math.min(4, ((dist - approachDist) / 64))); F.offset(dP.x, dP.y); }; }; }; p = getClosest(Books.fetch("player")); direct("guard1", Point.interpolate(fPos(p.pos, p.vel, 8), fPos(pos, vel, 8), 0.25), 1); intimidate(2); arr = Books.fetch("cat"); for (a in arr) { if (arr[a] == this){ } else { dP = avoid(arr[a].pos); F.offset(dP.x, dP.y); }; }; F.y = (F.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 128), 0)) / 128))))); vel.offset(((speed * F.x) * 0.875), ((speed * F.y) * 0.875)); } public function guardAI(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = new Point(0, 0); if (hold == null){ _local4 = Books.fetch("girl"); for (_local2 in _local4) { _local3 = _local4[_local2]; _local5 = approach(fPos(_local3.pos, _local3.vel, 9)); _local1.offset(_local5.x, _local5.y); _local5 = rPos(_local3.pos, pos); if ((((_local3.holder == null)) || (!((_local3.holder.affiliation == affiliation))))){ if ((((_local5.length < 10)) && ((_local3.vel.subtract(vel).length < 8)))){ _local3.grabOff(); _local3.grabOn(this); hold = _local3; }; }; }; } else { _local4 = Books.fetch("player"); for (_local2 in _local4) { _local3 = _local4[_local2]; _local5 = rPos(pos, fPos(_local3.pos, _local3.vel, 8)); _local5.normalize(0.5); if (_local5.y < 0){ vel.offset(0, (-1 / 2)); }; _local1.offset(_local5.x, _local5.y); }; _local3 = getClosest(Books.fetch("longCat")); _local5 = approach(fPos(_local3.tPos, _local3.tVel, 12)); _local5.normalize(Math.min(2, _local5.length)); if (_local5.y < 0){ vel.offset(0, (-1 / 2)); }; _local1.offset(_local5.x, _local5.y); }; _local1.y = (_local1.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 16), 0)) / 128))))); vel.offset((speed * _local1.x), (speed * _local1.y)); if (hold != null){ hold.hangBy(pos, vel, 0); }; } public function longAI(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; bodyLength = 0x0100; tailLength = (bodyLength / 4); scaleX = (scaleY = 2); autoGrav = false; radius = 24; stability = (1 - (1 / 0x0100)); if (hold == null){ _local4 = Books.fetch("girl"); for (_local2 in _local4) { _local5 = _local4[_local2]; _local3 = rPos(_local5.pos, tPos); if ((((_local5.holder == null)) || ((_local5.holder.affiliation == affiliation)))){ if ((((_local3.length < 10)) && ((_local5.vel.subtract(tVel).length < 8)))){ _local5.grabOff(); _local5.grabOn(this); hold = _local5; }; }; }; }; _local1 = new Point(0, 0); _local1.x = 2; _local1.y = (-1 / 2); if (hold == null){ vel.x = (vel.x * 0.99); vel.y = (vel.y * 0.99); if (pos.y < -19600){ _local1.y = ((-19600 - pos.y) / 64); }; } else { hold.hangBy(tPos, tVel, 0); }; if (pos.y < -32000){ pos.y = -32000; }; _local1.y = (_local1.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 128), 0)) / 128))))); vel.offset(((speed * _local1.x) / 8), ((speed * _local1.y) / 8)); if (stun <= 0){ vel.y = (vel.y - (1 / 2)); }; } public function approach(_arg1:Point, _arg2:Number=8, _arg3:Number=3):Point{ var _local4:*; var _local5:*; _local4 = fPos(pos, vel, _arg2); _local5 = rPos(_arg1, _local4); if (_local5.y < 0){ _local5.y = (_local5.y - Math.pow(((_local5.length / (1 + vel.length)) / 2), 2)); }; _local5.normalize(Math.min(_arg3, (_local5.length / 32))); return (_local5); } public function style(_arg1){ var _local2:*; head.style(_arg1); leg1.gotoAndStop(_arg1); leg2.gotoAndStop(_arg1); leg3.gotoAndStop(_arg1); leg4.gotoAndStop(_arg1); _local2 = [0, 0xFFFFFF, 2630692, 10003115, 12873805, 0xFFFFFF, 0x262626, 16711058]; bodyColor = _local2[_arg1]; } public function stickyAI(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; scaleX = (scaleY = (1 / 2)); radius = 8; stability = (1 - (1 / 64)); Books.unregister(this, "battable"); _local1 = new Point(0, 0); _local6 = false; _local5 = getClosest(Books.fetch("player")); _local3 = approach(fPos(_local5.pos, _local5.vel, 10)); _local6 = true; _local1.offset(_local3.x, _local3.y); _local3 = rPos(_local5.pos, pos); if ((((_local3.length < 16)) && ((_local5.pos.y < -4)))){ latch = _local5; }; if (latch != null){ _local3 = rPos(latch.pos, pos); vel = latch.vel.clone(); pos.offset(((_local3.x / 8) + (vel.x / 32)), ((_local3.y / 8) + (vel.y / 32))); latch.vel.x = (latch.vel.x * (1 - (1 / 32))); if ((((latch.vel.y < 0)) || ((latch.vel.y > 40)))){ latch.vel.y = (latch.vel.y * (1 - (1 / 32))); }; latch.spin = (latch.spin * (1 - (1 / 32))); legTicker = 0; if (latch.pos.y > 0){ getHit((latch.pos.y + 10), latch.vel); latch = null; }; }; if (((!((commander == null))) && (!((commander.link == null))))){ if (targetPoint != null){ _local3 = approach(targetPoint, 4, 2.25); if (_local6){ _local3.normalize((_local3.length / 16)); }; _local1.offset(_local3.x, _local3.y); }; } else { targetPoint = pos.clone(); }; intimidate((1 / 8)); _local4 = Books.fetch("cat"); for (_local2 in _local4) { if (_local4[_local2] == this){ } else { _local3 = avoid(_local4[_local2].pos, 16); _local1.offset(_local3.x, _local3.y); }; }; _local1.y = (_local1.y + (-8 * (1 - Math.exp((-(Math.max(((pos.y + (vel.y * 8)) + 128), 0)) / 128))))); vel.offset(((speed * _local1.x) / 8), (((speed * _local1.y) / 8) - (1 / 4))); } public function direct(_arg1=0, _arg2:Point=null, _arg3:Number=2){ if (units[_arg1] == undefined){ return (false); }; if (_arg2 == null){ _arg2 = pos; }; units[_arg1].targetPoint = _arg2.clone(); units[_arg1].leeway = (_arg3 * 100); return (true); } } }//package
Section 33
//Cathead (Cathead) package { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Cathead extends MovieClip { public var eyeSpin; public var eye2:MovieClip; public var eye1:MovieClip; public var head1:MovieClip; public var head2:MovieClip; public var myStyle; public var ear1:MovieClip; public var ear2:MovieClip; public var mouth:MovieClip; public function Cathead(){ addFrameScript(0, frame1); } public function face(_arg1:Number=0, _arg2:Number=0){ _arg1 = ((Math.atan(_arg1) * 2) / Math.PI); gotoAndStop((30 + int((20 * _arg1)))); } function frame1(){ style(); eyeSpin = 0; } public function style(_arg1=null){ if (myStyle == null){ myStyle = 1; }; if (_arg1 == null){ _arg1 = myStyle; }; myStyle = _arg1; head1.gotoAndStop(_arg1); head2.gotoAndStop(_arg1); ear1.gotoAndStop(_arg1); ear2.gotoAndStop(_arg1); expressEyes(); } public function spinEyes(_arg1:Number=10){ expressEyes("@"); eyeSpin = (eyeSpin + _arg1); eye1.spin(eyeSpin); eye2.spin(eyeSpin); } public function expressEyes(_arg1:String="O", _arg2:String=""){ if (_arg2 == ""){ _arg2 = _arg1; }; eye1.gotoAndStop(_arg1); eye2.gotoAndStop(_arg2); } } }//package
Section 34
//Fireball (Fireball) package { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Fireball extends MovieClip { public var field:MovieClip; public var life:Number; public var pos:Point; public var targetGroup:String; public var phase:Number; public var rPos:Function; public var radius:Number; public var vel:Point; public var adopt:Function; public var vol:Number; public function Fireball(){ addFrameScript(0, frame1); } public function init(){ Books.register(this, "battable"); Books.register(this, "fireball"); if (pos == null){ pos = new Point(x, y); }; if (vel == null){ vel = new Point(0, 0); }; life = 64; radius = 16; phase = 0; targetGroup = "player"; } public function bat(_arg1:Point){ targetGroup = "cat"; life--; } function frame1(){ } public function advance(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; life--; phase++; vel.normalize((vel.length * (1 - (1 / 128)))); if (pos.y > -(radius)){ life = int(((life / 2) - pos.y)); }; scaleX = (scaleY = (1 - Math.exp(-(Math.max(0, (life / 32)))))); field.fireNoise = (field.fireNoise + ((this.vol * this.scaleY) / 4)); radius = (16 * scaleY); if (life <= 0){ explode(); return; }; gotoAndStop((1 + (phase % 8))); pos.offset(vel.x, vel.y); _local1 = Books.fetch(targetGroup); for (_local2 in _local1) { _local3 = _local1[_local2]; _local4 = HF.intercept({pos:rPos(_local3.pos, pos), vel:_local3.vel.subtract(vel)}, {pos:new Point(0, 0), vel:new Point(0, 0)}, (_local3.radius + radius)); if ((((_local4 >= -0.5)) && ((_local4 <= 0.5)))){ _local5 = vel.subtract(_local3.vel); vel.subtract(_local3.vel).normalize((_local5.length * scaleY)); _local6 = ((radius / 2) * (1 + (_local5.length / 10))); _local3.getHit(_local6, _local5); if (targetGroup == "player"){ _local3.rocketPower = (_local3.rocketPower - _local6); }; _local3.vel.offset((_local5.x / 4), (_local5.y / 4)); explode(); return; }; }; } public function explode(){ var e:*; e = new FireExplosion(); e.pos = pos.clone(); e.vel = vel.clone(); e.scaleX = (e.scaleY = ((Math.min(1, scaleY) * 0.75) + 0.25)); e.advance = function (){ e.vel.normalize((e.vel.length * 0.75)); e.pos.offset(e.vel.x, e.vel.y); field.fireNoise = (field.fireNoise + (((e.vol / (1 + (e.currentFrame / 4))) * e.scaleX) * 2)); }; adopt(e); MovieClip(parent).removeChild(this); Books.forget(this); } } }//package
Section 35
//FireExplosion (FireExplosion) package { import flash.display.*; public dynamic class FireExplosion extends MovieClip { public function FireExplosion(){ addFrameScript(8, frame9); } function frame9(){ Books.forget(this); this.visible = false; this.stop(); if (this.parent != null){ this.parent.removeChild(this); }; } } }//package
Section 36
//fireRoar_wav (fireRoar_wav) package { import flash.media.*; public dynamic class fireRoar_wav extends Sound { } }//package
Section 37
//Global (Global) package { import flash.display.*; public class Global { public static var root:MovieClip = null; public static var vars:Object = new Object(); public static var stage:Stage = null; public static function initialize(_arg1:MovieClip=null, _arg2:Stage=null){ root = _arg1; stage = _arg2; } } }//package
Section 38
//HF (HF) package { import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.events.*; import flash.utils.*; public class HF { public static function bmpCleanup(_arg1:DisplayObject, _arg2:BitmapData=null):void{ var rem:*; var bin = _arg1; var bmp = _arg2; if (bmp == null){ bmp = Bitmap(bin).bitmapData; }; rem = function (_arg1){ trace("boom"); bmp.dispose(); bin.removeEventListener(Event.REMOVED_FROM_STAGE, rem); bin.removeEventListener(Event.UNLOAD, rem); rem = null; }; bin.addEventListener(Event.REMOVED_FROM_STAGE, rem); bin.addEventListener(Event.UNLOAD, rem); } public static function intercept(_arg1, _arg2, _arg3:Number=8):Number{ var _local4:Point; var _local5:Point; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; _local4 = _arg1.pos.subtract(_arg2.pos); _local5 = _arg1.vel.subtract(_arg2.vel); if ((_local4.length - _local5.length) <= _arg3){ _local6 = (_local5.length * _local5.length); _local7 = (2 * ((_local5.x * _local4.x) + (_local5.y * _local4.y))); _local8 = ((_local4.length * _local4.length) - (_arg3 * _arg3)); _local9 = ((_local7 * _local7) - ((4 * _local6) * _local8)); if (_local9 < 0){ return (Number.NaN); }; return (((-(_local7) - Math.sqrt(_local9)) / (2 * _local6))); //unresolved jump }; return (Number.NaN); } public static function random(_arg1:Number=1, _arg2:Number=0, _arg3:Number=0):Number{ var _local4:Number; _local4 = (Math.min(_arg1, _arg2) + (Math.random() * Math.abs((_arg1 - _arg2)))); if (Math.random() < _arg3){ _local4 = (_local4 * -1); }; return (_local4); } public static function reflect(_arg1:Point, _arg2:Point):Point{ return (Point.polar(-(_arg1.length), ((2 * Math.atan2(_arg2.y, _arg2.x)) - Math.atan2(_arg1.y, _arg1.x)))); } public static function localToLocal(_arg1:Point, _arg2, _arg3):Point{ return (_arg3.globalToLocal(_arg2.localToGlobal(_arg1))); } public static function acos(_arg1:Number):Number{ return (((Math.acos(_arg1) * 180) / Math.PI)); } public static function cos(_arg1:Number):Number{ return (Math.cos(((_arg1 * Math.PI) / 180))); } public static function pAng(_arg1:Point, _arg2:Boolean=false):Number{ if (_arg2){ return (((Math.atan2(_arg1.y, _arg1.x) * 180) / Math.PI)); }; return (Math.atan2(_arg1.y, _arg1.x)); } public static function setBit(_arg1:int, _arg2:uint=0, _arg3:uint=1):int{ var _local4:uint; _local4 = Math.pow(2, _arg2); return (((((int(((_arg1 / _local4) / 2)) * 2) * _local4) + (_arg3 * _local4)) + (_arg1 % _local4))); } public static function AdjustColorFilter(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Boolean=false):ColorMatrixFilter{ var _local6:Array; var _local7:Number; var _local8:Number; var _local9:Array; var _local10:Array; _local6 = [0, 0, 0, 1]; _local6[0] = constrain((2 - (Math.abs(midMod((_arg1 - 0), 360)) / 60)), 0, 1); _local6[1] = constrain((2 - (Math.abs(midMod((_arg1 - 120), 360)) / 60)), 0, 1); _local6[2] = constrain((2 - (Math.abs(midMod((_arg1 - 240), 360)) / 60)), 0, 1); _local6[3] = ((_local6[0] + _local6[1]) + _local6[2]); _local6[0] = (_local6[0] / _local6[3]); _local6[1] = (_local6[1] / _local6[3]); _local6[2] = (_local6[2] / _local6[3]); _arg2 = constrain(((_arg2 / 100) + 1), 0, 4); if (_arg5){ _arg2 = (_arg2 * _local6[3]); }; _local6[0] = ((_local6[0] * _arg2) + ((1 - _arg2) / 3)); _local6[1] = ((_local6[1] * _arg2) + ((1 - _arg2) / 3)); _local6[2] = ((_local6[2] * _arg2) + ((1 - _arg2) / 3)); _local7 = ((_arg3 / 100) + 1); _local8 = (((1 - _local7) * 128) + ((_arg4 * 0xFF) / 100)); _local9 = [0, 0, 0]; if (_arg5){ _local9[0] = (_local7 * ((((_local6[0] * 1) / 3) + ((_local6[1] * 2) / 3)) + ((_local6[2] * 2) / 3))); _local9[1] = (_local7 * ((((_local6[0] * 2) / 3) + ((_local6[1] * 1) / 3)) + ((_local6[2] * 2) / 3))); _local9[2] = (_local7 * ((((_local6[0] * 2) / 3) + ((_local6[1] * 2) / 3)) + ((_local6[2] * 1) / 3))); _local10 = [_local9[0], _local9[0], _local9[0], 0, (_local8 + (0xFF * (_local6[0] - 1))), _local9[1], _local9[1], _local9[1], 0, (_local8 + (0xFF * (_local6[1] - 1))), _local9[2], _local9[2], _local9[2], 0, (_local8 + (0xFF * (_local6[2] - 1))), 0, 0, 0, 1, 0]; } else { _local9[0] = (_local7 * _local6[0]); _local9[1] = (_local7 * _local6[1]); _local9[2] = (_local7 * _local6[2]); _local10 = [_local9[0], _local9[2], _local9[1], 0, _local8, _local9[1], _local9[0], _local9[2], 0, _local8, _local9[2], _local9[1], _local9[0], 0, _local8, 0, 0, 0, 1, 0]; }; return (new ColorMatrixFilter(_local10)); } public static function posMod(_arg1:Number, _arg2:Number):Number{ return ((((_arg1 % _arg2) + _arg2) % _arg2)); } public static function zeroPad(_arg1:Number, _arg2:int=0, _arg3:int=0):String{ var _local4:String; var _local5:int; _local4 = String(_arg1); _local5 = _local4.indexOf("."); if (_local5 < 0){ _local5 = _local4.length; if (_arg3 > 0){ _local4 = (_local4 + "."); }; }; while (_arg2 > _local5) { _local4 = ("0" + _local4); _local5++; }; while (_arg3 > (_local4.length - _local5)) { _local4 = (_local4 + "0"); }; return (_local4); } public static function mag(_arg1, _arg2):Number{ return (Math.sqrt(((_arg1 * _arg1) + (_arg2 * _arg2)))); } public static function round(_arg1:Number, _arg2:Number=1):Number{ return ((Math.round((_arg1 / _arg2)) * _arg2)); } public static function asymptote(_arg1:Number, _arg2:Number=100, _arg3:Number=0.5):Number{ var _local4:*; var _local5:Number; if (Math.abs(_arg1) <= (_arg2 * _arg3)){ return (_arg1); }; _local4 = (((_arg2 * 2) / Math.PI) * (1 - _arg3)); _local5 = ((sign(_arg1) * _arg2) * _arg3); return ((_local5 + (_local4 * Math.atan(((_arg1 - _local5) / _local4))))); } public static function gauss2(_arg1:Number, _arg2:Number=0, _arg3:Number=1){ return (Math.exp(-(Math.pow(((_arg1 - _arg2) / (_arg3 / 2)), 2)))); } public static function sin(_arg1:Number):Number{ return (Math.sin(((_arg1 * Math.PI) / 180))); } public static function midMod(_arg1:Number, _arg2:Number):Number{ return (((((_arg1 % _arg2) + (1.5 * _arg2)) % _arg2) - (_arg2 / 2))); } public static function rotate(_arg1:Point, _arg2:Number=0):Point{ return (Point.polar(_arg1.length, (getAng(_arg1) + _arg2))); } public static function encode(_arg1:Number, _arg2:int=2):String{ var _local3:int; var _local4:uint; var _local5:String; _local3 = Math.pow(2, 16); if (_arg2 == 1){ _local3 = (Math.pow(2, 16) - 2); }; if (_arg2 == 2){ _local3 = (Math.pow(2, 16) - 5); }; _local4 = Math.abs((2 * Math.round(_arg1))); if (_arg1 < 0){ _local4 = (_local4 + 1); }; _local5 = ""; do { _local5 = (n2c((_local4 % _local3), _arg2) + _local5); _local4 = (_local4 / _local3); } while (_local4 > 0); return (_local5); } public static function getBit(_arg1:uint, _arg2:uint=0):int{ return ((int((_arg1 / Math.pow(2, _arg2))) % 2)); } private static function n2c(_arg1:uint, _arg2:int=1):String{ if (_arg2 == 1){ return (String.fromCharCode((_arg1 + 1))); }; if (_arg2 == 2){ if ((_arg1 + 1) < 60){ return (String.fromCharCode((_arg1 + 1))); }; return (String.fromCharCode((_arg1 + 4))); //unresolved jump }; return (String.fromCharCode(_arg1)); } public static function atan(_arg1:Number, _arg2:Number):Number{ return (((Math.atan2(_arg1, _arg2) * 180) / Math.PI)); } public static function tan(_arg1:Number):Number{ return (Math.tan(((_arg1 * Math.PI) / 180))); } public static function getAng(_arg1:Point):Number{ return (Math.atan2(_arg1.y, _arg1.x)); } private static function c2n(_arg1:String, _arg2:int=1):uint{ var _local3:uint; _local3 = _arg1.charCodeAt(0); if (_arg2 == 1){ return ((_local3 - 1)); }; if (_arg2 == 2){ if (_local3 < 60){ return ((_local3 - 1)); }; return ((_local3 - 4)); //unresolved jump }; return (_local3); } public static function midAngle(_arg1:Number, _arg2:Number, _arg3:Number=0.5, _arg4:Number=360):Number{ return ((_arg2 + (_arg3 * midMod((_arg1 - _arg2), _arg4)))); } public static function clone(_arg1:Object){ var _local2:ByteArray; _local2 = new ByteArray(); _local2.writeObject(_arg1); _local2.position = 0; return (_local2.readObject()); } public static function decode(_arg1:String, _arg2:int=2):int{ var _local3:int; var _local4:uint; var _local5:int; _local3 = Math.pow(2, 16); if (_arg2 == 1){ _local3 = (Math.pow(2, 16) - 2); }; if (_arg2 == 2){ _local3 = (Math.pow(2, 16) - 5); }; _local4 = 0; while (_arg1.length > 0) { _local4 = (_local4 * _local3); _local4 = (_local4 + c2n(_arg1.charAt(0), _arg2)); _arg1 = _arg1.substr(1); }; _local5 = int((_local4 / 2)); if ((_local4 % 2) == 1){ _local5 = (_local5 * -1); }; return (_local5); } public static function asin(_arg1:Number):Number{ return (((Math.asin(_arg1) * 180) / Math.PI)); } public static function rope(_arg1:Point, _arg2:Point, _arg3:Number=32, _arg4:Point=null, _arg5:Point=null){ var _local6:Point; var _local7:Point; var _local8:Point; var _local9:Number; var _local10:*; var _local11:*; if (_arg4 == null){ _arg4 = new Point(0, 0); }; if (_arg5 == null){ _arg5 = new Point(0, 0); }; _local6 = _arg2.subtract(_arg5); _local7 = _arg1.subtract(_arg4.subtract(_arg5)); _local8 = _local7.add(_local6); _local9 = 1; if (_local8.length >= _arg3){ _local8.normalize(_arg3); _local9 = (_local8.subtract(_local7).length / _local6.length); _local10 = (-(((_local6.x * _local8.y) - (_local6.y * _local8.x))) / _local8.length); _local11 = Math.atan2(_local8.y, _local8.x); _local8 = Point.polar(_local8.length, (_local11 + ((_local10 * (1 - _local9)) / _local8.length))); _local6 = Point.polar(_local10, (Math.atan2(_local8.y, _local8.x) + (Math.PI / 2))); }; return ({pos:_arg4.add(_local8), vel:_arg5.add(_local6), dP:_local8, dV:_local6}); } public static function chance(_arg1:Number=0.5):Boolean{ return ((Math.random() <= _arg1)); } public static function addListener(_arg1:MovieClip, _arg2:Function, _arg3:String="enterFrame", _arg4:Array=null){ var i:*; var begin:*; var who = _arg1; var f = _arg2; var trig = _arg3; var deact = _arg4; if (deact == null){ deact = [Event.REMOVED_FROM_STAGE, Event.UNLOAD]; }; begin = function (_arg1=null){ var unlisten:*; var e = _arg1; who.removeEventListener(Event.ADDED_TO_STAGE, begin); unlisten = function (_arg1=null){ who.removeEventListener(trig, f); for (i in deact) { who.removeEventListener(deact[i], unlisten); }; }; who.addEventListener(trig, f, false, 0, true); for (i in deact) { who.addEventListener(deact[i], unlisten, false, 0, true); }; }; who.addEventListener(Event.ADDED_TO_STAGE, begin, false, 0, true); if (who.parent != null){ begin(); }; } public static function constrain(_arg1:Number, _arg2:Number=0, _arg3:Number=1):Number{ if (_arg1 < _arg2){ return (_arg2); }; if (_arg1 > _arg3){ return (_arg3); }; return (_arg1); } public static function binString(_arg1:uint):String{ var _local2:String; _local2 = ""; while (_arg1 > 0) { _local2 = ((_arg1 % 2) + _local2); _arg1 = uint((_arg1 / 2)); }; return (_local2); } public static function setupAO(_arg1:MovieClip=null, _arg2:Boolean=false):MovieClip{ var clss:String; var t = _arg1; var keepName = _arg2; if (t == null){ t = new MovieClip(); }; if ((((t.name.substr(0, 8) == "instance")) && (!(keepName)))){ clss = getQualifiedClassName(t); if (clss.indexOf("::") > 0){ clss = clss.substr((clss.indexOf("::") + 2)); }; t.name = (clss + t.name.substr(8)); }; if (t.pos == null){ t.pos = new Point(t.x, t.y); }; if (t.vel == null){ t.vel = new Point(0, 0); }; if (isNaN(t.phase)){ t.phase = 0; }; t.onRemove = function (){ }; t.self = t; t.locomate = function (_arg1:Number=0):void{ t.pos.offset(t.vel.x, t.vel.y); t.x = t.pos.x; t.y = t.pos.y; t.vel.normalize((t.vel.length * (1 - t.drag))); }; t.addEventListener(Event.REMOVED_FROM_STAGE, function (_arg1){ t.onRemove(); }); Books.register(t); return (t); } public static function gauss(_arg1:Number, _arg2:Number=0, _arg3:Number=1){ return (Math.exp(-(Math.pow(((_arg1 - _arg2) / (2 * _arg3)), 2)))); } public static function sign(_arg1):int{ if ((_arg1 is Boolean)){ if (_arg1){ return (1); }; return (-1); //unresolved jump }; if (_arg1 > 0){ return (1); }; return (-1); } public static function pn(_arg1:Number=0.5){ return (sign(chance(_arg1))); } } }//package
Section 39
//Keys (Keys) package { import flash.events.*; public class Keys { private static const codes1:String = "0123456789"; private static const codes2:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; private static const codes3:String = ":+<_>?~"; private static const codes4:String = "{|}""; private static const codes0:String = (((codes1 + codes2) + codes3) + codes4); private static var timer:Array = new Array(); private static var init:Boolean = false; private static var pressed:Array = new Array(); private static var lastPushed:Object = {c:-1, t:0}; public static function idleTime():Number{ return (lastPushed.t); } public static function initialize(_arg1){ var a:*; var stage = _arg1; if (init){ return; }; init = true; timer = new Array(); lastPushed = {c:-1, t:0}; pressed = new Array(); a = 0; while (a < 0xFF) { timer[str(a)] = 0; a = (a + 1); }; stage.addEventListener(KeyboardEvent.KEY_DOWN, function (_arg1:KeyboardEvent){ var _local2:*; lastPushed = {c:_arg1.keyCode, t:0}; _local2 = str(_arg1.keyCode); if (timer[_local2] < 0){ timer[_local2] = 0; }; pressed[_local2] = 1; }); stage.addEventListener(KeyboardEvent.KEY_UP, function (_arg1:KeyboardEvent){ var _local2:*; _local2 = str(_arg1.keyCode); pressed[_local2] = -1; }); stage.addEventListener(Event.ENTER_FRAME, function (_arg1){ var _local2:*; lastPushed.t++; for (_local2 in pressed) { if (pressed[_local2] == 1){ var _local5 = timer; var _local6 = _local2; var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; } else { if (pressed[_local2] == -1){ timer[_local2] = (timer[_local2] * -1); pressed[_local2] = 0; } else { timer[_local2] = 0; delete pressed[_local2]; }; }; }; }); } public static function getDown(){ return (pressed); } public static function getCode(_arg1:String):int{ var _local2:int; _local2 = codes0.indexOf(_arg1); if (_local2 >= 43){ return (((219 + _local2) - 43)); }; if (_local2 >= 36){ return (((186 + _local2) - 36)); }; if (_local2 >= 10){ return (((65 + _local2) - 10)); }; if (_local2 >= 0){ return (((48 + _local2) - 0)); }; return (-1); } public static function isDown(_arg1:uint):Boolean{ return (pressed[str(_arg1)]); } private static function str(_arg1):String{ if (isNaN(_arg1)){ return (_arg1); }; return (("k" + _arg1)); } public static function holdTime(_arg1:uint):Number{ return (timer[str(_arg1)]); } } }//package
Section 40
//Menu (Menu) package { import flash.events.*; import flash.ui.*; public class Menu { private static var menuItems:Array = new Array(); private static var myTarget = null; private static var menu:ContextMenu = new ContextMenu(); public static function initialize(_arg1=null):void{ wipe(); menu.hideBuiltInItems(); menu.builtInItems.zoom = true; menu.builtInItems.quality = true; myTarget = _arg1; } public static function setItem(_arg1:int=0, _arg2:String="", _arg3:Function=null, _arg4:Boolean=false):Boolean{ var CMI:ContextMenuItem; var index = _arg1; var label = _arg2; var func = _arg3; var div = _arg4; CMI = new ContextMenuItem(label, div); CMI.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, function (_arg1){ func(); }); if (label == ""){ CMI = null; }; menuItems[index] = CMI; updateMenu(); return (!((CMI == null))); } public static function wipe():void{ menu = new ContextMenu(); menuItems = new Array(); } private static function updateMenu():void{ var _local1:*; menu.customItems = new Array(); _local1 = 0; while (_local1 < menuItems.length) { if (menuItems[_local1] == null){ } else { menu.customItems.push(menuItems[_local1]); }; _local1++; }; myTarget.contextMenu = menu; } public static function myMenu():ContextMenu{ return (menu); } } }//package
Section 41
//MetalBat1_wav (MetalBat1_wav) package { import flash.media.*; public dynamic class MetalBat1_wav extends Sound { } }//package
Section 42
//MetalBat2_wav (MetalBat2_wav) package { import flash.media.*; public dynamic class MetalBat2_wav extends Sound { } }//package
Section 43
//MetalBat3_wav (MetalBat3_wav) package { import flash.media.*; public dynamic class MetalBat3_wav extends Sound { } }//package
Section 44
//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.2"); } public static function showTimedAd(_arg1:Object):void{ MochiAd.showInterLevelAd(_arg1); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var f:Function; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; lv.lc = name; lv.st = getTimer(); loader = new Loader(); f = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); mc._mochiad_ctr_failed = true; }; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["sendHighScore", _arg1], _arg2, _arg3); return (true); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = _local1.loaderInfo.bytesTotal; if ((((_local4 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ _local3 = true; }; }; }; if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _loadCommunicator(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var clipname:String; var server:String; var depth:Number; var mc:MovieClip; var lv:URLVariables; var k:String; var lc:LocalConnection; var name:String; var req:URLRequest; var loader:Loader; var options = _arg1; DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; clipname = ("_mochiad_com_" + options.id); if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip[clipname]){ return (clip[clipname]); }; server = (options.com_server + options.id); MochiAd._allowDomains(server); delete options.id; delete options.com_server; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, clipname, depth); lv = new URLVariables(); for (k in options) { lv[k] = options[k]; }; lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.name = name; mc.lc = lc; lv.lc = name; mc._id = 0; mc._queue = []; mc.rpcResult = function (_arg1:Object):void{ var _local3:Array; var _local4:Array; var _local5:Number; var _local6:Object; var _local7:Object; _arg1 = parseInt(_arg1.toString()); _local3 = mc._callbacks[_arg1]; if (typeof(_local3) == "undefined"){ return; }; delete mc._callbacks[_arg1]; _local4 = []; _local5 = 2; while (_local5 < _local3.length) { _local4.push(_local3[_local5]); _local5++; }; _local5 = 1; while (_local5 < arguments.length) { _local4.push(arguments[_local5]); _local5++; }; _local6 = _local3[1]; _local7 = _local3[0]; if (((_local7) && ((typeof(_local6) == "string")))){ _local6 = _local7[_local6]; }; if (typeof(_local6) == "function"){ _local6.apply(_local7, _local4); }; }; mc._didConnect = function (_arg1:String):void{ var _local2:Array; var _local3:Function; var _local4:Number; var _local5:Array; mc._endpoint = _arg1; _local2 = mc._queue; delete mc._queue; _local3 = mc.doSend; _local4 = 0; while (_local4 < _local2.length) { _local5 = _local2[_local4]; _local3.apply(this, _local5); _local4++; }; }; mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{ var _local5:Number; var _local6:LocalConnection; var _local7:Array; var _local8:Number; if (mc._endpoint == null){ _local7 = []; _local8 = 0; while (_local8 < arguments.length) { _local7.push(arguments[_local8]); _local8++; }; mc._queue.push(_local7); return; }; mc._id = (mc._id + 1); _local5 = mc._id; mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))]; _local6 = new LocalConnection(); _local6.send(mc._endpoint, "rpc", _local5, _arg1); }; mc._callbacks = {}; mc._callbacks[0] = [mc, "_didConnect"]; lv.st = getTimer(); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader = new Loader(); loader.load(req); mc.addChild(loader); mc._mochiad_com = loader; return (mc); } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); bar.x = 10; bar.y = (h - 20); bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (!this.parent.parent){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); if (!chk.showing){ _local11 = _local2.loaderInfo.bytesTotal; if ((((_local11 > 0)) || (("number" == "undefined")))){ chk.showing = true; chk.started = getTimer(); } else { if (_local3 > chk.ad_timeout){ _local4 = true; }; }; }; if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ MochiAd.showPreGameAd(_arg1); } public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{ var _local4:MovieClip; _local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id}); if (!_local4){ return (false); }; _local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3); return (true); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 45
//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("core.mochibot.com"); Security.allowInsecureDomain("core.mochibot.com"); _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 46
//Mouser (Mouser) package { import flash.geom.*; import flash.events.*; public dynamic class Mouser { private static var myFunctions:Array = new Array(); private static var init:Boolean = false; private static var clickPend:Boolean = false; private static var down:Boolean = false; private static var mPos:Point = new Point(0, 0); private static var disp:Point = new Point(0, 0); private static var mhold:int = 0; private static var mVel:Point = new Point(0, 0); private static var myStage; private static var clickChildren:Array = new Array(); private static function exe(_arg1:String){ var _local2:*; _local2 = 0; while (_local2 < myFunctions[_arg1].length) { var _local3 = myFunctions[_arg1]; _local3[_local2](); _local2++; }; } public static function initialize(_arg1){ var stage = _arg1; if (init){ return; }; init = true; myStage = stage; myFunctions = new Array(); myFunctions["onDown"] = new Array(); myFunctions["onUp"] = new Array(); myFunctions["onMove"] = new Array(); myFunctions["onDoubleClick"] = new Array(); mPos = new Point(stage.mouseX, stage.mouseY); stage.addEventListener(MouseEvent.MOUSE_DOWN, function (_arg1){ down = true; clickPend = true; disp = new Point(0, 0); exe("onDown"); }); stage.addEventListener(MouseEvent.MOUSE_UP, function (_arg1){ down = false; clickChildren = new Array(); exe("onUp"); }); stage.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1){ mVel = new Point(stage.mouseX, stage.mouseY).subtract(mPos); mPos = new Point(stage.mouseX, stage.mouseY); disp.offset(mVel.x, mVel.y); exe("onMove"); }); stage.addEventListener(MouseEvent.DOUBLE_CLICK, function (_arg1){ exe("onDoubleClick"); }); } public static function addFunction(_arg1:Function, _arg2:String="onDown"){ if (myFunctions[_arg2] == undefined){ throw (new Error("Please use listeners 'onDown' 'onUp' 'onMove' or 'onDoubleClick'")); }; myFunctions[_arg2].push(_arg1); } public static function tick(){ if (down){ mhold = Math.max((mhold + 1), 1); } else { if (mhold > 0){ mhold = (mhold * -1); } else { mhold = 0; }; }; if (clickPend){ mhold = 1; }; clickPend = false; } public static function getDisp(_arg1=null):Point{ if (_arg1 == null){ return (disp.clone()); }; return (_arg1.globalToLocal(mPos).subtract(_arg1.globalToLocal(mPos.subtract(disp)))); } public static function getPos(_arg1=null):Point{ if (_arg1 == null){ return (mPos.clone()); }; return (_arg1.globalToLocal(mPos)); } public static function getVel(_arg1=null):Point{ if (_arg1 == null){ return (mVel.clone()); }; return (_arg1.globalToLocal(mPos).subtract(_arg1.globalToLocal(mPos.subtract(mVel)))); } public static function holdTime(_arg1:Boolean=false):int{ if (_arg1){ tick(); }; return (mhold); } public static function isDown():Boolean{ return (down); } public static function removeFunction(_arg1:Function, _arg2:String=""):Boolean{ var _local3:*; var _local4:*; var _local5:*; if (_arg2 == ""){ for (_local3 in myFunctions) { _local4 = 0; while (_local4 < myFunctions[_local3].length) { if (myFunctions[_local3][_local4] == _arg1){ myFunctions[_local3].splice(_local4, 1); return (true); }; _local4++; }; }; return (false); //unresolved jump }; if (myFunctions[_arg2] == undefined){ throw (new Error("Please use listeners '', 'onDown' 'onUp' 'onMove' or 'onDoubleClick'")); }; _local5 = 0; while (_local5 < myFunctions[_arg2].length) { if (myFunctions[_arg2][_local5] == _arg1){ myFunctions[_arg2].splice(_local5, 1); return (true); }; _local5++; }; return (false); } } }//package
Section 47
//noise_wav (noise_wav) package { import flash.media.*; public dynamic class noise_wav extends Sound { } }//package
Section 48
//Rocket1_wav (Rocket1_wav) package { import flash.media.*; public dynamic class Rocket1_wav extends Sound { } }//package
Section 49
//Rocket2_wav (Rocket2_wav) package { import flash.media.*; public dynamic class Rocket2_wav extends Sound { } }//package
Section 50
//Rocket3_wav (Rocket3_wav) package { import flash.media.*; public dynamic class Rocket3_wav extends Sound { } }//package
Section 51
//Rocket4_wav (Rocket4_wav) package { import flash.media.*; public dynamic class Rocket4_wav extends Sound { } }//package
Section 52
//Schedule (Schedule) package { import flash.display.*; public class Schedule extends MovieClip { private var active:Boolean;// = true private var steps:Number;// = 0 private var speed:Number;// = 0 public var sub:Array; private var list:Array; public function Schedule(_arg1:Number=1){ list = new Array(); sub = new Array(); active = true; speed = 0; steps = 0; super(); reset(_arg1); } public function setSpeed(_arg1:Number=1):void{ _arg1 = Math.max(0, _arg1); speed = _arg1; } public function getList():Array{ return (list); } public function setList(_arg1:Array):void{ list = _arg1; } public function reset(_arg1:Number=1){ list = new Array(); sub = new Array(); steps = 0; pause(false); setSpeed(_arg1); } public function go(_arg1:Boolean=true):void{ var _local2:*; var _local3:*; if (((_arg1) && (active))){ steps = (steps + speed); while (steps >= 1) { steps--; for (_local2 in list) { if (list[_local2] != null){ list[_local2].advance(); }; }; for (_local3 in sub) { if (sub[_local3] != null){ sub[_local3].go(); }; }; }; }; } public function pause(_arg1=null):Boolean{ if (_arg1 == null){ active = !(active); } else { active = !(_arg1); }; return (active); } } }//package
Section 53
//ScrollingTerrain (ScrollingTerrain) package { import flash.display.*; public dynamic class ScrollingTerrain extends MovieClip { } }//package
Section 54
//Splash (Splash) package { import flash.display.*; public dynamic class Splash extends MovieClip { } }//package
Section 55
//Wind_wav (Wind_wav) package { import flash.media.*; public dynamic class Wind_wav extends Sound { } }//package

Library Items

Symbol 1 MovieClip {Advancer}
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip {ScrollingTerrain}Uses:2Used by:376
Symbol 4 FontUsed by:5 6 15 30 377
Symbol 5 TextUses:4Used by:Timeline
Symbol 6 EditableTextUses:4Used by:Timeline
Symbol 7 GraphicUsed by:17 159 335  Timeline
Symbol 8 GraphicUsed by:12
Symbol 9 FontUsed by:10 11
Symbol 10 TextUses:9Used by:12
Symbol 11 TextUses:9Used by:12
Symbol 12 MovieClipUses:8 10 11Used by:Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip {RocketBat_fla.leaderBoard_2}Uses:13Used by:Timeline
Symbol 15 EditableTextUses:4Used by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip {RocketBat_fla.ASFail_3}Uses:7 15 16Used by:Timeline
Symbol 18 GraphicUsed by:31 282 335
Symbol 19 GraphicUsed by:335
Symbol 20 FontUsed by:21 26 160 164 165 200 242 274 284 285 288 290 329 330 334
Symbol 21 TextUses:20Used by:335
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:335
Symbol 24 FontUsed by:25 329 334
Symbol 25 TextUses:24Used by:335
Symbol 26 TextUses:20Used by:335
Symbol 27 GraphicUsed by:28 320
Symbol 28 MovieClipUses:27Used by:29 320
Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}Uses:28Used by:282 335
Symbol 30 TextUses:4Used by:31
Symbol 31 MovieClip {RocketBat_fla.LoadingScreen_8}Uses:18 30Used by:335
Symbol 32 GraphicUsed by:35
Symbol 33 FontUsed by:34 321 325
Symbol 34 TextUses:33Used by:35
Symbol 35 MovieClip {RocketBat_fla.Pausescreen_9}Uses:32 34Used by:335
Symbol 36 GraphicUsed by:335
Symbol 37 FontUsed by:39
Symbol 38 FontUsed by:39
Symbol 39 TextUses:37 38Used by:40
Symbol 40 MovieClipUses:39Used by:335
Symbol 41 GraphicUsed by:335
Symbol 42 GraphicUsed by:159
Symbol 43 GraphicUsed by:159
Symbol 44 GraphicUsed by:159
Symbol 45 GraphicUsed by:159
Symbol 46 GraphicUsed by:159
Symbol 47 FontUsed by:48 51 55 60 63 65 71 75 81 83 85 94 98 104 109 115 118 121 126 129 131 138 140 145 147 152 154 268 273
Symbol 48 TextUses:47Used by:159
Symbol 49 GraphicUsed by:159
Symbol 50 GraphicUsed by:159
Symbol 51 TextUses:47Used by:159
Symbol 52 GraphicUsed by:159
Symbol 53 GraphicUsed by:159
Symbol 54 GraphicUsed by:159
Symbol 55 TextUses:47Used by:159
Symbol 56 GraphicUsed by:159
Symbol 57 GraphicUsed by:159
Symbol 58 GraphicUsed by:159
Symbol 59 GraphicUsed by:159
Symbol 60 TextUses:47Used by:159
Symbol 61 GraphicUsed by:159
Symbol 62 GraphicUsed by:159
Symbol 63 TextUses:47Used by:159
Symbol 64 GraphicUsed by:159
Symbol 65 TextUses:47Used by:159
Symbol 66 GraphicUsed by:159
Symbol 67 GraphicUsed by:159
Symbol 68 GraphicUsed by:159
Symbol 69 GraphicUsed by:159
Symbol 70 GraphicUsed by:159
Symbol 71 TextUses:47Used by:159
Symbol 72 GraphicUsed by:159
Symbol 73 GraphicUsed by:159
Symbol 74 GraphicUsed by:159
Symbol 75 TextUses:47Used by:159
Symbol 76 GraphicUsed by:159
Symbol 77 GraphicUsed by:159
Symbol 78 GraphicUsed by:159
Symbol 79 GraphicUsed by:159
Symbol 80 GraphicUsed by:159
Symbol 81 TextUses:47Used by:159
Symbol 82 GraphicUsed by:159
Symbol 83 TextUses:47Used by:159
Symbol 84 GraphicUsed by:159
Symbol 85 TextUses:47Used by:159
Symbol 86 GraphicUsed by:159
Symbol 87 GraphicUsed by:159
Symbol 88 GraphicUsed by:159
Symbol 89 GraphicUsed by:159
Symbol 90 GraphicUsed by:159
Symbol 91 GraphicUsed by:159
Symbol 92 GraphicUsed by:159
Symbol 93 GraphicUsed by:159
Symbol 94 TextUses:47Used by:159
Symbol 95 GraphicUsed by:159
Symbol 96 GraphicUsed by:159
Symbol 97 GraphicUsed by:159
Symbol 98 TextUses:47Used by:159
Symbol 99 GraphicUsed by:159
Symbol 100 GraphicUsed by:159
Symbol 101 GraphicUsed by:159
Symbol 102 GraphicUsed by:159
Symbol 103 GraphicUsed by:159
Symbol 104 TextUses:47Used by:159
Symbol 105 GraphicUsed by:159
Symbol 106 GraphicUsed by:159
Symbol 107 GraphicUsed by:159
Symbol 108 GraphicUsed by:159
Symbol 109 TextUses:47Used by:159
Symbol 110 GraphicUsed by:159
Symbol 111 GraphicUsed by:159
Symbol 112 GraphicUsed by:159
Symbol 113 GraphicUsed by:159
Symbol 114 GraphicUsed by:159
Symbol 115 TextUses:47Used by:159
Symbol 116 GraphicUsed by:159
Symbol 117 GraphicUsed by:159
Symbol 118 TextUses:47Used by:159
Symbol 119 GraphicUsed by:159
Symbol 120 GraphicUsed by:159
Symbol 121 TextUses:47Used by:159
Symbol 122 GraphicUsed by:159
Symbol 123 GraphicUsed by:159
Symbol 124 GraphicUsed by:159
Symbol 125 GraphicUsed by:159
Symbol 126 TextUses:47Used by:159
Symbol 127 GraphicUsed by:159
Symbol 128 GraphicUsed by:159
Symbol 129 TextUses:47Used by:159
Symbol 130 GraphicUsed by:159
Symbol 131 TextUses:47Used by:159
Symbol 132 GraphicUsed by:159
Symbol 133 GraphicUsed by:159
Symbol 134 GraphicUsed by:159
Symbol 135 GraphicUsed by:159
Symbol 136 GraphicUsed by:159
Symbol 137 GraphicUsed by:159
Symbol 138 TextUses:47Used by:159
Symbol 139 GraphicUsed by:159
Symbol 140 TextUses:47Used by:159
Symbol 141 GraphicUsed by:159
Symbol 142 GraphicUsed by:159
Symbol 143 GraphicUsed by:159
Symbol 144 GraphicUsed by:159
Symbol 145 TextUses:47Used by:159
Symbol 146 GraphicUsed by:159
Symbol 147 TextUses:47Used by:159
Symbol 148 GraphicUsed by:159
Symbol 149 GraphicUsed by:159
Symbol 150 GraphicUsed by:159
Symbol 151 GraphicUsed by:159
Symbol 152 TextUses:47Used by:159
Symbol 153 GraphicUsed by:159
Symbol 154 TextUses:47Used by:159
Symbol 155 GraphicUsed by:159
Symbol 156 GraphicUsed by:159
Symbol 157 FontUsed by:158
Symbol 158 TextUses:157Used by:159
Symbol 159 MovieClip {RocketBat_fla.RBTheater_11}Uses:7 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 158Used by:335
Symbol 160 TextUses:20Used by:282 335
Symbol 161 GraphicUsed by:335
Symbol 162 FontUsed by:163 166 192 193 194 198 201 236 237 238 239 240 241 243 244 245 246 247 248 275
Symbol 163 TextUses:162Used by:335
Symbol 164 TextUses:20Used by:282
Symbol 165 TextUses:20Used by:282
Symbol 166 TextUses:162Used by:282
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:282
Symbol 169 GraphicUsed by:282
Symbol 170 GraphicUsed by:282 306
Symbol 171 GraphicUsed by:282 306
Symbol 172 GraphicUsed by:282 306
Symbol 173 GraphicUsed by:282 306
Symbol 174 GraphicUsed by:282 306
Symbol 175 GraphicUsed by:282 306
Symbol 176 GraphicUsed by:282 306
Symbol 177 GraphicUsed by:282 306
Symbol 178 GraphicUsed by:282 306
Symbol 179 GraphicUsed by:282 306
Symbol 180 GraphicUsed by:282 306
Symbol 181 GraphicUsed by:282 306
Symbol 182 GraphicUsed by:282 306
Symbol 183 GraphicUsed by:282 306
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:184Used by:186 282
Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}Uses:185Used by:282 306
Symbol 187 FontUsed by:188 196
Symbol 188 TextUses:187Used by:282
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:191
Symbol 191 MovieClipUses:190Used by:282 304
Symbol 192 TextUses:162Used by:282
Symbol 193 TextUses:162Used by:282
Symbol 194 TextUses:162Used by:282
Symbol 195 GraphicUsed by:282
Symbol 196 TextUses:187Used by:282
Symbol 197 GraphicUsed by:282
Symbol 198 TextUses:162Used by:282
Symbol 199 GraphicUsed by:282
Symbol 200 TextUses:20Used by:282
Symbol 201 TextUses:162Used by:282
Symbol 202 GraphicUsed by:208
Symbol 203 GraphicUsed by:208
Symbol 204 GraphicUsed by:208
Symbol 205 GraphicUsed by:208
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:202 203 204 205 206 207Used by:235
Symbol 209 MovieClipUsed by:235 282 300 315 335
Symbol 210 GraphicUsed by:220
Symbol 211 GraphicUsed by:220
Symbol 212 GraphicUsed by:220
Symbol 213 GraphicUsed by:220
Symbol 214 GraphicUsed by:220
Symbol 215 GraphicUsed by:220
Symbol 216 GraphicUsed by:220
Symbol 217 GraphicUsed by:220
Symbol 218 GraphicUsed by:220
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:210 211 212 213 214 215 216 217 218 219Used by:234
Symbol 221 GraphicUsed by:227
Symbol 222 GraphicUsed by:227
Symbol 223 GraphicUsed by:227
Symbol 224 GraphicUsed by:227
Symbol 225 GraphicUsed by:227
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:221 222 223 224 225 226Used by:234
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:234
Symbol 230 GraphicUsed by:233
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClip {RocketBat_fla.Maki_25}Uses:231Used by:233
Symbol 233 MovieClip {RocketBat_fla.Cateyes_24}Uses:230 232Used by:234
Symbol 234 MovieClip {Cathead}Uses:220 227 229 233Used by:235 335
Symbol 235 MovieClip {Cat}Uses:208 209 234Used by:282 335 376
Symbol 236 TextUses:162Used by:282
Symbol 237 TextUses:162Used by:282
Symbol 238 TextUses:162Used by:282
Symbol 239 TextUses:162Used by:282
Symbol 240 TextUses:162Used by:282
Symbol 241 TextUses:162Used by:282
Symbol 242 TextUses:20Used by:282
Symbol 243 TextUses:162Used by:282
Symbol 244 TextUses:162Used by:282
Symbol 245 TextUses:162Used by:282
Symbol 246 TextUses:162Used by:282
Symbol 247 TextUses:162Used by:282
Symbol 248 TextUses:162Used by:282
Symbol 249 GraphicUsed by:282 315
Symbol 250 GraphicUsed by:282 315
Symbol 251 GraphicUsed by:282
Symbol 252 GraphicUsed by:282 313
Symbol 253 GraphicUsed by:282 313
Symbol 254 GraphicUsed by:282 313
Symbol 255 GraphicUsed by:282 313
Symbol 256 GraphicUsed by:282 313
Symbol 257 GraphicUsed by:282 313
Symbol 258 GraphicUsed by:282 313
Symbol 259 GraphicUsed by:282
Symbol 260 GraphicUsed by:282
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:267 282
Symbol 263 GraphicUsed by:282
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:267
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClip {RocketBat_fla.Buckyball_27}Uses:265 262 266Used by:282 335
Symbol 268 TextUses:47Used by:282
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:282 343
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:282 343
Symbol 273 TextUses:47Used by:282
Symbol 274 TextUses:20Used by:282
Symbol 275 TextUses:162Used by:282
Symbol 276 FontUsed by:277 278 279 280
Symbol 277 TextUses:276Used by:282
Symbol 278 TextUses:276Used by:282
Symbol 279 TextUses:276Used by:282
Symbol 280 TextUses:276Used by:282
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12}Uses:18 164 165 166 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 186 185 188 191 192 193 194 195 196 197 198 199 200 201 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 209 250 251 252 253 254 255 256 257 258 259 260 262 263 267 268 270 272 273 274 275 277 278 279 280 160 29 281Used by:335
Symbol 283 GraphicUsed by:335
Symbol 284 TextUses:20Used by:335
Symbol 285 TextUses:20Used by:335
Symbol 286 FontUsed by:287 331 332 333
Symbol 287 EditableTextUses:286Used by:335
Symbol 288 TextUses:20Used by:335
Symbol 289 GraphicUsed by:335
Symbol 290 TextUses:20Used by:335
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:300
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:299
Symbol 295 GraphicUsed by:299
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:299
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClipUses:294 295 297 298Used by:300
Symbol 300 MovieClip {RocketBat_fla.BG_29}Uses:292 209 299Used by:335
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:301Used by:303
Symbol 303 MovieClip {RocketBat_fla.Field_32}Uses:302Used by:335
Symbol 304 MovieClip {RocketBat_fla.Sweep_35}Uses:191Used by:312
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClip {RocketBat_fla.Battsprites_36}Uses:170 171 172 173 174 175 176 177 178 179 180 181 182 183 186 305Used by:312
Symbol 307 GraphicUsed by:311
Symbol 308 GraphicUsed by:311
Symbol 309 GraphicUsed by:311
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:307 308 309 310Used by:312
Symbol 312 MovieClip {RocketBat_fla.rocketbat_34}Uses:304 306 311Used by:335
Symbol 313 MovieClipUses:252 253 254 255 256 257 258Used by:314
Symbol 314 MovieClip {RocketBat_fla.Carol_38}Uses:313Used by:335
Symbol 315 MovieClip {RocketBat_fla.Sonar_40}Uses:249 209 250Used by:335
Symbol 316 GraphicUsed by:320
Symbol 317 GraphicUsed by:320
Symbol 318 GraphicUsed by:320
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClip {RocketBat_fla.Bar_41}Uses:27 28 316 317 318 319Used by:335
Symbol 321 TextUses:33Used by:335
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:335
Symbol 324 MovieClip {RocketBat_fla.particlestreams_43}Used by:335
Symbol 325 EditableTextUses:33Used by:326
Symbol 326 MovieClip {RocketBat_fla.Prompt_44}Uses:325Used by:335
Symbol 327 FontUsed by:328
Symbol 328 EditableTextUses:327Used by:335
Symbol 329 EditableTextUses:20 24Used by:335
Symbol 330 TextUses:20Used by:335
Symbol 331 EditableTextUses:286Used by:335
Symbol 332 EditableTextUses:286Used by:335
Symbol 333 EditableTextUses:286Used by:335
Symbol 334 EditableTextUses:20 24Used by:335
Symbol 335 MovieClip {RocketBat_fla.Game_4}Uses:18 19 21 23 25 26 29 31 35 36 40 41 159 160 161 163 282 283 284 285 287 288 289 234 290 300 303 312 314 315 320 321 323 324 267 326 328 209 7 329 330 331 332 333 235 334Used by:Timeline
Symbol 336 GraphicUsed by:376
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:343
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:343
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:343
Symbol 343 MovieClip {Splash}Uses:338 340 270 272 342Used by:376
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClipUses:344Used by:376
Symbol 346 GraphicUsed by:355
Symbol 347 GraphicUsed by:355
Symbol 348 GraphicUsed by:355
Symbol 349 GraphicUsed by:355
Symbol 350 GraphicUsed by:355
Symbol 351 GraphicUsed by:355
Symbol 352 GraphicUsed by:355
Symbol 353 GraphicUsed by:355
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClip {Fireball}Uses:346 347 348 349 350 351 352 353 354Used by:376
Symbol 356 GraphicUsed by:364
Symbol 357 GraphicUsed by:364
Symbol 358 GraphicUsed by:364
Symbol 359 GraphicUsed by:364
Symbol 360 GraphicUsed by:364
Symbol 361 GraphicUsed by:364
Symbol 362 GraphicUsed by:364
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClip {FireExplosion}Uses:356 357 358 359 360 361 362 363Used by:376
Symbol 365 Sound {MetalBat1_wav}Used by:376
Symbol 366 Sound {MetalBat2_wav}Used by:376
Symbol 367 Sound {MetalBat3_wav}Used by:376
Symbol 368 Sound {noise_wav}Used by:376
Symbol 369 Sound {Rocket1_wav}Used by:376
Symbol 370 Sound {Rocket2_wav}Used by:376
Symbol 371 Sound {Rocket3_wav}Used by:376
Symbol 372 Sound {Rocket4_wav}Used by:376
Symbol 373 Sound {Wind_wav}Used by:376
Symbol 374 Sound {BatWhir_wav}Used by:376
Symbol 375 Sound {fireRoar_wav}Used by:376
Symbol 376 MovieClip {RocketBat_fla.LoadGoat_45}Uses:336 343 235 345 355 3 364 365 366 367 368 369 370 371 372 373 374 375 SS1Used by:Timeline
Symbol 377 EditableTextUses:4Used by:378
Symbol 378 MovieClip {RocketBat_fla.fps_51}Uses:377Used by:Timeline
Streaming Sound 1Used by:Symbol 376 MovieClip {RocketBat_fla.LoadGoat_45}

Instance Names

"loadText"Frame 1Symbol 6 EditableText
"logo"Frame 1Symbol 12 MovieClip
"leaderBoard"Frame 1Symbol 14 MovieClip {RocketBat_fla.leaderBoard_2}
"game"Frame 3Symbol 335 MovieClip {RocketBat_fla.Game_4}
"glow"Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6} Frame 1Symbol 28 MovieClip
"flare"Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14} Frame 1Symbol 185 MovieClip
"eye"Symbol 233 MovieClip {RocketBat_fla.Cateyes_24} Frame 2Symbol 232 MovieClip {RocketBat_fla.Maki_25}
"head2"Symbol 234 MovieClip {Cathead} Frame 1Symbol 220 MovieClip
"head1"Symbol 234 MovieClip {Cathead} Frame 1Symbol 220 MovieClip
"ear2"Symbol 234 MovieClip {Cathead} Frame 1Symbol 227 MovieClip
"ear1"Symbol 234 MovieClip {Cathead} Frame 1Symbol 227 MovieClip
"mouth"Symbol 234 MovieClip {Cathead} Frame 1Symbol 229 MovieClip
"eye2"Symbol 234 MovieClip {Cathead} Frame 1Symbol 233 MovieClip {RocketBat_fla.Cateyes_24}
"eye1"Symbol 234 MovieClip {Cathead} Frame 1Symbol 233 MovieClip {RocketBat_fla.Cateyes_24}
"leg3"Symbol 235 MovieClip {Cat} Frame 1Symbol 208 MovieClip
"leg4"Symbol 235 MovieClip {Cat} Frame 1Symbol 208 MovieClip
"body"Symbol 235 MovieClip {Cat} Frame 1Symbol 209 MovieClip
"leg1"Symbol 235 MovieClip {Cat} Frame 1Symbol 208 MovieClip
"leg2"Symbol 235 MovieClip {Cat} Frame 1Symbol 208 MovieClip
"head"Symbol 235 MovieClip {Cat} Frame 1Symbol 234 MovieClip {Cathead}
"blur"Symbol 267 MovieClip {RocketBat_fla.Buckyball_27} Frame 1Symbol 265 MovieClip
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"w0"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w1"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w2"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w3"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w4"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w5"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w6"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"w7"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 191 MovieClip
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 2Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"cat5"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"cat3"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"cat1"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"cat2"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"cat4"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"cat6"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"cat7"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 3Symbol 235 MovieClip {Cat}
"ec"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 4Symbol 209 MovieClip
"ec"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 4Symbol 209 MovieClip
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 4Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 4Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"thiefCat"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 4Symbol 235 MovieClip {Cat}
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 4Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"b_Back"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"w0"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w1"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w2"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w3"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w4"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w5"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w6"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"w7"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 191 MovieClip
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"flare"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"sampleCat"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 235 MovieClip {Cat}
"buck"Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12} Frame 6Symbol 267 MovieClip {RocketBat_fla.Buckyball_27}
"sky"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 292 MovieClip
"STs"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 209 MovieClip
"C1"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 299 MovieClip
"T3"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 299 MovieClip
"T2"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 299 MovieClip
"T1"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 299 MovieClip
"W"Symbol 300 MovieClip {RocketBat_fla.BG_29} Frame 1Symbol 299 MovieClip
"water"Symbol 303 MovieClip {RocketBat_fla.Field_32} Frame 1Symbol 302 MovieClip
"w0"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w1"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w2"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w3"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w4"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w5"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w6"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"w7"Symbol 304 MovieClip {RocketBat_fla.Sweep_35} Frame 1Symbol 191 MovieClip
"flare"Symbol 306 MovieClip {RocketBat_fla.Battsprites_36} Frame 1Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"flare"Symbol 306 MovieClip {RocketBat_fla.Battsprites_36} Frame 10Symbol 186 MovieClip {RocketBat_fla.dynamicflare_14}
"sweep"Symbol 312 MovieClip {RocketBat_fla.rocketbat_34} Frame 1Symbol 304 MovieClip {RocketBat_fla.Sweep_35}
"sprite"Symbol 312 MovieClip {RocketBat_fla.rocketbat_34} Frame 1Symbol 306 MovieClip {RocketBat_fla.Battsprites_36}
"sweat1"Symbol 312 MovieClip {RocketBat_fla.rocketbat_34} Frame 1Symbol 311 MovieClip
"sweat2"Symbol 312 MovieClip {RocketBat_fla.rocketbat_34} Frame 1Symbol 311 MovieClip
"sprite"Symbol 314 MovieClip {RocketBat_fla.Carol_38} Frame 1Symbol 313 MovieClip
"ec"Symbol 315 MovieClip {RocketBat_fla.Sonar_40} Frame 1Symbol 209 MovieClip
"bar"Symbol 320 MovieClip {RocketBat_fla.Bar_41} Frame 1Symbol 28 MovieClip
"msg"Symbol 326 MovieClip {RocketBat_fla.Prompt_44} Frame 1Symbol 325 EditableText
"b_Start"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_HowToPlay"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_Options"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_Intro"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"loadScreen"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1Symbol 31 MovieClip {RocketBat_fla.LoadingScreen_8}
"pausescreen"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1Symbol 35 MovieClip {RocketBat_fla.Pausescreen_9}
"credits"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 2Symbol 40 MovieClip
"theater"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 2Symbol 159 MovieClip {RocketBat_fla.RBTheater_11}
"b_Back"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 2Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"infoScreens"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 3Symbol 282 MovieClip {RocketBat_fla.HowToPlay_12}
"b_How1"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 3Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_How2"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 3Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_How3"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 3Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_How4"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 3Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L1"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L2"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L3"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L5"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L4"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L0"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_L6"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"LvlDescription"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 287 EditableText
"b_viewHS"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"b_cH5"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_cH3"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_cH1"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_cH2"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_cH4"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_cH6"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_cH7"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 234 MovieClip {Cathead}
"b_Play"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"BG"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 300 MovieClip {RocketBat_fla.BG_29}
"field"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 303 MovieClip {RocketBat_fla.Field_32}
"player"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 312 MovieClip {RocketBat_fla.rocketbat_34}
"girl"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 314 MovieClip {RocketBat_fla.Carol_38}
"sonar"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 315 MovieClip {RocketBat_fla.Sonar_40}
"panic_bar"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 320 MovieClip {RocketBat_fla.Bar_41}
"rocket_bar"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 320 MovieClip {RocketBat_fla.Bar_41}
"goalArrow"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 323 MovieClip
"particles"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 324 MovieClip {RocketBat_fla.particlestreams_43}
"resc"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 267 MovieClip {RocketBat_fla.Buckyball_27}
"prompt"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 326 MovieClip {RocketBat_fla.Prompt_44}
"timerDisp"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 328 EditableText
"bloom"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6Symbol 209 MovieClip
"backText"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 329 EditableText
"b_Back"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"rawScore"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 331 EditableText
"weightedScore"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 332 EditableText
"scoreExplanation"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 333 EditableText
"awardCat"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 235 MovieClip {Cat}
"submitText"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 334 EditableText
"b_Submit"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7Symbol 29 MovieClip {RocketBat_fla.Glowbutton_6}
"num"Symbol 378 MovieClip {RocketBat_fla.fps_51} Frame 1Symbol 377 EditableText

Special Tags

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

Labels

"O"Symbol 233 MovieClip {RocketBat_fla.Cateyes_24} Frame 1
"@"Symbol 233 MovieClip {RocketBat_fla.Cateyes_24} Frame 2
"rocket"Symbol 235 MovieClip {Cat} Frame 5
"commander"Symbol 235 MovieClip {Cat} Frame 10
"guard"Symbol 235 MovieClip {Cat} Frame 15
"fire"Symbol 235 MovieClip {Cat} Frame 20
"long"Symbol 235 MovieClip {Cat} Frame 25
"sticky"Symbol 235 MovieClip {Cat} Frame 30
"speedy"Symbol 235 MovieClip {Cat} Frame 35
"panic"Symbol 320 MovieClip {RocketBat_fla.Bar_41} Frame 2
"rocket"Symbol 320 MovieClip {RocketBat_fla.Bar_41} Frame 3
"title"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 1
"intro"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 2
"howToPlay"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 3
"levelSelect"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 4
"freePlay"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 5
"game"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 6
"scores"Symbol 335 MovieClip {RocketBat_fla.Game_4} Frame 7
"cat"Symbol 345 MovieClip Frame 1




http://swfchan.com/28/135215/info.shtml
Created: 9/2 -2019 15:30:07 Last modified: 9/2 -2019 15:30:07 Server time: 05/11 -2024 10:55:25