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

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

Solipskier.swf

This is the info page for
Flash #87559

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


Text
<p align="left"><font face="Raleway Thin" size="20" color="#dddddd" letterSpacing="0.000000" kerning="1">LOADING</font></p>

click & drag anywhere

m

<p align="right"><font face="Raleway" size="16" color="#cccccc" letterSpacing="0.000000" kerning="1">278</font></p>

THE END

FINAL SCORE

FINAL TIME

<p align="left"><font face="Raleway Thin" size="40" color="#cccccc" letterSpacing="0.000000" kerning="1">324,536,467</font></p>

<p align="left"><font face="Raleway Thin" size="40" color="#cccccc" letterSpacing="0.000000" kerning="1">00:03:50:76</font></p>

MORE GAMES

MORE GAMES

MORE GAMES

HIGH SCORES

HIGH SCORES

OPTIONS

OPTIONS

RESTART

RESTART

<<
LAST TIP

<<
LAST TIP

<<
LAST TIP

NEXT TIP
>>

NEXT TIP
>>

NEXT TIP
>>

SKI TIPS

RAINBOW BONUS

Keep your multiplier
up by doing tricks in
the air.
While airborne, stop
painting snow and
you'll do tricks.

BUZZ THE TOWER

You get a big speed
boost for passing
through green gates
while in mid-air.
It also adds two extra
on your multiplier.

REACH THE STARS

By jumping high in
the sky you can earn
extra points.
The more gates you
pass on your jump,
the higher your score.

PERFECT TUNNEL

Try your best to hit
all the gates on a
tunnel to rack huge
bonus points.
It helps to keep your
eyes on the arrow.

PICKING UP SPEED

Draw long down-
slopes w/ small
upslopes & hit gates.
Also, try to keep your
cursor on the right
side of the screen.

MIND THE GAP

You can't draw over
jumps so make sure
to time it right to clear
the gap safely.
The danger signs will
hint when its coming.

SUICIDE HURTS YOU

Try your best not to
kill yourself. If you
run into a vertical drift
that you painted, or
draw over the top of
Solipskier, you'll die.

AVOID THE REDS

The "X" gates will kill
Solipskier immediately
so beware.
Use the long vertical
line on the icon as a
guide so you avoid it.

THE SCORING TABLE

High jumps can get
you some serious
points, but you have
to travel high. Try to
draw a steep slope to
send Solipskier flying.

WHERE MY TUNES?

Sometimes Solipskier
goes so fast he loses
his headphones.
Don't be alarmed,
just listen to the wind
and ride hard!

RUNNING POORLY?

Try disabling some
of the graphics (gfx)
options in the options
menu to the left.
Hopefully that will
fix you up just fine.

mobile

r

e

i

k

s

p

l

o

S

CREDITS

SCORED BY

Joe Stump & Chopin

Joe Stump & Chopin

WRITTEN BY

Mike Boxleiter

ILLUSTRATED BY

Greg Wohlwend

Mike Boxleiter

Greg Wohlwend

RALEWAY FONT MADE BY
MATT MCINERNY

OPTIONS

AUDIO CONTROLS

SFX

BGM

GRAPHICS SETTINGS

FIDELITY

M. BLUR

ON

HI

BACK

BACK

HIGH SCORES

POINTS

TIME

<p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p>

<p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#1 00:00:00:00</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#2 00:00:00:00</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#3 00:00:00:00</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#4 00:00:00:00</font></p><p align="left"><font face="Raleway Thin" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#5 00:00:00:00</font></p>

PAUSED

RESUME

RESUME

RESUME

<p align="center"><font face="Raleway" size="40" color="#fa1b3b" letterSpacing="0.000000" kerning="1">+50,000</font></p>

<p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">324,528,952</font></p>

score

x

kmh

<p align="right"><font face="Raleway" size="20" color="#b7dd26" letterSpacing="0.000000" kerning="1">348</font></p>

Pause

Mute

<p align="center"><font face="Raleway" size="50" color="#ffba59" letterSpacing="0.000000" kerning="1">2</font></p>

<p align="center"><font face="Raleway" size="80" color="#000000" letterSpacing="0.000000" kerning="1">9</font></p>

<p align="right"><font face="Raleway" size="10" color="#cccccc" letterSpacing="0.500000" kerning="1">spread eagle</font></p>

<p align="left"><font face="Raleway" size="20" color="#fa1b3b" letterSpacing="0.000000" kerning="1">453,940</font></p>

<p align="right"><font face="Raleway" size="16" color="#cccccc" letterSpacing="0.000000" kerning="1">jump</font></p>

DANGER!

AHEAD

LO

OFF

<p align="right"><font face="Raleway" size="16" color="#cccccc" letterSpacing="0.000000" kerning="1">tunnel</font></p>

OPTIONS

AUDIO CONTROLS

SFX

BGM

GRAPHICS SETTINGS

FIDELITY

M. BLUR

ON

HI

MORE GAMES

MORE GAMES

MORE GAMES

HIGH SCORES

HIGH SCORES

BACK

BACK

PAUSED

RESUME

RESUME

RESUME

RESTART

RESTART

mobile

r

e

i

k

s

p

l

o

S

THE END

FINAL SCORE

FINAL TIME

OPTIONS

OPTIONS

<<
LAST TIP

<<
LAST TIP

<<
LAST TIP

NEXT TIP
>>

NEXT TIP
>>

NEXT TIP
>>

SKI TIPS

RAINBOW BONUS

Keep your multiplier
up by doing tricks in
the air.
While airborne, stop
painting snow and
you'll do tricks.

BUZZ THE TOWER

You get a big speed
boost for passing
through green gates
while in mid-air.
It also adds two extra
on your multiplier.

REACH THE STARS

By jumping high in
the sky you can earn
extra points.
The more gates you
pass on your jump,
the higher your score.

PERFECT TUNNEL

Try your best to hit
all the gates on a
tunnel to rack huge
bonus points.
It helps to keep your
eyes on the arrow.

PICKING UP SPEED

Draw long down-
slopes w/ small
upslopes & hit gates.
Also, try to keep your
cursor on the right
side of the screen.

MIND THE GAP

You can't draw over
jumps so make sure
to time it right to clear
the gap safely.
The danger signs will
hint when its coming.

SUICIDE HURTS YOU

Try your best not to
kill yourself. If you
run into a vertical drift
that you painted, or
draw over the top of
Solipskier, you'll die.

AVOID THE REDS

The "X" gates will kill
Solipskier immediately
so beware.
Use the long vertical
line on the icon as a
guide so you avoid it.

THE SCORING TABLE

High jumps can get
you some serious
points, but you have
to travel high. Try to
draw a steep slope to
send Solipskier flying.

WHERE MY TUNES?

Sometimes Solipskier
goes so fast he loses
his headphones.
Don't be alarmed,
just listen to the wind
and ride hard!

RUNNING POORLY?

Try disabling some
of the graphics (gfx)
options in the options
menu to the left.
Hopefully that will
fix you up just fine.

CREDITS

SCORED BY

Joe Stump & Chopin

Joe Stump & Chopin

WRITTEN BY

Mike Boxleiter

ILLUSTRATED BY

Greg Wohlwend

Mike Boxleiter

Greg Wohlwend

RALEWAY FONT MADE BY
MATT MCINERNY

HIGH SCORES

POINTS

TIME

NEWGROUNDS
LEADERBOARD

HIGH SCORES

POINTS

TIME

<p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.250000" kerning="1">#1 423,403,140</font></p>

<p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#1 00:00:00:00</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#2 00:00:00:00</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#3 00:00:00:00</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#4 00:00:00:00</font></p><p align="left"><font face="Raleway" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">#5 00:00:00:00</font></p>

OPTIONS

OPTIONS

BACK

BACK

COMPETE FOR
HIGH SCORES
ONLINE AT
KONGREGATE

MORE GAMES

MORE GAMES

MORE GAMES

PAUSED

AUDIO CONTROLS

SFX

BGM

GRAPHICS SETTINGS

FIDELITY

M. BLUR

ON

HI

RESUME

RESUME

RESUME

RESTART

RESTART

mobile

r

e

i

k

s

p

l

o

S

OPTIONS

HIGH SCORES

HIGH SCORES

www.kongregate.com

THE END

FINAL SCORE

FINAL TIME

<p align="left"><font face="Raleway" size="40" color="#cccccc" letterSpacing="0.000000" kerning="1">324,536,467</font></p>

<p align="left"><font face="Raleway" size="40" color="#cccccc" letterSpacing="0.000000" kerning="1">00:03:50:76</font></p>

<<
LAST TIP

<<
LAST TIP

<<
LAST TIP

NEXT TIP
>>

NEXT TIP
>>

NEXT TIP
>>

SKI TIPS

RAINBOW BONUS

Keep your multiplier
up by doing tricks in
the air.
While airborne, stop
painting snow and
you'll do tricks.

BUZZ THE TOWER

You get a big speed
boost for passing
through green gates
while in mid-air.
It also adds two extra
on your multiplier.

REACH THE STARS

By jumping high in
the sky you can earn
extra points.
The more gates you
pass on your jump,
the higher your score.

PERFECT TUNNEL

Try your best to hit
all the gates on a
tunnel to rack huge
bonus points.
It helps to keep your
eyes on the arrow.

PICKING UP SPEED

Draw long down-
slopes w/ small
upslopes & hit gates.
Also, try to keep your
cursor on the right
side of the screen.

MIND THE GAP

You can't draw over
jumps so make sure
to time it right to clear
the gap safely.
The danger signs will
hint when its coming.

SUICIDE HURTS YOU

Try your best not to
kill yourself. If you
run into a vertical drift
that you painted, or
draw over the top of
Solipskier, you'll die.

AVOID THE REDS

The "X" gates will kill
Solipskier immediately
so beware.
Use the long vertical
line on the icon as a
guide so you avoid it.

THE SCORING TABLE

High jumps can get
you some serious
points, but you have
to travel high. Try to
draw a steep slope to
send Solipskier flying.

WHERE MY TUNES?

Sometimes Solipskier
goes so fast he loses
his headphones.
Don't be alarmed,
just listen to the wind
and ride hard!

RUNNING POORLY?

Try disabling some
of the graphics (gfx)
options in the options
menu to the left.
Hopefully that will
fix you up just fine.

CREDITS

SCORED BY

Joe Stump & Chopin

Joe Stump & Chopin

WRITTEN BY

Mike Boxleiter

ILLUSTRATED BY

Greg Wohlwend

Mike Boxleiter

Greg Wohlwend

RALEWAY FONT MADE BY
MATT MCINERNY

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; 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 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 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)); } public static function hash(_arg1:String):String{ var _local2:ByteArray = new ByteArray(); _local2.writeUTFBytes(_arg1); return (hashBinary(_local2)); } 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); } 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 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 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)); } public static function hashBytes(_arg1:ByteArray):String{ return (hashBinary(_arg1)); } } }//package com.adobe.crypto
Section 2
//PNGEncoder (com.adobe.images.PNGEncoder) package com.adobe.images { import flash.display.*; import flash.geom.*; import flash.utils.*; public class PNGEncoder { private static var crcTableComputed:Boolean = false; private static var crcTable:Array; 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); } 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); } } }//package com.adobe.images
Section 3
//JSON (com.adobe.serialization.json.JSON) package com.adobe.serialization.json { public class JSON { public static function decode(_arg1:String){ var _local2:JSONDecoder = new JSONDecoder(_arg1); return (_local2.getValue()); } public static function encode(_arg1:Object):String{ var _local2:JSONEncoder = new JSONEncoder(_arg1); return (_local2.getString()); } } }//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){ tokenizer = new JSONTokenizer(_arg1); nextToken(); value = parseValue(); } private function parseObject():Object{ var _local2:String; var _local1:Object = new Object(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; while (true) { if (token.type == JSONTokenType.STRING){ _local2 = String(token.value); nextToken(); if (token.type == JSONTokenType.COLON){ nextToken(); _local1[_local2] = parseValue(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; if (token.type == JSONTokenType.COMMA){ nextToken(); } else { tokenizer.parseError(("Expecting } or , but found " + token.value)); }; } else { tokenizer.parseError(("Expecting : but found " + token.value)); }; } else { tokenizer.parseError(("Expecting string but found " + token.value)); }; }; return (null); } private function parseValue():Object{ if (token == null){ tokenizer.parseError("Unexpected end of input"); }; switch (token.type){ case JSONTokenType.LEFT_BRACE: return (parseObject()); case JSONTokenType.LEFT_BRACKET: return (parseArray()); case JSONTokenType.STRING: case JSONTokenType.NUMBER: case JSONTokenType.TRUE: case JSONTokenType.FALSE: case JSONTokenType.NULL: return (token.value); default: tokenizer.parseError(("Unexpected " + token.value)); }; return (null); } private function nextToken():JSONToken{ return ((token = tokenizer.getNextToken())); } public function getValue(){ return (value); } private function parseArray():Array{ var _local1:Array = new Array(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; while (true) { _local1.push(parseValue()); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; if (token.type == JSONTokenType.COMMA){ nextToken(); } else { tokenizer.parseError(("Expecting ] or , but found " + 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){ jsonString = convertToString(_arg1); } 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 + convertToString(_arg1[_local3])); _local3++; }; return ((("[" + _local2) + "]")); } public function getString():String{ return (jsonString); } 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 + ((escapeString(key) + ":") + convertToString(value))); }; }; } else { for each (v in classInfo..*.(((name() == "variable")) || ((name() == "accessor")))) { if (s.length > 0){ s = (s + ","); }; s = (s + ((escapeString(v.@name.toString()) + ":") + convertToString(o[v.@name]))); }; }; return ((("{" + s) + "}")); } private function convertToString(_arg1):String{ if ((_arg1 is String)){ return (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 (arrayToString((_arg1 as Array))); }; if ((((_arg1 is Object)) && (!((_arg1 == null))))){ return (objectToString(_arg1)); }; }; }; return ("null"); } } }//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"; _location = _arg2; _text = _arg3; } public function get location():int{ return (_location); } public function get text():String{ return (_text); } } }//package com.adobe.serialization.json
Section 7
//JSONToken (com.adobe.serialization.json.JSONToken) package com.adobe.serialization.json { public class JSONToken { private var _value:Object; private var _type:int; public function JSONToken(_arg1:int=-1, _arg2:Object=null){ _type = _arg1; _value = _arg2; } public function get value():Object{ return (_value); } public function get type():int{ return (_type); } public function set type(_arg1:int):void{ _type = _arg1; } public function set value(_arg1:Object):void{ _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 loc:int; private var ch:String; private var obj:Object; private var jsonString:String; public function JSONTokenizer(_arg1:String){ jsonString = _arg1; loc = 0; nextChar(); } private function skipComments():void{ if (ch == "/"){ nextChar(); switch (ch){ case "/": do { nextChar(); } while (((!((ch == "\n"))) && (!((ch == ""))))); nextChar(); break; case "*": nextChar(); while (true) { if (ch == "*"){ nextChar(); if (ch == "/"){ nextChar(); break; }; } else { nextChar(); }; if (ch == ""){ parseError("Multi-line comment not closed"); }; }; break; default: parseError((("Unexpected " + ch) + " encountered (expecting '/' or '*' )")); }; }; } private function isDigit(_arg1:String):Boolean{ return ((((_arg1 >= "0")) && ((_arg1 <= "9")))); } private function readString():JSONToken{ var _local3:String; var _local4:int; var _local1:JSONToken = new JSONToken(); _local1.type = JSONTokenType.STRING; var _local2 = ""; nextChar(); while (((!((ch == "\""))) && (!((ch == ""))))) { if (ch == "\\"){ nextChar(); switch (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 (!isHexDigit(nextChar())){ parseError((" Excepted a hex digit, but found: " + ch)); }; _local3 = (_local3 + ch); _local4++; }; _local2 = (_local2 + String.fromCharCode(parseInt(_local3, 16))); break; default: _local2 = (_local2 + ("\\" + ch)); }; } else { _local2 = (_local2 + ch); }; nextChar(); }; if (ch == ""){ parseError("Unterminated string literal"); }; nextChar(); _local1.value = _local2; return (_local1); } private function nextChar():String{ return ((ch = jsonString.charAt(loc++))); } public function getNextToken():JSONToken{ var _local2:String; var _local3:String; var _local4:String; var _local1:JSONToken = new JSONToken(); skipIgnored(); switch (ch){ case "{": _local1.type = JSONTokenType.LEFT_BRACE; _local1.value = "{"; nextChar(); break; case "}": _local1.type = JSONTokenType.RIGHT_BRACE; _local1.value = "}"; nextChar(); break; case "[": _local1.type = JSONTokenType.LEFT_BRACKET; _local1.value = "["; nextChar(); break; case "]": _local1.type = JSONTokenType.RIGHT_BRACKET; _local1.value = "]"; nextChar(); break; case ",": _local1.type = JSONTokenType.COMMA; _local1.value = ","; nextChar(); break; case ":": _local1.type = JSONTokenType.COLON; _local1.value = ":"; nextChar(); break; case "t": _local2 = ((("t" + nextChar()) + nextChar()) + nextChar()); if (_local2 == "true"){ _local1.type = JSONTokenType.TRUE; _local1.value = true; nextChar(); } else { parseError(("Expecting 'true' but found " + _local2)); }; break; case "f": _local3 = (((("f" + nextChar()) + nextChar()) + nextChar()) + nextChar()); if (_local3 == "false"){ _local1.type = JSONTokenType.FALSE; _local1.value = false; nextChar(); } else { parseError(("Expecting 'false' but found " + _local3)); }; break; case "n": _local4 = ((("n" + nextChar()) + nextChar()) + nextChar()); if (_local4 == "null"){ _local1.type = JSONTokenType.NULL; _local1.value = null; nextChar(); } else { parseError(("Expecting 'null' but found " + _local4)); }; break; case "\"": _local1 = readString(); break; default: if (((isDigit(ch)) || ((ch == "-")))){ _local1 = readNumber(); } else { if (ch == ""){ return (null); }; parseError((("Unexpected " + ch) + " encountered")); }; }; return (_local1); } private function skipWhite():void{ while (isWhiteSpace(ch)) { nextChar(); }; } public function parseError(_arg1:String):void{ throw (new JSONParseError(_arg1, loc, jsonString)); } private function isWhiteSpace(_arg1:String):Boolean{ return ((((((((_arg1 == " ")) || ((_arg1 == "\t")))) || ((_arg1 == "\n")))) || ((_arg1 == "\r")))); } private function skipIgnored():void{ var _local1:int; do { _local1 = loc; skipWhite(); skipComments(); } while (_local1 != loc); } private function isHexDigit(_arg1:String):Boolean{ var _local2:String = _arg1.toUpperCase(); return (((isDigit(_arg1)) || ((((_local2 >= "A")) && ((_local2 <= "F")))))); } private function readNumber():JSONToken{ var _local1:JSONToken = new JSONToken(); _local1.type = JSONTokenType.NUMBER; var _local2 = ""; if (ch == "-"){ _local2 = (_local2 + "-"); nextChar(); }; if (!isDigit(ch)){ parseError("Expecting a digit"); }; if (ch == "0"){ _local2 = (_local2 + ch); nextChar(); if (isDigit(ch)){ parseError("A digit cannot immediately follow 0"); }; } else { while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; if (ch == "."){ _local2 = (_local2 + "."); nextChar(); if (!isDigit(ch)){ parseError("Expecting a digit"); }; while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; if ((((ch == "e")) || ((ch == "E")))){ _local2 = (_local2 + "e"); nextChar(); if ((((ch == "+")) || ((ch == "-")))){ _local2 = (_local2 + ch); nextChar(); }; if (!isDigit(ch)){ parseError("Scientific notation number needs exponent value"); }; while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; var _local3:Number = Number(_local2); if (((isFinite(_local3)) && (!(isNaN(_local3))))){ _local1.value = _local3; return (_local1); }; parseError((("Number " + _local3) + " is not valid!")); return (null); } } }//package com.adobe.serialization.json
Section 9
//JSONTokenType (com.adobe.serialization.json.JSONTokenType) package com.adobe.serialization.json { public class JSONTokenType { public static const NUMBER:int = 11; public static const FALSE:int = 8; public static const RIGHT_BRACKET:int = 4; public static const NULL:int = 9; public static const TRUE:int = 7; public static const RIGHT_BRACE:int = 2; public static const UNKNOWN:int = -1; public static const COMMA:int = 0; public static const LEFT_BRACKET:int = 3; public static const STRING:int = 10; public static const LEFT_BRACE:int = 1; public static const COLON:int = 6; } }//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 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); } public static function ror(_arg1:int, _arg2:int):uint{ var _local3:int = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public static function rol(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } } }//package com.adobe.utils
Section 11
//AdDisplay (com.newgrounds.AdDisplay) package com.newgrounds { import flash.events.*; import flash.display.*; import flash.net.*; import flash.system.*; public class AdDisplay extends Sprite { private var _adURLLoader:URLLoader; private var _ad:Loader; private var _mask:Shape; private static const REMOVED_FROM_STAGE:String = "removedFromStage"; private static var _currentAdUrl:URLRequest; private static var _adResetTime:Number = 0; public function AdDisplay(_arg1:String){ var adFeedURL = _arg1; super(); var adRect:Shape = new Shape(); adRect.graphics.beginFill(0); adRect.graphics.moveTo(0, 0); adRect.graphics.lineTo(300, 0); adRect.graphics.lineTo(300, 250); adRect.graphics.lineTo(0, 250); adRect.graphics.lineTo(0, 0); adRect.graphics.endFill(); _mask = new Shape(); _mask.graphics.beginFill(0); _mask.graphics.moveTo(0, 0); _mask.graphics.lineTo(300, 0); _mask.graphics.lineTo(300, 250); _mask.graphics.lineTo(0, 250); _mask.graphics.lineTo(0, 0); _mask.graphics.endFill(); addChild(adRect); addChild(_mask); _adURLLoader = new URLLoader(); _adURLLoader.addEventListener(Event.COMPLETE, onAdFeedLoaded); _adURLLoader.addEventListener(IOErrorEvent.IO_ERROR, onAdError); _adURLLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onAdError); if (((adFeedURL) && (hasAdElapsed))){ if (adFeedURL.indexOf("?") > -1){ _currentAdUrl = new URLRequest(((adFeedURL + "&random=") + Math.random())); } else { _currentAdUrl = new URLRequest(((adFeedURL + "?random=") + Math.random())); }; }; if (_currentAdUrl){ try { _adURLLoader.load(_currentAdUrl); } catch(e:Error) { onAdError(null); }; } else { trace("[NewgroundsAPI] :: No ad feed URL supplied to Newgrounds API ad!"); }; if (NewgroundsAPI.isFlashVersion(9, 0, 28)){ addEventListener(REMOVED_FROM_STAGE, onRemovedFromStage); }; } private function onAdFeedLoaded(_arg1:Event):void{ var _local2:URLLoader = URLLoader(_arg1.target); if (_local2.data){ loadAd(String(_local2.data)); } else { dispatchEvent(new APIEvent(APIEvent.AD_ATTACHED, false, new APIError("FLASH_ADS_NOT_APPROVED", "Unable to render ad"))); }; } private function onAdError(_arg1:Event):void{ dispatchEvent(new APIEvent(APIEvent.AD_ATTACHED, false, new APIError("FLASH_ADS_NOT_APPROVED", "Unable to render ad"))); removeAd(); } private function onAdFeedError(_arg1:Event):void{ trace("[NewgroundsAPI] :: Unable to load ad feed!"); } private function loadAd(_arg1:String):void{ _arg1 = "http://server.cpmstar.com/adviewas2.swf?poolid=731&subpoolid=10077"; if (_ad){ removeAd(); }; _ad = new Loader(); addChild(_ad); trace(_arg1); _ad.contentLoaderInfo.addEventListener(Event.COMPLETE, onAdLoaded); _ad.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onAdError); _ad.load(new URLRequest(_arg1), new LoaderContext(false, new ApplicationDomain(null))); } private function onAdLoaded(_arg1:Event):void{ trace("[NewgroundsAPI] :: Ad loaded!"); dispatchEvent(new APIEvent(APIEvent.AD_ATTACHED, true)); } public function removeAd():void{ removeEventListener(REMOVED_FROM_STAGE, onRemovedFromStage); if (_adURLLoader){ try { _adURLLoader.close(); } catch(e:Error) { }; }; if (_ad){ trace("[NewgroundsAPI] :: Ad removed"); try { _ad.close(); } catch(e:Error) { }; try { Object(_ad).unloadAndStop(true); } catch(e:Error) { _ad.unload(); }; if (_ad.parent){ _ad.parent.removeChild(_ad); }; }; _ad = null; } private function onRemovedFromStage(_arg1:Event):void{ removeAd(); } private function get hasAdElapsed():Boolean{ var _local1:Date = new Date(); if (_local1.getTime() >= _adResetTime){ _adResetTime = (_local1.getTime() + ((1000 * 60) * 5)); return (true); }; return (false); } } }//package com.newgrounds
Section 12
//APIError (com.newgrounds.APIError) package com.newgrounds { import flash.utils.*; public class APIError { public var alias:String; public var message:String; public var name:String; public var code:Number;// = 0 private static const always_caps:Array = new Array("API", "URL", "ID"); public static const error_names:Object = init_names(); 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"); public static const error_codes:Object = init_codes(); public function APIError(_arg1, _arg2:String){ if ((_arg1 is String)){ _arg1 = error_codes[_arg1]; } else { if (!(_arg1 is uint)){ _arg1 = 0; }; }; code = _arg1; message = _arg2; name = error_names[_arg1]; alias = aliases[_arg1]; } public function isError():Boolean{ return (true); } 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); } 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); } } }//package com.newgrounds
Section 13
//APIEvent (com.newgrounds.APIEvent) package com.newgrounds { import flash.events.*; public class APIEvent extends Event { private var _success:Boolean; private var _target; private var _data; public static const AD_ATTACHED:String = "adAttached"; public static const FILE_PRIVS_LOADED:String = "filePrivsLoaded"; public static const ADS_APPROVED:String = "adsApproved"; public static const MEDALS_LOADED:String = "medalsLoaded"; public static const MEDAL_UNLOCKED:String = "medalUnlocked"; public static const METADATA_LOADED:String = "metadataLoaded"; public static const NEW_VERSION_AVAILABLE:String = "newVersionAvailable"; public static const FILE_SAVED:String = "fileSaved"; public static const EVENT_LOGGED:String = "eventLogged"; public static const SCORE_POSTED:String = "scorePosted"; public static const VOTE_COMPLETE:String = "voteComplete"; public static const FILE_LOADED:String = "fileLoaded"; public static const QUERY_COMPLETE:String = "queryComplete"; public static const SCORES_LOADED:String = "scoresLoaded"; public static const HOST_BLOCKED:String = "hostBlocked"; public static const MOVIE_CONNECTED:String = "movieConnected"; public function APIEvent(_arg1:String, _arg2:Boolean=true, _arg3=undefined){ super(_arg1); _data = _arg3; _success = _arg2; } public function get data(){ return (_data); } public function get success():Boolean{ return (_success); } } }//package com.newgrounds
Section 14
//BaseN (com.newgrounds.BaseN) package com.newgrounds { import flash.utils.*; public class BaseN { private var _hashVal:Dictionary; private var _hashIndex:String; private var _base:Number; public function BaseN(_arg1:String=null){ if (_arg1){ _hashIndex = _arg1; } else { _hashIndex = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/"; }; _base = _hashIndex.length; _hashVal = new Dictionary(); var _local2:uint; while (_local2 < _base) { _hashVal[_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 + baseNEncoder(_local5[0], _arg2)); if (_local5.length > 1){ _local4 = (_local4 + ("." + baseNEncoder(_local5[1]))); }; return (_local4); } private function baseNDecoder(_arg1:String):uint{ var _local2:uint; var _local3:uint; while (_local3 < _arg1.length) { _local2 = (_local2 * _base); _local2 = (_local2 + _hashVal[_arg1.charAt(_local3)]); _local3++; }; return (_local2); } 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 + baseNDecoder(_local3[0])); if (_local3.length > 1){ _local2 = (_local2 + "."); _local2 = (_local2 + 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 = (_hashIndex.charAt((_local4 % _base)) + _local3); _local4 = (_local4 / _base); }; if (_arg2){ while (_local3.length < _arg2) { _local3 = (_hashIndex.charAt(0) + _local3); }; }; return (_local3); } } }//package com.newgrounds
Section 15
//Medal (com.newgrounds.Medal) package com.newgrounds { import flash.events.*; import flash.display.*; import flash.net.*; import flash.system.*; public class Medal { private var _unlocked:Boolean;// = false private var _iconLoader:Loader; private var _difficultyId:uint; private var _icon:BitmapData; private var _value:uint; private var _iconUrl:URLRequest; private var _name:String; private var _id:uint; private static const DIFFICULT_NAMES:Array = [null, "Easy", "Moderate", "Challenging", "Difficult", "Brutal"]; private static const DEFAULT_ICON:BitmapData = new BitmapData(50, 50, false, 0); 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; _icon = DEFAULT_ICON; super(); _id = id; _name = name; _value = value; _difficultyId = difficulty; _unlocked = unlocked; if (iconUrl){ _iconUrl = new URLRequest(iconUrl); _iconLoader = new Loader(); _iconLoader.contentLoaderInfo.addEventListener(Event.INIT, onIconLoaderInit); _iconLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIconLoaderError); _iconLoader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onIconLoaderError); _iconLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onIconLoaderComplete); try { _iconLoader.load(_iconUrl, new LoaderContext(true)); } catch(e:Error) { onIconLoaderError(null); }; }; } public function get icon():BitmapData{ return (_icon); } public function set unlocked(_arg1:Boolean):void{ _unlocked = _arg1; } public function get bytesLoaded():uint{ return ((_iconLoader) ? _iconLoader.contentLoaderInfo.bytesLoaded : 0); } public function get name():String{ return (_name); } private function onIconLoaderComplete(_arg1:Event):void{ trace((((("[NewgroundsAPI] :: Successfully loaded medal icon for " + name) + " (") + _iconUrl.url.split("/").pop()) + ")")); var _local2:Bitmap = (_iconLoader.content as Bitmap); _icon = _local2.bitmapData; _iconLoader.unload(); _iconLoader = null; } public function get bytesTotal():uint{ return ((_iconLoader) ? _iconLoader.contentLoaderInfo.bytesTotal : 0); } public function get id():uint{ return (_id); } public function unlock():void{ if (!_unlocked){ NewgroundsAPI.unlockMedal(this); }; } private function onIconLoaderError(_arg1:IOErrorEvent):void{ trace((((("[NewgroundsAPI WARNING] :: Failed to load medal icon for " + name) + " (") + _iconUrl.url.split("/").pop()) + ")")); _iconLoader.unload(); _iconLoader = null; } private function onIconLoaderInit(_arg1:Event):void{ trace((((("[NewgroundsAPI] :: Loading medal icon for " + name) + " (") + _iconUrl.url.split("/").pop()) + ")")); } public function get unlocked():Boolean{ return (_unlocked); } public function createIconBitmap():Bitmap{ return (new Bitmap(icon)); } public function toString():String{ return (_name); } public function get value():uint{ return (_value); } public function get difficultyId():uint{ return (_difficultyId); } public function get difficulty():String{ return (DIFFICULT_NAMES[_difficultyId]); } 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 16
//NewgroundsAPI (com.newgrounds.NewgroundsAPI) package com.newgrounds { import flash.events.*; import flash.display.*; import flash.utils.*; import com.adobe.serialization.json.*; import com.adobe.images.*; import flash.net.*; import com.adobe.crypto.*; import flash.system.*; public class NewgroundsAPI { private static const COMMANDS_WIKI_URL:String = "http://www.newgrounds.com/wiki/flashapi/commands/"; private static const AD_TERMS_URL:String = "http://www.newgrounds.com/wiki/flashads/terms/"; private static const GATEWAY_URL:String = "http://www.ngads.com/gateway_v2.php"; private static var connected:Boolean; private static var user_id:uint; private static var _initialized:Boolean = false; private static var user_email:String; private static var _saveFilePath:String; private static var publisher_id:uint; private static var debug:Boolean; private static var do_echo:Boolean = false; private static var ad_url:String; private static var _saveGroups:Array = []; private static var session_id:String; public static var errors:Dictionary = APIError.init_codes(); private static var timeoutTimer:Timer = new Timer(8000, 1); private static var _medals:Array; private static var user_name:String; 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 tracker_id:uint; private static var movie_id:String; private static var _scoreboards:Array = new Array(); private static var _eventDispatcher:EventDispatcher = new EventDispatcher(); private static var encryption_key:String; private static var host:String; private static var compressor:BaseN = new BaseN(compression_radix); private static var score_page_counts:Object = new Object(); private static var _adsApproved:Boolean = false; private static var _preload:Boolean = true; private static var version:String; public static var periods:Object = getPeriodAliases(); private static var root:DisplayObject; private static var _inSaveQuery:Boolean; private static var compression_radix:String = "/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X"; private static var _preloadAssets:Array = []; private static var sharedObjects:Object = new Object(); private static var _saveFile:SaveFile; public static function setMovieVersion(_arg1:String):void{ if (((_arg1) && (!((_arg1 == ""))))){ version = _arg1; }; } public static function get preload():Boolean{ return (_preload); } public static function unlockMedal(_arg1:Medal, _arg2:Boolean=false):void{ var _local3:Object; var _local4:Object; if (!_arg1){ sendError({command_id:getCommandID("unlockMedal")}, new APIError("MISSING_PARAM", "missing required medal name")); return; }; if (((hasUserSession()) || (debugMode))){ sendMessage((("Attempting to unlock '" + _arg1.name) + "'")); if (_arg1.unlocked){ sendWarning((("Medal '" + _arg1.name) + "' is already unlocked!")); return; }; _local3 = new Object(); _local3.medal_id = _arg1.id; if (_arg2){ _local3.get_score = _arg2; }; sendSecureCommand("unlockMedal", _local3); } else { sendMessage(("Locally unlocking " + _arg1.name)); if (_arg1.unlocked){ sendWarning((("Medal '" + _arg1.name) + "' is already unlocked!")); return; }; _arg1.unlocked = true; _local4 = loadLocal("medals_unlocked"); if (!_local4){ _local4 = new Object(); }; _local4[_arg1.id.toString()] = true; saveLocal("medals_unlocked", _local4); callListener(APIEvent.MEDAL_UNLOCKED, true, _arg1); }; } public static function set preload(_arg1:Boolean):void{ _preload = _arg1; } private static function getHost():String{ return (host); } 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 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 getMedalByName(_arg1:String):Medal{ var _local2:Medal; for each (_local2 in _medals) { if (_local2.name == _arg1){ return (_local2); }; }; return (null); } public static function hasUserEmail():Boolean{ return (((!((user_email == null))) && (!((user_email == ""))))); } public static function loadLocal(_arg1:String){ var sharedObj:SharedObject; var save_id = _arg1; try { if (!sharedObjects[save_id]){ sharedObjects[save_id] = SharedObject.getLocal(((("ng_ap_secure_" + movie_id) + "_") + 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); }; } private static function callListener(_arg1:String, _arg2:Boolean=true, _arg3=undefined):void{ dispatchEvent(new APIEvent(_arg1, _arg2, _arg3)); } public static function sendSecureCommand(_arg1:String, _arg2:Object, _arg3:Object=null, _arg4:Object=null, _arg5=null):void{ if (((((!(debug)) && (!(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 (((debug) && (!(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), encryption_key); var _local10:String = (_local8 + _local9); _arg3.secure = compressHex(_local10); sendCommand("securePacket", _arg3, false, _arg4, _arg5); } private static function echo(_arg1:String):void{ if (do_echo){ trace(_arg1); }; } 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++; }; } 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++; }; } public static function createAd():AdDisplay{ sendMessage("You may see a security sandbox violation. This is normal!"); return (new AdDisplay(ad_url)); } 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); } private static function dispatchEvent(_arg1:Event):void{ _eventDispatcher.dispatchEvent(_arg1); echo(("Fired Event: " + _arg1.type)); } public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _eventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } 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); } 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 setUserEmail(_arg1:String):void{ user_email = _arg1; } public static function hasUserSession():Boolean{ return (((((!((session_id == null))) && (!((session_id == ""))))) && (!((publisher_id == 0))))); } 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); trace(JSON.encode(_arg1.toObject())); } private static function getCommandName(_arg1:String):String{ return (_arg1); } public static function getScoreBoardById(_arg1:uint):ScoreBoard{ var _local2:ScoreBoard; for each (_local2 in _scoreboards) { if (_local2.id == _arg1){ return (_local2); }; }; return (null); } 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)); } public static function get medals():Array{ return ((_medals) ? _medals.concat() : []); } public static function connectMovie(_arg1:LoaderInfo, _arg2:String, _arg3:String):void{ if (!_arg1){ fatalError("Null loaderInfo paremeter passed in to connectMovie!", ""); return; }; host = _arg1.url; if ((((host.indexOf("http://") > -1)) || ((host.indexOf("https://") > -1)))){ host = host.split("/")[2].toLowerCase(); } else { host = "localhost"; }; var _local4:Object = _arg1.parameters; debug = !(isPublishedHost()); if (((!(debug)) && (_local4))){ if (_local4.NewgroundsAPI_UserName){ user_name = _local4.NewgroundsAPI_UserName; }; if (_local4.NewgroundsAPI_UserID){ user_id = _local4.NewgroundsAPI_UserID; }; if (_local4.NewgroundsAPI_PublisherID){ publisher_id = _local4.NewgroundsAPI_PublisherID; }; if (_local4.NewgroundsAPI_SessionID){ session_id = _local4.NewgroundsAPI_SessionID; }; } else { publisher_id = 1; session_id = "D3bu64p1U53R"; user_id = 10; user_name = "API-Debugger"; }; if (connected){ return; }; timeoutTimer.start(); if (!_arg2){ fatalError("NewgroundsAPI.connectMovie() - missing required movie_id parameter", "connectMovie"); }; movie_id = String(_arg2); tracker_id = uint(movie_id.substring(0, movie_id.indexOf(":"))); encryption_key = _arg3; connected = true; sendCommand("connectMovie", {host:getHost(), movie_version:version}); } private static function sendError(_arg1:Object, _arg2:APIError):void{ trace(((((("[NewgroundsAPI ERROR] :: " + getCommandName(_arg1.command_id)) + "() - ") + _arg2.name) + ":\n\t\t\t\t") + _arg2.message)); } public static function sendMessage(_arg1:String, _arg2:Boolean=false):void{ var _local3:String = ("[NewgroundsAPI] :: " + _arg1); trace(_local3); } 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 get bytesLoaded():uint{ var _local2:*; var _local1:uint = root.loaderInfo.bytesLoaded; if (_preload){ for each (_local2 in _preloadAssets) { _local1 = (_local1 + _local2.bytesLoaded); }; }; return (_local1); } public static function unlockMedalByName(_arg1:String, _arg2:Boolean=false):void{ trace("B"); var _local3:Medal = getMedalByName(_arg1); if (_local3){ unlockMedal(_local3, _arg2); }; } static function reportAssetFailed(_arg1):void{ var _local2:uint; while (_local2 < _preloadAssets.length) { if (_arg1 == _preloadAssets[_local2]){ _preloadAssets.splice(_local2, 1); return; }; _local2++; }; } public static function connectionTimeOut(_arg1:Event=null):void{ dispatchEvent(new APIEvent(APIEvent.MOVIE_CONNECTED, false, new APIError("CONNECTION_FAILED", "Connection to NewgroundsAPI gateway timed out."))); } static function reportNewAsset(_arg1):void{ _preloadAssets.push(_arg1); } public static function unlockMedalById(_arg1:uint, _arg2:Boolean=false):void{ trace("A"); var _local3:Medal = getMedalById(_arg1); if (_local3){ unlockMedal(_local3, _arg2); }; } 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=NewgroundsAPI\n\n" + _arg1))); } public static function get adsApproved():Boolean{ return (_adsApproved); } public static function hasPublisher():Boolean{ return (!((publisher_id == 0))); } public static function getScoreBoardByName(_arg1:String):ScoreBoard{ var _local2:ScoreBoard; for each (_local2 in _scoreboards) { if (_local2.name == _arg1){ return (_local2); }; }; return (null); } private static function sendNotice(_arg1:String, _arg2:String=null):void{ if (_arg2){ _arg1 = (_arg1 + ((("\n[NewgroundsAPI NOTICE] :: \tSee " + COMMANDS_WIKI_URL) + _arg2.toLowerCase()) + " for additional information.")); }; trace(("[NewgroundsAPI NOTICE] :: " + _arg1)); } public static function get debugMode():Boolean{ return (debug); } public static function loadCustomLink(_arg1:String):void{ sendCommand("loadCustomLink", {host:getHost(), link:_arg1}, true); } public static function get bytesTotal():uint{ var _local2:*; var _local1:uint = root.loaderInfo.bytesTotal; if (_preload){ for each (_local2 in _preloadAssets) { _local1 = (_local1 + Math.max(_local2.bytesTotal, 1)); }; }; return (_local1); } 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 get percentLoaded():Number{ return ((bytesLoaded / bytesTotal)); } public static function isPublishedHost():Boolean{ return (((!((getHost() == "localhost"))) && ((getHost().indexOf("file://") == -1)))); } private static function assertInitialized():Boolean{ if (!_initialized){ return (false); }; return (true); } public static function createSaveQuery(_arg1:String):SaveGroupQuery{ var _local2:SaveGroup = getSaveGroupByName(_arg1); if (_local2){ return (_local2.createQuery()); }; return (null); } public static function loadMySite():void{ sendCommand("loadMySite", {host:getHost()}); } 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 getOfficialVersionURL():String{ var _local1:String = ((((((GATEWAY_URL + "?tracker_id=") + movie_id) + "&command_id=") + getCommandID("loadOfficalVersion")) + "&seed=") + Math.random()); if (debug){ _local1 = (_local1 + "&debug=1"); }; return (_local1); } public static function loadNewgrounds():void{ sendCommand("loadNewgrounds", {host:getHost()}, true); } public static function saveFile(_arg1:SaveFile, _arg2:Boolean=false):void{ var _local3:Object = _arg1.toObject(); _local3.user_name = user_name; _local3.overwrite = (_arg2) ? 1 : 0; var _local4:ByteArray = new ByteArray(); if ((_arg1.contents is ByteArray)){ _local4.writeByte(0); _local4.writeBytes(_arg1.contents); } else { _local4.writeByte(1); _local4.writeObject(_arg1.contents); }; _local4.compress(); var _local5:Object = new Object(); _local5.file = _local4; if (_arg1.thumbnail){ _local5.thumbnail = PNGEncoder.encode(_arg1.thumbnail); }; sendSecureCommand("saveFile", _local3, null, _local5, _arg1); } public static function loadScores(_arg1:ScoreBoard):void{ var _local2 = "loadScores"; if (!_arg1.id){ sendError({command_id:getCommandID(_local2)}, 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 _local3:Object = {}; _local3.publisher_id = publisher_id; _local3.period = _arg1.period; _local3.board = _arg1.id; _local3.num_results = _arg1.num_results; _local3.page = _arg1.page; sendCommand(_local2, _local3); } 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 logCustomEvent(_arg1:String):void{ sendCommand("logCustomEvent", {host:getHost(), event:_arg1}); } public static function decodeData(_arg1:String){ return (JSON.decode(RC4.decrypt(uncompressHex(_arg1), encryption_key))); } public static function postScore(_arg1:String, _arg2:uint, _arg3:Boolean=false):void{ if (((((!(_arg1)) || ((_arg1 == "")))) || (isNaN(_arg2)))){ sendError({command_id:getCommandID("postScore")}, new APIError("MISSING_PARAM", "missing required parameter(s)")); return; }; sendSecureCommand("postScore", {user_name:user_name, board:_arg1, value:_arg2, get_best:_arg3, publisher_id:publisher_id}); } private static function onCommandComplete(_arg1:Event):void{ var _local4:Object; var _local5:APIError; var _local2:SmartURLLoader = SmartURLLoader(_arg1.target); echo((("INPUT: \n" + _local2.response) + "\n")); var _local3:uint; while (_local3 < _preloadAssets.length) { if (_preloadAssets[_local3] == _local2){ _preloadAssets.splice(_local3, 1); break; }; _local3++; }; if (_local2.response){ _local4 = JSON.decode(_local2.response); } else { _local4 = {success:false}; }; if (!_local4.success){ trace(("Error: " + _local4)); _local5 = new APIError(_local4.error_code, _local4.error_msg); sendError(_local4, _local5); } else { _local4.owner = _local2.owner; doEvent(_local4); }; } 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", movie_id); if (debug){ _local6.addVariable("debug", 1); }; if ((((_arg1 == "connectMovie")) && (preload))){ _local6.addVariable("preload", 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; }; _local6.owner = _arg5; _local6.load(GATEWAY_URL); } public static function encodeData(_arg1:Object):String{ return (compressHex(RC4.encrypt(JSON.encode(_arg1), encryption_key))); } 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++; }; }; } 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); } 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_" + movie_id) + "_") + save_id)); }; sharedObj = sharedObjects[save_id]; sharedObj.data[save_id] = encodeData(save_data); sharedObj.flush(); } catch(e:Error) { sendWarning(("saveLocal ERROR: " + e)); }; } 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:uint; var _local12:Object; var _local13:SaveFile; var _local14:uint; switch (getCommandName(_arg1.command_id)){ case "connectMovie": timeoutTimer.stop(); sendMessage("You have successfully connected to the Newgrounds API Gateway"); sendMessage((("Movie identified as \"" + _arg1.movie_name) + "\"")); callListener(APIEvent.MOVIE_CONNECTED, _arg1.success, {movie_name:_arg1.movie_name}); _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!"); }; callListener(APIEvent.ADS_APPROVED, true); _adsApproved = 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, {movie_url:unescape(_arg1.movie_url), redirect_url:getOfficialVersionURL()}); }; 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, {movie_version:_arg1.movie_version, movie_url:unescape(_arg1.movie_url), redirect_url:getOfficialVersionURL()}); }; if (_arg1.request_portal_url){ sendCommand("setPortalID", {portal_url:host}); }; if (preload){ 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.score_boards){ populateScoreBoards(_arg1.score_boards); }; callListener(APIEvent.METADATA_LOADED); 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": populateMedals(_arg1.medals); callListener(APIEvent.MEDALS_LOADED, _arg1.success, _local3); break; case "lookupSaveFiles": _local7 = []; _local11 = 0; while (_local11 < _arg1.files.length) { _local12 = _arg1.files[_local11]; _local13 = new SaveFile(getSaveGroupById(_arg1.group_id)); _local13.name = _local12.filename; _local13.id = _local12.save_id; _local13.description = _local12.description; _local13.thumbnailUrl = _local12.thumb; _local13.fileUrl = (_saveFilePath + _local12.file); if (((_local12.keys) && (_local12.keys.length))){ _local14 = 0; while (_local14 < _local12.keys.length) { _local13.setKey(_local12.keys[_local14].id, _local12.keys[_local14].value); _local14++; }; }; if (((_local12.ratings) && (_local12.ratings.length))){ _local14 = 0; while (_local14 < _local12.ratings.length) { _local13.setRating(_local12.ratings[_local14].id, _local12.ratings[_local14].votes, _local12.ratings[_local14].score); _local14++; }; }; _local7.push(_local13); _local11++; }; _arg1.owner.dispatchEvent(new APIEvent(APIEvent.QUERY_COMPLETE, _arg1.success, _local7)); break; case "rateSaveFile": _local13 = _arg1.owner; if (_arg1.success){ _local13.setRating(_arg1.rating_id, _arg1.votes, _arg1.score); }; _local13.dispatchEvent(new APIEvent(APIEvent.VOTE_COMPLETE, _arg1.success, _arg1)); break; case "saveFile": _local3 = {save_id:_arg1.save_id, filename:_arg1.filename, file_url:_arg1.file_url, thumbnail:_arg1.thumbnail, icon:_arg1.icon}; _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 hasEventListener(_arg1:String):Boolean{ return (_eventDispatcher.hasEventListener(_arg1)); } 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 isNewgrounds():Boolean{ return ((((publisher_id == 1)) || ((getHost().toLowerCase().indexOf("ungrounded.net") > -1)))); } private static function getCommandID(_arg1:String):String{ return (_arg1); } 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); } 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(("[NewgroundsAPI WARNING] :: " + _arg1)); } private static function onCommandError(_arg1:Event):void{ var _local2:SmartURLLoader = SmartURLLoader(_arg1.target); var _local3:uint; while (_local3 < _preloadAssets.length) { if (_preloadAssets[_local3] == _local2){ _preloadAssets.splice(_local3, 1); break; }; _local3++; }; } } }//package com.newgrounds
Section 17
//RC4 (com.newgrounds.RC4) package com.newgrounds { public class RC4 { private static var mykey:Array = new Array(0xFF); private static var sbox:Array = new Array(0xFF); 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); } 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)); } 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); } 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 strToChars(_arg1:String):Array{ var _local2:Array = new Array(); var _local3:uint; while (_local3 < _arg1.length) { _local2.push(_arg1.charCodeAt(_local3)); _local3++; }; return (_local2); } 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 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 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); } } }//package com.newgrounds
Section 18
//SaveFile (com.newgrounds.SaveFile) package com.newgrounds { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.net.*; public class SaveFile extends EventDispatcher { private var _group:SaveGroup; private var _id:uint; private var _thumbnailUrl:String; private var _status:uint; private var _keys:Dictionary; private var _fileUrl:String; private var _filename:String; private var _ratings:Dictionary; private var _contents; private var _thumbnail:BitmapData; private var _description:String; public function SaveFile(_arg1:SaveGroup){ _keys = new Dictionary(); _ratings = new Dictionary(); _group = _arg1; _description = ""; } public function get description():String{ return (_description); } public function sendRating(_arg1:String, _arg2:Number):void{ var _local3:SaveRating = _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; NewgroundsAPI.rateSaveFile(this, _local3, _arg2); } public function set thumbnailUrl(_arg1:String):void{ _thumbnailUrl = _arg1; } public function get groupId():uint{ return (_group.id); } public function get name():String{ return (_filename); } override public function toString():String{ var _local2:Object; var _local3:Object; var _local1 = (((((("Save File " + _filename) + " ID: ") + _id) + "\n ") + _description) + "\n"); for each (_local2 in _keys) { _local1 = (_local1 + ((((" " + _group.getKeyById(_local2.id).name) + ": ") + _local2.val) + "\n")); }; for each (_local3 in _ratings) { _local1 = (_local1 + ((((((" " + _group.getRatingById(_local3.id).name) + "\n Score: ") + _local3.score) + " Votes: ") + _local3.votes) + "\n")); }; return (_local1); } public function save():void{ NewgroundsAPI.saveFile(this); } public function set name(_arg1:String):void{ _filename = _arg1; } public function set thumbnail(_arg1:BitmapData):void{ if (_thumbnail){ _thumbnail.dispose(); }; _thumbnail = _arg1.clone(); } public function get groupType():uint{ return (_group.type); } public function get id():uint{ return (_id); } public function setKey(_arg1, _arg2):void{ var _local3:SaveKey; if ((_local3 is String)){ _local3 = _group.getKeyByName(_arg1); } else { _local3 = _group.getKeyById(_arg1); }; if (_local3){ _keys[_local3] = {id:_local3.id, val:_arg2}; }; } public function setRating(_arg1, _arg2:Number, _arg3:Number):void{ var _local4:SaveRating; if ((_arg1 is String)){ _local4 = _group.getRatingByName(_arg1); } else { _local4 = _group.getRatingById(_arg1); }; if (_local4){ _ratings[_local4] = {id:_local4.id, name:_local4.name, votes:_arg2, score:_arg3}; }; } public function toObject():Object{ var _local2:Object; var _local1:Object = {group:groupId, filename:name, description:description, shared:true}; _local1.keys = []; for each (_local2 in _keys) { _local1.push({id:_local2.id, value:_local2.val}); }; return (_local1); } public function get contents(){ return (_contents); } public function get thumbnailUrl():String{ return (_thumbnailUrl); } public function get shared():Boolean{ return (true); } public function getRating(_arg1):Object{ var _local2:SaveRating; if ((_arg1 is String)){ _local2 = _group.getRatingByName(_arg1); } else { _local2 = _group.getRatingById(_arg1); }; if (_local2){ return (_ratings[_local2]); }; return (null); } public function getKey(_arg1){ var _local2:SaveKey; if ((_local2 is String)){ _local2 = _group.getKeyByName(_arg1); } else { _local2 = _group.getKeyById(_arg1); }; if (_local2){ return (_keys[_local2]); }; return (null); } public function get groupName():String{ return (_group.name); } public function get fileUrl():String{ return (_fileUrl); } public function get thumbnail():BitmapData{ return (_thumbnail); } public function loadContents():void{ var _local1:SmartURLLoader; if (_fileUrl){ _local1 = new SmartURLLoader(); _local1.responseFormat = URLLoaderDataFormat.BINARY; _local1.addEventListener(Event.COMPLETE, onContentsLoaded); _local1.load(_fileUrl); }; } public function set fileUrl(_arg1:String):void{ _fileUrl = _arg1; } public function set id(_arg1:uint):void{ _id = _arg1; } public function set description(_arg1:String):void{ _description = _arg1; } public function set contents(_arg1):void{ _contents = _arg1; } private function onContentsLoaded(_arg1:Event):void{ var _local2:ByteArray = _arg1.target.response; _local2.uncompress(); var _local3:uint = _local2.readUnsignedByte(); if (_local3 == 0){ _contents = new ByteArray(); _contents.writeBytes(_local2, 1); } else { _contents = _local2.readObject(); }; dispatchEvent(new APIEvent(APIEvent.FILE_LOADED, true, contents)); } } }//package com.newgrounds
Section 19
//SaveGroup (com.newgrounds.SaveGroup) package com.newgrounds { public class SaveGroup { private var _id:uint; private var _keys:Array; private var _type:uint; private var _name:String; 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_MODERATED:uint = 3; public static const TYPE_PUBLIC:uint = 2; public function SaveGroup(_arg1:uint, _arg2:String, _arg3:uint){ _name = _arg2; _id = _arg1; _type = _arg3; _ratings = []; _keys = []; _files = []; } public function toString():String{ return ((((((("SaveGroup { name: " + _name) + ", id: ") + _id) + ", keys: ") + _keys) + "}")); } public function getRatingById(_arg1:uint):SaveRating{ var _local2:uint; while (_local2 < _ratings.length) { if (_ratings[_local2].id == _arg1){ return (_ratings[_local2]); }; _local2++; }; return (null); } public function getKeyByName(_arg1:String):SaveKey{ var _local2:uint; while (_local2 < _keys.length) { if (_keys[_local2].name == _arg1){ return (_keys[_local2]); }; _local2++; }; return (null); } public function get name():String{ return (_name); } public function getKeyById(_arg1:uint):SaveKey{ var _local2:uint; while (_local2 < _keys.length) { if (_keys[_local2].id == _arg1){ return (_keys[_local2]); }; _local2++; }; return (null); } public function addRating(_arg1:SaveRating):void{ _ratings.push(_arg1); } public function get id():uint{ return (_id); } public function createQuery():SaveGroupQuery{ return (new SaveGroupQuery(this)); } public function get keys():Array{ return (_keys.concat()); } public function getRatingByName(_arg1:String):SaveRating{ var _local2:uint; while (_local2 < _ratings.length) { if (_ratings[_local2].name == _arg1){ return (_ratings[_local2]); }; _local2++; }; return (null); } public function get ratings():Array{ return (_ratings.concat()); } public function get type():uint{ return (_type); } public function addKey(_arg1:SaveKey):void{ _keys.push(_arg1); } 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 20
//SaveGroupQuery (com.newgrounds.SaveGroupQuery) package com.newgrounds { import flash.events.*; public class SaveGroupQuery extends EventDispatcher { private var _group:SaveGroup; private var _fileConditions:Array; private var _ratingConditions:Array; private var _resultsPerPage:uint; private var _sortConditions:Array; private var _lookupRatings:Array; private var _randomizeResults:Boolean; private var _lookupKeys:Array; private var _page:uint; private var _groupBy:Array; private var _keyConditions:Array; public static const UPDATED_ON:uint = 5; public static const TABLE_RATINGS:uint = 3; public static const TABLE_FILES:uint = 1; public static const TOTAL_VOTES:String = "votes"; public static const AUTHOR_ID:uint = 1; public static const FILE_STATUS:uint = 7; public static const TABLE_KEYS:uint = 2; public static const FILE_NAME:uint = 3; public static const SCORE:String = "score"; public static const TOTAL_VIEWS:uint = 6; public static const CREATED_ON:uint = 4; public static const FILE_ID:uint = 0; public static const AUTHOR_NAME:uint = 2; public function SaveGroupQuery(_arg1:SaveGroup){ _group = _arg1; reset(); } public function addKeyCondition(_arg1:String, _arg2:String, _arg3):void{ var _local4:SaveKey = _group.getKeyByName(_arg1); if (!_local4){ return; }; if (!checkValue(_arg3, _local4.type)){ return; }; _keyConditions.push({key:_local4.id, operator:_arg2, value:_arg3}); } public function sortOn(_arg1:uint, _arg2:Boolean=false):void{ addSortCondition(TABLE_FILES, _arg1, _arg2); } public function set isRandomized(_arg1:Boolean):void{ _randomizeResults = _arg1; } public function get isRandomized():Boolean{ return (_randomizeResults); } public function groupByRating(_arg1:String):void{ var _local2:SaveRating = _group.getRatingByName(_arg1); if (!_local2){ return; }; _groupBy.push({table:TABLE_RATINGS, field:_local2.id}); } public function execute():void{ NewgroundsAPI.executeSaveQuery(this); } public function get page():uint{ return (_page); } public function groupByKey(_arg1:String):void{ var _local2:SaveKey = _group.getKeyByName(_arg1); if (!_local2){ return; }; _groupBy.push({table:TABLE_KEYS, field:_local2.id}); } public function sortOnKey(_arg1:String, _arg2:Boolean=false):void{ addSortCondition(TABLE_KEYS, _group.getKeyByName(_arg1).id, _arg2); } public function toObject():Object{ var _local1:Object = {page:_page, num_results:_resultsPerPage}; if (isRandomized){ _local1.randomize = 1; }; if (((_fileConditions) && ((_fileConditions.length > 0)))){ _local1.file_conditions = _fileConditions; }; if (((_keyConditions) && ((_keyConditions.length > 0)))){ _local1.key_conditions = _keyConditions; }; if (((_ratingConditions) && ((_ratingConditions.length > 0)))){ _local1.rating_conditions = _ratingConditions; }; if (((_sortConditions) && ((_sortConditions.length > 0)))){ _local1.sort_conditions = _sortConditions; }; if (((_lookupKeys) && ((_lookupKeys.length > 0)))){ _local1.lookup_keys = _lookupKeys; }; if (((_lookupRatings) && ((_lookupRatings.length > 0)))){ _local1.lookup_ratings = _lookupRatings; }; if (((_groupBy) && ((_groupBy.length > 0)))){ _local1.group_by = _groupBy; }; return (_local1); } public function reset():void{ _fileConditions = []; _keyConditions = []; _ratingConditions = []; _sortConditions = []; _groupBy = []; _lookupKeys = []; _lookupRatings = []; _randomizeResults = false; _resultsPerPage = 20; _page = 1; } public function includeKey(_arg1:String):void{ var _local2:SaveKey = _group.getKeyByName(_arg1); if (_local2){ _lookupKeys.push(_local2.id); }; } private function checkValue(_arg1, _arg2:uint):Boolean{ return (true); } public function set page(_arg1:uint):void{ _page = _arg1; } public function addRatingCondition(_arg1:String, _arg2:String, _arg3, _arg4:String="score"):void{ var _local5:SaveRating = _group.getRatingByName(_arg1); if (!_local5){ return; }; _ratingConditions.push({rating:_local5.id, operator:_arg2, value:_arg3, column:_arg4}); } public function includeRating(_arg1:String):void{ var _local2:SaveRating = _group.getRatingByName(_arg1); if (_local2){ _lookupRatings.push(_local2.id); }; } public function sortOnRating(_arg1:String, _arg2:Boolean=false, _arg3:String="score"):void{ addSortCondition(TABLE_RATINGS, _group.getRatingByName(_arg1).id, _arg2, _arg3); } public function set resultsPerPage(_arg1:uint):void{ _resultsPerPage = _arg1; } public function excludeRating(_arg1:String):void{ var _local2:SaveRating = _group.getRatingByName(_arg1); var _local3:uint; while (_local3 < _lookupRatings.length) { if (_lookupRatings[_local3] == _local2.id){ _lookupRatings.splice(_local3, 1); return; }; _local3++; }; } public function addFileCondition(_arg1:uint, _arg2:String, _arg3):void{ _fileConditions.push({field:_arg1, operator:_arg2, value:_arg3}); } public function excludeKey(_arg1:String):void{ var _local2:SaveKey = _group.getKeyByName(_arg1); var _local3:uint; while (_local3 < _lookupKeys.length) { if (_lookupKeys[_local3] == _local2.id){ _lookupKeys.splice(_local3, 1); return; }; _local3++; }; } public function get resultsPerPage():uint{ return (_resultsPerPage); } public function get groupId():uint{ return (_group.id); } override public function toString():String{ return (""); } 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; }; _sortConditions.push(_local5); } public function groupBy(_arg1:uint):void{ _groupBy.push({table:TABLE_FILES, field:_arg1}); } public function get group():SaveGroup{ return (_group); } } }//package com.newgrounds
Section 21
//SaveKey (com.newgrounds.SaveKey) package com.newgrounds { public class SaveKey { private var _id:uint; private var _type:uint; private var _name:String; public static const TYPE_BOOLEAN:uint = 4; public static const TYPE_STRING:uint = 3; public static const TYPE_FLOAT:uint = 1; public static const TYPE_INTEGER:uint = 2; public function SaveKey(_arg1:uint, _arg2:String, _arg3:uint){ _id = _arg1; _name = _arg2; _type = _arg3; } public function isValueValid(_arg1):Boolean{ if (_type == TYPE_INTEGER){ return ((((_arg1 is int)) || ((_arg1 is uint)))); }; if (_type == TYPE_FLOAT){ return ((((((_arg1 is int)) || ((_arg1 is uint)))) || ((_arg1 is Number)))); }; if (_type == TYPE_STRING){ return ((_arg1 is String)); }; if (_type == TYPE_BOOLEAN){ return ((((((((_arg1 is Boolean)) || ((_arg1 === 0)))) || ((_arg1 === 1)))) || ((_arg1 == "")))); }; return (false); } public function get name():String{ return (_name); } public function get type():uint{ return (_type); } public function get id():uint{ return (_id); } public function toString():String{ return (_name); } } }//package com.newgrounds
Section 22
//SaveRating (com.newgrounds.SaveRating) package com.newgrounds { public class SaveRating { private var _voted:Boolean; private var _name:String; private var _maxValue:Number; private var _isFloat:Boolean; private var _id:uint; private var _minValue:Number; public function SaveRating(_arg1:uint, _arg2:String, _arg3:Boolean, _arg4:Number=-INF, _arg5:Number=INF){ _id = _arg1; _name = _arg2; _isFloat = _arg3; _minValue = _arg4; _maxValue = _arg5; } public function get voted():Boolean{ return (_voted); } public function set voted(_arg1:Boolean):void{ _voted = _arg1; } public function toString():String{ return (_name); } public function get maxValue():Number{ return (_maxValue); } public function get name():String{ return (_name); } public function get isFloat():Boolean{ return (_isFloat); } public function get id():uint{ return (_id); } public function get minValue():Number{ return (_minValue); } } }//package com.newgrounds
Section 23
//Score (com.newgrounds.Score) package com.newgrounds { public class Score { private var _board:ScoreBoard; private var _position:uint; private var _numeric_value:uint; private var _value:String; private var _username:String; public function Score(_arg1:ScoreBoard, _arg2:Number, _arg3:String, _arg4:String, _arg5:uint){ _board = _arg1; _position = _arg2; _username = _arg3; _value = _arg4; _numeric_value = _arg5; } public function get board():ScoreBoard{ return (_board); } public function get position():uint{ return (_position); } public function get value():String{ return (_value); } public function get username():String{ return (_username); } public function get numeric_value():uint{ return (_numeric_value); } } }//package com.newgrounds
Section 24
//ScoreBoard (com.newgrounds.ScoreBoard) package com.newgrounds { import flash.events.*; public class ScoreBoard extends EventDispatcher { private var _scores:Array; private var _name:String; private var _page:uint;// = 1 private var _period:String;// = "Today" private var _id:uint; private var _num_results:uint;// = 10 public function ScoreBoard(_arg1:uint, _arg2:String){ _name = _arg2; _id = _arg1; _scores = []; } public function get period():String{ return (_period); } public function get id():Number{ return (_id); } function setScores(_arg1:Array, _arg2:String, _arg3:Number, _arg4:Number):void{ var _local6:uint; _period = _arg2; _page = _arg3; _num_results = _arg4; _scores = []; var _local5:uint; while (_local5 < _arg1.length) { _local6 = (((_num_results * (_page - 1)) + 1) + _local5); _scores.push(new Score(this, _local6, _arg1[_local5].username, _arg1[_local5].value, _arg1[_local5].numeric_value)); _local5++; }; } public function get scores():Array{ return (_scores); } public function exists():Boolean{ return ((_id > 0)); } public function get name():String{ return (_name); } public function get page():uint{ return (_page); } public function postScore(_arg1:uint, _arg2:Boolean):void{ NewgroundsAPI.postScore(_name, _arg1, _arg2); } public function get num_results():uint{ return (_num_results); } public function loadScores(_arg1:String, _arg2:uint, _arg3:uint):void{ _period = _arg1; if (((!(_period)) || ((_period == "")))){ _period = "Today"; }; _page = _arg2; _num_results = _arg3; NewgroundsAPI.loadScores(this); } } }//package com.newgrounds
Section 25
//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 _urlRequest:URLRequest; private var _method:String;// = "GET" private var _files:Dictionary; private var _hasVariables:Boolean; private var _dataFormat:String;// = "text" private var _urlLoader:URLLoader; private var _preventCache:Boolean;// = false private var _variables:Dictionary; public var owner; private var _openBrowser:Boolean;// = false private static const CRLF:String = " "; private static var _loaders:Dictionary = new Dictionary(); public function SmartURLLoader(){ _urlRequest = new URLRequest(); _variables = new Dictionary(); } public function get response(){ return (_urlLoader.data); } public function set method(_arg1:String):void{ if (((hasFiles) && ((_arg1 == URLRequestMethod.GET)))){ throw (new IllegalOperationError("GET cannot be used to upload files.")); }; _method = _arg1; } private function onIOError(_arg1:IOErrorEvent):void{ dispatchEvent(_arg1); dispose(); } public function addVariable(_arg1:String, _arg2=""):void{ _variables[_arg1] = _arg2; if (_arg2){ _hasVariables = true; }; } private function onSecurityError(_arg1:SecurityErrorEvent):void{ dispatchEvent(_arg1); dispose(); } public function get preventCache():Boolean{ return (_preventCache); } public function addFile(_arg1:String, _arg2:ByteArray, _arg3:String, _arg4:String="application/octect-stream"):void{ method = URLRequestMethod.POST; if (!_files){ _files = new Dictionary(); }; _files[_arg1] = new File(_arg1, _arg2, _arg3, _arg4); } public function get openBrowser():Boolean{ return (_openBrowser); } public function set preventCache(_arg1:Boolean):void{ _preventCache = _arg1; } public function get responseFormat():String{ return (_dataFormat); } private function onComplete(_arg1:Event):void{ dispatchEvent(_arg1); dispose(); } public function dispose():void{ _files = null; _variables = null; if (_urlLoader){ _urlLoader.removeEventListener(Event.COMPLETE, onComplete); _urlLoader.removeEventListener(ProgressEvent.PROGRESS, onProgress); _urlLoader.removeEventListener(IOErrorEvent.IO_ERROR, onIOError); _urlLoader.removeEventListener(HTTPStatusEvent.HTTP_STATUS, onHTTPStatus); _urlLoader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError); _urlLoader = null; }; _urlRequest = null; _loaders[this] = null; } public function get method():String{ return (_method); } public function close():void{ try { _urlLoader.close(); } catch(e:Error) { }; } 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 _variables) { _local2.writeUTFBytes((_arg1 + CRLF)); _local2.writeUTFBytes(((("Content-Disposition: form-data; name=\"" + _local3) + "\"") + CRLF)); _local2.writeUTFBytes(CRLF); _local2.writeUTFBytes((_variables[_local3] + CRLF)); }; if (hasFiles){ for each (_local4 in _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; trace(_local2.readUTFBytes(_local2.length)); _local2.position = 0; return (_local2); } public function clearVariables():void{ _variables = new Dictionary(); } private function onProgress(_arg1:ProgressEvent):void{ dispatchEvent(_arg1); } public function load(_arg1:String):void{ var urlVariables:URLVariables; var key:String; var boundary:String; var i:uint; var event:SecurityErrorEvent; var url = _arg1; _urlRequest.url = url; if (_preventCache){ url = (url + ("?seed=" + Math.random())); if (_hasVariables){ url = (url + "&"); }; }; _urlRequest.method = _method; if ((((_urlRequest.method == URLRequestMethod.GET)) || (!(hasFiles)))){ _urlRequest.contentType = "application/x-www-form-urlencoded"; if (_hasVariables){ urlVariables = new URLVariables(); for (key in _variables) { urlVariables[key] = _variables[key]; }; _urlRequest.data = urlVariables; }; } else { boundary = ""; i = 0; while (i < 32) { boundary = (boundary + String.fromCharCode(uint((97 + (Math.random() * 25))))); i = (i + 1); }; _urlRequest.contentType = (("multipart/form-data; boundary=\"" + boundary) + "\""); _urlRequest.data = buildMultipartData(boundary); }; if (openBrowser){ navigateToURL(_urlRequest, "_blank"); } else { _urlLoader = new URLLoader(); _urlLoader.dataFormat = _dataFormat; _urlLoader.addEventListener(Event.COMPLETE, onComplete); _urlLoader.addEventListener(ProgressEvent.PROGRESS, onProgress); _urlLoader.addEventListener(IOErrorEvent.IO_ERROR, onIOError); _urlLoader.addEventListener(HTTPStatusEvent.HTTP_STATUS, onHTTPStatus); _urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError); _loaders[_urlLoader] = this; try { _urlLoader.load(_urlRequest); } catch(error:Error) { event = new SecurityErrorEvent(SecurityErrorEvent.SECURITY_ERROR, false, false, error.message); onSecurityError(event); }; }; } public function set responseFormat(_arg1:String):void{ _dataFormat = _arg1; } public function clearFiles():void{ _files = null; } private function onHTTPStatus(_arg1:HTTPStatusEvent):void{ dispatchEvent(_arg1); } public function set openBrowser(_arg1:Boolean):void{ _openBrowser = _arg1; } public function get hasFiles():Boolean{ return (Boolean(_files)); } } }//package com.newgrounds import flash.utils.*; class File { private var dataField:String; private var contentType:String; private var fileName:String; private var data:ByteArray; 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 26
//FpsCounter (General.FpsCounter) package General { import flash.display.*; import flash.system.*; import flash.utils.*; import flash.text.*; public class FpsCounter extends Sprite { private var avgCount2:int;// = 30 private var oldT:uint; private var mfpsCount:int;// = 0 public var textBox2:TextField; public var textBox3:TextField; private var avgCount:int;// = 30 public var textBox:TextField; private var mfpsCount2:int;// = 0 public function FpsCounter(){ textBox = new TextField(); textBox.text = "..."; textBox.textColor = 11145540; textBox.selectable = false; textBox2 = new TextField(); textBox2.text = "..."; textBox2.width = 150; textBox2.textColor = 11145540; textBox2.selectable = false; textBox2.y = 15; textBox3 = new TextField(); textBox3.text = "..."; textBox3.textColor = 11145540; textBox3.selectable = false; textBox3.y = 30; oldT = getTimer(); addChild(textBox); addChild(textBox2); addChild(textBox3); } public function update():void{ var _local1:uint = getTimer(); var _local2:uint = (_local1 - oldT); mfpsCount = (mfpsCount + _local2); if (avgCount < 1){ textBox.text = String((Math.round((1000 / (mfpsCount / 30))) + " fps average")); avgCount = 30; mfpsCount = 0; }; avgCount--; oldT = getTimer(); textBox3.text = (Math.round((System.totalMemory / (0x0400 * 0x0400))) + " MB used"); } public function updateEnd():void{ } public function updatePhys(_arg1:uint):void{ var _local2:uint = getTimer(); var _local3:uint = (_local2 - _arg1); mfpsCount2 = (mfpsCount2 + _local3); if (avgCount2 < 1){ textBox2.text = String((((("Physics step: " + Math.round((mfpsCount2 / 30))) + " ms (") + Math.round((1000 / (mfpsCount2 / 30)))) + " fps)")); avgCount2 = 30; mfpsCount2 = 0; }; avgCount2--; } } }//package General
Section 27
//Input (General.Input) package General { import flash.events.*; import flash.display.*; public class Input { private static var keyArr:Array; private static var keyBuffer:Array; public static var mouseReleased:Boolean = false; public static var mouseDragY:Number = 0; public static var mouseOver:Boolean = false; public static var mouse:Sprite = new Sprite(); public static var timeSinceLastKey = 0; public static var mousePressed:Boolean = false; public static var mouseOffsetX:Number = 0; public static var mouseOffsetY:Number = 0; public static var ascii:Array; public static var mouseX:Number = 0; public static var initialized:Boolean = false; public static var mouseY:Number = 0; private static var bufferSize:int; public static var m_stageMc:Sprite; public static var mouseDown:Boolean = false; public static var lastKey:int = 0; private static var keyState:Array; public static var keys:Array; public static var mouseDragX:Number = 0; public function Input(_arg1:Sprite){ initialized = true; m_stageMc = _arg1; ascii = new Array(222); fillAscii(); keyState = new Array(222); keyArr = new Array(); var _local2:int; while (_local2 < 222) { keyState[_local2] = new int(0); if (ascii[_local2] != undefined){ keyArr.push(_local2); }; _local2++; }; bufferSize = 5; keyBuffer = new Array(bufferSize); var _local3:int; while (_local3 < bufferSize) { keyBuffer[_local3] = new Array(0, 0); _local3++; }; _arg1.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPress, false, 0, true); _arg1.stage.addEventListener(KeyboardEvent.KEY_UP, keyRelease, false, 0, true); _arg1.stage.addEventListener(MouseEvent.MOUSE_DOWN, mousePress, false, 0, true); mouse.graphics.lineStyle(0.1, 0, 100); mouse.graphics.moveTo(0, 0); mouse.graphics.lineTo(0, 0.1); } public function mouseLeave(_arg1:Event){ if (mouseDown){ m_stageMc.stage.removeEventListener(MouseEvent.MOUSE_UP, mouseRelease); m_stageMc.stage.removeEventListener(Event.MOUSE_LEAVE, mouseLeave); }; mouseReleased = mouseDown; mouseDown = false; } public function keyPress(_arg1:KeyboardEvent){ keyState[_arg1.keyCode] = Math.max(keyState[_arg1.keyCode], 1); lastKey = _arg1.keyCode; } private function fillAscii(){ ascii[65] = "A"; ascii[66] = "B"; ascii[67] = "C"; ascii[68] = "D"; ascii[69] = "E"; ascii[70] = "F"; ascii[71] = "G"; ascii[72] = "H"; ascii[73] = "I"; ascii[74] = "J"; ascii[75] = "K"; ascii[76] = "L"; ascii[77] = "M"; ascii[78] = "N"; ascii[79] = "O"; ascii[80] = "P"; ascii[81] = "Q"; ascii[82] = "R"; ascii[83] = "S"; ascii[84] = "T"; ascii[85] = "U"; ascii[86] = "V"; ascii[87] = "W"; ascii[88] = "X"; ascii[89] = "Y"; ascii[90] = "Z"; ascii[48] = "0"; ascii[49] = "1"; ascii[50] = "2"; ascii[51] = "3"; ascii[52] = "4"; ascii[53] = "5"; ascii[54] = "6"; ascii[55] = "7"; ascii[56] = "8"; ascii[57] = "9"; ascii[32] = "Spacebar"; ascii[17] = "Ctrl"; ascii[16] = "Shift"; ascii[192] = "~"; ascii[38] = "up"; ascii[40] = "down"; ascii[37] = "left"; ascii[39] = "right"; ascii[96] = "Numpad 0"; ascii[97] = "Numpad 1"; ascii[98] = "Numpad 2"; ascii[99] = "Numpad 3"; ascii[100] = "Numpad 4"; ascii[101] = "Numpad 5"; ascii[102] = "Numpad 6"; ascii[103] = "Numpad 7"; ascii[104] = "Numpad 8"; ascii[105] = "Numpad 9"; ascii[111] = "Numpad /"; ascii[106] = "Numpad *"; ascii[109] = "Numpad -"; ascii[107] = "Numpad +"; ascii[110] = "Numpad ."; ascii[45] = "Insert"; ascii[46] = "Delete"; ascii[33] = "Page Up"; ascii[34] = "Page Down"; ascii[35] = "End"; ascii[36] = "Home"; ascii[112] = "F1"; ascii[113] = "F2"; ascii[114] = "F3"; ascii[115] = "F4"; ascii[116] = "F5"; ascii[117] = "F6"; ascii[118] = "F7"; ascii[119] = "F8"; ascii[188] = ","; ascii[190] = "."; ascii[186] = ";"; ascii[222] = "'"; ascii[219] = "["; ascii[221] = "]"; ascii[189] = "-"; ascii[187] = "+"; ascii[220] = "\\"; ascii[191] = "/"; ascii[9] = "TAB"; ascii[8] = "Backspace"; } public function mouseMove(_arg1:MouseEvent){ if (mouseDown != _arg1.buttonDown){ mouseDown = _arg1.buttonDown; mouseReleased = !(_arg1.buttonDown); mousePressed = _arg1.buttonDown; mouseDragX = 0; mouseDragY = 0; }; mouseX = (_arg1.stageX - m_stageMc.x); mouseY = (_arg1.stageY - m_stageMc.y); mouseOffsetX = (mouseX - mouse.x); mouseOffsetY = (mouseY - mouse.y); if (mouseDown){ mouseDragX = (mouseDragX + mouseOffsetX); mouseDragY = (mouseDragY + mouseOffsetY); }; mouse.x = mouseX; mouse.y = mouseY; } public function keyRelease(_arg1:KeyboardEvent){ keyState[_arg1.keyCode] = -1; var _local2:int = (bufferSize - 1); while (_local2 > 0) { keyBuffer[_local2] = keyBuffer[(_local2 - 1)]; _local2--; }; keyBuffer[0] = [_arg1.keyCode, 0]; } public function mouseRelease(_arg1:MouseEvent){ mouseDown = false; mouseReleased = true; m_stageMc.stage.removeEventListener(MouseEvent.MOUSE_UP, mouseRelease); m_stageMc.stage.removeEventListener(Event.MOUSE_LEAVE, mouseLeave); } public function mousePress(_arg1:MouseEvent){ mousePressed = true; mouseDown = true; mouseDragX = 0; mouseDragY = 0; m_stageMc.stage.addEventListener(MouseEvent.MOUSE_UP, mouseRelease, false, 0, true); m_stageMc.stage.addEventListener(Event.MOUSE_LEAVE, mouseLeave, false, 0, true); } public static function isKeysDown(_arg1:Array):int{ var _local3:*; var _local2:int; for each (_local3 in _arg1) { if ((_local3 is int)){ if (isKeyDown(int(_local3))){ _local2++; }; } else { if ((_local3 is String)){ if (isKeyDownS(String(_local3))){ _local2++; }; }; }; }; return (_local2); } public static function getKeyHold(_arg1:int):int{ return (Math.max(0, keyState[_arg1])); } public static function isKeyPressed(_arg1:int):Boolean{ timeSinceLastKey = 0; return ((keyState[_arg1] == 1)); } public static function isKeyDown(_arg1:int):Boolean{ return ((keyState[_arg1] > 0)); } public static function getKeyString(_arg1:uint):String{ return (ascii[_arg1]); } public static function isKeyDownS(_arg1:String):Boolean{ return (isKeyDown(getStringKey(_arg1))); } private static function fillKeys(){ keys = new Array(); keys["A"] = 65; keys["B"] = 66; keys["C"] = 67; keys["D"] = 68; keys["E"] = 69; keys["F"] = 70; keys["G"] = 71; keys["H"] = 72; keys["I"] = 73; keys["J"] = 74; keys["K"] = 75; keys["L"] = 76; keys["M"] = 77; keys["N"] = 78; keys["O"] = 79; keys["P"] = 80; keys["Q"] = 81; keys["R"] = 82; keys["S"] = 83; keys["T"] = 84; keys["U"] = 85; keys["V"] = 86; keys["W"] = 87; keys["X"] = 88; keys["Y"] = 89; keys["Z"] = 90; keys["0"] = 48; keys["1"] = 49; keys["2"] = 50; keys["3"] = 51; keys["4"] = 52; keys["5"] = 53; keys["6"] = 54; keys["7"] = 55; keys["8"] = 56; keys["9"] = 57; keys["Spacebar"] = 32; keys["Ctrl"] = 17; keys["Shift"] = 16; keys["~"] = 192; keys["up"] = 38; keys["down"] = 40; keys["left"] = 37; keys["right"] = 39; keys["Numpad 0"] = 96; keys["Numpad 1"] = 97; keys["Numpad 2"] = 98; keys["Numpad 3"] = 99; keys["Numpad 4"] = 100; keys["Numpad 5"] = 101; keys["Numpad 6"] = 102; keys["Numpad 7"] = 103; keys["Numpad 8"] = 104; keys["Numpad 9"] = 105; keys["Numpad /"] = 111; keys["Numpad *"] = 106; keys["Numpad -"] = 109; keys["Numpad +"] = 107; keys["Numpad ."] = 110; keys["Insert"] = 45; keys["Delete"] = 46; keys["Page Up"] = 33; keys["Page Down"] = 34; keys["End"] = 35; keys["Home"] = 36; keys["F1"] = 112; keys["F2"] = 113; keys["F3"] = 114; keys["F4"] = 115; keys["F5"] = 116; keys["F6"] = 117; keys["F7"] = 118; keys["F8"] = 119; keys[","] = 188; keys["."] = 190; keys[";"] = 186; keys["'"] = 222; keys["["] = 219; keys["]"] = 221; keys["-"] = 189; keys["+"] = 187; keys["\\"] = 220; keys["/"] = 191; keys["TAB"] = 9; keys["Backspace"] = 8; } public static function isKeyReleased(_arg1:int):Boolean{ return ((keyState[_arg1] == -1)); } public static function isKeyInBuffer(_arg1:int, _arg2:int, _arg3:int){ return ((((keyBuffer[_arg2][0] == _arg1)) && ((keyBuffer[_arg2][1] <= _arg3)))); } public static function update(){ var _local1:int; while (_local1 < keyArr.length) { if (keyState[keyArr[_local1]] != 0){ var _local3 = keyState; var _local4 = keyArr[_local1]; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; }; _local1++; }; var _local2:int; while (_local2 < bufferSize) { _local3 = keyBuffer[_local2]; _local4 = 1; _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; _local2++; }; mouseReleased = false; mousePressed = false; mouseOver = false; } public static function getStringKey(_arg1:String):int{ if (keys == null){ fillKeys(); }; return (keys[_arg1]); } } }//package General
Section 28
//KongAPI (General.KongAPI) package General { import flash.events.*; import flash.display.*; import flash.net.*; public class KongAPI { public var kongregate; public function KongAPI(_arg1:Stage){ var _local2:Object = LoaderInfo(_arg1.loaderInfo).parameters; var _local3:String = _local2.api_path; if (_local3 == null){ _local3 = "http://www.kongregate.com/flash/API_AS3_Local.swf"; }; trace(("API path: " + _local3)); var _local4:URLRequest = new URLRequest(_local3); var _local5:Loader = new Loader(); _local5.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); _local5.load(_local4); _arg1.addChild(_local5); } public function submitScore(_arg1:Number):void{ kongregate.scores.submit(_arg1); } public function submitStat(_arg1:Number, _arg2:String):void{ kongregate.stats.submit(_arg2, _arg1); } public function loadComplete(_arg1:Event):void{ kongregate = _arg1.target.content; kongregate.services.connect(); trace(("\n" + kongregate.services)); trace(("\n" + kongregate.user)); trace(("\n" + kongregate.scores)); trace(("\n" + kongregate.stats)); } } }//package General
Section 29
//SoundEffect (General.SoundEffect) package General { import flash.events.*; import flash.system.*; import flash.utils.*; import flash.media.*; public class SoundEffect extends EventDispatcher { public var lastTime:int; public var channels:Array; public var fx:Boolean;// = true public var loop:Boolean; public var retrigger:int; public var handle:String; public var cl:Class; public var pausedVolume:Number;// = 1 public var limit:int; public var pausePos:uint;// = 0 public function SoundEffect(_arg1:String, _arg2:ApplicationDomain, _arg3:int, _arg4:int, _arg5:Boolean=false){ handle = _arg1; if (_arg2 != null){ cl = Class(_arg2.getDefinition(handle)); }; retrigger = _arg3; limit = _arg4; loop = _arg5; channels = new Array(); lastTime = -1000; } public function stop():void{ var _local1:SoundChannel; for each (_local1 in channels) { _local1.stop(); }; channels = new Array(); } public function pause():void{ if (channels.length <= 0){ return; }; pausedVolume = volume; while (channels.length > 0) { pausePos = SoundChannel(channels[0]).position; SoundChannel(channels[0]).stop(); channels.shift(); }; } public function play(_arg1:Boolean=false, _arg2:Number=1):void{ var _local3:Sound; var _local4:SoundChannel; if (((((getTimer() - lastTime) > retrigger)) && ((channels.length < limit)))){ lastTime = getTimer(); _local3 = new cl(); if (((!(_arg1)) && (!(loop)))){ _local4 = _local3.play(0, 0, new SoundTransform(_arg2)); } else { _local4 = _local3.play(0, 1000, new SoundTransform(_arg2)); }; if (_local4 == null){ return; }; _local4.addEventListener(Event.SOUND_COMPLETE, instanceComplete); channels.push(_local4); }; } public function setVol(_arg1:Number):void{ var _local2:SoundChannel; for each (_local2 in channels) { _local2.soundTransform = new SoundTransform(_arg1); }; } public function get volume():Number{ if (channels[0]){ return (channels[0].soundTransform.volume); }; return (0); } public function instanceComplete(_arg1:Event):void{ var _local2:int; while (_local2 < channels.length) { if (channels[_local2] == _arg1.currentTarget){ dispatchEvent(new Event("instanceComplete")); Util.ArrayRemoveItem(_arg1.currentTarget, channels); return; }; _local2++; }; } public function set volume(_arg1:Number):void{ var _local2:SoundChannel; for each (_local2 in channels) { _local2.soundTransform = new SoundTransform(_arg1); }; } public function unpause():void{ var _local2:SoundChannel; if (pausePos == 0){ return; }; var _local1:Sound = new cl(); if (!loop){ _local2 = _local1.play(pausePos, 0, new SoundTransform(pausedVolume)); } else { _local2 = _local1.play(pausePos, 1000, new SoundTransform(pausedVolume)); }; if (_local2 == null){ return; }; _local2.addEventListener(Event.SOUND_COMPLETE, instanceComplete); channels.push(_local2); pausePos = 0; pausedVolume = 1; } } }//package General
Section 30
//SoundEffectEmbeded (General.SoundEffectEmbeded) package General { public class SoundEffectEmbeded extends SoundEffect { public function SoundEffectEmbeded(_arg1:String, _arg2:Class, _arg3:int, _arg4:int, _arg5:Boolean=false){ super(_arg1, null, _arg3, _arg4, _arg5); cl = _arg2; } } }//package General
Section 31
//Util (General.Util) package General { import flash.events.*; import flash.geom.*; import flash.display.*; public class Util { public static function PerpVec(_arg1:Point):Point{ var _local2:Point = new Point(-(_arg1.y), _arg1.x); return (_local2); } public static function Rand(_arg1:Number):Number{ return ((Math.random() * _arg1)); } public static function Dist(_arg1, _arg2):Number{ return (new Point((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)).length); } public static function ButtonUnReg(_arg1, _arg2:Function):void{ _arg1.removeEventListener(MouseEvent.CLICK, _arg2); } public static function formatTimeHMS(_arg1:uint):String{ var _local2:int = int((_arg1 / ((1000 * 60) * 60))); _arg1 = (_arg1 - (((_local2 * 1000) * 60) * 60)); var _local3 = "00"; if ((((_local2 > 0)) && ((_local2 < 10)))){ _local3 = ("0" + _local2); } else { if (_local2 >= 10){ _local3 = _local2.toString(); }; }; var _local4:int = int((_arg1 / (1000 * 60))); _arg1 = (_arg1 - ((_local4 * 1000) * 60)); var _local5 = "00"; if ((((_local4 > 0)) && ((_local4 < 10)))){ _local5 = ("0" + _local4); } else { if (_local4 >= 10){ _local5 = _local4.toString(); }; }; var _local6:int = int((_arg1 / 1000)); var _local7 = "00"; if ((((_local6 > 0)) && ((_local6 < 10)))){ _local7 = ("0" + _local6); } else { if (_local6 >= 10){ _local7 = _local6.toString(); }; }; var _local8:String = ((((_local3 + ":") + _local5) + ":") + _local7); return (_local8); } public static function RayCircleIntersect(_arg1:Point, _arg2:Point, _arg3:Point, _arg4:Number):Boolean{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Point = new Point(); _local9.x = (_arg2.x - _arg1.x); _local9.y = (_arg2.y - _arg1.y); _local5 = ((_local9.x * _local9.x) + (_local9.y * _local9.y)); _local6 = (2 * ((_local9.x * (_arg1.x - _arg3.x)) + (_local9.y * (_arg1.y - _arg3.y)))); _local7 = ((_arg3.x * _arg3.x) + (_arg3.y * _arg3.y)); _local7 = (_local7 + ((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y))); _local7 = (_local7 - (2 * ((_arg3.x * _arg1.x) + (_arg3.y * _arg1.y)))); _local7 = (_local7 - (_arg4 * _arg4)); _local8 = ((_local6 * _local6) - ((4 * _local5) * _local7)); if (_local8 < 0){ return (false); }; return (true); } public static function DotProduct(_arg1:Point, _arg2:Point):Number{ return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y))); } public static function ArrayRemoveItem(_arg1, _arg2:Array):Array{ var _local3:int; while (_local3 < _arg2.length) { if (_arg2[_local3] == _arg1){ if (_local3 == (_arg2.length - 1)){ _arg2.pop(); } else { _arg2[_local3] = _arg2.pop(); _local3--; }; }; _local3++; }; return (_arg2); } public static function DistP(_arg1, _arg2):Point{ return (new Point((_arg1.x - _arg2.x), (_arg1.y - _arg2.y))); } public static function VectorProjection(_arg1:Point, _arg2:Point):Point{ var _local3:Number = ((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y)); var _local4:Point = new Point(); _local4.x = ((_local3 / ((_arg2.x * _arg2.x) + (_arg2.y * _arg2.y))) * _arg2.x); _local4.y = ((_local3 / ((_arg2.x * _arg2.x) + (_arg2.y * _arg2.y))) * _arg2.y); return (_local4); } public static function CommaFormat(_arg1:Number):String{ var _local2:String = _arg1.toString(); var _local3:int = _local2.indexOf("."); if (_local3 == -1){ _local3 = _local2.length; }; while ((_local3 = (_local3 - 3)) > 0) { _local2 = ((_local2.substring(0, _local3) + ",") + _local2.substr(_local3)); }; return (_local2); } public static function duplicateDisplayObject(_arg1:DisplayObject, _arg2:Boolean=false):DisplayObject{ var _local5:Rectangle; var _local3:Class = Object(_arg1).constructor; var _local4:DisplayObject = new (_local3); _local4.transform = _arg1.transform; _local4.filters = _arg1.filters; _local4.cacheAsBitmap = _arg1.cacheAsBitmap; _local4.opaqueBackground = _arg1.opaqueBackground; if (_arg1.scale9Grid){ _local5 = _arg1.scale9Grid; _local4.scale9Grid = _local5; }; if (((_arg2) && (_arg1.parent))){ _arg1.parent.addChild(_local4); }; return (_local4); } public static function VectorSubtract(_arg1:Point, _arg2:Point):Point{ return (new Point((_arg1.x - _arg2.x), (_arg1.y - _arg2.y))); } public static function formatTimeMS(_arg1:uint):String{ var _local2:int = int((_arg1 / (1000 * 60))); _arg1 = (_arg1 - ((_local2 * 1000) * 60)); var _local3 = "00"; if ((((_local2 > 0)) && ((_local2 < 10)))){ _local3 = ("0" + _local2); } else { if (_local2 >= 10){ _local3 = _local2.toString(); }; }; var _local4:int = int((_arg1 / 1000)); var _local5 = "00"; if ((((_local4 > 0)) && ((_local4 < 10)))){ _local5 = ("0" + _local4); } else { if (_local4 >= 10){ _local5 = _local4.toString(); }; }; var _local6:String = ((_local3 + ":") + _local5); return (_local6); } public static function ClosestXYObj(_arg1, _arg2:Array){ var _local4:*; var _local5:*; var _local3:int = int.MAX_VALUE; for each (_local5 in _arg2) { if (Dist(_arg1, _local5) < _local3){ _local3 = Dist(_arg1, _local5); _local4 = _local5; }; }; return (_local4); } public static function VectorRotate(_arg1:Point, _arg2:Number):Point{ var _local3:Matrix = new Matrix(); _local3.rotate((_arg2 * (Math.PI / 180))); return (_local3.transformPoint(_arg1)); } public static function RandAdj(_arg1:Number):Number{ return ((Rand(_arg1) - (_arg1 / 2))); } public static function ButtonReg(_arg1, _arg2:Function):void{ _arg1.useHandCursor = true; _arg1.addEventListener(MouseEvent.CLICK, _arg2, false, 0, true); } public static function Normalize(_arg1:Point):Point{ var _local2:Point = new Point(); if (_arg1.length != 0){ _local2.x = (_arg1.x / _arg1.length); _local2.y = (_arg1.y / _arg1.length); }; return (_local2); } public static function formatTimeHMSms(_arg1:uint):String{ var _local2:int = int((_arg1 / ((1000 * 60) * 60))); _arg1 = (_arg1 - (((_local2 * 1000) * 60) * 60)); var _local3 = "00"; if ((((_local2 > 0)) && ((_local2 < 10)))){ _local3 = ("0" + _local2); } else { if (_local2 >= 10){ _local3 = _local2.toString(); }; }; var _local4:int = int((_arg1 / (1000 * 60))); _arg1 = (_arg1 - ((_local4 * 1000) * 60)); var _local5 = "00"; if ((((_local4 > 0)) && ((_local4 < 10)))){ _local5 = ("0" + _local4); } else { if (_local4 >= 10){ _local5 = _local4.toString(); }; }; var _local6:int = int((_arg1 / 1000)); _arg1 = (_arg1 - (_local6 * 1000)); var _local7 = "00"; if ((((_local6 > 0)) && ((_local6 < 10)))){ _local7 = ("0" + _local6); } else { if (_local6 >= 10){ _local7 = _local6.toString(); }; }; var _local8:int = int((_arg1 / 10)); var _local9 = "00"; if ((((_local8 > 0)) && ((_local8 < 10)))){ _local9 = ("0" + _local8); } else { if (_local8 >= 10){ _local9 = _local8.toString(); }; }; var _local10:String = ((((((_local3 + ":") + _local5) + ":") + _local7) + ":") + _local9); return (_local10); } public static function VectorMult(_arg1:Point, _arg2:Number):Point{ _arg1.x = (_arg1.x * _arg2); _arg1.y = (_arg1.y * _arg2); return (_arg1); } public static function VectorToAngle(_arg1:Point):Number{ var _local2:Number = (Math.atan((_arg1.y / _arg1.x)) * (180 / Math.PI)); if (_arg1.x < 0){ _local2 = (_local2 + 180); }; return (_local2); } public static function ArrayAddNoDup(_arg1, _arg2:Array):Array{ var _local3:*; for each (_local3 in _arg2) { if (_local3 == _arg1){ return (_arg2); }; }; _arg2.push(_arg1); return (_arg2); } public static function getTimeMS_ms(_arg1:String):int{ var _local2:String = _arg1.split(":")[0]; var _local3:String = _arg1.split(":")[1]; var _local4:int = ((parseInt(_local2) * 60) * 1000); var _local5:int = (parseInt(_local3) * 1000); return ((_local4 + _local5)); } public static function VectorAdd(_arg1:Point, _arg2:Point):Point{ return (new Point((_arg1.x + _arg2.x), (_arg1.y + _arg2.y))); } } }//package General
Section 32
//ButtonAsset (mx.core.ButtonAsset) package mx.core { public class ButtonAsset extends FlexSimpleButton implements IFlexAsset, IFlexDisplayObject { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.4.1.10084"; public function ButtonAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } } }//package mx.core
Section 33
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.4.1.10084"; public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 34
//FlexMovieClip (mx.core.FlexMovieClip) package mx.core { import flash.display.*; import mx.utils.*; public class FlexMovieClip extends MovieClip { mx_internal static const VERSION:String = "3.4.1.10084"; public function FlexMovieClip(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 35
//FlexSimpleButton (mx.core.FlexSimpleButton) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSimpleButton extends SimpleButton { mx_internal static const VERSION:String = "3.4.1.10084"; public function FlexSimpleButton(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 36
//FlexSprite (mx.core.FlexSprite) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSprite extends Sprite { mx_internal static const VERSION:String = "3.4.1.10084"; public function FlexSprite(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 37
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 38
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 39
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 40
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 41
//MovieClipAsset (mx.core.MovieClipAsset) package mx.core { public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.4.1.10084"; public function MovieClipAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 42
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 43
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.4.1.10084"; } }//package mx.core
Section 44
//SpriteAsset (mx.core.SpriteAsset) package mx.core { public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.4.1.10084"; public function SpriteAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 45
//NameUtil (mx.utils.NameUtil) package mx.utils { import mx.core.*; import flash.display.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.4.1.10084"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var result:String; var o:DisplayObject; var s:String; var indices:Array; var displayObject = _arg1; try { o = displayObject; while (o != null) { if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){ break; }; s = o.name; if ((o is IRepeaterClient)){ indices = IRepeaterClient(o).instanceIndices; if (indices){ s = (s + (("[" + indices.join("][")) + "]")); }; }; result = ((result == null)) ? s : ((s + ".") + result); o = o.parent; }; } catch(e:SecurityError) { }; return (result); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 46
//Encode (SWFStats.Encode) package SWFStats { import flash.display.*; import flash.utils.*; public class Encode { private static const BASE64_CHARS:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; private static var crcTableComputed:Boolean = false; private static var hex_chr:String = "0123456789abcdef"; private static var crcTable:Array; private static function ff(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (cmn(bitOR(bitAND(_arg2, _arg3), bitAND(~(_arg2), _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function hh(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (cmn(bitXOR(bitXOR(_arg2, _arg3), _arg4), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function cmn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{ return (addme(rol(addme(addme(_arg2, _arg1), addme(_arg4, _arg6)), _arg5), _arg3)); } private static function gg(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (cmn(bitOR(bitAND(_arg2, _arg4), bitAND(_arg3, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function bitAND(_arg1:Number, _arg2:Number):Number{ var _local3:Number = ((_arg1 & 1) & (_arg2 & 1)); var _local4:Number = ((_arg1 >>> 1) & (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } 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); } public static function Base64(_arg1:ByteArray):String{ var _local3:Array; var _local5:uint; var _local6:uint; var _local7:uint; var _local2 = ""; var _local4:Array = new Array(4); _arg1.position = 0; while (_arg1.bytesAvailable > 0) { _local3 = new Array(); _local5 = 0; while ((((_local5 < 3)) && ((_arg1.bytesAvailable > 0)))) { _local3[_local5] = _arg1.readUnsignedByte(); _local5++; }; _local4[0] = ((_local3[0] & 252) >> 2); _local4[1] = (((_local3[0] & 3) << 4) | (_local3[1] >> 4)); _local4[2] = (((_local3[1] & 15) << 2) | (_local3[2] >> 6)); _local4[3] = (_local3[2] & 63); _local6 = _local3.length; while (_local6 < 3) { _local4[(_local6 + 1)] = 64; _local6++; }; _local7 = 0; while (_local7 < _local4.length) { _local2 = (_local2 + BASE64_CHARS.charAt(_local4[_local7])); _local7++; }; }; return (_local2); } public static function PNG(_arg1:BitmapData):ByteArray{ var _local5:uint; var _local6: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 _local7:int; while (_local7 < _arg1.height) { _local4.writeByte(0); if (!_arg1.transparent){ _local6 = 0; while (_local6 < _arg1.width) { _local5 = _arg1.getPixel(_local6, _local7); _local4.writeUnsignedInt(uint((((_local5 & 0xFFFFFF) << 8) | 0xFF))); _local6++; }; } else { _local6 = 0; while (_local6 < _arg1.width) { _local5 = _arg1.getPixel32(_local6, _local7); _local4.writeUnsignedInt(uint((((_local5 & 0xFFFFFF) << 8) | (_local5 >>> 24)))); _local6++; }; }; _local7++; }; _local4.compress(); writeChunk(_local2, 1229209940, _local4); writeChunk(_local2, 1229278788, null); return (_local2); } private static function ii(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (cmn(bitXOR(_arg3, bitOR(_arg2, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function rol(_arg1:Number, _arg2:Number):Number{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } private static function bitOR(_arg1:Number, _arg2:Number):Number{ var _local3:Number = ((_arg1 & 1) | (_arg2 & 1)); var _local4:Number = ((_arg1 >>> 1) | (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } private static function rhex(_arg1:Number):String{ var _local3:int; var _local2 = ""; _local3 = 0; while (_local3 <= 3) { _local2 = (_local2 + (hex_chr.charAt(((_arg1 >> ((_local3 * 8) + 4)) & 15)) + hex_chr.charAt(((_arg1 >> (_local3 * 8)) & 15)))); _local3++; }; return (_local2); } private static function addme(_arg1:Number, _arg2:Number):Number{ var _local3:Number = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF)); var _local4:Number = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16)); return (((_local4 << 16) | (_local3 & 0xFFFF))); } private static function bitXOR(_arg1:Number, _arg2:Number):Number{ var _local3:Number = ((_arg1 & 1) ^ (_arg2 & 1)); var _local4:Number = ((_arg1 >>> 1) ^ (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } public static function MD5(_arg1:String):String{ var _local7:int; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local2:Array = str2blks_MD5(_arg1); var _local3:Number = 1732584193; var _local4:Number = -271733879; var _local5:Number = -1732584194; var _local6:Number = 271733878; _local7 = 0; while (_local7 < _local2.length) { _local8 = _local3; _local9 = _local4; _local10 = _local5; _local11 = _local6; _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local7 + 0)], 7, -680876936); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local7 + 1)], 12, -389564586); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local7 + 2)], 17, 606105819); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local7 + 3)], 22, -1044525330); _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local7 + 4)], 7, -176418897); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local7 + 5)], 12, 1200080426); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local7 + 6)], 17, -1473231341); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local7 + 7)], 22, -45705983); _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local7 + 8)], 7, 1770035416); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local7 + 9)], 12, -1958414417); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local7 + 10)], 17, -42063); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local7 + 11)], 22, -1990404162); _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local7 + 12)], 7, 1804603682); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local7 + 13)], 12, -40341101); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local7 + 14)], 17, -1502002290); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local7 + 15)], 22, 1236535329); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local7 + 1)], 5, -165796510); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local7 + 6)], 9, -1069501632); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local7 + 11)], 14, 643717713); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local7 + 0)], 20, -373897302); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local7 + 5)], 5, -701558691); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local7 + 10)], 9, 38016083); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local7 + 15)], 14, -660478335); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local7 + 4)], 20, -405537848); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local7 + 9)], 5, 568446438); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local7 + 14)], 9, -1019803690); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local7 + 3)], 14, -187363961); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local7 + 8)], 20, 1163531501); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local7 + 13)], 5, -1444681467); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local7 + 2)], 9, -51403784); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local7 + 7)], 14, 1735328473); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local7 + 12)], 20, -1926607734); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local7 + 5)], 4, -378558); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local7 + 8)], 11, -2022574463); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local7 + 11)], 16, 1839030562); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local7 + 14)], 23, -35309556); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local7 + 1)], 4, -1530992060); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local7 + 4)], 11, 1272893353); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local7 + 7)], 16, -155497632); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local7 + 10)], 23, -1094730640); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local7 + 13)], 4, 681279174); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local7 + 0)], 11, -358537222); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local7 + 3)], 16, -722521979); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local7 + 6)], 23, 76029189); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local7 + 9)], 4, -640364487); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local7 + 12)], 11, -421815835); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local7 + 15)], 16, 530742520); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local7 + 2)], 23, -995338651); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local7 + 0)], 6, -198630844); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local7 + 7)], 10, 1126891415); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local7 + 14)], 15, -1416354905); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local7 + 5)], 21, -57434055); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local7 + 12)], 6, 1700485571); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local7 + 3)], 10, -1894986606); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local7 + 10)], 15, -1051523); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local7 + 1)], 21, -2054922799); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local7 + 8)], 6, 1873313359); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local7 + 15)], 10, -30611744); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local7 + 6)], 15, -1560198380); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local7 + 13)], 21, 1309151649); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local7 + 4)], 6, -145523070); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local7 + 11)], 10, -1120210379); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local7 + 2)], 15, 718787259); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local7 + 9)], 21, -343485551); _local3 = addme(_local3, _local8); _local4 = addme(_local4, _local9); _local5 = addme(_local5, _local10); _local6 = addme(_local6, _local11); _local7 = (_local7 + 16); }; return ((((rhex(_local3) + rhex(_local4)) + rhex(_local5)) + rhex(_local6))); } private static function str2blks_MD5(_arg1:String):Array{ var _local4:int; var _local2:Number = (((_arg1.length + 8) >> 6) + 1); var _local3:Array = new Array((_local2 * 16)); _local4 = 0; while (_local4 < (_local2 * 16)) { _local3[_local4] = 0; _local4++; }; _local4 = 0; while (_local4 < _arg1.length) { _local3[(_local4 >> 2)] = (_local3[(_local4 >> 2)] | (_arg1.charCodeAt(_local4) << ((((_arg1.length * 8) + _local4) % 4) * 8))); _local4++; }; _local3[(_local4 >> 2)] = (_local3[(_local4 >> 2)] | (128 << ((((_arg1.length * 8) + _local4) % 4) * 8))); var _local5:int = (_arg1.length * 8); _local3[((_local2 * 16) - 2)] = (_local5 & 0xFF); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 8) & 0xFF) << 8)); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 16) & 0xFF) << 16)); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 24) & 0xFF) << 24)); return (_local3); } } }//package SWFStats
Section 47
//HighScores (SWFStats.HighScores) package SWFStats { import flash.events.*; import flash.net.*; public class HighScores { private static var ScoresCallback:Function; private static var FacebookScoresCallback:Function; private static var SubmitCallback:Function; public static function Scores(_arg1:Boolean, _arg2:String, _arg3:Function, _arg4:String="alltime"):void{ ScoresCallback = _arg3; var _local5:URLLoader = new URLLoader(); _local5.addEventListener(Event.COMPLETE, ScoresFinished); _local5.addEventListener(IOErrorEvent.IO_ERROR, ScoresError); _local5.addEventListener(HTTPStatusEvent.HTTP_STATUS, StatusChange); _local5.addEventListener(SecurityErrorEvent.SECURITY_ERROR, ScoresError); _local5.load(new URLRequest(((((((((((("http://utils.swfstats.com/leaderboards/get.aspx?guid=" + Log.GUID) + "&swfid=") + Log.SWFID) + "&url=") + (((_arg1) || ((Log.SourceUrl == null)))) ? "global" : Log.SourceUrl) + "&table=") + _arg2) + "&mode=") + _arg4) + "&") + Math.random()))); } public static function FacebookScores(_arg1:String, _arg2:Function, _arg3:Array=null, _arg4:String="alltime"):void{ FacebookScoresCallback = _arg2; var _local5:URLLoader = new URLLoader(); _local5.addEventListener(Event.COMPLETE, FacebookScoresFinished); _local5.addEventListener(IOErrorEvent.IO_ERROR, FacebookScoresError); _local5.addEventListener(HTTPStatusEvent.HTTP_STATUS, StatusChange); _local5.addEventListener(SecurityErrorEvent.SECURITY_ERROR, ScoresError); _local5.load(new URLRequest(((((((((((("http://utils.swfstats.com/leaderboards/getfb.aspx?guid=" + Log.GUID) + "&swfid=") + Log.SWFID) + "&table=") + _arg1) + "&friendlist=") + ((_arg3)!=null) ? _arg3.join(",") : "") + "&mode=") + _arg4) + "&") + Math.random()))); } private static function FacebookScoresError(_arg1:Event):void{ FacebookScoresCallback(null); FacebookScoresCallback = null; } private static function StatusChange(... _args):void{ } private static function SubmitFinished(_arg1:Event):void{ if (SubmitCallback == null){ return; }; SubmitCallback(((_arg1.target as URLLoader).data == "true")); SubmitCallback = null; } private static function ScoresError(_arg1:Event):void{ ScoresCallback(null); ScoresCallback = null; } private static function SubmitError(_arg1:Event):void{ } private static function ScoresFinished(_arg1:Event):void{ ScoresCallback(ProcessScores((_arg1.target as URLLoader))); ScoresCallback = null; } private static function ProcessScores(_arg1:URLLoader):Array{ var _local5:String; var _local6:int; var _local7:int; var _local8:int; var _local10:XML; var _local2:XML = XML(_arg1["data"]); var _local3:XMLList = _local2["entry"]; var _local4:Array = new Array(); var _local9:Date = new Date(); for each (_local10 in _local3) { _local5 = _local10["sdate"]; _local6 = int(_local5.substring((_local5.lastIndexOf("/") + 1))); _local7 = int(_local5.substring(0, _local5.indexOf("/"))); _local8 = int(_local5.substring((_local5.indexOf("/") + 1)).substring(0, 2)); _local9.setFullYear(_local6, _local7, _local8); _local4.push({Name:_local10["name"], Points:_local10["points"], Website:_local10["website"], Rank:(_local4.length + 1), SDate:_local9}); }; return (_local4); } private static function FacebookScoresFinished(_arg1:Event):void{ FacebookScoresCallback(ProcessScores((_arg1.target as URLLoader))); FacebookScoresCallback = null; } public static function Submit(_arg1:String, _arg2:int, _arg3:String, _arg4:Function, _arg5:Boolean=false):void{ SubmitCallback = _arg4; var _local6:URLLoader = new URLLoader(); _local6.addEventListener(Event.COMPLETE, SubmitFinished); _local6.addEventListener(IOErrorEvent.IO_ERROR, SubmitError); _local6.addEventListener(HTTPStatusEvent.HTTP_STATUS, StatusChange); _local6.addEventListener(SecurityErrorEvent.SECURITY_ERROR, ScoresError); _local6.load(new URLRequest(((((((((((((((((("http://utils.swfstats.com/leaderboards/save.aspx?guid=" + Log.GUID) + "&swfid=") + Log.SWFID) + "&url=") + Log.SourceUrl) + "&table=") + _arg3) + "&name=") + _arg1) + "&score=") + _arg2) + "&auth=") + Encode.MD5((Log.SourceUrl + _arg2.toString()))) + "&fb=") + (_arg5) ? "1" : "0") + "&r=") + Math.random()))); } } }//package SWFStats
Section 48
//Log (SWFStats.Log) package SWFStats { import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; import flash.external.*; public final class Log { private static const PingR:Timer = new Timer(30000); private static const PingF:Timer = new Timer(60000); public static var GUID:String = ""; private static var Plays:int = 0; public static var Enabled:Boolean = false; private static var Request:LogRequest = new LogRequest(); private static var Pings:int = 0; public static var Queue:Boolean = true; public static var SourceUrl:String; private static var HighestGoal:int = 0; private static var FirstPing:Boolean = true; public static var SWFID:int = 0; private static function SaveCookie(_arg1:String, _arg2:int):void{ var _local3:SharedObject = SharedObject.getLocal("swfstats"); _local3.data[_arg1] = _arg2.toString(); _local3.flush(); } public static function View(_arg1:int=0, _arg2:String="", _arg3:String=""):void{ if (SWFID > 0){ return; }; SWFID = _arg1; GUID = _arg2; Enabled = true; if ((((SWFID == 0)) || ((GUID == "")))){ Enabled = false; return; }; if (((((!((_arg3.indexOf("http://") == 0))) && (!((Security.sandboxType == "localWithNetwork"))))) && (!((Security.sandboxType == "localTrusted"))))){ Enabled = false; return; }; SourceUrl = GetUrl(_arg3); if ((((SourceUrl == null)) || ((SourceUrl == "")))){ Enabled = false; return; }; Security.allowDomain("http://tracker.swfstats.com/"); Security.allowInsecureDomain("http://tracker.swfstats.com/"); Security.loadPolicyFile("http://tracker.swfstats.com/crossdomain.xml"); Security.allowDomain("http://utils.swfstats.com/"); Security.allowInsecureDomain("http://utils.swfstats.com/"); Security.loadPolicyFile("http://utils.swfstats.com/crossdomain.xml"); var _local4:int = GetCookie("views"); _local4++; SaveCookie("views", _local4); Send(("v/" + _local4), true); PingF.addEventListener(TimerEvent.TIMER, PingServer); PingF.start(); } public static function LevelCounterMetric(_arg1:String, _arg2):void{ if (!Enabled){ return; }; Send(((("lc/" + Clean(_arg1)) + "/") + Clean(_arg2))); } private static function Clean(_arg1:String):String{ return (escape(_arg1.replace("/", "\\").replace("~", "-"))); } public static function Play():void{ if (!Enabled){ return; }; Plays++; Send(("p/" + Plays)); } private static function Send(_arg1:String, _arg2:Boolean=false):void{ Request.Queue(_arg1); if (((((Request.Ready) || (_arg2))) || (!(Queue)))){ Request.Send(); Request = new LogRequest(); }; } private static function GetUrl(_arg1:String):String{ var url:String; var defaulturl = _arg1; if (ExternalInterface.available){ try { url = String(ExternalInterface.call("window.location.href.toString")); } catch(s:Error) { url = defaulturl; }; } else { if (defaulturl.indexOf("http://") == 0){ url = defaulturl; }; }; if ((((((url == null)) || ((url == "")))) || ((url == "null")))){ if ((((Security.sandboxType == "localWithNetwork")) || ((Security.sandboxType == "localTrusted")))){ url = "http://local-testing/"; } else { url = null; }; }; return (url); } public static function LevelRangedMetric(_arg1:String, _arg2, _arg3:int):void{ if (!Enabled){ return; }; Send(((((("lr/" + Clean(_arg1)) + "/") + Clean(_arg2)) + "/") + _arg3)); } private static function GetCookie(_arg1:String):int{ var _local2:SharedObject = SharedObject.getLocal("swfstats"); if (_local2.data[_arg1] == undefined){ return (0); }; return (int(_local2.data[_arg1])); } public static function Goal(_arg1:int, _arg2:String):void{ } private static function PingServer(... _args):void{ if (!Enabled){ return; }; Pings++; Send(((("t/" + (FirstPing) ? "y" : "n") + "/") + Pings), true); if (FirstPing){ PingF.stop(); PingR.addEventListener(TimerEvent.TIMER, PingServer); PingR.start(); FirstPing = false; }; } public static function LevelAverageMetric(_arg1:String, _arg2, _arg3:int):void{ if (!Enabled){ return; }; Send(((((("la/" + Clean(_arg1)) + "/") + Clean(_arg2)) + "/") + _arg3)); } public static function CustomMetric(_arg1:String, _arg2:String=null):void{ if (!Enabled){ return; }; if (_arg2 == null){ _arg2 = ""; }; Send(((("c/" + Clean(_arg1)) + "/") + Clean(_arg2))); } } }//package SWFStats
Section 49
//LogRequest (SWFStats.LogRequest) package SWFStats { import flash.events.*; import flash.net.*; public final class LogRequest { private var Data:String;// = "" public var Ready:Boolean;// = false private var Pieces:int; private static var Failed:int = 0; private function IOErrorHandler(_arg1:IOErrorEvent):void{ Failed++; } public function Queue(_arg1:String):void{ if (Failed > 3){ return; }; this.Pieces++; this.Data = (this.Data + (((this.Data == "")) ? "" : "~" + _arg1)); if ((((this.Pieces == 8)) || ((this.Data.length > 300)))){ this.Ready = true; }; } private function SecurityErrorHandler(_arg1:SecurityErrorEvent):void{ } private function StatusChange(_arg1:HTTPStatusEvent):void{ } public function Send():void{ var _local1:URLLoader = new URLLoader(); _local1.addEventListener(IOErrorEvent.IO_ERROR, this.IOErrorHandler); _local1.addEventListener(HTTPStatusEvent.HTTP_STATUS, this.StatusChange); _local1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.SecurityErrorHandler); _local1.load(new URLRequest((((((((((("http://tracker.swfstats.com/Games/q.aspx?guid=" + Log.GUID) + "&swfid=") + Log.SWFID) + "&q=") + this.Data) + "&url=") + Log.SourceUrl) + "&") + Math.random()) + "z"))); } } }//package SWFStats
Section 50
//ArmorMain (ArmorMain) package { import flash.events.*; import General.*; public class ArmorMain extends Main { public var agi; public var gameOverBaseC_ARMOR:Class; public var ui_leaderboardC_ARMOR:Class; public var armorIntroC:Class; public var ui_optionsC_ARMOR:Class; public var ui_pauseC_ARMOR:Class; public function ArmorMain(){ armorIntroC = ArmorMain_armorIntroC; ui_leaderboardC_ARMOR = ArmorMain_ui_leaderboardC_ARMOR; ui_pauseC_ARMOR = ArmorMain_ui_pauseC_ARMOR; ui_optionsC_ARMOR = ArmorMain_ui_optionsC_ARMOR; gameOverBaseC_ARMOR = ArmorMain_gameOverBaseC_ARMOR; super(); MainRef.kongLink = "http://www.armorgames.com/"; gameOverBaseC = gameOverBaseC_ARMOR; } override public function submitKongScores():void{ agi.showScoreboardSubmit(scorekeeper.score); addChild(agi); } override public function setupOptionsPauseLeaderboard():void{ leaderboardScreen = new ui_leaderboardC_ARMOR(); addChild(leaderboardScreen); leaderboardScreen.gotoAndStop(1); optionsScreen = new ui_optionsC_ARMOR(); addChild(optionsScreen); optionsScreen.gotoAndStop(1); pauseScreen = new ui_pauseC_ARMOR(); addChild(pauseScreen); new OptionsBoard(pauseScreen.board); pauseScreen.gotoAndStop(1); Util.ButtonReg(pauseScreen.board.btn_restart, pauseScreenRestart); Util.ButtonReg(pauseScreen.board.btn_resume, pauseScreenResume); } override public function addedToStage(_arg1:Event):void{ input = new Input(this); stage.frameRate = 30; stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown); } override public function muteToggle():void{ if (gameStarted){ super.muteToggle(); }; } override public function doIntros():void{ var _local1:* = new armorIntroC(); addChild(_local1); currIntro = _local1; _local1.addEventListener(MouseEvent.CLICK, MainRef.gotoKong, false, 0, true); _local1.x = 30; _local1.y = 24; } override public function enterFrame(_arg1:Event):void{ if (introNum == 0){ if (currIntro.armor.currentFrame == currIntro.armor.totalFrames){ doMikengregIntro(); }; }; super.enterFrame(_arg1); } override public function toTitle():void{ super.toTitle(); stage.frameRate = 30; } } }//package
Section 51
//ArmorMain_armorIntroC (ArmorMain_armorIntroC) package { import flash.display.*; import mx.core.*; public class ArmorMain_armorIntroC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 52
//ArmorMain_gameOverBaseC_ARMOR (ArmorMain_gameOverBaseC_ARMOR) package { import flash.display.*; import mx.core.*; public class ArmorMain_gameOverBaseC_ARMOR extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 53
//ArmorMain_ui_leaderboardC_ARMOR (ArmorMain_ui_leaderboardC_ARMOR) package { import flash.display.*; import mx.core.*; public class ArmorMain_ui_leaderboardC_ARMOR extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 54
//ArmorMain_ui_optionsC_ARMOR (ArmorMain_ui_optionsC_ARMOR) package { import flash.display.*; import mx.core.*; public class ArmorMain_ui_optionsC_ARMOR extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 55
//ArmorMain_ui_pauseC_ARMOR (ArmorMain_ui_pauseC_ARMOR) package { import flash.display.*; import mx.core.*; public class ArmorMain_ui_pauseC_ARMOR extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 56
//BGManagerFastest (BGManagerFastest) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.utils.*; import flash.filters.*; public class BGManagerFastest extends Sprite { public var bgUpC:Class; public var bg0:Sprite; public var bg1:Sprite; public var bg2:Sprite; public var bg0Accum:Number;// = 0 public var defaultBG0y:Number; public var bgDownC:Class; public var bg0X:Number;// = 0 public var defaultBG1y:Number; public var bg0C:Class; public var bg0W:Number; public var bg1Accum:Number;// = 0 public var transformDown:Boolean;// = false public var transformUp:Boolean;// = false public var bg1C:Class; public var BG_SCALE:Number;// = 1 public var bgDownAnim; public var bmp0:Bitmap; public var bmp1:Bitmap; public var bmp2:Bitmap; public var bg1W:Number; public var bg1X:Number;// = 0 public var defaultBG2y:Number; public var bg2Accum:Number;// = 0 public var bg2C:Class; public var SCROLL_MULT:Number;// = 1 public var bg2W:Number; public var bg2X:Number;// = 0 public var bgUpAnim; public var BMD0:BitmapData; public var BMD1:BitmapData; public var BMD2:BitmapData; public function BGManagerFastest(){ bg0C = BGManagerFastest_bg0C; bg1C = BGManagerFastest_bg1C; bg2C = BGManagerFastest_bg2C; bgDownC = BGManagerFastest_bgDownC; bgUpC = BGManagerFastest_bgUpC; super(); bg0 = new bg0C(); bg0.scaleX = (bg0.scaleY = BG_SCALE); BMD0 = new BitmapData((int(bg0.width) * 1.5), int(bg0.height), true, 0); bmp0 = new Bitmap(BMD0); BMD0.draw(bg0, new Matrix(BG_SCALE, 0, 0, BG_SCALE, 0, 0)); addChild(bmp0); bmp0.scaleX = (bmp0.scaleY = (1 / BG_SCALE)); bg0W = bg0.width; bmp0.y = 0; bmp0.x = 0; defaultBG0y = bmp0.y; bg1 = new bg1C(); bg1.scaleX = (bg1.scaleY = BG_SCALE); BMD1 = new BitmapData((bg1.width * 1.5), bg1.height, true, 0); bmp1 = new Bitmap(BMD1); BMD1.draw(bg1, new Matrix(BG_SCALE, 0, 0, BG_SCALE, 0, 0)); bmp1.scaleX = (bmp1.scaleY = (1 / BG_SCALE)); bg1W = bg1.width; bmp1.y = ((432 - bg1.height) * BG_SCALE); bmp1.x = 0; defaultBG1y = bmp1.y; bg2 = new bg2C(); bg2.scaleX = (bg2.scaleY = BG_SCALE); BMD2 = new BitmapData((bg2.width * 1.5), bg2.height, true, 0); bmp2 = new Bitmap(BMD2); BMD2.draw(bg2, new Matrix(BG_SCALE, 0, 0, BG_SCALE, 0, 0)); addChild(bmp2); bmp2.scaleX = (bmp2.scaleY = (1 / BG_SCALE)); bg2W = bg2.width; bmp2.y = (432 - bg2.height); bmp2.x = 0; defaultBG2y = bmp2.y; addEventListener(Event.ENTER_FRAME, enterFrame); bgDownAnim = new bgDownC(); bgDownAnim.clouds.removeChildAt(0); bgDownAnim.trees.removeChildAt(0); bgDownAnim.mountains.removeChildAt(0); bgDownAnim.gotoAndStop(1); addChild(bgDownAnim); bgUpAnim = new bgUpC(); bgUpAnim.clouds.removeChildAt(0); bgUpAnim.trees.removeChildAt(0); bgUpAnim.mountains.removeChildAt(0); bgUpAnim.gotoAndStop(1); addChild(bgUpAnim); } public function bmpsToDefaultY():void{ bmp0.y = defaultBG0y; bmp1.y = defaultBG1y; bmp2.y = defaultBG2y; } public function bmpsToZeroY():void{ bmp0.y = (bmp1.y = (bmp2.y = 0)); } public function bmpsBackToPage():void{ bmpsToDefaultY(); addChild(bmp0); addChild(bmp1); addChild(bmp2); } public function transformIn():void{ transformUp = true; bgUpAnim.clouds.addChild(bmp0); bgUpAnim.mountains.addChild(bmp1); bgUpAnim.trees.addChild(bmp2); bmp0.y = (bmp1.y = (bmp2.y = 0)); bgUpAnim.gotoAndPlay(1); } public function transformOut():void{ transformDown = true; bgDownAnim.clouds.addChild(bmp0); bgDownAnim.mountains.addChild(bmp1); bgDownAnim.trees.addChild(bmp2); bmp0.y = (bmp1.y = (bmp2.y = 0)); bgDownAnim.gotoAndPlay(1); } public function clearBGAnims():void{ if (transformDown){ bgDownAnim.clouds.removeChildAt(0); bgDownAnim.trees.removeChildAt(0); bgDownAnim.mountains.removeChildAt(0); } else { if (transformUp){ bgUpAnim.clouds.removeChildAt(0); bgUpAnim.trees.removeChildAt(0); bgUpAnim.mountains.removeChildAt(0); }; }; } public function scroll(_arg1:Number):void{ var _local2:Rectangle; } public function enterFrame(_arg1:Event):void{ if (transformDown){ if (bgDownAnim.currentFrame == bgDownAnim.totalFrames){ bgDownAnim.gotoAndStop(1); clearBGAnims(); transformDown = false; dispatchEvent(new Event("downTransformComplete")); }; }; if (transformUp){ if (bgUpAnim.currentFrame == bgUpAnim.totalFrames){ bgUpAnim.gotoAndStop(1); clearBGAnims(); bmpsBackToPage(); transformUp = false; }; }; } } }//package
Section 57
//BGManagerFastest_bg0C (BGManagerFastest_bg0C) package { import flash.display.*; import mx.core.*; public class BGManagerFastest_bg0C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 58
//BGManagerFastest_bg1C (BGManagerFastest_bg1C) package { import flash.display.*; import mx.core.*; public class BGManagerFastest_bg1C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 59
//BGManagerFastest_bg2C (BGManagerFastest_bg2C) package { import flash.display.*; import mx.core.*; public class BGManagerFastest_bg2C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 60
//BGManagerFastest_bgDownC (BGManagerFastest_bgDownC) package { import flash.display.*; import mx.core.*; public class BGManagerFastest_bgDownC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 61
//BGManagerFastest_bgUpC (BGManagerFastest_bgUpC) package { import flash.display.*; import mx.core.*; public class BGManagerFastest_bgUpC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 62
//BigJump (BigJump) package { import flash.events.*; import flash.display.*; import flash.text.*; public class BigJump extends Scroller { public var dangerSign; public var size:int; public var rangeText:TextField; public var wwidth:Number; public var blinkTimer:int;// = 3 public var incomingCover; public var hudCanvas:Sprite; public var passed:Boolean;// = false public var range:int; public static var dangerSignC:Class = BigJump_dangerSignC; public static var gateIncomingOrangeC:Class = BigJump_gateIncomingOrangeC; public static var incomingCoverC:Class = BigJump_incomingCoverC; public static var jump600C:Class = BigJump_jump600C; public static var jump400C:Class = BigJump_jump400C; public static var jump200C:Class = BigJump_jump200C; public function BigJump(_arg1:HeightmapRunner, _arg2:Sprite, _arg3:Sprite, _arg4:int){ super(_arg1, _arg2); hudCanvas = _arg3; size = _arg4; incomingGraphic = new gateIncomingOrangeC(); if (size == 0){ wwidth = 200; } else { if (size == 1){ wwidth = 400; } else { wwidth = 600; }; }; dangerSign = new dangerSignC(); hudCanvas.addChild(dangerSign); dangerSign.visible = false; incomingGraphic.scaleX = (incomingGraphic.scaleY = (size + 1)); incomingCover = new incomingCoverC(); incomingGraphic.addChild(incomingCover); if (incomingCover.txt_meters){ incomingCover.txt_meters.visible = false; }; } public function drawCheck(_arg1:Number):Boolean{ if ((((_arg1 > x)) && ((_arg1 < (x + (wwidth * 1.2)))))){ return (true); }; return (false); } override public function update():void{ super.update(); if (!killflag){ if (x < -((1000 + width))){ killflag = true; } else { killflag = false; }; }; if (dangerSign){ dangerSign.visible = true; dangerSign.x = (x - 1000); if (((killflag) && (dangerSign.parent))){ dangerSign.parent.removeChild(dangerSign); dangerSign = null; }; }; if (((killflag) && (incomingGraphic.parent))){ incomingGraphic.parent.removeChild(incomingGraphic); } else { if (incomingGraphic.parent == null){ canvas.addChild(incomingGraphic); }; }; incomingGraphic.y = 200; incomingGraphic.x = 0x0300; if (((((!(passed)) && ((x < runner.x)))) && (false))){ passed = true; if (runner.passedJump == null){ runner.passedJump = this; }; }; range = int(((x - 0x0300) * 0.1)); incomingGraphic.x = (0x0300 - (range * 0.3)); incomingGraphic.x = (0x0300 - ((range * range) * 0.001)); if (range > 200){ incomingCover.alpha = 1; } else { incomingCover.alpha = (range / 200); }; incomingGraphic.txt_meters.text = "jump"; if ((((numChildren == 0)) && ((range < 50)))){ if (size == 0){ addChild(new jump200C()); } else { if (size == 1){ addChild(new jump400C()); } else { addChild(new jump600C()); }; }; }; if ((((range > 0)) && ((range < 400)))){ blinkTimer--; if (blinkTimer <= 0){ blinkTimer = 3; incomingGraphic.visible = !(incomingGraphic.visible); incomingGraphic.visible = true; }; } else { incomingGraphic.visible = false; }; } } }//package
Section 63
//BigJump_dangerSignC (BigJump_dangerSignC) package { import flash.display.*; import mx.core.*; public class BigJump_dangerSignC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 64
//BigJump_gateIncomingOrangeC (BigJump_gateIncomingOrangeC) package { import flash.display.*; import mx.core.*; public class BigJump_gateIncomingOrangeC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 65
//BigJump_incomingCoverC (BigJump_incomingCoverC) package { import flash.display.*; import mx.core.*; public class BigJump_incomingCoverC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 66
//BigJump_jump200C (BigJump_jump200C) package { import flash.display.*; import mx.core.*; public class BigJump_jump200C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 67
//BigJump_jump400C (BigJump_jump400C) package { import flash.display.*; import mx.core.*; public class BigJump_jump400C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 68
//BigJump_jump600C (BigJump_jump600C) package { import flash.display.*; import mx.core.*; public class BigJump_jump600C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 69
//DeadZone (DeadZone) package { import flash.display.*; public class DeadZone extends Scroller { public function DeadZone(_arg1:HeightmapRunner, _arg2:Sprite){ super(_arg1, _arg2); graphics.beginFill(0xFF0000); graphics.drawRect(0, 0, 40, 400); graphics.endFill(); } override public function update():void{ super.update(); if ((((runner.x > x)) && ((runner.x < (x + width))))){ if ((((runner.y > y)) && ((runner.y < (y + height))))){ runner.drawMe(0xFF00); }; }; } public function checkDrawX(_arg1:Number):Boolean{ if ((((_arg1 > x)) && ((_arg1 < (x + width))))){ return (false); }; return (true); } } }//package
Section 70
//EndgameScreen (EndgameScreen) package { import flash.events.*; import flash.display.*; import flash.net.*; import General.*; import SWFStats.*; public class EndgameScreen extends Sprite { public var state:String;// = "center" public var endgameSplash; public var gameOverBase; public var options:OptionsBoard; public var endgameSplashC:Class; public function EndgameScreen(){ endgameSplashC = EndgameScreen_endgameSplashC; super(); gameOverBase = new MainRef.ref.gameOverBaseC(); addChild(gameOverBase); gameOverBase.tips.tips.gotoAndStop(1); options = new OptionsBoard(gameOverBase.options); gameOverBase.stop(); addEventListener(Event.ENTER_FRAME, enterFrame, false, 0, true); } public function registerButtons():void{ Util.ButtonReg(gameOverBase.tips.btn_next, nextTip); Util.ButtonReg(gameOverBase.tips.btn_prev, prevTip); Util.ButtonReg(gameOverBase.board.btn_restart, endgameRestart); Util.ButtonReg(gameOverBase.board.btn_leaderboards, toLeaderboard); Util.ButtonReg(gameOverBase.board.btn_options, toOptions); Util.ButtonReg(gameOverBase.leaderboard.btn_back, toCenter); Util.ButtonReg(gameOverBase.leaderboard.btn_options, toOptions); Util.ButtonReg(gameOverBase.options.btn_leaderboards, toLeaderboard); Util.ButtonReg(gameOverBase.options.btn_back, toCenter); Util.ButtonReg(gameOverBase.credits.btn_stump, toStump); Util.ButtonReg(gameOverBase.credits.btn_mikengreg, toMikengreg); Util.ButtonReg(gameOverBase.share.btn_twitter, twitterz); Util.ButtonReg(gameOverBase.share.btn_facebook, facebookd); Util.ButtonReg(gameOverBase.share.btn_mobile, toMobile); Util.ButtonReg(gameOverBase.board.btn_sponsor, MainRef.gotoKong); Util.ButtonReg(gameOverBase.leaderboard.btn_sponsor, MainRef.gotoKong); options.registerButtons(); } public function toLeaderboard(_arg1:MouseEvent):void{ state = "right"; } public function unRegisterButtons():void{ Util.ButtonUnReg(gameOverBase.tips.btn_next, nextTip); Util.ButtonUnReg(gameOverBase.tips.btn_prev, prevTip); Util.ButtonUnReg(gameOverBase.board.btn_restart, endgameRestart); Util.ButtonUnReg(gameOverBase.board.btn_leaderboards, toLeaderboard); Util.ButtonUnReg(gameOverBase.board.btn_options, toOptions); Util.ButtonUnReg(gameOverBase.leaderboard.btn_back, toCenter); Util.ButtonUnReg(gameOverBase.leaderboard.btn_options, toOptions); Util.ButtonUnReg(gameOverBase.options.btn_leaderboards, toLeaderboard); Util.ButtonUnReg(gameOverBase.options.btn_back, toCenter); Util.ButtonUnReg(gameOverBase.credits.btn_stump, toStump); Util.ButtonUnReg(gameOverBase.credits.btn_mikengreg, toMikengreg); Util.ButtonUnReg(gameOverBase.share.btn_twitter, twitterz); Util.ButtonUnReg(gameOverBase.share.btn_facebook, facebookd); Util.ButtonUnReg(gameOverBase.share.btn_mobile, toMobile); Util.ButtonUnReg(gameOverBase.board.btn_sponsor, MainRef.gotoKong); Util.ButtonUnReg(gameOverBase.leaderboard.btn_sponsor, MainRef.gotoKong); options.unRegisterButtons(); } public function endgameRestart(_arg1:MouseEvent):void{ unRegisterButtons(); MainRef.ref.toTitle(); removeChild(gameOverBase); gameOverBase = null; removeEventListener(Event.ENTER_FRAME, enterFrame); } public function toMikengreg(_arg1:MouseEvent):void{ Log.CustomMetric("mikengregd", "links"); MainRef.urlNavigate("http://mikengreg.com"); } public function refresh(_arg1:uint, _arg2:int, _arg3:Number):void{ if (_arg2 > 100000000){ Log.CustomMetric("beat 100,000,000", "scores"); } else { if (_arg2 > 10000000){ Log.CustomMetric("beat 10,000,000", "scores"); } else { if (_arg2 > 500000){ Log.CustomMetric("beat 500,000", "scores"); } else { if (_arg2 < 1500){ Log.CustomMetric("less than 1,500", "scores"); }; }; }; }; Log.CustomMetric(MainRef.ref.howIdie, "how_i_die"); gameOverBase.board.txt_time.text = Util.formatTimeHMSms(_arg1); gameOverBase.board.txt_score.text = Util.CommaFormat(_arg2); gameOverBase.gotoAndPlay(1); gameOverBase.skierFalling.x = _arg3; gameOverBase.skierFalling.gotoAndPlay(1); gameOverBase.tips.tips.gotoAndStop(Math.ceil((gameOverBase.tips.tips.totalFrames * Math.random()))); var _local4:String = TipManager.dispenseWithTheTip(); if (_local4 != ""){ gameOverBase.tips.tips.gotoAndStop(_local4); }; x = 0; state = "center"; endgameSplash = null; MainRef.ref.localLeaderboard.fillBoard(gameOverBase.leaderboard); this.registerButtons(); } public function toStump(_arg1:MouseEvent):void{ Log.CustomMetric("joestumpd", "links"); MainRef.urlNavigate("http://www.joestump.com"); } public function toOptions(_arg1:MouseEvent):void{ state = "left"; } public function twitterz(_arg1:MouseEvent):void{ Log.CustomMetric("twitterz", "links"); var _local2:String = Util.CommaFormat(MainRef.ref.scorekeeper.score); if (MainRef.ref.howIdie == "drawSelf"){ MainRef.urlNavigate((((("http://twitter.com/home?status=RIP Solipskier. While smashing his face into a cliff at " + MainRef.ref.deathSpeed) + " km/h was dumb, he did achieve ") + _local2) + " points. http://solipskier.com")); } else { if (MainRef.ref.howIdie == "killGate"){ MainRef.urlNavigate((((("http://twitter.com/home?status=RIP Solipskier. His flesh was ripped from his skis at " + MainRef.ref.deathSpeed) + " km/h. Though he did have ") + _local2) + " points. http://solipskier.com")); } else { MainRef.urlNavigate((((("http://twitter.com/home?status=RIP Solipskier. The earth opened up and he fell into the abyss at " + MainRef.ref.deathSpeed) + " km/h. Remember his score of ") + _local2) + ". http://solipskier.com")); }; }; } public function nextTip(_arg1:MouseEvent):void{ if (gameOverBase.tips.tips.currentFrame == gameOverBase.tips.tips.totalFrames){ gameOverBase.tips.tips.gotoAndStop(1); } else { gameOverBase.tips.tips.nextFrame(); }; } public function facebookd(_arg1:MouseEvent):void{ Log.CustomMetric("facebookd", "links"); var _local2:String = MainRef.ref.scorekeeper.score.toString(); if (MainRef.ref.howIdie == "drawSelf"){ MainRef.urlNavigate((((("http://www.facebook.com/sharer.php?u=http://mikengreg.com/solipskier/fb.php?RIP Solipskier. While smashing his face into a cliff at " + MainRef.ref.deathSpeed) + " kmh was dumb. He did achieve ") + _local2) + " points.")); } else { if (MainRef.ref.howIdie == "killGate"){ MainRef.urlNavigate((((("http://www.facebook.com/sharer.php?u=http://mikengreg.com/solipskier/fb.php?RIP Solipskier. His flesh was ripped from his skis at " + MainRef.ref.deathSpeed) + " kmh. Though he did have ") + _local2) + " points.")); } else { MainRef.urlNavigate((((("http://www.facebook.com/sharer.php?u=http://mikengreg.com/solipskier/fb.php?RIP Solipskier. The earth opened up and he fell into the abyss at " + MainRef.ref.deathSpeed) + " kmh. Remember his score of ") + _local2) + ".")); }; }; } public function toCenter(_arg1:MouseEvent):void{ state = "center"; } public function enterFrame(_arg1:Event):void{ if (state == "left"){ x = (x + ((0x0300 - x) * 0.1)); } else { if (state == "center"){ x = (x + ((0 - x) * 0.1)); } else { if (state == "right"){ x = (x + ((-768 - x) * 0.1)); }; }; }; if (gameOverBase.currentFrame == gameOverBase.totalFrames){ gameOverBase.stop(); gameOverBase.skierFalling.gotoAndStop(gameOverBase.currentFrame); }; if (gameOverBase.currentLabel == "middle"){ gameOverBase.stop(); gameOverBase.skierFalling.gotoAndStop(gameOverBase.currentFrame); }; if ((((gameOverBase.currentLabel == "splash")) && (!(endgameSplash)))){ SoundMgr.playSound("jumpLanding"); endgameSplash = new endgameSplashC(); gameOverBase.skierFalling.addChild(endgameSplash); endgameSplash.y = 432; endgameSplash.scaleX = (endgameSplash.scaleY = 2); MainRef.ref.chopinTimer = 1000; SoundMgr.stopSound("windSound"); }; if (endgameSplash){ if (endgameSplash.currentFrame == endgameSplash.totalFrames){ gameOverBase.skierFalling.visible = false; if (endgameSplash.parent != null){ MainRef.ref.submitKongScores(); endgameSplash.parent.removeChild(endgameSplash); }; }; }; } public function prevTip(_arg1:MouseEvent):void{ if (gameOverBase.tips.tips.currentFrame == 1){ gameOverBase.tips.tips.gotoAndStop(gameOverBase.tips.tips.totalFrames); } else { gameOverBase.tips.tips.prevFrame(); }; } public function toMobile(_arg1:MouseEvent):void{ MainRef.gotoSolipRedirect(_arg1); } } }//package
Section 71
//EndgameScreen_endgameSplashC (EndgameScreen_endgameSplashC) package { import flash.display.*; import mx.core.*; public class EndgameScreen_endgameSplashC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 72
//Gate (Gate) package { import flash.events.*; import flash.display.*; import flash.text.*; import General.*; public class Gate extends Scroller { public var type:int; public var gateIncomingRedC:Class; public var rangeText:TextField; public var gateMissC:Class; public var gateIncomingGreenC:Class; public var gateC:Class; public var hudCanvas:Sprite; public var passed:Boolean;// = false public var incomingCover; public var r:Number; public var incomingCoverC:Class; public var gateHitC:Class; public var range:int; public var gateIncomingYellowC:Class; public function Gate(_arg1:HeightmapRunner, _arg2:Sprite, _arg3:Sprite, _arg4:int, _arg5:Number, _arg6:Number){ gateIncomingGreenC = Gate_gateIncomingGreenC; gateIncomingYellowC = Gate_gateIncomingYellowC; gateIncomingRedC = Gate_gateIncomingRedC; incomingCoverC = Gate_incomingCoverC; gateC = Gate_gateC; gateHitC = Gate_gateHitC; gateMissC = Gate_gateMissC; super(_arg1, _arg2); hudCanvas = _arg3; type = _arg4; rangeText = new TextField(); if (type == 2){ graphics.lineStyle(6, 0xFF00); rangeText.textColor = 0xFF00; incomingGraphic = new gateIncomingGreenC(); } else { if (type == 1){ graphics.lineStyle(6, 0xFF00); rangeText.textColor = 0xFF00; incomingGraphic = new gateIncomingGreenC(); } else { graphics.lineStyle(6, 0xFF00); rangeText.textColor = 0xFF00; incomingGraphic = new gateIncomingGreenC(); }; }; if ((this is TunnelGate)){ graphics.lineStyle(6, 0xFF); rangeText.textColor = 0xFF; }; r = _arg5; y = _arg6; x = 2000; if (!(this is TunnelGate)){ addChild(new gateC()); }; rangeText = incomingGraphic.txt_meters; incomingCover = new incomingCoverC(); if (incomingCover.txt_meters){ incomingCover.txt_meters.visible = false; }; } override public function update():void{ super.update(); if (incomingCover.parent == null){ incomingGraphic.addChild(incomingCover); }; if (((killflag) && (incomingGraphic.parent))){ incomingGraphic.parent.removeChild(incomingGraphic); } else { if (incomingGraphic.parent == null){ hudCanvas.addChild(incomingGraphic); }; }; if (!(this is TunnelGate)){ incomingGraphic.y = y; }; incomingGraphic.x = 0x0300; range = int(((x - 0x0300) * 0.1)); incomingGraphic.x = (0x0300 - ((range * range) * 0.001)); if (range > 300){ incomingCover.alpha = 1; } else { incomingCover.alpha = (range / 300); }; if (rangeText){ rangeText.text = range.toString(); }; if ((((range < 0)) || ((range > 500)))){ incomingGraphic.visible = false; } else { incomingGraphic.visible = true; }; if (!passed){ if (x < runner.x){ passed = true; if (Math.abs((y - runner.y)) < (r + 25)){ graphics.lineStyle(4, 0xFF00); success(); } else { graphics.lineStyle(4, 0xFF0000); failure(); }; }; }; } public function success():void{ if (!runner.grounded){ runner.boostTimer = (runner.boostTimer + 60); SoundMgr.playSound("speedBoost"); } else { SoundMgr.playSound("gatePickup"); }; MainRef.ref.scorekeeper.crossGate(); removeChildAt(0); addChild(new gateHitC()); TipManager.Signal_gateHit(runner.grounded); } public function failure():void{ if ((((runner.y > 0)) || (runner.grounded))){ SoundMgr.playSound("gateMiss"); MainRef.ref.scorekeeper.missGate(); removeChildAt(0); addChild(new gateMissC()); } else { SoundMgr.playSound("tunnelHit"); MainRef.ref.scorekeeper.jumpGate(); }; } } }//package
Section 73
//Gate_gateC (Gate_gateC) package { import flash.display.*; import mx.core.*; public class Gate_gateC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 74
//Gate_gateHitC (Gate_gateHitC) package { import flash.display.*; import mx.core.*; public class Gate_gateHitC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 75
//Gate_gateIncomingGreenC (Gate_gateIncomingGreenC) package { import flash.display.*; import mx.core.*; public class Gate_gateIncomingGreenC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 76
//Gate_gateIncomingRedC (Gate_gateIncomingRedC) package { import flash.display.*; import mx.core.*; public class Gate_gateIncomingRedC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 77
//Gate_gateIncomingYellowC (Gate_gateIncomingYellowC) package { import flash.display.*; import mx.core.*; public class Gate_gateIncomingYellowC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 78
//Gate_gateMissC (Gate_gateMissC) package { import flash.display.*; import mx.core.*; public class Gate_gateMissC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 79
//Gate_incomingCoverC (Gate_incomingCoverC) package { import flash.display.*; import mx.core.*; public class Gate_incomingCoverC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 80
//HeightmapRunner (HeightmapRunner) package { import flash.geom.*; import flash.display.*; import General.*; import SWFStats.*; public class HeightmapRunner extends Sprite { public var trick3C:Class; public var scarf:Scarf; public var skierKilledC:Class; public var fx_starsC:Class; public var airTimer:int;// = 0 public var trick4C:Class; public var flashTimer:int;// = 10 public var trick1; public var trick2; public var trick3; public var trick4; public var skierGroundC:Class; public var impact; public var speed:Number;// = 0 public var currTrick:int;// = 0 public var skierGroundSlow; public var scarfTimer:int;// = 30 public var headphonesC:Class; public var boostTimer:int;// = 0 public var dead:Boolean;// = false public var grounded:Boolean;// = false public var bmpRotator:Sprite; public var getOuttaTheWayTimer:int;// = 0 public var headphonesOn:Boolean;// = false public var trickinTimer:int;// = 0 public var trickz:Array; public var skierFastC:Class; public var lastY:Number; public var stickTimer:int;// = 0 public var killGateHit:Boolean;// = false public var skierKilled; public var trickCount:int;// = 0 public var skierGround; public var headphoneiny:Number;// = 0 public var headphonesPutOn; public var maxHeight:Number;// = 0 public var headphones; public var fxStars; public var headphoneinx:Number;// = 0 public var trickin:Boolean;// = false public var main:Main; public var headphonesPutOnC:Class; public var skierGroundSlowC:Class; public var passedJump:BigJump; public var headphonesSecure:Boolean;// = true public var trick1C:Class; public var savedHeadPos:Point; public var spaceDown:Boolean;// = false public var slopemap:Array; public var heightmap:Array; public var lastScarfPos:Point; public var impactParticleC:Class; public var trick2C:Class; public var skierAirC:Class; public var offscreenBMP:Bitmap; public var musicOn:Boolean;// = false public var skierAir; public var arrowSkierC:Class; public var inx:Number;// = 0 public var iny:Number;// = 0 public var arrowSkier; public var skierFast; public function HeightmapRunner(_arg1:Array, _arg2:Array){ impactParticleC = HeightmapRunner_impactParticleC; arrowSkierC = HeightmapRunner_arrowSkierC; skierGroundC = HeightmapRunner_skierGroundC; skierGroundSlowC = HeightmapRunner_skierGroundSlowC; skierFastC = HeightmapRunner_skierFastC; skierAirC = HeightmapRunner_skierAirC; trick1C = HeightmapRunner_trick1C; trick2C = HeightmapRunner_trick2C; trick3C = HeightmapRunner_trick3C; trick4C = HeightmapRunner_trick4C; skierKilledC = HeightmapRunner_skierKilledC; headphonesC = HeightmapRunner_headphonesC; headphonesPutOnC = HeightmapRunner_headphonesPutOnC; fx_starsC = HeightmapRunner_fx_starsC; super(); main = MainRef.ref; headphones = new headphonesC(); scarf = new Scarf(); scaleX = (scaleY = 0.65); impact = new impactParticleC(); addChild(impact); impact.gotoAndStop(impact.totalFrames); impact.rotation = -30; impact.x = -4; impact.y = 2; heightmap = _arg1; slopemap = _arg2; skierGroundSlow = new skierGroundSlowC(); addChild(skierGroundSlow); skierGroundSlow.y = 3; x = 100; skierGround = new skierGroundC(); addChild(skierGround); skierGround.y = 3; skierGround.visible = false; skierFast = new skierFastC(); addChild(skierFast); skierFast.y = 3; skierFast.visible = false; skierAir = new skierAirC(); addChild(skierAir); skierAir.y = 3; skierAir.visible = false; trick1 = new trick1C(); addChild(trick1); trick1.y = 3; trick1.visible = false; trick2 = new trick2C(); addChild(trick2); trick2.y = 3; trick2.visible = false; trick3 = new trick3C(); addChild(trick3); trick3.y = 3; trick3.visible = false; trick4 = new trick4C(); addChild(trick4); trick4.y = 3; trick4.visible = false; skierKilled = new skierKilledC(); addChild(skierKilled); skierKilled.y = 3; skierKilled.visible = false; trickz = new Array(trick1, trick2, trick3, trick4); headphonesPutOn = new headphonesPutOnC(); addChild(headphonesPutOn); headphonesPutOn.visible = false; headphonesPutOn.y = 3; arrowSkier = new arrowSkierC(); offscreenBMP = new Bitmap(new BitmapData(64, 64)); offscreenBMP.bitmapData.draw(this); offscreenBMP.alpha = 0.5; bmpRotator = new Sprite(); bmpRotator.addChild(offscreenBMP); offscreenBMP.x = -32; offscreenBMP.y = -32; arrowSkier.addChild(bmpRotator); bmpRotator.y = 32; bmpRotator.x = 20; lastScarfPos = new Point(0, 0); scarf.setLength(1); } public function getKilled():void{ SoundMgr.playSound("gateKill"); SoundMgr.stopSound("skiNoise"); killGateHit = true; skierKilled.gotoAndPlay(1); } public function update():void{ var _local4:Matrix; var _local5:Object; var _local6:int; var _local7:*; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:int; var _local14:*; var _local15:*; var _local16:Point; var _local17:*; var _local18:Number; if ((((((Math.abs((y - 225)) < 40)) && ((Math.abs((y - lastY)) < 2)))) && (!(MainRef.ref.spawnMgr.signalRedHit)))){ getOuttaTheWayTimer++; } else { getOuttaTheWayTimer = 0; }; if (getOuttaTheWayTimer > 100){ MainRef.ref.spawnMgr.signalRedHit = true; getOuttaTheWayTimer = 0; }; lastY = y; if (!main.paused){ if (fxStars){ fxStars.nextFrame(); if (fxStars.currentFrame == fxStars.totalFrames){ fxStars.parent.removeChild(fxStars); fxStars = null; }; }; if (trickin){ trickinTimer++; if (trickinTimer > 20){ trickCount++; trickinTimer = 0; if (trickCount == 1){ main.scorekeeper.trick(); } else { if (trickCount == 2){ main.scorekeeper.doubleTrick(); } else { if (trickCount >= 3){ main.scorekeeper.tripleTrick(); }; }; }; trickz[currTrick].visible = false; currTrick = Math.floor((Math.random() * trickz.length)); if (trickz[currTrick].hasOwnProperty("currentFrame")){ trickz[currTrick].gotoAndPlay(1); }; if (fxStars){ if (fxStars.parent){ fxStars.parent.removeChild(fxStars); }; }; fxStars = new fx_starsC(); addChildAt(fxStars, 0); fxStars.rotation = (Math.random() * 360); fxStars.y = -15; }; } else { trickCount = 0; trickinTimer = 0; }; if (!dead){ visible = true; }; if (dead){ passedJump = null; }; if (killGateHit){ grounded = false; trickin = false; }; if (!grounded){ SoundMgr.stopSound("skiNoise"); }; if ((((y < 0)) && ((maxHeight > y)))){ maxHeight = y; }; if (y < -25){ _local4 = new Matrix(0.5, 0, 0, 0.5, 32, 54); offscreenBMP.bitmapData.fillRect(new Rectangle(0, 0, offscreenBMP.bitmapData.width, offscreenBMP.bitmapData.height), 0); offscreenBMP.bitmapData.draw(this, _local4); parent.addChild(arrowSkier); arrowSkier.x = x; arrowSkier.y = 10; arrowSkier.txt_meters.text = Math.floor(-(y)).toString(); bmpRotator.rotation = rotation; } else { if (arrowSkier.parent){ arrowSkier.parent.removeChild(arrowSkier); }; }; }; if (killGateHit){ skierKilled.visible = true; if (skierKilled.currentFrame == skierKilled.totalFrames){ skierKilled.gotoAndPlay("loop"); }; for each (_local5 in trickz) { _local5.visible = false; if (_local5.hasOwnProperty("currentFrame")){ _local5.gotoAndStop(1); }; }; skierFast.visible = false; skierGroundSlow.visible = false; skierGround.visible = false; skierAir.visible = false; } else { if (grounded){ skierKilled.visible = false; trickin = false; for each (_local5 in trickz) { _local5.visible = false; if (_local5.hasOwnProperty("currentFrame")){ _local5.gotoAndStop(1); }; }; skierAir.visible = false; if (speed < 10){ skierFast.visible = false; skierGroundSlow.visible = true; skierGround.visible = false; } else { if (speed < 25){ skierFast.visible = false; skierGroundSlow.visible = false; skierGround.visible = true; } else { skierFast.visible = true; skierGroundSlow.visible = false; skierGround.visible = false; }; }; } else { if (!trickin){ skierKilled.visible = false; for each (_local5 in trickz) { _local5.visible = false; }; skierFast.visible = false; skierGroundSlow.visible = false; skierGround.visible = false; skierAir.visible = true; if (killGateHit){ trick2.visible = true; trick2.play(); skierAir.visible = false; }; } else { skierKilled.visible = false; skierFast.visible = false; skierGroundSlow.visible = false; skierGround.visible = false; skierAir.visible = false; trickz[currTrick].visible = true; }; }; }; if (main.paused){ _local6 = 0; while (_local6 < numChildren) { _local7 = getChildAt(_local6); if (((_local7.visible) && (_local7.hasOwnProperty("currentFrame")))){ MovieClip(_local7).stop(); if (((_local7.hasOwnProperty("flip")) && (!((MovieClip(_local7).flip == null))))){ MovieClip(_local7).flip.stop(); }; }; _local6++; }; return; }; if (impact.currentFrame == impact.totalFrames){ impact.stop(); }; if (y > (432 + 50)){ if (!killGateHit){ MainRef.ref.howIdie = "fallDown"; MainRef.ref.deathSpeed = Math.round(speed).toString(); TipManager.Died_checkForJump(this, main.jumps); }; dead = true; return; }; if (inx < 0){ inx = 0; }; if ((((speed < 10)) && ((stickTimer <= 2)))){ stickTimer = 2; }; x = (x + (inx - speed)); y = (y + iny); flashTimer--; if (flashTimer < 0){ }; if (((grounded) && (Input.mouseDown))){ if (((parent.mouseX - x) - speed) < 40){ inx = (inx * 0.95); if (((parent.mouseX - x) - speed) < 20){ inx = (inx * 0.92); if (((parent.mouseX - x) - speed) < 10){ inx = (inx * 0.85); }; }; }; }; var _local1:int = heightmap[int(x)]; if (((((((!(grounded)) && ((_local1 > 490)))) && (!(trickin)))) && (!(killGateHit)))){ trickin = true; currTrick = Math.floor((Math.random() * trickz.length)); trickz[currTrick].visible = true; if (trickz[currTrick].hasOwnProperty("currentFrame")){ trickz[currTrick].gotoAndPlay(1); }; }; if (((grounded) && (trickin))){ trickin = false; trickz[currTrick].visible = false; }; if (((!(Input.isKeyDownS("Spacebar"))) && (spaceDown))){ spaceDown = false; trace(iny); }; if (Input.isKeyDownS("Spacebar")){ spaceDown = true; }; stickTimer--; if (stickTimer > 0){ if (grounded){ if (_local1 > 450){ stickTimer = 0; } else { if ((_local1 - y) < 10){ if (iny < -5){ iny = -5; }; y = (_local1 + 2); } else { stickTimer = 0; }; }; }; }; if (grounded){ if ((((_local1 < 490)) && ((iny > -((10 + (inx * 1))))))){ if ((_local1 - 10) < y){ y = (_local1 + 1); iny = (iny * 0.4); } else { trace("lossy loss"); inx = (inx * 0.95); }; }; }; if ((((y > _local1)) && (!(killGateHit)))){ _local8 = (y - _local1); if (((((!(killGateHit)) && ((_local8 > (40 + (speed * 0.5)))))) && ((_local8 > (iny * 2))))){ TipManager.Died_drewOverSelf(); TipManager.Died_checkForJump(this, main.jumps); if (!killGateHit){ MainRef.ref.howIdie = "drawSelf"; MainRef.ref.deathSpeed = Math.round(speed).toString(); getKilled(); }; trace(((("PROBLEM! " + _local8) + " iny*2 == ") + (iny * 2))); return; }; _local9 = 0; _local10 = 0; _local11 = 0; _local12 = (inx * 2); if (_local12 > 100){ _local12 = 100; }; _local6 = int((x - (_local12 * 2))); while (_local6 < (int(x) + (_local12 * 2))) { if (_local6 < 0){ _local6 = 0; }; if (_local6 >= slopemap.length){ } else { _local11 = (slopemap[_local6] - slopemap[(_local6 - 1)]); if (_local11 > 10){ break; }; _local9 = (_local9 + (slopemap[_local6] * 0.25)); _local10 = (_local10 + Math.abs(_local11)); }; _local6++; }; if (isNaN(_local9)){ trace("nan"); }; rotation = (_local9 * 1.5); if (((((!(grounded)) && ((airTimer > 10)))) && ((_local9 > 0)))){ _local9 = (_local9 * 4); iny = (iny + 5); stickTimer = 10; if (passedJump){ _local13 = (x - passedJump.x); main.scorekeeper.jumpScore(_local13); passedJump = null; }; }; if (_local10 > 2){ }; iny = (iny + (_local9 * 0.7)); if (_local9 < 0){ inx = (inx + (_local9 * 0.1)); } else { if ((_local9 / inx) < 0.5){ inx = (inx + (_local9 * 0.6)); } else { inx = (inx + (_local9 * 0.25)); }; }; if (iny > 4){ iny = 4; }; y = _local1; if (inx < 3){ inx = 3; }; } else { rotation = (iny * 3); iny = (iny + 0.65); }; if (grounded){ if (y > (_local1 - 5)){ grounded = true; } else { SoundMgr.stopSound("skiNoise"); grounded = false; }; }; if (!grounded){ if (y >= _local1){ if (maxHeight < 0){ main.scorekeeper.jumpScore(-(maxHeight)); }; maxHeight = 0; if ((((_local1 < 460)) && (!(killGateHit)))){ SoundMgr.playSound("skiNoise"); SoundMgr.playSound("jumpLanding"); }; grounded = true; impact.gotoAndPlay(0); if (headphonesPutOn.currentFrame == 1){ headphonesPutOn.gotoAndPlay(2); }; } else { grounded = false; }; }; if (boostTimer > 0){ boostTimer--; inx = (inx + 1); }; if (!grounded){ airTimer++; } else { airTimer = 0; }; if (inx < 6){ inx = (inx + 1); }; var _local2:Number = main.scorekeeper.mult; if (inx > (36 + _local2)){ inx = (36 + _local2); }; if (iny > 45){ iny = 45; }; if (iny < (-14 - _local2)){ iny = (-14 - _local2); }; if (iny < -45){ iny = -45; }; var _local3:Number = (((main.cursor.x / 26) + 10) + _local2); if ((((inx > _local3)) && (grounded))){ inx = _local3; }; if (((grounded) && ((main.cursor.x < 200)))){ inx = (inx * 0.97); }; if (((Input.isKeyDownS("A")) && ((inx > 10)))){ inx = (inx * 0.95); }; speed = (Math.floor(((x - 100) / 7)) + _local2); if (inx == 0){ speed = 0; }; if (x < 50){ speed = (speed * (0.5 + ((x - 50) / -50))); }; if ((((scarf.parent == null)) && (!((parent == null))))){ parent.addChildAt(scarf, (parent.getChildIndex(this) - 1)); } else { if ((((parent == null)) && (!((scarf.parent == null))))){ scarf.parent.removeChild(scarf); }; }; scarfTimer--; if (((!((scarf.parent == null))) && (!((parent == null))))){ _local16 = new Point(); _local6 = 0; while (_local6 < numChildren) { _local17 = getChildAt(_local6); if (_local17.visible){ _local15 = _local17; if (_local17.hasOwnProperty("flip")){ if (_local17.flip != null){ _local16.x = _local17.flip.head.x; _local16.y = _local17.flip.head.y; _local16 = DisplayObject(_local17.flip).localToGlobal(_local16); _local14 = _local17.flip.head; }; }; if (_local17.hasOwnProperty("head")){ if (_local17.head != null){ _local16.x = _local17.head.x; _local16.y = _local17.head.y; _local16 = DisplayObject(_local17).localToGlobal(_local16); _local14 = _local17.head; }; }; }; if (((headphonesSecure) && (!((_local14 == null))))){ _local14.addChild(headphones); }; _local6++; }; if (_local14 == null){ _local16 = savedHeadPos; } else { savedHeadPos = _local16; }; _local16 = scarf.parent.globalToLocal(_local16); if (headphonesSecure){ headphones.x = (headphones.y = 0); }; if (((headphonesSecure) && ((((((speed > 70)) && ((Math.random() < 0.04)))) || (killGateHit))))){ Log.CustomMetric("lost headphones"); TipManager.Signal_musicOut(); headphonesSecure = false; parent.addChild(headphones); headphones.x = _local16.x; headphones.y = _local16.y; SoundMgr.stopSound("bgmMetal"); headphoneinx = -4; headphoneiny = 2; SoundMgr.playSound("recordScratch"); }; if (!headphonesSecure){ headphones.x = (headphones.x + headphoneinx); headphones.y = (headphones.y + headphoneiny); headphoneinx = (headphoneinx - 2); headphoneiny = (headphoneiny + 2); headphones.rotation = (headphones.rotation + inx); }; scarf.x = _local16.x; scarf.y = _local16.y; scarf.updateD(((_local16.x - lastScarfPos.x) - speed), ((lastScarfPos.y - _local16.y) * 2)); lastScarfPos = _local16; }; if (scarfTimer < 0){ _local18 = Math.floor(Math.pow((main.scorekeeper.multTimer / 200), 2)); if (scarf.sections.length <= _local18){ if (scarf.sections.length < 32){ scarf.addBone(); scarf.addBone(); }; } else { if (scarf.sections.length >= _local18){ scarf.removeBone(); scarf.removeBone(); }; }; }; if (!headphonesOn){ headphones.visible = false; } else { headphones.visible = true; }; if (headphonesOn == false){ if (grounded){ headphonesPutOn.play(); }; if (headphonesPutOn.currentFrame != 1){ for each (_local5 in trickz) { _local5.visible = false; }; skierKilled.visible = false; skierFast.visible = false; skierGroundSlow.visible = false; skierGround.visible = false; skierAir.visible = false; headphonesPutOn.visible = true; } else { headphonesPutOn.visible = false; }; if (headphonesPutOn.currentFrame == headphonesPutOn.totalFrames){ headphonesOn = true; }; if ((((headphonesPutOn.currentLabel == "musicOn")) && (!(musicOn)))){ musicOn = true; SoundMgr.playSound("bgmMetal"); }; }; if (headphonesOn){ headphonesPutOn.visible = false; }; } public function drawMe(_arg1:uint):void{ graphics.lineStyle(4, _arg1); graphics.drawCircle(0, 0, 10); flashTimer = 20; } } }//package
Section 81
//HeightmapRunner_arrowSkierC (HeightmapRunner_arrowSkierC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_arrowSkierC extends SpriteAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 82
//HeightmapRunner_fx_starsC (HeightmapRunner_fx_starsC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_fx_starsC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 83
//HeightmapRunner_headphonesC (HeightmapRunner_headphonesC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_headphonesC extends SpriteAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 84
//HeightmapRunner_headphonesPutOnC (HeightmapRunner_headphonesPutOnC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_headphonesPutOnC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 85
//HeightmapRunner_impactParticleC (HeightmapRunner_impactParticleC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_impactParticleC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 86
//HeightmapRunner_skierAirC (HeightmapRunner_skierAirC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_skierAirC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 87
//HeightmapRunner_skierFastC (HeightmapRunner_skierFastC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_skierFastC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 88
//HeightmapRunner_skierGroundC (HeightmapRunner_skierGroundC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_skierGroundC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 89
//HeightmapRunner_skierGroundSlowC (HeightmapRunner_skierGroundSlowC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_skierGroundSlowC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 90
//HeightmapRunner_skierKilledC (HeightmapRunner_skierKilledC) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_skierKilledC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 91
//HeightmapRunner_trick1C (HeightmapRunner_trick1C) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_trick1C extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 92
//HeightmapRunner_trick2C (HeightmapRunner_trick2C) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_trick2C extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 93
//HeightmapRunner_trick3C (HeightmapRunner_trick3C) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_trick3C extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 94
//HeightmapRunner_trick4C (HeightmapRunner_trick4C) package { import flash.display.*; import mx.core.*; public class HeightmapRunner_trick4C extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 95
//KillGate (KillGate) package { import flash.display.*; import General.*; public class KillGate extends Gate { public var arrowRedBlankC:Class; public var gateRedC:Class; public function KillGate(_arg1:HeightmapRunner, _arg2:Sprite, _arg3:Sprite, _arg4:int, _arg5:Number, _arg6:Number){ arrowRedBlankC = KillGate_arrowRedBlankC; gateRedC = KillGate_gateRedC; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); incomingCover = new arrowRedBlankC(); removeChildAt(0); incomingGraphic = new gateIncomingRedC(); rangeText = incomingGraphic.txt_meters; addChild(new gateRedC()); r = (r - 25); } override public function failure():void{ removeChildAt(0); addChild(new gateHitC()); if (runner.y < 0){ SoundMgr.playSound("tunnelHit"); MainRef.ref.scorekeeper.jumpGate(); }; MainRef.ref.scorekeeper.killgatesDodged++; } override public function success():void{ if (!runner.killGateHit){ MainRef.ref.howIdie = "killGate"; MainRef.ref.deathSpeed = Math.round(runner.speed).toString(); runner.getKilled(); }; } override public function update():void{ super.update(); } } }//package
Section 96
//KillGate_arrowRedBlankC (KillGate_arrowRedBlankC) package { import flash.display.*; import mx.core.*; public class KillGate_arrowRedBlankC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 97
//KillGate_gateRedC (KillGate_gateRedC) package { import flash.display.*; import mx.core.*; public class KillGate_gateRedC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 98
//Leaderboard (Leaderboard) package { import flash.net.*; import flash.text.*; import General.*; public class Leaderboard { public var sharedObj:SharedObject; public var leaderboardData:Object; public function Leaderboard(){ loadLocalData(); } public function update():void{ sharedObj.data.leaderboardData = leaderboardData; sharedObj.flush(); } public function fillBoard(_arg1):void{ var _local2:Array = (leaderboardData.scores as Array); var _local3:Array = (leaderboardData.times as Array); var _local4:TextField = _arg1.txt_scoreList; var _local5:TextField = _arg1.txt_timeList; _local4.text = ""; _local5.text = ""; var _local6:int; while (_local6 < 5) { _local4.appendText((((("#" + (_local6 + 1)) + " ") + Util.CommaFormat(_local2[_local6])) + "\n")); _local5.appendText((((("#" + (_local6 + 1)) + " ") + Util.formatTimeHMSms(_local3[_local6])) + "\n")); _local6++; }; } public function logScore(_arg1:int, _arg2:int):void{ var _local3:Array = (leaderboardData.scores as Array); var _local4:Array = (leaderboardData.times as Array); if (_arg1 > _local3[4]){ _local3.pop(); _local3.push(_arg1); }; if (_arg2 > _local4[4]){ _local4.pop(); _local4.push(_arg2); }; leaderboardData.scores = _local3.sort((Array.DESCENDING | Array.NUMERIC)); leaderboardData.times = _local4.sort((Array.DESCENDING | Array.NUMERIC)); update(); } public function loadLocalData():void{ sharedObj = SharedObject.getLocal("solipskier_leaderboard", "/", false); if (((sharedObj) && (sharedObj.data.leaderboardData))){ leaderboardData = sharedObj.data.leaderboardData; } else { leaderboardData = new Object(); leaderboardData.scores = [0, 0, 0, 0, 0]; leaderboardData.times = [0, 0, 0, 0, 0]; sharedObj.data.leaderboardData = leaderboardData; }; } } }//package
Section 99
//Main (Main) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.system.*; import flash.utils.*; import flash.text.*; import General.*; import SWFStats.*; import flash.media.*; public class Main extends Sprite { public var obstacleLayer:Sprite; public var jumps:Array; public var pauseScreen; public var scorekeeper:Scorekeeper; public var redball:HeightmapRunner; public var newmousex:int; public var speedText:TextField; public var endgameScreen:EndgameScreen; public var newmousey:int; public var fx_flakeC:Class; public var flakes:Array; public var statSubmitDebug:TextField; public var replayMode:Boolean; public var ui_leaderboardC:Class; public var targetTimer:int;// = 100 public var gameStarted:Boolean;// = false public var blurMult:Number;// = 0.02 public var fxFadeIn:int;// = 30 public var deathSpeed:String; public var leaderboardScreen; public var snowflakeActiveC:Class; public var currentPlay:int;// = 0 public var startTime:uint; public var inkJar:Number;// = 1 public var terrainSliverBMP:BitmapData; public var lastX:int;// = 0 public var lastTime:uint; public var rainbowBitmap:Bitmap; public var lastmousex:int; public var lastmousey:int; public var drawThisFrame:Boolean;// = false public var soundMgr:SoundMgr; public var gameFrame:uint;// = 0 public var spawnMgr:SpawnManager; public var jumpScoreLayer:Sprite; public var ui_optionsC:Class; public var optionsScreen; public var atTitleScreen:Boolean;// = false public var blurMode:Boolean;// = true public var terrainBitmap:Bitmap; public var finalRainbowPos:Point; public var heightmap:Array; public var rainbowSize:Number;// = 40 public var kongapi:KongAPI; public var titleScreen; public var ui_titleC:Class; public var cursorEnabled; public var sliverWidth:int;// = 1 public var ui_pauseC:Class; public var frameNumber:uint;// = 0 public var localLeaderboard:Leaderboard; public var rainbowGrowth:Number;// = 0.002 public var paused:Boolean;// = false public var snowflakeC:Class; public var pauseRestart:Boolean;// = false public var sceneryLayer:Sprite; public var sceneryTimer:int;// = 10 public var totalGameTime:uint; public var rainbowAlpha:Number;// = 0 public var perfectTunnelCount:int;// = 0 public var gameOverBaseC:Class; public var cursor:Sprite; public var currIntro; public var chopinTimer:int;// = -1 public var muted:Boolean;// = false public var bmd:BitmapData; public var scrollSpeed:int;// = 10 public var scrollers:Array; public var introNum:int;// = 0 public var fpsDisplay:FpsCounter; public var lastHMX:int; public var bgManager:BGManagerFastest; public var realXOffset:int;// = 0 public var rainbowAmount:Number;// = 0 public var mouseXSaveIter:int;// = 10 public var firstGo:Boolean;// = true public var mikengregIntroC:Class; public var obstacles:Array; public var input:Input; public var slopemap:Array; public var kongIntroC:Class; public var crashTimer:int;// = 0 public var howIdie:String; public var cursorDisabled; public var lastRainbowPos:Point; public var replayMap:Array; public static var rainbowSliver:BitmapData; public function Main(){ var _local1:int; snowflakeC = Main_snowflakeC; snowflakeActiveC = Main_snowflakeActiveC; fx_flakeC = Main_fx_flakeC; ui_leaderboardC = Main_ui_leaderboardC; ui_pauseC = Main_ui_pauseC; ui_optionsC = Main_ui_optionsC; gameOverBaseC = Main_gameOverBaseC; kongIntroC = Main_kongIntroC; mikengregIntroC = Main_mikengregIntroC; ui_titleC = Main_ui_titleC; super(); localLeaderboard = new Leaderboard(); MainRef.ref = this; rainbowSliver = new BitmapData(4, 80); rainbowSliver.fillRect(new Rectangle(0, 0, 4, 16), 4293496628); rainbowSliver.fillRect(new Rectangle(0, 16, 4, 16), 4293066847); rainbowSliver.fillRect(new Rectangle(0, 32, 4, 16), 4286921357); rainbowSliver.fillRect(new Rectangle(0, 48, 4, 16), 4278220222); rainbowSliver.fillRect(new Rectangle(0, 64, 4, 16), 4278230871); rainbowBitmap = new Bitmap(new BitmapData(0x0300, 432, true, 0)); terrainSliverBMP = new BitmapData(sliverWidth, 500); terrainSliverBMP.fillRect(new Rectangle(0, 0, sliverWidth, 10), 4290822336); terrainSliverBMP.fillRect(new Rectangle(0, 10, sliverWidth, 15), 4289374890); terrainSliverBMP.fillRect(new Rectangle(0, 25, sliverWidth, 20), 4287795858); terrainSliverBMP.fillRect(new Rectangle(0, 45, sliverWidth, 500), 4286151033); SceneryMgr.initialize(); SoundMgr.initialize(ApplicationDomain.currentDomain); SoundEffect(SoundMgr.sounds["windSound"]).volume = 0.1; fpsDisplay = new FpsCounter(); fpsDisplay.x = 670; addEventListener(Event.ENTER_FRAME, enterFrame); bgManager = new BGManagerFastest(); addChild(bgManager); bgManager.visible = false; bgManager.addEventListener("downTransformComplete", bgTransformDown); heightmap = new Array(0x0300); _local1 = 0; while (_local1 < 0x0300) { heightmap[_local1] = 500; _local1++; }; slopemap = new Array(0x0300); _local1 = 0; while (_local1 < 0x0300) { slopemap[_local1] = 0; _local1++; }; redball = new HeightmapRunner(heightmap, slopemap); redball.y = -20; redball.dead = true; jumpScoreLayer = new Sprite(); scorekeeper = new Scorekeeper(redball); addChild(scorekeeper); sceneryLayer = new Sprite(); addChild(sceneryLayer); bmd = new BitmapData(0x0300, 432, true, 0); terrainBitmap = new Bitmap(bmd); addChild(terrainBitmap); addChild(rainbowBitmap); obstacleLayer = new Sprite(); addChild(obstacleLayer); addChild(redball); addChild(jumpScoreLayer); scrollers = new Array(); obstacles = new Array(); jumps = new Array(); flakes = new Array(); cursor = new Sprite(); cursorEnabled = new snowflakeActiveC(); cursor.addChild(cursorEnabled); cursorDisabled = new snowflakeC(); cursor.addChild(cursorDisabled); cursorEnabled.visible = false; addChild(cursor); cursor.visible = false; speedText = new TextField(); speedText.textColor = 0xFF0000; speedText.y = 40; speedText.scaleX = (speedText.scaleY = 2); spawnMgr = new SpawnManager(this, redball, scrollers, obstacles, jumps); titleScreen = new ui_titleC(); titleScreen.gotoAndPlay(1); addEventListener(MouseEvent.MOUSE_DOWN, mDown); setupOptionsPauseLeaderboard(); lastTime = getTimer(); SoundMgr.setFXVolume(0); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedToStage); } else { addedToStage(null); }; doIntros(); } public function addedToStage(_arg1:Event):void{ input = new Input(this); stage.frameRate = 30; stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown); kongapi = new KongAPI(stage); } public function checkDrawAgainstDeadzones(_arg1:Number):Boolean{ var _local2:Scroller; for each (_local2 in scrollers) { if ((_local2 is DeadZone)){ if (!DeadZone(_local2).checkDrawX(_arg1)){ return (false); }; }; }; return (true); } public function terrainDraw(_arg1:int, _arg2:int, _arg3:Number):void{ if (_arg3 < -10){ bmd.fillRect(new Rectangle(_arg1, _arg2, 1, 500), 4294901760); } else { bmd.copyPixels(terrainSliverBMP, new Rectangle(0, 0, sliverWidth, 500), new Point(_arg1, _arg2)); }; } public function spawnFlake():void{ var _local1:* = new fx_flakeC(); _local1.x = cursor.x; _local1.y = cursor.y; stage.addChild(_local1); _local1.rotation = (Math.random() * 360); _local1.scaleX = (_local1.scaleX - (Math.random() * 0.5)); _local1.scaleY = (_local1.scaleY - (Math.random() * 0.5)); flakes.push(_local1); } public function scoreSubmitd(_arg1:Boolean):void{ trace(("SCORE SUBMITTED: " + _arg1)); } public function killIntros():void{ removeChild(currIntro); currIntro = null; bgManager.visible = true; toTitle(); SoundMixer.soundTransform = new SoundTransform(1); SoundMgr.playSound("windSound", 0.1); } public function toTitle():void{ SoundMgr.stopSound("bgmChopin"); chopinTimer = -1; bgManager.transformIn(); if (((!((endgameScreen == null))) && (endgameScreen.parent))){ endgameScreen.parent.removeChild(endgameScreen); }; endgameScreen = null; atTitleScreen = true; redball.visible = false; redball.dead = true; cursor.visible = false; scorekeeper.mult = 1; scorekeeper.score = 0; scorekeeper.topMulti = 0; scorekeeper.starsEarned = 0; scorekeeper.greatHighJumps = 0; scorekeeper.topSpeed = 0; scorekeeper.cumulBuzzPoints = 0; scorekeeper.cumulHighJumpPoints = 0; scorekeeper.perfectTunnels = 0; scorekeeper.killgatesDodged = 0; addChild(titleScreen); if (stage){ stage.focus = stage; }; } public function mDown(_arg1:MouseEvent):void{ if (((atTitleScreen) && ((currIntro == null)))){ startGame(); }; } public function muteToggle():void{ if (!muted){ SoundMixer.soundTransform = new SoundTransform(0); } else { SoundMixer.soundTransform = new SoundTransform(1); }; muted = !(muted); } public function pauseScreenResume(_arg1:MouseEvent):void{ SoundMgr.sounds["bgmMetal"].unpause(); SoundMgr.sounds["windSound"].unpause(); paused = false; pauseScreen.gotoAndPlay(12); } public function doMikengregIntro():void{ introNum = 1; removeChild(currIntro); currIntro.removeEventListener(MouseEvent.CLICK, MainRef.gotoKong); currIntro.stop(); if ((this is ArmorMain)){ currIntro.armor.stop(); }; SoundMixer.stopAll(); currIntro = new mikengregIntroC(); addChild(currIntro); currIntro.addEventListener(MouseEvent.CLICK, MainRef.gotoMikengreg, false, 0, true); } public function removeJump(_arg1:BigJump):void{ var _local2:int; while (_local2 < jumps.length) { if (jumps[_local2] == _arg1){ jumps.splice(_local2, 1); _local2--; }; _local2++; }; } public function submitKongScores():void{ kongapi.submitScore(scorekeeper.score); kongapi.submitStat(scorekeeper.score, "Score"); kongapi.submitStat(scorekeeper.topMulti, "Top Multiplier"); kongapi.submitStat((totalGameTime / 1000), "Longest Run"); kongapi.submitStat(scorekeeper.greatHighJumps, "Great High Jumps"); kongapi.submitStat(scorekeeper.starsEarned, "Stars Earned"); kongapi.submitStat(scorekeeper.topSpeed, "Top Speed"); kongapi.submitStat(scorekeeper.cumulBuzzPoints, "Cumulative Buzz the Tower"); kongapi.submitStat(scorekeeper.cumulHighJumpPoints, "Cumulative High Jump Score"); kongapi.submitStat(scorekeeper.perfectTunnels, "Top Perfect Tunnels"); kongapi.submitStat(scorekeeper.killgatesDodged, "Top Killgates Dodged"); } public function setupOptionsPauseLeaderboard():void{ leaderboardScreen = new ui_leaderboardC(); addChild(leaderboardScreen); leaderboardScreen.gotoAndStop(1); optionsScreen = new ui_optionsC(); addChild(optionsScreen); optionsScreen.gotoAndStop(1); pauseScreen = new ui_pauseC(); addChild(pauseScreen); new OptionsBoard(pauseScreen.board); pauseScreen.gotoAndStop(1); Util.ButtonReg(pauseScreen.board.btn_restart, pauseScreenRestart); Util.ButtonReg(pauseScreen.board.btn_resume, pauseScreenResume); } public function removeObstacle(_arg1:Scroller):void{ var _local2:int; while (_local2 < obstacles.length) { if (obstacles[_local2] == _arg1){ obstacles.splice(_local2, 1); _local2--; }; _local2++; }; } public function tunnelGateHit():void{ if (inkJar > 0){ inkJar = (inkJar + 0.25); }; perfectTunnelCount++; scorekeeper.crossTunnelGate(); if (perfectTunnelCount == 40){ scorekeeper.perfectTunnel(); }; } public function heightmapSet(_arg1:int, _arg2:int, _arg3:Boolean=false):Boolean{ var _local7:BigJump; if (_arg1 >= 0x0300){ _arg1 = 767; }; if (!_arg3){ if (!Input.mouseDown){ heightmap[_arg1] = 500; return (false); }; for each (_local7 in jumps) { if ((((_local7.x < 1200)) && (_local7.drawCheck(_arg1)))){ heightmap[_arg1] = 500; return (false); }; }; }; heightmap[_arg1] = _arg2; lastHMX = _arg1; terrainDraw(_arg1, _arg2, 0); var _local4:int = int((_arg2 - heightmap[lastX])); var _local5:int = int((_arg1 - lastX)); var _local6:Number = (_local4 / _local5); if (lastX >= 0){ sliverLoop(lastX, _local5, _local6); slopemap[_arg1] = _local6; }; return (true); } public function toEndgameScreen():void{ TipManager.dispenseWithTheTip(); endgameScreen = new EndgameScreen(); addChild(endgameScreen); endgameScreen.refresh(totalGameTime, scorekeeper.score, redball.x); } public function bgScroll(_arg1:Number):void{ var _local2:Rectangle; if (_arg1 < 0){ return; }; bgManager.bg0Accum = (bgManager.bg0Accum + (((-(_arg1) * 0.24) * bgManager.BG_SCALE) * bgManager.SCROLL_MULT)); var _local3:int = int(bgManager.bg0Accum); bgManager.bg0Accum = (bgManager.bg0Accum - _local3); _local2 = new Rectangle(0, 0, -(_local3), bgManager.BMD0.height); bgManager.BMD0.copyPixels(bgManager.BMD0, _local2, new Point(bgManager.bg0W, 0)); bgManager.BMD0.scroll(_local3, 0); bgManager.bg0X = (bgManager.bg0X + _local3); bgManager.bg1Accum = (bgManager.bg1Accum + (((-(_arg1) * 0.48) * bgManager.BG_SCALE) * bgManager.SCROLL_MULT)); var _local4:int = int(bgManager.bg1Accum); bgManager.bg1Accum = (bgManager.bg1Accum - _local4); _local2 = new Rectangle(0, 0, -(_local4), bgManager.BMD1.height); bgManager.BMD1.copyPixels(bgManager.BMD1, _local2, new Point(bgManager.bg1W, 0)); bgManager.BMD1.scroll(_local4, 0); bgManager.bg1X = (bgManager.bg1X + _local4); bgManager.bg2Accum = (bgManager.bg2Accum + (((-(_arg1) * 0.6) * bgManager.BG_SCALE) * bgManager.SCROLL_MULT)); var _local5:int = int(bgManager.bg2Accum); bgManager.bg2Accum = (bgManager.bg2Accum - _local5); _local2 = new Rectangle(0, 0, -(_local5), bgManager.BMD2.height); bgManager.BMD2.copyPixels(bgManager.BMD2, _local2, new Point(bgManager.bg2W, 0)); bgManager.BMD2.scroll(_local5, 0); bgManager.bg2X = (bgManager.bg2X + _local5); } public function startGame():void{ currentPlay++; Log.Play(); TipManager.initi(); totalGameTime = 0; gameFrame = 0; redball.scarf.setLength(0); redball.scarfTimer = 30; redball.scarf.visible = (redball.headphones.visible = true); redball.headphonesPutOn.gotoAndStop(1); redball.headphonesOn = false; redball.musicOn = false; redball.headphones.rotation = 0; redball.headphonesSecure = true; SoundMgr.playSound("windSound"); spawnMgr.resetDifficultyRamp(); lastX = -1; redball.passedJump = null; atTitleScreen = false; gameStarted = true; redball.x = mouseX; redball.y = 0; redball.dead = false; redball.visible = true; cursor.visible = true; cursor.x = terrainBitmap.mouseX; cursor.y = terrainBitmap.mouseY; scorekeeper.enable(); removeChild(titleScreen); var _local1:int; while (_local1 < terrainBitmap.mouseX) { heightmapSet(_local1, terrainBitmap.mouseY, true); lastX = _local1; _local1 = (_local1 + 6); }; startTime = getTimer(); } public function enterFrame(_arg1:Event):void{ var _local3:int; var _local4:Scroller; var _local8:Scroller; if (currIntro){ if (currIntro.currentFrame == currIntro.totalFrames){ if (introNum == 0){ doMikengregIntro(); } else { killIntros(); }; }; }; if (statSubmitDebug){ addChild(statSubmitDebug); }; if (this.fxFadeIn > 0){ fxFadeIn--; SoundMgr.setFXVolume(((30 - fxFadeIn) / 30)); }; TipManager.update(redball); frameNumber++; var _local2:int = (getTimer() - lastTime); lastTime = getTimer(); if (((!(paused)) && (gameStarted))){ totalGameTime = (totalGameTime + _local2); }; if (titleScreen.currentFrame == titleScreen.totalFrames){ titleScreen.gotoAndStop(titleScreen.totalFrames); }; if (pauseScreen.currentFrame == 8){ pauseScreen.gotoAndStop(8); }; if (pauseScreen.currentFrame == pauseScreen.totalFrames){ pauseScreen.gotoAndStop(pauseScreen.totalFrames); }; if (leaderboardScreen.currentFrame == 8){ leaderboardScreen.gotoAndStop(8); }; if (leaderboardScreen.currentFrame == leaderboardScreen.totalFrames){ leaderboardScreen.gotoAndStop(leaderboardScreen.totalFrames); }; if (optionsScreen.currentFrame == 8){ optionsScreen.gotoAndStop(8); }; if (optionsScreen.currentFrame == optionsScreen.totalFrames){ optionsScreen.gotoAndStop(optionsScreen.totalFrames); }; fpsDisplay.update(); _local3 = 0; while (_local3 < flakes.length) { if (flakes[_local3].currentFrame == flakes[_local3].totalFrames){ stage.removeChild(flakes[_local3]); flakes.splice(_local3, 1); _local3--; }; _local3++; }; if (chopinTimer > 0){ chopinTimer = (chopinTimer - _local2); if (chopinTimer <= 0){ SoundMgr.playSound("bgmChopin"); }; }; scorekeeper.update(); if (paused){ redball.update(); return; }; drawThisFrame = false; speedText.text = int(redball.inx).toString(); if ((((obstacles.length <= 2)) && (!(redball.dead)))){ if (obstacles.length > 0){ spawnMgr.spawnNewShitDiffRamp(obstacles[(obstacles.length - 1)].x); } else { spawnMgr.spawnNewShitDiffRamp(4000); }; }; cleanDeadScrollers(); for each (_local4 in scrollers) { _local4.update(); }; if (redball.dead){ SoundMgr.stopSound("skiNosie"); }; if (gameStarted){ redball.update(); if (scrollSpeed > 12){ sceneryTimer = (sceneryTimer - scrollSpeed); } else { sceneryTimer = (sceneryTimer - 4); }; if (sceneryTimer <= 0){ sceneryTimer = (10 + Math.floor((Math.random() * 10))); if (Input.mouseDown){ spawnMgr.spawnScenery(); }; }; }; if (!redball.dead){ scrollSpeed = int(redball.speed); } else { scrollSpeed = 6; }; if (scrollSpeed < 0){ scrollSpeed = 0; }; var _local5:Number = (0.1 + ((scrollSpeed * scrollSpeed) / (70 * 70))); if (_local5 > 1){ _local5 = 1; }; SoundEffect(SoundMgr.sounds["windSound"]).volume = (_local5 * SoundMgr.fxVol); var _local6:int = (terrainBitmap.mouseX - lastmousex); var _local7:int = (terrainBitmap.mouseY - lastmousey); newmousex = int((lastmousex + (_local6 * 0.25))); newmousey = int((lastmousey + (_local7 * 0.25))); bmd.scroll(-(scrollSpeed), 0); rainbowBitmap.bitmapData.scroll(-(scrollSpeed), 0); realXOffset = (realXOffset + scrollSpeed); otherThing(scrollSpeed); lastX = (lastX - scrollSpeed); _local3 = 0; while (_local3 < scrollSpeed) { heightmap.shift(); heightmap.push(500); slopemap.shift(); slopemap.push(0); _local3++; }; bmd.fillRect(new Rectangle((0x0300 - scrollSpeed), 0, scrollSpeed, 432), 0); rainbowBitmap.bitmapData.fillRect(new Rectangle((0x0300 - scrollSpeed), 0, scrollSpeed, 432), 0); if (!gameStarted){ return; }; spawnMgr.update(); rainbowTrail(-(scrollSpeed)); if (redball.dead){ if ((((endgameScreen == null)) || ((endgameScreen.parent == null)))){ gameOver(); }; for each (_local8 in obstacles) { _local8.killflag = true; if (_local8.parent){ _local8.parent.removeChild(_local8); }; if (((_local8.incomingGraphic) && (_local8.incomingGraphic.parent))){ _local8.incomingGraphic.parent.removeChild(_local8.incomingGraphic); }; }; redball.speed = 0; cursor.y = terrainBitmap.mouseY; cursor.x = terrainBitmap.mouseX; return; }; cursor.x = (cursor.x - scrollSpeed); cursorEnabled.visible = false; cursorDisabled.visible = true; if (((((((!(Input.mouseDown)) || ((inkJar <= 0)))) || (redball.dead))) || (redball.killGateHit))){ cursor.y = terrainBitmap.mouseY; cursor.x = terrainBitmap.mouseX; if (heightmap[int(cursor.x)] > 470){ heightmapSet(int(cursor.x), 480); }; lastX = 0; } else { if (cursor.x < terrainBitmap.mouseX){ cursor.x = (cursor.x + ((terrainBitmap.mouseX - cursor.x) * 0.5)); if ((terrainBitmap.mouseY - cursor.y) < (-(scrollSpeed) * 2)){ if ((terrainBitmap.mouseY - cursor.y) < (-(scrollSpeed) * 4)){ cursor.y = (cursor.y - (scrollSpeed * 2)); } else { cursor.y = (cursor.y + ((terrainBitmap.mouseY - cursor.y) * 0.5)); }; } else { cursor.y = (cursor.y + ((terrainBitmap.mouseY - cursor.y) * 0.35)); }; if (cursor.x >= 0x0300){ cursor.x = 767; }; if (cursor.x <= 0){ cursor.x = 0; }; if (cursor.y >= 432){ cursor.y = 431; }; if (cursor.y <= 0){ cursor.y = 0; }; if (heightmap[int(cursor.x)] > 470){ spawnFlake(); cursorEnabled.visible = true; cursorDisabled.visible = false; if (heightmapSet(int(cursor.x), int(cursor.y))){ lastX = int(cursor.x); drawThisFrame = true; } else { lastX = -1; drawThisFrame = false; }; }; }; }; gameFrame++; if (drawThisFrame){ if (scrollSpeed > 30){ inkJar = (inkJar - (0.02 * 0)); } else { inkJar = (inkJar - ((0.02 * (scrollSpeed / 30)) * 0)); }; } else { if (!Input.mouseDown){ inkJar = (inkJar + 0.05); }; }; if (inkJar <= 0){ inkJar = 0; }; if (inkJar >= 1){ inkJar = 1; }; cursor.scaleX = (cursor.scaleY = inkJar); } public function keydown(_arg1:KeyboardEvent):void{ var _local2:TextField; trace(Input.ascii[_arg1.keyCode]); if (((gameStarted) && ((Input.ascii[_arg1.keyCode] == "P")))){ if (paused){ SoundMgr.sounds["bgmMetal"].unpause(); SoundMgr.sounds["windSound"].unpause(); } else { SoundMgr.sounds["bgmMetal"].pause(); SoundMgr.sounds["windSound"].pause(); }; paused = !(paused); if (paused){ pauseScreen.gotoAndPlay(2); } else { pauseScreen.gotoAndPlay(9); }; }; if (Input.ascii[_arg1.keyCode] == "M"){ muteToggle(); }; if (Input.ascii[_arg1.keyCode] == "~"){ if (!statSubmitDebug){ _local2 = new TextField(); _local2.autoSize = TextFieldAutoSize.LEFT; _local2.multiline = true; _local2.text = "HELLO"; } else { _local2.visible = !(_local2.visible); }; }; } public function crash():void{ trace("crash"); redball.visible = false; crashTimer = 30; } public function cleanDeadScrollers():void{ var _local1:int; while (_local1 < scrollers.length) { if (scrollers[_local1].killflag){ if ((((scrollers[_local1] is Gate)) || ((scrollers[_local1] is BigJump)))){ removeObstacle(scrollers[_local1]); }; if ((scrollers[_local1] is BigJump)){ removeJump(scrollers[_local1]); }; if (scrollers[_local1].parent){ scrollers[_local1].parent.removeChild(scrollers[_local1]); }; while (scrollers[_local1].numChildren > 0) { scrollers[_local1].removeChildAt(0); }; scrollers.splice(_local1, 1); _local1--; }; _local1++; }; } public function pauseScreenRestart(_arg1:MouseEvent):void{ SoundMgr.sounds["bgmMetal"].unpause(); SoundMgr.sounds["windSound"].unpause(); paused = false; pauseScreen.gotoAndPlay(12); redball.dead = true; gameOver(); pauseRestart = true; } public function otherThing(_arg1:Number):void{ var _local2:Rectangle; if (_arg1 < 0){ return; }; bgManager.bg0Accum = (bgManager.bg0Accum + (((-(_arg1) * 0.24) * bgManager.BG_SCALE) * bgManager.SCROLL_MULT)); var _local3:int = int(bgManager.bg0Accum); bgManager.bg0Accum = (bgManager.bg0Accum - _local3); _local2 = new Rectangle(0, 0, -(_local3), bgManager.BMD0.height); bgManager.BMD0.copyPixels(bgManager.BMD0, _local2, new Point(bgManager.bg0W, 0)); bgManager.BMD0.scroll(_local3, 0); bgManager.bg0X = (bgManager.bg0X + _local3); bgManager.bg1Accum = (bgManager.bg1Accum + (((-(_arg1) * 0.48) * bgManager.BG_SCALE) * bgManager.SCROLL_MULT)); var _local4:int = int(bgManager.bg1Accum); bgManager.bg1Accum = (bgManager.bg1Accum - _local4); _local2 = new Rectangle(0, 0, -(_local4), bgManager.BMD1.height); bgManager.BMD1.copyPixels(bgManager.BMD1, _local2, new Point(bgManager.bg1W, 0)); bgManager.BMD1.scroll(_local4, 0); bgManager.bg1X = (bgManager.bg1X + _local4); bgManager.bg2Accum = (bgManager.bg2Accum + (((-(_arg1) * 0.6) * bgManager.BG_SCALE) * bgManager.SCROLL_MULT)); var _local5:int = int(bgManager.bg2Accum); bgManager.bg2Accum = (bgManager.bg2Accum - _local5); _local2 = new Rectangle(0, 0, -(_local5), bgManager.BMD2.height); bgManager.BMD2.copyPixels(bgManager.BMD2, _local2, new Point(bgManager.bg2W, 0)); bgManager.BMD2.scroll(_local5, 0); bgManager.bg2X = (bgManager.bg2X + _local5); } public function sliverLoop(_arg1:Number, _arg2:int, _arg3:Number):void{ var _local4:int; var _local5 = 1; while (_local5 < _arg2) { heightmap[(_local5 + _arg1)] = (heightmap[_arg1] + (_arg3 * _local5)); _local4++; if (_local4 >= sliverWidth){ terrainDraw((_local5 + _arg1), heightmap[(_local5 + _arg1)], _arg3); _local4 = 0; }; slopemap[(_local5 + _arg1)] = _arg3; _local5++; }; } public function drawRainbow(_arg1:Point, _arg2:Point, _arg3:Number):void{ if (_arg3 < 80){ return; }; var _local4:Point = new Point((_arg2.x - _arg1.x), (_arg2.y - _arg1.y)); var _local5:Number = (_local4.y / _local4.x); var _local6:Matrix = new Matrix(1, 0, 0, 1, 0, 0); var _local7:int = _arg1.x; while (_local7 < _arg2.x) { rainbowSize = _arg3; _local6.a = (rainbowSize / 40); _local6.d = (rainbowSize / 40); _local6.tx = _local7; _local6.ty = ((((_arg1.y + ((_local7 - _arg1.x) * _local5)) - 18) - (rainbowSize * 0.33)) + Util.RandAdj(1)); rainbowBitmap.bitmapData.copyPixels(rainbowSliver, new Rectangle(0, 0, rainbowSliver.width, rainbowSliver.height), new Point(_local6.tx, _local6.ty)); _local7 = (_local7 + 4); }; } public function gameOver():void{ var _local3:Scroller; replayMode = false; replayMap = []; Log.LevelAverageMetric("Score", currentPlay, scorekeeper.score); Log.LevelAverageMetric("BestMulti", currentPlay, scorekeeper.topMulti); Log.LevelAverageMetric("Time", currentPlay, (totalGameTime / 1000)); Log.LevelAverageMetric("AveragePlayTime", 1, (totalGameTime / 1000)); localLeaderboard.logScore(scorekeeper.score, totalGameTime); HighScores.Submit("testerab", uint(scorekeeper.score), "New Score", scoreSubmitd, false); HighScores.Submit("tester", (totalGameTime / 1000), "GameTimeInSeconds", null, false); scorekeeper.clearBonusPopups(); redball.scarf.visible = (redball.headphones.visible = false); SoundMgr.stopSound("bgmMetal"); var _local1:int = getChildIndex(sceneryLayer); removeChild(sceneryLayer); sceneryLayer = new Sprite(); addChildAt(sceneryLayer, _local1); bgManager.transformOut(); cursor.visible = false; gameStarted = false; redball.visible = false; redball.killGateHit = false; redball.inx = (redball.iny = 0); redball.speed = 0; redball.boostTimer = 0; scorekeeper.disable(); var _local2:int; while (_local2 < heightmap.length) { heightmap[_local2] = 500; _local2++; }; bmd.fillRect(new Rectangle(0, 0, bmd.width, bmd.height), 0); rainbowBitmap.bitmapData.fillRect(new Rectangle(0, 0, bmd.width, bmd.height), 0); for each (_local3 in scrollers) { _local3.killflag = true; _local3.update(); }; cleanDeadScrollers(); while (jumpScoreLayer.numChildren > 0) { jumpScoreLayer.removeChildAt(0); }; } public function bgTransformDown(_arg1:Event):void{ if (pauseRestart){ pauseRestart = false; toTitle(); } else { if (!gameStarted){ toEndgameScreen(); }; }; } public function rainbowTrail(_arg1:int):void{ if (redball.scarf.sections.length <= 31){ lastRainbowPos = null; return; }; var _local2:Point = Util.VectorAdd(new Point(redball.scarf.sections[(redball.scarf.sections.length - 1)].x, redball.scarf.sections[(redball.scarf.sections.length - 1)].y), new Point(redball.scarf.x, redball.scarf.y)); _local2 = redball.scarf.rainbowPos; _local2 = DisplayObject(redball.scarf.sections[(redball.scarf.sections.length - 1)].parent).localToGlobal(_local2); _local2.x = (_local2.x + 2); _local2.y = (_local2.y + 5); if (((redball.trickin) && ((redball.scarf.sections[(redball.scarf.sections.length - 1)].height > 40)))){ if (firstGo){ firstGo = false; } else { if (lastRainbowPos == null){ lastRainbowPos = new Point(_local2.x, _local2.y); return; }; lastRainbowPos.x = (lastRainbowPos.x + _arg1); drawRainbow(lastRainbowPos, _local2, redball.scarf.sections[(redball.scarf.sections.length - 1)].height); lastRainbowPos = _local2; }; } else { firstGo = true; lastRainbowPos = null; }; } public function findLastHeight(_arg1:int):int{ var _local2:int = _arg1; while (_local2 > 0) { if (heightmap[_local2] < 490){ return (_local2); }; _local2--; }; return (0); } public function doIntros():void{ var _local1:* = new kongIntroC(); addChild(_local1); currIntro = _local1; _local1.addEventListener(MouseEvent.CLICK, MainRef.gotoKong, false, 0, true); } public function landHighJump(_arg1:int):void{ } } }//package
Section 100
//Main_fx_flakeC (Main_fx_flakeC) package { import flash.display.*; import mx.core.*; public class Main_fx_flakeC extends MovieClipAsset { public var txt_loading:DisplayObject; } }//package
Section 101
//Main_gameOverBaseC (Main_gameOverBaseC) package { import flash.display.*; import mx.core.*; public class Main_gameOverBaseC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 102
//Main_kongIntroC (Main_kongIntroC) package { import flash.display.*; import mx.core.*; public class Main_kongIntroC extends MovieClipAsset { public var txt_loading:DisplayObject; } }//package
Section 103
//Main_mikengregIntroC (Main_mikengregIntroC) package { import flash.display.*; import mx.core.*; public class Main_mikengregIntroC extends MovieClipAsset { public var txt_loading:DisplayObject; } }//package
Section 104
//Main_snowflakeActiveC (Main_snowflakeActiveC) package { import flash.display.*; import mx.core.*; public class Main_snowflakeActiveC extends SpriteAsset { public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_restart:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var btn_back:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_sponsor:DisplayObject; public var btn_leaderboards:DisplayObject; } }//package
Section 105
//Main_snowflakeC (Main_snowflakeC) package { import flash.display.*; import mx.core.*; public class Main_snowflakeC extends SpriteAsset { public var txt_loading:DisplayObject; } }//package
Section 106
//Main_ui_leaderboardC (Main_ui_leaderboardC) package { import flash.display.*; import mx.core.*; public class Main_ui_leaderboardC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 107
//Main_ui_optionsC (Main_ui_optionsC) package { import flash.display.*; import mx.core.*; public class Main_ui_optionsC extends MovieClipAsset { public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_restart:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var btn_back:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_sponsor:DisplayObject; public var btn_leaderboards:DisplayObject; } }//package
Section 108
//Main_ui_pauseC (Main_ui_pauseC) package { import flash.display.*; import mx.core.*; public class Main_ui_pauseC extends MovieClipAsset { public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_restart:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_sponsor:DisplayObject; } }//package
Section 109
//Main_ui_titleC (Main_ui_titleC) package { import flash.display.*; import mx.core.*; public class Main_ui_titleC extends MovieClipAsset { public var txt_loading:DisplayObject; } }//package
Section 110
//MainRef (MainRef) package { import flash.events.*; import flash.net.*; import SWFStats.*; public class MainRef { public static var ref:Main; public static var kongLink:String = "http://www.kongregate.com/?gamereferral=solipskier"; public static function gotoKong(_arg1:Event):void{ Log.CustomMetric("kongd", "links"); urlNavigate(kongLink); } public static function urlNavigate(_arg1:String):void{ navigateToURL(new URLRequest(_arg1), "_blank"); } public static function gotoMikengreg(_arg1:Event):void{ Log.CustomMetric("mikengregd", "links"); urlNavigate("http://www.mikengreg.com"); } public static function gotoSolipRedirect(_arg1:Event):void{ Log.CustomMetric("mobile", "links"); urlNavigate("http://mikengreg.com/solip_redirect"); } } }//package
Section 111
//NewgroundsEndgameScreen (NewgroundsEndgameScreen) package { import com.newgrounds.*; public class NewgroundsEndgameScreen extends EndgameScreen { public function NewgroundsEndgameScreen(){ var _local1:ScoreBoard = new ScoreBoard(0, "Top Score"); } } }//package
Section 112
//NewgroundsMain (NewgroundsMain) package { import flash.events.*; import flash.display.*; import General.*; import com.newgrounds.*; public class NewgroundsMain extends Main { public var ui_pauseC_NG:Class; public var ui_leaderboardC_NG:Class; public var ui_optionsC_NG:Class; public var gameOverBaseC_NG:Class; public var ngIntroC:Class; public function NewgroundsMain(){ ngIntroC = NewgroundsMain_ngIntroC; ui_leaderboardC_NG = NewgroundsMain_ui_leaderboardC_NG; ui_pauseC_NG = NewgroundsMain_ui_pauseC_NG; ui_optionsC_NG = NewgroundsMain_ui_optionsC_NG; gameOverBaseC_NG = NewgroundsMain_gameOverBaseC_NG; super(); MainRef.kongLink = "http://www.newgrounds.com"; gameOverBaseC = gameOverBaseC_NG; NewgroundsAPI.loadMedals(); } override public function addedToStage(_arg1:Event):void{ input = new Input(this); stage.frameRate = 30; stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown); } override public function setupOptionsPauseLeaderboard():void{ leaderboardScreen = new ui_leaderboardC_NG(); addChild(leaderboardScreen); leaderboardScreen.gotoAndStop(1); optionsScreen = new ui_optionsC_NG(); addChild(optionsScreen); optionsScreen.gotoAndStop(1); pauseScreen = new ui_pauseC_NG(); addChild(pauseScreen); new OptionsBoard(pauseScreen.board); pauseScreen.gotoAndStop(1); Util.ButtonReg(pauseScreen.board.btn_restart, pauseScreenRestart); Util.ButtonReg(pauseScreen.board.btn_resume, pauseScreenResume); } override public function doIntros():void{ var _local1:* = new ngIntroC(); addChild(_local1); currIntro = _local1; _local1.addEventListener(MouseEvent.CLICK, MainRef.gotoKong, false, 0, true); } override public function enterFrame(_arg1:Event):void{ super.enterFrame(_arg1); if (!gameStarted){ return; }; if (scorekeeper.score > 1000000){ NewgroundsAPI.getMedalByName("Bronze Medal in Awesomeness").unlock(); }; if (scorekeeper.score > 100000000){ NewgroundsAPI.getMedalByName("Gold Medal in Awesomeness").unlock(); }; if (scorekeeper.mult > 50){ NewgroundsAPI.getMedalByName("Wicked Tricks").unlock(); }; if (scorekeeper.mult > 100){ NewgroundsAPI.getMedalByName("Awesome Combo!").unlock(); }; if (((!(redball.headphonesSecure)) && (!(redball.killGateHit)))){ NewgroundsAPI.getMedalByName("Where'd All My Tunes Go At?!").unlock(); }; } override public function submitKongScores():void{ } override public function landHighJump(_arg1:int):void{ if (_arg1 > 100000){ NewgroundsAPI.getMedalByName("Nice Jump").unlock(); }; if (_arg1 > 1000000){ NewgroundsAPI.getMedalByName("Sick Air!").unlock(); }; } override public function toEndgameScreen():void{ TipManager.dispenseWithTheTip(); endgameScreen = new NewgroundsEndgameScreen(); addChild(endgameScreen); endgameScreen.refresh(totalGameTime, scorekeeper.score, redball.x); } } }//package
Section 113
//NewgroundsMain_gameOverBaseC_NG (NewgroundsMain_gameOverBaseC_NG) package { import flash.display.*; import mx.core.*; public class NewgroundsMain_gameOverBaseC_NG extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 114
//NewgroundsMain_ngIntroC (NewgroundsMain_ngIntroC) package { import flash.display.*; import mx.core.*; public class NewgroundsMain_ngIntroC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 115
//NewgroundsMain_ui_leaderboardC_NG (NewgroundsMain_ui_leaderboardC_NG) package { import flash.display.*; import mx.core.*; public class NewgroundsMain_ui_leaderboardC_NG extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 116
//NewgroundsMain_ui_optionsC_NG (NewgroundsMain_ui_optionsC_NG) package { import flash.display.*; import mx.core.*; public class NewgroundsMain_ui_optionsC_NG extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 117
//NewgroundsMain_ui_pauseC_NG (NewgroundsMain_ui_pauseC_NG) package { import flash.display.*; import mx.core.*; public class NewgroundsMain_ui_pauseC_NG extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 118
//OptionsBoard (OptionsBoard) package { import flash.events.*; import flash.display.*; import General.*; public class OptionsBoard { var btn_aaLo; var btn_bgmOff; public var ui_switchOffC:Class; var btn_sfxOn; var btn_aaOn; var btn_bgmOn; var btn_blurOff; public var ui_switchLoC:Class; var btn_blurOn; var btn_sfxOff; var board:MovieClip; public function OptionsBoard(_arg1:MovieClip){ ui_switchLoC = OptionsBoard_ui_switchLoC; ui_switchOffC = OptionsBoard_ui_switchOffC; super(); board = _arg1; btn_sfxOn = board.btn_sfxOn; btn_sfxOff = new ui_switchOffC(); dupOnButton(btn_sfxOff, board.btn_sfxOn, board); btn_sfxOff.name = "btn_sfxOff"; btn_bgmOn = board.btn_bgmOn; btn_bgmOff = new ui_switchOffC(); dupOnButton(btn_bgmOff, board.btn_bgmOn, board); btn_bgmOff.name = "btn_bgmOff"; btn_aaOn = board.btn_aaOn; btn_aaLo = new ui_switchLoC(); dupOnButton(btn_aaLo, board.btn_aaOn, board); btn_aaLo.name = "btn_bgmOff"; btn_blurOn = board.btn_blurOn; btn_blurOff = new ui_switchOffC(); dupOnButton(btn_blurOff, board.btn_blurOn, board); btn_blurOff.name = "btn_bgmOff"; registerButtons(); board.addEventListener(Event.ENTER_FRAME, enterFrame); } public function swap(_arg1, _arg2):void{ _arg1.visible = false; _arg1.mouseEnabled = false; _arg2.visible = true; _arg2.mouseEnabled = true; } public function bgmOnClick(_arg1:MouseEvent):void{ SoundMgr.setMusicVolume(1); } public function unRegisterButtons():void{ Util.ButtonUnReg(board.btn_sfxOn, sfxOffClick); Util.ButtonUnReg(btn_sfxOff, sfxOnClick); Util.ButtonUnReg(board.btn_bgmOn, bgmOffClick); Util.ButtonUnReg(btn_bgmOff, bgmOnClick); Util.ButtonUnReg(board.btn_aaOn, aaLoClick); Util.ButtonUnReg(btn_aaLo, aaHiClick); Util.ButtonUnReg(board.btn_blurOn, blurOffClick); Util.ButtonUnReg(btn_blurOff, blurOnClick); Util.ButtonUnReg(board.btn_sponsor, MainRef.gotoKong); if (board.btn_mobile){ Util.ButtonUnReg(board.btn_mobile, MainRef.gotoSolipRedirect); }; } public function aaHiClick(_arg1:MouseEvent):void{ MainRef.ref.stage.quality = StageQuality.HIGH; } public function bgmOffClick(_arg1:MouseEvent):void{ SoundMgr.setMusicVolume(0); } public function dupOnButton(_arg1, _arg2, _arg3):void{ _arg3.addChild(_arg1); _arg1.visible = false; _arg1.x = _arg2.x; _arg1.y = _arg2.y; _arg1.mouseEnabled = false; } public function aaLoClick(_arg1:MouseEvent):void{ MainRef.ref.stage.quality = StageQuality.LOW; } public function registerButtons():void{ Util.ButtonReg(board.btn_sfxOn, sfxOffClick); Util.ButtonReg(btn_sfxOff, sfxOnClick); Util.ButtonReg(board.btn_bgmOn, bgmOffClick); Util.ButtonReg(btn_bgmOff, bgmOnClick); Util.ButtonReg(board.btn_aaOn, aaLoClick); Util.ButtonReg(btn_aaLo, aaHiClick); Util.ButtonReg(board.btn_blurOn, blurOffClick); Util.ButtonReg(btn_blurOff, blurOnClick); Util.ButtonReg(board.btn_sponsor, MainRef.gotoKong); if (board.btn_mobile){ Util.ButtonReg(board.btn_mobile, MainRef.gotoSolipRedirect); }; } public function blurOffClick(_arg1:MouseEvent):void{ MainRef.ref.blurMode = false; } public function sfxOnClick(_arg1:MouseEvent):void{ SoundMgr.setFXVolume(1); } public function blurOnClick(_arg1:MouseEvent):void{ MainRef.ref.blurMode = true; } public function enterFrame(_arg1:Event):void{ if ((((SoundMgr.fxVol == 1)) && ((btn_sfxOff.visible == true)))){ swap(btn_sfxOff, btn_sfxOn); }; if ((((SoundMgr.fxVol == 0)) && ((btn_sfxOn.visible == true)))){ swap(btn_sfxOn, btn_sfxOff); }; if ((((SoundMgr.musicVol == 1)) && ((btn_bgmOff.visible == true)))){ swap(btn_bgmOff, btn_bgmOn); }; if ((((SoundMgr.musicVol == 0)) && ((btn_bgmOn.visible == true)))){ swap(btn_bgmOn, btn_bgmOff); }; if (((MainRef.ref.blurMode) && ((btn_blurOff.visible == true)))){ swap(btn_blurOff, btn_blurOn); }; if (((!(MainRef.ref.blurMode)) && ((btn_blurOn.visible == true)))){ swap(btn_blurOn, btn_blurOff); }; if ((((MainRef.ref.stage.quality == "HIGH")) && ((btn_aaLo.visible == true)))){ swap(btn_aaLo, btn_aaOn); }; if ((((MainRef.ref.stage.quality == "LOW")) && ((btn_aaOn.visible == true)))){ swap(btn_aaOn, btn_aaLo); }; } public function sfxOffClick(_arg1:MouseEvent):void{ SoundMgr.setFXVolume(0); } } }//package
Section 119
//OptionsBoard_ui_switchLoC (OptionsBoard_ui_switchLoC) package { import flash.display.*; import mx.core.*; public class OptionsBoard_ui_switchLoC extends ButtonAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 120
//OptionsBoard_ui_switchOffC (OptionsBoard_ui_switchOffC) package { import flash.display.*; import mx.core.*; public class OptionsBoard_ui_switchOffC extends ButtonAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 121
//Scarf (Scarf) package { import flash.geom.*; import flash.display.*; import flash.utils.*; import General.*; public class Scarf extends Scroller { public var rotations:Array; public var lastTime:uint; public var base:Sprite; public var flashPeriod:int;// = 2 public var colorIter:int;// = 0 public var lastinx:Number; public var lastiny:Number; public var sections:Array; public var colors:Array; public var flashTimer:int;// = 0 public var finalWidth:Number;// = 0.05 public var flashShortTimer:int;// = 2 public var drawdFinal:Boolean;// = false public var rainbowPos:Point; public function Scarf(){ super(null, null); base = new Sprite(); graphics.lineStyle(1, 0xFF00); colors = new Array(4293496628, 4293066847, 4286921357, 4278220222, 4278230871); sections = new Array(); rotations = new Array(); var _local1:ScarfBone = new ScarfBone(); colorIter++; _local1.boneParent = base; sections.push(_local1); addChild(_local1); rainbowPos = new Point(0, 0); } public function addBone():void{ var _local1:ScarfBone = new ScarfBone(); colorIter++; if (colorIter >= colors.length){ colorIter = 0; }; _local1.boneParent = sections[(sections.length - 1)]; sections.push(_local1); addChild(_local1); var _local2:int = (sections.length - 1); var _local3:Number = 0; _local3 = (Math.log(((_local2 + 5) * 0.25)) * 10); _local1.lineWidth = _local3; _local1.draw(); rainbowPos.x = sections[(sections.length - 1)].x; rainbowPos.y = sections[(sections.length - 1)].y; if (_local1.height > 80){ _local1.height = 80; }; _local1.visible = false; } public function updateD(_arg1:Number, _arg2:Number):void{ var _local8:ScarfBone; if (_arg1 > 0){ _arg1 = (_arg1 * -1); }; var _local3:int = (getTimer() - lastTime); lastTime = getTimer(); flashTimer = (flashTimer - _local3); if (flashTimer > 0){ visible = !(visible); } else { visible = true; }; if (MainRef.ref.redball.trickin){ MainRef.ref.rainbowBitmap.visible = visible; } else { MainRef.ref.rainbowBitmap.visible = true; }; lastinx = _arg1; lastiny = _arg2; var _local4:Point = new Point(); var _local5:Point = new Point(); var _local6:Point = new Point(_arg1, _arg2); var _local7:ScarfBone = sections[0]; for each (_local8 in sections) { _local8.visible = true; _local8.iny = (_local8.iny + (_arg2 + Util.RandAdj((_local6.length * 1)))); _local8.inx = (_local8.inx + (_arg1 + Util.RandAdj((_local6.length * 1)))); _local8.iny = (_local8.iny + (4 + Util.RandAdj(2))); _local8.x = (_local8.x + _local8.inx); _local8.y = (_local8.y + _local8.iny); _local4.x = (_local8.x - _local8.boneParent.x); _local4.y = (_local8.y - _local8.boneParent.y); if (_local4.length > 4){ _local5 = Util.Normalize(_local4); _local8.inx = ((_local5.x * 0) + (_local8.inx * 0.2)); _local8.iny = ((_local5.y * 0) + (_local8.iny * 0.2)); _local8.x = ((_local5.x * 4) + _local8.boneParent.x); _local8.y = ((_local5.y * 4) + _local8.boneParent.y); }; if (_local8.x < _local7.x){ _local7 = _local8; }; }; rainbowPos.x = _local7.x; rainbowPos.y = _local7.y; } override public function update():void{ var _local1:Point; super.update(); } public function removeBone():void{ if (sections.length == 1){ return; }; var _local1:ScarfBone = sections.pop(); removeChild(_local1); colorIter--; if (colorIter < 0){ colorIter = (colors.length - 1); }; if (sections.length > 0){ rainbowPos.x = sections[(sections.length - 1)].x; rainbowPos.y = sections[(sections.length - 1)].y; }; } public function setLength(_arg1:int):void{ if (_arg1 < 1){ _arg1 = 1; }; while (sections.length < _arg1) { addBone(); }; while (sections.length > _arg1) { removeBone(); }; } override public function setBlur(_arg1:Number, _arg2:Number):void{ } } }//package import flash.display.*; class ScarfBone extends Sprite { public var lineWidth:Number;// = 2 public var inx:Number;// = 0 public var iny:Number;// = 0 public var boneParent:DisplayObject; private function ScarfBone(){ } public function draw():void{ var _local1:Bitmap = new Bitmap(Main.rainbowSliver, PixelSnapping.ALWAYS); _local1.height = (lineWidth * 5); _local1.y = -((_local1.height * 0.5)); addChild(_local1); } }
Section 122
//Scenery (Scenery) package { import flash.display.*; public class Scenery extends Scroller { public var heightmap:Array; public var splashPart:MovieClip; public var fallSpeed:Number;// = -30 public function Scenery(_arg1:HeightmapRunner, _arg2:Sprite, _arg3:Array, _arg4:Number, _arg5:Boolean=false){ super(_arg1, _arg2); var _local6:* = SceneryMgr.gimmeArt(); if (_local6 != null){ addChild(_local6); }; if (_arg5){ x = (_arg4 + (8 * int(_arg1.speed))); y = -10; fallSpeed = 10; } else { x = ((_arg4 - (width * 0.5)) + (Math.random() * 10)); y = ((_arg3[int(x)] + height) + 50); fallSpeed = -30; if (_local6 != null){ splashPart = SceneryMgr.gimmeSnowimpact(); splashPart.gotoAndStop(1); }; }; heightmap = _arg3; setBlur(_arg1.speed, fallSpeed); } override public function update():void{ super.update(); y = (y + fallSpeed); if (((((splashPart) && ((splashPart.currentFrame < splashPart.totalFrames)))) && ((splashPart.currentFrame > 1)))){ splashPart.nextFrame(); }; if (x > 0){ if (fallSpeed < 0){ if (y < heightmap[int(x)]){ fallSpeed = 0; y = heightmap[int(x)]; if (((splashPart) && ((splashPart.currentFrame <= splashPart.totalFrames)))){ splashPart.nextFrame(); }; }; } else { fallSpeed = (fallSpeed + 2); setBlur((((runner.speed * 0.1) * runner.speed) * 0.1), fallSpeed); if (y > heightmap[int(x)]){ fallSpeed = 0; y = heightmap[int(x)]; if (splashPart == null){ splashPart = SceneryMgr.gimmeSnowimpact(); splashPart.scaleX = (splashPart.scaleY = (width / splashPart.width)); }; }; }; } else { killflag = true; }; } } }//package
Section 123
//SceneryMgr (SceneryMgr) package { public class SceneryMgr { public static var skisC:Class = SceneryMgr_skisC; public static var lodgeC:Class = SceneryMgr_lodgeC; public static var allAssets:Array; public static var tree3C:Class = SceneryMgr_tree3C; public static var assets2:Array; public static var tree1C:Class = SceneryMgr_tree1C; public static var assets4:Array; public static var assets1:Array; public static var impactParticleC:Class = SceneryMgr_impactParticleC; public static var assets3:Array; public static var snowboardC:Class = SceneryMgr_snowboardC; public static var tree4C:Class = SceneryMgr_tree4C; public static var tree2C:Class = SceneryMgr_tree2C; public static var outhouseC:Class = SceneryMgr_outhouseC; public static function gimmeArt(){ var _local1:int = Math.floor((Math.random() * 4)); var _local2:* = allAssets[_local1].shift(); if (_local2.parent == null){ allAssets[_local1].push(_local2); return (_local2); }; allAssets[_local1].unshift(_local2); return (null); } public static function gimmeSnowimpact(){ return (new impactParticleC()); } public static function initialize():void{ assets1 = [new tree1C(), new tree1C(), new tree2C(), new tree3C(), new tree4C()]; assets2 = [new tree2C(), new lodgeC(), new outhouseC(), new tree4C()]; assets3 = [new tree4C(), new tree2C(), new tree3C(), new outhouseC()]; assets4 = [new tree3C(), new lodgeC(), new tree1C(), new tree2C()]; allAssets = [assets1, assets2, assets3, assets4]; } } }//package
Section 124
//SceneryMgr_impactParticleC (SceneryMgr_impactParticleC) package { import flash.display.*; import mx.core.*; public class SceneryMgr_impactParticleC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 125
//SceneryMgr_lodgeC (SceneryMgr_lodgeC) package { import flash.display.*; import mx.core.*; public class SceneryMgr_lodgeC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 126
//SceneryMgr_outhouseC (SceneryMgr_outhouseC) package { import flash.display.*; import mx.core.*; public class SceneryMgr_outhouseC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 127
//SceneryMgr_skisC (SceneryMgr_skisC) package { import flash.display.*; import mx.core.*; public class SceneryMgr_skisC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 128
//SceneryMgr_snowboardC (SceneryMgr_snowboardC) package { import flash.display.*; import mx.core.*; public class SceneryMgr_snowboardC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 129
//SceneryMgr_tree1C (SceneryMgr_tree1C) package { import flash.display.*; import mx.core.*; public class SceneryMgr_tree1C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 130
//SceneryMgr_tree2C (SceneryMgr_tree2C) package { import flash.display.*; import mx.core.*; public class SceneryMgr_tree2C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 131
//SceneryMgr_tree3C (SceneryMgr_tree3C) package { import flash.display.*; import mx.core.*; public class SceneryMgr_tree3C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 132
//SceneryMgr_tree4C (SceneryMgr_tree4C) package { import flash.display.*; import mx.core.*; public class SceneryMgr_tree4C extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var popup2:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 133
//Scorekeeper (Scorekeeper) package { import flash.events.*; import flash.display.*; import flash.system.*; import flash.utils.*; import General.*; public class Scorekeeper extends Sprite { public var tunnelBonusScore:int;// = 0 public var lastTime:uint; public var bonusHudCounter:int;// = 0 public var hud_pu_basicC:Class; public var tunnelDone:Boolean;// = false public var tunnelBonusThing; public var bonusHuds:Array; public var jumpPopup; public var cumulHighJumpPoints:int;// = 0 public var runner:HeightmapRunner; public var starsEarned:int;// = 0 public var hud_scoreC:Class; public var jumpedGates:int;// = 0 public var perfectTunnels:int;// = 0 public var hud_pu_starC:Class; private var score__m:int;// = 0 public var bonusPopups:Array; public var hud_score; public var hud_bonusC:Class; public var cumulBuzzPoints:int;// = 0 public var starGo:Boolean;// = false private var mult__m:Number;// = 1 public var hud_pu_jumpC:Class; public var topMulti:Number;// = 0 public var topSpeed:int;// = 0 public var multTimer:int;// = 0 public var killgatesDodged:int;// = 0 public var starPopup; public var greatHighJumps:int;// = 0 public function Scorekeeper(_arg1:HeightmapRunner){ hud_scoreC = Scorekeeper_hud_scoreC; hud_bonusC = Scorekeeper_hud_bonusC; hud_pu_basicC = Scorekeeper_hud_pu_basicC; hud_pu_jumpC = Scorekeeper_hud_pu_jumpC; hud_pu_starC = Scorekeeper_hud_pu_starC; super(); runner = _arg1; bonusHuds = new Array(); bonusPopups = new Array(); hud_score = new hud_scoreC(); addChild(hud_score); hud_score.txt_mult.text = "1"; hud_score.txt_mph.text = "6"; hud_score.txt_score.text = "0"; jumpPopup = new hud_pu_jumpC(); MainRef.ref.jumpScoreLayer.addChild(jumpPopup); jumpPopup.gotoAndStop(1); starPopup = new hud_pu_starC(); MainRef.ref.jumpScoreLayer.addChild(starPopup); starPopup.gotoAndStop(1); starPopup.x = -400; visible = false; lastTime = getTimer(); this.mouseEnabled = false; this.mouseChildren = false; } public function doubleTrick():void{ mult = (mult + 0.5); var _local1:int = int(((5 * mult) * Math.floor(MainRef.ref.redball.speed))); score = (score + _local1); resetMultTimer(); } public function enable():void{ visible = true; } public function jumpScore(_arg1:Number):void{ if (jumpPopup.currentFrame != 1){ return; }; if (starPopup.currentFrame > 1){ starGo = true; }; var _local2:int = Math.floor((_arg1 / 180)); trace(("GREWAT HIGH JOUMPS == " + greatHighJumps)); if (_local2 > 0){ if (_local2 <= 1){ jumpPopup.popup1.txt_bonus.text = 1; jumpPopup.popup2.txt_bonus.text = 1; jumpPopup.popup3.txt_bonus.text = 1; } else { if (_local2 >= 9){ jumpPopup.popup1.txt_bonus.text = 9; jumpPopup.popup2.txt_bonus.text = 9; jumpPopup.popup3.txt_bonus.text = 9; } else { if (_local2 >= 7){ jumpPopup.popup1.txt_bonus.text = (_local2 + Math.floor((Math.random() * 2))); jumpPopup.popup2.txt_bonus.text = (_local2 + Math.floor((Math.random() * 1))); jumpPopup.popup3.txt_bonus.text = (_local2 + Math.floor((Math.random() * 2))); } else { jumpPopup.popup1.txt_bonus.text = (_local2 + Math.floor((Math.random() * 3))); jumpPopup.popup2.txt_bonus.text = (_local2 + Math.floor((Math.random() * 2))); jumpPopup.popup3.txt_bonus.text = (_local2 + Math.floor((Math.random() * 3))); }; }; }; if (_local2 >= 5){ SoundMgr.playSound("cheer1"); }; if (_local2 >= 8){ SoundMgr.playSound("cheer2"); }; jumpPopup.gotoAndPlay(2); TipManager.Signal_offscreenJump(jumpedGates); gotBonus("High Jump", (_local2 * _local2), 16759385); }; jumpedGates = 0; } public function get score():int{ return ((score__m + 13)); } public function tripleTrick():void{ mult = (mult + 1); var _local1:int = int(((10 * mult) * Math.floor(MainRef.ref.redball.speed))); score = (score + _local1); resetMultTimer(); } public function jumpGate():void{ if (MainRef.ref.redball.grounded){ return; }; jumpedGates++; resetMultTimer(); mult = (mult + (jumpedGates * 0.25)); starScore(jumpedGates); starsEarned++; } public function tunnelGateMiss():void{ } public function set score(_arg1:int):void{ score__m = (_arg1 - 13); } public function crossGate():void{ resetMultTimer(); if (!MainRef.ref.redball.grounded){ mult = (mult + 2); MainRef.ref.scorekeeper.gotBonus("Buzz the Tower", 30, 12049702); } else { mult = (mult + 1); score = (score + int(((5 * mult) * Math.floor(MainRef.ref.redball.speed)))); }; } public function hudTextUpdate():void{ hud_score.txt_mult.text = Math.floor(mult).toString(); hud_score.txt_mph.text = Math.floor(MainRef.ref.redball.speed).toString(); hud_score.txt_score.text = Util.CommaFormat(score).toString(); } public function spawnTunnelBonusThing():void{ tunnelDone = false; tunnelBonusThing = new hud_pu_basicC(); tunnelBonusScore = 0; tunnelBonusThing.popup.txt_bonus.textColor = 2461662; tunnelBonusThing.popup.txt_bonus.text = ("+" + Util.CommaFormat(tunnelBonusScore)); addChild(tunnelBonusThing); } public function get mult():Number{ return ((mult__m - 2)); } public function clearBonusPopups():void{ starGo = false; while (bonusPopups.length > 0) { removeChild(bonusPopups.shift()); }; if (tunnelBonusThing != null){ tunnelBonusThing.gotoAndStop(1); }; } public function tunnelComplete(_arg1:int, _arg2:int):void{ if (_arg1 == _arg2){ MainRef.ref.redball.boostTimer = (MainRef.ref.redball.boostTimer + 60); mult = (mult + 5); resetMultTimer(); gotBonus("Perfect Tunnel", ((tunnelBonusScore * mult) * 0.3), 2461662, false, false); tunnelBonusThing.popup.txt_bonus.text = ("+" + Util.CommaFormat(((tunnelBonusScore * mult) * 0.3))); } else { gotBonus("Tunnel Complete", tunnelBonusScore, 2461662, false, false); }; tunnelDone = true; } public function update():void{ var _local2:int; var _local1:uint = (getTimer() - lastTime); lastTime = getTimer(); if (MainRef.ref.paused){ _local1 = 0; }; if (jumpPopup.parent == null){ MainRef.ref.jumpScoreLayer.addChild(jumpPopup); }; if (starPopup.parent == null){ MainRef.ref.jumpScoreLayer.addChild(starPopup); }; if (mult > topMulti){ topMulti = mult; }; if (MainRef.ref.redball.speed > topSpeed){ topSpeed = MainRef.ref.redball.speed; }; if (multTimer > 0){ multTimer = (multTimer - _local1); if (multTimer <= 0){ multTimer = 0; mult = 1; }; }; if (MainRef.ref.gameStarted){ score = (score + (((mult * MainRef.ref.scrollSpeed) * _local1) / 30)); }; hudTextUpdate(); if (bonusHuds.length > 0){ bonusHudCounter = (bonusHudCounter - _local1); if (bonusHudCounter <= 0){ removeChild(bonusHuds.shift()); bonusHudCounter = 2000; }; }; if ((((bonusHuds.length > 8)) && ((bonusHudCounter > 100)))){ bonusHudCounter = 100; }; _local2 = 0; while (_local2 < bonusHuds.length) { bonusHuds[_local2].y = (bonusHuds[_local2].y + ((((_local2 * bonusHuds[_local2].height) + 35) - bonusHuds[_local2].y) * 0.1)); _local2++; }; _local2 = 0; while (_local2 < bonusPopups.length) { bonusPopups[_local2].x = (runner.x - 850); bonusPopups[_local2].y = (runner.y - 120); if (bonusPopups[_local2].y < 50){ bonusPopups[_local2].y = 50; }; if (bonusPopups[_local2].currentFrame == bonusPopups[_local2].totalFrames){ removeChild(bonusPopups[_local2]); bonusPopups.splice(_local2, 1); _local2--; }; _local2++; }; if (jumpPopup.currentFrame == 1){ jumpPopup.gotoAndStop(1); }; if (starPopup.currentFrame == 1){ starGo = false; starPopup.gotoAndStop(1); }; if (starPopup.currentLabel == "hold"){ if (!starGo){ starPopup.stop(); } else { starPopup.play(); }; }; starPopup.x = (runner.x - 1050); starPopup.y = (runner.y - 100); if (starPopup.x < -650){ starPopup.x = -650; }; if (starPopup.y < 75){ starPopup.y = 75; }; if (tunnelBonusThing){ tunnelBonusThing.x = (runner.x - 850); tunnelBonusThing.y = (runner.y - 120); if (tunnelBonusThing.currentLabel == "hold"){ tunnelBonusThing.stop(); }; if (tunnelDone){ tunnelBonusThing.nextFrame(); }; if (tunnelBonusThing.currentFrame == tunnelBonusThing.totalFrames){ tunnelBonusThing.parent.removeChild(tunnelBonusThing); tunnelBonusThing = null; }; }; } public function crossTunnelGate():void{ mult = (mult + 0.25); resetMultTimer(); updateTunnelBonusScore(((1 * mult) * Math.floor(MainRef.ref.redball.speed))); } public function popupBonus(_arg1:int, _arg2:uint, _arg3:Boolean=true):void{ if (_arg3){ _arg1 = (_arg1 * (MainRef.ref.scrollSpeed * mult)); }; var _local4:* = new hud_pu_basicC(); _local4.popup.txt_bonus.text = ("+" + Util.CommaFormat(_arg1)); _local4.popup.txt_bonus.textColor = _arg2; bonusPopups.push(_local4); addChild(_local4); _local4.x = (runner.x - 850); _local4.y = (runner.y - 120); } public function perfectTunnel():void{ score = (score + int((40 * mult))); perfectTunnels++; } public function trick():void{ mult = (mult + 0.25); var _local1:int = int(((2 * mult) * Math.floor(MainRef.ref.redball.speed))); score = (score + _local1); resetMultTimer(); } public function resetMultTimer():void{ multTimer = 3000; } public function set mult(_arg1:Number):void{ mult__m = (_arg1 + 2); } public function disable():void{ var _local1:*; starPopup.gotoAndStop(1); jumpPopup.gotoAndStop(1); for each (_local1 in bonusHuds) { if (_local1.parent){ _local1.parent.removeChild(_local1); }; }; bonusHuds = []; visible = false; } public function starScore(_arg1:int):void{ if (starPopup.currentFrame == 1){ starPopup.gotoAndPlay(2); }; starPopup.popup.gotoAndStop(_arg1.toString()); } public function gotBonus(_arg1:String, _arg2:int, _arg3:uint, _arg4:Boolean=true, _arg5:Boolean=true):void{ if (_arg5){ popupBonus(_arg2, _arg3); }; if (_arg4){ _arg2 = (_arg2 * (MainRef.ref.scrollSpeed * mult)); }; if (bonusHudCounter < 0){ bonusHudCounter = 2000; }; if (bonusHuds.length > 6){ removeChild(bonusHuds.shift()); }; var _local6:* = new hud_bonusC(); bonusHuds.push(_local6); _local6.txt_bonus.text = ("+" + Util.CommaFormat(_arg2)); _local6.txt_bonus.textColor = _arg3; _local6.txt_bonusCopy.text = _arg1; _local6.x = 90; addChildAt(_local6, 0); score = (score + _arg2); if (_arg1 == "High Jump"){ if (greatHighJumps < _arg2){ greatHighJumps = _arg2; }; cumulHighJumpPoints = (cumulHighJumpPoints + _arg2); MainRef.ref.landHighJump(_arg2); }; if (_arg1 == "Buzz the Tower"){ cumulBuzzPoints = (cumulBuzzPoints + _arg2); }; } public function updateTunnelBonusScore(_arg1:int):void{ if (tunnelBonusThing == null){ spawnTunnelBonusThing(); }; tunnelBonusScore = (tunnelBonusScore + _arg1); tunnelBonusThing.popup.txt_bonus.text = ("+" + Util.CommaFormat(tunnelBonusScore)); } public function missGate():void{ mult = (mult * 0.5); if (mult < 1){ mult = 1; }; multTimer = (multTimer * 0.5); runner.scarf.flashTimer = 500; } } }//package
Section 134
//Scorekeeper_hud_bonusC (Scorekeeper_hud_bonusC) package { import flash.display.*; import mx.core.*; public class Scorekeeper_hud_bonusC extends SpriteAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 135
//Scorekeeper_hud_pu_basicC (Scorekeeper_hud_pu_basicC) package { import flash.display.*; import mx.core.*; public class Scorekeeper_hud_pu_basicC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var popup:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 136
//Scorekeeper_hud_pu_jumpC (Scorekeeper_hud_pu_jumpC) package { import flash.display.*; import mx.core.*; public class Scorekeeper_hud_pu_jumpC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 137
//Scorekeeper_hud_pu_starC (Scorekeeper_hud_pu_starC) package { import flash.display.*; import mx.core.*; public class Scorekeeper_hud_pu_starC extends MovieClipAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var popup:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 138
//Scorekeeper_hud_scoreC (Scorekeeper_hud_scoreC) package { import flash.display.*; import mx.core.*; public class Scorekeeper_hud_scoreC extends SpriteAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var btn_next:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_stump:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var btn_options:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var txt_time:DisplayObject; public var popup:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 139
//Scroller (Scroller) package { import flash.display.*; import flash.filters.*; public class Scroller extends Sprite { public var incomingGraphic; public var killflag:Boolean;// = false public var runner:HeightmapRunner; public var blurX:Number; public var blurY:Number; public var canvas:Sprite; public static var blurMult:Number = -1; public function Scroller(_arg1:HeightmapRunner, _arg2:Sprite){ if (blurMult == -1){ blurMult = MainRef.ref.blurMult; }; canvas = _arg2; runner = _arg1; } public function update():void{ x = (x - int(runner.speed)); if (x < -((40 + width))){ killflag = true; }; setBlur(((runner.speed * runner.speed) * blurMult), 0); if (((!(parent)) && ((x < 900)))){ canvas.addChild(this); }; } public function setBlur(_arg1:Number, _arg2:Number):void{ if (MainRef.ref.blurMode){ if (parent == null){ return; }; if ((_arg1 - (width * 0.5)) > 1000){ return; }; if (_arg1 > 50){ _arg1 = 50; }; _arg1 = Math.floor(_arg1); _arg2 = 0; if (((!((blurX == _arg1))) || (!((blurY == _arg2))))){ filters = [new BlurFilter(_arg1, _arg2)]; blurX = _arg1; blurY = _arg2; }; }; } } }//package
Section 140
//SolipskierNewgrounds (SolipskierNewgrounds) package { import com.newgrounds.*; import flash.events.*; import flash.display.*; import flash.utils.*; import General.*; import SWFStats.*; import flash.text.*; public class SolipskierNewgrounds extends MovieClip { public var playBtn:MovieClip; public var input:Input; public var preloaderC:Class; public var preloader; public var ngAd:DisplayObject; public function SolipskierNewgrounds(){ preloaderC = SolipskierNewgrounds_preloaderC; super(); NewgroundsAPI.connectMovie(stage.loaderInfo, "13976:IJRHJplY", "RiHRUmkDkdNMt4DyzqwMREsazMqaoEMV"); NewgroundsAPI.addEventListener(APIEvent.METADATA_LOADED, metadataIsGo); } public function playBtnClick(_arg1:MouseEvent):void{ removeChild(playBtn); playBtn = null; removeChild(preloader); addChild(new (getDefinitionByName("NewgroundsMain"))); removeEventListener(Event.ENTER_FRAME, enterFrame); removeChild(ngAd); } public function metadataIsGo(_arg1:APIEvent):void{ var _local5:TextField; var _local2:Array = stage.loaderInfo.url.split("://"); var _local3:Array = _local2[1].split("/"); if (((((stage.loaderInfo.url.match("uploads.ungrounded.net")) || ((_local3[0] == "")))) || (_local3[0].match("mikengreg")))){ Log.View(376, "42e427e1-c618-444d-9853-5054d6f6c6f5", root.loaderInfo.loaderURL); addEventListener(Event.ENTER_FRAME, enterFrame); preloader = new preloaderC(); addChild(preloader); preloader.gotoAndStop(1); } else { _local5 = new TextField(); _local5.text = ("domain == " + stage.loaderInfo.url); addChild(_local5); _local5.x = (_local5.y = 100); _local5.textColor = 0xFF0000; }; var _local4:DisplayObject = NewgroundsAPI.createAd(); _local4.x = (400 - (_local4.width * 0.5)); _local4.y = (400 - (_local4.height * 0.5)); ngAd = _local4; addChild(ngAd); ngAd.x = (ngAd.x + 240); ngAd.y = (ngAd.y - 100); ngAd.width = (ngAd.width - 40); ngAd.height = (ngAd.height - 40); } public function enterFrame(_arg1:Event):void{ preloader.gotoAndStop(Math.round(((stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal) * 100))); if ((((currentLabel == "start")) && ((playBtn == null)))){ playBtn = new MovieClip(); playBtn.graphics.beginFill(0); playBtn.graphics.drawRect(0, 0, 200, 50); playBtn.graphics.endFill(); playBtn.alpha = 0; playBtn.useHandCursor = true; playBtn.buttonMode = true; playBtn.addEventListener(MouseEvent.CLICK, playBtnClick, false, 0, true); playBtn.x = 568; playBtn.y = 382; addChild(playBtn); preloader.txt_loading.text = "PLAY"; TextField(preloader.txt_loading).autoSize = TextFieldAutoSize.RIGHT; }; } } }//package
Section 141
//SolipskierNewgrounds_preloaderC (SolipskierNewgrounds_preloaderC) package { import mx.core.*; import flash.display.*; public class SolipskierNewgrounds_preloaderC extends MovieClipAsset { public var txt_loading:DisplayObject; } }//package
Section 142
//SoundMgr (SoundMgr) package { import flash.display.*; import flash.system.*; import General.*; import flash.media.*; public class SoundMgr { public static var sfx_gateMissC:Class = SoundMgr_sfx_gateMissC; public static var effects:Array; public static var sfx_tunnelHitC:Class = SoundMgr_sfx_tunnelHitC; public static var bgm_windSoundC:Class = SoundMgr_bgm_windSoundC; public static var sfx_jumpCheer2C:Class = SoundMgr_sfx_jumpCheer2C; public static var maxInstance:int = 8; public static var musicChannel:SoundChannel; public static var sfx_skiNoiseC:Class = SoundMgr_sfx_skiNoiseC; public static var fxVol:Number; public static var sfx_jumpTrick:Class = SoundMgr_sfx_jumpTrick; public static var ad:ApplicationDomain; public static var sfx_recordScratch:Class = SoundMgr_sfx_recordScratch; public static var sfx_gatePickupC:Class = SoundMgr_sfx_gatePickupC; public static var sounds:Array; public static var bgm_chopinEtude:Class = SoundMgr_bgm_chopinEtude; public static var sfx_jumpCheer1:Class = SoundMgr_sfx_jumpCheer1; public static var sfx_jumpCheer2:Class = SoundMgr_sfx_jumpCheer2; public static var sfx_jumpLandingC:Class = SoundMgr_sfx_jumpLandingC; public static var bgm_speedMetal:Class = SoundMgr_bgm_speedMetal; public static var sfx_gateKillC:Class = SoundMgr_sfx_gateKillC; public static var sfx_speedBoostC:Class = SoundMgr_sfx_speedBoostC; public static var musicVol:Number; public static var sfx_jumpCheer1C:Class = SoundMgr_sfx_jumpCheer1C; public static var musics:Array; public static function setFXVolume(_arg1:Number):void{ var _local2:SoundEffect; for each (_local2 in effects) { if ((((_arg1 == 1)) && ((_local2.handle == "windSound")))){ trace("no"); } else { _local2.setVol(_arg1); }; }; fxVol = _arg1; } public static function initialize(_arg1:ApplicationDomain){ var _local2:SoundEffect; ad = _arg1; sounds = new Array(); sounds["gateKill"] = new SoundEffectEmbeded("gateKill", sfx_gateKillC, 10, 10); sounds["gateMiss"] = new SoundEffectEmbeded("gateMiss", sfx_gateMissC, 10, 10); sounds["gatePickup"] = new SoundEffectEmbeded("gatePickup", sfx_gatePickupC, 10, 10); sounds["skiNoise"] = new SoundEffectEmbeded("skiNoise", sfx_skiNoiseC, 10, 10, true); sounds["speedBoost"] = new SoundEffectEmbeded("speedBoost", sfx_speedBoostC, 10, 10); sounds["windSound"] = new SoundEffectEmbeded("windSound", bgm_windSoundC, 10, 10, true); sounds["jumpLanding"] = new SoundEffectEmbeded("jumpLanding", sfx_jumpLandingC, 10, 10); sounds["jumpCheer1"] = new SoundEffectEmbeded("jumpCheer1", sfx_jumpCheer1C, 10, 10); sounds["jumpCheer2"] = new SoundEffectEmbeded("jumpCheer2", sfx_jumpCheer2C, 10, 10); sounds["tunnelHit"] = new SoundEffectEmbeded("tunnelHit", sfx_tunnelHitC, 10, 10); sounds["bgmChopin"] = new SoundEffectEmbeded("bgmChopin", bgm_chopinEtude, 10, 10, true); sounds["bgmMetal"] = new SoundEffectEmbeded("bgmMetal", bgm_speedMetal, 10, 10, true); sounds["recordScratch"] = new SoundEffectEmbeded("recordScratch", sfx_recordScratch, 10, 10); sounds["cheer1"] = new SoundEffectEmbeded("cheer1", sfx_jumpCheer1, 10, 10); sounds["cheer2"] = new SoundEffectEmbeded("cheer2", sfx_jumpCheer2, 10, 10); sounds["jumpTrick"] = new SoundEffectEmbeded("jumpTrick", sfx_jumpTrick, 10, 10); musicChannel = new SoundChannel(); effects = new Array(); effects.push(sounds["gateKill"]); effects.push(sounds["gateMiss"]); effects.push(sounds["gatePickup"]); effects.push(sounds["skiNoise"]); effects.push(sounds["speedBoost"]); effects.push(sounds["windSound"]); effects.push(sounds["jumpLanding"]); effects.push(sounds["jumpCheer1"]); effects.push(sounds["jumpCheer2"]); effects.push(sounds["tunnelHit"]); effects.push(sounds["recordScratch"]); effects.push(sounds["cheer1"]); effects.push(sounds["cheer2"]); effects.push(sounds["jumpTrick"]); musics = new Array(); musics.push(sounds["bgmMetal"]); musics.push(sounds["bgmChopin"]); for each (_local2 in musics) { _local2.fx = false; }; musicVol = (fxVol = 1); } public static function stopSound(_arg1:String):void{ if (sounds[_arg1] != null){ sounds[_arg1].stop(); }; } public static function playSound(_arg1:String, _arg2:Number=1):void{ if (sounds[_arg1] != null){ if (_arg1.match("music")){ sounds[_arg1].play(true); } else { if (sounds[_arg1].fx){ sounds[_arg1].play(false, (_arg2 * fxVol)); } else { sounds[_arg1].play(false, (_arg2 * musicVol)); }; }; if (sounds[_arg1].fx){ sounds[_arg1].setVol(fxVol); } else { sounds[_arg1].setVol(musicVol); }; }; } public static function setMusicVolume(_arg1:Number):void{ var _local2:SoundEffect; for each (_local2 in musics) { _local2.setVol(_arg1); }; musicVol = _arg1; } } }//package
Section 143
//SoundMgr_bgm_chopinEtude (SoundMgr_bgm_chopinEtude) package { import flash.display.*; import mx.core.*; public class SoundMgr_bgm_chopinEtude extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 144
//SoundMgr_bgm_speedMetal (SoundMgr_bgm_speedMetal) package { import flash.display.*; import mx.core.*; public class SoundMgr_bgm_speedMetal extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 145
//SoundMgr_bgm_windSoundC (SoundMgr_bgm_windSoundC) package { import flash.display.*; import mx.core.*; public class SoundMgr_bgm_windSoundC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 146
//SoundMgr_sfx_gateKillC (SoundMgr_sfx_gateKillC) package { import mx.core.*; public class SoundMgr_sfx_gateKillC extends SoundAsset { } }//package
Section 147
//SoundMgr_sfx_gateMissC (SoundMgr_sfx_gateMissC) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_gateMissC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 148
//SoundMgr_sfx_gatePickupC (SoundMgr_sfx_gatePickupC) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_gatePickupC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 149
//SoundMgr_sfx_jumpCheer1 (SoundMgr_sfx_jumpCheer1) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_jumpCheer1 extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 150
//SoundMgr_sfx_jumpCheer1C (SoundMgr_sfx_jumpCheer1C) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_jumpCheer1C extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 151
//SoundMgr_sfx_jumpCheer2 (SoundMgr_sfx_jumpCheer2) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_jumpCheer2 extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 152
//SoundMgr_sfx_jumpCheer2C (SoundMgr_sfx_jumpCheer2C) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_jumpCheer2C extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 153
//SoundMgr_sfx_jumpLandingC (SoundMgr_sfx_jumpLandingC) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_jumpLandingC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 154
//SoundMgr_sfx_jumpTrick (SoundMgr_sfx_jumpTrick) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_jumpTrick extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 155
//SoundMgr_sfx_recordScratch (SoundMgr_sfx_recordScratch) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_recordScratch extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 156
//SoundMgr_sfx_skiNoiseC (SoundMgr_sfx_skiNoiseC) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_skiNoiseC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 157
//SoundMgr_sfx_speedBoostC (SoundMgr_sfx_speedBoostC) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_speedBoostC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 158
//SoundMgr_sfx_tunnelHitC (SoundMgr_sfx_tunnelHitC) package { import flash.display.*; import mx.core.*; public class SoundMgr_sfx_tunnelHitC extends SoundAsset { public var txt_timeList:DisplayObject; public var txt_score:DisplayObject; public var popup1:DisplayObject; public var popup3:DisplayObject; public var popup2:DisplayObject; public var txt_bonus:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var flip:DisplayObject; public var head:DisplayObject; public var txt_loading:DisplayObject; public var btn_resume:DisplayObject; public var leaderboard:DisplayObject; public var skier:DisplayObject; } }//package
Section 159
//SpawnManager (SpawnManager) package { import flash.utils.*; public class SpawnManager { public var main:Main; public var lastTime:uint; public var obstacles:Array; public var jumps:Array; public var signalRedHit:Boolean;// = false public var currDifficulty:int; public var redball:HeightmapRunner; public var difficulties:Array; public var scrollers:Array; public function SpawnManager(_arg1:Main, _arg2:HeightmapRunner, _arg3:Array, _arg4:Array, _arg5:Array){ var _local6:DifficultySetting; super(); main = _arg1; redball = _arg2; scrollers = _arg3; obstacles = _arg4; jumps = _arg5; difficulties = new Array(); _local6 = new DifficultySetting(1, 0, 0.2, 20, 10, 0, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.05, 0.2, 25, 12, 0.1, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.1, 0.2, 25, 12, 0.15, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.2, 0.2, 25, 12, 0.25, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.3, 0.2, 25, 12, 0.3, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.4, 0.3, 30, 15, 0.35, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.6, 0.3, 40, 20, 0.5, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 0.8, 0.3, 40, 20, 0.6, 20); difficulties.push(_local6); _local6 = new DifficultySetting(1, 1, 0.4, 50, 20, 0.75, 200); difficulties.push(_local6); } public function spawnUsingSetting(_arg1:DifficultySetting, _arg2:Number):void{ var _local4:Scroller; var _local5:Array; var _local7:Number; var _local3:Number = (_arg2 + 2000); if (((signalRedHit) && ((_arg1.killgateRate > 0)))){ _local4 = spawnKillGate(); _local4.x = _local3; _local4.y = 200; _local3 = (_local3 + 2000); signalRedHit = false; return; }; var _local6:int; while (_local6 < 2) { _local7 = Math.random(); if (_local7 < _arg1.gateRate){ _local4 = spawnGate(); _local4.x = _local3; _local3 = (_local3 + 2000); _local4 = spawnGate(); _local4.x = _local3; _local3 = (_local3 + 2000); _local4 = spawnGate(); _local4.x = _local3; _local3 = (_local3 + 2000); } else { if (_local7 < (_arg1.gateRate + _arg1.killgateRate)){ _local4 = spawnKillGate(); _local4.x = _local3; _local3 = (_local3 + 2000); } else { if (_local7 < ((_arg1.gateRate + _arg1.killgateRate) + _arg1.jumpRate)){ _local4 = spawnJump((Math.random() * 2)); _local4.x = _local3; _local3 = (_local3 + 2000); } else { _local5 = spawnTunnel(_arg1.tunnelLength, _arg1.tunnelVariance, _local3); _local3 = (spawnTunnel(_arg1.tunnelLength, _arg1.tunnelVariance, _local3)[(_local5.length - 1)].x + 2000); }; }; }; _local6++; }; } public function update():void{ var _local1:uint = (getTimer() - lastTime); lastTime = getTimer(); difficulties[currDifficulty].timeleft = (difficulties[currDifficulty].timeleft - _local1); if ((((difficulties[currDifficulty].timeleft <= 0)) && ((currDifficulty < (difficulties.length - 1))))){ currDifficulty++; }; } public function spawnTunnel(_arg1:int, _arg2:Number, _arg3:Number=0):Array{ var _local8:TunnelGate; var _local9:int; var _local4:Array = []; main.perfectTunnelCount = 0; var _local5:Number = -10; var _local6:Number = 320; if (Math.random() < 0.5){ _local6 = 80; }; var _local7:int; while (_local7 < 40) { _local8 = new TunnelGate(redball, main.obstacleLayer, main.jumpScoreLayer, 1, 70, _local6); _local8.x = ((_local7 * 200) + _arg3); if (_local7 == 0){ _local8.first = true; }; scrollers.push(_local8); obstacles.push(_local8); _local4.push(_local8); if (_local7 > 0){ _local4[(_local7 - 1)].nextGate = _local8; }; _local9 = 0; while (_local9 < 1) { _local6 = (_local6 + _local5); if (_local6 > 320){ _local5 = -(_arg2); }; if (_local6 < 80){ _local5 = _arg2; }; _local5 = (_local5 + ((Math.random() * _arg2) - (_arg2 * 0.5))); _local9++; }; _local7++; }; return (_local4); } public function spawnJump(_arg1:int=-1):BigJump{ var _local2:BigJump = new BigJump(redball, main.obstacleLayer, main.jumpScoreLayer, int(Math.floor((Math.random() * 3)))); if (_arg1 != -1){ _local2 = new BigJump(redball, main.obstacleLayer, main.jumpScoreLayer, _arg1); }; _local2.x = 6000; scrollers.push(_local2); obstacles.push(_local2); jumps.push(_local2); return (_local2); } public function resetDifficultyRamp():void{ var _local1:DifficultySetting; for each (_local1 in difficulties) { _local1.timeleft = _local1.time; }; currDifficulty = 0; lastTime = getTimer(); } public function spawnGateSet():void{ var _local2:int; var _local3:Gate; var _local1:int; while (_local1 < 10) { _local2 = Math.floor((Math.random() * 3)); _local3 = new Gate(redball, main.obstacleLayer, main.jumpScoreLayer, _local2, 90, ((_local2 * 100) + 100)); _local3.x = (_local3.x * (_local1 + 2)); scrollers.push(_local3); obstacles.push(_local3); _local1++; }; } public function spawnKillGate(_arg1:int=-1):KillGate{ var _local2:int = Math.floor((Math.random() * 3)); while (_local2 == _arg1) { _local2 = Math.floor((Math.random() * 3)); }; var _local3:KillGate = new KillGate(redball, main.obstacleLayer, main.jumpScoreLayer, _local2, 90, ((_local2 * 100) + 100)); scrollers.push(_local3); obstacles.push(_local3); return (_local3); } public function spawnGate():Gate{ var _local1:int = Math.floor((Math.random() * 3)); var _local2:Gate = new Gate(redball, main.obstacleLayer, main.jumpScoreLayer, _local1, 90, ((_local1 * 100) + 100)); scrollers.push(_local2); obstacles.push(_local2); return (_local2); } public function spawnScenery():void{ var _local1:Scenery = new Scenery(redball, main.sceneryLayer, main.heightmap, (main.lastHMX - 50), false); scrollers.push(_local1); } public function spawnJumpSet():void{ var _local2:BigJump; var _local1:int; while (_local1 < 5) { _local2 = spawnJump(); _local2.x = (_local2.x * (_local1 + 1)); _local1++; }; } public function spawnMediumSet():void{ var _local2:Scroller; var _local3:Array; var _local5:Number; var _local6:TunnelGate; var _local1:Number = 5000; var _local4:int; while (_local4 < 20) { _local5 = Math.random(); if (_local5 < 0.33){ _local2 = spawnJump(0); _local2.x = _local1; _local1 = (_local1 + 3000); } else { if (_local5 < 0.75){ _local2 = spawnGate(); _local2.x = _local1; _local1 = (_local1 + 2000); _local2 = spawnGate(); _local2.x = _local1; _local1 = (_local1 + 2000); } else { _local3 = spawnTunnel(20, 10); for each (_local6 in _local3) { _local6.x = (_local6.x + _local1); }; _local1 = (_local3[(_local3.length - 1)].x + 2000); }; }; _local4++; }; } public function spawnNewShitDiffRamp(_arg1:Number):void{ spawnUsingSetting(difficulties[currDifficulty], _arg1); } public function spawnHardSet(_arg1:Number):void{ var _local3:Scroller; var _local4:Array; var _local6:Number; var _local7:TunnelGate; var _local2:Number = (_arg1 + 2000); var _local5:int; while (_local5 < 2) { _local6 = Math.random(); if (_local6 < 0.2){ _local3 = spawnJump((Math.random() * 2)); _local3.x = _local2; _local2 = (_local2 + 2000); } else { if (_local6 < 0.1){ _local3 = spawnKillGate(); _local3.x = _local2; _local2 = (_local2 + 2000); } else { if (_local6 < 0.9){ _local3 = spawnGate(); _local3.x = _local2; _local2 = (_local2 + 2000); _local3 = spawnGate(); _local3.x = _local2; _local2 = (_local2 + 2000); } else { _local4 = spawnTunnel(40, 10); for each (_local7 in _local4) { _local7.x = (_local7.x + _local2); }; _local2 = (_local4[(_local4.length - 1)].x + 2000); }; }; }; _local5++; }; } } }//package class DifficultySetting { public var tunnelRate:Number; public var killgateRate:Number; public var gateRate:Number; public var time:int; public var jumpRate:Number; public var timeleft:int; public var tunnelLength:int; public var tunnelVariance:Number; private function DifficultySetting(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int, _arg5:Number, _arg6:Number, _arg7:int){ var _local8:Number = (((_arg1 + _arg2) + _arg3) + _arg6); gateRate = (_arg1 / _local8); killgateRate = (_arg2 / _local8); tunnelRate = (_arg3 / _local8); jumpRate = (_arg6 / _local8); tunnelLength = _arg4; tunnelVariance = _arg5; time = (_arg7 * 1000); timeleft = (_arg7 * 1000); } }
Section 160
//TipManager (TipManager) package { import flash.utils.*; import General.*; import SWFStats.*; public class TipManager { public static var tunnelGates:int; public static var possibleTips:Array; public static var lastTime:uint; public static var timeAccum:uint; public static var bestOffscreenJump:int; public static var musicOut:Boolean; public static var speedAccum:uint; public static var gatesHit:int; public static var frameAccum:uint; public static var mouseDownFrames:uint; public static var jumpedOffScreen:Boolean; public static var gatesJumped:int; public static var tunnelGatesHit:int; public static function Signal_tunnelGatePassed(_arg1:Boolean):void{ tunnelGates++; if (_arg1){ tunnelGatesHit++; }; } public static function Check_averageFPS():void{ var _local1:Number; if (timeAccum > 10000){ _local1 = (frameAccum / (timeAccum / 1000)); trace(("AVE FPS: " + _local1)); if (_local1 < 27){ possibleTips.push("badFPS"); }; }; } public static function Died_killgate():void{ possibleTips.push("gateDie"); } public static function dispenseWithTheTip():String{ var _local2:String; var _local1 = ""; Check_averageSpeed(); Check_buttonHoldDown(); Check_gatesJumped(); Check_offscreenJumps(); Check_tunnelGatesMissed(); Check_averageFPS(); if ((((possibleTips.length < 1)) && (musicOut))){ possibleTips.push("musicOut"); }; trace(possibleTips); for each (_local2 in possibleTips) { Log.CustomMetric(_local2, "Tips"); }; if (possibleTips.length > 0){ _local1 = possibleTips[Math.floor((Math.random() * possibleTips.length))]; }; return (_local1); } public static function Signal_musicOut():void{ musicOut = true; } public static function update(_arg1:HeightmapRunner):void{ var _local2:int = (getTimer() - lastTime); lastTime = getTimer(); speedAccum = (speedAccum + _arg1.speed); timeAccum = (timeAccum + _local2); frameAccum++; if (Input.mouseDown){ mouseDownFrames++; }; } public static function Check_buttonHoldDown():void{ if ((mouseDownFrames / frameAccum) > 0.9){ possibleTips.push("clickHold"); }; } public static function Died_checkForJump(_arg1:HeightmapRunner, _arg2:Array):void{ var _local3:BigJump; for each (_local3 in _arg2) { if ((((_arg1.x > (_local3.x - 100))) && ((_arg1.x < ((_local3.x + _local3.wwidth) + (10 * _arg1.speed)))))){ possibleTips.push("jumpDie"); }; }; } public static function Check_gatesJumped():void{ if ((((gatesHit > 10)) && ((gatesJumped < 30)))){ if ((gatesJumped / gatesHit) < 0.2){ possibleTips.push("gateJump"); }; }; } public static function initi():void{ possibleTips = new Array(); speedAccum = 0; timeAccum = 0; frameAccum = 0; mouseDownFrames = 0; gatesHit = 0; gatesJumped = 0; tunnelGates = 0; tunnelGatesHit = 0; jumpedOffScreen = false; bestOffscreenJump = 0; musicOut = false; lastTime = getTimer(); } public static function Check_averageSpeed():void{ var _local1:Number; if (timeAccum > 10000){ _local1 = (speedAccum / frameAccum); if (_local1 < 24){ possibleTips.push("badSpeed"); }; }; } public static function Check_tunnelGatesMissed():void{ if (tunnelGates > 40){ if (((((tunnelGatesHit / tunnelGates) > 0.5)) && (((tunnelGatesHit / tunnelGates) < 0.85)))){ possibleTips.push("tunnelMiss"); }; }; } public static function Check_offscreenJumps():void{ if (timeAccum > 20000){ if (!jumpedOffScreen){ possibleTips.push("jumpMiss"); } else { if (bestOffscreenJump < 3){ possibleTips.push("jumpLow"); }; }; }; } public static function Signal_offscreenJump(_arg1:int):void{ jumpedOffScreen = true; if (bestOffscreenJump < _arg1){ bestOffscreenJump = _arg1; }; } public static function Died_drewOverSelf():void{ possibleTips.push("drawDie"); } public static function Signal_gateHit(_arg1:Boolean):void{ gatesHit++; if (!_arg1){ gatesJumped++; }; } } }//package
Section 161
//TunnelGate (TunnelGate) package { import flash.display.*; public class TunnelGate extends Gate { public var crossedGates:int;// = 0 public var tgateC:Class; public var nextGate:TunnelGate; public var blinkTimer:int;// = 3 public var tgateMissC:Class; public var tgateHitC:Class; public var first:Boolean;// = false public var totalGates:int;// = 0 public var gateIncomingBlueC:Class; public var grayBlankC:Class; public function TunnelGate(_arg1:HeightmapRunner, _arg2:Sprite, _arg3:Sprite, _arg4:int, _arg5:Number, _arg6:Number){ gateIncomingBlueC = TunnelGate_gateIncomingBlueC; tgateC = TunnelGate_tgateC; tgateHitC = TunnelGate_tgateHitC; tgateMissC = TunnelGate_tgateMissC; grayBlankC = TunnelGate_grayBlankC; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); incomingCover = new grayBlankC(); incomingCover.txt_meters.visible = false; incomingGraphic = new gateIncomingBlueC(); rangeText = null; incomingGraphic.y = y; addChild(new tgateC()); } override public function success():void{ SoundMgr.playSound("tunnelHit"); if (runner.boostTimer < 30){ runner.boostTimer = (runner.boostTimer + 3); }; MainRef.ref.tunnelGateHit(); removeChildAt(0); addChild(new tgateHitC()); if (nextGate == null){ MainRef.ref.scorekeeper.tunnelComplete((totalGates + 1), (crossedGates + 1)); } else { nextGate.totalGates = (totalGates + 1); nextGate.crossedGates = (crossedGates + 1); }; TipManager.Signal_tunnelGatePassed(true); } override public function failure():void{ MainRef.ref.scorekeeper.tunnelGateMiss(); removeChildAt(0); addChild(new tgateMissC()); if (nextGate == null){ MainRef.ref.scorekeeper.tunnelComplete((totalGates + 1), crossedGates); } else { nextGate.totalGates = (totalGates + 1); nextGate.crossedGates = crossedGates; }; TipManager.Signal_tunnelGatePassed(false); } override public function update():void{ super.update(); if (((((first) && ((range < 500)))) && ((x > 0x0300)))){ incomingGraphic.y = (incomingGraphic.y + ((y - incomingGraphic.y) * 0.1)); blinkTimer--; if (blinkTimer <= 0){ blinkTimer = 3; incomingGraphic.visible = !(incomingGraphic.visible); incomingGraphic.visible = true; }; } else { if (((((first) && (nextGate))) && ((range < 500)))){ nextGate.incomingGraphic.y = incomingGraphic.y; nextGate.first = true; first = false; }; incomingGraphic.visible = false; }; } } }//package
Section 162
//TunnelGate_gateIncomingBlueC (TunnelGate_gateIncomingBlueC) package { import flash.display.*; import mx.core.*; public class TunnelGate_gateIncomingBlueC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 163
//TunnelGate_grayBlankC (TunnelGate_grayBlankC) package { import flash.display.*; import mx.core.*; public class TunnelGate_grayBlankC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 164
//TunnelGate_tgateC (TunnelGate_tgateC) package { import flash.display.*; import mx.core.*; public class TunnelGate_tgateC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 165
//TunnelGate_tgateHitC (TunnelGate_tgateHitC) package { import flash.display.*; import mx.core.*; public class TunnelGate_tgateHitC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package
Section 166
//TunnelGate_tgateMissC (TunnelGate_tgateMissC) package { import flash.display.*; import mx.core.*; public class TunnelGate_tgateMissC extends SpriteAsset { public var txt_timeList:DisplayObject; public var popup1:DisplayObject; public var mountains:DisplayObject; public var popup3:DisplayObject; public var skier:DisplayObject; public var txt_bonus:DisplayObject; public var trees:DisplayObject; public var btn_twitter:DisplayObject; public var btn_next:DisplayObject; public var btn_leaderboards:DisplayObject; public var credits:DisplayObject; public var txt_score:DisplayObject; public var options:DisplayObject; public var txt_mult:DisplayObject; public var btn_sfxOn:DisplayObject; public var btn_aaOn:DisplayObject; public var btn_bgmOn:DisplayObject; public var txt_bonusCopy:DisplayObject; public var skierFalling:DisplayObject; public var btn_restart:DisplayObject; public var btn_prev:DisplayObject; public var btn_sponsor:DisplayObject; public var tips:DisplayObject; public var txt_meters:DisplayObject; public var btn_stump:DisplayObject; public var txt_time:DisplayObject; public var armor:DisplayObject; public var txt_scoreList:DisplayObject; public var btn_facebook:DisplayObject; public var popup:DisplayObject; public var btn_options:DisplayObject; public var txt_mph:DisplayObject; public var clouds:DisplayObject; public var share:DisplayObject; public var btn_mikengreg:DisplayObject; public var btn_mobile:DisplayObject; public var board:DisplayObject; public var btn_blurOn:DisplayObject; public var btn_back:DisplayObject; public var txt_loading:DisplayObject; public var head:DisplayObject; public var btn_resume:DisplayObject; public var popup2:DisplayObject; public var flip:DisplayObject; public var leaderboard:DisplayObject; } }//package

Library Items

Symbol 1 GraphicUsed by:13
Symbol 2 ShapeTweeningUsed by:13
Symbol 3 GraphicUsed by:13
Symbol 4 GraphicUsed by:13
Symbol 5 GraphicUsed by:13
Symbol 6 FontUsed by:7 271 272 273 274 275 278 288 290 294 297 302 304 309 312 317 320 322 326 328 330 335 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 372 373 374 375 376 377 378 379 380 381 390 392 393 394 397 398 399 400 401 402 404 407 408 409 410 411 413 414 417 420 423 426 436 437 438 439 440 461 465 467 469 570 571 572 573 574 576 577 580 583 586 590 592 596 599 604 607 617 621 623 625 630 633 639 640 641 642 643 644 645 646 647 648 659 660 661 663 665 671 674 676 680 682 684 689 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 719 721 722 723 726 727 728 729 730 731 733 736 737 738 747
Symbol 7 EditableTextUses:6Used by:13
Symbol 8 GraphicUsed by:13
Symbol 9 ShapeTweeningUsed by:13
Symbol 10 ShapeTweeningUsed by:13
Symbol 11 ShapeTweeningUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip {SolipskierNewgrounds_preloaderC} [intro_preloader]Uses:1 2 3 4 5 7 8 9 10 11 12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip {Main_snowflakeC} [ui_snowCursor]Uses:14
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:24
Symbol 18 ShapeTweeningUsed by:24
Symbol 19 GraphicUsed by:20
Symbol 20 ButtonUses:19Used by:24 894
Symbol 21 GraphicUsed by:24
Symbol 22 ShapeTweeningUsed by:24
Symbol 23 GraphicUsed by:24 867 894 895
Symbol 24 MovieClip {Main_mikengregIntroC} [intro_mikengreg]Uses:17 18 20 21 22 23
Symbol 25 GraphicUsed by:29
Symbol 26 FontUsed by:27 226 227 496 500 501 502 503 504 505 506 507 521 525 526 529 540 543 549 552 555 753 754 755 756 757 760 762 768 770 776 780 784 786 791 792 793 794 795 797 798 801 804 807 809 811 815 818 824 825 826 827 828 829 830 831 832 833 843 847 850 897 898 899 900 901 904 907 909 913 915 917 922 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 952 954 955 956 959 960 961 962 963 964 966
Symbol 27 TextUses:26Used by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:25 27 28Used by:30
Symbol 30 MovieClip {Main_ui_titleC} [ui_title]Uses:29
Symbol 31 GraphicUsed by:32 547
Symbol 32 MovieClip {Main_fx_flakeC} [fx_flake]Uses:31
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClip {Main_snowflakeActiveC} [ui_snowCursorActive]Uses:33
Symbol 35 GraphicUsed by:67 70
Symbol 36 GraphicUsed by:67
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:67
Symbol 40 GraphicUsed by:67
Symbol 41 GraphicUsed by:42 43
Symbol 42 MovieClipUses:41Used by:67
Symbol 43 MovieClipUses:41Used by:67
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:65
Symbol 46 GraphicUsed by:50
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:50 53
Symbol 50 MovieClipUses:46 47 49Used by:64
Symbol 51 GraphicUsed by:53
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:51 52 49Used by:64
Symbol 54 GraphicUsed by:57
Symbol 55 GraphicUsed by:57 60
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:54 55 56Used by:61
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:58 55 59Used by:61
Symbol 61 MovieClipUses:57 60Used by:64
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 MovieClipUses:50 53 61 63Used by:65
Symbol 65 MovieClipUses:45 64Used by:67
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:35 36 39 40 42 43 65 66Used by:70
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClip {NewgroundsMain_ngIntroC} [intro_newgrounds]Uses:35 67 69
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:77 86
Symbol 73 GraphicUsed by:74 78
Symbol 74 MovieClipUses:73Used by:77 86
Symbol 75 GraphicUsed by:76 81
Symbol 76 MovieClipUses:75Used by:77 86
Symbol 77 MovieClip {BGManagerFastest_bgUpC} [ui_bgUp]Uses:72 74 76
Symbol 78 MovieClip {BGManagerFastest_bg1C} [bg1_mountains]Uses:73
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip {BGManagerFastest_bg0C} [bg0_clouds]Uses:79
Symbol 81 MovieClip {BGManagerFastest_bg2C} [bg2_treeline]Uses:75
Symbol 82 ShapeTweeningUsed by:86
Symbol 83 ShapeTweeningUsed by:86
Symbol 84 GraphicUsed by:86 787
Symbol 85 GraphicUsed by:86 968
Symbol 86 MovieClip {BGManagerFastest_bgDownC} [ui_bgDown]Uses:72 74 76 82 83 84 85
Symbol 87 Sound {SoundMgr_sfx_gateMissC} [sfx_gateMiss]
Symbol 88 Sound {SoundMgr_bgm_windSoundC} [bgm_windSound]
Symbol 89 Sound {SoundMgr_sfx_jumpLandingC} [sfx_jumpLanding]
Symbol 90 Sound {SoundMgr_sfx_speedBoostC} [sfx_speedBoost]
Symbol 91 Sound {SoundMgr_sfx_recordScratch} [sfx_recordScratch]
Symbol 92 Sound {SoundMgr_sfx_jumpTrick} [sfx_jumpTrick]
Symbol 93 Sound {SoundMgr_bgm_chopinEtude} [bgm_chopinEtude]
Symbol 94 Sound {SoundMgr_sfx_gatePickupC} [sfx_gatePickup]
Symbol 95 Sound {SoundMgr_sfx_skiNoiseC} [sfx_skiNoise]
Symbol 96 Sound {SoundMgr_bgm_speedMetal} [bgm_speedMetal]
Symbol 97 Sound {SoundMgr_sfx_tunnelHitC} [sfx_tunnelHit]
Symbol 98 Sound {SoundMgr_sfx_jumpCheer2C} [sfx_jumpCheer2]
Symbol 99 Sound {SoundMgr_sfx_gateKillC} [SoundMgr_sfx_gateKillC]
Symbol 100 Sound {SoundMgr_sfx_jumpCheer1C} [sfx_jumpCheer1]
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClip {HeightmapRunner_headphonesC} [actor_headPhones]Uses:101Used by:166
Symbol 103 GraphicUsed by:112
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:112 123 126 141 156 166 209 212 224 230
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:112 123 126 141 156 166 209 212 224 230
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:112 123 126 141 156 166 209 212 224 230
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:112 123 126 141 156 166 209 212 224 230 266
Symbol 112 MovieClipUses:103 105 107 109 111Used by:113
Symbol 113 MovieClip {HeightmapRunner_trick2C} [actor_skier_airFlip]Uses:112
Symbol 114 GraphicUsed by:119
Symbol 115 GraphicUsed by:119 518
Symbol 116 GraphicUsed by:119
Symbol 117 GraphicUsed by:119
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClip {HeightmapRunner_fx_starsC} [fx_stars]Uses:114 115 116 117 118
Symbol 120 GraphicUsed by:123
Symbol 121 GraphicUsed by:123
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {HeightmapRunner_trick1C} [actor_skier_airBackscratch]Uses:105 120 109 121 111 122 107
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClip {HeightmapRunner_skierAirC} [actor_skier_air]Uses:105 124 107 109 125 111
Symbol 127 GraphicUsed by:141
Symbol 128 GraphicUsed by:141
Symbol 129 GraphicUsed by:141
Symbol 130 GraphicUsed by:141
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:141
Symbol 133 GraphicUsed by:141
Symbol 134 GraphicUsed by:141
Symbol 135 GraphicUsed by:141
Symbol 136 GraphicUsed by:141
Symbol 137 GraphicUsed by:141
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:141
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip {HeightmapRunner_trick3C} [actor_skier_airHelicopter]Uses:105 127 109 128 111 129 107 130 132 133 134 135 136 137 139 140
Symbol 142 ShapeTweeningUsed by:156
Symbol 143 ShapeTweeningUsed by:156
Symbol 144 ShapeTweeningUsed by:156
Symbol 145 ShapeTweeningUsed by:156
Symbol 146 ShapeTweeningUsed by:156
Symbol 147 ShapeTweeningUsed by:156
Symbol 148 ShapeTweeningUsed by:156
Symbol 149 ShapeTweeningUsed by:156
Symbol 150 ShapeTweeningUsed by:156
Symbol 151 ShapeTweeningUsed by:156
Symbol 152 ShapeTweeningUsed by:156
Symbol 153 ShapeTweeningUsed by:156
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClip {HeightmapRunner_skierFastC} [actor_skier_groundFast]Uses:105 142 107 109 143 144 111 145 146 147 148 149 150 151 152 153 154 155
Symbol 157 GraphicUsed by:166 230
Symbol 158 ShapeTweeningUsed by:166
Symbol 159 ShapeTweeningUsed by:166
Symbol 160 GraphicUsed by:166
Symbol 161 ShapeTweeningUsed by:166
Symbol 162 GraphicUsed by:166
Symbol 163 GraphicUsed by:166
Symbol 164 ShapeTweeningUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip {HeightmapRunner_headphonesPutOnC} [actor_skier_groundHeadphones]Uses:105 157 107 158 111 102 109 159 160 161 162 163 164 165
Symbol 167 ShapeTweeningUsed by:209
Symbol 168 ShapeTweeningUsed by:209
Symbol 169 ShapeTweeningUsed by:209
Symbol 170 ShapeTweeningUsed by:209
Symbol 171 ShapeTweeningUsed by:209
Symbol 172 ShapeTweeningUsed by:209
Symbol 173 ShapeTweeningUsed by:209
Symbol 174 ShapeTweeningUsed by:209
Symbol 175 ShapeTweeningUsed by:209
Symbol 176 ShapeTweeningUsed by:209
Symbol 177 ShapeTweeningUsed by:209
Symbol 178 ShapeTweeningUsed by:209
Symbol 179 ShapeTweeningUsed by:209
Symbol 180 ShapeTweeningUsed by:209
Symbol 181 ShapeTweeningUsed by:209
Symbol 182 ShapeTweeningUsed by:209
Symbol 183 ShapeTweeningUsed by:209
Symbol 184 ShapeTweeningUsed by:209
Symbol 185 ShapeTweeningUsed by:209
Symbol 186 ShapeTweeningUsed by:209
Symbol 187 GraphicUsed by:209
Symbol 188 ShapeTweeningUsed by:209
Symbol 189 ShapeTweeningUsed by:209
Symbol 190 ShapeTweeningUsed by:209
Symbol 191 GraphicUsed by:209
Symbol 192 GraphicUsed by:209
Symbol 193 GraphicUsed by:209
Symbol 194 ShapeTweeningUsed by:209
Symbol 195 ShapeTweeningUsed by:209
Symbol 196 ShapeTweeningUsed by:209
Symbol 197 ShapeTweeningUsed by:209
Symbol 198 GraphicUsed by:209
Symbol 199 GraphicUsed by:209
Symbol 200 ShapeTweeningUsed by:209
Symbol 201 ShapeTweeningUsed by:209
Symbol 202 GraphicUsed by:209
Symbol 203 GraphicUsed by:209
Symbol 204 GraphicUsed by:209
Symbol 205 GraphicUsed by:209
Symbol 206 GraphicUsed by:209
Symbol 207 GraphicUsed by:209
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClip {HeightmapRunner_skierGroundSlowC} [actor_skier_groundSlow]Uses:105 167 168 107 169 111 109 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
Symbol 210 GraphicUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClip {HeightmapRunner_trick4C} [actor_skier_airSpreadEagle]Uses:105 210 107 109 211 111
Symbol 213 GraphicUsed by:224
Symbol 214 ShapeTweeningUsed by:224
Symbol 215 ShapeTweeningUsed by:224
Symbol 216 ShapeTweeningUsed by:224
Symbol 217 ShapeTweeningUsed by:224
Symbol 218 ShapeTweeningUsed by:224
Symbol 219 ShapeTweeningUsed by:224
Symbol 220 ShapeTweeningUsed by:224
Symbol 221 GraphicUsed by:224
Symbol 222 GraphicUsed by:224
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClip {HeightmapRunner_skierKilledC} [actor_skier_killed]Uses:105 213 214 107 109 215 216 111 217 218 219 220 221 222 223
Symbol 225 GraphicUsed by:228
Symbol 226 TextUses:26Used by:228 249 253 255 259 566
Symbol 227 EditableTextUses:26Used by:228 249 253 255 259 532 559
Symbol 228 MovieClip {HeightmapRunner_arrowSkierC} [hud_arrowSkier]Uses:225 226 227
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClip {HeightmapRunner_skierGroundC} [actor_skier_ground]Uses:105 157 107 109 229 111
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClip {SceneryMgr_snowboardC} [bg_snowboard]Uses:231
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip {SceneryMgr_tree4C} [bg_tree4]Uses:233
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClip {SceneryMgr_tree1C} [bg_tree1]Uses:235
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClip {SceneryMgr_lodgeC} [bg_lodge]Uses:237
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClip {SceneryMgr_skisC} [bg_skis]Uses:239
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClip {SceneryMgr_outhouseC} [bg_outhouse]Uses:241
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClip {SceneryMgr_tree2C} [bg_tree2]Uses:243
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClip {SceneryMgr_tree3C} [bg_tree3]Uses:245
Symbol 247 GraphicUsed by:249
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClip {Gate_gateIncomingRedC} [hud_arrowRed]Uses:247 226 248 227
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClip {Gate_gateMissC} [ob_gate_greenMiss]Uses:250
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClip {Gate_gateIncomingYellowC} [hud_arrowYellow]Uses:252 226 227
Symbol 254 GraphicUsed by:255 559
Symbol 255 MovieClip {Gate_incomingCoverC} [hud_arrowGray]Uses:254 226 227
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClip {Gate_gateHitC} [ob_gate_greenHit]Uses:256
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClip {Gate_gateIncomingGreenC} [hud_arrowGreen]Uses:258 226 227
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClip {Gate_gateC} [ob_gate_green]Uses:260
Symbol 262 GraphicUsed by:458
Symbol 263 GraphicUsed by:266
Symbol 264 GraphicUsed by:266
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:263 111 264 265Used by:267
Symbol 267 MovieClipUses:266Used by:458 751 968
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268Used by:457 458 751 968
Symbol 270 GraphicUsed by:316
Symbol 271 TextUses:6Used by:316
Symbol 272 TextUses:6Used by:316
Symbol 273 TextUses:6Used by:316
Symbol 274 EditableTextUses:6Used by:316 670
Symbol 275 EditableTextUses:6Used by:316 670
Symbol 276 GraphicUsed by:316
Symbol 277 GraphicUsed by:292
Symbol 278 TextUses:6Used by:292
Symbol 279 GraphicUsed by:286
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282
Symbol 282 MovieClipUses:281Used by:286
Symbol 283 GraphicUsed by:286
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:286
Symbol 286 MovieClipUses:279 282 283 285Used by:292
Symbol 287 GraphicUsed by:292
Symbol 288 TextUses:6Used by:292
Symbol 289 GraphicUsed by:292
Symbol 290 TextUses:6Used by:292
Symbol 291 GraphicUsed by:292
Symbol 292 ButtonUses:277 278 286 287 288 289 290 291Used by:316 434 449 474
Symbol 293 GraphicUsed by:300
Symbol 294 TextUses:6Used by:300
Symbol 295 GraphicUsed by:300
Symbol 296 GraphicUsed by:300
Symbol 297 TextUses:6Used by:300
Symbol 298 GraphicUsed by:300
Symbol 299 GraphicUsed by:300
Symbol 300 ButtonUses:293 294 295 296 297 298 299Used by:316 434
Symbol 301 GraphicUsed by:308 315 324
Symbol 302 TextUses:6Used by:308
Symbol 303 GraphicUsed by:308
Symbol 304 TextUses:6Used by:308
Symbol 305 GraphicUsed by:308
Symbol 306 GraphicUsed by:308
Symbol 307 GraphicUsed by:308
Symbol 308 ButtonUses:301 302 303 304 305 306 307Used by:316 449
Symbol 309 TextUses:6Used by:315
Symbol 310 GraphicUsed by:315
Symbol 311 GraphicUsed by:315
Symbol 312 TextUses:6Used by:315
Symbol 313 GraphicUsed by:315
Symbol 314 GraphicUsed by:315
Symbol 315 ButtonUses:301 309 310 311 312 313 314Used by:316 474
Symbol 316 MovieClipUses:270 271 272 273 274 275 276 292 300 308 315Used by:458
Symbol 317 TextUses:6Used by:324
Symbol 318 GraphicUsed by:324
Symbol 319 GraphicUsed by:324
Symbol 320 TextUses:6Used by:324
Symbol 321 GraphicUsed by:324
Symbol 322 TextUses:6Used by:324
Symbol 323 GraphicUsed by:324
Symbol 324 ButtonUses:301 317 318 319 320 321 322 323Used by:360
Symbol 325 GraphicUsed by:333
Symbol 326 TextUses:6Used by:333
Symbol 327 GraphicUsed by:333
Symbol 328 TextUses:6Used by:333
Symbol 329 GraphicUsed by:333
Symbol 330 TextUses:6Used by:333
Symbol 331 GraphicUsed by:333
Symbol 332 GraphicUsed by:333
Symbol 333 ButtonUses:325 326 327 328 329 330 331 332Used by:360
Symbol 334 GraphicUsed by:360
Symbol 335 TextUses:6Used by:360
Symbol 336 GraphicUsed by:360
Symbol 337 TextUses:6Used by:359
Symbol 338 TextUses:6Used by:359
Symbol 339 TextUses:6Used by:359
Symbol 340 TextUses:6Used by:359
Symbol 341 TextUses:6Used by:359
Symbol 342 TextUses:6Used by:359
Symbol 343 TextUses:6Used by:359
Symbol 344 TextUses:6Used by:359
Symbol 345 TextUses:6Used by:359
Symbol 346 TextUses:6Used by:359
Symbol 347 TextUses:6Used by:359
Symbol 348 TextUses:6Used by:359
Symbol 349 TextUses:6Used by:359
Symbol 350 TextUses:6Used by:359
Symbol 351 TextUses:6Used by:359
Symbol 352 TextUses:6Used by:359
Symbol 353 TextUses:6Used by:359
Symbol 354 TextUses:6Used by:359
Symbol 355 TextUses:6Used by:359
Symbol 356 TextUses:6Used by:359
Symbol 357 TextUses:6Used by:359
Symbol 358 TextUses:6Used by:359
Symbol 359 MovieClipUses:337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358Used by:360
Symbol 360 MovieClipUses:324 333 334 335 336 359Used by:458
Symbol 361 GraphicUsed by:388
Symbol 362 GraphicUsed by:365
Symbol 363 GraphicUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 ButtonUses:362 363 364Used by:388 717 950
Symbol 366 GraphicUsed by:369
Symbol 367 GraphicUsed by:369
Symbol 368 GraphicUsed by:369
Symbol 369 ButtonUses:366 367 368Used by:388 717 950
Symbol 370 GraphicUsed by:388
Symbol 371 GraphicUsed by:387
Symbol 372 TextUses:6Used by:387
Symbol 373 TextUses:6Used by:387
Symbol 374 TextUses:6Used by:387
Symbol 375 TextUses:6Used by:387
Symbol 376 TextUses:6Used by:387
Symbol 377 TextUses:6Used by:387
Symbol 378 TextUses:6Used by:387
Symbol 379 TextUses:6Used by:387
Symbol 380 TextUses:6Used by:387
Symbol 381 TextUses:6Used by:387
Symbol 382 GraphicUsed by:387
Symbol 383 GraphicUsed by:387
Symbol 384 GraphicUsed by:387
Symbol 385 GraphicUsed by:387
Symbol 386 GraphicUsed by:387
Symbol 387 ButtonUses:371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386Used by:388 474
Symbol 388 MovieClipUses:361 365 369 370 387Used by:458
Symbol 389 GraphicUsed by:405
Symbol 390 TextUses:6Used by:405
Symbol 391 GraphicUsed by:405
Symbol 392 TextUses:6Used by:405
Symbol 393 TextUses:6Used by:396
Symbol 394 TextUses:6Used by:396
Symbol 395 GraphicUsed by:396 403
Symbol 396 ButtonUses:393 394 395Used by:405
Symbol 397 TextUses:6Used by:403
Symbol 398 TextUses:6Used by:403
Symbol 399 TextUses:6Used by:403
Symbol 400 TextUses:6Used by:403
Symbol 401 TextUses:6Used by:403
Symbol 402 TextUses:6Used by:403
Symbol 403 ButtonUses:397 398 399 400 401 402 395Used by:405
Symbol 404 TextUses:6Used by:405
Symbol 405 MovieClipUses:389 390 391 392 396 403 404Used by:458
Symbol 406 GraphicUsed by:434
Symbol 407 TextUses:6Used by:434
Symbol 408 TextUses:6Used by:434 474
Symbol 409 TextUses:6Used by:434 474
Symbol 410 TextUses:6Used by:434 474
Symbol 411 TextUses:6Used by:434 474
Symbol 412 GraphicUsed by:434
Symbol 413 TextUses:6Used by:434 474
Symbol 414 TextUses:6Used by:434 474
Symbol 415 GraphicUsed by:434
Symbol 416 GraphicUsed by:418
Symbol 417 TextUses:6Used by:418
Symbol 418 ButtonUses:416 417Used by:434 474
Symbol 419 GraphicUsed by:421
Symbol 420 TextUses:6Used by:421
Symbol 421 ButtonUses:419 420Used by:434 474
Symbol 422 GraphicUsed by:432
Symbol 423 TextUses:6Used by:432 447
Symbol 424 GraphicUsed by:432
Symbol 425 GraphicUsed by:432
Symbol 426 TextUses:6Used by:432 447
Symbol 427 GraphicUsed by:432
Symbol 428 GraphicUsed by:432
Symbol 429 GraphicUsed by:432
Symbol 430 GraphicUsed by:432
Symbol 431 GraphicUsed by:432
Symbol 432 ButtonUses:422 423 424 425 426 427 428 429 430 431Used by:434
Symbol 433 GraphicUsed by:434
Symbol 434 MovieClipUses:406 407 408 409 410 411 412 413 414 415 418 421 292 300 432 433Used by:458 476
Symbol 435 GraphicUsed by:449
Symbol 436 TextUses:6Used by:449
Symbol 437 TextUses:6Used by:449
Symbol 438 TextUses:6Used by:449
Symbol 439 EditableTextUses:6Used by:449 750
Symbol 440 EditableTextUses:6Used by:449 750
Symbol 441 GraphicUsed by:449
Symbol 442 GraphicUsed by:447
Symbol 443 GraphicUsed by:447
Symbol 444 GraphicUsed by:447
Symbol 445 GraphicUsed by:447
Symbol 446 GraphicUsed by:447
Symbol 447 ButtonUses:442 423 443 426 444 445 446Used by:449
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:435 436 437 438 439 440 441 308 447 448 292Used by:458 459
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClipUses:450Used by:457 458 751 968
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452Used by:457
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:457
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:269 451 453 455 456Used by:458 751 968
Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver]Uses:262 267 269 316 360 388 405 434 449 451 457
Symbol 459 MovieClip {ArmorMain_ui_leaderboardC_ARMOR} [ui_leaderboard]Uses:449
Symbol 460 GraphicUsed by:474
Symbol 461 TextUses:6Used by:474
Symbol 462 GraphicUsed by:474
Symbol 463 GraphicUsed by:474
Symbol 464 GraphicUsed by:472
Symbol 465 TextUses:6Used by:472
Symbol 466 GraphicUsed by:472
Symbol 467 TextUses:6Used by:472
Symbol 468 GraphicUsed by:472
Symbol 469 TextUses:6Used by:472
Symbol 470 GraphicUsed by:472
Symbol 471 GraphicUsed by:472
Symbol 472 ButtonUses:464 465 466 467 468 469 470 471Used by:474
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClipUses:460 461 408 409 410 411 462 413 414 463 418 421 292 472 315 473 387Used by:475 476
Symbol 475 MovieClip {ArmorMain_ui_pauseC_ARMOR} [ui_pause]Uses:474
Symbol 476 MovieClip {ArmorMain_ui_optionsC_ARMOR} [ui_options]Uses:434 474
Symbol 477 GraphicUsed by:494
Symbol 478 GraphicUsed by:493
Symbol 479 GraphicUsed by:493
Symbol 480 GraphicUsed by:493
Symbol 481 SoundUsed by:493
Symbol 482 SoundUsed by:493
Symbol 483 GraphicUsed by:493
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:493
Symbol 486 SoundUsed by:493
Symbol 487 SoundUsed by:493
Symbol 488 SoundUsed by:493
Symbol 489 GraphicUsed by:490
Symbol 490 ButtonUses:489Used by:493
Symbol 491 SoundUsed by:493
Symbol 492 SoundUsed by:493
Symbol 493 MovieClipUses:478 479 480 481 482 483 485 486 487 488 490 491 492Used by:494
Symbol 494 MovieClip {ArmorMain_armorIntroC} [intro_kong]Uses:477 493
Symbol 495 GraphicUsed by:497
Symbol 496 EditableTextUses:26Used by:497
Symbol 497 MovieClipUses:495 496Used by:498
Symbol 498 MovieClip {Scorekeeper_hud_pu_basicC} [hud_pu_basic]Uses:497
Symbol 499 GraphicUsed by:508
Symbol 500 EditableTextUses:26Used by:508
Symbol 501 TextUses:26Used by:508
Symbol 502 TextUses:26Used by:508
Symbol 503 TextUses:26Used by:508
Symbol 504 EditableTextUses:26Used by:508
Symbol 505 TextUses:26Used by:508
Symbol 506 TextUses:26Used by:508
Symbol 507 EditableTextUses:26Used by:508
Symbol 508 MovieClip {Scorekeeper_hud_scoreC} [hud_score]Uses:499 500 501 502 503 504 505 506 507
Symbol 509 GraphicUsed by:518
Symbol 510 GraphicUsed by:518
Symbol 511 GraphicUsed by:518
Symbol 512 GraphicUsed by:518
Symbol 513 GraphicUsed by:518
Symbol 514 GraphicUsed by:518
Symbol 515 GraphicUsed by:518
Symbol 516 GraphicUsed by:518
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:115 509 510 511 512 513 514 515 516 517Used by:519
Symbol 519 MovieClip {Scorekeeper_hud_pu_starC} [hud_pu_star]Uses:518
Symbol 520 GraphicUsed by:522
Symbol 521 EditableTextUses:26Used by:522
Symbol 522 MovieClipUses:520 521Used by:523
Symbol 523 MovieClip {Scorekeeper_hud_pu_jumpC} [hud_pu_jump]Uses:522
Symbol 524 GraphicUsed by:527
Symbol 525 EditableTextUses:26Used by:527
Symbol 526 EditableTextUses:26Used by:527
Symbol 527 MovieClip {Scorekeeper_hud_bonusC} [hud_bonus]Uses:524 525 526
Symbol 528 GraphicUsed by:530
Symbol 529 EditableTextUses:26Used by:530
Symbol 530 MovieClip {BigJump_gateIncomingOrangeC} [hud_arrowOrange]Uses:528 529
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClip {BigJump_incomingCoverC} [hud_arrowGrayBlank]Uses:531 227
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClip {BigJump_jump400C} [ob_jump400]Uses:533
Symbol 535 GraphicUsed by:536
Symbol 536 MovieClip {BigJump_jump200C} [ob_jump200]Uses:535
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClip {BigJump_jump600C} [ob_jump600]Uses:537
Symbol 539 GraphicUsed by:541
Symbol 540 TextUses:26Used by:541
Symbol 541 MovieClipUses:539 540Used by:546
Symbol 542 GraphicUsed by:545
Symbol 543 TextUses:26Used by:545
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:542 543 544Used by:546
Symbol 546 MovieClip {BigJump_dangerSignC} [hud_pu_danger]Uses:541 545
Symbol 547 MovieClip {SceneryMgr_impactParticleC} [fx_snowImpact_ani]Uses:31
Symbol 548 GraphicUsed by:550
Symbol 549 TextUses:26Used by:550
Symbol 550 Button {OptionsBoard_ui_switchLoC} [ui_switchLo]Uses:548 549
Symbol 551 GraphicUsed by:553
Symbol 552 TextUses:26Used by:553
Symbol 553 Button {OptionsBoard_ui_switchOffC} [ui_switchOff]Uses:551 552
Symbol 554 GraphicUsed by:556
Symbol 555 EditableTextUses:26Used by:556
Symbol 556 MovieClip {TunnelGate_gateIncomingBlueC} [hud_arrowBlue]Uses:554 555
Symbol 557 GraphicUsed by:558
Symbol 558 MovieClip {TunnelGate_tgateHitC} [ob_gate_blueHit]Uses:557
Symbol 559 MovieClip {TunnelGate_grayBlankC} [hud_arrowGrayTunnel]Uses:254 227
Symbol 560 GraphicUsed by:561
Symbol 561 MovieClip {TunnelGate_tgateMissC} [ob_gate_blueMiss]Uses:560
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClip {TunnelGate_tgateC} [ob_gate_blue]Uses:562
Symbol 564 GraphicUsed by:566
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClip {KillGate_arrowRedBlankC} [hud_arrowRedBlank]Uses:564 226 565
Symbol 567 GraphicUsed by:568
Symbol 568 MovieClip {KillGate_gateRedC} [ob_gate_red]Uses:567
Symbol 569 GraphicUsed by:615
Symbol 570 TextUses:6Used by:615
Symbol 571 TextUses:6Used by:615 655
Symbol 572 TextUses:6Used by:615 655
Symbol 573 TextUses:6Used by:615 655
Symbol 574 TextUses:6Used by:615 655
Symbol 575 GraphicUsed by:615
Symbol 576 TextUses:6Used by:615 655
Symbol 577 TextUses:6Used by:615 655
Symbol 578 GraphicUsed by:615
Symbol 579 GraphicUsed by:581
Symbol 580 TextUses:6Used by:581
Symbol 581 ButtonUses:579 580Used by:615 655
Symbol 582 GraphicUsed by:584
Symbol 583 TextUses:6Used by:584
Symbol 584 ButtonUses:582 583Used by:615 655
Symbol 585 GraphicUsed by:594
Symbol 586 TextUses:6Used by:594
Symbol 587 GraphicUsed by:588
Symbol 588 MovieClipUses:587Used by:594
Symbol 589 GraphicUsed by:594
Symbol 590 TextUses:6Used by:594
Symbol 591 GraphicUsed by:594
Symbol 592 TextUses:6Used by:594
Symbol 593 GraphicUsed by:594
Symbol 594 ButtonUses:585 586 588 589 590 591 592 593Used by:615 655 670 750
Symbol 595 GraphicUsed by:602
Symbol 596 TextUses:6Used by:602
Symbol 597 GraphicUsed by:602
Symbol 598 GraphicUsed by:602
Symbol 599 TextUses:6Used by:602
Symbol 600 GraphicUsed by:602
Symbol 601 GraphicUsed by:602
Symbol 602 ButtonUses:595 596 597 598 599 600 601Used by:615 670
Symbol 603 GraphicUsed by:613
Symbol 604 TextUses:6Used by:613 745
Symbol 605 GraphicUsed by:613
Symbol 606 GraphicUsed by:613
Symbol 607 TextUses:6Used by:613 745
Symbol 608 GraphicUsed by:613
Symbol 609 GraphicUsed by:613
Symbol 610 GraphicUsed by:613
Symbol 611 GraphicUsed by:613
Symbol 612 GraphicUsed by:613
Symbol 613 ButtonUses:603 604 605 606 607 608 609 610 611 612Used by:615
Symbol 614 GraphicUsed by:615
Symbol 615 MovieClipUses:569 570 571 572 573 574 575 576 577 578 581 584 594 602 613 614Used by:656 751
Symbol 616 GraphicUsed by:655
Symbol 617 TextUses:6Used by:655
Symbol 618 GraphicUsed by:655
Symbol 619 GraphicUsed by:655
Symbol 620 GraphicUsed by:628
Symbol 621 TextUses:6Used by:628
Symbol 622 GraphicUsed by:628
Symbol 623 TextUses:6Used by:628
Symbol 624 GraphicUsed by:628
Symbol 625 TextUses:6Used by:628
Symbol 626 GraphicUsed by:628
Symbol 627 GraphicUsed by:628
Symbol 628 ButtonUses:620 621 622 623 624 625 626 627Used by:655
Symbol 629 GraphicUsed by:636 669 678
Symbol 630 TextUses:6Used by:636
Symbol 631 GraphicUsed by:636
Symbol 632 GraphicUsed by:636
Symbol 633 TextUses:6Used by:636
Symbol 634 GraphicUsed by:636
Symbol 635 GraphicUsed by:636
Symbol 636 ButtonUses:629 630 631 632 633 634 635Used by:655 670
Symbol 637 GraphicUsed by:655
Symbol 638 GraphicUsed by:654
Symbol 639 TextUses:6Used by:654
Symbol 640 TextUses:6Used by:654
Symbol 641 TextUses:6Used by:654
Symbol 642 TextUses:6Used by:654
Symbol 643 TextUses:6Used by:654
Symbol 644 TextUses:6Used by:654
Symbol 645 TextUses:6Used by:654
Symbol 646 TextUses:6Used by:654
Symbol 647 TextUses:6Used by:654
Symbol 648 TextUses:6Used by:654
Symbol 649 GraphicUsed by:654
Symbol 650 GraphicUsed by:654
Symbol 651 GraphicUsed by:654
Symbol 652 GraphicUsed by:654
Symbol 653 GraphicUsed by:654
Symbol 654 ButtonUses:638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653Used by:655 717
Symbol 655 MovieClipUses:616 617 571 572 573 574 618 576 577 619 581 584 594 628 636 637 654Used by:656 969
Symbol 656 MovieClip {NewgroundsMain_ui_optionsC_NG}Uses:615 655
Symbol 657 GraphicUsed by:751
Symbol 658 GraphicUsed by:670
Symbol 659 TextUses:6Used by:670
Symbol 660 TextUses:6Used by:670
Symbol 661 TextUses:6Used by:670
Symbol 662 GraphicUsed by:670
Symbol 663 TextUses:6Used by:669
Symbol 664 GraphicUsed by:669
Symbol 665 TextUses:6Used by:669
Symbol 666 GraphicUsed by:669
Symbol 667 GraphicUsed by:669
Symbol 668 GraphicUsed by:669
Symbol 669 ButtonUses:629 663 664 665 666 667 668Used by:670 750
Symbol 670 MovieClipUses:658 659 660 661 274 275 662 594 602 669 636Used by:751
Symbol 671 TextUses:6Used by:678
Symbol 672 GraphicUsed by:678
Symbol 673 GraphicUsed by:678
Symbol 674 TextUses:6Used by:678
Symbol 675 GraphicUsed by:678
Symbol 676 TextUses:6Used by:678
Symbol 677 GraphicUsed by:678
Symbol 678 ButtonUses:629 671 672 673 674 675 676 677Used by:714
Symbol 679 GraphicUsed by:687
Symbol 680 TextUses:6Used by:687
Symbol 681 GraphicUsed by:687
Symbol 682 TextUses:6Used by:687
Symbol 683 GraphicUsed by:687
Symbol 684 TextUses:6Used by:687
Symbol 685 GraphicUsed by:687
Symbol 686 GraphicUsed by:687
Symbol 687 ButtonUses:679 680 681 682 683 684 685 686Used by:714
Symbol 688 GraphicUsed by:714
Symbol 689 TextUses:6Used by:714
Symbol 690 GraphicUsed by:714
Symbol 691 TextUses:6Used by:713
Symbol 692 TextUses:6Used by:713
Symbol 693 TextUses:6Used by:713
Symbol 694 TextUses:6Used by:713
Symbol 695 TextUses:6Used by:713
Symbol 696 TextUses:6Used by:713
Symbol 697 TextUses:6Used by:713
Symbol 698 TextUses:6Used by:713
Symbol 699 TextUses:6Used by:713
Symbol 700 TextUses:6Used by:713
Symbol 701 TextUses:6Used by:713
Symbol 702 TextUses:6Used by:713
Symbol 703 TextUses:6Used by:713
Symbol 704 TextUses:6Used by:713
Symbol 705 TextUses:6Used by:713
Symbol 706 TextUses:6Used by:713
Symbol 707 TextUses:6Used by:713
Symbol 708 TextUses:6Used by:713
Symbol 709 TextUses:6Used by:713
Symbol 710 TextUses:6Used by:713
Symbol 711 TextUses:6Used by:713
Symbol 712 TextUses:6Used by:713
Symbol 713 MovieClipUses:691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712Used by:714
Symbol 714 MovieClipUses:678 687 688 689 690 713Used by:751
Symbol 715 GraphicUsed by:717
Symbol 716 GraphicUsed by:717
Symbol 717 MovieClipUses:715 365 369 716 654Used by:751
Symbol 718 GraphicUsed by:734
Symbol 719 TextUses:6Used by:734
Symbol 720 GraphicUsed by:734
Symbol 721 TextUses:6Used by:734
Symbol 722 TextUses:6Used by:725
Symbol 723 TextUses:6Used by:725
Symbol 724 GraphicUsed by:725 732
Symbol 725 ButtonUses:722 723 724Used by:734
Symbol 726 TextUses:6Used by:732
Symbol 727 TextUses:6Used by:732
Symbol 728 TextUses:6Used by:732
Symbol 729 TextUses:6Used by:732
Symbol 730 TextUses:6Used by:732
Symbol 731 TextUses:6Used by:732
Symbol 732 ButtonUses:726 727 728 729 730 731 724Used by:734
Symbol 733 TextUses:6Used by:734
Symbol 734 MovieClipUses:718 719 720 721 725 732 733Used by:751
Symbol 735 GraphicUsed by:750
Symbol 736 TextUses:6Used by:750
Symbol 737 TextUses:6Used by:750
Symbol 738 TextUses:6Used by:750
Symbol 739 GraphicUsed by:750
Symbol 740 GraphicUsed by:745
Symbol 741 GraphicUsed by:745
Symbol 742 GraphicUsed by:745
Symbol 743 GraphicUsed by:745
Symbol 744 GraphicUsed by:745
Symbol 745 ButtonUses:740 604 741 607 742 743 744Used by:750
Symbol 746 GraphicUsed by:748
Symbol 747 TextUses:6Used by:748
Symbol 748 MovieClipUses:746 747Used by:750
Symbol 749 GraphicUsed by:750
Symbol 750 MovieClipUses:735 736 737 738 439 440 739 669 745 748 749 594Used by:751 866
Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG}Uses:657 267 269 670 714 717 734 615 750 451 457
Symbol 752 GraphicUsed by:788
Symbol 753 TextUses:26Used by:788
Symbol 754 TextUses:26Used by:788
Symbol 755 TextUses:26Used by:788
Symbol 756 EditableTextUses:26Used by:788
Symbol 757 EditableTextUses:26Used by:788
Symbol 758 GraphicUsed by:788
Symbol 759 GraphicUsed by:766 821 911
Symbol 760 TextUses:26Used by:766
Symbol 761 GraphicUsed by:766
Symbol 762 TextUses:26Used by:766
Symbol 763 GraphicUsed by:766
Symbol 764 GraphicUsed by:766
Symbol 765 GraphicUsed by:766
Symbol 766 ButtonUses:759 760 761 762 763 764 765Used by:788 903
Symbol 767 GraphicUsed by:774
Symbol 768 TextUses:26Used by:774 862
Symbol 769 GraphicUsed by:774
Symbol 770 TextUses:26Used by:774 862
Symbol 771 GraphicUsed by:774
Symbol 772 GraphicUsed by:774
Symbol 773 GraphicUsed by:774
Symbol 774 ButtonUses:767 768 769 770 771 772 773Used by:788
Symbol 775 GraphicUsed by:777
Symbol 776 TextUses:26Used by:777
Symbol 777 MovieClipUses:775 776Used by:788
Symbol 778 GraphicUsed by:788
Symbol 779 GraphicUsed by:787
Symbol 780 TextUses:26Used by:787
Symbol 781 GraphicUsed by:782
Symbol 782 MovieClipUses:781Used by:787
Symbol 783 GraphicUsed by:787
Symbol 784 TextUses:26Used by:787
Symbol 785 GraphicUsed by:787
Symbol 786 TextUses:26Used by:787
Symbol 787 ButtonUses:779 780 782 783 784 785 786 84Used by:788 840 864 903
Symbol 788 MovieClipUses:752 753 754 755 756 757 758 766 774 777 778 787Used by:789 968
Symbol 789 MovieClip {Main_ui_leaderboardC}Uses:788
Symbol 790 GraphicUsed by:840
Symbol 791 TextUses:26Used by:840
Symbol 792 TextUses:26Used by:840 864
Symbol 793 TextUses:26Used by:840 864
Symbol 794 TextUses:26Used by:840 864
Symbol 795 TextUses:26Used by:840 864
Symbol 796 GraphicUsed by:840
Symbol 797 TextUses:26Used by:840 864
Symbol 798 TextUses:26Used by:840 864
Symbol 799 GraphicUsed by:840
Symbol 800 GraphicUsed by:802
Symbol 801 TextUses:26Used by:802
Symbol 802 ButtonUses:800 801Used by:840 864
Symbol 803 GraphicUsed by:805
Symbol 804 TextUses:26Used by:805
Symbol 805 ButtonUses:803 804Used by:840 864
Symbol 806 GraphicUsed by:814
Symbol 807 TextUses:26Used by:814
Symbol 808 GraphicUsed by:814
Symbol 809 TextUses:26Used by:814
Symbol 810 GraphicUsed by:814
Symbol 811 TextUses:26Used by:814
Symbol 812 GraphicUsed by:814
Symbol 813 GraphicUsed by:814
Symbol 814 ButtonUses:806 807 808 809 810 811 812 813Used by:840
Symbol 815 TextUses:26Used by:821
Symbol 816 GraphicUsed by:821
Symbol 817 GraphicUsed by:821
Symbol 818 TextUses:26Used by:821
Symbol 819 GraphicUsed by:821
Symbol 820 GraphicUsed by:821
Symbol 821 ButtonUses:759 815 816 817 818 819 820Used by:840 903
Symbol 822 GraphicUsed by:840
Symbol 823 GraphicUsed by:839
Symbol 824 TextUses:26Used by:839
Symbol 825 TextUses:26Used by:839
Symbol 826 TextUses:26Used by:839
Symbol 827 TextUses:26Used by:839
Symbol 828 TextUses:26Used by:839
Symbol 829 TextUses:26Used by:839
Symbol 830 TextUses:26Used by:839
Symbol 831 TextUses:26Used by:839
Symbol 832 TextUses:26Used by:839
Symbol 833 TextUses:26Used by:839
Symbol 834 GraphicUsed by:839
Symbol 835 GraphicUsed by:839
Symbol 836 GraphicUsed by:839
Symbol 837 GraphicUsed by:839
Symbol 838 GraphicUsed by:839
Symbol 839 ButtonUses:823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838Used by:840 950
Symbol 840 MovieClipUses:790 791 792 793 794 795 796 797 798 799 802 805 787 814 821 822 839Used by:841 865
Symbol 841 MovieClip {Main_ui_pauseC}Uses:840
Symbol 842 GraphicUsed by:864
Symbol 843 TextUses:26Used by:864
Symbol 844 GraphicUsed by:864
Symbol 845 GraphicUsed by:864
Symbol 846 GraphicUsed by:853
Symbol 847 TextUses:26Used by:853
Symbol 848 GraphicUsed by:853
Symbol 849 GraphicUsed by:853
Symbol 850 TextUses:26Used by:853
Symbol 851 GraphicUsed by:853
Symbol 852 GraphicUsed by:853
Symbol 853 ButtonUses:846 847 848 849 850 851 852Used by:864 903
Symbol 854 GraphicUsed by:862
Symbol 855 GraphicUsed by:862
Symbol 856 GraphicUsed by:862
Symbol 857 GraphicUsed by:862
Symbol 858 GraphicUsed by:862
Symbol 859 GraphicUsed by:862
Symbol 860 GraphicUsed by:862
Symbol 861 GraphicUsed by:862
Symbol 862 ButtonUses:854 768 855 856 770 857 858 859 860 861Used by:864
Symbol 863 GraphicUsed by:864
Symbol 864 MovieClipUses:842 843 792 793 794 795 844 797 798 845 802 805 787 853 862 863Used by:865 968
Symbol 865 MovieClip {Main_ui_optionsC}Uses:864 840
Symbol 866 MovieClip {NewgroundsMain_ui_leaderboardC_NG}Uses:750
Symbol 867 MovieClipUses:23Used by:894
Symbol 868 GraphicUsed by:894
Symbol 869 GraphicUsed by:870
Symbol 870 MovieClipUses:869Used by:888 894
Symbol 871 GraphicUsed by:872
Symbol 872 MovieClipUses:871Used by:887 894
Symbol 873 GraphicUsed by:874
Symbol 874 MovieClipUses:873Used by:881 887 888 894
Symbol 875 GraphicUsed by:876
Symbol 876 MovieClipUses:875Used by:881 887 888 894
Symbol 877 GraphicUsed by:878
Symbol 878 MovieClipUses:877Used by:881 887 888 894
Symbol 879 GraphicUsed by:880
Symbol 880 MovieClipUses:879Used by:881 887 888 894
Symbol 881 MovieClipUses:874 876 878 880Used by:894
Symbol 882 GraphicUsed by:894
Symbol 883 GraphicUsed by:884 894
Symbol 884 MovieClipUses:883Used by:894
Symbol 885 GraphicUsed by:894
Symbol 886 GraphicUsed by:888
Symbol 887 MovieClipUses:872 874 876 878 880Used by:888
Symbol 888 MovieClipUses:886 870 887 874 876 878 880Used by:894
Symbol 889 GraphicUsed by:890
Symbol 890 MovieClipUses:889Used by:894
Symbol 891 FontUsed by:892
Symbol 892 TextUses:891Used by:893
Symbol 893 MovieClipUses:892Used by:894
Symbol 894 MovieClipUses:23 867 20 868 870 872 881 882 884 885 874 876 878 880 888 890 883 893Used by:895
Symbol 895 MovieClip {Main_kongIntroC}Uses:23 894
Symbol 896 GraphicUsed by:903
Symbol 897 TextUses:26Used by:903
Symbol 898 TextUses:26Used by:903
Symbol 899 TextUses:26Used by:903
Symbol 900 EditableTextUses:26Used by:903
Symbol 901 EditableTextUses:26Used by:903
Symbol 902 GraphicUsed by:903
Symbol 903 MovieClipUses:896 897 898 899 900 901 902 787 853 766 821Used by:968
Symbol 904 TextUses:26Used by:911
Symbol 905 GraphicUsed by:911
Symbol 906 GraphicUsed by:911
Symbol 907 TextUses:26Used by:911
Symbol 908 GraphicUsed by:911
Symbol 909 TextUses:26Used by:911
Symbol 910 GraphicUsed by:911
Symbol 911 ButtonUses:759 904 905 906 907 908 909 910Used by:947
Symbol 912 GraphicUsed by:920
Symbol 913 TextUses:26Used by:920
Symbol 914 GraphicUsed by:920
Symbol 915 TextUses:26Used by:920
Symbol 916 GraphicUsed by:920
Symbol 917 TextUses:26Used by:920
Symbol 918 GraphicUsed by:920
Symbol 919 GraphicUsed by:920
Symbol 920 ButtonUses:912 913 914 915 916 917 918 919Used by:947
Symbol 921 GraphicUsed by:947
Symbol 922 TextUses:26Used by:947
Symbol 923 GraphicUsed by:947
Symbol 924 TextUses:26Used by:946
Symbol 925 TextUses:26Used by:946
Symbol 926 TextUses:26Used by:946
Symbol 927 TextUses:26Used by:946
Symbol 928 TextUses:26Used by:946
Symbol 929 TextUses:26Used by:946
Symbol 930 TextUses:26Used by:946
Symbol 931 TextUses:26Used by:946
Symbol 932 TextUses:26Used by:946
Symbol 933 TextUses:26Used by:946
Symbol 934 TextUses:26Used by:946
Symbol 935 TextUses:26Used by:946
Symbol 936 TextUses:26Used by:946
Symbol 937 TextUses:26Used by:946
Symbol 938 TextUses:26Used by:946
Symbol 939 TextUses:26Used by:946
Symbol 940 TextUses:26Used by:946
Symbol 941 TextUses:26Used by:946
Symbol 942 TextUses:26Used by:946
Symbol 943 TextUses:26Used by:946
Symbol 944 TextUses:26Used by:946
Symbol 945 TextUses:26Used by:946
Symbol 946 MovieClipUses:924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945Used by:947
Symbol 947 MovieClipUses:911 920 921 922 923 946Used by:968
Symbol 948 GraphicUsed by:950
Symbol 949 GraphicUsed by:950
Symbol 950 MovieClipUses:948 365 369 949 839Used by:968
Symbol 951 GraphicUsed by:967
Symbol 952 TextUses:26Used by:967
Symbol 953 GraphicUsed by:967
Symbol 954 TextUses:26Used by:967
Symbol 955 TextUses:26Used by:958
Symbol 956 TextUses:26Used by:958
Symbol 957 GraphicUsed by:958 965
Symbol 958 ButtonUses:955 956 957Used by:967
Symbol 959 TextUses:26Used by:965
Symbol 960 TextUses:26Used by:965
Symbol 961 TextUses:26Used by:965
Symbol 962 TextUses:26Used by:965
Symbol 963 TextUses:26Used by:965
Symbol 964 TextUses:26Used by:965
Symbol 965 ButtonUses:959 960 961 962 963 964 957Used by:967
Symbol 966 TextUses:26Used by:967
Symbol 967 MovieClipUses:951 952 953 954 958 965 966Used by:968
Symbol 968 MovieClip {Main_gameOverBaseC}Uses:85 267 269 903 947 950 967 864 788 451 457
Symbol 969 MovieClip {NewgroundsMain_ui_pauseC_NG}Uses:655

Instance Names

"txt_loading"Symbol 13 MovieClip {SolipskierNewgrounds_preloaderC} [intro_preloader] Frame 1Symbol 7 EditableText
"clouds"Symbol 77 MovieClip {BGManagerFastest_bgUpC} [ui_bgUp] Frame 1Symbol 72 MovieClip
"mountains"Symbol 77 MovieClip {BGManagerFastest_bgUpC} [ui_bgUp] Frame 1Symbol 74 MovieClip
"trees"Symbol 77 MovieClip {BGManagerFastest_bgUpC} [ui_bgUp] Frame 1Symbol 76 MovieClip
"clouds"Symbol 86 MovieClip {BGManagerFastest_bgDownC} [ui_bgDown] Frame 1Symbol 72 MovieClip
"mountains"Symbol 86 MovieClip {BGManagerFastest_bgDownC} [ui_bgDown] Frame 1Symbol 74 MovieClip
"trees"Symbol 86 MovieClip {BGManagerFastest_bgDownC} [ui_bgDown] Frame 1Symbol 76 MovieClip
"head"Symbol 112 MovieClip Frame 1Symbol 111 MovieClip
"flip"Symbol 113 MovieClip {HeightmapRunner_trick2C} [actor_skier_airFlip] Frame 1Symbol 112 MovieClip
"head"Symbol 123 MovieClip {HeightmapRunner_trick1C} [actor_skier_airBackscratch] Frame 1Symbol 111 MovieClip
"head"Symbol 126 MovieClip {HeightmapRunner_skierAirC} [actor_skier_air] Frame 1Symbol 111 MovieClip
"head"Symbol 141 MovieClip {HeightmapRunner_trick3C} [actor_skier_airHelicopter] Frame 1Symbol 111 MovieClip
"head"Symbol 141 MovieClip {HeightmapRunner_trick3C} [actor_skier_airHelicopter] Frame 3Symbol 132 MovieClip
"head"Symbol 141 MovieClip {HeightmapRunner_trick3C} [actor_skier_airHelicopter] Frame 5Symbol 111 MovieClip
"head"Symbol 141 MovieClip {HeightmapRunner_trick3C} [actor_skier_airHelicopter] Frame 7Symbol 139 MovieClip
"head"Symbol 156 MovieClip {HeightmapRunner_skierFastC} [actor_skier_groundFast] Frame 1Symbol 111 MovieClip
"head"Symbol 166 MovieClip {HeightmapRunner_headphonesPutOnC} [actor_skier_groundHeadphones] Frame 1Symbol 111 MovieClip
"head"Symbol 209 MovieClip {HeightmapRunner_skierGroundSlowC} [actor_skier_groundSlow] Frame 1Symbol 111 MovieClip
"head"Symbol 212 MovieClip {HeightmapRunner_trick4C} [actor_skier_airSpreadEagle] Frame 1Symbol 111 MovieClip
"head"Symbol 224 MovieClip {HeightmapRunner_skierKilledC} [actor_skier_killed] Frame 1Symbol 111 MovieClip
"txt_meters"Symbol 228 MovieClip {HeightmapRunner_arrowSkierC} [hud_arrowSkier] Frame 1Symbol 227 EditableText
"head"Symbol 230 MovieClip {HeightmapRunner_skierGroundC} [actor_skier_ground] Frame 1Symbol 111 MovieClip
"txt_meters"Symbol 249 MovieClip {Gate_gateIncomingRedC} [hud_arrowRed] Frame 1Symbol 227 EditableText
"txt_meters"Symbol 253 MovieClip {Gate_gateIncomingYellowC} [hud_arrowYellow] Frame 1Symbol 227 EditableText
"txt_meters"Symbol 255 MovieClip {Gate_incomingCoverC} [hud_arrowGray] Frame 1Symbol 227 EditableText
"txt_meters"Symbol 259 MovieClip {Gate_gateIncomingGreenC} [hud_arrowGreen] Frame 1Symbol 227 EditableText
"skier"Symbol 267 MovieClip Frame 1Symbol 266 MovieClip
"txt_score"Symbol 316 MovieClip Frame 1Symbol 274 EditableText
"txt_time"Symbol 316 MovieClip Frame 1Symbol 275 EditableText
"btn_sponsor"Symbol 316 MovieClip Frame 1Symbol 292 Button
"btn_leaderboards"Symbol 316 MovieClip Frame 1Symbol 300 Button
"btn_options"Symbol 316 MovieClip Frame 1Symbol 308 Button
"btn_restart"Symbol 316 MovieClip Frame 1Symbol 315 Button
"btn_prev"Symbol 360 MovieClip Frame 1Symbol 324 Button
"btn_next"Symbol 360 MovieClip Frame 1Symbol 333 Button
"tips"Symbol 360 MovieClip Frame 1Symbol 359 MovieClip
"btn_twitter"Symbol 388 MovieClip Frame 1Symbol 365 Button
"btn_facebook"Symbol 388 MovieClip Frame 1Symbol 369 Button
"btn_mobile"Symbol 388 MovieClip Frame 1Symbol 387 Button
"btn_stump"Symbol 405 MovieClip Frame 1Symbol 396 Button
"btn_mikengreg"Symbol 405 MovieClip Frame 1Symbol 403 Button
"btn_sfxOn"Symbol 434 MovieClip Frame 1Symbol 418 Button
"btn_bgmOn"Symbol 434 MovieClip Frame 1Symbol 418 Button
"btn_aaOn"Symbol 434 MovieClip Frame 1Symbol 421 Button
"btn_blurOn"Symbol 434 MovieClip Frame 1Symbol 418 Button
"btn_sponsor"Symbol 434 MovieClip Frame 1Symbol 292 Button
"btn_leaderboards"Symbol 434 MovieClip Frame 1Symbol 300 Button
"btn_back"Symbol 434 MovieClip Frame 1Symbol 432 Button
"txt_scoreList"Symbol 449 MovieClip Frame 1Symbol 439 EditableText
"txt_timeList"Symbol 449 MovieClip Frame 1Symbol 440 EditableText
"btn_options"Symbol 449 MovieClip Frame 1Symbol 308 Button
"btn_back"Symbol 449 MovieClip Frame 1Symbol 447 Button
"btn_sponsor"Symbol 449 MovieClip Frame 1Symbol 292 Button
"skierFalling"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 267 MovieClip
"board"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 316 MovieClip
"tips"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 360 MovieClip
"share"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 388 MovieClip
"credits"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 405 MovieClip
"options"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 434 MovieClip
"leaderboard"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 1Symbol 449 MovieClip
"board"Symbol 459 MovieClip {ArmorMain_ui_leaderboardC_ARMOR} [ui_leaderboard] Frame 1Symbol 449 MovieClip
"btn_sfxOn"Symbol 474 MovieClip Frame 1Symbol 418 Button
"btn_bgmOn"Symbol 474 MovieClip Frame 1Symbol 418 Button
"btn_aaOn"Symbol 474 MovieClip Frame 1Symbol 421 Button
"btn_blurOn"Symbol 474 MovieClip Frame 1Symbol 418 Button
"btn_sponsor"Symbol 474 MovieClip Frame 1Symbol 292 Button
"btn_resume"Symbol 474 MovieClip Frame 1Symbol 472 Button
"btn_restart"Symbol 474 MovieClip Frame 1Symbol 315 Button
"btn_mobile"Symbol 474 MovieClip Frame 1Symbol 387 Button
"board"Symbol 475 MovieClip {ArmorMain_ui_pauseC_ARMOR} [ui_pause] Frame 1Symbol 474 MovieClip
"board"Symbol 476 MovieClip {ArmorMain_ui_optionsC_ARMOR} [ui_options] Frame 1Symbol 434 MovieClip
"board"Symbol 476 MovieClip {ArmorMain_ui_optionsC_ARMOR} [ui_options] Frame 2Symbol 474 MovieClip
"armor"Symbol 494 MovieClip {ArmorMain_armorIntroC} [intro_kong] Frame 1Symbol 493 MovieClip
"txt_bonus"Symbol 497 MovieClip Frame 1Symbol 496 EditableText
"popup"Symbol 498 MovieClip {Scorekeeper_hud_pu_basicC} [hud_pu_basic] Frame 1Symbol 497 MovieClip
"txt_score"Symbol 508 MovieClip {Scorekeeper_hud_scoreC} [hud_score] Frame 1Symbol 500 EditableText
"txt_mph"Symbol 508 MovieClip {Scorekeeper_hud_scoreC} [hud_score] Frame 1Symbol 504 EditableText
"txt_mult"Symbol 508 MovieClip {Scorekeeper_hud_scoreC} [hud_score] Frame 1Symbol 507 EditableText
"popup"Symbol 519 MovieClip {Scorekeeper_hud_pu_starC} [hud_pu_star] Frame 1Symbol 518 MovieClip
"txt_bonus"Symbol 522 MovieClip Frame 1Symbol 521 EditableText
"popup1"Symbol 523 MovieClip {Scorekeeper_hud_pu_jumpC} [hud_pu_jump] Frame 1Symbol 522 MovieClip
"popup2"Symbol 523 MovieClip {Scorekeeper_hud_pu_jumpC} [hud_pu_jump] Frame 1Symbol 522 MovieClip
"popup3"Symbol 523 MovieClip {Scorekeeper_hud_pu_jumpC} [hud_pu_jump] Frame 1Symbol 522 MovieClip
"txt_bonusCopy"Symbol 527 MovieClip {Scorekeeper_hud_bonusC} [hud_bonus] Frame 1Symbol 525 EditableText
"txt_bonus"Symbol 527 MovieClip {Scorekeeper_hud_bonusC} [hud_bonus] Frame 1Symbol 526 EditableText
"txt_meters"Symbol 530 MovieClip {BigJump_gateIncomingOrangeC} [hud_arrowOrange] Frame 1Symbol 529 EditableText
"txt_meters"Symbol 532 MovieClip {BigJump_incomingCoverC} [hud_arrowGrayBlank] Frame 1Symbol 227 EditableText
"popup1"Symbol 546 MovieClip {BigJump_dangerSignC} [hud_pu_danger] Frame 1Symbol 541 MovieClip
"popup1"Symbol 546 MovieClip {BigJump_dangerSignC} [hud_pu_danger] Frame 1Symbol 545 MovieClip
"txt_meters"Symbol 556 MovieClip {TunnelGate_gateIncomingBlueC} [hud_arrowBlue] Frame 1Symbol 555 EditableText
"txt_meters"Symbol 559 MovieClip {TunnelGate_grayBlankC} [hud_arrowGrayTunnel] Frame 1Symbol 227 EditableText
"btn_sfxOn"Symbol 615 MovieClip Frame 1Symbol 581 Button
"btn_bgmOn"Symbol 615 MovieClip Frame 1Symbol 581 Button
"btn_aaOn"Symbol 615 MovieClip Frame 1Symbol 584 Button
"btn_blurOn"Symbol 615 MovieClip Frame 1Symbol 581 Button
"btn_sponsor"Symbol 615 MovieClip Frame 1Symbol 594 Button
"btn_leaderboards"Symbol 615 MovieClip Frame 1Symbol 602 Button
"btn_back"Symbol 615 MovieClip Frame 1Symbol 613 Button
"btn_sfxOn"Symbol 655 MovieClip Frame 1Symbol 581 Button
"btn_bgmOn"Symbol 655 MovieClip Frame 1Symbol 581 Button
"btn_aaOn"Symbol 655 MovieClip Frame 1Symbol 584 Button
"btn_blurOn"Symbol 655 MovieClip Frame 1Symbol 581 Button
"btn_sponsor"Symbol 655 MovieClip Frame 1Symbol 594 Button
"btn_resume"Symbol 655 MovieClip Frame 1Symbol 628 Button
"btn_restart"Symbol 655 MovieClip Frame 1Symbol 636 Button
"btn_mobile"Symbol 655 MovieClip Frame 1Symbol 654 Button
"board"Symbol 656 MovieClip {NewgroundsMain_ui_optionsC_NG} Frame 1Symbol 615 MovieClip
"board"Symbol 656 MovieClip {NewgroundsMain_ui_optionsC_NG} Frame 2Symbol 655 MovieClip
"txt_score"Symbol 670 MovieClip Frame 1Symbol 274 EditableText
"txt_time"Symbol 670 MovieClip Frame 1Symbol 275 EditableText
"btn_sponsor"Symbol 670 MovieClip Frame 1Symbol 594 Button
"btn_leaderboards"Symbol 670 MovieClip Frame 1Symbol 602 Button
"btn_options"Symbol 670 MovieClip Frame 1Symbol 669 Button
"btn_restart"Symbol 670 MovieClip Frame 1Symbol 636 Button
"btn_prev"Symbol 714 MovieClip Frame 1Symbol 678 Button
"btn_next"Symbol 714 MovieClip Frame 1Symbol 687 Button
"tips"Symbol 714 MovieClip Frame 1Symbol 713 MovieClip
"btn_twitter"Symbol 717 MovieClip Frame 1Symbol 365 Button
"btn_facebook"Symbol 717 MovieClip Frame 1Symbol 369 Button
"btn_mobile"Symbol 717 MovieClip Frame 1Symbol 654 Button
"btn_stump"Symbol 734 MovieClip Frame 1Symbol 725 Button
"btn_mikengreg"Symbol 734 MovieClip Frame 1Symbol 732 Button
"txt_scoreList"Symbol 750 MovieClip Frame 1Symbol 439 EditableText
"txt_timeList"Symbol 750 MovieClip Frame 1Symbol 440 EditableText
"btn_options"Symbol 750 MovieClip Frame 1Symbol 669 Button
"btn_back"Symbol 750 MovieClip Frame 1Symbol 745 Button
"btn_sponsor"Symbol 750 MovieClip Frame 1Symbol 594 Button
"skierFalling"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 267 MovieClip
"board"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 670 MovieClip
"tips"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 714 MovieClip
"share"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 717 MovieClip
"credits"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 734 MovieClip
"options"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 615 MovieClip
"leaderboard"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 1Symbol 750 MovieClip
"txt_scoreList"Symbol 788 MovieClip Frame 1Symbol 756 EditableText
"txt_timeList"Symbol 788 MovieClip Frame 1Symbol 757 EditableText
"btn_options"Symbol 788 MovieClip Frame 1Symbol 766 Button
"btn_back"Symbol 788 MovieClip Frame 1Symbol 774 Button
"btn_sponsor"Symbol 788 MovieClip Frame 1Symbol 787 Button
"board"Symbol 789 MovieClip {Main_ui_leaderboardC} Frame 1Symbol 788 MovieClip
"btn_sfxOn"Symbol 840 MovieClip Frame 1Symbol 802 Button
"btn_bgmOn"Symbol 840 MovieClip Frame 1Symbol 802 Button
"btn_aaOn"Symbol 840 MovieClip Frame 1Symbol 805 Button
"btn_blurOn"Symbol 840 MovieClip Frame 1Symbol 802 Button
"btn_sponsor"Symbol 840 MovieClip Frame 1Symbol 787 Button
"btn_resume"Symbol 840 MovieClip Frame 1Symbol 814 Button
"btn_restart"Symbol 840 MovieClip Frame 1Symbol 821 Button
"btn_mobile"Symbol 840 MovieClip Frame 1Symbol 839 Button
"board"Symbol 841 MovieClip {Main_ui_pauseC} Frame 1Symbol 840 MovieClip
"btn_sfxOn"Symbol 864 MovieClip Frame 1Symbol 802 Button
"btn_bgmOn"Symbol 864 MovieClip Frame 1Symbol 802 Button
"btn_aaOn"Symbol 864 MovieClip Frame 1Symbol 805 Button
"btn_blurOn"Symbol 864 MovieClip Frame 1Symbol 802 Button
"btn_sponsor"Symbol 864 MovieClip Frame 1Symbol 787 Button
"btn_leaderboards"Symbol 864 MovieClip Frame 1Symbol 853 Button
"btn_back"Symbol 864 MovieClip Frame 1Symbol 862 Button
"board"Symbol 865 MovieClip {Main_ui_optionsC} Frame 1Symbol 864 MovieClip
"board"Symbol 865 MovieClip {Main_ui_optionsC} Frame 2Symbol 840 MovieClip
"board"Symbol 866 MovieClip {NewgroundsMain_ui_leaderboardC_NG} Frame 1Symbol 750 MovieClip
"txt_score"Symbol 903 MovieClip Frame 1Symbol 900 EditableText
"txt_time"Symbol 903 MovieClip Frame 1Symbol 901 EditableText
"btn_sponsor"Symbol 903 MovieClip Frame 1Symbol 787 Button
"btn_leaderboards"Symbol 903 MovieClip Frame 1Symbol 853 Button
"btn_options"Symbol 903 MovieClip Frame 1Symbol 766 Button
"btn_restart"Symbol 903 MovieClip Frame 1Symbol 821 Button
"btn_prev"Symbol 947 MovieClip Frame 1Symbol 911 Button
"btn_next"Symbol 947 MovieClip Frame 1Symbol 920 Button
"tips"Symbol 947 MovieClip Frame 1Symbol 946 MovieClip
"btn_twitter"Symbol 950 MovieClip Frame 1Symbol 365 Button
"btn_facebook"Symbol 950 MovieClip Frame 1Symbol 369 Button
"btn_mobile"Symbol 950 MovieClip Frame 1Symbol 839 Button
"btn_stump"Symbol 967 MovieClip Frame 1Symbol 958 Button
"btn_mikengreg"Symbol 967 MovieClip Frame 1Symbol 965 Button
"skierFalling"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 267 MovieClip
"board"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 903 MovieClip
"tips"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 947 MovieClip
"share"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 950 MovieClip
"credits"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 967 MovieClip
"options"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 864 MovieClip
"leaderboard"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 1Symbol 788 MovieClip
"board"Symbol 969 MovieClip {NewgroundsMain_ui_pauseC_NG} Frame 1Symbol 655 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1459 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 1Symbol 13 as "intro_preloader"
ExportAssets (56)Timeline Frame 2Symbol 15 as "ui_snowCursor"
ExportAssets (56)Timeline Frame 2Symbol 24 as "intro_mikengreg"
ExportAssets (56)Timeline Frame 2Symbol 30 as "ui_title"
ExportAssets (56)Timeline Frame 2Symbol 32 as "fx_flake"
ExportAssets (56)Timeline Frame 2Symbol 34 as "ui_snowCursorActive"
ExportAssets (56)Timeline Frame 2Symbol 70 as "intro_newgrounds"
ExportAssets (56)Timeline Frame 2Symbol 77 as "ui_bgUp"
ExportAssets (56)Timeline Frame 2Symbol 78 as "bg1_mountains"
ExportAssets (56)Timeline Frame 2Symbol 80 as "bg0_clouds"
ExportAssets (56)Timeline Frame 2Symbol 81 as "bg2_treeline"
ExportAssets (56)Timeline Frame 2Symbol 86 as "ui_bgDown"
ExportAssets (56)Timeline Frame 2Symbol 87 as "sfx_gateMiss"
ExportAssets (56)Timeline Frame 2Symbol 88 as "bgm_windSound"
ExportAssets (56)Timeline Frame 2Symbol 89 as "sfx_jumpLanding"
ExportAssets (56)Timeline Frame 2Symbol 90 as "sfx_speedBoost"
ExportAssets (56)Timeline Frame 2Symbol 91 as "sfx_recordScratch"
ExportAssets (56)Timeline Frame 2Symbol 92 as "sfx_jumpTrick"
ExportAssets (56)Timeline Frame 2Symbol 93 as "bgm_chopinEtude"
ExportAssets (56)Timeline Frame 2Symbol 94 as "sfx_gatePickup"
ExportAssets (56)Timeline Frame 2Symbol 95 as "sfx_skiNoise"
ExportAssets (56)Timeline Frame 2Symbol 96 as "bgm_speedMetal"
ExportAssets (56)Timeline Frame 2Symbol 97 as "sfx_tunnelHit"
ExportAssets (56)Timeline Frame 2Symbol 98 as "sfx_jumpCheer2"
ExportAssets (56)Timeline Frame 2Symbol 99 as "SoundMgr_sfx_gateKillC"
ExportAssets (56)Timeline Frame 2Symbol 100 as "sfx_jumpCheer1"
ExportAssets (56)Timeline Frame 2Symbol 102 as "actor_headPhones"
ExportAssets (56)Timeline Frame 2Symbol 113 as "actor_skier_airFlip"
ExportAssets (56)Timeline Frame 2Symbol 119 as "fx_stars"
ExportAssets (56)Timeline Frame 2Symbol 123 as "actor_skier_airBackscratch"
ExportAssets (56)Timeline Frame 2Symbol 126 as "actor_skier_air"
ExportAssets (56)Timeline Frame 2Symbol 141 as "actor_skier_airHelicopter"
ExportAssets (56)Timeline Frame 2Symbol 156 as "actor_skier_groundFast"
ExportAssets (56)Timeline Frame 2Symbol 166 as "actor_skier_groundHeadphones"
ExportAssets (56)Timeline Frame 2Symbol 209 as "actor_skier_groundSlow"
ExportAssets (56)Timeline Frame 2Symbol 212 as "actor_skier_airSpreadEagle"
ExportAssets (56)Timeline Frame 2Symbol 224 as "actor_skier_killed"
ExportAssets (56)Timeline Frame 2Symbol 228 as "hud_arrowSkier"
ExportAssets (56)Timeline Frame 2Symbol 230 as "actor_skier_ground"
ExportAssets (56)Timeline Frame 2Symbol 232 as "bg_snowboard"
ExportAssets (56)Timeline Frame 2Symbol 234 as "bg_tree4"
ExportAssets (56)Timeline Frame 2Symbol 236 as "bg_tree1"
ExportAssets (56)Timeline Frame 2Symbol 238 as "bg_lodge"
ExportAssets (56)Timeline Frame 2Symbol 240 as "bg_skis"
ExportAssets (56)Timeline Frame 2Symbol 242 as "bg_outhouse"
ExportAssets (56)Timeline Frame 2Symbol 244 as "bg_tree2"
ExportAssets (56)Timeline Frame 2Symbol 246 as "bg_tree3"
ExportAssets (56)Timeline Frame 2Symbol 249 as "hud_arrowRed"
ExportAssets (56)Timeline Frame 2Symbol 251 as "ob_gate_greenMiss"
ExportAssets (56)Timeline Frame 2Symbol 253 as "hud_arrowYellow"
ExportAssets (56)Timeline Frame 2Symbol 255 as "hud_arrowGray"
ExportAssets (56)Timeline Frame 2Symbol 257 as "ob_gate_greenHit"
ExportAssets (56)Timeline Frame 2Symbol 259 as "hud_arrowGreen"
ExportAssets (56)Timeline Frame 2Symbol 261 as "ob_gate_green"
ExportAssets (56)Timeline Frame 2Symbol 458 as "ui_gameOver"
ExportAssets (56)Timeline Frame 2Symbol 459 as "ui_leaderboard"
ExportAssets (56)Timeline Frame 2Symbol 475 as "ui_pause"
ExportAssets (56)Timeline Frame 2Symbol 476 as "ui_options"
ExportAssets (56)Timeline Frame 2Symbol 494 as "intro_kong"
ExportAssets (56)Timeline Frame 2Symbol 498 as "hud_pu_basic"
ExportAssets (56)Timeline Frame 2Symbol 508 as "hud_score"
ExportAssets (56)Timeline Frame 2Symbol 519 as "hud_pu_star"
ExportAssets (56)Timeline Frame 2Symbol 523 as "hud_pu_jump"
ExportAssets (56)Timeline Frame 2Symbol 527 as "hud_bonus"
ExportAssets (56)Timeline Frame 2Symbol 530 as "hud_arrowOrange"
ExportAssets (56)Timeline Frame 2Symbol 532 as "hud_arrowGrayBlank"
ExportAssets (56)Timeline Frame 2Symbol 534 as "ob_jump400"
ExportAssets (56)Timeline Frame 2Symbol 536 as "ob_jump200"
ExportAssets (56)Timeline Frame 2Symbol 538 as "ob_jump600"
ExportAssets (56)Timeline Frame 2Symbol 546 as "hud_pu_danger"
ExportAssets (56)Timeline Frame 2Symbol 547 as "fx_snowImpact_ani"
ExportAssets (56)Timeline Frame 2Symbol 550 as "ui_switchLo"
ExportAssets (56)Timeline Frame 2Symbol 553 as "ui_switchOff"
ExportAssets (56)Timeline Frame 2Symbol 556 as "hud_arrowBlue"
ExportAssets (56)Timeline Frame 2Symbol 558 as "ob_gate_blueHit"
ExportAssets (56)Timeline Frame 2Symbol 559 as "hud_arrowGrayTunnel"
ExportAssets (56)Timeline Frame 2Symbol 561 as "ob_gate_blueMiss"
ExportAssets (56)Timeline Frame 2Symbol 563 as "ob_gate_blue"
ExportAssets (56)Timeline Frame 2Symbol 566 as "hud_arrowRedBlank"
ExportAssets (56)Timeline Frame 2Symbol 568 as "ob_gate_red"
SerialNumber (41)Timeline Frame 1

Labels

"SolipskierNewgrounds"Frame 1
"start"Frame 2
"musicOn"Symbol 166 MovieClip {HeightmapRunner_headphonesPutOnC} [actor_skier_groundHeadphones] Frame 18
"loop"Symbol 224 MovieClip {HeightmapRunner_skierKilledC} [actor_skier_killed] Frame 10
"clickHold"Symbol 359 MovieClip Frame 1
"gateJump"Symbol 359 MovieClip Frame 2
"jumpLow"Symbol 359 MovieClip Frame 3
"tunnelMiss"Symbol 359 MovieClip Frame 4
"badSpeed"Symbol 359 MovieClip Frame 5
"jumpDie"Symbol 359 MovieClip Frame 6
"drawDie"Symbol 359 MovieClip Frame 7
"gateDie"Symbol 359 MovieClip Frame 8
"jumpMiss"Symbol 359 MovieClip Frame 9
"musicOut"Symbol 359 MovieClip Frame 10
"badFPS"Symbol 359 MovieClip Frame 11
"splash"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 26
"middle"Symbol 458 MovieClip {ArmorMain_gameOverBaseC_ARMOR} [ui_gameOver] Frame 44
"hold"Symbol 498 MovieClip {Scorekeeper_hud_pu_basicC} [hud_pu_basic] Frame 15
"hold"Symbol 519 MovieClip {Scorekeeper_hud_pu_starC} [hud_pu_star] Frame 15
"clickHold"Symbol 713 MovieClip Frame 1
"gateJump"Symbol 713 MovieClip Frame 2
"jumpLow"Symbol 713 MovieClip Frame 3
"tunnelMiss"Symbol 713 MovieClip Frame 4
"badSpeed"Symbol 713 MovieClip Frame 5
"jumpDie"Symbol 713 MovieClip Frame 6
"drawDie"Symbol 713 MovieClip Frame 7
"gateDie"Symbol 713 MovieClip Frame 8
"jumpMiss"Symbol 713 MovieClip Frame 9
"musicOut"Symbol 713 MovieClip Frame 10
"badFPS"Symbol 713 MovieClip Frame 11
"splash"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 26
"middle"Symbol 751 MovieClip {NewgroundsMain_gameOverBaseC_NG} Frame 44
"clickHold"Symbol 946 MovieClip Frame 1
"gateJump"Symbol 946 MovieClip Frame 2
"jumpLow"Symbol 946 MovieClip Frame 3
"tunnelMiss"Symbol 946 MovieClip Frame 4
"badSpeed"Symbol 946 MovieClip Frame 5
"jumpDie"Symbol 946 MovieClip Frame 6
"drawDie"Symbol 946 MovieClip Frame 7
"gateDie"Symbol 946 MovieClip Frame 8
"jumpMiss"Symbol 946 MovieClip Frame 9
"musicOut"Symbol 946 MovieClip Frame 10
"badFPS"Symbol 946 MovieClip Frame 11
"splash"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 26
"middle"Symbol 968 MovieClip {Main_gameOverBaseC} Frame 44




http://swfchan.com/18/87559/info.shtml
Created: 29/3 -2019 22:20:14 Last modified: 29/3 -2019 22:20:14 Server time: 18/11 -2024 21:48:36