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

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

Ghost-Hunter.swf

This is the info page for
Flash #64166

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


Text
EVERYTHING,
BY EVERYONE.

BLACKFANG
ISFUCKINAS

NEWGROUND
GIBBERISH SH

ahsieuLKAD
QPOsdfasd

Depredation
liaaaaaam

Blackfang
wurmy

deltaluca
newgrounds

luis luis
tom fulp

FUCKFUCKFUC
FUCKFUCKFUC

MAFKAIMWR
ITINGIBRISH

GHOST HUNTER

PLAY

HOW TO

MORE GAMES

Main Menu

Its simple! Simply use the mouse to move and click or
use space to shoot your spells! Dodge the ghosts and
kill them to restore peace to the graveyard!

Increases rate of
fire

Makes you invulnerable
for a short amount
of time

Makes you slow for a
short amount of time

Slows down the
enemy for a
short amount of
time

POWERUPS

Score : 0

POWERUP

3

2

1

GAME OVER

CONGRATULATIONS!

MAIN MENU

MAIN MENU

You scored

10002002

ActionScript [AS3]

Section 1
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function concatObjects(... _args):Object{ var _local2:Object; var _local3:Object; var _local4:int; var _local5:String; _local2 = {}; _local4 = 0; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function isInArray(_arg1:String, _arg2:Array):Boolean{ var _local3:uint; var _local4:uint; _local3 = _arg2.length; _local4 = 0; while (_local4 < _local3) { if (_arg2[_local4] == _arg1){ return (true); }; _local4++; }; return (false); } public static function getObjectLength(_arg1:Object):uint{ var _local2:uint; var _local3:String; _local2 = 0; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } } }//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN, _arg6:Number=NaN):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * (0.3 * 1.5)); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2)); }; --_arg1; return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN):Number{ if (!_arg5){ _arg5 = 1.70158; }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2)); }; _arg1 = (_arg1 - 2); _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN):Number{ if (!_arg5){ _arg5 = 1.70158; }; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN):Number{ if (!_arg5){ _arg5 = 1.70158; }; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN, _arg6:Number=NaN):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5, _arg6)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5, _arg6)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN, _arg6:Number=NaN):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * 0.3); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; --_arg1; return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=NaN, _arg6:Number=NaN):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; if (!_arg6){ _arg6 = (_arg4 * 0.3); }; if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){ _arg5 = _arg3; _local7 = (_arg6 / 4); } else { _local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5))); }; return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4)); } } }//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var modifierParameters:Array; public var valueComplete:Number; public var modifierFunction:Function; public var hasModifier:Boolean; public var valueStart:Number; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Function, _arg4:Array){ valueStart = _arg1; valueComplete = _arg2; hasModifier = Boolean(_arg3); modifierFunction = _arg3; modifierParameters = _arg4; } public function toString():String{ var _local1:String; _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj; _local1 = new PropertyInfoObj(valueStart, valueComplete, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 4
//SpecialPropertiesDefault (caurina.transitions.SpecialPropertiesDefault) package caurina.transitions { import flash.filters.*; import flash.media.*; import flash.geom.*; public class SpecialPropertiesDefault { public function SpecialPropertiesDefault(){ trace("SpecialProperties is a static class and should not be instantiated."); } public static function _sound_volume_get(_arg1:Object):Number{ return (_arg1.soundTransform.volume); } public static function _color_splitter(_arg1, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); if (_arg1 == null){ _local3.push({name:"_color_ra", value:1}); _local3.push({name:"_color_rb", value:0}); _local3.push({name:"_color_ga", value:1}); _local3.push({name:"_color_gb", value:0}); _local3.push({name:"_color_ba", value:1}); _local3.push({name:"_color_bb", value:0}); } else { _local3.push({name:"_color_ra", value:0}); _local3.push({name:"_color_rb", value:AuxFunctions.numberToR(_arg1)}); _local3.push({name:"_color_ga", value:0}); _local3.push({name:"_color_gb", value:AuxFunctions.numberToG(_arg1)}); _local3.push({name:"_color_ba", value:0}); _local3.push({name:"_color_bb", value:AuxFunctions.numberToB(_arg1)}); }; return (_local3); } public static function frame_get(_arg1:Object):Number{ return (_arg1.currentFrame); } public static function _sound_pan_get(_arg1:Object):Number{ return (_arg1.soundTransform.pan); } public static function _color_property_get(_arg1:Object, _arg2:Array):Number{ return (_arg1.transform.colorTransform[_arg2[0]]); } public static function _sound_volume_set(_arg1:Object, _arg2:Number):void{ var _local3:SoundTransform; _local3 = _arg1.soundTransform; _local3.volume = _arg2; _arg1.soundTransform = _local3; } public static function _autoAlpha_get(_arg1:Object):Number{ return (_arg1.alpha); } public static function _filter_splitter(_arg1:BitmapFilter, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); if ((_arg1 is BlurFilter)){ _local3.push({name:"_blur_blurX", value:BlurFilter(_arg1).blurX}); _local3.push({name:"_blur_blurY", value:BlurFilter(_arg1).blurY}); _local3.push({name:"_blur_quality", value:BlurFilter(_arg1).quality}); } else { trace("??"); }; return (_local3); } public static function init():void{ Tweener.registerSpecialProperty("_frame", frame_get, frame_set); Tweener.registerSpecialProperty("_sound_volume", _sound_volume_get, _sound_volume_set); Tweener.registerSpecialProperty("_sound_pan", _sound_pan_get, _sound_pan_set); Tweener.registerSpecialProperty("_color_ra", _color_property_get, _color_property_set, ["redMultiplier"]); Tweener.registerSpecialProperty("_color_rb", _color_property_get, _color_property_set, ["redOffset"]); Tweener.registerSpecialProperty("_color_ga", _color_property_get, _color_property_set, ["greenMultiplier"]); Tweener.registerSpecialProperty("_color_gb", _color_property_get, _color_property_set, ["greenOffset"]); Tweener.registerSpecialProperty("_color_ba", _color_property_get, _color_property_set, ["blueMultiplier"]); Tweener.registerSpecialProperty("_color_bb", _color_property_get, _color_property_set, ["blueOffset"]); Tweener.registerSpecialProperty("_color_aa", _color_property_get, _color_property_set, ["alphaMultiplier"]); Tweener.registerSpecialProperty("_color_ab", _color_property_get, _color_property_set, ["alphaOffset"]); Tweener.registerSpecialProperty("_autoAlpha", _autoAlpha_get, _autoAlpha_set); Tweener.registerSpecialPropertySplitter("_color", _color_splitter); Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter); Tweener.registerSpecialPropertySplitter("_scale", _scale_splitter); Tweener.registerSpecialProperty("_blur_blurX", _filter_property_get, _filter_property_set, [BlurFilter, "blurX"]); Tweener.registerSpecialProperty("_blur_blurY", _filter_property_get, _filter_property_set, [BlurFilter, "blurY"]); Tweener.registerSpecialProperty("_blur_quality", _filter_property_get, _filter_property_set, [BlurFilter, "quality"]); Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter); Tweener.registerSpecialPropertyModifier("_bezier", _bezier_modifier, _bezier_get); } public static function _sound_pan_set(_arg1:Object, _arg2:Number):void{ var _local3:SoundTransform; _local3 = _arg1.soundTransform; _local3.pan = _arg2; _arg1.soundTransform = _local3; } public static function _color_property_set(_arg1:Object, _arg2:Number, _arg3:Array):void{ var _local4:ColorTransform; _local4 = _arg1.transform.colorTransform; _local4[_arg3[0]] = _arg2; _arg1.transform.colorTransform = _local4; } public static function _filter_property_get(_arg1:Object, _arg2:Array):Number{ var _local3:Array; var _local4:uint; var _local5:Object; var _local6:String; var _local7:Object; _local3 = _arg1.filters; _local5 = _arg2[0]; _local6 = _arg2[1]; _local4 = 0; while (_local4 < _local3.length) { if ((((_local3[_local4] is BlurFilter)) && ((_local5 == BlurFilter)))){ return (_local3[_local4][_local6]); }; _local4++; }; switch (_local5){ case BlurFilter: _local7 = {blurX:0, blurY:0, quality:NaN}; break; }; return (_local7[_local6]); } public static function _bezier_get(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Array):Number{ var _local5:uint; var _local6:Number; var _local7:Number; var _local8:Number; if (_arg4.length == 1){ return ((_arg1 + (_arg3 * (((2 * (1 - _arg3)) * (_arg4[0] - _arg1)) + (_arg3 * (_arg2 - _arg1)))))); }; _local5 = Math.floor((_arg3 * _arg4.length)); _local6 = ((_arg3 - (_local5 * (1 / _arg4.length))) * _arg4.length); if (_local5 == 0){ _local7 = _arg1; _local8 = ((_arg4[0] + _arg4[1]) / 2); } else { if (_local5 == (_arg4.length - 1)){ _local7 = ((_arg4[(_local5 - 1)] + _arg4[_local5]) / 2); _local8 = _arg2; } else { _local7 = ((_arg4[(_local5 - 1)] + _arg4[_local5]) / 2); _local8 = ((_arg4[_local5] + _arg4[(_local5 + 1)]) / 2); }; }; return ((_local7 + (_local6 * (((2 * (1 - _local6)) * (_arg4[_local5] - _local7)) + (_local6 * (_local8 - _local7)))))); } public static function frame_set(_arg1:Object, _arg2:Number):void{ _arg1.gotoAndStop(Math.round(_arg2)); } public static function _filter_property_set(_arg1:Object, _arg2:Number, _arg3:Array):void{ var _local4:Array; var _local5:uint; var _local6:Object; var _local7:String; var _local8:BitmapFilter; _local4 = _arg1.filters; _local6 = _arg3[0]; _local7 = _arg3[1]; _local5 = 0; while (_local5 < _local4.length) { if ((((_local4[_local5] is BlurFilter)) && ((_local6 == BlurFilter)))){ _local4[_local5][_local7] = _arg2; _arg1.filters = _local4; return; }; _local5++; }; if (_local4 == null){ _local4 = new Array(); }; switch (_local6){ case BlurFilter: _local8 = new BlurFilter(0, 0); break; }; _local8[_local7] = _arg2; _local4.push(_local8); _arg1.filters = _local4; } public static function _autoAlpha_set(_arg1:Object, _arg2:Number):void{ _arg1.alpha = _arg2; _arg1.visible = (_arg2 > 0); } public static function _scale_splitter(_arg1:Number, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); _local3.push({name:"scaleX", value:_arg1}); _local3.push({name:"scaleY", value:_arg1}); return (_local3); } public static function _colorTransform_splitter(_arg1, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); if (_arg1 == null){ _local3.push({name:"_color_ra", value:1}); _local3.push({name:"_color_rb", value:0}); _local3.push({name:"_color_ga", value:1}); _local3.push({name:"_color_gb", value:0}); _local3.push({name:"_color_ba", value:1}); _local3.push({name:"_color_bb", value:0}); } else { if (_arg1.ra != undefined){ _local3.push({name:"_color_ra", value:_arg1.ra}); }; if (_arg1.rb != undefined){ _local3.push({name:"_color_rb", value:_arg1.rb}); }; if (_arg1.ga != undefined){ _local3.push({name:"_color_ba", value:_arg1.ba}); }; if (_arg1.gb != undefined){ _local3.push({name:"_color_bb", value:_arg1.bb}); }; if (_arg1.ba != undefined){ _local3.push({name:"_color_ga", value:_arg1.ga}); }; if (_arg1.bb != undefined){ _local3.push({name:"_color_gb", value:_arg1.gb}); }; if (_arg1.aa != undefined){ _local3.push({name:"_color_aa", value:_arg1.aa}); }; if (_arg1.ab != undefined){ _local3.push({name:"_color_ab", value:_arg1.ab}); }; }; return (_local3); } public static function _bezier_modifier(_arg1):Array{ var _local2:Array; var _local3:Array; var _local4:uint; var _local5:String; var _local6:Object; _local2 = []; if ((_arg1 is Array)){ _local3 = _arg1; } else { _local3 = [_arg1]; }; _local6 = {}; _local4 = 0; while (_local4 < _local3.length) { for (_local5 in _local3[_local4]) { if (_local6[_local5] == undefined){ _local6[_local5] = []; }; _local6[_local5].push(_local3[_local4][_local5]); }; _local4++; }; for (_local5 in _local6) { _local2.push({name:_local5, parameters:_local6[_local5]}); }; return (_local2); } } }//package caurina.transitions
Section 5
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var getValue:Function; public var setValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 8
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ var _local4:SpecialPropertyModifier; if (!_inited){ init(); }; _local4 = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null):void{ var _local5:SpecialProperty; if (!_inited){ init(); }; _local5 = new SpecialProperty(_arg2, _arg3, _arg4); _specialPropertyList[_arg1] = _local5; } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Object; var _local8:Number; var _local9:Number; var _local10:Function; var _local11:TweenListObj; var _local12:Number; var _local13:String; if ((((arguments.length < 2)) || ((arguments[0] == undefined)))){ return (false); }; _local4 = new Array(); if ((arguments[0] is Array)){ _local5 = 0; while (_local5 < arguments[0].length) { _local4.push(arguments[0][_local5]); _local5++; }; } else { _local5 = 0; while (_local5 < (arguments.length - 1)) { _local4.push(arguments[_local5]); _local5++; }; }; _local7 = arguments[(arguments.length - 1)]; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local8 = (isNaN(_local7.time)) ? 0 : _local7.time; _local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay; if (typeof(_local7.transition) == "string"){ _local13 = _local7.transition.toLowerCase(); _local10 = _transitionList[_local13]; } else { _local10 = _local7.transition; }; if (!Boolean(_local10)){ _local10 = _transitionList["easeoutexpo"]; }; _local5 = 0; while (_local5 < _local4.length) { _local11 = new TweenListObj(_local4[_local5], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), (_local7.useFrames == true), _local10); _local11.properties = null; _local11.onStart = _local7.onStart; _local11.onUpdate = _local7.onUpdate; _local11.onComplete = _local7.onComplete; _local11.onOverwrite = _local7.onOverwrite; _local11.onStartParams = _local7.onStartParams; _local11.onUpdateParams = _local7.onUpdateParams; _local11.onCompleteParams = _local7.onCompleteParams; _local11.onOverwriteParams = _local7.onOverwriteParams; _local11.isCaller = true; _local11.count = _local7.count; _local11.waitFrames = _local7.waitFrames; _tweenList.push(_local11); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local12 = (_tweenList.length - 1); updateTweenByIndex(_local12); removeTweenByIndex(_local12); }; _local5++; }; return (true); } public static function init(_arg1=null):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); SpecialPropertiesDefault.init(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function pauseAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local3:TweenListObj; var _local4:TweenListObj; var _local5:uint; var _local6:String; var _local7:Boolean; _local3 = _tweenList[_arg1]; _local4 = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; _local2.timeStart = (_local2.timeStart + (_currentTime - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_currentTime - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function debug_getList():String{ var _local1:String; var _local2:uint; var _local3:uint; _local1 = ""; _local2 = 0; while (_local2 < _tweenList.length) { _local1 = (_local1 + (("[" + _local2) + "] ::\n")); _local3 = 0; while (_local3 < _tweenList[_local2].properties.length) { _local1 = (_local1 + ((((" " + _tweenList[_local2].properties[_local3].name) + " -> ") + _tweenList[_local2].properties[_local3].valueComplete) + "\n")); _local3++; }; _local2++; }; return (_local1); } public static function getVersion():String{ return ("AS3 1.26.62"); } public static function onEnterFrame(_arg1:Event):void{ var _local2:Boolean; updateTime(); _local2 = false; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var isOver:Boolean; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var tScope:Object; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; isOver = false; if (_currentTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(_currentTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (_currentTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ try { tTweening.onStart.apply(tScope, tTweening.onStartParams); } catch(e:Error) { handleError(tTweening, e, "onStart"); }; }; for (pName in tTweening.properties) { pv = getPropertyValue(tScope, pName); tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (_currentTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (_currentTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; setPropertyValue(tScope, pName, nv); }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ try { tTweening.onUpdate.apply(tScope, tTweening.onUpdateParams); } catch(e:Error) { handleError(tTweening, e, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ try { tTweening.onComplete.apply(tScope, tTweening.onCompleteParams); } catch(e:Error) { handleError(tTweening, e, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _tweenList[_local2].timeStart = (_currentTime - (((_currentTime - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_currentTime - (((_currentTime - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_currentTime - (((_currentTime - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ try { pTweening.onError.apply(pTweening.scope, [pTweening.scope, pError]); } catch(metaError:Error) { trace("## [Tweener] Error:", pTweening.scope, "raised an error while executing the 'onError' handler. Original error:\n", pError.getStackTrace(), "\nonError error:", metaError.getStackTrace()); }; } else { if (!Boolean(pTweening.onError)){ trace("## [Tweener] Error: :", pTweening.scope, (("raised an error while executing the'" + pCallBackName) + "'handler. \n"), pError.getStackTrace()); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); updateTime(); } public static function removeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local4:Array; var _local5:Number; var _local6:Number; var _local7:String; var _local8:String; var _local9:Object; var _local10:Number; var _local11:Number; var _local12:Array; var _local13:Object; var _local14:Object; var _local15:Function; var _local16:Object; var _local17:TweenListObj; var _local18:Number; var _local19:Array; var _local20:Array; var _local21:String; if ((((arguments.length < 2)) || ((arguments[0] == undefined)))){ return (false); }; _local4 = new Array(); if ((arguments[0] is Array)){ _local5 = 0; while (_local5 < arguments[0].length) { _local4.push(arguments[0][_local5]); _local5++; }; } else { _local5 = 0; while (_local5 < (arguments.length - 1)) { _local4.push(arguments[_local5]); _local5++; }; }; _local9 = TweenListObj.makePropertiesChain(arguments[(arguments.length - 1)]); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local10 = (isNaN(_local9.time)) ? 0 : _local9.time; _local11 = (isNaN(_local9.delay)) ? 0 : _local9.delay; _local12 = new Array(); _local13 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true}; _local14 = new Object(); for (_local7 in _local9) { if (!_local13[_local7]){ if (_specialPropertySplitterList[_local7]){ _local19 = _specialPropertySplitterList[_local7].splitValues(_local9[_local7], _specialPropertySplitterList[_local7].parameters); _local5 = 0; while (_local5 < _local19.length) { _local12[_local19[_local5].name] = {valueStart:undefined, valueComplete:_local19[_local5].value}; _local5++; }; } else { if (_specialPropertyModifierList[_local7] != undefined){ _local20 = _specialPropertyModifierList[_local7].modifyValues(_local9[_local7]); _local5 = 0; while (_local5 < _local20.length) { _local14[_local20[_local5].name] = {modifierParameters:_local20[_local5].parameters, modifierFunction:_specialPropertyModifierList[_local7].getValue}; _local5++; }; } else { _local12[_local7] = {valueStart:undefined, valueComplete:_local9[_local7]}; }; }; }; }; for (_local7 in _local14) { if (_local12[_local7] != undefined){ _local12[_local7].modifierParameters = _local14[_local7].modifierParameters; _local12[_local7].modifierFunction = _local14[_local7].modifierFunction; }; }; if (typeof(_local9.transition) == "string"){ _local21 = _local9.transition.toLowerCase(); _local15 = _transitionList[_local21]; } else { _local15 = _local9.transition; }; if (!Boolean(_local15)){ _local15 = _transitionList["easeoutexpo"]; }; _local5 = 0; while (_local5 < _local4.length) { _local16 = new Object(); for (_local7 in _local12) { _local16[_local7] = new PropertyInfoObj(_local12[_local7].valueStart, _local12[_local7].valueComplete, _local12[_local7].modifierFunction, _local12[_local7].modifierParameters); }; _local17 = new TweenListObj(_local4[_local5], (_currentTime + ((_local11 * 1000) / _timeScale)), (_currentTime + (((_local11 * 1000) + (_local10 * 1000)) / _timeScale)), (_local9.useFrames == true), _local15); _local17.properties = _local16; _local17.onStart = _local9.onStart; _local17.onUpdate = _local9.onUpdate; _local17.onComplete = _local9.onComplete; _local17.onOverwrite = _local9.onOverwrite; _local17.onError = _local9.onError; _local17.onStartParams = _local9.onStartParams; _local17.onUpdateParams = _local9.onUpdateParams; _local17.onCompleteParams = _local9.onCompleteParams; _local17.onOverwriteParams = _local9.onOverwriteParams; _local17.rounded = _local9.rounded; _local17.skipUpdates = _local9.skipUpdates; removeTweensByTime(_local17.scope, _local17.properties, _local17.timeStart, _local17.timeComplete); _tweenList.push(_local17); if ((((_local10 == 0)) && ((_local11 == 0)))){ _local18 = (_tweenList.length - 1); updateTweenByIndex(_local18); removeTweenByIndex(_local18); }; _local5++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local4:Boolean; var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; _local4 = false; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; var _local4:Array; if (!Boolean(_tweenList)){ return ([]); }; _local4 = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (_tweenList[_local2].scope == _arg1){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } private static function setPropertyValue(_arg1:Object, _arg2:String, _arg3:Number):void{ if (_specialPropertyList[_arg2] != undefined){ if (Boolean(_specialPropertyList[_arg2].parameters)){ _specialPropertyList[_arg2].setValue(_arg1, _arg3, _specialPropertyList[_arg2].parameters); } else { _specialPropertyList[_arg2].setValue(_arg1, _arg3); }; } else { _arg1[_arg2] = _arg3; }; } private static function getPropertyValue(_arg1:Object, _arg2:String):Number{ if (_specialPropertyList[_arg2] != undefined){ if (Boolean(_specialPropertyList[_arg2].parameters)){ return (_specialPropertyList[_arg2].getValue(_arg1, _specialPropertyList[_arg2].parameters)); }; return (_specialPropertyList[_arg2].getValue(_arg1)); } else { }; return (!NULL!); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (_tweenList[_local2].scope == _arg1){ return (true); }; _local2++; }; return (false); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; var _local3:Number; if (!Boolean(_tweenList)){ return (0); }; _local3 = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (_tweenList[_local2].scope == _arg1){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = _currentTime; _local2.isPaused = true; return (true); } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removed:Boolean; var removedLocally:Boolean; var i:uint; var tl:uint; var pName:String; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; removed = false; tl = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ try { _tweenList[i].onOverwrite.apply(_tweenList[i].scope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ var _local4:SpecialPropertySplitter; if (!_inited){ init(); }; _local4 = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 9
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var onUpdate:Function; public var useFrames:Boolean; public var hasStarted:Boolean; public var onOverwriteParams:Array; public var timeStart:Number; public var count:Number; public var auxProperties:Object; public var timeComplete:Number; public var onStartParams:Array; public var rounded:Boolean; public var properties:Object; public var onUpdateParams:Array; public var onComplete:Function; public var updatesSkipped:Number; public var onStart:Function; public var skipUpdates:Number; public var scope:Object; public var isCaller:Boolean; public var timePaused:Number; public var transition:Function; public var onCompleteParams:Array; public var onError:Function; public var timesCalled:Number; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; auxProperties = new Object(); properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local2:TweenListObj; var _local3:String; _local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local1:String; var _local2:uint; _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); _local2 = 0; while (_local2 < properties.length) { if (_local2 > 0){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local2].name)); _local1 = (_local1 + (",valueStart:" + properties[_local2].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local2].valueComplete)); _local1 = (_local1 + "]"); _local2++; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local2:Object; var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; _local2 = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 10
//Action_4 (GhostHuntMenu_fla.Action_4) package GhostHuntMenu_fla { import flash.events.*; import flash.filters.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Action_4 extends MovieClip { public function Action_4(){ addFrameScript(0, frame1); } public function onComplete(_arg1:Event):void{ MovieClip(parent).gotoAndPlay("loaded"); } public function progressHandler(_arg1:ProgressEvent):void{ var _local2:int; _local2 = Math.round(((_arg1.target.bytesLoaded / _arg1.target.bytesTotal) * 100)); MovieClip(parent).gotoAndStop(_local2); } function frame1(){ MovieClip(root).stop(); if (root.loaderInfo.bytesLoaded == root.loaderInfo.bytesTotal){ MovieClip(parent).gotoAndPlay("loaded"); }; root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); root.loaderInfo.addEventListener(Event.COMPLETE, onComplete); } } }//package GhostHuntMenu_fla
Section 11
//bg_37 (GhostHuntMenu_fla.bg_37) package GhostHuntMenu_fla { import flash.display.*; public dynamic class bg_37 extends MovieClip { public var bg:MovieClip; } }//package GhostHuntMenu_fla
Section 12
//bosshealthbar_53 (GhostHuntMenu_fla.bosshealthbar_53) package GhostHuntMenu_fla { import flash.display.*; public dynamic class bosshealthbar_53 extends MovieClip { public var bar:MovieClip; } }//package GhostHuntMenu_fla
Section 13
//fadeout_64 (GhostHuntMenu_fla.fadeout_64) package GhostHuntMenu_fla { import flash.events.*; import flash.filters.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class fadeout_64 extends MovieClip { public function fadeout_64(){ addFrameScript(0, frame1, 29, frame30); } function frame1(){ stop(); } function frame30(){ MovieClip(root).gotoAndPlay(10); MovieClip(root).player.x = (MovieClip(root).player.y = -500); MovieClip(root).sc1.stop(); MovieClip(root).bossSC.stop(); } } }//package GhostHuntMenu_fla
Section 14
//fadeout_win_65 (GhostHuntMenu_fla.fadeout_win_65) package GhostHuntMenu_fla { import flash.display.*; public dynamic class fadeout_win_65 extends MovieClip { public function fadeout_win_65(){ addFrameScript(0, frame1, 29, frame30); } function frame1(){ stop(); } function frame30(){ MovieClip(root).gotoAndPlay("win"); } } }//package GhostHuntMenu_fla
Section 15
//fg2_44 (GhostHuntMenu_fla.fg2_44) package GhostHuntMenu_fla { import flash.display.*; public dynamic class fg2_44 extends MovieClip { public var fg2:MovieClip; } }//package GhostHuntMenu_fla
Section 16
//gameover_62 (GhostHuntMenu_fla.gameover_62) package GhostHuntMenu_fla { import flash.events.*; import flash.filters.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class gameover_62 extends MovieClip { public function gameover_62(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); MovieClip(root).fadeout.play(); } function frame1(){ stop(); } } }//package GhostHuntMenu_fla
Section 17
//loadED_5 (GhostHuntMenu_fla.loadED_5) package GhostHuntMenu_fla { import flash.display.*; public dynamic class loadED_5 extends MovieClip { public function loadED_5(){ addFrameScript(39, frame40); } function frame40(){ stop(); } } }//package GhostHuntMenu_fla
Section 18
//MainTimeline (GhostHuntMenu_fla.MainTimeline) package GhostHuntMenu_fla { import flash.events.*; import caurina.transitions.*; import flash.filters.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var mainbtn:SimpleButton; public var bosshealth:MovieClip; public var invuntime:Number; public var menumusic:MM; public var fire:Number; public var bg:MovieClip; public var pos:MovieClip; public var plyrtime:Number; public var Hurt:hurt; public var bs:bosssong; public var scoretxtbox:TextField; public var t:Timer; public var enemytime:Number; public var bossSC:SoundChannel; public var score:Number; public var cHealth:Number; public var scrm:scream; public var playbtn:SimpleButton; public var GDie:gdie; public var gFilter:GlowFilter; public var fg:MovieClip; public var FB:fb; public var time:Timer; public var player:MovieClip; public var lives:Number; public var enemyspd:Number; public var stxt:TextField; public var hitb:MovieClip; public var sky:MovieClip; public var reloadTimer:Number; public var Song:song; public var total:Number; public var shwpwp:MovieClip; public var fadeout:MovieClip; public var btn_more:SimpleButton; public var goto:String; public var pertime:Timer; public var boss:MovieClip; public var plyrspd:Number; public var fadeoutwin:MovieClip; public var fg2:MovieClip; public var current:Number; public var ratetime:Number; public var howtobtn:SimpleButton; public var gameover:MovieClip; public var lives_mc:MovieClip; public var enemyarray:Array; public var sc1:SoundChannel; public var mmsc:SoundChannel; public var inv:Boolean; public var tHealth:Number; public var Shoot:shoot_snd; public function MainTimeline(){ addFrameScript(0, frame1, 9, frame10, 19, frame20, 28, frame29, 38, frame39, 47, frame48, 54, frame55, 105, frame106, 124, frame125, 134, frame135, 143, frame144); } public function moveSparkle(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); _local2.x = (_local2.x + ((Math.random() * 4) - 2)); _local2.y = (_local2.y + ((Math.random() * 4) - 2)); _local2.alpha = (_local2.alpha - (_local2.aminus / 2)); if (_local2.alpha <= 0){ _local2.removeEventListener(Event.ENTER_FRAME, moveSparkle); removeChild(_local2); }; } public function powerup_enemspd():void{ enemytime = 10; show_powerup("FREEZE THEM"); } public function shoot(_arg1):void{ var _local2:bullet; if (fire <= 0){ Shoot.play(); player.gotoAndStop(2); fire = reloadTimer; _local2 = new bullet(); _local2.rotation = (Math.random() * 360); _local2.scaleX = (_local2.scaleY = ((Math.random() * 1) + 0.2)); _local2.x = ((player.x + (player.width / 2)) - 17); _local2.y = (player.y - 3); _local2.rotation = (player.rotation + 90); _local2.spd = 10; _local2.addEventListener(Event.ENTER_FRAME, bullet_move, false, 0, true); addChild(_local2); }; } public function powerup(_arg1):void{ var _local2:Number; _local2 = Math.round((Math.random() * 3)); spawn_powerup(_local2); } function frame1(){ stop(); NewgroundsAPI.linkAPI(this); NewgroundsAPI.connectMovie(3887); } function frame10(){ menumusic = new MM(); mmsc = menumusic.play(); } public function moreGames(_arg1):void{ NewgroundsAPI.loadNewgrounds(); } public function spawn_1(_arg1):void{ var _local2:enemy_1; _local2 = new enemy_1(); enemyarray.push(_local2); _local2.x = (stage.stageWidth + _local2.width); _local2.gotoAndStop(Math.round((Math.random() * 4))); _local2.rotation = (-(Math.random()) * 20); _local2.y = ((Math.random() * (stage.stageHeight - 150)) + 75); _local2.oy = _local2.y; _local2.spd = ((Math.random() * 1) + 3); _local2.v = 0; _local2.addEventListener(Event.ENTER_FRAME, enemy_1_move, false, 0, true); addChild(_local2); setChildIndex(_local2, getChildIndex(fg2)); } function frame20(){ stop(); playbtn.addEventListener(MouseEvent.MOUSE_DOWN, playGame, false, 0, true); howtobtn.addEventListener(MouseEvent.MOUSE_DOWN, howTo, false, 0, true); btn_more.addEventListener(MouseEvent.MOUSE_DOWN, moreGames, false, 0, true); } function frame29(){ if (goto == "howto"){ play(); }; if (goto == "game"){ gotoAndPlay("game"); }; } public function percentage(_arg1):void{ var _local2:Number; current++; _local2 = ((current / total) * 100); pos.witch.x = current; if (current >= total){ trace("morethan"); spawnBoss(); t.stop(); pertime.stop(); }; } public function createSparkle(_arg1:Number, _arg2:Number):void{ var _local3:sparkle; _local3 = new sparkle(); _local3.aminus = (Math.random() * 0.3); _local3.x = _arg1; _local3.y = _arg2; _local3.scaleY = (_local3.scaleX = (Math.random() * 1)); _local3.alpha = ((Math.random() * 0.5) + 0.1); _local3.addEventListener(Event.ENTER_FRAME, moveSparkle, false, 0, true); addChild(_local3); } public function powerup_plyrspd():void{ plyrtime = 10; show_powerup("SLOWED"); } function frame39(){ stop(); mainbtn.addEventListener(MouseEvent.MOUSE_DOWN, gotoMain, false, 0, true); } function frame48(){ gotoAndPlay(11); } public function update(_arg1):void{ var _local2:Number; var _local3:Number; _local2 = (mouseX - player.x); _local3 = (mouseY - player.y); player.x = (player.x + (_local2 / plyrspd)); player.y = (player.y + (_local3 / plyrspd)); player.rotation = ((_local2 / plyrspd) + (_local3 / (plyrspd * 10))); fire--; ratetime = (ratetime - 0.1); invuntime = (invuntime - 0.1); enemytime = (enemytime - 0.1); plyrtime = (plyrtime - 0.1); hitb.rotation = player.rotation; hitb.x = (player.x - 30); hitb.y = player.y; if (ratetime > 0){ reloadTimer = 2; } else { reloadTimer = 7; }; if (invuntime > 0){ trace("INVUNERABLE"); player.filters = [gFilter]; inv = true; } else { inv = false; player.filters = []; }; if (enemytime > 0){ enemyspd = 2; } else { enemyspd = 0; }; if (plyrtime > 0){ plyrspd = 30; } else { plyrspd = 5; }; } public function boss_shoot():void{ var _local1:boss_bullet; FB.play(); _local1 = new boss_bullet(); _local1.x = boss.x; _local1.y = boss.y; _local1.dx = (player.x - _local1.x); _local1.dy = (player.y - _local1.y); _local1.rotation = (((Math.atan2(_local1.dy, _local1.dx) * 360) / (2 * Math.PI)) + 90); _local1.spd = ((Math.random() * 3) + 7); _local1.addEventListener(Event.ENTER_FRAME, boss_bullet_move, false, 0, true); addChild(_local1); setChildIndex(_local1, getChildIndex(boss)); } public function howTo(_arg1):void{ play(); goto = "howto"; } public function bullet_move(_arg1:Event):void{ var _local2:MovieClip; var _local3:uint; _local2 = MovieClip(_arg1.target); _local2.y = (_local2.y - (_local2.spd * Math.cos(((Math.PI / 180) * _local2.rotation)))); _local2.x = (_local2.x + (_local2.spd * Math.sin(((Math.PI / 180) * _local2.rotation)))); createSparkle(_local2.x, _local2.y); if (_local2.x > (stage.stageWidth + _local2.width)){ _local2.removeEventListener(Event.ENTER_FRAME, bullet_move); removeChild(_local2); }; _local3 = 0; while (_local3 < enemyarray.length) { if (_local2.hitTestObject(enemyarray[_local3])){ GDie.play(); updateScore(15); explode(_local2.x, _local2.y); _local2.removeEventListener(Event.ENTER_FRAME, bullet_move); removeChild(_local2); enemyarray[_local3].removeEventListener(Event.ENTER_FRAME, enemy_1_move); removeChild(enemyarray[_local3]); enemyarray[_local3].x = -100; enemyarray[_local3].y = -100; }; if (boss.hitTestPoint(_local2.x, _local2.y, true)){ update_boss_health(-1); _local2.removeEventListener(Event.ENTER_FRAME, bullet_move); removeChild(_local2); }; _local3++; }; } function frame55(){ mmsc.stop(); fg.stop(); fg2.stop(); bg.stop(); bosshealth.alpha = 0; player.stop(); lives_mc.stop(); hitb.visible = false; Song = new song(); sc1 = Song.play(); } public function explode(_arg1:Number, _arg2:Number):void{ var _local3:uint; var _local4:FireworkParticle; _local3 = 0; while (_local3 < 20) { _local4 = new FireworkParticle(); _local4.x = _arg1; _local4.y = _arg2; _local4.scaleX = (_local4.scaleY = ((Math.random() * 1) + 0.1)); _local4.ct = new ColorTransform(0, 0, 0, 1, (Math.random() * 0xFF), (Math.random() * 0xFF), (Math.random() * 0xFF)); _local4.transform.colorTransform = _local4.ct; _local4.speed = ((Math.random() * 5) + 5); _local4.alpha = ((Math.random() * 1) + 0.7); _local4.rotation = (Math.random() * 360); _local4.addEventListener(Event.ENTER_FRAME, moveParticle, false, 0, true); addChild(_local4); _local3++; }; } public function update_boss_health(_arg1:Number):void{ trace(("NNNNNNNNNNNNNNNNn = " + _arg1), ("CHEALTH = " + cHealth)); cHealth = (cHealth + _arg1); bosshealth.bar.scaleX = (cHealth / 100); if (bosshealth.bar.scaleX <= 0){ kill_boss(); }; } public function game_over():void{ bossSC.stop(); gameover.play(); removeEventListener(Event.ENTER_FRAME, update); stage.removeEventListener(MouseEvent.MOUSE_DOWN, shoot); boss.removeEventListener(Event.ENTER_FRAME, boss_move); t.stop(); pertime.stop(); time.stop(); } public function boss_bullet_move(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); if (_local2.rotation > 180){ _local2.y = (_local2.y + (_local2.spd * Math.cos(((Math.PI / 180) * _local2.rotation)))); _local2.x = (_local2.x - (_local2.spd * Math.sin(((Math.PI / 180) * _local2.rotation)))); } else { _local2.y = (_local2.y - (_local2.spd * Math.cos(((Math.PI / 180) * _local2.rotation)))); _local2.x = (_local2.x + (_local2.spd * Math.sin(((Math.PI / 180) * _local2.rotation)))); }; if (hitb.hitTestPoint(_local2.x, _local2.y, true)){ explode(_local2.x, _local2.y); if (!inv){ updateLives(-1); }; _local2.removeEventListener(Event.ENTER_FRAME, boss_bullet_move); removeChild(_local2); }; } public function show_powerup(_arg1:String):void{ shwpwp.txt.txt.text = _arg1; shwpwp.play(); } public function updateScore(_arg1:Number):void{ score = (score + _arg1); trace(score); stxt.text = ("Score : " + score); } public function playGame(_arg1):void{ play(); goto = "game"; } public function powerup_rate():void{ ratetime = 15; show_powerup("FIRE RATE"); } function frame106(){ stop(); fg.play(); fg2.play(); bg.play(); fire = 0; reloadTimer = 7; player.stop(); lives_mc.gotoAndStop(1); ratetime = 0; invuntime = 0; enemytime = 0; plyrtime = 0; enemyspd = 0; plyrspd = 7; lives = 6; inv = false; gFilter = new GlowFilter(0xFFFFFF, 1, 5, 5, 5); Shoot = new shoot_snd(); Hurt = new hurt(); GDie = new gdie(); FB = new fb(); setChildIndex(player, getChildIndex(fg2)); addEventListener(Event.ENTER_FRAME, update, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_DOWN, shoot, false, 0, true); enemyarray = new Array(); t = new Timer(600, 0); t.addEventListener(TimerEvent.TIMER, spawn_1, false, 0, true); t.start(); score = 0; updateScore(0); total = 342.4; current = 0; pertime = new Timer(270, 0); pertime.addEventListener(TimerEvent.TIMER, percentage, false, 0, true); pertime.start(); time = new Timer(7000, 0); time.addEventListener(TimerEvent.TIMER, powerup, false, 0, true); time.start(); scrm = new scream(); bosshealth.alpha = 0; bs = new bosssong(); bossSC = new SoundChannel(); tHealth = 100; cHealth = 100; } public function boss_move(_arg1:Event):void{ var _local2:MovieClip; if (player.x > 280){ player.x = 280; }; _local2 = MovieClip(_arg1.target); _local2.y = ((stage.stageHeight / 2) + (Math.sin(_local2.v) * 20)); _local2.v = (_local2.v + 0.1); _local2.timer = (_local2.timer - 0.5); _local2.dx = (player.x - _local2.x); _local2.dy = (player.y - _local2.y); _local2.rotation = (((Math.atan2(_local2.dy, _local2.dx) * 360) / (2 * Math.PI)) - 160); if (_local2.timer <= 0){ _local2.timer = ((Math.random() * 5) + 12); boss_shoot(); }; } public function moveParticle(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); _local2.alpha = (_local2.alpha - 0.05); if (_local2.rotation > 180){ _local2.y = (_local2.y + (_local2.speed * Math.cos(((Math.PI / 180) * _local2.rotation)))); _local2.x = (_local2.x - (_local2.speed * Math.sin(((Math.PI / 180) * _local2.rotation)))); } else { _local2.y = (_local2.y - (_local2.speed * Math.cos(((Math.PI / 180) * _local2.rotation)))); _local2.x = (_local2.x + (_local2.speed * Math.sin(((Math.PI / 180) * _local2.rotation)))); }; if (_local2.alpha < 0){ _local2.removeEventListener(Event.ENTER_FRAME, moveParticle); removeChild(_local2); }; } public function spawnBoss():void{ sc1.stop(); bossSC = bs.play(); trace(bossSC); scrm.play(); Tweener.addTween(boss, {x:459, time:3}); Tweener.addTween(bosshealth, {alpha:1, time:3}); boss.v = 0; boss.timer = 10; boss.addEventListener(Event.ENTER_FRAME, boss_move, false, 0, true); } function frame125(){ scoretxtbox.text = String(score); } public function powerup_invun():void{ invuntime = 15; show_powerup("INVINCIBLE"); } public function spawn_powerup(_arg1:Number):void{ var _local2:powerup_mc; _local2 = new powerup_mc(); _local2.x = (stage.stageWidth + _local2.width); _local2.y = ((Math.random() * (stage.stageHeight - 150)) + 75); _local2.rotation = (Math.random() * 360); _local2.scaleX = (_local2.scaleY = ((Math.random() * 0.5) + 0.5)); _local2.spd = ((Math.random() * 1) + 3); _local2.gotoAndStop((_arg1 + 1)); _local2.typ = _arg1; _local2.addEventListener(Event.ENTER_FRAME, move_powerup, false, 0, true); addChild(_local2); } public function kill_boss():void{ bossSC.stop(); scrm.play(); Tweener.addTween(boss, {y:(boss.height + stage.stageHeight), time:6}); removeEventListener(Event.ENTER_FRAME, update); stage.removeEventListener(MouseEvent.MOUSE_DOWN, shoot); boss.removeEventListener(Event.ENTER_FRAME, boss_move); t.stop(); pertime.stop(); time.stop(); fadeoutwin.play(); } public function enemy_1_move(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); _local2.x = (_local2.x - (_local2.spd - enemyspd)); _local2.y = (_local2.oy + (Math.sin(_local2.v) * 20)); _local2.v = (_local2.v + 0.1); if (_local2.x < (0 - _local2.width)){ _local2.removeEventListener(Event.ENTER_FRAME, enemy_1_move); removeChild(_local2); updateScore(5); } else { if (_local2.hitTestObject(hitb)){ GDie.play(); explode(_local2.x, _local2.y); _local2.removeEventListener(Event.ENTER_FRAME, enemy_1_move); _local2.x = (_local2.y = -100); removeChild(_local2); if (!inv){ updateScore(-10); updateLives(-1); } else { updateScore(10); }; }; }; } public function gotoMain(_arg1):void{ play(); } public function updateLives(_arg1:Number):void{ Hurt.play(); lives = (lives + _arg1); trace(lives); lives_mc.nextFrame(); if (lives <= 0){ game_over(); }; } function frame135(){ stop(); mainbtn.addEventListener(MouseEvent.MOUSE_DOWN, gotoMain, false, 0, true); } function frame144(){ gotoAndPlay(10); } public function move_powerup(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); _local2.x = (_local2.x - _local2.spd); if (hitb.hitTestObject(_local2)){ if (_local2.typ == 0){ powerup_invun(); } else { if (_local2.typ == 1){ powerup_rate(); } else { if (_local2.typ == 2){ powerup_enemspd(); } else { if (_local2.typ == 3){ powerup_plyrspd(); }; }; }; }; _local2.removeEventListener(Event.ENTER_FRAME, move_powerup); removeChild(_local2); }; } } }//package GhostHuntMenu_fla
Section 19
//NG_AD_OBJECT_WITH_PRELOADER_1 (GhostHuntMenu_fla.NG_AD_OBJECT_WITH_PRELOADER_1) package GhostHuntMenu_fla { import flash.events.*; import flash.filters.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class NG_AD_OBJECT_WITH_PRELOADER_1 extends MovieClip { public var ng_ad:MovieClip; public var NG_Button:SimpleButton; public function NG_AD_OBJECT_WITH_PRELOADER_1(){ addFrameScript(0, frame1); } public function loadNGSite(_arg1:Event){ NewgroundsAPI.loadNewgrounds(); } public function startAd(_arg1){ var _local2:URLLoader; _local2 = new URLLoader(new URLRequest(_arg1)); _local2.addEventListener(Event.COMPLETE, ad_Loaded); } function frame1(){ Security.allowDomain("70.87.128.99"); Security.allowInsecureDomain("70.87.128.99"); Security.allowDomain("ads.shizmoo.com"); Security.allowInsecureDomain("ads.shizmoo.com"); Security.allowDomain("www.cpmstar.com"); Security.allowInsecureDomain("www.cpmstar.com"); Security.allowDomain("server.cpmstar.com"); Security.allowInsecureDomain("server.cpmstar.com"); if (NewgroundsAPI.getAdURL()){ startAd(NewgroundsAPI.getAdURL()); }; NewgroundsAPI.addEventListener(NewgroundsAPI.ADS_APPROVED, startAd); NG_Button.addEventListener(MouseEvent.CLICK, loadNGSite); stop(); } public function ad_Loaded(_arg1:Event){ var _local2:*; var _local3:Loader; _local2 = String(_arg1.target.data); _local3 = new Loader(); _local3.load(new URLRequest(_local2)); ng_ad.addChild(_local3); } } }//package GhostHuntMenu_fla
Section 20
//NG_TANK_9 (GhostHuntMenu_fla.NG_TANK_9) package GhostHuntMenu_fla { import flash.events.*; import flash.display.*; public dynamic class NG_TANK_9 extends MovieClip { public var NG_Logo:SimpleButton; public function NG_TANK_9(){ addFrameScript(0, frame1); } public function loadNGSite(_arg1:Event){ NewgroundsAPI.loadNewgrounds(); } function frame1(){ NG_Logo.addEventListener(MouseEvent.CLICK, loadNGSite); } } }//package GhostHuntMenu_fla
Section 21
//powerup_notice_57 (GhostHuntMenu_fla.powerup_notice_57) package GhostHuntMenu_fla { import flash.display.*; public dynamic class powerup_notice_57 extends MovieClip { public var txt:MovieClip; public function powerup_notice_57(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package GhostHuntMenu_fla
Section 22
//progress_49 (GhostHuntMenu_fla.progress_49) package GhostHuntMenu_fla { import flash.display.*; public dynamic class progress_49 extends MovieClip { public var witch:MovieClip; } }//package GhostHuntMenu_fla
Section 23
//txt_58 (GhostHuntMenu_fla.txt_58) package GhostHuntMenu_fla { import flash.display.*; import flash.text.*; public dynamic class txt_58 extends MovieClip { public var txt:TextField; } }//package GhostHuntMenu_fla
Section 24
//witchusingspell_47 (GhostHuntMenu_fla.witchusingspell_47) package GhostHuntMenu_fla { import flash.display.*; public dynamic class witchusingspell_47 extends MovieClip { public function witchusingspell_47(){ addFrameScript(15, frame16); } function frame16(){ MovieClip(this.parent).gotoAndStop(1); } } }//package GhostHuntMenu_fla
Section 25
//X_LOAD_2 (GhostHuntMenu_fla.X_LOAD_2) package GhostHuntMenu_fla { import flash.events.*; import flash.display.*; public dynamic class X_LOAD_2 extends MovieClip { public var NGButton:SimpleButton; public function X_LOAD_2(){ addFrameScript(100, frame101, 150, frame151, 164, frame165); } function frame151(){ NGButton.addEventListener(MouseEvent.CLICK, PlayMovie); } function frame165(){ stop(); } public function PlayMovie(_arg1:Event){ gotoAndStop("end"); MovieClip(root).play(); } function frame101(){ play(); } } }//package GhostHuntMenu_fla
Section 26
//boss_bullet (boss_bullet) package { import flash.display.*; public dynamic class boss_bullet extends MovieClip { } }//package
Section 27
//bosssong (bosssong) package { import flash.media.*; public dynamic class bosssong extends Sound { } }//package
Section 28
//bullet (bullet) package { import flash.display.*; public dynamic class bullet extends MovieClip { } }//package
Section 29
//enemy_1 (enemy_1) package { import flash.display.*; public dynamic class enemy_1 extends MovieClip { } }//package
Section 30
//fb (fb) package { import flash.media.*; public dynamic class fb extends Sound { } }//package
Section 31
//FireworkParticle (FireworkParticle) package { import flash.display.*; public dynamic class FireworkParticle extends MovieClip { } }//package
Section 32
//gdie (gdie) package { import flash.media.*; public dynamic class gdie extends Sound { } }//package
Section 33
//hurt (hurt) package { import flash.media.*; public dynamic class hurt extends Sound { } }//package
Section 34
//MM (MM) package { import flash.media.*; public dynamic class MM extends Sound { } }//package
Section 35
//NewgroundsAPI (NewgroundsAPI) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public class NewgroundsAPI { public static const ADS_APPROVED:Number = 3; public static const bridge:Sprite = new Sprite(); private static const STAT_NEW_VERSION:Number = 4; private static const STAT_AUTHOR_SITE:Number = 2; private static const GATEWAY_URL:String = "http://www.ngads.com/gateway.php"; private static const NEWGROUNDS_URL:String = "http://www.newgrounds.com"; private static const STAT_CUSTOM_STATS:Number = 50; private static const STAT_MOVIE_VIEWS:Number = 1; private static const STAT_NEWGROUNDS:Number = 3; public static const NEW_VERSION:Number = 2; public static const DENY_HOST:Number = 1; private static var tracker_id:Number; private static var movie_options:Object = new Object(); private static var connected:Boolean; private static var custom_events:Object = new Object(); private static var host:String; private static var linked:Boolean; private static var events:Object = new Object(); private static var debug:Boolean; private static var version:String; private static var custom_links:Object = new Object(); public static function getNewVersionURL(){ return (((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + STAT_NEW_VERSION)); } private static function ReadGatewayData(_arg1:Object){ var _local2:*; var _local3:String; var _local4:*; var _local5:URLLoader; for (_local2 in _arg1) { _arg1[_local2] = unescape(_arg1[_local2]); movie_options[_local2] = _arg1[_local2]; }; if (_arg1["settings_loaded"]){ SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage((("Movie Identified as '" + movie_options["movie_name"]) + "'")); if (movie_options["message"]){ SendMessage(movie_options["message"]); }; if (movie_options["ad_url"]){ SendMessage("Your movie has been approved to run Flash Ads"); if (events[ADS_APPROVED]){ var _local6 = events; _local6[ADS_APPROVED](movie_options["ad_url"]); } else { onAdsApproved(movie_options["ad_url"]); }; }; if (((movie_options["movie_version"]) && (!((String(movie_options["movie_version"]) == String(version)))))){ SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); if (events[NEW_VERSION]){ _local6 = events; _local6[NEW_VERSION]({version:movie_options["movie_version"], real_url:getMovieURL(), redirect_url:getNewVersionURL()}); } else { onNewVersionAvailable(movie_options["movie_version"], getMovieURL(), getNewVersionURL()); }; }; if (movie_options["deny_host"]){ SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); if (events[DENY_HOST]){ _local6 = events; _local6[DENY_HOST]({host:host, real_url:getMovieURL(), redirect_url:getNewVersionURL()}); } else { onDenyHost(host, getMovieURL(), getNewVersionURL()); }; }; if (movie_options["request_portal_url"]){ _local3 = bridge.root.loaderInfo.url; _local4 = ((((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_local3)); _local5 = new URLLoader(new URLRequest(_local4)); }; if (events[69]){ _local6 = events; _local6[69](); }; } else { if (!movie_options["settings_loaded"]){ SendError("Could not establish connection to the API gateway."); }; }; } public static function setMovieVersion(_arg1){ if (!_arg1){ SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = String(_arg1); }; } public static function loadCustomLink(_arg1:String){ if (!_arg1){ SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else { if (!custom_links[_arg1]){ SendError(("Attempted to open undefined custom link: " + _arg1)); } else { SendLink(custom_links[_arg1]); }; }; } public static function addCustomLink(_arg1:Number, _arg2:String){ if (!_arg1){ SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { if (!_arg2){ SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[_arg2] = (STAT_CUSTOM_STATS + _arg1); SendMessage(((("Created custom link " + _arg1) + ": ") + _arg2)); }; }; } public static function getMovieURL(){ if (movie_options["movie_url"]){ return (movie_options["movie_url"]); }; return ("Newgrounds.com"); } public static function debugMode(){ debug = true; } public static function getAdURL(){ return (movie_options["ad_url"]); } private static function SendStat(_arg1:Number, _arg2:Boolean, _arg3=null){ var target_url:*; var XML_Loaded:Function; var x:*; var request:URLRequest; var gateway_loader:URLLoader; var stat_id = _arg1; var open_in_browser = _arg2; var extra = _arg3; if (!tracker_id){ SendError("You must call NewgroundsAPI.connectMovie() with a valid movie id before using API features!"); } else { XML_Loaded = function (_arg1:Event){ var _local2:XML; var _local3:Object; var _local4:XMLList; var _local5:XML; var _local6:*; var _local7:*; XML.ignoreWhitespace = true; _local2 = XML(_arg1.target.data); _local3 = new Object(); _local4 = _local2.children(); for each (_local5 in _local4) { _local6 = _local5.localName(); _local7 = _local5.attribute("value"); if (_local7 == Number(_local7)){ _local7 = Number(_local7); }; _local3[_local6] = _local7; }; ReadGatewayData(_local3); }; target_url = (((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id) + addSeed()); if (extra){ for (x in extra) { target_url = (target_url + ((("&" + escape(x)) + "=") + escape(extra[x]))); }; }; if (debug){ target_url = (target_url + "&debug=1"); }; if (open_in_browser){ request = new URLRequest((target_url + addSeed())); navigateToURL(request, "_blank"); } else { gateway_loader = new URLLoader(new URLRequest((target_url + addSeed()))); gateway_loader.addEventListener(Event.COMPLETE, XML_Loaded); }; }; } public static function onAdsApproved(_arg1:String){ } public static function loadMySite(_arg1:Event=null){ SendLink(STAT_AUTHOR_SITE); } private static function SendMessage(_arg1:String){ trace(("[NEWGROUNDS API] :: " + _arg1)); } public static function linkAPI(_arg1){ _arg1.addChild(bridge); linked = true; } public static function loadNewgrounds(_arg1:Event=null, _arg2:String=null){ var _local3:URLRequest; var _local4:*; if (!tracker_id){ _local3 = new URLRequest(((NEWGROUNDS_URL + "/") + _arg2)); navigateToURL(_local3, "_blank"); } else { _local4 = null; if (_arg2){ _local4 = new Object(); _local4.page = _arg2; }; SendLink(STAT_NEWGROUNDS, _local4); }; } private static function SendLink(_arg1, _arg2=null){ SendStat(_arg1, true, _arg2); } public static function logCustomEvent(_arg1:String){ if (!_arg1){ SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else { if (!custom_events[_arg1]){ SendError(("Attempted to log undefined custom event: " + _arg1)); } else { SendEvent(custom_events[_arg1]); }; }; } private static function SendError(_arg1:String){ trace(("[NEWGROUNDS API ERROR] :: " + _arg1)); } public static function addCustomEvent(_arg1:Number, _arg2:String){ if (!_arg1){ SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { if (!_arg2){ SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[_arg2] = (STAT_CUSTOM_STATS + _arg1); SendMessage(("Created custom event: " + _arg2)); }; }; } private static function addSeed(){ return (("&seed=" + Math.random())); } public static function addEventListener(_arg1:Number, _arg2:Function){ events[_arg1] = _arg2; } private static function SendEvent(_arg1){ SendStat(_arg1, false); } public static function onNewVersionAvailable(_arg1:String, _arg2:String, _arg3:String){ var sw:*; var sh:*; var tw:*; var th:*; var mg:*; var _root:*; var overlay:MovieClip; var overlay_x:*; var overlay_y:*; var close_x:*; var blankarea:TextField; var header:TextField; var header_format:TextFormat; var msgtext:TextField; var msgtext_format:TextFormat; var msgtext_link:TextFormat; var version = _arg1; var movie_url = _arg2; var redirect_url = _arg3; sw = bridge.stage.stageWidth; sh = bridge.stage.stageHeight; tw = 350; th = 160; mg = 20; _root = bridge.root; overlay = new MovieClip(); overlay.graphics.beginFill(0, 0.6); overlay.graphics.lineStyle(0, 0); overlay.graphics.drawRect(0, 0, sw, sh); overlay.graphics.endFill(); overlay_x = Math.round(((sw - tw) / 2)); overlay_y = Math.round(((sh - th) / 2)); overlay.graphics.beginFill(102); overlay.graphics.lineStyle(10, 0); overlay.graphics.drawRect((overlay_x - mg), (overlay_y - mg), (tw + mg), (th + mg)); overlay.graphics.endFill(); overlay.close = function (_arg1:Event){ _root.removeChild(overlay); }; close_x = new MovieClip(); close_x.graphics.beginFill(0, 0.1); close_x.graphics.lineStyle(3, 22015); close_x.graphics.drawRect(0, 0, 16, 16); close_x.graphics.endFill(); close_x.graphics.moveTo(4, 4); close_x.graphics.lineTo(13, 13); close_x.graphics.moveTo(13, 4); close_x.graphics.lineTo(4, 13); close_x.x = ((overlay_x + tw) - 26); close_x.y = (overlay_y - 10); close_x.addEventListener(MouseEvent.CLICK, overlay.close); blankarea = new TextField(); blankarea.x = (overlay_x - mg); blankarea.y = (overlay_y - mg); blankarea.width = (tw + mg); blankarea.height = (th + mg); blankarea.selectable = false; header = new TextField(); header.width = tw; header.x = overlay_x; header.y = overlay_y; header.height = 100; header.selectable = false; header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.color = 0xFFFFFF; header_format.size = 20; header.defaultTextFormat = header_format; header.text = "New Version Available!"; msgtext = new TextField(); msgtext.x = overlay_x; msgtext.y = (overlay_y + 70); msgtext.width = tw; msgtext.height = 60; msgtext.selectable = false; msgtext_format = new TextFormat(); msgtext_format.font = "Arial"; msgtext_format.color = 0xFFFFFF; msgtext_format.size = 12; msgtext_format.bold = true; msgtext_link = new TextFormat(); msgtext_link.font = "Arial"; msgtext_link.color = 0xFFFF00; msgtext_link.size = 12; msgtext_link.bold = true; msgtext_link.url = redirect_url; msgtext_link.target = "_blank"; if (version){ version = ("Version " + version); } else { version = "A new version"; }; msgtext.defaultTextFormat = msgtext_format; msgtext.appendText((version + " is now available")); if (movie_url){ msgtext.appendText(" at:\n"); msgtext.defaultTextFormat = msgtext_link; msgtext.appendText(movie_url); } else { msgtext.appendText("!"); }; _root.addChild(overlay); overlay.addChild(blankarea); overlay.addChild(header); overlay.addChild(msgtext); overlay.addChild(close_x); } public static function onDenyHost(_arg1:String, _arg2:String, _arg3:String){ var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:MovieClip; var _local10:TextField; var _local11:TextField; var _local12:TextFormat; var _local13:TextField; var _local14:TextFormat; var _local15:TextFormat; _local4 = bridge.stage.stageWidth; _local5 = bridge.stage.stageHeight; _local6 = 350; _local7 = 160; _local8 = bridge.root; _local9 = new MovieClip(); _local9.graphics.beginFill(0x660000); _local9.graphics.lineStyle(20, 0); _local9.graphics.drawRect(0, 0, _local4, _local5); _local9.graphics.endFill(); _local10 = new TextField(); _local10.x = 0; _local10.y = 0; _local10.width = _local4; _local10.height = _local5; _local10.selectable = false; _local11 = new TextField(); _local11.x = Math.round(((_local4 - _local6) / 2)); _local11.y = Math.round(((_local5 - _local7) / 2.5)); _local11.width = _local6; _local11.height = 100; _local11.selectable = false; _local12 = new TextFormat(); _local12.font = "Arial Black"; _local12.color = 0xFF0000; _local12.size = 38; _local11.defaultTextFormat = _local12; _local11.text = "ERROR!"; _local13 = new TextField(); _local13.x = Math.round(((_local4 - _local6) / 2)); _local13.y = (Math.round(((_local5 - _local7) / 2.5)) + 80); _local13.width = _local6; _local13.height = 80; _local13.selectable = false; _local14 = new TextFormat(); _local14.font = "Arial"; _local14.color = 0xFFFFFF; _local14.size = 12; _local14.bold = true; _local15 = new TextFormat(); _local15.font = "Arial"; _local15.color = 0xFFFF00; _local15.size = 12; _local15.bold = true; _local15.url = _arg3; _local15.target = "_blank"; _local13.defaultTextFormat = _local14; _local13.appendText((("This movie has not been approved for use on " + _arg1) + "\n")); _local13.appendText("For an approved copy, please visit:\n"); _local13.defaultTextFormat = _local15; _local13.appendText(_arg2); _local8.addChild(_local9); _local9.addChild(_local10); _local9.addChild(_local11); _local9.addChild(_local13); } public static function connectMovie(_arg1:Number){ var _local2:String; var _local3:*; if (!_arg1){ SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else { if (!linked){ SendError("Attempted to call MewgroundsAPI.connectMovie() without first calling NewgroundsAPI.linkAPI(this)"); } else { if (!tracker_id){ SendMessage("Connecting to API gateway..."); tracker_id = _arg1; _local2 = bridge.root.loaderInfo.url; host = _local2.split("/")[2].toLowerCase(); if (host.length < 1){ host = "localhost"; }; _local3 = new Object(); SendEvent(STAT_MOVIE_VIEWS); }; }; }; } public static function isInstalled(){ return (true); } } }//package
Section 36
//powerup_mc (powerup_mc) package { import flash.display.*; public dynamic class powerup_mc extends MovieClip { } }//package
Section 37
//scream (scream) package { import flash.media.*; public dynamic class scream extends Sound { } }//package
Section 38
//shoot_snd (shoot_snd) package { import flash.media.*; public dynamic class shoot_snd extends Sound { } }//package
Section 39
//song (song) package { import flash.media.*; public dynamic class song extends Sound { } }//package
Section 40
//sparkle (sparkle) package { import flash.display.*; public dynamic class sparkle extends MovieClip { } }//package

Library Items

Symbol 1 Sound {hurt}
Symbol 2 Sound {shoot_snd}
Symbol 3 Sound {scream}
Symbol 4 Sound {gdie}
Symbol 5 Sound {fb}
Symbol 6 Sound {MM}
Symbol 7 Sound {song}
Symbol 8 Sound {bosssong}
Symbol 9 GraphicUsed by:14
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:14
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClipUses:9 11 13Used by:15
Symbol 15 MovieClip {boss_bullet}Uses:14
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip {FireworkParticle}Uses:16
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:26
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:26
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:26
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClip {enemy_1}Uses:19 21 23 25
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip {sparkle}Uses:27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip {bullet}Uses:29
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:35 38 41
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClipUses:32 34Used by:44  Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:32 37Used by:44  Timeline
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClipUses:32 40Used by:44  Timeline
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:44  Timeline
Symbol 44 MovieClip {powerup_mc}Uses:35 38 41 43
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:45 46Used by:76
Symbol 48 GraphicUsed by:76
Symbol 49 GraphicUsed by:76
Symbol 50 GraphicUsed by:76
Symbol 51 MovieClip {GhostHuntMenu_fla.Action_4}Used by:76
Symbol 52 GraphicUsed by:76
Symbol 53 GraphicUsed by:61
Symbol 54 GraphicUsed by:61
Symbol 55 GraphicUsed by:61
Symbol 56 GraphicUsed by:61
Symbol 57 GraphicUsed by:61
Symbol 58 GraphicUsed by:61
Symbol 59 GraphicUsed by:61
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip {GhostHuntMenu_fla.loadED_5}Uses:53 54 55 56 57 58 59 60Used by:76
Symbol 62 ShapeTweeningUsed by:76
Symbol 63 ShapeTweeningUsed by:76
Symbol 64 GraphicUsed by:76
Symbol 65 GraphicUsed by:76
Symbol 66 GraphicUsed by:76
Symbol 67 GraphicUsed by:75 76
Symbol 68 GraphicUsed by:75 76
Symbol 69 GraphicUsed by:75 76
Symbol 70 GraphicUsed by:75 76
Symbol 71 GraphicUsed by:75 76
Symbol 72 GraphicUsed by:74 75
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:72 73Used by:75 76
Symbol 75 ButtonUses:67 68 69 70 71 74 72Used by:76
Symbol 76 MovieClip {GhostHuntMenu_fla.X_LOAD_2}Uses:47 48 49 50 51 52 61 62 63 64 65 66 67 68 69 70 75 71 74Used by:91
Symbol 77 GraphicUsed by:91
Symbol 78 FontUsed by:79
Symbol 79 TextUses:78Used by:83
Symbol 80 GraphicUsed by:83
Symbol 81 GraphicUsed by:83
Symbol 82 GraphicUsed by:83
Symbol 83 ButtonUses:79 80 81 82Used by:91
Symbol 84 GraphicUsed by:91
Symbol 85 GraphicUsed by:91
Symbol 86 GraphicUsed by:90 263 265  Timeline
Symbol 87 GraphicUsed by:89
Symbol 88 GraphicUsed by:89
Symbol 89 ButtonUses:87 88Used by:90
Symbol 90 MovieClip {GhostHuntMenu_fla.NG_TANK_9}Uses:86 89Used by:91
Symbol 91 MovieClip {GhostHuntMenu_fla.NG_AD_OBJECT_WITH_PRELOADER_1}Uses:76 77 83 84 85 90Used by:Timeline
Symbol 92 ShapeTweeningUsed by:Timeline
Symbol 93 GraphicUsed by:96
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:96
Symbol 96 MovieClipUses:93 95Used by:Timeline
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:Timeline
Symbol 103 GraphicUsed by:110
Symbol 104 BitmapUsed by:105 232
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:110
Symbol 107 GraphicUsed by:108 276
Symbol 108 MovieClipUses:107Used by:110
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:103 106 108 109Used by:112
Symbol 111 GraphicUsed by:112 279
Symbol 112 MovieClipUses:110 111Used by:199 204 207  Timeline
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:Timeline
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:Timeline
Symbol 117 FontUsed by:118 119 120 121 122 123 124 125 126
Symbol 118 TextUses:117Used by:283  Timeline
Symbol 119 TextUses:117Used by:283  Timeline
Symbol 120 TextUses:117Used by:283  Timeline
Symbol 121 TextUses:117Used by:283  Timeline
Symbol 122 TextUses:117Used by:283  Timeline
Symbol 123 TextUses:117Used by:283  Timeline
Symbol 124 TextUses:117Used by:283  Timeline
Symbol 125 TextUses:117Used by:283  Timeline
Symbol 126 TextUses:117Used by:283  Timeline
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:129
Symbol 129 MovieClipUses:128Used by:Timeline
Symbol 130 FontUsed by:131 186 187 188 189 190 191
Symbol 131 TextUses:130Used by:Timeline
Symbol 132 GraphicUsed by:171
Symbol 133 GraphicUsed by:171
Symbol 134 GraphicUsed by:171
Symbol 135 GraphicUsed by:171
Symbol 136 GraphicUsed by:171
Symbol 137 GraphicUsed by:171
Symbol 138 GraphicUsed by:171
Symbol 139 GraphicUsed by:171
Symbol 140 GraphicUsed by:171
Symbol 141 GraphicUsed by:171
Symbol 142 GraphicUsed by:171
Symbol 143 GraphicUsed by:171
Symbol 144 GraphicUsed by:171
Symbol 145 GraphicUsed by:171
Symbol 146 GraphicUsed by:171
Symbol 147 GraphicUsed by:171
Symbol 148 GraphicUsed by:171
Symbol 149 GraphicUsed by:171
Symbol 150 GraphicUsed by:171
Symbol 151 GraphicUsed by:171
Symbol 152 GraphicUsed by:171
Symbol 153 GraphicUsed by:171
Symbol 154 GraphicUsed by:171
Symbol 155 GraphicUsed by:171
Symbol 156 GraphicUsed by:171
Symbol 157 GraphicUsed by:171
Symbol 158 GraphicUsed by:171
Symbol 159 GraphicUsed by:171
Symbol 160 GraphicUsed by:171
Symbol 161 GraphicUsed by:171
Symbol 162 GraphicUsed by:171
Symbol 163 GraphicUsed by:171
Symbol 164 GraphicUsed by:171
Symbol 165 GraphicUsed by:171
Symbol 166 GraphicUsed by:171
Symbol 167 GraphicUsed by:171
Symbol 168 GraphicUsed by:171
Symbol 169 GraphicUsed by:171
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses: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 157 158 159 160 161 162 163 164 165 166 167 168 169 170Used by:Timeline
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:Timeline
Symbol 174 GraphicUsed by:283  Timeline
Symbol 175 FontUsed by:176 178 180 184 282
Symbol 176 TextUses:175Used by:177
Symbol 177 ButtonUses:176Used by:Timeline
Symbol 178 TextUses:175Used by:179
Symbol 179 ButtonUses:178Used by:Timeline
Symbol 180 TextUses:175Used by:181
Symbol 181 ButtonUses:180Used by:Timeline
Symbol 182 ShapeTweeningUsed by:Timeline
Symbol 183 ShapeTweeningUsed by:Timeline
Symbol 184 TextUses:175Used by:185
Symbol 185 ButtonUses:184Used by:Timeline
Symbol 186 TextUses:130Used by:Timeline
Symbol 187 TextUses:130Used by:Timeline
Symbol 188 TextUses:130Used by:Timeline
Symbol 189 TextUses:130Used by:Timeline
Symbol 190 TextUses:130Used by:Timeline
Symbol 191 TextUses:130Used by:Timeline
Symbol 192 ShapeTweeningUsed by:Timeline
Symbol 193 ShapeTweeningUsed by:Timeline
Symbol 194 GraphicUsed by:199
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:199
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:194 196 198 112Used by:200
Symbol 200 MovieClip {GhostHuntMenu_fla.bg_37}Uses:199Used by:Timeline
Symbol 201 GraphicUsed by:204
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:202Used by:204
Symbol 204 MovieClipUses:201 203 112Used by:205
Symbol 205 MovieClipUses:204Used by:Timeline
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:206 112Used by:208
Symbol 208 MovieClip {GhostHuntMenu_fla.fg2_44}Uses:207Used by:Timeline
Symbol 209 GraphicUsed by:226
Symbol 210 GraphicUsed by:225
Symbol 211 GraphicUsed by:225
Symbol 212 GraphicUsed by:225
Symbol 213 GraphicUsed by:225
Symbol 214 GraphicUsed by:225
Symbol 215 GraphicUsed by:225
Symbol 216 GraphicUsed by:225
Symbol 217 GraphicUsed by:225
Symbol 218 GraphicUsed by:225
Symbol 219 GraphicUsed by:225
Symbol 220 GraphicUsed by:225
Symbol 221 GraphicUsed by:225
Symbol 222 GraphicUsed by:225
Symbol 223 GraphicUsed by:225
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClip {GhostHuntMenu_fla.witchusingspell_47}Uses:210 211 212 213 214 215 216 217 218 219 220 221 222 223 224Used by:226
Symbol 226 MovieClipUses:209 225Used by:230  Timeline
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:Timeline
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClip {GhostHuntMenu_fla.progress_49}Uses:229 226Used by:Timeline
Symbol 231 GraphicUsed by:236
Symbol 232 GraphicUses:104Used by:236
Symbol 233 GraphicUsed by:236
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:236
Symbol 236 MovieClipUses:231 232 233 235Used by:237
Symbol 237 MovieClipUses:236Used by:Timeline
Symbol 238 FontUsed by:239 248 252 255 257 259 284 285 287 288
Symbol 239 EditableTextUses:238Used by:Timeline
Symbol 240 GraphicUsed by:245
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241Used by:245
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:245
Symbol 245 MovieClip {GhostHuntMenu_fla.bosshealthbar_53}Uses:240 242 244Used by:Timeline
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:246Used by:Timeline
Symbol 248 EditableTextUses:238Used by:249
Symbol 249 MovieClip {GhostHuntMenu_fla.txt_58}Uses:248Used by:250
Symbol 250 MovieClip {GhostHuntMenu_fla.powerup_notice_57}Uses:249Used by:Timeline
Symbol 251 ShapeTweeningUsed by:Timeline
Symbol 252 TextUses:238Used by:253
Symbol 253 MovieClipUses:252Used by:Timeline
Symbol 254 GraphicUsed by:Timeline
Symbol 255 TextUses:238Used by:256
Symbol 256 MovieClipUses:255Used by:Timeline
Symbol 257 TextUses:238Used by:258
Symbol 258 MovieClipUses:257Used by:Timeline
Symbol 259 TextUses:238Used by:260
Symbol 260 MovieClipUses:259Used by:261
Symbol 261 MovieClip {GhostHuntMenu_fla.gameover_62}Uses:260Used by:Timeline
Symbol 262 ShapeTweeningUsed by:263
Symbol 263 MovieClip {GhostHuntMenu_fla.fadeout_64}Uses:262 86Used by:Timeline
Symbol 264 ShapeTweeningUsed by:265
Symbol 265 MovieClip {GhostHuntMenu_fla.fadeout_win_65}Uses:264 86Used by:Timeline
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:283
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268Used by:283
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:283
Symbol 272 GraphicUsed by:278
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:275
Symbol 275 MovieClipUses:274Used by:278
Symbol 276 MovieClipUses:107Used by:278
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:272 275 276 277Used by:279
Symbol 279 MovieClipUses:278 111Used by:283
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClipUses:280Used by:283
Symbol 282 TextUses:175Used by:283
Symbol 283 MovieClipUses:174 267 269 271 279 281 118 119 120 121 122 123 124 125 126 282Used by:Timeline
Symbol 284 TextUses:238Used by:286
Symbol 285 TextUses:238Used by:286
Symbol 286 ButtonUses:284 285Used by:Timeline
Symbol 287 TextUses:238Used by:Timeline
Symbol 288 EditableTextUses:238Used by:Timeline
Symbol 289 ShapeTweeningUsed by:Timeline
Symbol 290 ShapeTweeningUsed by:Timeline

Instance Names

"playbtn"Frame 10Symbol 177 Button
"howtobtn"Frame 10Symbol 179 Button
"btn_more"Frame 10Symbol 181 Button
"mainbtn"Frame 29Symbol 185 Button
"sky"Frame 54Symbol 96 MovieClip
"bg"Frame 54Symbol 200 MovieClip {GhostHuntMenu_fla.bg_37}
"fg"Frame 54Symbol 205 MovieClip
"fg2"Frame 54Symbol 208 MovieClip {GhostHuntMenu_fla.fg2_44}
"player"Frame 54Symbol 226 MovieClip
"hitb"Frame 54Symbol 228 MovieClip
"pos"Frame 54Symbol 230 MovieClip {GhostHuntMenu_fla.progress_49}
"lives_mc"Frame 54Symbol 237 MovieClip
"stxt"Frame 54Symbol 239 EditableText
"bosshealth"Frame 54Symbol 245 MovieClip {GhostHuntMenu_fla.bosshealthbar_53}
"boss"Frame 54Symbol 247 MovieClip
"shwpwp"Frame 54Symbol 250 MovieClip {GhostHuntMenu_fla.powerup_notice_57}
"gameover"Frame 106Symbol 261 MovieClip {GhostHuntMenu_fla.gameover_62}
"fadeout"Frame 106Symbol 263 MovieClip {GhostHuntMenu_fla.fadeout_64}
"fadeoutwin"Frame 106Symbol 265 MovieClip {GhostHuntMenu_fla.fadeout_win_65}
"mainbtn"Frame 125Symbol 286 Button
"scoretxtbox"Frame 125Symbol 288 EditableText
"NGButton"Symbol 76 MovieClip {GhostHuntMenu_fla.X_LOAD_2} Frame 151Symbol 75 Button
"NG_Logo"Symbol 90 MovieClip {GhostHuntMenu_fla.NG_TANK_9} Frame 1Symbol 89 Button
"NG_Button"Symbol 91 MovieClip {GhostHuntMenu_fla.NG_AD_OBJECT_WITH_PRELOADER_1} Frame 1Symbol 83 Button
"ng_ad"Symbol 91 MovieClip {GhostHuntMenu_fla.NG_AD_OBJECT_WITH_PRELOADER_1} Frame 1Symbol 90 MovieClip {GhostHuntMenu_fla.NG_TANK_9}
"bg"Symbol 200 MovieClip {GhostHuntMenu_fla.bg_37} Frame 1Symbol 199 MovieClip
"fg2"Symbol 208 MovieClip {GhostHuntMenu_fla.fg2_44} Frame 1Symbol 207 MovieClip
"witch"Symbol 230 MovieClip {GhostHuntMenu_fla.progress_49} Frame 1Symbol 226 MovieClip
"bar"Symbol 245 MovieClip {GhostHuntMenu_fla.bosshealthbar_53} Frame 1Symbol 242 MovieClip
"txt"Symbol 249 MovieClip {GhostHuntMenu_fla.txt_58} Frame 1Symbol 248 EditableText
"txt"Symbol 250 MovieClip {GhostHuntMenu_fla.powerup_notice_57} Frame 1Symbol 249 MovieClip {GhostHuntMenu_fla.txt_58}

Special Tags

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

Labels

"game"Frame 55
"win"Frame 125
"loading"Symbol 76 MovieClip {GhostHuntMenu_fla.X_LOAD_2} Frame 1
"loaded"Symbol 76 MovieClip {GhostHuntMenu_fla.X_LOAD_2} Frame 101
"lastframe"Symbol 76 MovieClip {GhostHuntMenu_fla.X_LOAD_2} Frame 165
"end"Symbol 76 MovieClip {GhostHuntMenu_fla.X_LOAD_2} Frame 166




http://swfchan.com/13/64166/info.shtml
Created: 13/4 -2019 07:50:51 Last modified: 13/4 -2019 07:50:51 Server time: 05/11 -2024 06:42:18