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

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

HolidaySim_640x480.swf

This is the info page for
Flash #156407

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


Text
HEAD OFF
[start]

HEAD OFF
[start]

Newgrounds API Connector

Connecting to the Newgrounds Gateway...

Connection Established!

YOU ARE NOT LOGGED IN!

You will not be able to use any
members-only features!

Some features may be
temporarily unavailable.

API CONNECTION FAILED

NOTICE!

A new version is now available!
Click the button below to check it out.

View latest version

UNAUTHORIZED USE!!

This website is hosting this file without proper consent!
Click the button below to view a legal version.

View authorized version

Medal Popup
Place this clip on the root of your movie,
spanning any frames where medals are
called. (this clip is hidden)

MEDAL GET!

100pts

Level

<p align="left"><font face="Zepto_16pt_st" size="16" color="#000000" letterSpacing="0.000000" kerning="1">Textwewewewewe</font></p>

Start Vacationing

A realistic Holiday
simulation

by Rob (C) 1984

Start Vacationing

Start Vacationing

Achievements

! Achievements !

<p align="right"><font face="Commodore 64 Pixeled_21pt_st" size="21" color="#80c2ff" letterSpacing="0.000000" kerning="0"><a href="http://www.gameshot.org" target = "_blank">by Gameshot.org</a></font></p>

<p align="right"><font face="BM figaro_16pt_st" size="16" color="#3068fe" letterSpacing="0.000000" kerning="1"><a href="http://www.gameshot.org/freewebsitecontent.php" target = "_blank">add game</a></font></p><p align="right"><font face="BM figaro_16pt_st" size="16" color="#3068fe" letterSpacing="0.000000" kerning="1"><a href="http://www.gameshot.org/freewebsitecontent.php" target = "_blank">to website</a></font></p>

<p align="center"><font face="Commodore 64 Pixeled_21pt_st" size="21" color="#80c2ff" letterSpacing="0.000000" kerning="0"><a href="http://www.youtube.com/user/vaaib" target = "_blank">music by Kauski</a></font></p>

TIME UP

TIME UP

USE ARROWS TO
RIDE YOUR BOARD

DODGE THE
BIG WAVES

PRESS SPACE TO
JUMP OVER SHARKS

DANGER!

DANGER!

DANGER!

DANGER!

DANGER!

DANGER!

teint

sun creme

<p align="left"><font face="Commodore 64 Pixeled_20pt_st" size="20" color="#000000" letterSpacing="-2.000000" kerning="0">THE ARRIVAL</font></p>

<p align="left"><font face="Commodore 64 Pixeled_20pt_st" size="20" color="#000000" letterSpacing="-2.000000" kerning="0">GO BACK TO HOTEL</font></p>

WHAT A STUPID
DECISION !?!

THE END

BASH  THE
SPACE BAR

BASH  THE
SPACE BAR

BASH  THE
SPACE BAR

SHARK

ATTACK

SHARK

ATTACK

SHARK

ATTACK

FAIL!

FAIL!

FAIL!

FAIL!

FAIL!

FAIL!

Build a Sandcastle!
Rules: Hit SPACE to drop a
sandblock and fill the screen
with at least
15 blocks
without stacking too high!
Hit SPACE to START

Now that is the
MOST UGLY sandcastle
I've ever seen! ...
...in my WHOLE LIFE!

Booooooyyy
is this
UGLY!

But as you are
the only
participant
in this
contest...

...
Here are your
coins for the
one-armed
bandit

GAME
OVER

arrows to enter name
space to confirm

[    ]

<p align="center"><font face="Commodore 64 Pixeled_80pt_st" size="80" color="#00ff00" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="center"><font face="Commodore 64 Pixeled_80pt_st" size="80" color="#00ff00" letterSpacing="0.000000" kerning="1">A</font></p>

high score
save function
will be added
after
1 million plays!

PIXL
VADORS

ARROWS TO MOVE-SPACE TO SHOOT

HIT SPACE TO START

Thank you sir!

That's 50 Dollar

50 bucks? I don't
have that much money!

...bad luck Sir!

That's $500 Sir!

500 bucks? I don't
have that much money!

NOW THAT
SUCKS!!!

NOW THAT
SUCKS!!!

NO COINS!

JACKPOT

JACKPOT

JACKPOT

JACKPOT

THE END

SPACE BAR

don't drink and swim!

Welcome to the hotel!
I hope you
will enjoy
your stay
here!

Feel free to swim in the ocean,
having free
drinks at the
bar and to
visit our
beautiful
inland!

*FREE DRINKS, YAAY*

Anything
special
today?

Yes Sir! The amusement arcade
arranged a
sandcastle
contest!

You can win
coins
for the
one-armed
bandit !

Can I enter
the contest?

Of course, all you need is a
bucket and
a shovel!
Just let
me know!

I HAZ A
BUCKET!

Good for you Sir!
Just right in
time, because
the constest
starts in 3...

2

1

HUNGER!

I am sorry Sir!
We just ran out
of fish!

Bigger fishes are
very hard to fish
on this island...

... so they are rare!
I would pay a good price
for a good fish!

ok

I've got a
fish for you!

Sorry Sir, this
fish is way too small

meh!

I've got a
BIG
fish for you!

GREAT! I'll take it!

How much money do you
want for this fish?

500$

Are you
crazy??

I need it
(for the storyline...)
So what???

naah, ok,
here you have 500$

so cool!

WOW!
I just won
50 Dollars!

Achievements

back

back

back

start

start

start

<p align="left"><font face="BM figaro_27pt_st" size="27" color="#ff4fd8" letterSpacing="0.000000" kerning="1"><a href="http://www.gameshot.org/walkthrough/?id=5150" target = "_blank">walkthrough</a></font></p>

Sudden Death

you just stayed at home...

Rockstar

drunk and drowned...

Best
holiday
ever!

well done, you enjoyed the sun!

King of the Waves

You're a clever person and full of skills!!!

<p align="left"><font face="Zepto_16pt_st" size="16" color="#000000" letterSpacing="0.000000" kerning="1">Textwewewewewe</font></p>

?

ActionScript [AS3]

Section 1
//MD5 (com.adobe.crypto.MD5) package com.adobe.crypto { import flash.utils.*; import com.adobe.utils.*; public class MD5 { public static var digest:ByteArray; public static function hash(_arg1:String):String{ var _local2:ByteArray = new ByteArray(); _local2.writeUTFBytes(_arg1); return (hashBinary(_local2)); } public static function hashBytes(_arg1:ByteArray):String{ return (hashBinary(_arg1)); } public static function hashBinary(_arg1:ByteArray):String{ var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local2 = 1732584193; var _local3 = -271733879; var _local4 = -1732584194; var _local5 = 271733878; var _local10:Array = createBlocks(_arg1); var _local11:int = _local10.length; var _local12:int; while (_local12 < _local11) { _local6 = _local2; _local7 = _local3; _local8 = _local4; _local9 = _local5; _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 7, -680876936); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 1))], 12, -389564586); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 17, 606105819); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 3))], 22, -1044525330); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 7, -176418897); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 5))], 12, 1200080426); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 17, -1473231341); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 7))], 22, -45705983); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 7, 1770035416); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 9))], 12, -1958414417); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 17, -42063); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 11))], 22, -1990404162); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 7, 1804603682); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 13))], 12, -40341101); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 17, -1502002290); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 15))], 22, 1236535329); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 5, -165796510); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 6))], 9, -1069501632); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 14, 643717713); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 0))], 20, -373897302); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 5, -701558691); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 10))], 9, 38016083); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 14, -660478335); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 4))], 20, -405537848); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 5, 568446438); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 14))], 9, -1019803690); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 14, -187363961); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 8))], 20, 1163531501); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 5, -1444681467); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 2))], 9, -51403784); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 14, 1735328473); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 12))], 20, -1926607734); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 4, -378558); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 8))], 11, -2022574463); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 16, 1839030562); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 14))], 23, -35309556); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 4, -1530992060); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 4))], 11, 1272893353); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 16, -155497632); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 10))], 23, -1094730640); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 4, 681279174); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 0))], 11, -358537222); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 16, -722521979); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 6))], 23, 76029189); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 4, -640364487); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 12))], 11, -421815835); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 16, 530742520); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 2))], 23, -995338651); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 6, -198630844); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 7))], 10, 1126891415); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 15, -1416354905); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 5))], 21, -57434055); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 6, 1700485571); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 3))], 10, -1894986606); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 15, -1051523); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 1))], 21, -2054922799); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 6, 1873313359); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 15))], 10, -30611744); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 15, -1560198380); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 13))], 21, 1309151649); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 6, -145523070); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 11))], 10, -1120210379); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 15, 718787259); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 9))], 21, -343485551); _local2 = (_local2 + _local6); _local3 = (_local3 + _local7); _local4 = (_local4 + _local8); _local5 = (_local5 + _local9); _local12 = (_local12 + 16); }; digest = new ByteArray(); digest.writeInt(_local2); digest.writeInt(_local3); digest.writeInt(_local4); digest.writeInt(_local5); digest.position = 0; return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5))); } private static function f(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg2) | (~(_arg1) & _arg3))); } private static function g(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg3) | (_arg2 & ~(_arg3)))); } private static function h(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 ^ _arg2) ^ _arg3)); } private static function i(_arg1:int, _arg2:int, _arg3:int):int{ return ((_arg2 ^ (_arg1 | ~(_arg3)))); } private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{ var _local9:int = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8); return ((IntUtil.rol(_local9, _arg7) + _arg3)); } private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function createBlocks(_arg1:ByteArray):Array{ var _local2:Array = new Array(); var _local3:int = (_arg1.length * 8); var _local4 = 0xFF; var _local5:int; while (_local5 < _local3) { _local2[int((_local5 >> 5))] = (_local2[int((_local5 >> 5))] | ((_arg1[(_local5 / 8)] & _local4) << (_local5 % 32))); _local5 = (_local5 + 8); }; _local2[int((_local3 >> 5))] = (_local2[int((_local3 >> 5))] | (128 << (_local3 % 32))); _local2[int(((((_local3 + 64) >>> 9) << 4) + 14))] = _local3; return (_local2); } } }//package com.adobe.crypto
Section 2
//PNGEncoder (com.adobe.images.PNGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class PNGEncoder { private static var crcTable:Array; private static var crcTableComputed:Boolean = false; public static function encode(_arg1:BitmapData):ByteArray{ var _local6:uint; var _local7:int; var _local2:ByteArray = new ByteArray(); _local2.writeUnsignedInt(2303741511); _local2.writeUnsignedInt(218765834); var _local3:ByteArray = new ByteArray(); _local3.writeInt(_arg1.width); _local3.writeInt(_arg1.height); _local3.writeUnsignedInt(134610944); _local3.writeByte(0); writeChunk(_local2, 1229472850, _local3); var _local4:ByteArray = new ByteArray(); var _local5:int; while (_local5 < _arg1.height) { _local4.writeByte(0); if (!_arg1.transparent){ _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | 0xFF))); _local7++; }; } else { _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel32(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | (_local6 >>> 24)))); _local7++; }; }; _local5++; }; _local4.compress(); writeChunk(_local2, 1229209940, _local4); writeChunk(_local2, 1229278788, null); return (_local2); } private static function writeChunk(_arg1:ByteArray, _arg2:uint, _arg3:ByteArray):void{ var _local8:uint; var _local9:uint; var _local10:uint; if (!crcTableComputed){ crcTableComputed = true; crcTable = []; _local9 = 0; while (_local9 < 0x0100) { _local8 = _local9; _local10 = 0; while (_local10 < 8) { if ((_local8 & 1)){ _local8 = uint((uint(3988292384) ^ uint((_local8 >>> 1)))); } else { _local8 = uint((_local8 >>> 1)); }; _local10++; }; crcTable[_local9] = _local8; _local9++; }; }; var _local4:uint; if (_arg3 != null){ _local4 = _arg3.length; }; _arg1.writeUnsignedInt(_local4); var _local5:uint = _arg1.position; _arg1.writeUnsignedInt(_arg2); if (_arg3 != null){ _arg1.writeBytes(_arg3); }; var _local6:uint = _arg1.position; _arg1.position = _local5; _local8 = 4294967295; var _local7:int; while (_local7 < (_local6 - _local5)) { _local8 = uint((crcTable[((_local8 ^ _arg1.readUnsignedByte()) & uint(0xFF))] ^ uint((_local8 >>> 8)))); _local7++; }; _local8 = uint((_local8 ^ uint(4294967295))); _arg1.position = _local6; _arg1.writeUnsignedInt(_local8); } } }//package com.adobe.images
Section 3
//JSON (com.adobe.serialization.json.JSON) package com.adobe.serialization.json { public class JSON { public static function encode(_arg1:Object):String{ var _local2:JSONEncoder = new JSONEncoder(_arg1); return (_local2.getString()); } public static function decode(_arg1:String){ var _local2:JSONDecoder = new JSONDecoder(_arg1); return (_local2.getValue()); } } }//package com.adobe.serialization.json
Section 4
//JSONDecoder (com.adobe.serialization.json.JSONDecoder) package com.adobe.serialization.json { public class JSONDecoder { private var value; private var tokenizer:JSONTokenizer; private var token:JSONToken; public function JSONDecoder(_arg1:String){ this.tokenizer = new JSONTokenizer(_arg1); this.nextToken(); this.value = this.parseValue(); } public function getValue(){ return (this.value); } private function nextToken():JSONToken{ return ((this.token = this.tokenizer.getNextToken())); } private function parseArray():Array{ var _local1:Array = new Array(); this.nextToken(); if (this.token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; while (true) { _local1.push(this.parseValue()); this.nextToken(); if (this.token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; if (this.token.type == JSONTokenType.COMMA){ this.nextToken(); } else { this.tokenizer.parseError(("Expecting ] or , but found " + this.token.value)); }; }; return (null); } private function parseObject():Object{ var _local2:String; var _local1:Object = new Object(); this.nextToken(); if (this.token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; while (true) { if (this.token.type == JSONTokenType.STRING){ _local2 = String(this.token.value); this.nextToken(); if (this.token.type == JSONTokenType.COLON){ this.nextToken(); _local1[_local2] = this.parseValue(); this.nextToken(); if (this.token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; if (this.token.type == JSONTokenType.COMMA){ this.nextToken(); } else { this.tokenizer.parseError(("Expecting } or , but found " + this.token.value)); }; } else { this.tokenizer.parseError(("Expecting : but found " + this.token.value)); }; } else { this.tokenizer.parseError(("Expecting string but found " + this.token.value)); }; }; return (null); } private function parseValue():Object{ if (this.token == null){ this.tokenizer.parseError("Unexpected end of input"); }; switch (this.token.type){ case JSONTokenType.LEFT_BRACE: return (this.parseObject()); case JSONTokenType.LEFT_BRACKET: return (this.parseArray()); case JSONTokenType.STRING: case JSONTokenType.NUMBER: case JSONTokenType.TRUE: case JSONTokenType.FALSE: case JSONTokenType.NULL: return (this.token.value); default: this.tokenizer.parseError(("Unexpected " + this.token.value)); }; return (null); } } }//package com.adobe.serialization.json
Section 5
//JSONEncoder (com.adobe.serialization.json.JSONEncoder) package com.adobe.serialization.json { import flash.utils.*; public class JSONEncoder { private var jsonString:String; public function JSONEncoder(_arg1){ this.jsonString = this.convertToString(_arg1); } public function getString():String{ return (this.jsonString); } private function convertToString(_arg1):String{ if ((_arg1 is String)){ return (this.escapeString((_arg1 as String))); }; if ((_arg1 is Number)){ return ((isFinite((_arg1 as Number))) ? _arg1.toString() : "null"); } else { if ((_arg1 is Boolean)){ return ((_arg1) ? "true" : "false"); } else { if ((_arg1 is Array)){ return (this.arrayToString((_arg1 as Array))); }; if ((((_arg1 is Object)) && (!((_arg1 == null))))){ return (this.objectToString(_arg1)); }; }; }; return ("null"); } private function escapeString(_arg1:String):String{ var _local3:String; var _local6:String; var _local7:String; var _local2 = ""; var _local4:Number = _arg1.length; var _local5:int; while (_local5 < _local4) { _local3 = _arg1.charAt(_local5); switch (_local3){ case "\"": _local2 = (_local2 + "\\\""); break; case "\\": _local2 = (_local2 + "\\\\"); break; case "\b": _local2 = (_local2 + "\\b"); break; case "\f": _local2 = (_local2 + "\\f"); break; case "\n": _local2 = (_local2 + "\\n"); break; case "\r": _local2 = (_local2 + "\\r"); break; case "\t": _local2 = (_local2 + "\\t"); break; default: if (_local3 < " "){ _local6 = _local3.charCodeAt(0).toString(16); _local7 = ((_local6.length == 2)) ? "00" : "000"; _local2 = (_local2 + (("\\u" + _local7) + _local6)); } else { _local2 = (_local2 + _local3); }; }; _local5++; }; return ((("\"" + _local2) + "\"")); } private function arrayToString(_arg1:Array):String{ var _local2 = ""; var _local3:int; while (_local3 < _arg1.length) { if (_local2.length > 0){ _local2 = (_local2 + ","); }; _local2 = (_local2 + this.convertToString(_arg1[_local3])); _local3++; }; return ((("[" + _local2) + "]")); } private function objectToString(_arg1:Object):String{ var value:Object; var key:String; var v:XML; var o = _arg1; var s = ""; var classInfo:XML = describeType(o); if (classInfo.@name.toString() == "Object"){ for (key in o) { value = o[key]; if ((value is Function)){ } else { if (s.length > 0){ s = (s + ","); }; s = (s + ((this.escapeString(key) + ":") + this.convertToString(value))); }; }; } else { for each (v in classInfo..*.(((name() == "variable")) || ((name() == "accessor")))) { if (s.length > 0){ s = (s + ","); }; s = (s + ((this.escapeString(v.@name.toString()) + ":") + this.convertToString(o[v.@name]))); }; }; return ((("{" + s) + "}")); } } }//package com.adobe.serialization.json
Section 6
//JSONParseError (com.adobe.serialization.json.JSONParseError) package com.adobe.serialization.json { public class JSONParseError extends Error { private var _location:int; private var _text:String; public function JSONParseError(_arg1:String="", _arg2:int=0, _arg3:String=""){ super(_arg1); name = "JSONParseError"; this._location = _arg2; this._text = _arg3; } public function get location():int{ return (this._location); } public function get text():String{ return (this._text); } } }//package com.adobe.serialization.json
Section 7
//JSONToken (com.adobe.serialization.json.JSONToken) package com.adobe.serialization.json { public class JSONToken { private var _type:int; private var _value:Object; public function JSONToken(_arg1:int=-1, _arg2:Object=null){ this._type = _arg1; this._value = _arg2; } public function get type():int{ return (this._type); } public function set type(_arg1:int):void{ this._type = _arg1; } public function get value():Object{ return (this._value); } public function set value(_arg1:Object):void{ this._value = _arg1; } } }//package com.adobe.serialization.json
Section 8
//JSONTokenizer (com.adobe.serialization.json.JSONTokenizer) package com.adobe.serialization.json { public class JSONTokenizer { private var obj:Object; private var jsonString:String; private var loc:int; private var ch:String; public function JSONTokenizer(_arg1:String){ this.jsonString = _arg1; this.loc = 0; this.nextChar(); } public function getNextToken():JSONToken{ var _local2:String; var _local3:String; var _local4:String; var _local1:JSONToken = new JSONToken(); this.skipIgnored(); switch (this.ch){ case "{": _local1.type = JSONTokenType.LEFT_BRACE; _local1.value = "{"; this.nextChar(); break; case "}": _local1.type = JSONTokenType.RIGHT_BRACE; _local1.value = "}"; this.nextChar(); break; case "[": _local1.type = JSONTokenType.LEFT_BRACKET; _local1.value = "["; this.nextChar(); break; case "]": _local1.type = JSONTokenType.RIGHT_BRACKET; _local1.value = "]"; this.nextChar(); break; case ",": _local1.type = JSONTokenType.COMMA; _local1.value = ","; this.nextChar(); break; case ":": _local1.type = JSONTokenType.COLON; _local1.value = ":"; this.nextChar(); break; case "t": _local2 = ((("t" + this.nextChar()) + this.nextChar()) + this.nextChar()); if (_local2 == "true"){ _local1.type = JSONTokenType.TRUE; _local1.value = true; this.nextChar(); } else { this.parseError(("Expecting 'true' but found " + _local2)); }; break; case "f": _local3 = (((("f" + this.nextChar()) + this.nextChar()) + this.nextChar()) + this.nextChar()); if (_local3 == "false"){ _local1.type = JSONTokenType.FALSE; _local1.value = false; this.nextChar(); } else { this.parseError(("Expecting 'false' but found " + _local3)); }; break; case "n": _local4 = ((("n" + this.nextChar()) + this.nextChar()) + this.nextChar()); if (_local4 == "null"){ _local1.type = JSONTokenType.NULL; _local1.value = null; this.nextChar(); } else { this.parseError(("Expecting 'null' but found " + _local4)); }; break; case "\"": _local1 = this.readString(); break; default: if (((this.isDigit(this.ch)) || ((this.ch == "-")))){ _local1 = this.readNumber(); } else { if (this.ch == ""){ return (null); }; this.parseError((("Unexpected " + this.ch) + " encountered")); }; }; return (_local1); } private function readString():JSONToken{ var _local3:String; var _local4:int; var _local1:JSONToken = new JSONToken(); _local1.type = JSONTokenType.STRING; var _local2 = ""; this.nextChar(); while (((!((this.ch == "\""))) && (!((this.ch == ""))))) { if (this.ch == "\\"){ this.nextChar(); switch (this.ch){ case "\"": _local2 = (_local2 + "\""); break; case "/": _local2 = (_local2 + "/"); break; case "\\": _local2 = (_local2 + "\\"); break; case "b": _local2 = (_local2 + "\b"); break; case "f": _local2 = (_local2 + "\f"); break; case "n": _local2 = (_local2 + "\n"); break; case "r": _local2 = (_local2 + "\r"); break; case "t": _local2 = (_local2 + "\t"); break; case "u": _local3 = ""; _local4 = 0; while (_local4 < 4) { if (!this.isHexDigit(this.nextChar())){ this.parseError((" Excepted a hex digit, but found: " + this.ch)); }; _local3 = (_local3 + this.ch); _local4++; }; _local2 = (_local2 + String.fromCharCode(parseInt(_local3, 16))); break; default: _local2 = (_local2 + ("\\" + this.ch)); }; } else { _local2 = (_local2 + this.ch); }; this.nextChar(); }; if (this.ch == ""){ this.parseError("Unterminated string literal"); }; this.nextChar(); _local1.value = _local2; return (_local1); } private function readNumber():JSONToken{ var _local1:JSONToken = new JSONToken(); _local1.type = JSONTokenType.NUMBER; var _local2 = ""; if (this.ch == "-"){ _local2 = (_local2 + "-"); this.nextChar(); }; if (!this.isDigit(this.ch)){ this.parseError("Expecting a digit"); }; if (this.ch == "0"){ _local2 = (_local2 + this.ch); this.nextChar(); if (this.isDigit(this.ch)){ this.parseError("A digit cannot immediately follow 0"); }; } else { while (this.isDigit(this.ch)) { _local2 = (_local2 + this.ch); this.nextChar(); }; }; if (this.ch == "."){ _local2 = (_local2 + "."); this.nextChar(); if (!this.isDigit(this.ch)){ this.parseError("Expecting a digit"); }; while (this.isDigit(this.ch)) { _local2 = (_local2 + this.ch); this.nextChar(); }; }; if ((((this.ch == "e")) || ((this.ch == "E")))){ _local2 = (_local2 + "e"); this.nextChar(); if ((((this.ch == "+")) || ((this.ch == "-")))){ _local2 = (_local2 + this.ch); this.nextChar(); }; if (!this.isDigit(this.ch)){ this.parseError("Scientific notation number needs exponent value"); }; while (this.isDigit(this.ch)) { _local2 = (_local2 + this.ch); this.nextChar(); }; }; var _local3:Number = Number(_local2); if (((isFinite(_local3)) && (!(isNaN(_local3))))){ _local1.value = _local3; return (_local1); }; this.parseError((("Number " + _local3) + " is not valid!")); return (null); } private function nextChar():String{ return ((this.ch = this.jsonString.charAt(this.loc++))); } private function skipIgnored():void{ var _local1:int; do { _local1 = this.loc; this.skipWhite(); this.skipComments(); } while (_local1 != this.loc); } private function skipComments():void{ if (this.ch == "/"){ this.nextChar(); switch (this.ch){ case "/": do { this.nextChar(); } while (((!((this.ch == "\n"))) && (!((this.ch == ""))))); this.nextChar(); break; case "*": this.nextChar(); while (true) { if (this.ch == "*"){ this.nextChar(); if (this.ch == "/"){ this.nextChar(); break; }; } else { this.nextChar(); }; if (this.ch == ""){ this.parseError("Multi-line comment not closed"); }; }; break; default: this.parseError((("Unexpected " + this.ch) + " encountered (expecting '/' or '*' )")); }; }; } private function skipWhite():void{ while (this.isWhiteSpace(this.ch)) { this.nextChar(); }; } private function isWhiteSpace(_arg1:String):Boolean{ return ((((((((_arg1 == " ")) || ((_arg1 == "\t")))) || ((_arg1 == "\n")))) || ((_arg1 == "\r")))); } private function isDigit(_arg1:String):Boolean{ return ((((_arg1 >= "0")) && ((_arg1 <= "9")))); } private function isHexDigit(_arg1:String):Boolean{ var _local2:String = _arg1.toUpperCase(); return (((this.isDigit(_arg1)) || ((((_local2 >= "A")) && ((_local2 <= "F")))))); } public function parseError(_arg1:String):void{ throw (new JSONParseError(_arg1, this.loc, this.jsonString)); } } }//package com.adobe.serialization.json
Section 9
//JSONTokenType (com.adobe.serialization.json.JSONTokenType) package com.adobe.serialization.json { public class JSONTokenType { public static const UNKNOWN:int = -1; public static const COMMA:int = 0; public static const LEFT_BRACE:int = 1; public static const RIGHT_BRACE:int = 2; public static const LEFT_BRACKET:int = 3; public static const RIGHT_BRACKET:int = 4; public static const COLON:int = 6; public static const TRUE:int = 7; public static const FALSE:int = 8; public static const NULL:int = 9; public static const STRING:int = 10; public static const NUMBER:int = 11; } }//package com.adobe.serialization.json
Section 10
//IntUtil (com.adobe.utils.IntUtil) package com.adobe.utils { public class IntUtil { private static var hexChars:String = "0123456789abcdef"; public static function rol(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public static function ror(_arg1:int, _arg2:int):uint{ var _local3:int = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public static function toHex(_arg1:int, _arg2:Boolean=false):String{ var _local4:int; var _local5:int; var _local3 = ""; if (_arg2){ _local4 = 0; while (_local4 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15)))); _local4++; }; } else { _local5 = 0; while (_local5 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15)))); _local5++; }; }; return (_local3); } } }//package com.adobe.utils
Section 11
//APIConnector (com.newgrounds.components.APIConnector) package com.newgrounds.components { import com.newgrounds.*; import flash.display.*; import flash.events.*; import flash.utils.*; public class APIConnector extends MovieClip { public var errorDialog:MovieClip; public var background:MovieClip; public var viewLatestButton:SimpleButton; public var closeButton:SimpleButton; public var viewAuthorizedButton:SimpleButton; private var _initialized:Boolean; private var _movieId:String; private var _encryptionKey:String; private var _movieVersion:String; private var _showConnectingPopup:Boolean;// = true private var _useErrorPopup:Boolean;// = true private var _medalPopup:MedalPopup; private var _popDelay:Timer; public function APIConnector(){ this._popDelay = new Timer(3000, 1); super(); addFrameScript(0, this.frame1, 6, this.frame7, 7, this.frame8); if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){ return; }; this.useErrorPopup = true; this.useMedalPopup = true; this._popDelay.addEventListener(TimerEvent.TIMER, this.errorTimerHandler); addEventListener(Event.ENTER_FRAME, this.enterFrameHandler); if (stage){ addEventListener(Event.RENDER, this.renderHandler); stage.invalidate(); } else { this.clear(); }; } public function get movieId():String{ return (this._movieId); } public function set movieId(_arg1:String):void{ this._movieId = _arg1; } public function get encryptionKey():String{ return (this._encryptionKey); } public function set encryptionKey(_arg1:String):void{ this._encryptionKey = _arg1; } public function get movieVersion():String{ return (this._movieVersion); } public function set movieVersion(_arg1:String):void{ this._movieVersion = _arg1; } public function get debugMode():Boolean{ return (API.debugMode); } public function set debugMode(_arg1:Boolean):void{ API.debugMode = true; } public function get useMedalPopup():Boolean{ return (!((this._medalPopup == null))); } public function set useMedalPopup(_arg1:Boolean):void{ if (((_arg1) && (!(this._medalPopup)))){ this._medalPopup = new MedalPopup(); addChild(this._medalPopup); } else { if (((!(_arg1)) && (this._medalPopup))){ removeChild(this._medalPopup); this._medalPopup = null; }; }; } public function get useErrorPopup():Boolean{ return (this._useErrorPopup); } public function set useErrorPopup(_arg1:Boolean):void{ this._useErrorPopup = _arg1; API.addEventListener(APIEvent.API_CONNECTED, this.movieConnectedHandler); if (this._useErrorPopup){ API.addEventListener(APIEvent.NEW_VERSION_AVAILABLE, this.newVersionAvailableHandler); API.addEventListener(APIEvent.HOST_BLOCKED, this.hostBlockedHandler); } else { API.removeEventListener(APIEvent.NEW_VERSION_AVAILABLE, this.newVersionAvailableHandler); API.removeEventListener(APIEvent.HOST_BLOCKED, this.hostBlockedHandler); }; } public function get showConnectingPopup():Boolean{ return (this._showConnectingPopup); } public function set showConnectingPopup(_arg1:Boolean):void{ this._showConnectingPopup = _arg1; if (((!(_arg1)) && ((((currentLabel == "connecting")) || ((currentLabel == "connected")))))){ this.clear(); }; } public function clear():void{ gotoAndStop("idle"); } public function connect():void{ API.setVersion(this._movieVersion); API.connect(root.loaderInfo, this._movieId, this._encryptionKey); visible = true; if (this.showConnectingPopup){ gotoAndStop("connecting"); }; } private function renderHandler(_arg1:Event):void{ removeEventListener(Event.RENDER, this.renderHandler); this.clear(); this.connect(); } private function movieConnectedHandler(_arg1:APIEvent):void{ if (_arg1.success){ if (((((((API.isPublishedHost()) && (API.IsCompatible()))) && (!(API.hasUserSession())))) && (!(API.debugMode)))){ gotoAndStop("no_login"); this._popDelay.start(); visible = true; } else { if (this.showConnectingPopup){ gotoAndStop("connected"); }; }; } else { gotoAndStop("no_connect"); this._popDelay.start(); visible = true; }; } private function newVersionAvailableHandler(_arg1:APIEvent):void{ gotoAndStop("new_version"); visible = true; this.centerOnStage(); } private function hostBlockedHandler(_arg1:APIEvent):void{ gotoAndStop("bad_host"); visible = true; this.centerOnStage(); } private function closeButtonClickHandler(_arg1:Event):void{ this.clear(); } private function officialVersionClickHandler(_arg1:Event):void{ API.loadOfficialVersion(); } private function enterFrameHandler(_arg1:Event):void{ this.forceAlwaysOnTop(); } private function initButtons():void{ if (this.viewLatestButton){ this.viewLatestButton.addEventListener(MouseEvent.CLICK, this.officialVersionClickHandler); }; if (this.viewAuthorizedButton){ this.viewAuthorizedButton.addEventListener(MouseEvent.CLICK, this.officialVersionClickHandler); }; if (this.closeButton){ this.closeButton.addEventListener(MouseEvent.CLICK, this.closeButtonClickHandler); }; } private function forceAlwaysOnTop():void{ var myIndex:uint; var topIndex:uint; if (((parent) && (visible))){ try { myIndex = parent.getChildIndex(this); topIndex = (parent.numChildren - 1); if (myIndex != topIndex){ parent.setChildIndex(this, topIndex); }; } catch(e:Error) { }; }; } private function centerOnStage():void{ if (stage){ x = (stage.stageWidth / 2); y = (stage.stageHeight / 2); }; } private function errorTimerHandler(_arg1:TimerEvent):void{ if (this.errorDialog){ this.errorDialog.gotoAndPlay("closeme"); } else { this.clear(); }; } function frame1(){ stop(); } function frame7(){ this.initButtons(); } function frame8(){ this.initButtons(); } } }//package com.newgrounds.components
Section 12
//FlashAd (com.newgrounds.components.FlashAd) package com.newgrounds.components { import com.newgrounds.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class FlashAd extends Sprite { public var background:MovieClip; private var _showBackground:Boolean; private var _adURLLoader:URLLoader; private var _adRect:Sprite; private var _mask:Shape; private var _ad:Loader; private static const DEBUG_AD_URL:String = "http://www.ngads.com/adtest.php"; private static const REMOVED_FROM_STAGE:String = "removedFromStage"; private static var _adResetTime:uint = 0; private static var _adURL:URLRequest; public function FlashAd(_arg1:Boolean=true){ if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){ return; }; this._adRect = new Sprite(); this._adRect.graphics.beginFill(0); this._adRect.graphics.moveTo(0, 0); this._adRect.graphics.lineTo(300, 0); this._adRect.graphics.lineTo(300, 250); this._adRect.graphics.lineTo(0, 250); this._adRect.graphics.lineTo(0, 0); this._adRect.graphics.endFill(); this._mask = new Shape(); this._mask.graphics.beginFill(0); this._mask.graphics.moveTo(0, 0); this._mask.graphics.lineTo(300, 0); this._mask.graphics.lineTo(300, 250); this._mask.graphics.lineTo(0, 250); this._mask.graphics.lineTo(0, 0); this._mask.graphics.endFill(); addChild(this._adRect); this._adRect.addChild(this._mask); this._adRect.visible = false; x = Math.round(x); y = Math.round(y); scaleX = 1; scaleY = 1; if (this.background){ if (this.background.ngLinkButton){ this.background.ngLinkButton.addEventListener(MouseEvent.CLICK, this.linkClickHandler); }; if (this.background.loadingClip){ this.background.loadingClip.visible = false; }; }; if (API.isFlashVersion(9, 0, 28)){ addEventListener(REMOVED_FROM_STAGE, this.onRemovedFromStage); }; if (API.adsApproved){ this.loadAdFeed(API.adFeedURL); } else { API.addEventListener(APIEvent.ADS_APPROVED, this.onAdsApproved, false, 0, true); }; this.showBackground = _arg1; } public function get showBackground():Boolean{ return (this._showBackground); } public function set showBackground(_arg1:Boolean):void{ this._showBackground = _arg1; if (this.background){ this.background.visible = _arg1; this._adRect.mask = (_arg1) ? this.background.adMask : null; }; } public function removeAd():void{ removeEventListener(REMOVED_FROM_STAGE, this.onRemovedFromStage); if (((this.background) && (this.background.loadingClip))){ this.background.loadingClip.visible = false; }; if (this._adURLLoader){ try { this._adURLLoader.close(); } catch(e:Error) { }; }; if (this._adRect){ this._adRect.visible = false; }; if (this._ad){ trace("[NewgroundsAPI] :: Ad removed"); try { this._ad.close(); } catch(e:Error) { }; try { Object(this._ad).unloadAndStop(true); } catch(e:Error) { _ad.unload(); }; if (this._ad.parent){ this._ad.parent.removeChild(this._ad); }; }; this._ad = null; } private function onAdsApproved(_arg1:APIEvent):void{ API.removeEventListener(APIEvent.ADS_APPROVED, this.onAdsApproved, false); if (_arg1.success){ this.loadAdFeed(API.adFeedURL); } else { trace("[NewgroundsAPI] :: No ad feed URL supplied to Newgrounds API ad!"); }; } private function loadAdFeed(_arg1:String):void{ var adFeedURL = _arg1; this._adURLLoader = new URLLoader(); this._adURLLoader.addEventListener(Event.COMPLETE, this.onAdFeedLoaded); this._adURLLoader.addEventListener(IOErrorEvent.IO_ERROR, this.onAdError); this._adURLLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.onAdError); if (!adFeedURL){ trace("[Newgrounds API] :: Invalid feed URL!"); return; }; if (this.hasAdElapsed){ if (adFeedURL.indexOf("?") > -1){ _adURL = new URLRequest(((adFeedURL + "&random=") + Math.random())); } else { _adURL = new URLRequest(((adFeedURL + "?random=") + Math.random())); }; }; try { this._adURLLoader.load(_adURL); } catch(e:Error) { onAdError(null); }; if (((this.background) && (this.background.loadingClip))){ this.background.loadingClip.visible = true; }; } private function loadAd(_arg1:String):void{ if (this._ad){ this.removeAd(); }; this._ad = new Loader(); this._ad.contentLoaderInfo.addEventListener(Event.COMPLETE, this.onAdLoaded); this._ad.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.onAdError); this._ad.load(new URLRequest(_arg1), new LoaderContext(false, new ApplicationDomain(null))); if (((this.background) && (this.background.loadingClip))){ this.background.loadingClip.visible = true; }; } private function onAdFeedLoaded(_arg1:Event):void{ var _local2:URLLoader = URLLoader(_arg1.target); if (((_local2.data) && (!((_local2.data == ""))))){ this.loadAd((_local2.data as String)); } else { dispatchEvent(new APIEvent(APIEvent.AD_ATTACHED, false, new APIError("FLASH_ADS_NOT_APPROVED", "Unable to render ad"))); if (((this.background) && (this.background.loadingClip))){ this.background.loadingClip.visible = false; }; }; } private function onAdFeedError(_arg1:Event):void{ trace("[NewgroundsAPI] :: Unable to load ad feed!"); if (((this.background) && (this.background.loadingClip))){ this.background.loadingClip.visible = false; }; } private function onAdError(_arg1:Event):void{ dispatchEvent(new APIEvent(APIEvent.AD_ATTACHED, false, new APIError("FLASH_ADS_NOT_APPROVED", "Unable to render ad"))); this.removeAd(); } private function onAdLoaded(_arg1:Event):void{ this._adRect.addChild(this._ad); this._ad.mask = this._mask; this._adRect.visible = true; if (this.background){ if (this._showBackground){ this._adRect.mask = this.background.adMask; }; if (this.background.loadingClip){ this.background.loadingClip.visible = false; }; }; trace("[NewgroundsAPI] :: Ad loaded!"); dispatchEvent(new APIEvent(APIEvent.AD_ATTACHED, true)); } private function onRemovedFromStage(_arg1:Event):void{ this.removeAd(); } private function get hasAdElapsed():Boolean{ if (getTimer() >= _adResetTime){ _adResetTime = (getTimer() + ((1000 * 60) * 5)); return (true); }; return (false); } private function linkClickHandler(_arg1:MouseEvent):void{ API.loadNewgrounds(); } } }//package com.newgrounds.components
Section 13
//MedalPopup (com.newgrounds.components.MedalPopup) package com.newgrounds.components { import com.newgrounds.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.text.*; public class MedalPopup extends MovieClip { public var medalNameText:TextField; public var medalValueText:TextField; public var medalContainer:Sprite; private var _initialized:Boolean; private var _medal:Medal; private var _medalIcon:Bitmap; private var _medalQueue:Array; private var _popDelay:Timer; public function MedalPopup(){ this._medalQueue = []; this._popDelay = new Timer(3000, 1); super(); addFrameScript(0, this.frame1, 9, this.frame10, 18, this.frame19); if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){ return; }; visible = false; addEventListener(Event.ENTER_FRAME, this.enterFrameHandler); stop(); API.addEventListener(APIEvent.MEDAL_UNLOCKED, this.onMedalUnlocked, false, 0, true); this._popDelay.addEventListener(TimerEvent.TIMER, this.timerHandler); } public function get popupTime():Number{ return ((this._popDelay.delay / 1000)); } public function set popupTime(_arg1:Number):void{ if (isNaN(_arg1)){ _arg1 = 3; }; this._popDelay.delay = (_arg1 * 1000); } private function enterFrameHandler(_arg1:Event):void{ var myIndex:uint; var topIndex:uint; var event = _arg1; if (((this._medalQueue.length) && (!(visible)))){ this._medal = this._medalQueue.pop(); this._popDelay.start(); gotoAndPlay("medal_show"); visible = true; }; if (((visible) && (parent))){ try { myIndex = parent.getChildIndex(this); topIndex = (parent.numChildren - 1); if (myIndex != topIndex){ parent.setChildIndex(this, topIndex); }; } catch(error:Error) { }; }; } private function onMedalUnlocked(_arg1:APIEvent):void{ if (((((_arg1.success) && (_arg1.data))) && ((_arg1.data is Medal)))){ this._medalQueue.push(Medal(_arg1.data)); }; } private function showMedalInfo():void{ if (!this._medal){ return; }; if (this.medalContainer){ this._medalIcon = this._medal.createIconBitmap(); this.medalContainer.addChild(this._medalIcon); }; if (this.medalNameText){ this.medalNameText.text = this._medal.name; }; if (this.medalValueText){ this.medalValueText.text = (this._medal.value.toString() + "pts"); }; this._popDelay.start(); stop(); } private function timerHandler(_arg1:TimerEvent):void{ if (((this._medalIcon) && (this._medalIcon.parent))){ this._medalIcon.parent.removeChild(this._medalIcon); this._medalIcon = null; }; gotoAndPlay("medal_hide"); this._popDelay.stop(); } function frame1(){ stop(); } function frame10(){ this.showMedalInfo(); stop(); } function frame19(){ stop(); visible = false; } } }//package com.newgrounds.components
Section 14
//API (com.newgrounds.API) package com.newgrounds { import flash.display.*; import flash.events.*; import com.newgrounds.components.*; import flash.utils.*; import com.adobe.serialization.json.*; import flash.net.*; import com.adobe.crypto.*; import com.adobe.images.*; import flash.system.*; public class API { public static const VERSION:String = "2.3"; private static const GATEWAY_URL:String = "http://www.ngads.com/gateway_v2.php"; private static const AD_TERMS_URL:String = "http://www.newgrounds.com/wiki/flashads/terms/"; private static const COMMANDS_WIKI_URL:String = "http://www.newgrounds.com/wiki/flashapi/commands/"; private static var do_echo:Boolean = false; private static var _debug:Boolean = true; private static var _connected:Boolean = false; private static var _isMetadataLoaded:Boolean = false; private static var _preloadComplete:Boolean = false; private static var _adsApproved:Boolean = false; private static var _saveGroupId:uint; private static var _saveFileId:uint; private static var _trackerId:uint; private static var _movieId:String; private static var _encryptionKey:String; private static var _host:String; private static var connected:Boolean; private static var version:String; private static var ad_url:String; private static var publisher_id:uint; private static var session_id:String; private static var user_email:String; private static var user_name:String; private static var user_id:uint; private static var userpage_format:String; private static var _medals:Array; private static var timeoutTimer:Timer = new Timer(8000, 1); private static var _userpageFormat:String; private static var _scoreboards:Array = new Array(); private static var _bridge:Bridge; private static var _saveFile:SaveFile; private static var _imageFilePath:String; private static var _saveFilePath:String; private static var _saveGroups:Array = []; private static var root:DisplayObject; private static var _eventDispatcher:EventDispatcher = new EventDispatcher(); private static var score_page_counts:Object = new Object(); private static var compression_radix:String = "/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X"; private static var compressor:BaseN = new BaseN(compression_radix); public static var errors:Dictionary = APIError.init_codes(); private static var sharedObjects:Dictionary = new Dictionary(); private static var _preloadAssets:Array = []; public static var periods:Object = getPeriodAliases(); private static var period_aliases:Object = {t:{name:"Today", alias:"TODAY"}, p:{name:"Yesterday", alias:"YESTERDAY"}, w:{name:"This Week", alias:"THIS_WEEK"}, m:{name:"This Month", alias:"THIS_MONTH"}, y:{name:"This Year", alias:"THIS_YEAR"}, a:{name:"All-Time", alias:"ALL_TIME"}}; private static var secureCommand:String; public static function get adFeedURL():String{ return (ad_url); } public static function get preloadComplete():Boolean{ return (_preloadComplete); } private static function assertConnected():Boolean{ if (!_connected){ return (false); }; return (true); } public static function setVersion(_arg1:String):void{ if (((_arg1) && (!((_arg1 == ""))))){ version = _arg1; }; } public static function setUserEmail(_arg1:String):void{ user_email = _arg1; } public static function get debugMode():Boolean{ return (_debug); } public static function set debugMode(_arg1:Boolean):void{ _debug = _arg1; } public static function getTrackerID():uint{ return (_trackerId); } public static function getUserID():uint{ return (user_id); } public static function getUserName():String{ return (user_name); } public static function isConnected():Boolean{ return (_connected); } public static function getOfficialURL():String{ var _local1:String = ((((((GATEWAY_URL + "?tracker_id=") + _movieId) + "&command_id=") + getCommandID("loadOfficalVersion")) + "&seed=") + Math.random()); if (debugMode){ _local1 = (_local1 + "&debug=1"); }; return (_local1); } public static function get adsApproved():Boolean{ return (_adsApproved); } public static function hasUserSession():Boolean{ return (((((!((session_id == null))) && (!((session_id == ""))))) && (!((publisher_id == 0))))); } public static function isNewgrounds():Boolean{ return ((((publisher_id == 1)) || ((getHost().toLowerCase().indexOf("ungrounded.net") > -1)))); } public static function IsCompatible():Boolean{ return (!((publisher_id == 0))); } public static function hasUserEmail():Boolean{ return (((!((user_email == null))) && (!((user_email == ""))))); } public static function connectionTimeOut(_arg1:Event=null):void{ dispatchEvent(new APIEvent(APIEvent.API_CONNECTED, false, new APIError("CONNECTION_FAILED", "Connection to NewgroundsAPI gateway timed out."))); } public static function connect(_arg1:LoaderInfo, _arg2:String, _arg3:String=null):void{ var loaderInfo = _arg1; var m_id = _arg2; var encrypt_key = _arg3; if (!loaderInfo){ fatalError("Null loaderInfo paremeter passed in to connectMovie!", ""); return; }; try { if (loaderInfo.loader){ loaderInfo = loaderInfo.loader.loaderInfo; }; } catch(error:Error) { }; _host = loaderInfo.url; if ((((_host.indexOf("http://") > -1)) || ((_host.indexOf("https://") > -1)))){ _host = _host.split("/")[2].toLowerCase(); } else { _host = "localhost"; }; var flashVars:Object = loaderInfo.parameters; if (isPublishedHost()){ debugMode = false; }; if (((!(debugMode)) && (flashVars))){ if (flashVars.NewgroundsAPI_UserName){ user_name = flashVars.NewgroundsAPI_UserName; }; if (flashVars.NewgroundsAPI_UserID){ user_id = flashVars.NewgroundsAPI_UserID; }; if (flashVars.NewgroundsAPI_PublisherID){ publisher_id = flashVars.NewgroundsAPI_PublisherID; } else { publisher_id = 1; }; if (flashVars.NewgroundsAPI_UserpageFormat){ _userpageFormat = flashVars.NewgroundsAPI_UserpageFormat; }; if (flashVars.NewgroundsAPI_SessionID){ session_id = flashVars.NewgroundsAPI_SessionID; }; if (flashVars.NewgroundsAPI_SaveGroupID){ _saveGroupId = flashVars.NewgroundsAPI_SaveGroupID; }; if (flashVars.NewgroundsAPI_SaveFileID){ _saveFileId = flashVars.NewgroundsAPI_SaveFileID; }; if (flashVars.NewgroundsAPI_SandboxID){ _bridge = new Bridge(flashVars.NewgroundsAPI_SandboxID); }; } else { publisher_id = 1; session_id = "D3bu64p1U53R"; user_id = 10; user_name = "API-Debugger"; }; if (connected){ return; }; timeoutTimer.start(); if (!m_id){ fatalError("NewgroundsAPI.connectMovie() - missing required movieId parameter", "connectMovie"); }; _movieId = String(m_id); _trackerId = uint(_movieId.substring(0, _movieId.indexOf(":"))); _encryptionKey = encrypt_key; connected = true; sendCommand("connectMovie", {host:getHost(), movie_version:version}); } private static function getHost():String{ return (_host); } public static function isPublishedHost():Boolean{ return (((!((getHost() == "localhost"))) && ((getHost().indexOf("file://") == -1)))); } public static function loadUserPage(_arg1:uint=0, _arg2:String=null):Boolean{ var _local3:String; if ((((_arg1 == 0)) && ((_arg2 == null)))){ if (hasUserSession()){ _arg1 = user_id; _arg2 = user_name; } else { return (false); }; }; if (publisher_id == 1){ _local3 = (("http://" + _arg2.toLowerCase()) + ".newgrounds.com"); navigateToURL(new URLRequest(_local3), "_blank"); return (true); }; if (userpage_format){ _local3 = userpage_format; _local3 = _local3.split(":user_id:").join(_arg1.toString()); _local3 = _local3.split(":user_name:").join(escape(_arg2)); navigateToURL(new URLRequest(_local3), "_blank"); return (true); }; return (false); } public static function loadNewgrounds():void{ sendCommand("loadNewgrounds", {host:getHost()}, true); } public static function loadOfficialVersion():void{ navigateToURL(new URLRequest(getOfficialURL())); } public static function loadMySite():void{ sendCommand("loadMySite", {host:getHost()}, true); } public static function loadCustomLink(_arg1:String):void{ sendCommand("loadCustomLink", {host:getHost(), link:_arg1}, true); } public static function logCustomEvent(_arg1:String):void{ sendCommand("logCustomEvent", {host:getHost(), event:_arg1}); } public static function getScoreBoardByName(_arg1:String):ScoreBoard{ var _local2:ScoreBoard; for each (_local2 in _scoreboards) { if (_local2.name == _arg1){ return (_local2); }; }; return (null); } public static function getScoreBoardById(_arg1:uint):ScoreBoard{ var _local2:ScoreBoard; for each (_local2 in _scoreboards) { if (_local2.id == _arg1){ return (_local2); }; }; return (null); } public static function postScore(_arg1:String, _arg2:uint, _arg3:String=""):void{ if (((!(_arg1)) || ((_arg1 == "")))){ sendError({command_id:getCommandID("postScore")}, new APIError("MISSING_PARAM", "missing required parameter(s)")); return; }; if (_arg3 == null){ _arg3 = ""; }; sendSecureCommand("postScore", {user_name:user_name, board:_arg1, value:_arg2, publisher_id:publisher_id, tag:_arg3}); } public static function loadScores(_arg1:ScoreBoard, _arg2:String=null):void{ var _local3 = "loadScores"; if (!_arg1.id){ sendError({command_id:getCommandID(_local3)}, new APIError("MISSING_PARAM", "missing required ScoreBoard instance")); return; }; if (!hasUserSession()){ callListener(APIEvent.SCORES_LOADED, false, new APIError("SITE_ID_REQUIRED", (("Host '" + getHost()) + "' does not have high scores enabled"))); return; }; var _local4:Object = {}; _local4.publisher_id = publisher_id; _local4.period = _arg1.period; _local4.board = _arg1.id; _local4.num_results = _arg1.num_results; _local4.page = _arg1.page; if (((!(_arg2)) || ((_arg2 == "")))){ _local4.tag = _arg1.tag; } else { _local4.tag = _arg2; }; sendCommand(_local3, _local4); } public static function loadScoresInRange(_arg1:String, _arg2:String="All-Time", _arg3:uint=1, _arg4:uint=10):void{ if (((!(_arg1)) || ((_arg1 == "")))){ sendError({command_id:getCommandID("postScore")}, new APIError("MISSING_PARAM", "missing required parameter(s)")); return; }; var _local5:ScoreBoard = getScoreBoardByName(_arg1); if (_local5){ _local5.loadScoresInRange(_arg2, _arg3, _arg4); } else { sendWarning((("loadScoresInRange: Scoreboard " + _arg1) + " could not be found.")); }; } private static function populateMedals(_arg1:Array):void{ var _local2:uint; var _local3:Object; if (_medals === null){ _medals = new Array(); _local2 = 0; while (_local2 < _arg1.length) { _local3 = _arg1[_local2]; _medals.push(Medal.createFromObject(_local3)); _local2++; }; }; sendMessage("Medals loaded!"); } private static function populateSaveGroups(_arg1:Array):void{ var _local3:SaveGroup; _saveGroups = []; var _local2:uint; while (_local2 < _arg1.length) { _local3 = SaveGroup.createFromObject(_arg1[_local2]); _saveGroups.push(_local3); _local2++; }; } private static function populateScoreBoards(_arg1:Array):void{ _scoreboards = []; var _local2:uint; while (_local2 < _arg1.length) { _scoreboards.push(new ScoreBoard(_arg1[_local2].id, _arg1[_local2].name, "")); _local2++; }; } public static function get medals():Array{ return ((_medals) ? _medals.concat() : []); } public static function getMedalById(_arg1:uint):Medal{ var _local2:Medal; for each (_local2 in _medals) { if (_local2.id == _arg1){ return (_local2); }; }; return (null); } public static function getMedalByName(_arg1:String):Medal{ var _local2:Medal; for each (_local2 in _medals) { if (_local2.name == _arg1){ return (_local2); }; }; return (null); } public static function unlockMedal(_arg1:String):void{ var _local3:Object; var _local4:Object; if (((!(_arg1)) || ((_arg1 == "")))){ sendError({command_id:getCommandID("unlockMedal")}, new APIError("MISSING_PARAM", "missing required medal name")); return; }; var _local2:Medal = getMedalByName(_arg1); if (!_local2){ sendMessage(("No medal with name: " + _arg1)); return; }; if (((hasUserSession()) || (debugMode))){ sendMessage((("Attempting to unlock '" + _local2.name) + "'")); if (_local2.unlocked){ sendWarning((("Medal '" + _local2.name) + "' is already unlocked!")); return; }; _local3 = new Object(); _local3.medal_id = _local2.id; sendSecureCommand("unlockMedal", _local3); } else { sendMessage(("Locally unlocking " + _local2.name)); if (_local2.unlocked){ sendWarning((("Medal '" + _local2.name) + "' is already unlocked!")); return; }; _local2.unlocked = true; _local4 = loadLocal("medals_unlocked"); if (!_local4){ _local4 = new Object(); }; _local4[_local2.id.toString()] = true; saveLocal("medals_unlocked", _local4); callListener(APIEvent.MEDAL_UNLOCKED, true, _local2); }; } public static function loadMedals():void{ if (_medals){ dispatchEvent(new APIEvent(APIEvent.MEDALS_LOADED, true, medals)); return; }; var _local1:Object = new Object(); if (hasUserSession()){ _local1.publisher_id = publisher_id; _local1.user_id = user_id; }; sendCommand("getMedals", _local1); } public static function saveLocal(_arg1:String, _arg2:Object, _arg3:uint=0):void{ var sharedObj:SharedObject; var save_id = _arg1; var save_data = _arg2; var size_allocation = _arg3; try { if (!sharedObjects[save_id]){ sharedObjects[save_id] = SharedObject.getLocal(((("ng_ap_secure_" + _trackerId) + "_") + save_id)); }; sharedObj = sharedObjects[save_id]; sharedObj.data[save_id] = encodeData(save_data); sharedObj.flush(); } catch(e:Error) { sendWarning(("saveLocal ERROR: " + e)); }; } public static function loadLocal(_arg1:String):Object{ var sharedObj:SharedObject; var save_id = _arg1; try { if (!sharedObjects[save_id]){ sharedObjects[save_id] = SharedObject.getLocal(((("ng_ap_secure_" + _trackerId) + "_") + save_id)); }; sharedObj = sharedObjects[save_id]; if (((((sharedObj) && (sharedObj.data))) && (sharedObj.data[save_id]))){ return (decodeData(sharedObj.data[save_id])); } else { return (null); }; } catch(e:Error) { sendWarning(("loadLocal ERROR: " + e)); }; return (null); } public static function encodeData(_arg1:Object):String{ return (compressHex(RC4.encrypt(JSON.encode(_arg1), _encryptionKey))); } public static function decodeData(_arg1:String){ return (JSON.decode(RC4.decrypt(uncompressHex(_arg1), _encryptionKey))); } private static function compressHex(_arg1:String):String{ var _local2:uint = (_arg1.length % 6); var _local3 = ""; var _local4:uint; while (_local4 < _arg1.length) { _local3 = (_local3 + compressor.encode(uint(("0x" + _arg1.substr(_local4, 6))), 4)); _local4 = (_local4 + 6); }; return ((_local2.toString() + _local3)); } private static function uncompressHex(_arg1:String):String{ var _local4:uint; var _local6:String; var _local7:uint; var _local8:String; var _local2:uint = uint(_arg1.charAt(0)); var _local3 = ""; var _local5:uint = 1; while (_local5 < _arg1.length) { _local6 = _arg1.substr(_local5, 4); _local7 = uint(compressor.decode(_local6)); _local8 = _local7.toString(16); if ((_local5 + 4) < _arg1.length){ _local4 = 6; } else { _local4 = _local2; }; while (_local8.length < _local4) { _local8 = ("0" + _local8); }; _local3 = (_local3 + _local8); _local5 = (_local5 + 4); }; return (_local3); } public static function getSaveGroupById(_arg1:uint):SaveGroup{ if (((!(_saveGroups)) || ((_saveGroups.length < 1)))){ sendWarning("No save groups found"); return (null); }; var _local2:uint; while (_local2 < _saveGroups.length) { if (_saveGroups[_local2].id == _arg1){ return (_saveGroups[_local2]); }; _local2++; }; return (null); } public static function getSaveGroupByName(_arg1:String):SaveGroup{ if (((!(_saveGroups)) || ((_saveGroups.length < 1)))){ sendWarning("No save groups found"); return (null); }; var _local2:uint; while (_local2 < _saveGroups.length) { if (_saveGroups[_local2].name == _arg1){ return (_saveGroups[_local2]); }; _local2++; }; return (null); } public static function createSaveQuery(_arg1:String):SaveGroupQuery{ var _local2:SaveGroup = getSaveGroupByName(_arg1); if (_local2){ return (_local2.createQuery()); }; return (null); } public static function executeSaveQuery(_arg1:SaveGroupQuery):void{ sendCommand("lookupSaveFiles", {publisher_id:publisher_id, group_id:_arg1.groupId, query:JSON.encode(_arg1.toObject())}, false, null, _arg1); } public static function checkFilePrivledges(_arg1:SaveFile):void{ sendCommand("checkFilePrivs", {group:_arg1.groupId, filename:_arg1.name, user_id:(user_id) ? user_id : 0, publisher_id:publisher_id}); } public static function newSaveFile(_arg1:String):SaveFile{ var _local2:SaveGroup = getSaveGroupByName(_arg1); if (_local2){ return (new SaveFile(_local2)); }; sendError({command_id:"newSaveFile"}, new APIError("INVALID_SAVE_GROUP", (("'" + _local2) + "' is not a valid save group."))); return (null); } public static function saveFile(_arg1:SaveFile, _arg2:Boolean=false, _arg3:Boolean=false):void{ var _local4:Object = _arg1.toObject(); _local4.user_name = user_name; if (_arg1.id){ _local4.save_id = _arg1.id; }; _local4.overwrite = (_arg3) ? 1 : 0; if (_arg2){ _local4.draft = 1; }; var _local5:ByteArray = new ByteArray(); if ((_arg1.contents is ByteArray)){ _local5.writeByte(0); _local5.writeBytes(_arg1.contents); } else { _local5.writeByte(1); _local5.writeObject(_arg1.contents); }; _local5.compress(); var _local6:Object = new Object(); _local6.file = _local5; if (_arg1.thumbnail){ _local6.thumbnail = PNGEncoder.encode(_arg1.thumbnail); }; sendSecureCommand("saveFile", _local4, null, _local6, _arg1); } public static function rateSaveFile(_arg1:SaveFile, _arg2:SaveRating, _arg3:Number):void{ sendSecureCommand("rateSaveFile", {group:_arg1.groupId, save_id:_arg1.id, rating_id:_arg2.id, vote:_arg3, user_id:user_id}, null, null, _arg1); } public static function loadSaveFile(_arg1:Number, _arg2:Boolean=true){ var _local3:Object = {publisher_id:publisher_id, save_id:_arg1, get_contents:_arg2}; sendCommand("loadSaveFile", _local3); } private static function doEvent(_arg1:Object):void{ var _local2:String; var _local3:Object; var _local4:String; var _local5:Boolean; var _local6:ScoreBoard; var _local7:Array; var _local8:*; var _local9:String; var _local10:Medal; var _local11:SaveGroup; var _local12:SaveFile; var _local13:uint; var _local14:Object; var _local15:uint; switch (getCommandName(_arg1.command_id)){ case "connectMovie": timeoutTimer.stop(); if (_arg1.success){ sendMessage("You have successfully connected to the Newgrounds API Gateway"); sendMessage((("Movie identified as \"" + _arg1.movie_name) + "\"")); callListener(APIEvent.API_CONNECTED, _arg1.success, {title:_arg1.movie_name}); } else { callListener(APIEvent.API_CONNECTED, _arg1.success, {}); return; }; _local5 = false; if (_arg1.ad_status === -1){ _local2 = "This movie was not approved to run Flash Ads."; sendWarning(_local2); sendWarning((("visit " + AD_TERMS_URL) + " to view our approval guidelines")); if (!_arg1.ad_url){ callListener(APIEvent.ADS_APPROVED, false, new APIError("FLASH_ADS_NOT_APPROVED", _local2)); } else { _local5 = true; }; } else { if (_arg1.ad_status === 0){ _local2 = "Flash Ads are currently awaiting approval."; sendNotice(_local2); if (!_arg1.ad_url){ callListener(APIEvent.ADS_APPROVED, false, new APIError("FLASH_ADS_NOT_APPROVED", _local2)); } else { _local5 = true; }; }; }; if (_arg1.ad_url){ ad_url = unescape(_arg1.ad_url); if (!_local5){ sendMessage("This movie has been approved to run Flash Ads!"); }; _adsApproved = true; callListener(APIEvent.ADS_APPROVED, true); }; if (_arg1.deny_host){ _local2 = (getHost() + " does not have permission to run this movie!"); sendWarning(_local2); sendWarning(("\tUpdate your API configuration to unblock " + getHost())); callListener(APIEvent.HOST_BLOCKED, true, {real_url:unescape(_arg1.movie_url), url:getOfficialURL()}); }; if (_arg1.movie_version){ sendWarning("According to your API Configuration, this version is out of date."); if (version){ sendWarning(("\tThe this movie is version " + version)); }; sendWarning(("\tThe most current version is " + _arg1.movie_version)); callListener(APIEvent.NEW_VERSION_AVAILABLE, true, {version:_arg1.movie_version, real_url:unescape(_arg1.movie_url), url:getOfficialURL()}); }; if (_arg1.request_portal_url){ sendCommand("setPortalID", {portal_url:_host}); }; sendCommand("preloadSettings", {publisher_id:publisher_id, user_id:user_id}); break; case "preloadSettings": if (_arg1.medals){ populateMedals(_arg1.medals); if (((!(hasUserSession())) && (!(debugMode)))){ echo("Checking for SharedObject Medals..."); _local8 = loadLocal("medals_unlocked"); if (_local8){ for (_local9 in _local8) { if (_local8[_local9]){ _local10 = getMedalById(uint(_local9)); echo(("Now unlocking " + _local10.name)); _local10.unlocked = true; }; }; }; }; }; if (_arg1.save_groups){ populateSaveGroups(_arg1.save_groups); }; if (_arg1.save_file_path){ _saveFilePath = (_arg1.save_file_path + "/"); }; if (_arg1.image_file_path){ _imageFilePath = (_arg1.image_file_path + "/"); }; if (_arg1.score_boards){ populateScoreBoards(_arg1.score_boards); }; sendMessage("Metadata loaded!"); callListener(APIEvent.METADATA_LOADED, _arg1.success); if (((_saveFileId) && (_saveGroupId))){ _local11 = getSaveGroupById(_saveGroupId); if (_local11){ callListener(APIEvent.FILE_REQUESTED, true, {save_id:_saveFileId, group:_local11}); }; }; _preloadComplete = true; break; case "logCustomEvent": if (_arg1.success){ sendMessage((("Event '" + _arg1.event) + "' was logged.")); }; callListener(APIEvent.EVENT_LOGGED, _arg1.success, {event:_arg1.event}); break; case "postScore": if (_arg1.success){ _local4 = "User"; if (user_email){ _local4 = user_email; } else { if (user_name){ _local4 = user_name; }; }; _local6 = getScoreBoardById(_arg1.board); if (_local6){ sendMessage((((((_local4 + " posted ") + _arg1.value) + " to '") + _local6.name) + "'")); }; _local3 = {score:_arg1.score, value:_arg1.value, username:_local4}; }; callListener(APIEvent.SCORE_POSTED, _arg1.success, _local3); break; case "loadScores": _local3 = new Object(); _local6 = getScoreBoardById(_arg1.board); if (_local6){ _local6.setScores(_arg1.scores, _arg1.period, _arg1.page, _arg1.num_results); }; callListener(APIEvent.SCORES_LOADED, _arg1.success, _local6); break; case "unlockMedal": if (_medals){ _local10 = getMedalByName(_arg1.medal_name); if (_local10.unlocked){ return; }; _local10.unlocked = true; callListener(APIEvent.MEDAL_UNLOCKED, _arg1.success, _local10); }; break; case "getMedals": if (_arg1.success){ populateMedals(_arg1.medals); }; callListener(APIEvent.MEDALS_LOADED, _arg1.success, _local3); break; case "loadSaveFile": if (_arg1.success){ _local11 = getSaveGroupById(_arg1.group_id); _local12 = new SaveFile(_local11); _local12.id = _arg1.file.save_id; _local12.name = _arg1.file.filename; _local12.fileUrl = (_saveFilePath + _arg1.file.file); _local12.thumbnailUrl = (_imageFilePath + _arg1.file.thumb); _local12.authorName = _arg1.file.user_name; _local12.authorId = _arg1.file.user_id; _local12.setStatus(_arg1.file.status); _local12.description = _arg1.file.description; if (((_arg1.file.keys) && (_arg1.file.keys.length))){ _local13 = 0; while (_local13 < _arg1.file.keys.length) { _local12.setKey(_arg1.file.keys[_local13].id, _arg1.file.keys[_local13].value); _local13++; }; }; if (((_arg1.file.ratings) && (_arg1.file.ratings.length))){ _local13 = 0; while (_local13 < _arg1.file.ratings.length) { _local12.setRating(_arg1.file.ratings[_local13].id, _arg1.file.ratings[_local13].votes, _arg1.file.ratings[_local13].score); _local13++; }; }; if (_arg1.get_contents){ _local12.loadContents(); }; }; callListener(APIEvent.FILE_INITIALIZED, _arg1.success, _local12); break; case "lookupSaveFiles": _local7 = []; _local13 = 0; while (_local13 < _arg1.files.length) { _local14 = _arg1.files[_local13]; _local12 = new SaveFile(getSaveGroupById(_arg1.group_id)); _local12.name = _local14.filename; _local12.id = _local14.save_id; _local12.description = _local14.description; _local12.thumbnailUrl = (_imageFilePath + _local14.thumb); _local12.fileUrl = (_saveFilePath + _local14.file); _local12.authorName = _local14.user_name; _local12.authorId = _local14.user_id; _local12.setStatus(_local14.status); if (((_local14.keys) && (_local14.keys.length))){ _local15 = 0; while (_local15 < _local14.keys.length) { _local12.setKey(_local14.keys[_local15].id, _local14.keys[_local15].value); _local15++; }; }; if (((_local14.ratings) && (_local14.ratings.length))){ _local15 = 0; while (_local15 < _local14.ratings.length) { _local12.setRating(_local14.ratings[_local15].id, _local14.ratings[_local15].votes, _local14.ratings[_local15].score); _local15++; }; }; _local7.push(_local12); _local13++; }; _arg1.owner.dispatchEvent(new APIEvent(APIEvent.QUERY_COMPLETE, _arg1.success, _local7)); break; case "rateSaveFile": _local12 = _arg1.owner; if (_arg1.success){ _local12.setRating(_arg1.rating_id, _arg1.votes, _arg1.score); }; _local12.dispatchEvent(new APIEvent(APIEvent.VOTE_COMPLETE, _arg1.success, _arg1)); break; case "saveFile": _local3 = {}; if (_arg1.success){ _local3 = {save_id:_arg1.save_id, filename:_arg1.filename, file_url:_arg1.file_url, thumbnail:_arg1.thumbnail, icon:_arg1.icon}; SaveFile(_arg1.owner).fileSaved(_local3); }; _arg1.owner.dispatchEvent(new APIEvent(APIEvent.FILE_SAVED, _arg1.success, _local3)); break; case "checkFilePrivs": _local3 = {filename:_arg1.filename, folder:_arg1.folder, can_read:_arg1.can_read, can_write:_arg1.can_write}; callListener(APIEvent.FILE_PRIVS_LOADED, _arg1.success, _local3); break; }; } public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:uint=0, _arg5:Boolean=false):void{ _eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public static function hasEventListener(_arg1:String):Boolean{ return (_eventDispatcher.hasEventListener(_arg1)); } public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _eventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } private static function dispatchEvent(_arg1:Event):void{ _eventDispatcher.dispatchEvent(_arg1); echo(("Fired Event: " + _arg1.type)); } static function callListener(_arg1:String, _arg2:Boolean=true, _arg3=undefined):void{ dispatchEvent(new APIEvent(_arg1, _arg2, _arg3)); if (_bridge){ _bridge.sendEvent(_arg1, {success:_arg2, data:_arg3}); }; } private static function getCommandName(_arg1:String):String{ return (_arg1); } private static function getCommandID(_arg1:String):String{ return (_arg1); } private static function getPeriodAliases():Object{ var _local2:String; var _local1:Object = new Object(); for (_local2 in period_aliases) { _local1[period_aliases[_local2].alias] = _local2; }; return (_local1); } public static function getPeriodName(_arg1:String):String{ var _local2:String; for (_local2 in period_aliases) { if (_local2 == _arg1){ return (period_aliases[_local2].name); }; }; return (null); } public static function getPeriodAlias(_arg1:String):String{ var _local2:String; for (_local2 in period_aliases) { if (_local2 == _arg1){ return (period_aliases[_local2].alias); }; }; return (null); } private static function sendError(_arg1:Object, _arg2:APIError):void{ var _local3:String = ((((("[NewgroundsAPI ERROR] :: " + getCommandName(_arg1.command_id)) + "() - ") + _arg2.name) + ":\n\t\t\t\t") + _arg2.message); trace(_local3); if (_bridge){ _bridge.sendEvent("trace", {data:_local3}); }; } private static function sendWarning(_arg1:String, _arg2:String=null):void{ if (_arg2){ _arg1 = (_arg1 + ((("\n[NewgroundsAPI WARNING] :: \tSee " + COMMANDS_WIKI_URL) + _arg2.toLowerCase()) + " for additional information.")); }; trace(_arg1); if (_bridge){ _bridge.sendEvent("trace", {data:_arg1}); }; } private static function sendNotice(_arg1:String, _arg2:String=null):void{ var _local3:String; if (_arg2){ _arg1 = (_arg1 + ((("\n[NewgroundsAPI NOTICE] :: \tSee " + COMMANDS_WIKI_URL) + _arg2.toLowerCase()) + " for additional information.")); }; trace(_arg1); if (_bridge){ _bridge.sendEvent("trace", {data:_arg1}); }; } private static function fatalError(_arg1:String, _arg2:String):void{ if (_arg2){ _arg1 = (_arg1 + ((("\n\tSee " + COMMANDS_WIKI_URL) + _arg2.toLowerCase()) + " for additional information.")); }; throw (new Error(("***ERROR*** class=API\n\n" + _arg1))); } public static function sendSecureCommand(_arg1:String, _arg2:Object, _arg3:Object=null, _arg4:Object=null, _arg5=null):void{ if (((((!(debugMode)) && (!(hasUserSession())))) && (!(hasUserEmail())))){ sendError({command_id:getCommandID(_arg1)}, new APIError("IDENTIFICATION_REQUIRED", (("You must be logged in or provide an e-mail address ( using NewgroundsAPI.setUserEmail(\"name@domain.com\"); ) to use " + _arg1) + "()."))); return; }; if (!_arg1){ fatalError("Missing command", "sendSecureCommand"); }; if (!_arg2){ fatalError("Missing secure_params", "sendSecureCommand"); }; if (!_arg3){ _arg3 = new Object(); }; var _local6 = ""; var _local7:uint; while (_local7 < 16) { _local6 = (_local6 + compression_radix.charAt(Math.floor((Math.random() * compression_radix.length)))); _local7++; }; if (((debugMode) && (!(session_id)))){ _arg2.session_id = ""; } else { _arg2.session_id = session_id; }; _arg2.as_version = 3; _arg2.user_email = user_email; _arg2.publisher_id = publisher_id; _arg2.seed = _local6; _arg2.command_id = getCommandID(_arg1); var _local8:String = MD5.hash(_local6); var _local9:String = RC4.encrypt(JSON.encode(_arg2), _encryptionKey); var _local10:String = (_local8 + _local9); _arg3.secure = compressHex(_local10); secureCommand = _arg1; sendCommand("securePacket", _arg3, false, _arg4, _arg5); } public static function stopPendingCommands():void{ SmartURLLoader.closeAll(); } private static function onCommandComplete(_arg1:Event):void{ var response:Object; var error:APIError; var e = _arg1; var loader:SmartURLLoader = SmartURLLoader(e.target); echo((("INPUT: \n" + loader.response) + "\n")); var i:uint; while (i < _preloadAssets.length) { if (_preloadAssets[i] == loader){ _preloadAssets.splice(i, 1); break; }; i = (i + 1); }; try { response = JSON.decode(loader.response); } catch(error:Error) { response = {success:false}; }; if (!response){ response = {command_id:loader._command, success:false}; }; response.owner = loader.owner; if (((!(response)) || (!(response.success)))){ trace(("Error: " + response)); error = new APIError(response.error_code, response.error_msg); sendError(response, error); if (response.command_id){ doEvent(response); }; } else { doEvent(response); }; } private static function onCommandError(_arg1:Event):void{ var _local2:Object = {success:false}; var _local3:SmartURLLoader = SmartURLLoader(_arg1.target); _local2.owner = _local3.owner; var _local4:uint; while (_local4 < _preloadAssets.length) { if (_preloadAssets[_local4] == _local3){ _preloadAssets.splice(_local4, 1); break; }; _local4++; }; if (_local3._command){ _local2.command_id = _local3._command; doEvent(_local2); }; } private static function sendCommand(_arg1:String, _arg2:Object, _arg3:Boolean=false, _arg4:Object=null, _arg5=null):void{ var _local7:String; var _local8:String; var _local9:String; if (((!(connected)) && (!((_arg1 == "connectMovie"))))){ _local7 = (("NewgroundsAPI." + _arg1) + "() - NewgroundsAPI.connectMovie() must be called before this command can be called\n"); fatalError(_local7, "connectMovie"); }; var _local6:SmartURLLoader = new SmartURLLoader(); _local6.addVariable("command_id", getCommandID(_arg1)); _local6.addVariable("tracker_id", _movieId); if (debugMode){ _local6.addVariable("debug", 1); }; if (_arg2){ for (_local8 in _arg2) { _local6.addVariable(_local8, _arg2[_local8]); }; }; if (_arg4){ for (_local9 in _arg4) { _local6.addFile(_local9, _arg4[_local9], _local9); }; }; if (_arg3){ _local6.method = URLRequestMethod.GET; } else { _local6.method = URLRequestMethod.POST; }; _local6.preventCache = true; if (_arg3){ _local6.openBrowser = true; _local6.method = URLRequestMethod.GET; } else { _local6.addEventListener(Event.COMPLETE, onCommandComplete); _local6.addEventListener(IOErrorEvent.IO_ERROR, onCommandError); _local6.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onCommandError); _local6.method = URLRequestMethod.POST; }; if (_arg2.secure){ _local6._command = secureCommand; } else { _local6._command = getCommandID(_arg1); }; _local6.owner = _arg5; _local6.load(GATEWAY_URL); } public static function isFlashVersion(_arg1:uint, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0):Boolean{ var _local6:Array = Capabilities.version.split(" ")[1].split(","); var _local7:Array = arguments; var _local8:uint; while (_local8 < _local7.length) { _local6[_local8] = uint(_local6[_local8]); _local8++; }; _local8 = 0; while (_local8 < _local7.length) { if (_local6[_local8] > _local7[_local8]){ return (true); }; if (_local6[_local8] < _local7[_local8]){ return (false); }; _local8++; }; return (true); } public static function createAd():FlashAd{ sendMessage("You may see a security sandbox violation. This is normal!"); return (new FlashAd()); } public static function sendMessage(_arg1:String, _arg2:Boolean=false):void{ var _local3:String = ("[NewgroundsAPI] :: " + _arg1); trace(_local3); if (_bridge){ _bridge.sendEvent("trace", {data:_local3}); }; } private static function echo(_arg1:String):void{ if (do_echo){ trace(_arg1); }; } } }//package com.newgrounds
Section 15
//APIError (com.newgrounds.APIError) package com.newgrounds { import flash.utils.*; public class APIError { public var code:Number;// = 0 public var message:String; public var name:String; public var alias:String; public static const aliases:Array = new Array("UNKNOWN_ERROR", "INVALID_API_ID", "MISSING_PARAM", "INVALID_STAT_ID", "INVALID_COMMAND_ID", "FLASH_ADS_NOT_APPROVED", "PERMISSION_DENIED", "IDENTIFICATION_REQUIRED", "INVALID_EMAIL_ADDRESS", "BANNED_USER", "SESSION_EXPIRED", "INVALID_SCORE", "INVALID_MEDAL", "INVALID_FOLDER", "FILE_NOT_FOUND", "SITE_ID_REQUIRED", "UPLOAD_IN_PROGRESS", "USER_CANCELLED", "CONFIRM_REQUEST", "CONNECTION_FAILED"); private static const always_caps:Array = new Array("API", "URL", "ID"); public static const error_codes:Object = init_codes(); public static const error_names:Object = init_names(); public function APIError(_arg1, _arg2:String){ if ((_arg1 is String)){ _arg1 = error_codes[_arg1]; } else { if (!(_arg1 is uint)){ _arg1 = 0; }; }; this.code = _arg1; this.message = _arg2; this.name = error_names[_arg1]; this.alias = aliases[_arg1]; } public function isError():Boolean{ return (true); } public static function init_codes():Dictionary{ var _local1:Dictionary = new Dictionary(); var _local2:uint; while (_local2 < aliases.length) { _local1[aliases[_local2]] = _local2; _local2++; }; return (_local1); } private static function init_names():Array{ var _local3:Array; var _local4:uint; var _local5:String; var _local1:Array = new Array(); var _local2:uint; while (_local2 < aliases.length) { _local3 = aliases[_local2].toLowerCase().split("_"); _local4 = 0; while (_local4 < _local3.length) { _local3[_local4] = (_local3[_local4].substr(0, 1).toUpperCase() + _local3[_local4].substr(1, _local3[_local4].length)); for each (_local5 in always_caps) { if (_local3[_local4].toUpperCase() == _local5){ _local3[_local4] = _local3[_local4].toUpperCase(); }; }; _local4++; }; _local1[_local2] = _local3.join(" "); _local2++; }; return (_local1); } } }//package com.newgrounds
Section 16
//APIEvent (com.newgrounds.APIEvent) package com.newgrounds { import flash.events.*; public class APIEvent extends Event { private var _data; private var _success:Boolean; private var _target; private var _error:APIError; public static const API_CONNECTED:String = "movieConnected"; public static const ADS_APPROVED:String = "adsApproved"; public static const AD_ATTACHED:String = "adAttached"; public static const HOST_BLOCKED:String = "hostBlocked"; public static const NEW_VERSION_AVAILABLE:String = "newVersionAvailable"; public static const EVENT_LOGGED:String = "eventLogged"; public static const SCORE_POSTED:String = "scorePosted"; public static const SCORES_LOADED:String = "scoresLoaded"; public static const MEDAL_UNLOCKED:String = "medalUnlocked"; public static const MEDALS_LOADED:String = "medalsLoaded"; public static const METADATA_LOADED:String = "metadataLoaded"; public static const FILE_PRIVS_LOADED:String = "filePrivsLoaded"; public static const FILE_SAVED:String = "fileSaved"; public static const FILE_LOADED:String = "fileLoaded"; public static const FILE_INITIALIZED:String = "fileInitialized"; public static const FILE_REQUESTED:String = "fileRequested"; public static const QUERY_COMPLETE:String = "queryComplete"; public static const VOTE_COMPLETE:String = "voteComplete"; public function APIEvent(_arg1:String, _arg2:Boolean=true, _arg3=undefined){ super(_arg1); this._data = _arg3; this._success = _arg2; } public function get success():Boolean{ return (this._success); } public function get data(){ return (this._data); } } }//package com.newgrounds
Section 17
//BaseN (com.newgrounds.BaseN) package com.newgrounds { import flash.utils.*; public class BaseN { private var _hashIndex:String; private var _hashVal:Dictionary; private var _base:Number; public function BaseN(_arg1:String=null){ if (_arg1){ this._hashIndex = _arg1; } else { this._hashIndex = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/"; }; this._base = this._hashIndex.length; this._hashVal = new Dictionary(); var _local2:uint; while (_local2 < this._base) { this._hashVal[this._hashIndex.charAt(_local2)] = _local2; _local2++; }; } public function encode(_arg1:Number, _arg2:uint=1):String{ var _local3:String = _arg1.toString(); var _local4 = ""; if (_local3.charAt(0) == "-"){ _local4 = "-"; _local3 = _local3.substring(1); }; var _local5:Array = _local3.split(".", 2); _local4 = (_local4 + this.baseNEncoder(_local5[0], _arg2)); if (_local5.length > 1){ _local4 = (_local4 + ("." + this.baseNEncoder(_local5[1]))); }; return (_local4); } public function decode(_arg1:String):Number{ var _local2 = ""; if (_arg1.charAt(0) == "-"){ _local2 = "-"; _arg1 = _arg1.substring(1); }; var _local3:Array = _arg1.split(".", 2); _local2 = (_local2 + this.baseNDecoder(_local3[0])); if (_local3.length > 1){ _local2 = (_local2 + "."); _local2 = (_local2 + this.baseNDecoder(_local3[1])); }; return (Number(_local2)); } private function baseNEncoder(_arg1:uint, _arg2:uint=1):String{ var _local3 = ""; var _local4:uint = _arg1; while (_local4 != 0) { _local3 = (this._hashIndex.charAt((_local4 % this._base)) + _local3); _local4 = (_local4 / this._base); }; if (_arg2){ while (_local3.length < _arg2) { _local3 = (this._hashIndex.charAt(0) + _local3); }; }; return (_local3); } private function baseNDecoder(_arg1:String):uint{ var _local2:uint; var _local3:uint; while (_local3 < _arg1.length) { _local2 = (_local2 * this._base); _local2 = (_local2 + this._hashVal[_arg1.charAt(_local3)]); _local3++; }; return (_local2); } } }//package com.newgrounds
Section 18
//Bridge (com.newgrounds.Bridge) package com.newgrounds { import flash.events.*; import flash.net.*; public class Bridge { private var _inConnection:LocalConnection; private var _outConnection:LocalConnection; private var _widgetId:String; public function Bridge(_arg1:String){ this._widgetId = _arg1; this._inConnection = new LocalConnection(); this._outConnection = new LocalConnection(); this._inConnection.client = this; this._inConnection.connect(("rec_" + this._widgetId)); this._outConnection.addEventListener(StatusEvent.STATUS, this.onStatus); } public function sendCommand(_arg1:String, _arg2:Object):void{ if (this._outConnection){ this._outConnection.send(this._widgetId, "sendCommand", _arg1, this.scrubParameters(_arg2)); }; } public function sendEvent(_arg1:String, _arg2:Object):void{ if (this._outConnection){ this._outConnection.send(this._widgetId, "sendEvent", _arg1, this.scrubParameters(_arg2)); }; } public function receiveEvent(_arg1:String, _arg2:Object):void{ API.callListener(_arg1, _arg2.success, _arg2.data); } public function scrubParameters(_arg1:Object):Object{ var _local3:String; var _local2:Object = new Object(); for (_local3 in _arg1) { if ((((((((((_arg1[_local3] is String)) || ((_arg1[_local3] is Number)))) || ((_arg1[_local3] is uint)))) || ((_arg1[_local3] is int)))) || ((_arg1[_local3] is Boolean)))){ _local2[_local3] = _arg1[_local3]; }; }; return (_local2); } private function onStatus(_arg1:Event):void{ } } }//package com.newgrounds
Section 19
//Medal (com.newgrounds.Medal) package com.newgrounds { import flash.display.*; import flash.events.*; import flash.net.*; import flash.system.*; public class Medal { private var _id:uint; private var _name:String; private var _value:uint; private var _difficultyId:uint; private var _unlocked:Boolean;// = false private var _iconUrl:URLRequest; private var _iconLoader:Loader; private var _icon:BitmapData; private static const DEFAULT_ICON:BitmapData = new BitmapData(50, 50, false, 0); private static const DIFFICULT_NAMES:Array = [null, "Easy", "Moderate", "Challenging", "Difficult", "Brutal"]; public function Medal(_arg1:uint, _arg2:String, _arg3:uint, _arg4:uint, _arg5:Boolean, _arg6:String){ var id = _arg1; var name = _arg2; var value = _arg3; var difficulty = _arg4; var unlocked = _arg5; var iconUrl = _arg6; this._icon = DEFAULT_ICON; super(); this._id = id; this._name = name; this._value = value; this._difficultyId = difficulty; this._unlocked = unlocked; if (iconUrl){ this._iconUrl = new URLRequest(iconUrl); this._iconLoader = new Loader(); this._iconLoader.contentLoaderInfo.addEventListener(Event.INIT, this.onIconLoaderInit); this._iconLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.onIconLoaderError); this._iconLoader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.onIconLoaderError); this._iconLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.onIconLoaderComplete); try { this._iconLoader.load(this._iconUrl, new LoaderContext(true)); } catch(e:Error) { onIconLoaderError(null); }; }; } public function get difficulty():String{ return (DIFFICULT_NAMES[this._difficultyId]); } public function get difficultyId():uint{ return (this._difficultyId); } public function get icon():BitmapData{ return (this._icon); } public function get id():uint{ return (this._id); } public function get name():String{ return (this._name); } public function get unlocked():Boolean{ return (this._unlocked); } public function set unlocked(_arg1:Boolean):void{ this._unlocked = _arg1; } public function get value():uint{ return (this._value); } public function get bytesLoaded():uint{ return ((this._iconLoader) ? this._iconLoader.contentLoaderInfo.bytesLoaded : 0); } public function get bytesTotal():uint{ return ((this._iconLoader) ? this._iconLoader.contentLoaderInfo.bytesTotal : 0); } private function onIconLoaderInit(_arg1:Event):void{ } private function onIconLoaderError(_arg1:IOErrorEvent):void{ trace((((("[NewgroundsAPI WARNING] :: Failed to load medal icon for " + this.name) + " (") + this._iconUrl.url.split("/").pop()) + ")")); this._iconLoader.unload(); this._iconLoader = null; } private function onIconLoaderComplete(_arg1:Event):void{ var _local2:Bitmap = (this._iconLoader.content as Bitmap); this._icon = _local2.bitmapData; this._iconLoader.unload(); this._iconLoader = null; } public function unlock():void{ if (!this._unlocked){ API.unlockMedal(this._name); }; } public function createIconBitmap():Bitmap{ return (new Bitmap(this.icon)); } public function toString():String{ return (this._name); } public static function createFromObject(_arg1:Object):Medal{ return (new Medal(_arg1.medal_id, _arg1.medal_name, _arg1.medal_value, _arg1.medal_difficulty, _arg1.medal_unlocked, _arg1.medal_icon)); } } }//package com.newgrounds
Section 20
//RC4 (com.newgrounds.RC4) package com.newgrounds { public class RC4 { private static var sbox:Array = new Array(0xFF); private static var mykey:Array = new Array(0xFF); public static function encrypt(_arg1:String, _arg2:String):String{ var _local3:Array = strToChars(_arg1); var _local4:Array = strToChars(_arg2); var _local5:Array = calculate(_local3, _local4); return (charsToHex(_local5)); } public static function encryptbin(_arg1:String, _arg2:String):Array{ var _local3:Array = strToChars(_arg1); var _local4:Array = strToChars(_arg2); var _local5:Array = calculate(_local3, _local4); return (_local5); } public static function decrypt(_arg1:String, _arg2:String):String{ var _local3:Array = hexToChars(_arg1); var _local4:Array = strToChars(_arg2); var _local5:Array = calculate(_local3, _local4); return (charsToStr(_local5)); } private static function initialize(_arg1:Array):void{ var _local3:uint; var _local2:uint; var _local4:uint = _arg1.length; var _local5:uint; while (_local5 <= 0xFF) { mykey[_local5] = _arg1[(_local5 % _local4)]; sbox[_local5] = _local5; _local5++; }; _local5 = 0; while (_local5 <= 0xFF) { _local2 = (((_local2 + sbox[_local5]) + mykey[_local5]) % 0x0100); _local3 = sbox[_local5]; sbox[_local5] = sbox[_local2]; sbox[_local2] = _local3; _local5++; }; } private static function calculate(_arg1:Array, _arg2:Array):Array{ var _local6:uint; var _local7:uint; var _local8:uint; var _local10:uint; initialize(_arg2); var _local3:uint; var _local4:uint; var _local5:Array = new Array(); var _local9:uint; while (_local9 < _arg1.length) { _local3 = ((_local3 + 1) % 0x0100); _local4 = ((_local4 + sbox[_local3]) % 0x0100); _local7 = sbox[_local3]; sbox[_local3] = sbox[_local4]; sbox[_local4] = _local7; _local10 = ((sbox[_local3] + sbox[_local4]) % 0x0100); _local6 = sbox[_local10]; _local8 = (_arg1[_local9] ^ _local6); _local5.push(_local8); _local9++; }; return (_local5); } private static function charsToHex(_arg1:Array):String{ var _local2:String = new String(""); var _local3:Array = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"); var _local4:uint; while (_local4 < _arg1.length) { _local2 = (_local2 + (_local3[(_arg1[_local4] >> 4)] + _local3[(_arg1[_local4] & 15)])); _local4++; }; return (_local2); } private static function hexToChars(_arg1:String):Array{ var _local2:Array = new Array(); var _local3:uint = ((_arg1.substr(0, 2))=="0x") ? 2 : 0; while (_local3 < _arg1.length) { _local2.push(parseInt(_arg1.substr(_local3, 2), 16)); _local3 = (_local3 + 2); }; return (_local2); } private static function charsToStr(_arg1:Array):String{ var _local2:String = new String(""); var _local3:uint; while (_local3 < _arg1.length) { _local2 = (_local2 + String.fromCharCode(_arg1[_local3])); _local3++; }; return (_local2); } private static function strToChars(_arg1:String):Array{ var _local2:Array = new Array(); var _local3:uint; while (_local3 < _arg1.length) { _local2.push(_arg1.charCodeAt(_local3)); _local3++; }; return (_local2); } } }//package com.newgrounds
Section 21
//SaveFile (com.newgrounds.SaveFile) package com.newgrounds { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; public class SaveFile extends EventDispatcher { private var _filename:String; private var _id:uint; private var _description:String; private var _contents; private var _group:SaveGroup; private var _keys:Dictionary; private var _ratings:Dictionary; private var _fileUrl:String; private var _thumbnail:BitmapData; private var _thumbnailUrl:String; private var _authorId:uint; private var _authorName:String; private var _status:uint; public static const STATUS_PRIVATE = 1; public static const STATUS_SHARED = 2; public static const STATUS_UNAPPROVED = 3; public static const STATUS_APPROVED = 4; public function SaveFile(_arg1:SaveGroup){ this._keys = new Dictionary(); this._ratings = new Dictionary(); this._group = _arg1; this._description = ""; } public function get name():String{ return (this._filename); } public function set name(_arg1:String):void{ this._filename = _arg1; } public function get id():uint{ return (this._id); } public function set id(_arg1:uint):void{ this._id = _arg1; } public function get description():String{ return (this._description); } public function set description(_arg1:String):void{ this._description = _arg1; } public function get contents(){ return (this._contents); } public function set contents(_arg1):void{ this._contents = _arg1; } public function get thumbnailUrl():String{ return (this._thumbnailUrl); } public function set thumbnailUrl(_arg1:String):void{ this._thumbnailUrl = _arg1; } public function get fileUrl():String{ return (this._fileUrl); } public function set fileUrl(_arg1:String):void{ this._fileUrl = _arg1; } public function get thumbnail():BitmapData{ return (this._thumbnail); } public function set thumbnail(_arg1:BitmapData):void{ if (this._thumbnail){ this._thumbnail.dispose(); }; this._thumbnail = _arg1.clone(); } public function get status():uint{ return (this._status); } function setStatus(_arg1:uint):void{ this._status = _arg1; } public function get groupId():uint{ return (this._group.id); } public function get groupName():String{ return (this._group.name); } public function get groupType():uint{ return (this._group.type); } public function get authorName():String{ return (this._authorName); } public function set authorName(_arg1:String):void{ this._authorName = _arg1; } public function get authorId():uint{ return (this._authorId); } public function set authorId(_arg1:uint):void{ this._authorId = _arg1; } public function get shared():Boolean{ return (true); } public function setKey(_arg1, _arg2):void{ var _local3:SaveKey; if ((_arg1 is String)){ _local3 = this._group.getKeyByName(_arg1); } else { _local3 = this._group.getKeyById(_arg1); }; if (_local3){ this._keys[_local3] = {id:_local3.id, val:_arg2}; }; } public function getKey(_arg1){ var _local2:SaveKey; if ((_arg1 is String)){ _local2 = this._group.getKeyByName(_arg1); } else { _local2 = this._group.getKeyById(_arg1); }; if (_local2){ return (this._keys[_local2]); }; return (null); } public function setRating(_arg1, _arg2:Number, _arg3:Number):void{ var _local4:SaveRating; if ((_arg1 is String)){ _local4 = this._group.getRatingByName(_arg1); } else { _local4 = this._group.getRatingById(_arg1); }; if (_local4){ this._ratings[_local4] = {id:_local4.id, name:_local4.name, votes:_arg2, score:_arg3}; }; } public function getRating(_arg1):Object{ var _local2:SaveRating; if ((_arg1 is String)){ _local2 = this._group.getRatingByName(_arg1); } else { _local2 = this._group.getRatingById(_arg1); }; if (_local2){ return (this._ratings[_local2]); }; return (null); } public function sendRating(_arg1:String, _arg2:Number):void{ var _local3:SaveRating = this._group.getRatingByName(_arg1); if (!_local3){ trace((("[NewgroundsAPISaveFile] " + _arg1) + " is not a recognized save file")); return; }; if ((((_arg2 < _local3.minValue)) || ((_arg2 > _local3.maxValue)))){ trace(((("[NewgroundsAPISaveFile] Vote must be between " + _local3.minValue) + " and ") + _local3.maxValue)); return; }; _local3.voted = true; API.rateSaveFile(this, _local3, _arg2); } override public function toString():String{ var _local2:Object; var _local3:Object; var _local1 = (((((("Save File " + this._filename) + " ID: ") + this._id) + "\n ") + this._description) + "\n"); for each (_local2 in this._keys) { _local1 = (_local1 + ((((" " + this._group.getKeyById(_local2.id).name) + ": ") + _local2.val) + "\n")); }; for each (_local3 in this._ratings) { _local1 = (_local1 + ((((((" " + this._group.getRatingById(_local3.id).name) + "\n Score: ") + _local3.score) + " Votes: ") + _local3.votes) + "\n")); }; return (_local1); } public function toObject():Object{ var _local2:Object; var _local1:Object = {group:this.groupId, filename:this.name, description:this.description, shared:true}; _local1.keys = []; for each (_local2 in this._keys) { _local1.keys.push({id:_local2.id, value:_local2.val}); }; return (_local1); } public function save(_arg1:Boolean=false, _arg2:Boolean=false):void{ API.saveFile(this, _arg1, _arg2); } public function loadContents():void{ var _local1:SmartURLLoader; if (this._fileUrl){ _local1 = new SmartURLLoader(); _local1.responseFormat = URLLoaderDataFormat.BINARY; _local1.addEventListener(Event.COMPLETE, this.onContentsLoaded); _local1.load(this._fileUrl); }; } private function onContentsLoaded(_arg1:Event):void{ var _local2:ByteArray = _arg1.target.response; _local2.uncompress(); var _local3:uint = _local2.readUnsignedByte(); if (_local3 == 0){ this._contents = new ByteArray(); this._contents.writeBytes(_local2, 1); } else { this._contents = _local2.readObject(); }; dispatchEvent(new APIEvent(APIEvent.FILE_LOADED, true, this.contents)); } public function loadAuthorPage(){ API.loadUserPage(this._authorId, this._authorName); } function fileSaved(_arg1:Object):void{ this._id = _arg1.save_id; this._thumbnailUrl = _arg1.thumbnail; this._fileUrl = _arg1.file_url; } } }//package com.newgrounds
Section 22
//SaveGroup (com.newgrounds.SaveGroup) package com.newgrounds { public class SaveGroup { private var _name:String; private var _id:uint; private var _type:uint; private var _keys:Array; private var _ratings:Array; private var _files:Array; public static const TYPE_SYSTEM:uint = 0; public static const TYPE_PRIVATE:uint = 1; public static const TYPE_PUBLIC:uint = 2; public static const TYPE_MODERATED:uint = 3; public function SaveGroup(_arg1:uint, _arg2:String, _arg3:uint){ this._name = _arg2; this._id = _arg1; this._type = _arg3; this._ratings = []; this._keys = []; this._files = []; } public function get name():String{ return (this._name); } public function get id():uint{ return (this._id); } public function get type():uint{ return (this._type); } public function get keys():Array{ return (this._keys.concat()); } public function get ratings():Array{ return (this._ratings.concat()); } public function addRating(_arg1:SaveRating):void{ this._ratings.push(_arg1); } public function getRatingById(_arg1:uint):SaveRating{ var _local2:uint; while (_local2 < this._ratings.length) { if (this._ratings[_local2].id == _arg1){ return (this._ratings[_local2]); }; _local2++; }; return (null); } public function getRatingByName(_arg1:String):SaveRating{ var _local2:uint; while (_local2 < this._ratings.length) { if (this._ratings[_local2].name == _arg1){ return (this._ratings[_local2]); }; _local2++; }; return (null); } public function addKey(_arg1:SaveKey):void{ this._keys.push(_arg1); } public function getKeyById(_arg1:uint):SaveKey{ var _local2:uint; while (_local2 < this._keys.length) { if (this._keys[_local2].id == _arg1){ return (this._keys[_local2]); }; _local2++; }; return (null); } public function getKeyByName(_arg1:String):SaveKey{ var _local2:uint; while (_local2 < this._keys.length) { if (this._keys[_local2].name == _arg1){ return (this._keys[_local2]); }; _local2++; }; return (null); } public function createQuery():SaveGroupQuery{ return (new SaveGroupQuery(this)); } public function toString():String{ return ((((((("SaveGroup { name: " + this._name) + ", id: ") + this._id) + ", keys: ") + this._keys) + "}")); } public static function createFromObject(_arg1:Object):SaveGroup{ var _local4:Object; var _local5:Object; var _local2:SaveGroup = new SaveGroup(_arg1.group_id, _arg1.group_name, _arg1.group_type); var _local3:uint; while (_local3 < _arg1.keys.length) { _local4 = _arg1.keys[_local3]; _local2.addKey(new SaveKey(_local4.id, _local4.name, _local4.type)); _local3++; }; _local3 = 0; while (_local3 < _arg1.ratings.length) { _local5 = _arg1.ratings[_local3]; _local2.addRating(new SaveRating(_local5.id, _local5.name, _local5.float, _local5.min, _local5.max)); _local3++; }; return (_local2); } } }//package com.newgrounds
Section 23
//SaveGroupQuery (com.newgrounds.SaveGroupQuery) package com.newgrounds { import flash.events.*; public class SaveGroupQuery extends EventDispatcher { private var _group:SaveGroup; private var _groupBy:Array; private var _lookupKeys:Array; private var _lookupRatings:Array; private var _fileConditions:Array; private var _keyConditions:Array; private var _ratingConditions:Array; private var _sortConditions:Array; private var _page:uint; private var _resultsPerPage:uint; private var _randomizeResults:Boolean; public static const TABLE_FILES:uint = 1; public static const TABLE_KEYS:uint = 2; public static const TABLE_RATINGS:uint = 3; public static const FILE_ID:uint = 0; public static const AUTHOR_ID:uint = 1; public static const AUTHOR_NAME:uint = 2; public static const FILE_NAME:uint = 3; public static const CREATED_ON:uint = 4; public static const UPDATED_ON:uint = 5; public static const TOTAL_VIEWS:uint = 6; public static const FILE_STATUS:uint = 7; public static const SCORE:String = "score"; public static const TOTAL_VOTES:String = "votes"; public function SaveGroupQuery(_arg1:SaveGroup){ this._group = _arg1; this.reset(); } public function get group():SaveGroup{ return (this._group); } public function get groupId():uint{ return (this._group.id); } public function get resultsPerPage():uint{ return (this._resultsPerPage); } public function set resultsPerPage(_arg1:uint):void{ this._resultsPerPage = _arg1; } public function get page():uint{ return (this._page); } public function set page(_arg1:uint):void{ this._page = _arg1; } public function get isRandomized():Boolean{ return (this._randomizeResults); } public function set isRandomized(_arg1:Boolean):void{ this._randomizeResults = _arg1; } public function reset():void{ this._fileConditions = []; this._keyConditions = []; this._ratingConditions = []; this._sortConditions = []; this._groupBy = []; this._lookupKeys = []; this._lookupRatings = []; this._randomizeResults = false; this._resultsPerPage = 20; this._page = 1; } public function includeKey(_arg1:String):void{ var _local2:SaveKey = this._group.getKeyByName(_arg1); if (_local2){ this._lookupKeys.push(_local2.id); }; } public function includeRating(_arg1:String):void{ var _local2:SaveRating = this._group.getRatingByName(_arg1); if (_local2){ this._lookupRatings.push(_local2.id); }; } public function excludeKey(_arg1:String):void{ var _local2:SaveKey = this._group.getKeyByName(_arg1); var _local3:uint; while (_local3 < this._lookupKeys.length) { if (this._lookupKeys[_local3] == _local2.id){ this._lookupKeys.splice(_local3, 1); return; }; _local3++; }; } public function excludeRating(_arg1:String):void{ var _local2:SaveRating = this._group.getRatingByName(_arg1); var _local3:uint; while (_local3 < this._lookupRatings.length) { if (this._lookupRatings[_local3] == _local2.id){ this._lookupRatings.splice(_local3, 1); return; }; _local3++; }; } public function groupBy(_arg1:uint):void{ this._groupBy.push({table:TABLE_FILES, field:_arg1}); } public function groupByRating(_arg1:String):void{ var _local2:SaveRating = this._group.getRatingByName(_arg1); if (!_local2){ return; }; this._groupBy.push({table:TABLE_RATINGS, field:_local2.id}); } public function groupByKey(_arg1:String):void{ var _local2:SaveKey = this._group.getKeyByName(_arg1); if (!_local2){ return; }; this._groupBy.push({table:TABLE_KEYS, field:_local2.id}); } public function addFileCondition(_arg1:uint, _arg2:String, _arg3):void{ this._fileConditions.push({field:_arg1, operator:_arg2, value:_arg3}); } public function addKeyCondition(_arg1:String, _arg2:String, _arg3):void{ var _local4:SaveKey = this._group.getKeyByName(_arg1); if (!_local4){ return; }; if (!this.checkValue(_arg3, _local4.type)){ return; }; this._keyConditions.push({key_id:_local4.id, operator:_arg2, value:_arg3}); } public function addRatingCondition(_arg1:String, _arg2:String, _arg3, _arg4:String="score"):void{ var _local5:SaveRating = this._group.getRatingByName(_arg1); if (!_local5){ return; }; this._ratingConditions.push({rating_id:_local5.id, operator:_arg2, value:_arg3, column:_arg4}); } private function addSortCondition(_arg1:uint, _arg2:uint, _arg3:Boolean=false, _arg4=null):void{ var _local5:Object = {table:_arg1, field:_arg2, desc:_arg3}; if (_arg4){ _local5.extra = _arg4; }; this._sortConditions.push(_local5); } public function sortOn(_arg1:uint, _arg2:Boolean=false):void{ this.addSortCondition(TABLE_FILES, _arg1, _arg2); } public function sortOnKey(_arg1:String, _arg2:Boolean=false):void{ this.addSortCondition(TABLE_KEYS, this._group.getKeyByName(_arg1).id, _arg2); } public function sortOnRating(_arg1:String, _arg2:Boolean=false, _arg3:String="score"):void{ this.addSortCondition(TABLE_RATINGS, this._group.getRatingByName(_arg1).id, _arg2, _arg3); } public function execute():void{ API.executeSaveQuery(this); } private function checkValue(_arg1, _arg2:uint):Boolean{ return (true); } override public function toString():String{ return (""); } public function toObject():Object{ var _local1:Object = {page:this._page, num_results:this._resultsPerPage}; if (this.isRandomized){ _local1.randomize = 1; }; if (((this._fileConditions) && ((this._fileConditions.length > 0)))){ _local1.file_conditions = this._fileConditions; }; if (((this._keyConditions) && ((this._keyConditions.length > 0)))){ _local1.key_conditions = this._keyConditions; }; if (((this._ratingConditions) && ((this._ratingConditions.length > 0)))){ _local1.rating_conditions = this._ratingConditions; }; if (((this._sortConditions) && ((this._sortConditions.length > 0)))){ _local1.sort_conditions = this._sortConditions; }; if (((this._lookupKeys) && ((this._lookupKeys.length > 0)))){ _local1.lookup_keys = this._lookupKeys; }; if (((this._lookupRatings) && ((this._lookupRatings.length > 0)))){ _local1.lookup_ratings = this._lookupRatings; }; if (((this._groupBy) && ((this._groupBy.length > 0)))){ _local1.group_by = this._groupBy; }; return (_local1); } } }//package com.newgrounds
Section 24
//SaveKey (com.newgrounds.SaveKey) package com.newgrounds { public class SaveKey { private var _id:uint; private var _name:String; private var _type:uint; public static const TYPE_FLOAT:uint = 1; public static const TYPE_INTEGER:uint = 2; public static const TYPE_STRING:uint = 3; public static const TYPE_BOOLEAN:uint = 4; public function SaveKey(_arg1:uint, _arg2:String, _arg3:uint){ this._id = _arg1; this._name = _arg2; this._type = _arg3; } public function get id():uint{ return (this._id); } public function get name():String{ return (this._name); } public function get type():uint{ return (this._type); } public function isValueValid(_arg1):Boolean{ if (this._type == TYPE_INTEGER){ return ((((_arg1 is int)) || ((_arg1 is uint)))); }; if (this._type == TYPE_FLOAT){ return ((((((_arg1 is int)) || ((_arg1 is uint)))) || ((_arg1 is Number)))); }; if (this._type == TYPE_STRING){ return ((_arg1 is String)); }; if (this._type == TYPE_BOOLEAN){ return ((((((((_arg1 is Boolean)) || ((_arg1 === 0)))) || ((_arg1 === 1)))) || ((_arg1 == "")))); }; return (false); } public function toString():String{ return (this._name); } } }//package com.newgrounds
Section 25
//SaveRating (com.newgrounds.SaveRating) package com.newgrounds { public class SaveRating { private var _id:uint; private var _name:String; private var _minValue:Number; private var _maxValue:Number; private var _isFloat:Boolean; private var _voted:Boolean; public function SaveRating(_arg1:uint, _arg2:String, _arg3:Boolean, _arg4:Number=-INF, _arg5:Number=INF){ this._id = _arg1; this._name = _arg2; this._isFloat = _arg3; this._minValue = _arg4; this._maxValue = _arg5; } public function get id():uint{ return (this._id); } public function get name():String{ return (this._name); } public function get minValue():Number{ return (this._minValue); } public function get maxValue():Number{ return (this._maxValue); } public function get isFloat():Boolean{ return (this._isFloat); } public function get voted():Boolean{ return (this._voted); } public function set voted(_arg1:Boolean):void{ this._voted = _arg1; } public function toString():String{ return (this._name); } } }//package com.newgrounds
Section 26
//Score (com.newgrounds.Score) package com.newgrounds { public class Score { private var _board:ScoreBoard; private var _position:uint; private var _username:String; private var _value:String; private var _numeric_value:uint; private var _tag:String; public function Score(_arg1:ScoreBoard, _arg2:Number, _arg3:String, _arg4:String, _arg5:uint, _arg6:String){ this._board = _arg1; this._position = _arg2; this._username = _arg3; this._value = _arg4; this._numeric_value = _arg5; this._tag = _arg6; } public function get board():ScoreBoard{ return (this._board); } public function get position():uint{ return (this._position); } public function get username():String{ return (this._username); } public function get value():String{ return (this._value); } public function get numeric_value():uint{ return (this._numeric_value); } public function get tag():String{ return (this._tag); } } }//package com.newgrounds
Section 27
//ScoreBoard (com.newgrounds.ScoreBoard) package com.newgrounds { import flash.events.*; public class ScoreBoard extends EventDispatcher { private var _name:String; private var _id:uint; private var _scores:Array; private var _period:String;// = "Today" private var _num_results:uint;// = 10 private var _desiredNumResults:uint; private var _startRank:uint; private var _endRank:uint; private var _page:uint;// = 1 private var _tag:String; public function ScoreBoard(_arg1:uint, _arg2:String, _arg3:String){ this._name = _arg2; this._id = _arg1; this._scores = []; this._tag = _arg3; } public function exists():Boolean{ return ((this._id > 0)); } public function get id():Number{ return (this._id); } public function get name():String{ return (this._name); } public function get period():String{ return (this._period); } public function get page():uint{ return (this._page); } public function get num_results():uint{ return (this._num_results); } public function get scores():Array{ return (this._scores); } public function get tag():String{ return (this._tag); } public function postScore(_arg1:uint):void{ API.postScore(this._name, _arg1); } public function loadScores(_arg1:String="Today", _arg2:uint=1, _arg3:uint=10):void{ this._period = _arg1; if (((!(this._period)) || ((this._period == "")))){ this._period = ScoreBoardPeriod.TODAY; }; this._page = _arg2; this._num_results = _arg3; this._desiredNumResults = 0; API.loadScores(this); } public function loadScoresInRange(_arg1:String="Today", _arg2:uint=1, _arg3:uint=10):void{ if (_arg2 == 0){ _arg2 = 1; }; if (_arg3 < _arg2){ _arg3 = _arg2; }; this._period = _arg1; if (((!(this._period)) || ((this._period == "")))){ this._period = ScoreBoardPeriod.TODAY; }; this._desiredNumResults = ((_arg3 - _arg2) + 1); this._num_results = this._desiredNumResults; while (int(((_arg2 - 1) / this._num_results)) != int(((_arg3 - 1) / this._num_results))) { this._num_results++; }; this._page = ((_arg2 - 1) / this._num_results); this._startRank = _arg2; this._endRank = _arg3; this._page++; API.loadScores(this); } function setScores(_arg1:Array, _arg2:String, _arg3:Number, _arg4:Number):void{ var _local6:uint; this._period = _arg2; this._page = _arg3; this._num_results = _arg4; this._scores = []; var _local5:uint; while (_local5 < _arg1.length) { _local6 = (((this._num_results * (this._page - 1)) + 1) + _local5); if (((!(this._desiredNumResults)) || ((((_local6 >= this._startRank)) && ((_local6 <= this._endRank)))))){ this._scores.push(new Score(this, _local6, _arg1[_local5].username, _arg1[_local5].value, _arg1[_local5].numeric_value, _arg1[_local5].tag)); }; _local5++; }; this._num_results = this._scores.length; } } }//package com.newgrounds
Section 28
//ScoreBoardPeriod (com.newgrounds.ScoreBoardPeriod) package com.newgrounds { public class ScoreBoardPeriod { public static const TODAY:String = "Today"; public static const WEEK:String = "This Week"; public static const MONTH:String = "This Month"; public static const YEAR:String = "This Year"; public static const ALL_TIME:String = "All-Time"; } }//package com.newgrounds
Section 29
//SmartURLLoader (com.newgrounds.SmartURLLoader) package com.newgrounds { import flash.events.*; import flash.utils.*; import flash.net.*; import flash.errors.*; public class SmartURLLoader extends EventDispatcher { private var _variables:Dictionary; private var _files:Dictionary; private var _hasVariables:Boolean; private var _method:String;// = "GET" private var _urlRequest:URLRequest; private var _urlLoader:URLLoader; private var _dataFormat:String;// = "text" private var _openBrowser:Boolean;// = false private var _preventCache:Boolean;// = false var _command:String; public var owner; private static const CRLF:String = " "; private static var _loaders:Dictionary = new Dictionary(); public function SmartURLLoader(){ this._urlRequest = new URLRequest(); this._variables = new Dictionary(); } public function get responseFormat():String{ return (this._dataFormat); } public function set responseFormat(_arg1:String):void{ this._dataFormat = _arg1; } public function get response(){ return (this._urlLoader.data); } public function get hasFiles():Boolean{ return (Boolean(this._files)); } public function get method():String{ return (this._method); } public function set method(_arg1:String):void{ if (((this.hasFiles) && ((_arg1 == URLRequestMethod.GET)))){ throw (new IllegalOperationError("GET cannot be used to upload files.")); }; this._method = _arg1; } public function get openBrowser():Boolean{ return (this._openBrowser); } public function set openBrowser(_arg1:Boolean):void{ this._openBrowser = _arg1; } public function get preventCache():Boolean{ return (this._preventCache); } public function set preventCache(_arg1:Boolean):void{ this._preventCache = _arg1; } public function addVariable(_arg1:String, _arg2=""):void{ this._variables[_arg1] = _arg2; if (_arg2){ this._hasVariables = true; }; } public function addFile(_arg1:String, _arg2:ByteArray, _arg3:String, _arg4:String="application/octect-stream"):void{ this.method = URLRequestMethod.POST; if (!this._files){ this._files = new Dictionary(); }; this._files[_arg1] = new File(_arg1, _arg2, _arg3, _arg4); } public function clearVariables():void{ this._variables = new Dictionary(); } public function clearFiles():void{ this._files = null; } public function load(_arg1:String):void{ var urlVariables:URLVariables; var key:String; var boundary:String; var i:uint; var event:SecurityErrorEvent; var url = _arg1; this._urlRequest.url = url; if (this._preventCache){ url = (url + ("?seed=" + Math.random())); if (this._hasVariables){ url = (url + "&"); }; }; this._urlRequest.method = this._method; if ((((this._urlRequest.method == URLRequestMethod.GET)) || (!(this.hasFiles)))){ this._urlRequest.contentType = "application/x-www-form-urlencoded"; if (this._hasVariables){ urlVariables = new URLVariables(); for (key in this._variables) { urlVariables[key] = this._variables[key]; }; this._urlRequest.data = urlVariables; }; } else { boundary = ""; i = 0; while (i < 32) { boundary = (boundary + String.fromCharCode(uint((97 + (Math.random() * 25))))); i = (i + 1); }; this._urlRequest.contentType = (("multipart/form-data; boundary=\"" + boundary) + "\""); this._urlRequest.data = this.buildMultipartData(boundary); }; if (this.openBrowser){ navigateToURL(this._urlRequest, "_blank"); } else { this._urlLoader = new URLLoader(); this._urlLoader.dataFormat = this._dataFormat; this._urlLoader.addEventListener(Event.COMPLETE, this.onComplete); this._urlLoader.addEventListener(ProgressEvent.PROGRESS, this.onProgress); this._urlLoader.addEventListener(IOErrorEvent.IO_ERROR, this.onIOError); this._urlLoader.addEventListener(HTTPStatusEvent.HTTP_STATUS, this.onHTTPStatus); this._urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.onSecurityError); _loaders[this._urlLoader] = this; try { this._urlLoader.load(this._urlRequest); } catch(error:Error) { event = new SecurityErrorEvent(SecurityErrorEvent.SECURITY_ERROR, false, false, error.message); onSecurityError(event); }; }; } public function close():void{ try { this._urlLoader.close(); } catch(e:Error) { }; } public function dispose():void{ this.close(); this._files = null; this._variables = null; if (this._urlLoader){ this._urlLoader.removeEventListener(Event.COMPLETE, this.onComplete); this._urlLoader.removeEventListener(ProgressEvent.PROGRESS, this.onProgress); this._urlLoader.removeEventListener(IOErrorEvent.IO_ERROR, this.onIOError); this._urlLoader.removeEventListener(HTTPStatusEvent.HTTP_STATUS, this.onHTTPStatus); this._urlLoader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this.onSecurityError); this._urlLoader = null; }; this._urlRequest = null; delete _loaders[this]; } private function buildMultipartData(_arg1:String):ByteArray{ var _local3:String; var _local4:File; var _local2:ByteArray = new ByteArray(); _local2.endian = Endian.BIG_ENDIAN; _arg1 = ("--" + _arg1); for (_local3 in this._variables) { _local2.writeUTFBytes((_arg1 + CRLF)); _local2.writeUTFBytes(((("Content-Disposition: form-data; name=\"" + _local3) + "\"") + CRLF)); _local2.writeUTFBytes(CRLF); _local2.writeUTFBytes((this._variables[_local3] + CRLF)); }; if (this.hasFiles){ for each (_local4 in this._files) { _local2.writeUTFBytes((_arg1 + CRLF)); _local2.writeUTFBytes(("Content-Disposition: form-data; name=\"Filename\"" + CRLF)); _local2.writeUTFBytes(CRLF); _local2.writeUTFBytes((_local4.fileName + CRLF)); _local2.writeUTFBytes((_arg1 + CRLF)); _local2.writeUTFBytes(((((("Content-Disposition: form-data; name=\"" + _local4.dataField) + "\"; filename=\"") + _local4.fileName) + "\"") + CRLF)); _local2.writeUTFBytes((("Content-Type: " + _local4.contentType) + CRLF)); _local2.writeUTFBytes(CRLF); _local2.writeBytes(_local4.data); _local2.writeUTFBytes(CRLF); }; _local2.writeUTFBytes((_arg1 + CRLF)); _local2.writeUTFBytes(("Content-Disposition: form-data; name=\"Upload\"" + CRLF)); _local2.writeUTFBytes(CRLF); _local2.writeUTFBytes(("Submit Query" + CRLF)); }; _local2.writeUTFBytes((_arg1 + "--")); _local2.position = 0; _local2.position = 0; return (_local2); } private function onComplete(_arg1:Event):void{ dispatchEvent(_arg1); this.dispose(); } private function onProgress(_arg1:ProgressEvent):void{ dispatchEvent(_arg1); } private function onIOError(_arg1:IOErrorEvent):void{ dispatchEvent(_arg1); this.dispose(); } private function onSecurityError(_arg1:SecurityErrorEvent):void{ dispatchEvent(_arg1); this.dispose(); } private function onHTTPStatus(_arg1:HTTPStatusEvent):void{ dispatchEvent(_arg1); } public static function closeAll():void{ var _local1:SmartURLLoader; for each (_local1 in _loaders) { if (_local1){ _local1.close(); }; }; _loaders = new Dictionary(); } } }//package com.newgrounds import flash.utils.*; class File { private var fileName:String; private var data:ByteArray; private var dataField:String; private var contentType:String; private function File(_arg1:String, _arg2:ByteArray, _arg3:String="Filedata", _arg4:String="application/octet-stream"){ this.fileName = _arg1; this.data = _arg2; this.dataField = _arg3; this.contentType = _arg4; } }
Section 30
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.display.*; import flash.net.*; import flash.system.*; public class AdLoader { private static var cpmstarLoader:Loader; public static function LoadAd(_arg1:int, _arg2:int):DisplayObject{ Security.allowDomain("server.cpmstar.com"); var _local3 = "http://server.cpmstar.com/adviewas3.swf"; cpmstarLoader = new Loader(); cpmstarLoader.load(new URLRequest(((((_local3 + "?poolid=") + _arg1) + "&subpoolid=") + _arg2))); return (cpmstarLoader); } } }//package CPMStar
Section 31
//ach_1_25 (HolidaySim_640x480_fla.ach_1_25) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class ach_1_25 extends MovieClip { public function ach_1_25(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package HolidaySim_640x480_fla
Section 32
//ach_2_28 (HolidaySim_640x480_fla.ach_2_28) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class ach_2_28 extends MovieClip { public function ach_2_28(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package HolidaySim_640x480_fla
Section 33
//ach_3_29 (HolidaySim_640x480_fla.ach_3_29) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class ach_3_29 extends MovieClip { public function ach_3_29(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package HolidaySim_640x480_fla
Section 34
//ach_4_30 (HolidaySim_640x480_fla.ach_4_30) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class ach_4_30 extends MovieClip { public function ach_4_30(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package HolidaySim_640x480_fla
Section 35
//adcon_2 (HolidaySim_640x480_fla.adcon_2) package HolidaySim_640x480_fla { import flash.display.*; import CPMStar.*; public dynamic class adcon_2 extends MovieClip { public var CPMStarPoolID:int; public var CPMStarSubPoolID:int; public var adcpm:DisplayObject; public function adcon_2(){ addFrameScript(0, frame1); } function frame1(){ CPMStarPoolID = 7496; CPMStarSubPoolID = 23; adcpm = AdLoader.LoadAd(CPMStarPoolID, CPMStarSubPoolID); addChild(adcpm); } } }//package HolidaySim_640x480_fla
Section 36
//barDialog_44 (HolidaySim_640x480_fla.barDialog_44) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class barDialog_44 extends MovieClip { public var welcome:MovieClip; public function barDialog_44(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package HolidaySim_640x480_fla
Section 37
//barDialogFood_45 (HolidaySim_640x480_fla.barDialogFood_45) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class barDialogFood_45 extends MovieClip { public function barDialogFood_45(){ addFrameScript(362, frame363); } function frame363(){ stop(); Main.dd = 1; Main.curs.visible = true; Main.todo.barman = 1; } } }//package HolidaySim_640x480_fla
Section 38
//barDialogFood2_46 (HolidaySim_640x480_fla.barDialogFood2_46) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class barDialogFood2_46 extends MovieClip { public function barDialogFood2_46(){ addFrameScript(200, frame201); } function frame201(){ stop(); Main.dd = 1; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 39
//barDialogFood3_47 (HolidaySim_640x480_fla.barDialogFood3_47) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class barDialogFood3_47 extends MovieClip { public function barDialogFood3_47(){ addFrameScript(507, frame508); } function frame508(){ stop(); Main.dd = 1; Main.curs.visible = true; Main.todo.food = 1; Main.todo.fish = 0; Main.todo.cash = 550; } } }//package HolidaySim_640x480_fla
Section 40
//beachsprites_38 (HolidaySim_640x480_fla.beachsprites_38) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class beachsprites_38 extends MovieClip { public function beachsprites_38(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package HolidaySim_640x480_fla
Section 41
//checkinDude_51 (HolidaySim_640x480_fla.checkinDude_51) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class checkinDude_51 extends MovieClip { public function checkinDude_51(){ addFrameScript(0, frame1, 23, frame24); } function frame1(){ stop(); } function frame24(){ Main.curs.visible = true; if (!Main.todo.duda){ Main.todo.duda = 1; Main.dd = 1; }; stop(); } } }//package HolidaySim_640x480_fla
Section 42
//dudebeach1_32 (HolidaySim_640x480_fla.dudebeach1_32) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudebeach1_32 extends MovieClip { public var msk:MovieClip; public function dudebeach1_32(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 43
//dudebeach2_40 (HolidaySim_640x480_fla.dudebeach2_40) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudebeach2_40 extends MovieClip { public var msk:MovieClip; public function dudebeach2_40(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 44
//dudebeach5_113 (HolidaySim_640x480_fla.dudebeach5_113) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudebeach5_113 extends MovieClip { public var msk:MovieClip; public function dudebeach5_113(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 45
//dudeCheckin1_52 (HolidaySim_640x480_fla.dudeCheckin1_52) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; import Plugs.*; public dynamic class dudeCheckin1_52 extends MovieClip { public var msk:MovieClip; public var t; public var r; public function dudeCheckin1_52(){ addFrameScript(0, frame1, 1, frame2, 5, frame6, 9, frame10, 16, frame17, 20, frame21, 23, frame24); } function frame1(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame6(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame10(){ Music.snd("fxBell", 2); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame17(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame21(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame24(){ t = this; r = t.parent; r.dude1.play(); } } }//package HolidaySim_640x480_fla
Section 46
//dudefishbattling_62 (HolidaySim_640x480_fla.dudefishbattling_62) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudefishbattling_62 extends MovieClip { public var msk:MovieClip; public function dudefishbattling_62(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame3(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame4(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame5(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame6(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame7(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame8(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 47
//dudefishing_67 (HolidaySim_640x480_fla.dudefishing_67) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudefishing_67 extends MovieClip { public var msk:MovieClip; public function dudefishing_67(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8); } function frame1(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame3(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame4(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame5(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame6(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame7(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame8(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 48
//dudefishingShark_70 (HolidaySim_640x480_fla.dudefishingShark_70) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudefishingShark_70 extends MovieClip { public var msk:MovieClip; public function dudefishingShark_70(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 49
//dudehavingfish_65 (HolidaySim_640x480_fla.dudehavingfish_65) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudehavingfish_65 extends MovieClip { public var msk:MovieClip; public var t; public function dudehavingfish_65(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ t = this; t.gotoAndStop(Main.todo.fish); stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 50
//dudeHospital_81 (HolidaySim_640x480_fla.dudeHospital_81) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudeHospital_81 extends MovieClip { public var msk:MovieClip; public function dudeHospital_81(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 51
//dudeInland_84 (HolidaySim_640x480_fla.dudeInland_84) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudeInland_84 extends MovieClip { public var msk:MovieClip; public function dudeInland_84(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 52
//dudeSurfin1_133 (HolidaySim_640x480_fla.dudeSurfin1_133) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudeSurfin1_133 extends MovieClip { public var msk:MovieClip; public function dudeSurfin1_133(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame3(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame4(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame5(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame6(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame7(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame8(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame9(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame10(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame11(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame12(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 53
//dudeSurfin2_136 (HolidaySim_640x480_fla.dudeSurfin2_136) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudeSurfin2_136 extends MovieClip { public var msk:MovieClip; public function dudeSurfin2_136(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 54
//dudeSurfinJump_134 (HolidaySim_640x480_fla.dudeSurfinJump_134) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudeSurfinJump_134 extends MovieClip { public var msk:MovieClip; public function dudeSurfinJump_134(){ addFrameScript(0, frame1); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 55
//dudsharkchase_120 (HolidaySim_640x480_fla.dudsharkchase_120) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudsharkchase_120 extends MovieClip { public var msk:MovieClip; public function dudsharkchase_120(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame1(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame3(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame4(){ stop(); msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 56
//dudswim1_116 (HolidaySim_640x480_fla.dudswim1_116) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class dudswim1_116 extends MovieClip { public var msk:MovieClip; public function dudswim1_116(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32); } function frame1(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame2(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame3(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame4(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame5(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame6(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame7(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame8(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame9(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame10(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame11(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame12(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame13(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame14(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame15(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame16(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame17(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame18(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame19(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame20(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame21(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame22(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame23(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame24(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame25(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame26(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame27(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame28(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame29(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame30(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame31(){ gotoAndPlay(1); msk.gotoAndStop(Math.floor(Main.todo.teint)); } function frame32(){ msk.gotoAndStop(Math.floor(Main.todo.teint)); } } }//package HolidaySim_640x480_fla
Section 57
//enterletterCurs_99 (HolidaySim_640x480_fla.enterletterCurs_99) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class enterletterCurs_99 extends MovieClip { public var curs:MovieClip; public var txt:TextField; public var t; public function enterletterCurs_99(){ addFrameScript(0, frame1); } function frame1(){ t = this; curs.pos = 1; t.parent.curs = curs; } } }//package HolidaySim_640x480_fla
Section 58
//fishbite_68 (HolidaySim_640x480_fla.fishbite_68) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class fishbite_68 extends MovieClip { public function fishbite_68(){ addFrameScript(0, frame1, 39, frame40); } function frame1(){ stop(); } function frame40(){ Main.todo.fish++; Main.levl = "FishBattle"; if (Main.todo.fish >= 3){ Main.levl = "FishShark"; }; Main.dd = 1; } } }//package HolidaySim_640x480_fla
Section 59
//getBeer_43 (HolidaySim_640x480_fla.getBeer_43) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class getBeer_43 extends MovieClip { public function getBeer_43(){ addFrameScript(0, frame1, 44, frame45); } function frame1(){ stop(); } function frame45(){ Main.todo.blr = (Main.todo.blr + 3); Main.dd = 1; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 60
//getCocktail_41 (HolidaySim_640x480_fla.getCocktail_41) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class getCocktail_41 extends MovieClip { public function getCocktail_41(){ addFrameScript(0, frame1, 44, frame45); } function frame1(){ stop(); } function frame45(){ Main.todo.blr = (Main.todo.blr + 1.5); Main.dd = 1; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 61
//homeDude_79 (HolidaySim_640x480_fla.homeDude_79) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class homeDude_79 extends MovieClip { public function homeDude_79(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package HolidaySim_640x480_fla
Section 62
//hotelDialogCastle1_55 (HolidaySim_640x480_fla.hotelDialogCastle1_55) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class hotelDialogCastle1_55 extends MovieClip { public function hotelDialogCastle1_55(){ addFrameScript(226, frame227); } function frame227(){ stop(); Main.dd = 1; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 63
//hotelDialogCastle2_56 (HolidaySim_640x480_fla.hotelDialogCastle2_56) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class hotelDialogCastle2_56 extends MovieClip { public function hotelDialogCastle2_56(){ addFrameScript(134, frame135); } function frame135(){ stop(); Main.dd = 1; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 64
//hotelDialogCastle3_48 (HolidaySim_640x480_fla.hotelDialogCastle3_48) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class hotelDialogCastle3_48 extends MovieClip { public function hotelDialogCastle3_48(){ addFrameScript(214, frame215); } function frame215(){ stop(); Main.levl = "Sandcastle"; Main.dd = 1; } } }//package HolidaySim_640x480_fla
Section 65
//hotelDialogWelcome_54 (HolidaySim_640x480_fla.hotelDialogWelcome_54) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class hotelDialogWelcome_54 extends MovieClip { public function hotelDialogWelcome_54(){ addFrameScript(288, frame289); } function frame289(){ stop(); Main.dd = 1; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 66
//hotelDudeDialog_53 (HolidaySim_640x480_fla.hotelDudeDialog_53) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class hotelDudeDialog_53 extends MovieClip { public var welcome:MovieClip; public function hotelDudeDialog_53(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package HolidaySim_640x480_fla
Section 67
//jackpotblonk_76 (HolidaySim_640x480_fla.jackpotblonk_76) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class jackpotblonk_76 extends MovieClip { public function jackpotblonk_76(){ addFrameScript(0, frame1, 64, frame65); } function frame1(){ stop(); } function frame65(){ Main.levl = "Arcade"; Main.dd = 1; Main.curs.visible = true; Main.todo.cash = 100; Main.todo.wonmes = 1; stop(); } } }//package HolidaySim_640x480_fla
Section 68
//lever_77 (HolidaySim_640x480_fla.lever_77) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class lever_77 extends MovieClip { public function lever_77(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package HolidaySim_640x480_fla
Section 69
//pixlavorCont_95 (HolidaySim_640x480_fla.pixlavorCont_95) package HolidaySim_640x480_fla { import flash.display.*; import flash.text.*; public dynamic class pixlavorCont_95 extends MovieClip { public var go:MovieClip; public var sprt:MovieClip; public var titl:MovieClip; public var scr:TextField; public function pixlavorCont_95(){ addFrameScript(0, frame1); } function frame1(){ go.visible = false; sprt.visible = false; } } }//package HolidaySim_640x480_fla
Section 70
//PixlvadorgameOver_97 (HolidaySim_640x480_fla.PixlvadorgameOver_97) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class PixlvadorgameOver_97 extends MovieClip { public var blink:MovieClip; public var l1:MovieClip; public var l2:MovieClip; public var l3:MovieClip; public function PixlvadorgameOver_97(){ addFrameScript(0, frame1); } function frame1(){ l1.al = 0; l2.al = 0; l3.al = 0; l1.visible = false; l2.visible = false; l3.visible = false; } } }//package HolidaySim_640x480_fla
Section 71
//PixlvadorgameOverblink_98 (HolidaySim_640x480_fla.PixlvadorgameOverblink_98) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class PixlvadorgameOverblink_98 extends MovieClip { public var t; public function PixlvadorgameOverblink_98(){ addFrameScript(0, frame1, 76, frame77); } function frame1(){ stop(); } function frame77(){ t = this; t.parent.l1.visible = true; t.parent.l2.visible = true; t.parent.l3.visible = true; stop(); } } }//package HolidaySim_640x480_fla
Section 72
//sanboxEnd_110 (HolidaySim_640x480_fla.sanboxEnd_110) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class sanboxEnd_110 extends MovieClip { public function sanboxEnd_110(){ addFrameScript(0, frame1, 495, frame496); } function frame1(){ stop(); } function frame496(){ Main.dd = 1; Main.levl = "Beach"; Main.todo.coins = 1; Main.todo.dia = 10; Main.curs.visible = true; } } }//package HolidaySim_640x480_fla
Section 73
//shopNoBoard_92 (HolidaySim_640x480_fla.shopNoBoard_92) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class shopNoBoard_92 extends MovieClip { public var t; public function shopNoBoard_92(){ addFrameScript(178, frame179); } function frame179(){ stop(); Main.dd = 1; t = this; t.parent.gotoAndStop(1); } } }//package HolidaySim_640x480_fla
Section 74
//shopNoRod_93 (HolidaySim_640x480_fla.shopNoRod_93) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class shopNoRod_93 extends MovieClip { public var t; public function shopNoRod_93(){ addFrameScript(178, frame179); } function frame179(){ stop(); Main.dd = 1; t = this; t.parent.gotoAndStop(1); } } }//package HolidaySim_640x480_fla
Section 75
//shopThanksbucket_91 (HolidaySim_640x480_fla.shopThanksbucket_91) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class shopThanksbucket_91 extends MovieClip { public var t; public function shopThanksbucket_91(){ addFrameScript(50, frame51); } function frame51(){ stop(); Main.dd = 1; t = this; t.parent.gotoAndStop(1); } } }//package HolidaySim_640x480_fla
Section 76
//shopWoman_90 (HolidaySim_640x480_fla.shopWoman_90) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class shopWoman_90 extends MovieClip { public function shopWoman_90(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package HolidaySim_640x480_fla
Section 77
//stayhomemc_124 (HolidaySim_640x480_fla.stayhomemc_124) package HolidaySim_640x480_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class stayhomemc_124 extends MovieClip { public function stayhomemc_124(){ addFrameScript(185, frame186); } function frame186(){ Main.achCode(1); Main.levl = "Achy"; Main.dd = 1; Main.curs.visible = true; stop(); } } }//package HolidaySim_640x480_fla
Section 78
//surfSprite_132 (HolidaySim_640x480_fla.surfSprite_132) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class surfSprite_132 extends MovieClip { public var sprt:MovieClip; public var kol:MovieClip; public var board:MovieClip; public function surfSprite_132(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ kol.visible = false; stop(); } function frame2(){ kol.visible = false; stop(); } } }//package HolidaySim_640x480_fla
Section 79
//surfTut_139 (HolidaySim_640x480_fla.surfTut_139) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class surfTut_139 extends MovieClip { public function surfTut_139(){ addFrameScript(308, frame309); } function frame309(){ stop(); } } }//package HolidaySim_640x480_fla
Section 80
//titletween_145 (HolidaySim_640x480_fla.titletween_145) package HolidaySim_640x480_fla { import flash.display.*; public dynamic class titletween_145 extends MovieClip { public var startGame:SimpleButton; public var gotoAchy:SimpleButton; public function titletween_145(){ addFrameScript(0, frame1, 171, frame172); } function frame1(){ stop(); } function frame172(){ stop(); } } }//package HolidaySim_640x480_fla
Section 81
//Level01 (Levels.Level01) package Levels { import flash.events.*; import Plugs.*; import flash.text.*; import flash.geom.*; import flash.filters.*; public class Level01 { var lmc; var isprt;// = null var ln; var ch; var choices; var nots; var ctb;// = 11 var blackout;// = null var pixlvadorCode;// = null var sandcastleCode;// = null var surfinCode;// = null var tima;// = 0 public function Level01(){ var _local3:TextFormat; lmc = Main.sprt; ln = (Main.levl + "MC"); ch = new Array(); choices = new Array(); nots = new Array(); super(); nots["gotoBar"] = 1; if (Main.levl == "Hotel"){ Main.levl = "Checkin"; }; if (Main.levl == "StopSunbath"){ Main.levl = "Beach"; }; if (Main.levl == "Pixlvador"){ pixlvadorCode = new Pixlvador(); }; if (Main.levl == "Sandcastle"){ sandcastleCode = new Sandcastler(); }; ln = (Main.levl + "MC"); choices[("Home" + "but")] = new Array("gotoStay", "gotoFlight"); choices[("Arrival" + "but")] = new Array("gotoCheckin"); choices[("Checkin" + "but")] = new Array("gotoBeach"); if (Main.todo.dia < 9){ choices[("Checkin" + "but")].unshift("talkToReceptionist"); }; if (!Main.todo.checkin){ choices[("Checkin" + "but")] = new Array("checkinHotel"); }; if (!Main.todo.duda){ choices[("Checkin" + "but")] = new Array("ringBell"); }; choices[("Beach" + "but")] = new Array("gotoSunbathe", "gotoSea", "gotoBar", "gotoCity", "gotoHotel"); choices[("Sunbathe" + "but")] = new Array("gotoBar", "gotoStopSunbath"); if (Main.todo.sunoil == 1){ choices[("Sunbathe" + "but")].unshift("useSunoil"); }; choices[("Sea" + "but")] = new Array("swimFarther", "gotoBeach"); if (Main.todo.fishrod == 1){ choices[("Sea" + "but")].unshift("gotoFishing"); }; if (Main.todo.surfboard == 1){ choices[("Sea" + "but")].unshift("gotoSurfin"); }; choices[("Bar" + "but")] = new Array("buyBeer", "buyCocktail", "gotoBeach"); if (((((Main.todo.barman) && (!(Main.todo.food)))) && ((Main.todo.fish > 0)))){ choices[("Bar" + "but")].unshift("giveFish"); }; if (!Main.todo.food){ choices[("Bar" + "but")].unshift("talkToBarman"); }; choices[("City" + "but")] = new Array("gotoArcade", "gotoMarket", "gotoInland", "gotoBeach"); choices[("Hospital" + "but")] = choices[("City" + "but")]; choices[("Arcade" + "but")] = new Array("gotoPixlvador", "gotoGamble", "sponsorLink", "gotoCity"); choices[("Market" + "but")] = new Array("gotoCity"); if (!Main.todo.surfboard){ choices[("Market" + "but")].unshift("buySurfboard"); }; if (!Main.todo.fishrod){ choices[("Market" + "but")].unshift("buyFishrod"); }; if (!Main.todo.bucket){ choices[("Market" + "but")].unshift("buyBucket"); }; if (!Main.todo.sunoil){ choices[("Market" + "but")].unshift("buySunoil"); }; choices[("Fishing" + "but")] = new Array("useBait1", "gotoBeach"); if (Main.todo.fish == 1){ choices[("Fishing" + "but")] = new Array("useBait2", "gotoBeach"); }; if (Main.todo.fish == 2){ choices[("Fishing" + "but")] = new Array("useBait3", "gotoBeach"); }; choices[("Gamble" + "but")] = new Array("gotoArcade"); if (Main.todo.coins){ choices[("Gamble" + "but")].unshift("useCoins"); }; choices[("Inland" + "but")] = new Array(); choices[("Pixlvador" + "but")] = new Array(); choices[("Sandcastle" + "but")] = new Array(); choices["checkin"] = "CHECK IN"; choices["checkinHotel"] = "CHECK IN"; choices["gotoCheckin"] = "CHECK IN"; choices["gotoBeach"] = "GO TO BEACH"; choices["gotoSunbathe"] = "SUNBATHE"; choices["gotoBar"] = "GO TO BAR"; choices["gotoHotel"] = "GO BACK TO HOTEL"; choices["gotoSea"] = "GO SWIMMING"; choices["swimFarther"] = "SWIM FARTHER"; choices["buyBeer"] = "BUY A BEER"; choices["buyCocktail"] = "BUY COCKTAIL"; choices["gotoInland"] = "VISIT INLAND"; choices["gotoCity"] = "GO INTO CITY"; choices["gotoArcade"] = "GO TO ARCADE"; choices["gotoPixlvador"] = "PLAY PIXLVADOR"; choices["gotoMarket"] = "GO SHOPPING"; choices["gotoStopSunbath"] = "STOP SUNBATHING"; choices["buySunoil"] = "BUY SUN CREME"; choices["buyBucket"] = "BUY BUCKET"; choices["buySurfboard"] = "BUY SURFBOARD"; choices["buyFishrod"] = "BUY FISHING ROD"; choices["useSunoil"] = "USE SUN CREME"; choices["ringBell"] = "RING THE BELL"; choices["talkToReceptionist"] = "TALK TO HOTELIER"; choices["gotoFishing"] = "GO FISHING"; choices["useBait1"] = "USE LITTLE BAIT"; choices["useBait2"] = "USE MEDIUM BAIT"; choices["useBait3"] = "USE BIG BAIT"; choices["gotoGamble"] = "GAMBLE"; choices["useCoins"] = "USE COINS"; choices["gotoSurfin"] = "GO SURFING"; choices["talkToBarman"] = "ORDER FOOD"; choices["giveFish"] = "GIVE FISH"; choices["gotoStay"] = "STAY HOME"; choices["gotoFlight"] = "GO TO AIRPORT"; choices["sponsorLink"] = "VISIT GAMESHOT"; isprt = Tools.getObjectByName(ln); lmc.addChild(isprt); isprt.scrollRect = new Rectangle(0, 0, 640, 480); if (Main.levl == "Surfin"){ surfinCode = new Surfboarder(isprt); }; if (Main.levl == "Sunbathe"){ isprt.addEventListener(Event.REMOVED_FROM_STAGE, teintLim); }; if (isprt.panel){ choiceIni(); isprt.panel.inf.text = ("The " + Main.levl); _local3 = new TextFormat(); _local3.letterSpacing = -2; isprt.panel.inf.setTextFormat(_local3); }; var _local1:* = Main.levl; var _local2:* = 0.4; if (_local1 == "Surfin"){ _local1 = "Pixlvador"; _local2 = 1; }; if ((((_local1 == "Achy")) || ((_local1 == "title")))){ _local1 = "title"; _local2 = 1; }; if (_local1 == "Hospital"){ _local1 = "City"; _local2 = 0.3; }; if (_local1 == "Market"){ _local1 = "Checkin"; _local2 = 0.2; }; if (_local1 == "Checkin"){ _local1 = "Checkin"; _local2 = 0.2; }; if ((((_local1 == "Arrival")) || ((_local1 == "Sea")))){ _local1 = "Beach"; }; if (_local1 == "Sandcastle"){ _local1 = "title"; _local2 = 0.3; }; if (_local1 == "sharkMode"){ _local2 = 1.3; }; Music.loopStart(("loop" + _local1), _local2); } function choiceIni(){ var _local1:* = 0; while (_local1 < 8) { if (choices[(Main.levl + "but")][_local1]){ ch[_local1] = isprt.panel[("ch" + _local1)]; ch[_local1].name2 = choices[(Main.levl + "but")][_local1]; ch[_local1].ctext = choices[ch[_local1].name2]; } else { isprt.panel[("ch" + _local1)].visible = false; }; _local1++; }; choiceCode(); } function choiceCode(){ var _local3:TextFormat; var _local1:* = 0; var _local2:* = 0; while (_local2 < ch.length) { ch[_local2].txt.text = ch[_local2].ctext; if (((!(_local1)) && (ch[_local2].hitTestPoint(isprt.mouseX, isprt.mouseY, true)))){ ch[_local2].txt.text = (">" + ch[_local2].ctext); _local1 = 1; }; _local3 = new TextFormat(); _local3.letterSpacing = -2; ch[_local2].txt.setTextFormat(_local3); _local2++; }; } public function update(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; if (!blackout){ if ((((Main.todo.blr > 25)) || ((Main.todo.teint >= 50)))){ Main.todo.sunoilLevel = 0; blackout = new blackoutMC(); isprt.addChild(blackout); Main.curs.visible = false; isprt.panel.visible = false; }; }; choiceCode(); if (ctb > 8){ ctb = 0; if (Main.todo.blr < 0.1){ isprt.filters = null; } else { isprt.filters = [new BlurFilter(Main.todo.blr, Main.todo.blr, 3)]; }; }; ctb++; if (ln == "SunbatheMC"){ tima++; isprt.sprt.gotoAndStop(Math.floor(Main.todo.teint)); Main.todo.teint = (Main.todo.teint + 0.125); Main.todo.teint = (Main.todo.teint - (0.125 * Main.todo.sunoilLevel)); if (Main.todo.sunoilLevel > 0){ Main.todo.sunoilLevel = (Main.todo.sunoilLevel - 0.001); }; isprt.teint.bar.width = ((Main.todo.teint / 50) * 200); isprt.creme.bar.width = ((Main.todo.sunoilLevel / 1) * 200); if (Main.todo.teint > 35){ isprt.dang.visible = true; } else { isprt.dang.visible = false; }; if (((!(blackout)) && ((tima > 1200)))){ Main.achCode(3); Main.todo.tim = 0; Main.dd = 1; }; }; if (ln == "MarketMC"){ shopCode(); }; if (ln == "titleMC"){ if (!isprt.fnt.introend){ if (!isprt.fnt.n){ isprt.fnt.n = 1; isprt.fnt.fonthit.visible = false; }; isprt.fnt.n++; _local1 = 0; while (_local1 < 14) { _local2 = 0; _local3 = 0; _local4 = 0; while (_local4 < 200) { _local2 = Math.round(((Math.random() * 60) - 1)); _local3 = Math.round((Math.random() * 23)); if (isprt.fnt.fonthit.hitTestPoint(((isprt.fnt.x + (_local2 * 8)) + 2), (isprt.fnt.y + (_local3 * 8)), true)){ isprt.fnt.msk.graphics.beginFill(0xFFFF00); isprt.fnt.msk.graphics.drawRect(_local2, _local3, 1, 1); isprt.fnt.msk.graphics.endFill(); break; }; _local4++; }; _local1++; }; if (isprt.fnt.n > 200){ isprt.twn.play(); isprt.fnt.fonthit.visible = true; isprt.fnt.introend = 1; }; }; }; if (Input.mclick){ if ((((Input.mclick.parent.name2 == "gotoStay")) || ((Input.mclick.parent.name2 == "gotoFlight")))){ Main.curs.visible = false; }; if (Input.mclick.name.substr(0, 4) == "goto"){ Main.levl = Input.mclick.name.substr(4, 99); Main.dd = 1; }; if (Input.mclick.parent.name2){ if (Input.mclick.parent.name2.substr(0, 4) == "goto"){ Main.levl = Input.mclick.parent.name2.substr(4, 99); Main.dd = 1; }; }; if ((((Input.mclick.parent.name2 == "gotoSea")) && ((Main.todo.blr > 4)))){ Main.levl = "Drown"; Main.dd = 1; Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "swimFarther"){ isprt.sprt.y = (isprt.sprt.y - 32); _local5 = 0.2; isprt.sprt.scaleX = (isprt.sprt.scaleX - _local5); isprt.sprt.scaleY = (isprt.sprt.scaleY - _local5); if (isprt.sprt.scaleX < 0.3){ isprt.panel.visible = false; isprt.sharkintro = 1; isprt.shrk.y = isprt.sprt.y; }; }; if (Input.mclick.parent.name2 == "ringBell"){ isprt.panel.visible = false; isprt.sprt.play(); Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "checkinHotel"){ Main.todo.checkin = 1; isprt.dialog.gotoAndStop(2); isprt.panel.visible = false; Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "talkToBarman"){ isprt.dialog.gotoAndStop(2); isprt.panel.visible = false; Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "giveFish"){ if (Main.todo.fish == 1){ isprt.dialog.gotoAndStop(3); }; if (Main.todo.fish == 2){ isprt.dialog.gotoAndStop(4); }; isprt.panel.visible = false; Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "talkToReceptionist"){ if (Main.todo.dia == 1){ isprt.dialog.gotoAndStop("castle2"); if (Main.todo.bucket){ isprt.dialog.gotoAndStop("castle3"); }; }; if (Main.todo.dia == 0){ isprt.dialog.gotoAndStop("castle1"); Main.todo.dia = 1; }; isprt.panel.visible = false; Main.curs.visible = false; }; if ((((((Input.mclick.parent.name2 == "useBait1")) || ((Input.mclick.parent.name2 == "useBait2")))) || ((Input.mclick.parent.name2 == "useBait3")))){ isprt.panel.visible = false; isprt.sprt.play(); Main.curs.visible = false; tima = ((Math.random() * 200) + 48); }; if (Input.mclick.parent.name2 == "useSunoil"){ Main.todo.sunoilLevel = 1; }; if (Input.mclick.parent.name2 == "buyBeer"){ isprt.beerdsp.visible = true; isprt.beerdsp.play(); Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "buySunoil"){ isprt.dialog.gotoAndStop(2); Main.todo.sunoil = 1; }; if (Input.mclick.parent.name2 == "buyBucket"){ isprt.dialog.gotoAndStop(2); Main.todo.bucket = 1; }; if (Input.mclick.parent.name2 == "buyFishrod"){ if (Main.todo.cash >= 100){ isprt.dialog.gotoAndStop(2); Main.todo.fishrod = 1; } else { isprt.dialog.gotoAndStop("norod"); }; }; if (Input.mclick.parent.name2 == "buySurfboard"){ if (Main.todo.cash >= 500){ isprt.dialog.gotoAndStop(2); Main.todo.surfboard = 1; } else { isprt.dialog.gotoAndStop("noboard"); }; }; if (Input.mclick.parent.name2 == "buyCocktail"){ isprt.cocktaildsp.visible = true; isprt.cocktaildsp.play(); Main.curs.visible = false; }; if (Input.mclick.parent.name2 == "useCoins"){ isprt.panel.visible = false; isprt.lever.gotoAndStop(2); isprt.run = 1; isprt.ct = 0; Main.curs.visible = false; Music.snd("fxSlot1", 1); }; Input.mclick = null; }; if (isprt.sharkintro){ Main.curs.visible = false; sharkIntro(); }; if (Main.levl == "sharkMode"){ if (!isprt.sct){ isprt.sct = 0; }; sharkCode(); }; if (Main.levl == "Inland"){ inlandCode(); }; if (Main.levl == "Pixlvador"){ if (pixlvadorCode){ pixlvadorCode.update(isprt); }; }; if (Main.levl == "Sandcastle"){ if (sandcastleCode){ sandcastleCode.update(isprt); }; }; if (Main.levl == "Fishing"){ if (tima > 0){ tima--; if (tima <= 0){ isprt.fishbite.play(); isprt.fishbite.visible = true; }; }; }; if ((((Main.levl == "FishBattle")) && (isprt.fish))){ isprt.fish.y = (isprt.fish.y + (Math.random() * (Main.todo.fish / 5))); if (isprt.fish.y > 136){ isprt.fish.y = 136; }; if (Input.kkode[32] == 1){ isprt.sprt.play(); isprt.fish.y = (isprt.fish.y - 3); if (-140 > isprt.fish.y){ Main.levl = "FishGet"; Main.dd = 1; }; Input.kkode[32] = 0; }; }; if (Main.levl == "FishShark"){ if (isprt.sprt){ isprt.sprt.x = (isprt.sprt.x + 12); if (isprt.sprt.x > 780){ Main.todo.fish = 0; Main.levl = "sharkMode"; Main.dd = 1; }; }; }; if (Main.levl == "Gamble"){ gambleCode(); }; if ((((Main.levl == "Drown")) && (isprt.sprt))){ if (!isprt.sini){ Main.todo.blr = 0; Main.todo.dd = 2; isprt.sini = 1; isprt.si = 0; }; isprt.sprt.y = (isprt.sprt.y + 2); isprt.sprt.x = (320 + (Math.sin(isprt.si) * 80)); isprt.si = (isprt.si + 0.05); if (isprt.sprt.y > 550){ Main.curs.visible = true; Main.achCode(2); Main.levl = "Achy"; Main.dd = 1; }; }; if (Main.levl == "Surfin"){ if (surfinCode){ surfinCode.update(isprt); }; }; if (Main.levl == "Flight"){ if (isprt.plane){ isprt.plane.x = (isprt.plane.x + 8); Main.curs.visible = false; if (isprt.plane.x > 900){ Main.levl = "Arrival"; Main.dd = 1; Main.todo.timerun = 1; Main.curs.visible = true; }; }; }; if (Main.levl == "Flight2"){ if (isprt.plane){ isprt.plane.x = (isprt.plane.x - 8); Main.curs.visible = false; if (-300 > isprt.plane.x){ Main.levl = "Achy"; Main.dd = 1; Main.curs.visible = true; }; }; }; } function surfinCode2(){ if (!isprt.ypos){ isprt.ypos = 1; }; isprt.waves.x = (isprt.waves.x - 12); if (isprt.waves.x < 0){ isprt.waves.x = (isprt.waves.x + 160); }; if (Input.kkode[37] == 1){ isprt.sprt.x = (isprt.sprt.x - 8); }; if (Input.kkode[39] == 1){ isprt.sprt.x = (isprt.sprt.x + 8); }; if (Input.kkode[38] == 1){ Input.kkode[38] = 0; if (isprt.ypos < 3){ isprt.ypos++; }; }; if (Input.kkode[40] == 1){ Input.kkode[40] = 0; if (isprt.ypos > 1){ isprt.ypos--; }; }; if (Input.kkode[32] == 1){ Main.dd = 1; }; if (isprt.sprt.x < 8){ isprt.sprt.x = 8; }; if (isprt.sprt.x > 500){ isprt.sprt.x = 500; }; var _local1:* = 1; if (isprt.ypos == 1){ isprt.sprt.y = 320; }; if (isprt.ypos == 2){ isprt.sprt.y = 260; _local1 = 0.75; }; if (isprt.ypos == 3){ isprt.sprt.y = 200; _local1 = 0.5; }; isprt.sprt.scaleX = _local1; isprt.sprt.scaleY = _local1; } function inlandCode(){ if (isprt.balla){ isprt.balla.x = (isprt.balla.x + 8); Main.curs.visible = false; if (isprt.balla.x > 720){ isprt.balla.x = (isprt.balla.x - 7); isprt.txt.visible = true; if (isprt.balla.x > 790){ Main.levl = "City"; Main.curs.visible = true; Main.dd = 1; }; }; }; } function teintLim(_arg1){ if (Main.todo.teint > 30){ Main.todo.teint = 30; }; } function sharkIntro(){ isprt.shrk.x = (isprt.shrk.x + 2); if (isprt.shrk.x > 180){ isprt.sa.visible = true; isprt.sprt.gotoAndStop("att"); }; if (isprt.shrk.x > 290){ Main.levl = "sharkMode"; Main.dd = 1; }; } function sharkCode(){ if (!blackout){ isprt.shrk.x = (isprt.shrk.x + (Math.random() * 2)); if (Input.kkode[32] == 1){ isprt.shrk.x = (isprt.shrk.x - 5); isprt.sprt.x = (isprt.sprt.x + 0.5); isprt.sprt.play(); Input.kkode[32] = 0; }; isprt.sct++; if (isprt.shrk.x > isprt.sprt.x){ blackout = new blackoutMC(); isprt.addChild(blackout); Main.curs.visible = false; isprt.dsp.visible = false; }; if (isprt.sprt.x > 560){ Main.curs.visible = true; Main.levl = "Beach"; Main.dd = 1; }; }; } function shopCode(){ if (isprt.dialog.currentFrame != 1){ isprt.panel.visible = false; } else { isprt.panel.visible = true; }; if (Main.todo.bucket){ isprt.bucket.visible = false; } else { isprt.bucket.visible = true; }; if (Main.todo.fishrod){ isprt.rod.visible = false; } else { isprt.rod.visible = true; }; if (Main.todo.surfboard){ isprt.board.visible = false; } else { isprt.board.visible = true; }; } function gambleCode(){ if (((Main.todo.coins) && (isprt.nocoins))){ isprt.nocoins.visible = false; if (isprt.run){ isprt.g1.gotoAndStop(Math.floor(((Math.random() * 3) + 1))); isprt.g2.gotoAndStop(Math.floor(((Math.random() * 3) + 1))); isprt.g3.gotoAndStop(Math.floor(((Math.random() * 3) + 1))); isprt.ct++; if (isprt.ct > 42){ if (!Main.todo.won){ Music.snd("fxJackpot", 1); isprt.g1.gotoAndStop(1); isprt.g2.gotoAndStop(1); isprt.g3.gotoAndStop(1); Main.todo.won = 1; isprt.run = 0; isprt.pott.visible = true; isprt.pott.play(); } else { Music.snd("fxSlot2", 1); Main.dd = 1; Main.curs.visible = true; }; }; }; }; } } }//package Levels
Section 82
//Pixlvador (Levels.Pixlvador) package Levels { import flash.events.*; import Plugs.*; import flash.text.*; public class Pixlvador { var lmc; var isprt;// = null var ln; var ch; var ctb;// = 11 var blackout;// = null var ship;// = null var bullet; var ene; var par; var numEnes;// = 1 var enespd;// = 2 var enevar;// = 0 var enexx;// = 8 var killenes;// = 0 var alphabet;// = "ABCDEFGHIJKLMNOPQRSTUVWXYZ " var dd;// = -1 var scr;// = -15 public function Pixlvador(){ lmc = Main.sprt; ln = (Main.levl + "MC"); ch = new Array(); bullet = new Array(); ene = new Array(); par = new Array(); super(); Main.curs.visible = false; } public function update(_arg1){ ship = _arg1.gameCont.sprt; if (((!(ship.dd)) && (!((dd == -1))))){ ship.parent.scr.text = (scr + 15); gamecode(); }; if (ship.ddd){ ship.parent.scr.text = ""; }; if (dd == -1){ titleCode(); }; } function titleCode(){ if (Input.kkode[32] == 1){ Input.kkode[32] = 0; ship.parent.titl.visible = false; ship.visible = true; dd = 0; Music.snd("fxArcade", 1); }; } function gamecode(){ var _local1:* = 8; if (!ship.ddd){ ship.parent.go.gotoAndPlay(1); if ((((Input.kkode[37] == 1)) || ((Input.kkode[65] == 1)))){ ship.x = (ship.x - _local1); }; if ((((Input.kkode[39] == 1)) || ((Input.kkode[68] == 1)))){ ship.x = (ship.x + _local1); }; if ((((Input.kkode[38] == 1)) || ((Input.kkode[87] == 1)))){ ship.y = (ship.y - _local1); }; if ((((Input.kkode[40] == 1)) || ((Input.kkode[83] == 1)))){ ship.y = (ship.y + _local1); }; if (ship.y > 480){ ship.y = 480; }; if (ship.y < 48){ ship.y = 48; }; if (ship.x > 524){ ship.x = 524; }; if (ship.x < 68){ ship.x = 68; }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; shipBulletSpawn(); }; }; bulletCode(); if (!ship.ddd){ eneCode(); }; if (((ship.ddd) || (killenes))){ if (par.length <= 0){ killenes = 1; eneCode(); ship.parent.go.visible = true; if (ship.parent.go.blink.currentFrame == 1){ ship.parent.go.blink.play(); }; goCode(ship.parent.go); }; }; exploCode(); } function shipBulletSpawn(){ Music.snd("fxLaser", 1); var _local1:* = new bulletMC(); _local1.x = ship.x; _local1.y = (ship.y - 50); _local1.yy = -12; ship.parent.addChild(_local1); bullet.push(_local1); } function bulletCode(){ var _local2:*; var _local3:*; var _local1:* = 0; while (_local1 < bullet.length) { _local2 = bullet[_local1]; _local2.y = (_local2.y + _local2.yy); _local3 = 0; while (_local3 < ene.length) { if (_local2.hitTestObject(ene[_local3])){ _local2.dd = 1; ene[_local3].dd = 1; Music.snd("fxExplo", 1); scr = (scr + Math.round((ene[_local3].yy * 100))); exploSpawn(8, ene[_local3].x, ene[_local3].y); if (numEnes < 12){ numEnes = (numEnes + 0.1); }; if (enespd < 14){ enespd = (enespd + 0.1); }; if (enevar < 6){ enevar = (enevar + 0.1); }; if (enexx < 22){ enexx = (enexx + 0.05); }; break; }; _local3++; }; if ((((_local2.y < 0)) || (_local2.dd))){ ship.parent.removeChild(_local2); bullet.splice(_local1, 1); _local1--; }; _local1++; }; } function eneCode(){ var _local2:*; if ((((ene.length < numEnes)) && (!(killenes)))){ _local2 = new ene1MC(); _local2.gotoAndStop(int(((Math.random() * enevar) + 1))); _local2.x = ((Math.random() * 432) + 80); _local2.y = 0; _local2.xx = ((Math.random() * enexx) - (enexx / 2)); _local2.yy = ((Math.random() * enespd) + 2); ship.parent.addChild(_local2); ene.push(_local2); }; var _local1:* = 0; while (_local1 < ene.length) { _local2 = ene[_local1]; _local2.y = (_local2.y + _local2.yy); _local2.x = (_local2.x + _local2.xx); if (((_local2.hitTestObject(ship.parent.parent.koll)) || (_local2.hitTestObject(ship.parent.parent.kolr)))){ _local2.xx = (_local2.xx * -1); }; if (_local2.hitTestObject(ship)){ Music.snd("fxExploShip", 1); exploSpawn(32, ship.x, (ship.y - 24)); ship.visible = false; ship.ddd = 1; }; if (((((killenes) || ((_local2.y > (480 + _local2.height))))) || (_local2.dd))){ ship.parent.removeChild(_local2); ene.splice(_local1, 1); _local1--; }; _local1++; }; } function exploSpawn(_arg1, _arg2, _arg3){ var _local5:*; var _local4:* = 0; while (_local4 < _arg1) { _local5 = new exPar(); _local5.gotoAndPlay(int(((Math.random() * 10) + 1))); _local5.x = _arg2; _local5.y = _arg3; _local5.xx = ((Math.random() * 8) - 4); _local5.yy = ((Math.random() * 8) - 4); ship.parent.addChild(_local5); par.push(_local5); _local4++; }; } function exploCode(){ var _local2:*; var _local1:* = 0; while (_local1 < par.length) { _local2 = par[_local1]; _local2.x = (_local2.x + _local2.xx); _local2.y = (_local2.y + _local2.yy); _local2.xx = (_local2.xx / 1.05); _local2.yy = (_local2.yy / 1.05); if (_local2.dd){ ship.parent.removeChild(_local2); par.splice(_local1, 1); _local1--; }; _local1++; }; } function goCode(_arg1){ var _local2:*; if ((((Input.kkode[37] == 1)) || ((Input.kkode[65] == 1)))){ Input.kkode[37] = 0; if (_arg1.curs.pos > 1){ _arg1.curs.pos = (_arg1.curs.pos - 1); _arg1[("l" + _arg1.curs.pos)].addChild(_arg1.curs); }; }; if ((((Input.kkode[39] == 1)) || ((Input.kkode[68] == 1)))){ Input.kkode[39] = 0; if (_arg1.curs.pos < 3){ _arg1.curs.pos = (_arg1.curs.pos + 1); _arg1[("l" + _arg1.curs.pos)].addChild(_arg1.curs); }; }; if ((((Input.kkode[38] == 1)) || ((Input.kkode[87] == 1)))){ Input.kkode[38] = 0; _arg1.curs.parent.al--; if (_arg1.curs.parent.al < 0){ _arg1.curs.parent.al = (alphabet.length - 1); }; _arg1.curs.parent.txt.text = alphabet.substr(_arg1.curs.parent.al, 1); }; if ((((Input.kkode[40] == 1)) || ((Input.kkode[83] == 1)))){ Input.kkode[40] = 0; _arg1.curs.parent.al++; if (_arg1.curs.parent.al > (alphabet.length - 1)){ _arg1.curs.parent.al = 0; }; _arg1.curs.parent.txt.text = alphabet.substr(_arg1.curs.parent.al, 1); }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; Main.curs.visible = true; Main.levl = "Arcade"; Main.dd = 1; _local2 = ((alphabet.substr(_arg1.l1.al, 1) + alphabet.substr(_arg1.l2.al, 1)) + alphabet.substr(_arg1.l3.al, 1)); trace(_local2); }; } } }//package Levels
Section 83
//Sandcastler (Levels.Sandcastler) package Levels { import flash.events.*; import Plugs.*; import flash.text.*; public class Sandcastler { var lmc; var isprt;// = null var ln; var ch; var ctb;// = 11 var blackout;// = null var ship;// = null var bullet; var ene; var par; var numEnes;// = 1 var enespd;// = 2 var enevar;// = 0 var enexx;// = 8 var killenes;// = 0 var alphabet;// = "ABCDEFGHIJKLMNOPQRSTUVWXYZ " var dd;// = 0 var scr;// = -15 var spd;// = 4 var block; var stp;// = 0 var gamestart;// = 0 var ddd;// = 0 var cct;// = 0 var cct2;// = 0 public function Sandcastler(){ lmc = Main.sprt; ln = (Main.levl + "MC"); ch = new Array(); bullet = new Array(); ene = new Array(); par = new Array(); block = new Array(); super(); Main.curs.visible = false; } public function update(_arg1){ isprt = _arg1.cont; if (!ddd){ if (((!(dd)) && (gamestart))){ gamecode(); }; if (!gamestart){ if (Input.kkode[32] == 1){ Input.kkode[32] = 0; gamestart = 1; isprt.inf.visible = 0; }; }; }; if (ddd){ if (cct > 0){ isprt.visible = true; }; if (cct > 15){ isprt.visible = false; }; if (cct > 30){ cct = 0; cct2++; }; if (cct2 > 5){ Main.dd = 1; }; cct++; }; } function gamecode(){ if (!stp){ isprt.bucket.x = (isprt.bucket.x + spd); if (isprt.bucket.x <= 60){ spd = (spd * -1); isprt.bucket.x = 60; }; if (isprt.bucket.x >= 580){ spd = (spd * -1); isprt.bucket.x = 580; }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; sandblockSpawn(); spd = (spd * 1.2); stp = 1; }; }; if (stp){ sandblockCode(); }; } function sandblockSpawn(){ Music.snd("fxLaser", 1); var _local1:* = new sandBlock(); _local1.x = isprt.bucket.x; _local1.y = isprt.bucket.y; _local1.yy = -12; isprt.addChild(_local1); block.push(_local1); isprt.setChildIndex(isprt.bucket, (isprt.numChildren - 1)); } function sandblockCode(){ var _local1:*; var _local2:*; if (block.length){ _local1 = block[(block.length - 1)]; _local1.y = (_local1.y + 8); if (_local1.y >= 480){ stp = 0; Music.snd("fxDrop", 1); }; _local2 = 0; while (_local2 < (block.length - 1)) { if (_local1.hitTestObject(block[_local2])){ if (_local1.y < 216){ ddd = 1; isprt.parent.fail.visible = true; Music.snd("fxHit", 1); Music.stopLoops(); }; Music.snd("fxDrop", 1); stp = 0; break; }; _local2++; }; if (((((!(ddd)) && ((stp == 0)))) && ((block.length >= 15)))){ isprt.bucket.visible = false; dd = 1; isprt.scaleX = 0.5; isprt.scaleY = 0.5; isprt.x = (8 * 3); isprt.y = (8 * 7); isprt.parent.endin.visible = true; isprt.parent.endin.play(); }; }; } function bulletCode(){ var _local2:*; var _local3:*; var _local1:* = 0; while (_local1 < bullet.length) { _local2 = bullet[_local1]; _local2.y = (_local2.y + _local2.yy); _local3 = 0; while (_local3 < ene.length) { if (_local2.hitTestObject(ene[_local3])){ _local2.dd = 1; ene[_local3].dd = 1; Music.snd("fxExplo", 1); scr = (scr + Math.round((ene[_local3].yy * 100))); exploSpawn(8, ene[_local3].x, ene[_local3].y); if (numEnes < 12){ numEnes = (numEnes + 0.1); }; if (enespd < 14){ enespd = (enespd + 0.1); }; if (enevar < 6){ enevar = (enevar + 0.1); }; if (enexx < 22){ enexx = (enexx + 0.05); }; break; }; _local3++; }; if ((((_local2.y < 0)) || (_local2.dd))){ ship.parent.removeChild(_local2); bullet.splice(_local1, 1); _local1--; }; _local1++; }; } function eneCode(){ var _local2:*; if ((((ene.length < numEnes)) && (!(killenes)))){ _local2 = new ene1MC(); _local2.gotoAndStop(int(((Math.random() * enevar) + 1))); _local2.x = ((Math.random() * 432) + 80); _local2.y = 0; _local2.xx = ((Math.random() * enexx) - (enexx / 2)); _local2.yy = ((Math.random() * enespd) + 2); ship.parent.addChild(_local2); ene.push(_local2); }; var _local1:* = 0; while (_local1 < ene.length) { _local2 = ene[_local1]; _local2.y = (_local2.y + _local2.yy); _local2.x = (_local2.x + _local2.xx); if (((_local2.hitTestObject(ship.parent.parent.koll)) || (_local2.hitTestObject(ship.parent.parent.kolr)))){ _local2.xx = (_local2.xx * -1); }; if (_local2.hitTestObject(ship)){ Music.snd("fxExploShip", 1); exploSpawn(32, ship.x, (ship.y - 24)); ship.visible = false; ship.ddd = 1; }; if (((((killenes) || ((_local2.y > (480 + _local2.height))))) || (_local2.dd))){ ship.parent.removeChild(_local2); ene.splice(_local1, 1); _local1--; }; _local1++; }; } function exploSpawn(_arg1, _arg2, _arg3){ var _local5:*; var _local4:* = 0; while (_local4 < _arg1) { _local5 = new exPar(); _local5.gotoAndPlay(int(((Math.random() * 10) + 1))); _local5.x = _arg2; _local5.y = _arg3; _local5.xx = ((Math.random() * 8) - 4); _local5.yy = ((Math.random() * 8) - 4); ship.parent.addChild(_local5); par.push(_local5); _local4++; }; } function exploCode(){ var _local2:*; var _local1:* = 0; while (_local1 < par.length) { _local2 = par[_local1]; _local2.x = (_local2.x + _local2.xx); _local2.y = (_local2.y + _local2.yy); _local2.xx = (_local2.xx / 1.05); _local2.yy = (_local2.yy / 1.05); if (_local2.dd){ ship.parent.removeChild(_local2); par.splice(_local1, 1); _local1--; }; _local1++; }; } function goCode(_arg1){ var _local2:*; if ((((Input.kkode[37] == 1)) || ((Input.kkode[65] == 1)))){ Input.kkode[37] = 0; if (_arg1.curs.pos > 1){ _arg1.curs.pos = (_arg1.curs.pos - 1); _arg1[("l" + _arg1.curs.pos)].addChild(_arg1.curs); }; }; if ((((Input.kkode[39] == 1)) || ((Input.kkode[68] == 1)))){ Input.kkode[39] = 0; if (_arg1.curs.pos < 3){ _arg1.curs.pos = (_arg1.curs.pos + 1); _arg1[("l" + _arg1.curs.pos)].addChild(_arg1.curs); }; }; if ((((Input.kkode[38] == 1)) || ((Input.kkode[87] == 1)))){ Input.kkode[38] = 0; _arg1.curs.parent.al--; if (_arg1.curs.parent.al < 0){ _arg1.curs.parent.al = (alphabet.length - 1); }; _arg1.curs.parent.txt.text = alphabet.substr(_arg1.curs.parent.al, 1); }; if ((((Input.kkode[40] == 1)) || ((Input.kkode[83] == 1)))){ Input.kkode[40] = 0; _arg1.curs.parent.al++; if (_arg1.curs.parent.al > (alphabet.length - 1)){ _arg1.curs.parent.al = 0; }; _arg1.curs.parent.txt.text = alphabet.substr(_arg1.curs.parent.al, 1); }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; Main.curs.visible = true; Main.levl = "Arcade"; Main.dd = 1; _local2 = ((alphabet.substr(_arg1.l1.al, 1) + alphabet.substr(_arg1.l2.al, 1)) + alphabet.substr(_arg1.l3.al, 1)); trace(_local2); }; } } }//package Levels
Section 84
//Surfboarder (Levels.Surfboarder) package Levels { import flash.events.*; import Plugs.*; import flash.text.*; public class Surfboarder { var lmc; var ln; var ch; var ctb;// = 11 var blackout;// = null var ship;// = null var bullet; var ene; var par; var numEnes;// = 1 var enespd;// = 2 var enevar;// = 0 var enexx;// = 8 var killenes;// = 0 var alphabet;// = "ABCDEFGHIJKLMNOPQRSTUVWXYZ " var dd;// = 0 var scr;// = -15 var spd;// = 4 var block; var stp;// = 0 var gamestart;// = 0 var ddd;// = 0 var cct;// = 0 var cct2;// = 0 var wav; var sha; var nw;// = -0.5 var ns;// = -2 var sharkhit;// = 0 var sct;// = 0 static var isprt = null; public function Surfboarder(_arg1){ lmc = Main.sprt; ln = (Main.levl + "MC"); ch = new Array(); bullet = new Array(); ene = new Array(); par = new Array(); block = new Array(); wav = new Array(); sha = new Array(); super(); isprt = _arg1; Main.curs.visible = false; } function ddcode(){ var _local1:* = isprt.sprt; _local1.sprt.y = (_local1.sprt.y + _local1.yy); _local1.board.y = (_local1.board.y + _local1.yy); _local1.yy = (_local1.yy + 0.8); _local1.sprt.x = (_local1.sprt.x + _local1.xx); _local1.board.x = (_local1.board.x - _local1.xx); _local1.xx = (_local1.xx / 1.05); _local1.board.rotation = (_local1.board.rotation + 90); if (_local1.yy > 80){ if (sharkhit){ Main.levl = "sharkMode"; } else { Main.curs.visible = true; Main.levl = "Sea"; }; Main.dd = 1; }; } public function update(_arg1){ isprt = _arg1; sct++; if (ddd){ ddcode(); }; if (!ddd){ surfinCode(); }; wavCode2(); sharkCode2(); if (((!(ddd)) && ((sct > 2250)))){ nw = -9; ns = -9; }; if (((!(ddd)) && ((sct > 2500)))){ Main.todo.achy = 3; Main.achCode(4); Main.todo.timerun = 1; Main.todo.tim = 0; Main.levl = "Beach"; Main.curs.visible = true; Main.dd = 1; }; } function surfinCode(){ if (!isprt.ypos){ isprt.ypos = 1; }; isprt.waves.x = (isprt.waves.x - 12); if (isprt.waves.x < 0){ isprt.waves.x = (isprt.waves.x + 160); }; if (Input.kkode[37] == 1){ isprt.sprt.x = (isprt.sprt.x - 8); }; if (Input.kkode[39] == 1){ isprt.sprt.x = (isprt.sprt.x + 8); }; if (Input.kkode[38] == 1){ Input.kkode[38] = 0; if (isprt.ypos < 3){ isprt.ypos++; }; }; if (Input.kkode[40] == 1){ Input.kkode[40] = 0; if (isprt.ypos > 1){ isprt.ypos--; }; }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; if (!isprt.ju){ Music.snd("fxJump", 2); isprt.ju = 1; isprt.juh = ((16 / isprt.ypos) + 15); }; }; if (isprt.ju){ isprt.sprt.gotoAndStop("ju"); isprt.juh--; if (isprt.juh <= 0){ isprt.ju = 0; isprt.sprt.gotoAndStop(1); }; }; if (isprt.sprt.x < 8){ isprt.sprt.x = 8; }; if (isprt.sprt.x > 500){ isprt.sprt.x = 500; }; var _local1:* = 1; if (isprt.ypos == 1){ isprt.sprt.y = 320; }; if (isprt.ypos == 2){ isprt.sprt.y = 260; _local1 = 0.75; }; if (isprt.ypos == 3){ isprt.sprt.y = 208; _local1 = 0.5; }; isprt.sprt.scaleX = _local1; isprt.sprt.scaleY = _local1; isprt.setChildIndex(isprt.sprt, isprt.getChildIndex(isprt[("l" + isprt.ypos)])); waveCode(); sharkCode(); } function waveCode(){ var _local1:*; var _local2:*; if (nw < 1.9){ nw = (nw + 0.002); }; if (wav.length < nw){ _local1 = new bigWave(); _local1.x = (-(Math.random()) * 200); _local1.ypos = Math.floor(((Math.random() * 3) + 1)); _local2 = 1; if (_local1.ypos == 1){ _local1.y = 320; }; if (_local1.ypos == 2){ _local1.y = 260; _local2 = 0.75; }; if (_local1.ypos == 3){ _local1.y = 208; _local2 = 0.5; }; _local1.scaleX = _local2; _local1.scaleY = _local2; _local1.xx = ((Math.random() * 6) + 4); isprt.addChild(_local1); isprt.setChildIndex(_local1, isprt.getChildIndex(isprt[("l" + _local1.ypos)])); wav.push(_local1); }; } function wavCode2(){ var _local2:*; var _local1:* = 0; while (_local1 < wav.length) { _local2 = wav[_local1]; _local2.x = (_local2.x + _local2.xx); if (((isprt.sprt.kol) && (_local2.kol.hitTestObject(isprt.sprt.kol)))){ Music.snd("fxHit", 1); ddd = 1; isprt.sprt.yy = -18; isprt.sprt.xx = 12; isprt.sprt.gotoAndStop("dd"); }; if ((_local2.x - _local2.width) > 640){ isprt.removeChild(_local2); wav.splice(_local1, 1); _local1--; }; _local1++; }; } function sharkCode(){ var _local1:*; var _local2:*; if (ns < 3){ ns = (ns + 0.002); }; if (sha.length < ns){ _local1 = new sharkSurf(); _local1.x = (640 + (Math.random() * 200)); _local1.ypos = Math.floor(((Math.random() * 3) + 1)); _local2 = 1; if (_local1.ypos == 1){ _local1.y = 320; }; if (_local1.ypos == 2){ _local1.y = 260; _local2 = 0.75; }; if (_local1.ypos == 3){ _local1.y = 208; _local2 = 0.5; }; _local1.scaleX = _local2; _local1.scaleY = _local2; _local1.xx = -(((Math.random() * 6) + 4)); isprt.addChild(_local1); isprt.setChildIndex(_local1, isprt.getChildIndex(isprt[("l" + _local1.ypos)])); sha.push(_local1); }; } function sharkCode2(){ var _local2:*; var _local1:* = 0; while (_local1 < sha.length) { _local2 = sha[_local1]; _local2.x = (_local2.x + _local2.xx); if (((((!(isprt.ju)) && (isprt.sprt.kol))) && (_local2.hitTestObject(isprt.sprt.kol)))){ ddd = 1; Music.snd("fxHit", 1); isprt.sprt.yy = -18; isprt.sprt.xx = 12; isprt.sprt.gotoAndStop("dd"); sharkhit = 1; }; if ((_local2.x + _local2.width) < 0){ isprt.removeChild(_local2); sha.splice(_local1, 1); _local1--; }; _local1++; }; } function gamecode(){ if (!stp){ isprt.bucket.x = (isprt.bucket.x + spd); if (isprt.bucket.x <= 60){ spd = (spd * -1); isprt.bucket.x = 60; }; if (isprt.bucket.x >= 580){ spd = (spd * -1); isprt.bucket.x = 580; }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; sandblockSpawn(); spd = (spd * 1.2); stp = 1; }; }; if (stp){ sandblockCode(); }; } function sandblockSpawn(){ Music.snd("fxLaser", 1); var _local1:* = new sandBlock(); _local1.x = isprt.bucket.x; _local1.y = isprt.bucket.y; _local1.yy = -12; isprt.addChild(_local1); block.push(_local1); isprt.setChildIndex(isprt.bucket, (isprt.numChildren - 1)); } function sandblockCode(){ var _local1:*; var _local2:*; if (block.length){ _local1 = block[(block.length - 1)]; _local1.y = (_local1.y + 8); if (_local1.y >= 480){ stp = 0; }; _local2 = 0; while (_local2 < (block.length - 1)) { if (_local1.hitTestObject(block[_local2])){ if (_local1.y < 216){ ddd = 1; isprt.parent.fail.visible = true; }; stp = 0; break; }; _local2++; }; if (((((!(ddd)) && ((stp == 0)))) && ((block.length >= 15)))){ isprt.bucket.visible = false; dd = 1; isprt.scaleX = 0.5; isprt.scaleY = 0.5; isprt.x = (8 * 3); isprt.y = (8 * 7); isprt.parent.endin.visible = true; isprt.parent.endin.play(); }; }; } function bulletCode(){ var _local2:*; var _local3:*; var _local1:* = 0; while (_local1 < bullet.length) { _local2 = bullet[_local1]; _local2.y = (_local2.y + _local2.yy); _local3 = 0; while (_local3 < ene.length) { if (_local2.hitTestObject(ene[_local3])){ _local2.dd = 1; ene[_local3].dd = 1; Music.snd("fxExplo", 1); scr = (scr + Math.round((ene[_local3].yy * 100))); exploSpawn(8, ene[_local3].x, ene[_local3].y); if (numEnes < 12){ numEnes = (numEnes + 0.1); }; if (enespd < 14){ enespd = (enespd + 0.1); }; if (enevar < 6){ enevar = (enevar + 0.1); }; if (enexx < 22){ enexx = (enexx + 0.05); }; break; }; _local3++; }; if ((((_local2.y < 0)) || (_local2.dd))){ ship.parent.removeChild(_local2); bullet.splice(_local1, 1); _local1--; }; _local1++; }; } function eneCode(){ var _local2:*; if ((((ene.length < numEnes)) && (!(killenes)))){ _local2 = new ene1MC(); _local2.gotoAndStop(int(((Math.random() * enevar) + 1))); _local2.x = ((Math.random() * 432) + 80); _local2.y = 0; _local2.xx = ((Math.random() * enexx) - (enexx / 2)); _local2.yy = ((Math.random() * enespd) + 2); ship.parent.addChild(_local2); ene.push(_local2); }; var _local1:* = 0; while (_local1 < ene.length) { _local2 = ene[_local1]; _local2.y = (_local2.y + _local2.yy); _local2.x = (_local2.x + _local2.xx); if (((_local2.hitTestObject(ship.parent.parent.koll)) || (_local2.hitTestObject(ship.parent.parent.kolr)))){ _local2.xx = (_local2.xx * -1); }; if (_local2.hitTestObject(ship)){ Music.snd("fxExploShip", 1); exploSpawn(32, ship.x, (ship.y - 24)); ship.visible = false; ship.ddd = 1; }; if (((((killenes) || ((_local2.y > (480 + _local2.height))))) || (_local2.dd))){ ship.parent.removeChild(_local2); ene.splice(_local1, 1); _local1--; }; _local1++; }; } function exploSpawn(_arg1, _arg2, _arg3){ var _local5:*; var _local4:* = 0; while (_local4 < _arg1) { _local5 = new exPar(); _local5.gotoAndPlay(int(((Math.random() * 10) + 1))); _local5.x = _arg2; _local5.y = _arg3; _local5.xx = ((Math.random() * 8) - 4); _local5.yy = ((Math.random() * 8) - 4); ship.parent.addChild(_local5); par.push(_local5); _local4++; }; } function exploCode(){ var _local2:*; var _local1:* = 0; while (_local1 < par.length) { _local2 = par[_local1]; _local2.x = (_local2.x + _local2.xx); _local2.y = (_local2.y + _local2.yy); _local2.xx = (_local2.xx / 1.05); _local2.yy = (_local2.yy / 1.05); if (_local2.dd){ ship.parent.removeChild(_local2); par.splice(_local1, 1); _local1--; }; _local1++; }; } function goCode(_arg1){ var _local2:*; if ((((Input.kkode[37] == 1)) || ((Input.kkode[65] == 1)))){ Input.kkode[37] = 0; if (_arg1.curs.pos > 1){ _arg1.curs.pos = (_arg1.curs.pos - 1); _arg1[("l" + _arg1.curs.pos)].addChild(_arg1.curs); }; }; if ((((Input.kkode[39] == 1)) || ((Input.kkode[68] == 1)))){ Input.kkode[39] = 0; if (_arg1.curs.pos < 3){ _arg1.curs.pos = (_arg1.curs.pos + 1); _arg1[("l" + _arg1.curs.pos)].addChild(_arg1.curs); }; }; if ((((Input.kkode[38] == 1)) || ((Input.kkode[87] == 1)))){ Input.kkode[38] = 0; _arg1.curs.parent.al--; if (_arg1.curs.parent.al < 0){ _arg1.curs.parent.al = (alphabet.length - 1); }; _arg1.curs.parent.txt.text = alphabet.substr(_arg1.curs.parent.al, 1); }; if ((((Input.kkode[40] == 1)) || ((Input.kkode[83] == 1)))){ Input.kkode[40] = 0; _arg1.curs.parent.al++; if (_arg1.curs.parent.al > (alphabet.length - 1)){ _arg1.curs.parent.al = 0; }; _arg1.curs.parent.txt.text = alphabet.substr(_arg1.curs.parent.al, 1); }; if (Input.kkode[32] == 1){ Input.kkode[32] = 0; Main.curs.visible = true; Main.levl = "Arcade"; Main.dd = 1; _local2 = ((alphabet.substr(_arg1.l1.al, 1) + alphabet.substr(_arg1.l2.al, 1)) + alphabet.substr(_arg1.l3.al, 1)); trace(_local2); }; } } }//package Levels
Section 85
//NewgroundsAPIAsset_API_Conencted_7 (MedalPopup_fla.NewgroundsAPIAsset_API_Conencted_7) package MedalPopup_fla { import flash.display.*; import com.newgrounds.components.*; public dynamic class NewgroundsAPIAsset_API_Conencted_7 extends MovieClip { public function NewgroundsAPIAsset_API_Conencted_7(){ addFrameScript(36, this.frame37); } function frame37(){ APIConnector(parent).clear(); } } }//package MedalPopup_fla
Section 86
//NewgroundsAPIAsset_ConnectingAPI_5 (MedalPopup_fla.NewgroundsAPIAsset_ConnectingAPI_5) package MedalPopup_fla { import flash.display.*; public dynamic class NewgroundsAPIAsset_ConnectingAPI_5 extends MovieClip { public function NewgroundsAPIAsset_ConnectingAPI_5(){ addFrameScript(9, this.frame10); } function frame10(){ stop(); } } }//package MedalPopup_fla
Section 87
//NewgroundsAPIAsset_Connection_Error_10 (MedalPopup_fla.NewgroundsAPIAsset_Connection_Error_10) package MedalPopup_fla { import flash.display.*; import com.newgrounds.components.*; public dynamic class NewgroundsAPIAsset_Connection_Error_10 extends MovieClip { public function NewgroundsAPIAsset_Connection_Error_10(){ addFrameScript(9, this.frame10, 20, this.frame21); } function frame10(){ stop(); } function frame21(){ APIConnector(parent).clear(); } } }//package MedalPopup_fla
Section 88
//NewgroundsAPIAsset_FlashAd_Container_44 (MedalPopup_fla.NewgroundsAPIAsset_FlashAd_Container_44) package MedalPopup_fla { import flash.events.*; import flash.display.*; import com.newgrounds.*; public dynamic class NewgroundsAPIAsset_FlashAd_Container_44 extends MovieClip { public var adMask:MovieClip; public var ngLinkButton:SimpleButton; public function NewgroundsAPIAsset_FlashAd_Container_44(){ addFrameScript(0, this.frame1, 10, this.frame11); } public function onNGLinkClicked(_arg1:MouseEvent):void{ API.loadNewgrounds(); } function frame1(){ this.ngLinkButton.addEventListener(MouseEvent.CLICK, this.onNGLinkClicked); } function frame11(){ gotoAndPlay(1); } } }//package MedalPopup_fla
Section 89
//NewgroundsAPIAsset_Load_Indicator_6 (MedalPopup_fla.NewgroundsAPIAsset_Load_Indicator_6) package MedalPopup_fla { import flash.events.*; import flash.display.*; public dynamic class NewgroundsAPIAsset_Load_Indicator_6 extends MovieClip { public function NewgroundsAPIAsset_Load_Indicator_6(){ addFrameScript(0, this.frame1); } public function onEnterFrame(_arg1:Event):void{ if (((visible) && (stage))){ rotation = (rotation + 30); } else { removeEventListener(Event.ENTER_FRAME, this.onEnterFrame); }; } function frame1(){ addEventListener(Event.ENTER_FRAME, this.onEnterFrame); } } }//package MedalPopup_fla
Section 90
//NewgroundsAPIAsset_Login_Warning_8 (MedalPopup_fla.NewgroundsAPIAsset_Login_Warning_8) package MedalPopup_fla { import flash.display.*; import com.newgrounds.components.*; public dynamic class NewgroundsAPIAsset_Login_Warning_8 extends MovieClip { public function NewgroundsAPIAsset_Login_Warning_8(){ addFrameScript(9, this.frame10, 20, this.frame21); } function frame10(){ stop(); } function frame21(){ APIConnector(parent).clear(); } } }//package MedalPopup_fla
Section 91
//Input (Plugs.Input) package Plugs { import flash.display.*; import flash.events.*; public class Input { public static var kkode = null; public static var mclick = null; public static var mdown = null; public function Input(_arg1){ ini(); _arg1.stage.addEventListener(KeyboardEvent.KEY_DOWN, kpress); _arg1.stage.addEventListener(KeyboardEvent.KEY_UP, krelease); _arg1.stage.addEventListener(MouseEvent.CLICK, miw); _arg1.stage.addEventListener(MouseEvent.MOUSE_DOWN, md); _arg1.stage.addEventListener(MouseEvent.MOUSE_UP, mu); } public function kpress(_arg1){ if (kkode[_arg1.keyCode] != 0){ kkode[_arg1.keyCode] = 1; }; } public function krelease(_arg1){ kkode[_arg1.keyCode] = null; } public function miw(_arg1){ if (_arg1.target.name){ Main.mclick(_arg1.target); mclick = _arg1.target; }; } public function md(_arg1){ if (_arg1.target.name){ mdown = _arg1.target; }; } public function mu(_arg1){ mdown = null; } public static function ini(){ kkode = new Array(); mclick = null; mdown = null; } } }//package Plugs
Section 92
//Music (Plugs.Music) package Plugs { import flash.media.*; public class Music { static var music = new Sound(); static var musicChannel = new Array(); static var musicChannelCrowd = null; public static var musicNR = null; public static var vol = 1; static var volG = 0; public static var st = "off"; public static var currN = 0; public static var chargeVol = 0; public static var volFX = 1; public static var volMU = 1; public static var curvolMU = 1; public static var panel = null; public static var ln = null; public function Music(_arg1){ } public static function mus(... _args){ var _local2:* = _args[0]; var _local3:* = Tools.getObjectByName(_args[0]); if (_local3){ if (musicNR != _local2){ if (musicChannel["music"]){ musicChannel["music"].stop(); }; curvolMU = _args[1]; musicChannel["music"] = _local3.play(0, 99999, new SoundTransform((curvolMU * volMU))); musicNR = _local2; }; }; } public static function changeVol(... _args){ if (musicChannel["music"]){ curvolMU = (curvolMU + _args[0]); if (curvolMU < 0){ curvolMU = 0; }; musicChannel["music"].soundTransform = new SoundTransform((curvolMU * volMU)); }; } public static function loopStart(... _args){ var _local2:*; trace(_args); if (ln != _args[0]){ _local2 = Tools.getObjectByName(_args[0]); if (_local2){ if (musicChannel[0]){ musicChannel[0].stop(); musicChannel[0] = null; ln = null; }; musicChannel[0] = _local2.play(0, 99999, new SoundTransform((_args[1] * volFX))); ln = _args[0]; }; }; } public static function loopEnd(... _args){ if (musicChannel[_args[0]]){ musicChannel[_args[0]].stop(); }; } public static function loopMod(... _args){ if (musicChannel["fxShip"]){ musicChannel["fxShip"].soundTransform = new SoundTransform((_args[0] * volFX)); }; } public static function stopLoops(){ if (musicChannel[0]){ musicChannel[0].stop(); musicChannel[0] = null; ln = null; }; } public static function snd(... _args){ var _local2:* = Tools.getObjectByName(_args[0]); if (_local2){ _local2.play(0, 0, new SoundTransform((_args[1] * volFX))); }; } } }//package Plugs
Section 93
//Tools (Plugs.Tools) package Plugs { import flash.utils.*; public class Tools { public static function getObjectByName(_arg1){ var _local2:* = null; try { _local2 = (getDefinitionByName(_arg1) as Class); _local2 = new (_local2); } catch(e) { }; return (_local2); } } }//package Plugs
Section 94
//AchyMC (AchyMC) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class AchyMC extends MovieClip { public var gototitle:SimpleButton; public var a1:MovieClip; public var a2:MovieClip; public var a3:MovieClip; public var a4:MovieClip; public var startGame:SimpleButton; public var ai; public function AchyMC(){ addFrameScript(0, frame1); } function frame1(){ ai = Main.ach; a1.gotoAndStop(1); a2.gotoAndStop(1); a3.gotoAndStop(1); a4.gotoAndStop(1); if (ai.a1){ a1.gotoAndStop(2); }; if (ai.a2){ a2.gotoAndStop(2); }; if (ai.a3){ a3.gotoAndStop(2); }; if (ai.a4){ a4.gotoAndStop(2); }; } } }//package
Section 95
//ArcadeMC (ArcadeMC) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class ArcadeMC extends MovieClip { public var panel:MovieClip; public var won:MovieClip; public function ArcadeMC(){ addFrameScript(0, frame1); } function frame1(){ if (!Main.todo.wonmes){ won.visible = false; } else { Main.todo.wonmes = 0; }; } } }//package
Section 96
//ArrivalMC (ArrivalMC) package { import flash.display.*; public dynamic class ArrivalMC extends MovieClip { public var panel:MovieClip; } }//package
Section 97
//BarMC (BarMC) package { import flash.display.*; public dynamic class BarMC extends MovieClip { public var cocktaildsp:MovieClip; public var dialog:MovieClip; public var beerdsp:MovieClip; public var panel:MovieClip; public function BarMC(){ addFrameScript(0, frame1); } function frame1(){ beerdsp.visible = false; cocktaildsp.visible = false; } } }//package
Section 98
//BeachMC (BeachMC) package { import flash.display.*; public dynamic class BeachMC extends MovieClip { public var panel:MovieClip; } }//package
Section 99
//bigWave (bigWave) package { import flash.display.*; public dynamic class bigWave extends MovieClip { public var kol:MovieClip; public function bigWave(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8); } function frame1(){ kol.visible = false; } function frame2(){ kol.visible = false; } function frame3(){ kol.visible = false; } function frame4(){ kol.visible = false; } function frame5(){ kol.visible = false; } function frame6(){ kol.visible = false; } function frame7(){ kol.visible = false; } function frame8(){ kol.visible = false; } } }//package
Section 100
//blackoutMC (blackoutMC) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import Plugs.*; import flash.ui.*; import flash.text.*; import flash.system.*; import flash.media.*; import flash.geom.*; import flash.filters.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class blackoutMC extends MovieClip { public function blackoutMC(){ addFrameScript(72, frame73, 233, frame234); } function frame73(){ Main.todo.blr = 0; Music.stopLoops(); } function frame234(){ Main.curs.visible = true; Main.levl = "Hospital"; Main.dd = 1; stop(); } } }//package
Section 101
//bulletMC (bulletMC) package { import flash.display.*; public dynamic class bulletMC extends MovieClip { } }//package
Section 102
//CheckinMC (CheckinMC) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class CheckinMC extends MovieClip { public var dialog:MovieClip; public var dude1:MovieClip; public var panel:MovieClip; public var sprt:MovieClip; public var t; public function CheckinMC(){ addFrameScript(0, frame1); } function frame1(){ t = this; if (Main.todo.duda){ t.dude1.gotoAndStop("duda"); }; } } }//package
Section 103
//CityMC (CityMC) package { import flash.display.*; public dynamic class CityMC extends MovieClip { public var panel:MovieClip; } }//package
Section 104
//crsr (crsr) package { import flash.display.*; public dynamic class crsr extends MovieClip { } }//package
Section 105
//DrownMC (DrownMC) package { import flash.display.*; public dynamic class DrownMC extends MovieClip { public var sprt:MovieClip; } }//package
Section 106
//ene1MC (ene1MC) package { import flash.display.*; public dynamic class ene1MC extends MovieClip { } }//package
Section 107
//exPar (exPar) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.ui.*; import flash.text.*; import flash.system.*; import flash.media.*; import flash.geom.*; import flash.filters.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class exPar extends MovieClip { public var t; public function exPar(){ addFrameScript(40, frame41); } function frame41(){ stop(); t = this; t.dd = 1; } } }//package
Section 108
//FishBattleMC (FishBattleMC) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class FishBattleMC extends MovieClip { public var fish:MovieClip; public var sprt:MovieClip; public function FishBattleMC(){ addFrameScript(0, frame1); } function frame1(){ fish.gotoAndStop(Main.todo.fish); } } }//package
Section 109
//FishGetMC (FishGetMC) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class FishGetMC extends MovieClip { public function FishGetMC(){ addFrameScript(59, frame60); } function frame60(){ Main.levl = "Fishing"; Main.curs.visible = true; Main.dd = 1; stop(); } } }//package
Section 110
//FishingMC (FishingMC) package { import flash.display.*; public dynamic class FishingMC extends MovieClip { public var fishbite:MovieClip; public var sprt:MovieClip; public var panel:MovieClip; public function FishingMC(){ addFrameScript(0, frame1); } function frame1(){ fishbite.visible = false; } } }//package
Section 111
//FishSharkMC (FishSharkMC) package { import flash.display.*; import Plugs.*; public dynamic class FishSharkMC extends MovieClip { public var sprt:MovieClip; public function FishSharkMC(){ addFrameScript(0, frame1, 41, frame42); } function frame1(){ Music.stopLoops(); Music.snd("fxBite", 1); } function frame42(){ stop(); Music.snd("fxWee", 1); } } }//package
Section 112
//Flight2MC (Flight2MC) package { import flash.display.*; import Plugs.*; public dynamic class Flight2MC extends MovieClip { public var plane:MovieClip; public function Flight2MC(){ addFrameScript(0, frame1); } function frame1(){ Music.stopLoops(); Music.snd("fxPlane", 1); } } }//package
Section 113
//FlightMC (FlightMC) package { import flash.display.*; import Plugs.*; public dynamic class FlightMC extends MovieClip { public var plane:MovieClip; public function FlightMC(){ addFrameScript(0, frame1); } function frame1(){ Music.stopLoops(); Music.snd("fxPlane", 1); } } }//package
Section 114
//fxArcade (fxArcade) package { import flash.media.*; public dynamic class fxArcade extends Sound { } }//package
Section 115
//fxBell (fxBell) package { import flash.media.*; public dynamic class fxBell extends Sound { } }//package
Section 116
//fxBite (fxBite) package { import flash.media.*; public dynamic class fxBite extends Sound { } }//package
Section 117
//fxDrop (fxDrop) package { import flash.media.*; public dynamic class fxDrop extends Sound { } }//package
Section 118
//fxExplo (fxExplo) package { import flash.media.*; public dynamic class fxExplo extends Sound { } }//package
Section 119
//fxExploShip (fxExploShip) package { import flash.media.*; public dynamic class fxExploShip extends Sound { } }//package
Section 120
//fxHit (fxHit) package { import flash.media.*; public dynamic class fxHit extends Sound { } }//package
Section 121
//fxJackpot (fxJackpot) package { import flash.media.*; public dynamic class fxJackpot extends Sound { } }//package
Section 122
//fxJump (fxJump) package { import flash.media.*; public dynamic class fxJump extends Sound { } }//package
Section 123
//fxLaser (fxLaser) package { import flash.media.*; public dynamic class fxLaser extends Sound { } }//package
Section 124
//fxPlane (fxPlane) package { import flash.media.*; public dynamic class fxPlane extends Sound { } }//package
Section 125
//fxSlot1 (fxSlot1) package { import flash.media.*; public dynamic class fxSlot1 extends Sound { } }//package
Section 126
//fxSlot2 (fxSlot2) package { import flash.media.*; public dynamic class fxSlot2 extends Sound { } }//package
Section 127
//fxWee (fxWee) package { import flash.media.*; public dynamic class fxWee extends Sound { } }//package
Section 128
//GambleMC (GambleMC) package { import flash.display.*; public dynamic class GambleMC extends MovieClip { public var lever:MovieClip; public var g1:MovieClip; public var g2:MovieClip; public var g3:MovieClip; public var panel:MovieClip; public var pott:MovieClip; public var nocoins:MovieClip; public function GambleMC(){ addFrameScript(0, frame1); } function frame1(){ pott.visible = false; g1.gotoAndStop(1); g2.gotoAndStop(2); g3.gotoAndStop(3); } } }//package
Section 129
//HomeMC (HomeMC) package { import flash.display.*; public dynamic class HomeMC extends MovieClip { public var panel:MovieClip; } }//package
Section 130
//HospitalMC (HospitalMC) package { import flash.display.*; public dynamic class HospitalMC extends MovieClip { public var panel:MovieClip; } }//package
Section 131
//InlandMC (InlandMC) package { import flash.display.*; public dynamic class InlandMC extends MovieClip { public var txt:MovieClip; public var balla:MovieClip; public function InlandMC(){ addFrameScript(0, frame1); } function frame1(){ txt.visible = false; } } }//package
Section 132
//level101 (level101) package { import flash.display.*; import flash.text.*; public dynamic class level101 extends MovieClip { public var eltext:TextField; } }//package
Section 133
//loopArcade (loopArcade) package { import flash.media.*; public dynamic class loopArcade extends Sound { } }//package
Section 134
//loopBeach (loopBeach) package { import flash.media.*; public dynamic class loopBeach extends Sound { } }//package
Section 135
//loopCheckin (loopCheckin) package { import flash.media.*; public dynamic class loopCheckin extends Sound { } }//package
Section 136
//loopCity (loopCity) package { import flash.media.*; public dynamic class loopCity extends Sound { } }//package
Section 137
//loopHome (loopHome) package { import flash.media.*; public dynamic class loopHome extends Sound { } }//package
Section 138
//loopInland (loopInland) package { import flash.media.*; public dynamic class loopInland extends Sound { } }//package
Section 139
//loopPixlvador (loopPixlvador) package { import flash.media.*; public dynamic class loopPixlvador extends Sound { } }//package
Section 140
//loopsharkMode (loopsharkMode) package { import flash.media.*; public dynamic class loopsharkMode extends Sound { } }//package
Section 141
//loopTimeup (loopTimeup) package { import flash.media.*; public dynamic class loopTimeup extends Sound { } }//package
Section 142
//looptitle (looptitle) package { import flash.media.*; public dynamic class looptitle extends Sound { } }//package
Section 143
//Main (Main) package { import flash.display.*; import flash.events.*; import com.newgrounds.components.*; import flash.utils.*; import flash.net.*; import Plugs.*; import Levels.*; import flash.ui.*; import flash.system.*; public class Main extends MovieClip { public var __id1_:APIConnector; public var startBUT:SimpleButton; public var plane:MovieClip; public var __setPropDict:Dictionary; public var my_cMenu:ContextMenu; public var pc; public var _mochiads_game_id:String; public var paramObj:Object; public var apiPath:String; public var request:URLRequest; public var loader:Loader; public var curr_levl; public static var kongregate = null; public static var dd = 1; public static var sprt = null; public static var levl = "title"; public static var curs = null; public static var stat = "Checkin"; public static var todo = new Object(); public static var ach = new Object(); public function Main(){ __setPropDict = new Dictionary(true); super(); addFrameScript(0, frame1, 4, frame5); addEventListener(Event.ENTER_FRAME, loada); } public function loder(_arg1:Event){ var _local2:* = int(((stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal) * 100)); if (_local2 > pc){ pc = (pc + 0.25); }; plane.x = (-330 + (int(pc) * 9.7)); if (pc >= 100){ plane.visible = false; startBUT.visible = true; startBUT.addEventListener(MouseEvent.CLICK, plmc); removeEventListener(Event.ENTER_FRAME, loder); }; } public function plmc(_arg1:MouseEvent){ startBUT.removeEventListener(MouseEvent.CLICK, plmc); play(); } public function loadComplete(_arg1:Event):void{ kongregate = _arg1.target.content; kongregate.services.connect(); } function contMen(_arg1){ var _local2:ContextMenu = new ContextMenu(); _local2.hideBuiltInItems(); contextMenu = _local2; } function loada(_arg1:Event){ var _local2:*; if (currentLabel == "game"){ initodo(); contMen(null); stage.scaleMode = "noScale"; stage.stageFocusRect = false; stage.tabChildren = false; _local2 = new Input(stage); curs = new crsr(); stage.addChild(curs); Mouse.hide(); removeEventListener(Event.ENTER_FRAME, loada); addEventListener(Event.ENTER_FRAME, mcode); addEventListener(MouseEvent.MOUSE_DOWN, mousehide); }; } function mousehide(_arg1){ Mouse.hide(); } function mcode(_arg1:Event){ todo.blr = (todo.blr - 0.01); if (todo.blr < 0){ todo.blr = 0; }; curs.x = mouseX; curs.y = mouseY; countdown(); if (dd == 1){ if (todo.dd == 1){ levl = "Timeup"; Main.curs.visible = false; }; if (sprt){ removeChild(sprt); sprt = null; }; curr_levl = null; sprt = new MovieClip(); addChild(sprt); curr_levl = new Level01(); dd = 0; Input.ini(); stage.focus = this; }; if (curr_levl){ curr_levl.update(); }; } function countdown(){ if (!todo.dd){ if (todo.timerun){ todo.tim = (todo.tim - 1); }; if (todo.tim < 0){ todo.dd = 1; }; }; } function __setProp___id1__Szene1_Ebene1_4(){ if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 5))))){ __setPropDict[__id1_] = 5; try { __id1_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id1_.debugMode = true; __id1_.encryptionKey = "fDlVz7M0RTIRCBNW0wmVBx75vCkJi8BT"; __id1_.movieId = "13170"; __id1_.movieVersion = ""; __id1_.showConnectingPopup = false; __id1_.useErrorPopup = false; __id1_.useMedalPopup = false; try { __id1_["componentInspectorSetting"] = false; } catch(e:Error) { }; }; } function frame1(){ my_cMenu = new ContextMenu(); my_cMenu.hideBuiltInItems(); contextMenu = my_cMenu; startBUT.visible = false; stop(); addEventListener(Event.ENTER_FRAME, loder); pc = 0; _mochiads_game_id = "b1ae7f4445162c75"; paramObj = LoaderInfo(root.loaderInfo).parameters; apiPath = ((paramObj.kongregate_api_path) || ("http://www.kongregate.com/flash/API_AS3_Local.swf")); Security.allowDomain(apiPath); request = new URLRequest(apiPath); loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); loader.load(request); this.addChild(loader); } function frame5(){ __setProp___id1__Szene1_Ebene1_4(); stop(); } public static function achCode(_arg1){ trace(_arg1); ach[("a" + _arg1)] = true; var _local2:* = ""; var _local3:* = ""; if (_arg1 == 1){ _local2 = "SuddenDeath"; _local3 = "Sudden Death"; }; if (_arg1 == 2){ _local2 = "Rockstar"; _local3 = "Rockstar"; }; if (_arg1 == 3){ _local2 = "BestHolidayEver"; _local3 = "Best Holiday Ever"; }; if (_arg1 == 4){ _local2 = "KingOfTheWaves"; _local3 = "King of the Waves"; }; if (kongregate){ kongregate.stats.submit(_local2, 1); }; } public static function initodo(){ todo.checkin = 0; todo.teint = 0; todo.blr = 0; todo.duda = 0; todo.cont = 0; todo.dia = 0; todo.barman = 0; todo.fish = 0; todo.food = 0; todo.achy = null; todo.cash = 50; todo.sunoil = 0; todo.sunoilLevel = 0; todo.bucket = 0; todo.fishrod = 0; todo.surfboard = 0; todo.won = 0; todo.wonmes = 0; todo.coins = 0; todo.timerun = 0; todo.tim = (9 * 1800); todo.dd = 0; } public static function mclick(_arg1){ if (_arg1.name == "startGame"){ initodo(); levl = "Home"; dd = 1; }; if (((_arg1.parent.name2) && ((_arg1.parent.name2 == "sponsorLink")))){ navigateToURL(new URLRequest("http://www.gameshot.org"), "_blank"); }; } } }//package
Section 144
//MarketMC (MarketMC) package { import flash.display.*; public dynamic class MarketMC extends MovieClip { public var dialog:MovieClip; public var rod:MovieClip; public var panel:MovieClip; public var board:MovieClip; public var bucket:MovieClip; } }//package
Section 145
//NewgroundsAPIAsset_big_popup_background (NewgroundsAPIAsset_big_popup_background) package { import flash.display.*; public dynamic class NewgroundsAPIAsset_big_popup_background extends MovieClip { public var tl:MovieClip; public var br:MovieClip; public var tr:MovieClip; public var l:MovieClip; public var shadow:MovieClip; public var r:MovieClip; public var b:MovieClip; public var bl:MovieClip; public var t:MovieClip; public var c:MovieClip; } }//package
Section 146
//PixlvadorMC (PixlvadorMC) package { import flash.display.*; public dynamic class PixlvadorMC extends MovieClip { public var koll:MovieClip; public var kolr:MovieClip; public var gameCont:MovieClip; } }//package
Section 147
//sandBlock (sandBlock) package { import flash.display.*; public dynamic class sandBlock extends MovieClip { } }//package
Section 148
//SandcastleMC (SandcastleMC) package { import flash.display.*; public dynamic class SandcastleMC extends MovieClip { public var cont:MovieClip; public var endin:MovieClip; public var fail:MovieClip; public function SandcastleMC(){ addFrameScript(0, frame1); } function frame1(){ endin.visible = false; fail.visible = false; } } }//package
Section 149
//SeaMC (SeaMC) package { import flash.display.*; public dynamic class SeaMC extends MovieClip { public var sa:MovieClip; public var shrk:MovieClip; public var panel:MovieClip; public var sprt:MovieClip; public function SeaMC(){ addFrameScript(0, frame1); } function frame1(){ sa.visible = false; } } }//package
Section 150
//sharkModeMC (sharkModeMC) package { import flash.display.*; public dynamic class sharkModeMC extends MovieClip { public var shrk:MovieClip; public var sprt:MovieClip; public var dsp:MovieClip; } }//package
Section 151
//sharkSurf (sharkSurf) package { import flash.display.*; public dynamic class sharkSurf extends MovieClip { } }//package
Section 152
//StayMC (StayMC) package { import flash.display.*; import Plugs.*; public dynamic class StayMC extends MovieClip { public function StayMC(){ addFrameScript(0, frame1); } function frame1(){ Music.stopLoops(); } } }//package
Section 153
//SunbatheMC (SunbatheMC) package { import flash.display.*; public dynamic class SunbatheMC extends MovieClip { public var teint:MovieClip; public var creme:MovieClip; public var panel:MovieClip; public var sprt:MovieClip; public var dang:MovieClip; } }//package
Section 154
//SurfinMC (SurfinMC) package { import flash.display.*; public dynamic class SurfinMC extends MovieClip { public var waves:MovieClip; public var l1:MovieClip; public var sprt:MovieClip; public var l2:MovieClip; public var l3:MovieClip; } }//package
Section 155
//TimeupMC (TimeupMC) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; import Plugs.*; public dynamic class TimeupMC extends MovieClip { public function TimeupMC(){ addFrameScript(40, frame41); } function frame41(){ Music.stopLoops(); stop(); Main.levl = "Flight2"; Main.dd = 1; Main.todo.dd = 2; } } }//package
Section 156
//titleMC (titleMC) package { import flash.display.*; import flash.text.*; public dynamic class titleMC extends MovieClip { public var eltext:TextField; public var fnt:MovieClip; public var twn:MovieClip; } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClipUses:2Used by:Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {HolidaySim_640x480_fla.adcon_2}Uses:4Used by:Timeline
Symbol 6 FontUsed by:7 8 321
Symbol 7 TextUses:6Used by:10
Symbol 8 TextUses:6Used by:10
Symbol 9 GraphicUsed by:10 172 177
Symbol 10 ButtonUses:7 8 9Used by:Timeline
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:13
Symbol 13 MovieClipUses:12Used by:456 459  Timeline
Symbol 14 GraphicUsed by:29
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:29
Symbol 17 GraphicUsed by:29
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 ButtonUses:18 19 20Used by:29
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:29
Symbol 25 GraphicUsed by:29
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Load_Indicator_6}Uses:27Used by:29 38
Symbol 29 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_FlashAd_Container_44}Uses:14 16 17 21 23 25 26 28Used by:30
Symbol 30 MovieClip {com.newgrounds.components.FlashAd}Uses:29
Symbol 31 GraphicUsed by:38 40 89
Symbol 32 GraphicUsed by:38 40 89
Symbol 33 GraphicUsed by:38 40 89
Symbol 34 GraphicUsed by:38 40 89
Symbol 35 FontUsed by:36 37 39 43 46 48 79 80 86 87
Symbol 36 TextUses:35Used by:89
Symbol 37 TextUses:35Used by:38
Symbol 38 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_ConnectingAPI_5}Uses:31 32 33 34 28 37Used by:89
Symbol 39 TextUses:35Used by:40
Symbol 40 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_API_Conencted_7}Uses:31 32 33 34 39Used by:89
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:47 51
Symbol 43 TextUses:35Used by:47
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:47 51
Symbol 46 TextUses:35Used by:47
Symbol 47 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Login_Warning_8}Uses:42 43 45 46Used by:89
Symbol 48 TextUses:35Used by:51
Symbol 49 FontUsed by:50 85 88
Symbol 50 TextUses:49Used by:51
Symbol 51 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Connection_Error_10}Uses:42 48 50 45Used by:89
Symbol 52 GraphicUsed by:53 89
Symbol 53 MovieClipUses:52Used by:89
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:74
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:74
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:74
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:74
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:74
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:74
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:74
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:74
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:74
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background}Uses:55 57 59 61 63 65 67 69 71 73Used by:89
Symbol 75 GraphicUsed by:89
Symbol 76 GraphicUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 ButtonUses:76 77Used by:89
Symbol 79 TextUses:35Used by:89
Symbol 80 TextUses:35Used by:89
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 ButtonUses:81 82 83Used by:89
Symbol 85 TextUses:49Used by:89
Symbol 86 TextUses:35Used by:89
Symbol 87 TextUses:35Used by:89
Symbol 88 TextUses:49Used by:89
Symbol 89 MovieClip {com.newgrounds.components.APIConnector}Uses:31 32 33 34 36 38 40 47 51 53 74 75 78 79 80 84 85 52 86 87 88Used by:Timeline
Symbol 90 GraphicUsed by:104
Symbol 91 FontUsed by:93
Symbol 92 FontUsed by:93
Symbol 93 TextUses:91 92Used by:104
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:104
Symbol 96 FontUsed by:97 103
Symbol 97 EditableTextUses:96Used by:104
Symbol 98 FontUsed by:99 100
Symbol 99 TextUses:98Used by:104
Symbol 100 EditableTextUses:98Used by:104
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:104
Symbol 103 EditableTextUses:96Used by:104
Symbol 104 MovieClip {com.newgrounds.components.MedalPopup}Uses:90 93 95 97 99 100 102 103Used by:Timeline
Symbol 105 Sound {looptitle}
Symbol 106 Sound {loopTimeup}
Symbol 107 Sound {loopsharkMode}
Symbol 108 Sound {loopPixlvador}
Symbol 109 Sound {loopInland}
Symbol 110 Sound {loopHome}
Symbol 111 Sound {loopCity}
Symbol 112 Sound {loopCheckin}
Symbol 113 Sound {loopBeach}
Symbol 114 Sound {loopArcade}
Symbol 115 Sound {fxWee}
Symbol 116 Sound {fxSlot2}
Symbol 117 Sound {fxSlot1}
Symbol 118 Sound {fxPlane}
Symbol 119 Sound {fxLaser}
Symbol 120 Sound {fxJump}
Symbol 121 Sound {fxJackpot}
Symbol 122 Sound {fxHit}
Symbol 123 Sound {fxExploShip}
Symbol 124 Sound {fxExplo}
Symbol 125 Sound {fxDrop}
Symbol 126 Sound {fxBite}
Symbol 127 Sound {fxBell}
Symbol 128 Sound {fxArcade}
Symbol 129 FontUsed by:130
Symbol 130 TextUses:129Used by:159 653
Symbol 131 GraphicUsed by:132 376 644 649
Symbol 132 ButtonUses:131Used by:159 653
Symbol 133 FontUsed by:134 650
Symbol 134 EditableTextUses:133Used by:159
Symbol 135 BitmapUsed by:136 652
Symbol 136 GraphicUses:135Used by:159
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:140
Symbol 139 MovieClipUsed by:140
Symbol 140 MovieClipUses:138 139Used by:159
Symbol 141 FontUsed by:142 143 144 145 146 149 150 603 604 605 607 608 609
Symbol 142 TextUses:141Used by:158
Symbol 143 TextUses:141Used by:158
Symbol 144 TextUses:141Used by:158
Symbol 145 TextUses:141Used by:148
Symbol 146 TextUses:141Used by:148 151
Symbol 147 GraphicUsed by:148 151 187 219 332 395 399 402 403 528 533 537 543 544 565 570 585 586 597 606 610
Symbol 148 ButtonUses:145 146 147Used by:158
Symbol 149 TextUses:141Used by:151
Symbol 150 TextUses:141Used by:151
Symbol 151 ButtonUses:149 150 147 146Used by:158
Symbol 152 FontUsed by:153 157 303
Symbol 153 EditableTextUses:152Used by:158
Symbol 154 FontUsed by:156
Symbol 155 Font
Symbol 156 EditableTextUses:154Used by:158
Symbol 157 EditableTextUses:152Used by:158
Symbol 158 MovieClip {HolidaySim_640x480_fla.titletween_145}Uses:142 143 144 148 151 153 156 157Used by:159
Symbol 159 MovieClip {titleMC}Uses:130 132 134 136 140 158
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:165
Symbol 162 FontUsed by:163 164
Symbol 163 TextUses:162Used by:165
Symbol 164 TextUses:162Used by:165
Symbol 165 MovieClip {TimeupMC}Uses:161 163 164
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:207
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:187
Symbol 170 GraphicUsed by:176
Symbol 171 ShapeTweeningUsed by:172
Symbol 172 MovieClipUses:171 9Used by:176 181 186 253 271 311 317 383 416 424 468 477 485 494 521
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:176
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {HolidaySim_640x480_fla.dudeSurfin1_133}Uses:170 172 173 174 175Used by:187
Symbol 177 MovieClipUses:9Used by:187 640
Symbol 178 GraphicUsed by:187
Symbol 179 GraphicUsed by:181
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClip {HolidaySim_640x480_fla.dudeSurfinJump_134}Uses:179 172 180Used by:187
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:187
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip {HolidaySim_640x480_fla.dudeSurfin2_136}Uses:184 172 185Used by:187
Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132}Uses:169 176 177 178 181 147 183 186Used by:207
Symbol 188 GraphicUsed by:189 229 313 332 379 497 512 661
Symbol 189 MovieClipUses:188Used by:207
Symbol 190 BitmapUsed by:192 197 198 200
Symbol 191 BitmapUsed by:192 198
Symbol 192 GraphicUses:190 191Used by:201
Symbol 193 BitmapUsed by:195 199
Symbol 194 BitmapUsed by:195 199
Symbol 195 GraphicUses:193 194Used by:201
Symbol 196 BitmapUsed by:197 200
Symbol 197 GraphicUses:190 196Used by:201
Symbol 198 GraphicUses:191 190Used by:201
Symbol 199 GraphicUses:194 193Used by:201
Symbol 200 GraphicUses:196 190Used by:201
Symbol 201 MovieClipUses:192 195 197 198 199 200Used by:207
Symbol 202 FontUsed by:203 204 205
Symbol 203 TextUses:202Used by:206
Symbol 204 TextUses:202Used by:206
Symbol 205 TextUses:202Used by:206
Symbol 206 MovieClip {HolidaySim_640x480_fla.surfTut_139}Uses:203 204 205Used by:207
Symbol 207 MovieClip {SurfinMC}Uses:167 187 189 201 206
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:236 546 592
Symbol 210 FontUsed by:211 212 213 214 215 216 337 417 418
Symbol 211 TextUses:210Used by:217
Symbol 212 TextUses:210Used by:217
Symbol 213 TextUses:210Used by:217
Symbol 214 TextUses:210Used by:217
Symbol 215 TextUses:210Used by:217
Symbol 216 TextUses:210Used by:217
Symbol 217 MovieClipUses:211 212 213 214 215 216Used by:236
Symbol 218 GraphicUsed by:222 224
Symbol 219 MovieClipUses:147Used by:222 224
Symbol 220 FontUsed by:221 223
Symbol 221 TextUses:220Used by:222
Symbol 222 MovieClipUses:218 219 221Used by:236
Symbol 223 TextUses:220Used by:224
Symbol 224 MovieClipUses:218 219 223Used by:236
Symbol 225 GraphicUsed by:229
Symbol 226 ShapeTweeningUsed by:229
Symbol 227 GraphicUsed by:229
Symbol 228 ShapeTweeningUsed by:229
Symbol 229 MovieClipUses:225 226 227 228 188Used by:236
Symbol 230 GraphicUsed by:234 235 489
Symbol 231 FontUsed by:232 233 355 356
Symbol 232 EditableTextUses:231Used by:235
Symbol 233 EditableTextUses:231Used by:234
Symbol 234 MovieClipUses:230 233Used by:235
Symbol 235 MovieClipUses:230 232 234Used by:236 285 404 425 430 453 481 507 545 546 587 592 598
Symbol 236 MovieClip {SunbatheMC}Uses:209 217 222 224 229 235
Symbol 237 BitmapUsed by:238 426
Symbol 238 GraphicUses:237Used by:244
Symbol 239 FontUsed by:241
Symbol 240 FontUsed by:241
Symbol 241 TextUses:239 240Used by:244
Symbol 242 FontUsed by:243 572
Symbol 243 TextUses:242Used by:244
Symbol 244 MovieClip {HolidaySim_640x480_fla.stayhomemc_124}Uses:238 241 243Used by:245
Symbol 245 MovieClip {StayMC}Uses:244
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:264
Symbol 248 GraphicUsed by:253
Symbol 249 GraphicUsed by:253
Symbol 250 GraphicUsed by:253
Symbol 251 GraphicUsed by:253
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClip {HolidaySim_640x480_fla.dudsharkchase_120}Uses:248 249 172 250 251 252Used by:264
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:258
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:258
Symbol 258 MovieClipUses:255 257Used by:264
Symbol 259 FontUsed by:260 261 262 542
Symbol 260 TextUses:259Used by:263
Symbol 261 TextUses:259Used by:263
Symbol 262 TextUses:259Used by:263
Symbol 263 MovieClipUses:260 261 262Used by:264
Symbol 264 MovieClip {sharkModeMC}Uses:247 253 258 263
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:285
Symbol 267 GraphicUsed by:271
Symbol 268 GraphicUsed by:271
Symbol 269 GraphicUsed by:271
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClip {HolidaySim_640x480_fla.dudswim1_116}Uses:267 172 268 269 270Used by:285
Symbol 272 GraphicUsed by:275
Symbol 273 GraphicUsed by:275
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:272 273 274Used by:285
Symbol 276 FontUsed by:277 280 282 353
Symbol 277 TextUses:276Used by:284
Symbol 278 FontUsed by:279 281 283
Symbol 279 TextUses:278Used by:284
Symbol 280 TextUses:276Used by:284
Symbol 281 TextUses:278Used by:284
Symbol 282 TextUses:276Used by:284
Symbol 283 TextUses:278Used by:284
Symbol 284 MovieClipUses:277 279 280 281 282 283Used by:285
Symbol 285 MovieClip {SeaMC}Uses:266 271 275 235 284
Symbol 286 BitmapUsed by:287
Symbol 287 GraphicUses:286Used by:333
Symbol 288 FontUsed by:289 290 291 292 293 294
Symbol 289 TextUses:288Used by:295
Symbol 290 TextUses:288Used by:295
Symbol 291 TextUses:288Used by:295
Symbol 292 TextUses:288Used by:295
Symbol 293 TextUses:288Used by:295
Symbol 294 TextUses:288Used by:295
Symbol 295 MovieClipUses:289 290 291 292 293 294Used by:333
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:298
Symbol 298 MovieClipUses:297Used by:305
Symbol 299 FontUsed by:303 321 325 331 340 562 563
Symbol 300 FontUsed by:303 340 567
Symbol 301 FontUsed by:303 541
Symbol 302 FontUsed by:303 526 527 531 532 536 540 564
Symbol 303 TextUses:299 152 300 301 302Used by:304
Symbol 304 MovieClipUses:303Used by:305
Symbol 305 MovieClipUses:298 304Used by:333
Symbol 306 BitmapUsed by:307
Symbol 307 GraphicUses:306Used by:308
Symbol 308 MovieClipUses:307Used by:332
Symbol 309 GraphicUsed by:311 317 383 416 424 521
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClip {HolidaySim_640x480_fla.dudebeach1_32}Uses:309 172 310Used by:328 332 507 546 598
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:188 312Used by:332
Symbol 314 FontUsed by:315 567
Symbol 315 TextUses:314Used by:332
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClip {HolidaySim_640x480_fla.dudebeach5_113}Uses:309 172 316Used by:332
Symbol 318 GraphicUsed by:332
Symbol 319 GraphicUsed by:332
Symbol 320 FontUsed by:321
Symbol 321 TextUses:6 299 320Used by:332
Symbol 322 GraphicUsed by:332
Symbol 323 GraphicUsed by:332
Symbol 324 FontUsed by:325 559 561 566 567 572
Symbol 325 TextUses:299 324Used by:332
Symbol 326 BitmapUsed by:327
Symbol 327 GraphicUses:326Used by:332
Symbol 328 MovieClipUses:311Used by:332
Symbol 329 FontUsed by:331 538
Symbol 330 FontUsed by:331
Symbol 331 TextUses:299 329 330Used by:332
Symbol 332 MovieClip {HolidaySim_640x480_fla.sanboxEnd_110}Uses:308 311 313 147 315 188 317 318 319 321 322 323 325 327 328 331Used by:333
Symbol 333 MovieClip {SandcastleMC}Uses:287 295 305 332
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClipUses:335Used by:375
Symbol 337 TextUses:210Used by:338
Symbol 338 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOverblink_98}Uses:337Used by:350
Symbol 339 FontUsed by:573
Symbol 340 TextUses:300 299Used by:347
Symbol 341 FontUsed by:342
Symbol 342 TextUses:341Used by:347
Symbol 343 FontUsed by:344 348 353
Symbol 344 EditableTextUses:343Used by:347
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:347
Symbol 347 MovieClip {HolidaySim_640x480_fla.enterletterCurs_99}Uses:340 342 344 346Used by:350
Symbol 348 EditableTextUses:343Used by:349
Symbol 349 MovieClipUses:348Used by:350
Symbol 350 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOver_97}Uses:338 347 349Used by:375
Symbol 351 FontUsed by:352
Symbol 352 TextUses:351Used by:372
Symbol 353 TextUses:276 343Used by:354
Symbol 354 MovieClipUses:353Used by:372
Symbol 355 TextUses:231Used by:372
Symbol 356 TextUses:231Used by:372
Symbol 357 GraphicUsed by:359
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClipUses:357 358Used by:372 648
Symbol 360 GraphicUsed by:362
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:360 361Used by:372 648
Symbol 363 GraphicUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:363 364Used by:372 648
Symbol 366 GraphicUsed by:368
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClipUses:366 367Used by:372 648
Symbol 369 GraphicUsed by:371
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClipUses:369 370Used by:372 648
Symbol 372 MovieClipUses:352 354 355 356 359 362 365 368 371Used by:375
Symbol 373 FontUsed by:374
Symbol 374 EditableTextUses:373Used by:375
Symbol 375 MovieClip {HolidaySim_640x480_fla.pixlavorCont_95}Uses:336 350 372 374Used by:379
Symbol 376 MovieClipUses:131Used by:379
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:379
Symbol 379 MovieClip {PixlvadorMC}Uses:188 375 376 378
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:404
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClip {HolidaySim_640x480_fla.dudebeach2_40}Uses:309 172 382Used by:404 587
Symbol 384 BitmapUsed by:385
Symbol 385 GraphicUses:384Used by:386
Symbol 386 MovieClipUses:385Used by:404
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:389
Symbol 389 MovieClipUses:388Used by:404
Symbol 390 BitmapUsed by:391
Symbol 391 GraphicUses:390Used by:392
Symbol 392 MovieClipUses:391Used by:404
Symbol 393 FontUsed by:394 396 397 398 400 401
Symbol 394 TextUses:393Used by:395
Symbol 395 MovieClip {HolidaySim_640x480_fla.shopThanksbucket_91}Uses:147 394Used by:403
Symbol 396 TextUses:393Used by:399
Symbol 397 TextUses:393Used by:399
Symbol 398 TextUses:393Used by:399 402
Symbol 399 MovieClip {HolidaySim_640x480_fla.shopNoBoard_92}Uses:147 396 397 398Used by:403
Symbol 400 TextUses:393Used by:402
Symbol 401 TextUses:393Used by:402
Symbol 402 MovieClip {HolidaySim_640x480_fla.shopNoRod_93}Uses:147 400 401 398Used by:403
Symbol 403 MovieClip {HolidaySim_640x480_fla.shopWoman_90}Uses:147 395 399 402Used by:404
Symbol 404 MovieClip {MarketMC}Uses:381 383 235 386 389 392 403
Symbol 405 BitmapUsed by:406
Symbol 406 GraphicUses:405Used by:420
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:414
Symbol 409 BitmapUsed by:410 413
Symbol 410 GraphicUses:409Used by:414
Symbol 411 BitmapUsed by:412
Symbol 412 GraphicUses:411Used by:414
Symbol 413 GraphicUses:409Used by:414
Symbol 414 MovieClipUses:408 410 412 413Used by:420
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClip {HolidaySim_640x480_fla.dudeInland_84}Uses:309 172 415Used by:420
Symbol 417 TextUses:210Used by:419
Symbol 418 TextUses:210Used by:419
Symbol 419 MovieClipUses:417 418Used by:420
Symbol 420 MovieClip {InlandMC}Uses:406 414 416 419
Symbol 421 BitmapUsed by:422 506
Symbol 422 GraphicUses:421Used by:425
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClip {HolidaySim_640x480_fla.dudeHospital_81}Uses:309 172 423Used by:425
Symbol 425 MovieClip {HospitalMC}Uses:422 235 424
Symbol 426 GraphicUses:237Used by:430
Symbol 427 BitmapUsed by:428 588
Symbol 428 GraphicUses:427Used by:429
Symbol 429 MovieClip {HolidaySim_640x480_fla.homeDude_79}Uses:428Used by:430
Symbol 430 MovieClip {HomeMC}Uses:426 429 235
Symbol 431 BitmapUsed by:432
Symbol 432 GraphicUses:431Used by:453
Symbol 433 BitmapUsed by:434
Symbol 434 GraphicUses:433Used by:439
Symbol 435 BitmapUsed by:436
Symbol 436 GraphicUses:435Used by:439
Symbol 437 BitmapUsed by:438
Symbol 438 GraphicUses:437Used by:439
Symbol 439 MovieClipUses:434 436 438Used by:453
Symbol 440 FontUsed by:441 495
Symbol 441 TextUses:440Used by:442
Symbol 442 MovieClipUses:441Used by:453
Symbol 443 FontUsed by:444 445 446 447
Symbol 444 TextUses:443Used by:448
Symbol 445 TextUses:443Used by:448
Symbol 446 TextUses:443Used by:448
Symbol 447 TextUses:443Used by:448
Symbol 448 MovieClip {HolidaySim_640x480_fla.jackpotblonk_76}Uses:444 445 446 447Used by:453
Symbol 449 BitmapUsed by:450 451
Symbol 450 GraphicUses:449Used by:452
Symbol 451 GraphicUses:449Used by:452
Symbol 452 MovieClip {HolidaySim_640x480_fla.lever_77}Uses:450 451Used by:453
Symbol 453 MovieClip {GambleMC}Uses:432 235 439 442 448 452
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:456 459
Symbol 456 MovieClip {FlightMC}Uses:455 13
Symbol 457 FontUsed by:458
Symbol 458 TextUses:457Used by:459
Symbol 459 MovieClip {Flight2MC}Uses:455 13 458
Symbol 460 GraphicUsed by:469
Symbol 461 GraphicUsed by:469
Symbol 462 GraphicUsed by:469
Symbol 463 GraphicUsed by:469
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:469 481 486 497
Symbol 466 GraphicUsed by:468
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClip {HolidaySim_640x480_fla.dudefishingShark_70}Uses:466 172 467Used by:469
Symbol 469 MovieClip {FishSharkMC}Uses:460 461 462 463 465 468
Symbol 470 GraphicUsed by:477
Symbol 471 GraphicUsed by:477
Symbol 472 GraphicUsed by:477
Symbol 473 GraphicUsed by:477
Symbol 474 GraphicUsed by:477
Symbol 475 GraphicUsed by:477
Symbol 476 GraphicUsed by:477
Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67}Uses:470 172 471 472 473 474 475 476Used by:481
Symbol 478 GraphicUsed by:480
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClip {HolidaySim_640x480_fla.fishbite_68}Uses:478 479Used by:481
Symbol 481 MovieClip {FishingMC}Uses:465 235 477 480
Symbol 482 GraphicUsed by:485
Symbol 483 GraphicUsed by:485
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClip {HolidaySim_640x480_fla.dudehavingfish_65}Uses:482 172 483 484Used by:486
Symbol 486 MovieClip {FishGetMC}Uses:465 485
Symbol 487 GraphicUsed by:489
Symbol 488 GraphicUsed by:489
Symbol 489 MovieClipUses:230 487 488Used by:497
Symbol 490 GraphicUsed by:494
Symbol 491 GraphicUsed by:494
Symbol 492 GraphicUsed by:494
Symbol 493 GraphicUsed by:494
Symbol 494 MovieClip {HolidaySim_640x480_fla.dudefishbattling_62}Uses:490 172 491 492 493Used by:497
Symbol 495 TextUses:440Used by:496
Symbol 496 MovieClipUses:495Used by:497
Symbol 497 MovieClip {FishBattleMC}Uses:465 188 489 494 496
Symbol 498 BitmapUsed by:499
Symbol 499 GraphicUses:498Used by:505
Symbol 500 FontUsed by:501
Symbol 501 TextUses:500Used by:505
Symbol 502 BitmapUsed by:503
Symbol 503 GraphicUses:502Used by:504
Symbol 504 MovieClipUses:503Used by:505
Symbol 505 MovieClip {DrownMC}Uses:499 501 504
Symbol 506 GraphicUses:421Used by:507
Symbol 507 MovieClip {CityMC}Uses:506 235 311
Symbol 508 BitmapUsed by:509
Symbol 509 GraphicUses:508Used by:545
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:512
Symbol 512 MovieClip {HolidaySim_640x480_fla.checkinDude_51}Uses:188 511Used by:545
Symbol 513 GraphicUsed by:521
Symbol 514 GraphicUsed by:521
Symbol 515 GraphicUsed by:521
Symbol 516 GraphicUsed by:521
Symbol 517 GraphicUsed by:521
Symbol 518 GraphicUsed by:521
Symbol 519 GraphicUsed by:521
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52}Uses:309 172 513 514 515 516 517 518 519 520Used by:545
Symbol 522 GraphicUsed by:528
Symbol 523 FontUsed by:524 529 531 534 574
Symbol 524 TextUses:523Used by:528
Symbol 525 GraphicUsed by:528
Symbol 526 TextUses:302Used by:528
Symbol 527 TextUses:302Used by:528
Symbol 528 MovieClip {HolidaySim_640x480_fla.hotelDialogWelcome_54}Uses:522 524 525 526 147 527Used by:544
Symbol 529 TextUses:523Used by:533
Symbol 530 GraphicUsed by:533
Symbol 531 TextUses:523 302Used by:533
Symbol 532 TextUses:302Used by:533
Symbol 533 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle1_55}Uses:147 529 530 531 532Used by:544
Symbol 534 TextUses:523Used by:537
Symbol 535 GraphicUsed by:537
Symbol 536 TextUses:302Used by:537
Symbol 537 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle2_56}Uses:147 534 535 536Used by:544
Symbol 538 TextUses:329Used by:543
Symbol 539 GraphicUsed by:543
Symbol 540 TextUses:302Used by:543
Symbol 541 TextUses:301Used by:543
Symbol 542 TextUses:259Used by:543
Symbol 543 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle3_48}Uses:147 538 539 540 541 542Used by:544 586
Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53}Uses:147 528 533 537 543Used by:545
Symbol 545 MovieClip {CheckinMC}Uses:509 512 521 235 544
Symbol 546 MovieClip {BeachMC}Uses:209 311 235
Symbol 547 BitmapUsed by:548
Symbol 548 GraphicUses:547Used by:587
Symbol 549 BitmapUsed by:550 551
Symbol 550 GraphicUses:549Used by:552
Symbol 551 GraphicUses:549Used by:552
Symbol 552 MovieClipUses:550 551Used by:555 558
Symbol 553 BitmapUsed by:554
Symbol 554 GraphicUses:553Used by:555
Symbol 555 MovieClip {HolidaySim_640x480_fla.getCocktail_41}Uses:552 554Used by:587
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:558
Symbol 558 MovieClip {HolidaySim_640x480_fla.getBeer_43}Uses:552 557Used by:587
Symbol 559 TextUses:324Used by:565
Symbol 560 GraphicUsed by:565
Symbol 561 TextUses:324Used by:565
Symbol 562 TextUses:299Used by:565
Symbol 563 TextUses:299Used by:565
Symbol 564 TextUses:302Used by:565
Symbol 565 MovieClip {HolidaySim_640x480_fla.barDialogFood_45}Uses:147 559 560 561 562 563 564Used by:586
Symbol 566 TextUses:324Used by:570
Symbol 567 TextUses:324 300 314Used by:570
Symbol 568 FontUsed by:569
Symbol 569 TextUses:568Used by:570
Symbol 570 MovieClip {HolidaySim_640x480_fla.barDialogFood2_46}Uses:147 566 567 569Used by:586
Symbol 571 GraphicUsed by:585
Symbol 572 TextUses:324 242Used by:585
Symbol 573 TextUses:339Used by:585
Symbol 574 TextUses:523Used by:585
Symbol 575 FontUsed by:576 577 580
Symbol 576 TextUses:575Used by:585
Symbol 577 TextUses:575Used by:585
Symbol 578 FontUsed by:580
Symbol 579 FontUsed by:580 583
Symbol 580 TextUses:575 578 579Used by:585
Symbol 581 GraphicUsed by:585
Symbol 582 FontUsed by:583 584
Symbol 583 TextUses:579 582Used by:585
Symbol 584 TextUses:582Used by:585
Symbol 585 MovieClip {HolidaySim_640x480_fla.barDialogFood3_47}Uses:571 572 147 573 574 576 577 580 581 583 584Used by:586
Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44}Uses:147 565 570 585 543Used by:587
Symbol 587 MovieClip {BarMC}Uses:548 383 235 555 558 586
Symbol 588 GraphicUses:427Used by:591
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:591
Symbol 591 MovieClip {HolidaySim_640x480_fla.beachsprites_38}Uses:588 590Used by:592
Symbol 592 MovieClip {ArrivalMC}Uses:209 591 235
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:598
Symbol 595 FontUsed by:596
Symbol 596 TextUses:595Used by:597
Symbol 597 MovieClipUses:147 596Used by:598
Symbol 598 MovieClip {ArcadeMC}Uses:594 311 597 235
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:599Used by:630
Symbol 601 FontUsed by:602
Symbol 602 TextUses:601Used by:630
Symbol 603 TextUses:141Used by:606
Symbol 604 TextUses:141Used by:606
Symbol 605 TextUses:141Used by:606
Symbol 606 ButtonUses:603 604 147 605Used by:630
Symbol 607 TextUses:141Used by:610
Symbol 608 TextUses:141Used by:610
Symbol 609 TextUses:141Used by:610
Symbol 610 ButtonUses:607 608 147 609Used by:630
Symbol 611 FontUsed by:612 615 621 624 627
Symbol 612 EditableTextUses:611Used by:630
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:613Used by:620 623 626 629
Symbol 615 TextUses:611Used by:620
Symbol 616 FontUsed by:617 622 625 628
Symbol 617 TextUses:616Used by:620
Symbol 618 GraphicUsed by:619
Symbol 619 MovieClipUses:618Used by:620 623 626 629
Symbol 620 MovieClip {HolidaySim_640x480_fla.ach_1_25}Uses:614 615 617 619Used by:630
Symbol 621 TextUses:611Used by:623
Symbol 622 TextUses:616Used by:623
Symbol 623 MovieClip {HolidaySim_640x480_fla.ach_2_28}Uses:614 621 622 619Used by:630
Symbol 624 TextUses:611Used by:626
Symbol 625 TextUses:616Used by:626
Symbol 626 MovieClip {HolidaySim_640x480_fla.ach_3_29}Uses:614 624 625 619Used by:630
Symbol 627 TextUses:611Used by:629
Symbol 628 TextUses:616Used by:629
Symbol 629 MovieClip {HolidaySim_640x480_fla.ach_4_30}Uses:614 627 628 619Used by:630
Symbol 630 MovieClip {AchyMC}Uses:600 602 606 610 612 620 623 626 629
Symbol 631 GraphicUsed by:635
Symbol 632 GraphicUsed by:635
Symbol 633 GraphicUsed by:635
Symbol 634 GraphicUsed by:635
Symbol 635 MovieClip {sharkSurf}Uses:631 632 633 634
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:640
Symbol 638 BitmapUsed by:639
Symbol 639 GraphicUses:638Used by:640
Symbol 640 MovieClip {bigWave}Uses:637 177 639
Symbol 641 BitmapUsed by:642
Symbol 642 GraphicUses:641Used by:643
Symbol 643 MovieClip {sandBlock}Uses:642
Symbol 644 MovieClip {exPar}Uses:131
Symbol 645 GraphicUsed by:647
Symbol 646 GraphicUsed by:647
Symbol 647 MovieClipUses:645 646Used by:648
Symbol 648 MovieClip {ene1MC}Uses:647 368 359 371 365 362
Symbol 649 MovieClip {bulletMC}Uses:131
Symbol 650 EditableTextUses:133Used by:653
Symbol 651 BitmapUsed by:652
Symbol 652 GraphicUses:135 651Used by:653
Symbol 653 MovieClip {level101}Uses:130 132 650 652
Symbol 654 BitmapUsed by:655
Symbol 655 GraphicUses:654Used by:656
Symbol 656 MovieClip {crsr}Uses:655
Symbol 657 ShapeTweeningUsed by:661
Symbol 658 GraphicUsed by:661
Symbol 659 FontUsed by:660
Symbol 660 TextUses:659Used by:661
Symbol 661 MovieClip {blackoutMC}Uses:657 188 658 660

Instance Names

"startBUT"Frame 1Symbol 10 Button
"plane"Frame 1Symbol 13 MovieClip
"__id1_"Frame 5Symbol 89 MovieClip {com.newgrounds.components.APIConnector}
"adMask"Symbol 29 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_FlashAd_Container_44} Frame 1Symbol 16 MovieClip
"ngLinkButton"Symbol 29 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_FlashAd_Container_44} Frame 1Symbol 21 Button
"background"Symbol 30 MovieClip {com.newgrounds.components.FlashAd} Frame 1Symbol 29 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_FlashAd_Container_44}
"shadow"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 55 MovieClip
"c"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 57 MovieClip
"b"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 59 MovieClip
"t"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 61 MovieClip
"l"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 63 MovieClip
"r"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 65 MovieClip
"tl"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 67 MovieClip
"tr"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 69 MovieClip
"bl"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 71 MovieClip
"br"Symbol 74 MovieClip {NewgroundsAPIAsset_big_popup_background} Frame 1Symbol 73 MovieClip
"errorDialog"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 5Symbol 47 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Login_Warning_8}
"errorDialog"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 6Symbol 51 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Connection_Error_10}
"background"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 7Symbol 53 MovieClip
"closeButton"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 7Symbol 78 Button
"viewLatestButton"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 7Symbol 84 Button
"viewAuthorizedButton"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 8Symbol 84 Button
"medalNameText"Symbol 104 MovieClip {com.newgrounds.components.MedalPopup} Frame 10Symbol 97 EditableText
"medalValueText"Symbol 104 MovieClip {com.newgrounds.components.MedalPopup} Frame 10Symbol 100 EditableText
"medalContainer"Symbol 104 MovieClip {com.newgrounds.components.MedalPopup} Frame 10Symbol 102 MovieClip
"fonthit"Symbol 140 MovieClip Frame 1Symbol 138 MovieClip
"msk"Symbol 140 MovieClip Frame 1Symbol 139 MovieClip
"startGame"Symbol 158 MovieClip {HolidaySim_640x480_fla.titletween_145} Frame 172Symbol 148 Button
"gotoAchy"Symbol 158 MovieClip {HolidaySim_640x480_fla.titletween_145} Frame 172Symbol 151 Button
"eltext"Symbol 159 MovieClip {titleMC} Frame 1Symbol 134 EditableText
"fnt"Symbol 159 MovieClip {titleMC} Frame 1Symbol 140 MovieClip
"twn"Symbol 159 MovieClip {titleMC} Frame 1Symbol 158 MovieClip {HolidaySim_640x480_fla.titletween_145}
"msk"Symbol 176 MovieClip {HolidaySim_640x480_fla.dudeSurfin1_133} Frame 1Symbol 172 MovieClip
"msk"Symbol 176 MovieClip {HolidaySim_640x480_fla.dudeSurfin1_133} Frame 7Symbol 172 MovieClip
"msk"Symbol 181 MovieClip {HolidaySim_640x480_fla.dudeSurfinJump_134} Frame 1Symbol 172 MovieClip
"msk"Symbol 186 MovieClip {HolidaySim_640x480_fla.dudeSurfin2_136} Frame 1Symbol 172 MovieClip
"kol"Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132} Frame 1Symbol 177 MovieClip
"board"Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132} Frame 3Symbol 183 MovieClip
"sprt"Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132} Frame 3Symbol 186 MovieClip {HolidaySim_640x480_fla.dudeSurfin2_136}
"sprt"Symbol 207 MovieClip {SurfinMC} Frame 1Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132}
"l3"Symbol 207 MovieClip {SurfinMC} Frame 1Symbol 189 MovieClip
"l2"Symbol 207 MovieClip {SurfinMC} Frame 1Symbol 189 MovieClip
"l1"Symbol 207 MovieClip {SurfinMC} Frame 1Symbol 189 MovieClip
"waves"Symbol 207 MovieClip {SurfinMC} Frame 1Symbol 201 MovieClip
"bar"Symbol 222 MovieClip Frame 1Symbol 219 MovieClip
"bar"Symbol 224 MovieClip Frame 1Symbol 219 MovieClip
"txt"Symbol 234 MovieClip Frame 1Symbol 233 EditableText
"inf"Symbol 235 MovieClip Frame 1Symbol 232 EditableText
"ch4"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch5"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch6"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch7"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch0"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch1"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch2"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"ch3"Symbol 235 MovieClip Frame 1Symbol 234 MovieClip
"dang"Symbol 236 MovieClip {SunbatheMC} Frame 1Symbol 217 MovieClip
"teint"Symbol 236 MovieClip {SunbatheMC} Frame 1Symbol 222 MovieClip
"creme"Symbol 236 MovieClip {SunbatheMC} Frame 1Symbol 224 MovieClip
"sprt"Symbol 236 MovieClip {SunbatheMC} Frame 1Symbol 229 MovieClip
"panel"Symbol 236 MovieClip {SunbatheMC} Frame 1Symbol 235 MovieClip
"msk"Symbol 253 MovieClip {HolidaySim_640x480_fla.dudsharkchase_120} Frame 1Symbol 172 MovieClip
"msk"Symbol 253 MovieClip {HolidaySim_640x480_fla.dudsharkchase_120} Frame 2Symbol 172 MovieClip
"msk"Symbol 253 MovieClip {HolidaySim_640x480_fla.dudsharkchase_120} Frame 3Symbol 172 MovieClip
"msk"Symbol 253 MovieClip {HolidaySim_640x480_fla.dudsharkchase_120} Frame 4Symbol 172 MovieClip
"sprt"Symbol 264 MovieClip {sharkModeMC} Frame 1Symbol 253 MovieClip {HolidaySim_640x480_fla.dudsharkchase_120}
"shrk"Symbol 264 MovieClip {sharkModeMC} Frame 1Symbol 258 MovieClip
"dsp"Symbol 264 MovieClip {sharkModeMC} Frame 1Symbol 263 MovieClip
"msk"Symbol 271 MovieClip {HolidaySim_640x480_fla.dudswim1_116} Frame 1Symbol 172 MovieClip
"msk"Symbol 271 MovieClip {HolidaySim_640x480_fla.dudswim1_116} Frame 15Symbol 172 MovieClip
"msk"Symbol 271 MovieClip {HolidaySim_640x480_fla.dudswim1_116} Frame 32Symbol 172 MovieClip
"sprt"Symbol 285 MovieClip {SeaMC} Frame 1Symbol 271 MovieClip {HolidaySim_640x480_fla.dudswim1_116}
"shrk"Symbol 285 MovieClip {SeaMC} Frame 1Symbol 275 MovieClip
"panel"Symbol 285 MovieClip {SeaMC} Frame 1Symbol 235 MovieClip
"sa"Symbol 285 MovieClip {SeaMC} Frame 1Symbol 284 MovieClip
"bucket"Symbol 305 MovieClip Frame 1Symbol 298 MovieClip
"inf"Symbol 305 MovieClip Frame 1Symbol 304 MovieClip
"msk"Symbol 311 MovieClip {HolidaySim_640x480_fla.dudebeach1_32} Frame 1Symbol 172 MovieClip
"msk"Symbol 317 MovieClip {HolidaySim_640x480_fla.dudebeach5_113} Frame 1Symbol 172 MovieClip
"fail"Symbol 333 MovieClip {SandcastleMC} Frame 1Symbol 295 MovieClip
"cont"Symbol 333 MovieClip {SandcastleMC} Frame 1Symbol 305 MovieClip
"endin"Symbol 333 MovieClip {SandcastleMC} Frame 1Symbol 332 MovieClip {HolidaySim_640x480_fla.sanboxEnd_110}
"txt"Symbol 347 MovieClip {HolidaySim_640x480_fla.enterletterCurs_99} Frame 1Symbol 344 EditableText
"curs"Symbol 347 MovieClip {HolidaySim_640x480_fla.enterletterCurs_99} Frame 1Symbol 346 MovieClip
"txt"Symbol 349 MovieClip Frame 1Symbol 348 EditableText
"blink"Symbol 350 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOver_97} Frame 1Symbol 338 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOverblink_98}
"l1"Symbol 350 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOver_97} Frame 1Symbol 347 MovieClip {HolidaySim_640x480_fla.enterletterCurs_99}
"l2"Symbol 350 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOver_97} Frame 1Symbol 349 MovieClip
"l3"Symbol 350 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOver_97} Frame 1Symbol 349 MovieClip
"sprt"Symbol 375 MovieClip {HolidaySim_640x480_fla.pixlavorCont_95} Frame 1Symbol 336 MovieClip
"go"Symbol 375 MovieClip {HolidaySim_640x480_fla.pixlavorCont_95} Frame 1Symbol 350 MovieClip {HolidaySim_640x480_fla.PixlvadorgameOver_97}
"titl"Symbol 375 MovieClip {HolidaySim_640x480_fla.pixlavorCont_95} Frame 1Symbol 372 MovieClip
"scr"Symbol 375 MovieClip {HolidaySim_640x480_fla.pixlavorCont_95} Frame 1Symbol 374 EditableText
"gameCont"Symbol 379 MovieClip {PixlvadorMC} Frame 1Symbol 375 MovieClip {HolidaySim_640x480_fla.pixlavorCont_95}
"koll"Symbol 379 MovieClip {PixlvadorMC} Frame 1Symbol 376 MovieClip
"kolr"Symbol 379 MovieClip {PixlvadorMC} Frame 1Symbol 376 MovieClip
"msk"Symbol 383 MovieClip {HolidaySim_640x480_fla.dudebeach2_40} Frame 1Symbol 172 MovieClip
"panel"Symbol 404 MovieClip {MarketMC} Frame 1Symbol 235 MovieClip
"board"Symbol 404 MovieClip {MarketMC} Frame 1Symbol 386 MovieClip
"bucket"Symbol 404 MovieClip {MarketMC} Frame 1Symbol 389 MovieClip
"rod"Symbol 404 MovieClip {MarketMC} Frame 1Symbol 392 MovieClip
"dialog"Symbol 404 MovieClip {MarketMC} Frame 1Symbol 403 MovieClip {HolidaySim_640x480_fla.shopWoman_90}
"msk"Symbol 416 MovieClip {HolidaySim_640x480_fla.dudeInland_84} Frame 1Symbol 172 MovieClip
"balla"Symbol 420 MovieClip {InlandMC} Frame 1Symbol 414 MovieClip
"txt"Symbol 420 MovieClip {InlandMC} Frame 1Symbol 419 MovieClip
"msk"Symbol 424 MovieClip {HolidaySim_640x480_fla.dudeHospital_81} Frame 1Symbol 172 MovieClip
"panel"Symbol 425 MovieClip {HospitalMC} Frame 1Symbol 235 MovieClip
"panel"Symbol 430 MovieClip {HomeMC} Frame 1Symbol 235 MovieClip
"panel"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 235 MovieClip
"g1"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 439 MovieClip
"g2"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 439 MovieClip
"g3"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 439 MovieClip
"nocoins"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 442 MovieClip
"pott"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 448 MovieClip {HolidaySim_640x480_fla.jackpotblonk_76}
"lever"Symbol 453 MovieClip {GambleMC} Frame 1Symbol 452 MovieClip {HolidaySim_640x480_fla.lever_77}
"plane"Symbol 456 MovieClip {FlightMC} Frame 1Symbol 13 MovieClip
"plane"Symbol 459 MovieClip {Flight2MC} Frame 1Symbol 13 MovieClip
"msk"Symbol 468 MovieClip {HolidaySim_640x480_fla.dudefishingShark_70} Frame 1Symbol 172 MovieClip
"sprt"Symbol 469 MovieClip {FishSharkMC} Frame 42Symbol 468 MovieClip {HolidaySim_640x480_fla.dudefishingShark_70}
"msk"Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67} Frame 1Symbol 172 MovieClip
"msk"Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67} Frame 2Symbol 172 MovieClip
"msk"Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67} Frame 7Symbol 172 MovieClip
"msk"Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67} Frame 8Symbol 172 MovieClip
"panel"Symbol 481 MovieClip {FishingMC} Frame 1Symbol 235 MovieClip
"sprt"Symbol 481 MovieClip {FishingMC} Frame 1Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67}
"fishbite"Symbol 481 MovieClip {FishingMC} Frame 1Symbol 480 MovieClip {HolidaySim_640x480_fla.fishbite_68}
"msk"Symbol 485 MovieClip {HolidaySim_640x480_fla.dudehavingfish_65} Frame 1Symbol 172 MovieClip
"msk"Symbol 485 MovieClip {HolidaySim_640x480_fla.dudehavingfish_65} Frame 2Symbol 172 MovieClip
"msk"Symbol 494 MovieClip {HolidaySim_640x480_fla.dudefishbattling_62} Frame 1Symbol 172 MovieClip
"msk"Symbol 494 MovieClip {HolidaySim_640x480_fla.dudefishbattling_62} Frame 5Symbol 172 MovieClip
"fish"Symbol 497 MovieClip {FishBattleMC} Frame 1Symbol 489 MovieClip
"sprt"Symbol 497 MovieClip {FishBattleMC} Frame 1Symbol 494 MovieClip {HolidaySim_640x480_fla.dudefishbattling_62}
"sprt"Symbol 505 MovieClip {DrownMC} Frame 1Symbol 504 MovieClip
"panel"Symbol 507 MovieClip {CityMC} Frame 1Symbol 235 MovieClip
"msk"Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52} Frame 1Symbol 172 MovieClip
"msk"Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52} Frame 2Symbol 172 MovieClip
"msk"Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52} Frame 6Symbol 172 MovieClip
"msk"Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52} Frame 10Symbol 172 MovieClip
"msk"Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52} Frame 17Symbol 172 MovieClip
"msk"Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52} Frame 21Symbol 172 MovieClip
"welcome"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 2Symbol 528 MovieClip {HolidaySim_640x480_fla.hotelDialogWelcome_54}
"welcome"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 3Symbol 533 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle1_55}
"welcome"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 4Symbol 537 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle2_56}
"welcome"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 5Symbol 543 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle3_48}
"dude1"Symbol 545 MovieClip {CheckinMC} Frame 1Symbol 512 MovieClip {HolidaySim_640x480_fla.checkinDude_51}
"sprt"Symbol 545 MovieClip {CheckinMC} Frame 1Symbol 521 MovieClip {HolidaySim_640x480_fla.dudeCheckin1_52}
"panel"Symbol 545 MovieClip {CheckinMC} Frame 1Symbol 235 MovieClip
"dialog"Symbol 545 MovieClip {CheckinMC} Frame 1Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53}
"panel"Symbol 546 MovieClip {BeachMC} Frame 1Symbol 235 MovieClip
"welcome"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 2Symbol 565 MovieClip {HolidaySim_640x480_fla.barDialogFood_45}
"welcome"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 3Symbol 570 MovieClip {HolidaySim_640x480_fla.barDialogFood2_46}
"welcome"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 4Symbol 585 MovieClip {HolidaySim_640x480_fla.barDialogFood3_47}
"welcome"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 5Symbol 543 MovieClip {HolidaySim_640x480_fla.hotelDialogCastle3_48}
"panel"Symbol 587 MovieClip {BarMC} Frame 1Symbol 235 MovieClip
"beerdsp"Symbol 587 MovieClip {BarMC} Frame 1Symbol 555 MovieClip {HolidaySim_640x480_fla.getCocktail_41}
"cocktaildsp"Symbol 587 MovieClip {BarMC} Frame 1Symbol 558 MovieClip {HolidaySim_640x480_fla.getBeer_43}
"dialog"Symbol 587 MovieClip {BarMC} Frame 1Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44}
"panel"Symbol 592 MovieClip {ArrivalMC} Frame 1Symbol 235 MovieClip
"won"Symbol 598 MovieClip {ArcadeMC} Frame 1Symbol 597 MovieClip
"panel"Symbol 598 MovieClip {ArcadeMC} Frame 1Symbol 235 MovieClip
"gototitle"Symbol 630 MovieClip {AchyMC} Frame 1Symbol 606 Button
"startGame"Symbol 630 MovieClip {AchyMC} Frame 1Symbol 610 Button
"a1"Symbol 630 MovieClip {AchyMC} Frame 1Symbol 620 MovieClip {HolidaySim_640x480_fla.ach_1_25}
"a2"Symbol 630 MovieClip {AchyMC} Frame 1Symbol 623 MovieClip {HolidaySim_640x480_fla.ach_2_28}
"a3"Symbol 630 MovieClip {AchyMC} Frame 1Symbol 626 MovieClip {HolidaySim_640x480_fla.ach_3_29}
"a4"Symbol 630 MovieClip {AchyMC} Frame 1Symbol 629 MovieClip {HolidaySim_640x480_fla.ach_4_30}
"kol"Symbol 640 MovieClip {bigWave} Frame 1Symbol 177 MovieClip
"eltext"Symbol 653 MovieClip {level101} Frame 1Symbol 650 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11284 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."

Labels

"game"Frame 5
"closeme"Symbol 47 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Login_Warning_8} Frame 11
"closeme"Symbol 51 MovieClip {MedalPopup_fla.NewgroundsAPIAsset_Connection_Error_10} Frame 11
"idle"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 2
"connecting"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 3
"connected"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 4
"no_login"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 5
"no_connect"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 6
"new_version"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 7
"bad_host"Symbol 89 MovieClip {com.newgrounds.components.APIConnector} Frame 8
"medal_show"Symbol 104 MovieClip {com.newgrounds.components.MedalPopup} Frame 2
"medal_hide"Symbol 104 MovieClip {com.newgrounds.components.MedalPopup} Frame 11
"ju"Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132} Frame 2
"dd"Symbol 187 MovieClip {HolidaySim_640x480_fla.surfSprite_132} Frame 3
"att"Symbol 271 MovieClip {HolidaySim_640x480_fla.dudswim1_116} Frame 32
"norod"Symbol 403 MovieClip {HolidaySim_640x480_fla.shopWoman_90} Frame 3
"noboard"Symbol 403 MovieClip {HolidaySim_640x480_fla.shopWoman_90} Frame 4
"arrival"Symbol 429 MovieClip {HolidaySim_640x480_fla.homeDude_79} Frame 1
"thro"Symbol 468 MovieClip {HolidaySim_640x480_fla.dudefishingShark_70} Frame 1
"thro"Symbol 477 MovieClip {HolidaySim_640x480_fla.dudefishing_67} Frame 1
"thro"Symbol 485 MovieClip {HolidaySim_640x480_fla.dudehavingfish_65} Frame 1
"thro"Symbol 494 MovieClip {HolidaySim_640x480_fla.dudefishbattling_62} Frame 1
"duda"Symbol 512 MovieClip {HolidaySim_640x480_fla.checkinDude_51} Frame 24
"welcome"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 2
"castle1"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 3
"castle2"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 4
"castle3"Symbol 544 MovieClip {HolidaySim_640x480_fla.hotelDudeDialog_53} Frame 5
"food"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 2
"castle1"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 3
"castle2"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 4
"castle3"Symbol 586 MovieClip {HolidaySim_640x480_fla.barDialog_44} Frame 5
"arrival"Symbol 591 MovieClip {HolidaySim_640x480_fla.beachsprites_38} Frame 1
"beach"Symbol 591 MovieClip {HolidaySim_640x480_fla.beachsprites_38} Frame 2




http://swfchan.com/32/156407/info.shtml
Created: 9/8 -2019 16:38:15 Last modified: 9/8 -2019 16:38:15 Server time: 14/11 -2024 17:28:58