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

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

Suspense.swf

This is the info page for
Flash #73363

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


Text
<p align="left"><font face="Bauhaus Std Demi" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://www.wefiends.com" target = "_blank">wefiends.com</a></font></p>

<p align="left"><font face="Bauhaus Std Demi" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://www.mortargames.com" target = "_blank">mortargames.com</a></font></p>

r

o

e

t

r

u

o

y

e

s

h

C

m

i

t

c

v

<p align="center"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">3</font></p>

<p align="right"><font face="Industria LT Std Solid" size="40" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">H</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">S</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">Y</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">I</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">H</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">S</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="KILLED DJ" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">Y</font></p>

<p align="center"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">YOU LOST HIM</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">N</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">I</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">W</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">Y</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">D</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ff0033" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">L</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">M</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">O</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">E</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">R</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">U</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">T</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">P</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">A</font></p>

<p align="left"><font face="Industria LT Std Solid" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1">C</font></p>

suspense

s

e

r

o

c

h

g

i

s

e

r

o

c

h

g

i

play

play

S

E

M

A

G

E

R

O

M

S

E

M

A

G

R

O

how to play

how to play

wefiends.com

Developed by Nick Barrios
Art by Buzzwerd
Based on a concept by Dan Sandoval
Music by Nick Barrios
Voices: Buzzwerd, Nick Barrios, and Stephanie Fung

MAIN MENU

MAIN MENU

<p align="left"></p>

<p align="left"></p>

SUBMIT

SUBMIT

REplay

REplay

NAME

SCORE

s

o

i

r

a

B

n

v

e

K

y

b

t

A

l

h

c

N

d

m

g

P

<

to turn

s

to SPeed Up

RIGHT click for sound options

spacebar to capture
when your suspense is full

live for the chase
maximize your score by capturing wisely

Stay on the red
to Gain suspense

Avoid the abyss or you'll lose suspense

lose it all and they'll get away

staying on
the pink
only gets
you score

fill your suspense bar to enable capture

but Don't get too close or your victim will panic

stay on your victims trail

CAPTURE to double your score

<p align="center"><font face="Industria LT Std Solid" size="71" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Get back on the trail</b></font></p>

1000

ActionScript [AS3]

Section 1
//Avatar (com.wefiends.chase.Avatar) package com.wefiends.chase { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.utils.*; public class Avatar extends MovieClip { public var vx:int; public var vy:int; private var minV:int; public var speed:int; private var initVelocity:int; private var halfWidth:int; private var trail:Boolean; public var debugPoints:Array; private var Avatars:Array; private var xOffset:int; private var yOffset:int; private var AvatarFront:MovieClip; private var maxV:int; private var halfHeight:int; private var AvatarFrontRun:MovieClip; private var speedTimer:Timer; public function Avatar(_arg1:Array, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean, _arg6:Point=null){ debugPoints = new Array(); super(); this.Avatars = _arg1; this.xOffset = _arg2; this.yOffset = _arg3; this.speed = _arg4; this.initVelocity = _arg4; this.vx = speed; this.trail = _arg5; if (_arg6){ debugPoints.push(_arg6); }; addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); } public function setSpeedTimer(_arg1:int):void{ speedTimer.delay = _arg1; } public function stopMe():void{ speedTimer.reset(); speedTimer.addEventListener(TimerEvent.TIMER, increaseSpeed, false, 0, true); removeEventListener(Event.ENTER_FRAME, onEnterFrame); } public function setSpeed(_arg1:int):void{ speed = _arg1; if (vx < 0){ vx = -(speed); } else { if (vx > 0){ vx = speed; } else { if (vy < 0){ vy = -(speed); } else { if (vy > 0){ vy = speed; }; }; }; }; } public function speedUp():void{ speed = (speed + 1); if (vx < 0){ vx = -(speed); } else { if (vx > 0){ vx = speed; } else { if (vy < 0){ vy = -(speed); } else { if (vy > 0){ vy = speed; }; }; }; }; } public function speedDown():void{ if (speed > minV){ speed = (speed - 0.5); if (vx < 0){ vx = -(speed); } else { if (vx > 0){ vx = speed; } else { if (vy < 0){ vy = -(speed); } else { if (vy > 0){ vy = speed; }; }; }; }; }; } private function init(_arg1:Event):void{ removeEventListener(Event.ADDED_TO_STAGE, init); halfWidth = (this.width / 2); halfHeight = (this.height / 2); addAvatars(); if (trail){ newPoint(); speedTimer = new Timer(15000); speedTimer.addEventListener(TimerEvent.TIMER, increaseSpeed, false, 0, true); speedTimer.start(); } else { speedTimer = new Timer(25000); speedTimer.addEventListener(TimerEvent.TIMER, increaseSpeed, false, 0, true); speedTimer.start(); }; addEventListener(Event.ENTER_FRAME, onEnterFrame, false, 0, true); } public function turnLeft():void{ if (trail){ newPoint(); }; if (vx < 0){ vx = 0; vy = speed; Avatars[5].visible = false; Avatars[1].visible = true; } else { if (vx > 0){ vx = 0; vy = -(speed); Avatars[5].visible = false; Avatars[3].visible = true; } else { if (vy < 0){ vy = 0; vx = -(speed); Avatars[3].visible = false; Avatars[5].scaleX = -1; Avatars[5].visible = true; } else { if (vy > 0){ vy = 0; vx = speed; Avatars[1].visible = false; Avatars[5].scaleX = 1; Avatars[5].visible = true; }; }; }; }; } private function newPoint():void{ var _local1:Point = new Point(this.x, this.y); debugPoints.push(_local1); if (debugPoints.length > 8){ debugPoints.shift(); }; } private function addAvatars():void{ var _local1:int; while (_local1 < Avatars.length) { addChild(Avatars[_local1]); Avatars[_local1].x = (Avatars[_local1].x + xOffset); Avatars[_local1].y = (Avatars[_local1].y + yOffset); Avatars[_local1].visible = false; _local1++; }; Avatars[5].visible = true; } public function turnRight():void{ if (trail){ newPoint(); }; if (vx < 0){ vx = 0; vy = -(speed); Avatars[5].visible = false; Avatars[3].visible = true; } else { if (vx > 0){ vx = 0; vy = speed; Avatars[5].visible = false; Avatars[1].visible = true; } else { if (vy < 0){ vy = 0; vx = speed; Avatars[3].visible = false; Avatars[5].scaleX = 1; Avatars[5].visible = true; } else { if (vy > 0){ vy = 0; vx = -(speed); Avatars[1].visible = false; Avatars[5].scaleX = -1; Avatars[5].visible = true; }; }; }; }; } public function whichDirection():int{ if (vx < 0){ return (0); }; if (vy < 0){ return (1); }; if (vx > 0){ return (2); }; if (vy > 0){ return (3); }; return (0); } private function increaseSpeed(_arg1:TimerEvent):void{ initVelocity = (initVelocity + 1); speed = (speed + 1); minV = (initVelocity - 2); if (trail){ maxV = (initVelocity + 2); } else { maxV = (initVelocity + 2); }; if (vx < 0){ vx = -(speed); } else { if (vx > 0){ vx = speed; } else { if (vy < 0){ vy = -(speed); } else { if (vy > 0){ vy = speed; }; }; }; }; } private function onEnterFrame(_arg1:Event):void{ this.x = (this.x + vx); this.y = (this.y + vy); } public function get getSpeedTimerDelay():int{ return (speedTimer.delay); } public function resetSpeed():void{ speed = initVelocity; if (vx < 0){ vx = -(speed); } else { if (vx > 0){ vx = speed; } else { if (vy < 0){ vy = -(speed); } else { if (vy > 0){ vy = speed; }; }; }; }; } } }//package com.wefiends.chase
Section 2
//CameraControl (com.wefiends.chase.CameraControl) package com.wefiends.chase { import flash.display.*; import flash.events.*; import flash.geom.*; public class CameraControl extends Sprite { private var avatar:Avatar; private var vx:Number;// = 0 private var vy:Number;// = 0 private var zoomEase:Number;// = 0.8 private var ease:Number;// = 0.9 private var zoomvx:Number;// = 0 private var zoomvy:Number;// = 0 private var vcam:VCam; private var playerAvatar:Avatar; public function CameraControl(_arg1:VCam, _arg2:Avatar, _arg3:Avatar){ this.vcam = _arg1; this.avatar = _arg2; this.playerAvatar = _arg3; } public function stop():void{ removeEventListener(Event.ENTER_FRAME, onEnterFrame); vcam.width = stage.stageWidth; vcam.height = stage.stageHeight; vcam.x = (stage.stageWidth / 2); vcam.y = (stage.stageHeight / 2); } public function start():void{ addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onEnterFrame(_arg1:Event):void{ var _local2 = ((avatar.x + playerAvatar.x) >> 1); var _local3 = ((avatar.y + playerAvatar.y) >> 1); var _local4:int = (_local2 - vcam.x); var _local5:int = (_local3 - vcam.y); vx = (_local4 * ease); vy = (_local5 * ease); vcam.x = (vcam.x + vx); vcam.y = (vcam.y + vy); var _local6:Number = (Point.distance(new Point(avatar.x, avatar.y), new Point(playerAvatar.x, playerAvatar.y)) + 150); var _local7:Number = (_local6 - vcam.height); vcam.height = (vcam.height + (_local7 * zoomEase)); vcam.width = (vcam.height * 1.44); } } }//package com.wefiends.chase
Section 3
//Controller (com.wefiends.chase.Controller) package com.wefiends.chase { import flash.display.*; import flash.events.*; import gs.*; import flash.geom.*; import flash.utils.*; public class Controller extends MovieClip { private var disableCheck:Boolean;// = false public var pinkLine:Sprite; private var turnTimestamp:int;// = 0 private var playerAvatar:Avatar; private var checkCounter:Timer; private var runawayEnable:Boolean;// = true public var redLine:Sprite; public var redLineLen:int; private var avatar:Avatar; private var oddFrame:Boolean;// = false private var turnCounter:Timer; public function Controller(_arg1:Avatar, _arg2:Avatar){ redLine = new Sprite(); pinkLine = new Sprite(); super(); this.avatar = _arg1; this.playerAvatar = _arg2; init(); } private function runturnAvatar(_arg1:TimerEvent=null):void{ var _local3:int; var _local4:int; var _local2:int = (getTimer() - turnTimestamp); if (_local2 > 250){ turnTimestamp = getTimer(); _local3 = (avatar.x - playerAvatar.x); _local4 = (avatar.y - playerAvatar.y); if (avatar.vx < 0){ if (_local3 > 0){ if (_local4 > 0){ avatar.turnLeft(); } else { if (_local4 < 0){ avatar.turnRight(); }; }; } else { if (_local3 < 0){ if (_local4 > 0){ avatar.turnLeft(); } else { if (_local4 < 0){ avatar.turnRight(); }; }; }; }; } else { if (avatar.vx > 0){ if (_local3 > 0){ if (_local4 > 0){ avatar.turnRight(); } else { if (_local4 < 0){ avatar.turnLeft(); }; }; } else { if (_local3 < 0){ if (_local4 > 0){ avatar.turnRight(); } else { if (_local4 < 0){ avatar.turnLeft(); }; }; }; }; } else { if (avatar.vy < 0){ if (_local3 > 0){ if (_local4 > 0){ avatar.turnRight(); } else { if (_local4 < 0){ avatar.turnRight(); }; }; } else { if (_local3 < 0){ if (_local4 > 0){ avatar.turnLeft(); } else { if (_local4 < 0){ avatar.turnLeft(); }; }; }; }; } else { if (avatar.vy > 0){ if (_local3 > 0){ if (_local4 > 0){ avatar.turnLeft(); } else { if (_local4 < 0){ avatar.turnLeft(); }; }; } else { if (_local3 < 0){ if (_local4 > 0){ avatar.turnRight(); } else { if (_local4 < 0){ avatar.turnRight(); }; }; }; }; }; }; }; }; }; } public function runAway():void{ if (runawayEnable){ runawayEnable = false; turnCounter.removeEventListener(TimerEvent.TIMER, turnAvatar); runturnAvatar(); checkCounter.addEventListener(TimerEvent.TIMER, runawayTurn, false, 0, true); }; } public function init():void{ turnCounter = new Timer(1200); turnCounter.addEventListener(TimerEvent.TIMER, turnAvatar, false, 0, true); addEventListener(Event.ENTER_FRAME, onEnterFrame); checkCounter = new Timer(600); addChild(pinkLine); addChild(redLine); } private function runawayTurn(_arg1:TimerEvent):void{ runawayEnable = true; checkCounter.removeEventListener(TimerEvent.TIMER, runawayTurn); turnCounter.addEventListener(TimerEvent.TIMER, turnAvatar, false, 0, true); } private function reenableCheck(_arg1:TimerEvent):void{ checkCounter.removeEventListener(TimerEvent.TIMER, reenableCheck); turnCounter.reset(); turnCounter.addEventListener(TimerEvent.TIMER, turnAvatar, false, 0, true); turnCounter.start(); disableCheck = false; } public function start():void{ turnCounter.start(); checkCounter.start(); } private function avoidturnAvatar(_arg1:TimerEvent=null):void{ var _local3:int; var _local2:int = (getTimer() - turnTimestamp); if (_local2 > 550){ turnTimestamp = getTimer(); _local3 = ((Math.random() * 1) + 1); switch (_local3){ case 1: avatar.turnLeft(); break; case 2: avatar.turnRight(); break; }; }; } private function turnAvatar(_arg1:TimerEvent=null):void{ var _local3:int; var _local2:int = (getTimer() - turnTimestamp); if (_local2 > 1150){ turnTimestamp = getTimer(); _local3 = ((Math.random() * 2) + 1); switch (_local3){ case 1: avatar.turnLeft(); break; case 2: avatar.turnRight(); break; case 3: break; }; }; } public function stopMe():void{ turnCounter.reset(); turnCounter.removeEventListener(TimerEvent.TIMER, turnAvatar); checkCounter.reset(); removeEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onEnterFrame(_arg1:Event):void{ var _local9:int; var _local10:int; var _local11:int; var _local14:Point; var _local15:int; var _local16:int; var _local17:int; var _local18:int; var _local2:int; var _local3:Array = new Array(); var _local4:int = (avatar.debugPoints.length - 1); var _local5:int; while (_local5 < _local4) { _local2 = (_local2 + Point.distance(Point(avatar.debugPoints[(_local5 + 1)]), Point(avatar.debugPoints[_local5]))); _local3.push(_local2); _local5++; }; var _local6:Point = new Point(avatar.x, avatar.y); _local2 = (_local2 + Point.distance(avatar.debugPoints[_local4], _local6)); _local3.push(_local2); var _local7:int = (_local2 * 0.9); var _local8:int; while (_local8 < _local3.length) { if (_local3[_local8] > _local7){ _local16 = _local8; break; }; _local8++; }; if (_local16 > 0){ _local9 = (_local7 - _local3[(_local16 - 1)]); } else { _local9 = _local7; }; if (_local16 == (avatar.debugPoints.length - 1)){ _local10 = (avatar.x - avatar.debugPoints[_local16].x); _local11 = (avatar.y - avatar.debugPoints[_local16].y); } else { _local10 = (avatar.debugPoints[(_local16 + 1)].x - avatar.debugPoints[_local16].x); _local11 = (avatar.debugPoints[(_local16 + 1)].y - avatar.debugPoints[_local16].y); }; var _local12:int = Math.abs(_local10); var _local13:int = Math.abs(_local11); if (_local12 > _local13){ if (_local10 > 0){ _local14 = new Point((avatar.debugPoints[_local16].x + _local9), avatar.debugPoints[_local16].y); } else { _local14 = new Point((avatar.debugPoints[_local16].x - _local9), avatar.debugPoints[_local16].y); }; } else { if (_local12 < _local13){ if (_local11 > 0){ _local14 = new Point(avatar.debugPoints[_local16].x, (avatar.debugPoints[_local16].y + _local9)); } else { _local14 = new Point(avatar.debugPoints[_local16].x, (avatar.debugPoints[_local16].y - _local9)); }; }; }; redLineLen = 0; if (_local16 != (avatar.debugPoints.length - 1)){ redLineLen = (redLineLen + Point.distance(avatar.debugPoints[(_local16 + 1)], _local14)); _local17 = (_local16 + 1); while (_local17 < (avatar.debugPoints.length - 1)) { redLineLen = (redLineLen + Point.distance(Point(avatar.debugPoints[(_local17 + 1)]), Point(avatar.debugPoints[_local17]))); _local17++; }; redLineLen = (redLineLen + Point.distance(avatar.debugPoints[(avatar.debugPoints.length - 1)], new Point(avatar.x, avatar.y))); } else { redLineLen = (redLineLen + Point.distance(_local14, new Point(avatar.x, avatar.y))); }; pinkLine.graphics.clear(); pinkLine.graphics.lineStyle(60, 16737689, 0.9); pinkLine.graphics.moveTo(avatar.debugPoints[_local15].x, avatar.debugPoints[_local15].y); _local15 = 0; while (_local15 < _local16) { pinkLine.graphics.lineTo(avatar.debugPoints[(_local15 + 1)].x, avatar.debugPoints[(_local15 + 1)].y); _local15++; }; pinkLine.graphics.lineTo(_local14.x, _local14.y); redLine.graphics.clear(); redLine.graphics.lineStyle(60, 0xAF0000, 1); redLine.graphics.moveTo(_local14.x, _local14.y); if (_local16 == _local4){ redLine.graphics.lineTo(avatar.x, avatar.y); } else { redLine.graphics.lineTo(avatar.debugPoints[(_local16 + 1)].x, avatar.debugPoints[(_local16 + 1)].y); _local18 = (_local16 + 1); while (_local18 < _local4) { redLine.graphics.lineTo(avatar.debugPoints[(_local18 + 1)].x, avatar.debugPoints[(_local18 + 1)].y); _local18++; }; redLine.graphics.moveTo(avatar.debugPoints[_local4].x, avatar.debugPoints[(avatar.debugPoints.length - 1)].y); redLine.graphics.lineTo(avatar.x, avatar.y); }; } } }//package com.wefiends.chase
Section 4
//Engine (com.wefiends.chase.Engine) package com.wefiends.chase { import flash.display.*; import flash.events.*; import gs.*; import flash.geom.*; import flash.media.*; import fog.*; import flash.ui.*; import flash.utils.*; import flash.net.*; public class Engine extends MovieClip { private var susBar:SusBar; private var startTimer:Timer; private var camControl:CameraControl; private var count:CountDown; private var score:Score; private var susPoints:int;// = 600 private var vcam:VCam; private var playerAvatar:Avatar; private var mainMusicTrans:SoundTransform; private var chaseController:Controller; public var totalScore:int;// = 0 private var playerAvatarID:int; private var onRed:Boolean; private var chaseAvatarID:int; private var susbarGlow:Boolean;// = false private var speedOutaPink:Boolean;// = false public var outcome:String;// = "neither" private var scareSoundEnabled:Boolean;// = true private var scareSoundChan:SoundChannel; private var mainMusicChan:SoundChannel; private var myContextMenu:ContextMenu; private var chaseAvatar:Avatar; private var announce:Announcement; private var mainMusic:MainMusic; public var canWin:Boolean;// = false private var currentVolume:Number;// = 1 private var fogy:Fogger; private var ts:TokenSpawner; public function Engine(_arg1:int, _arg2:int, _arg3:VCam):void{ scareSoundChan = new SoundChannel(); super(); this.playerAvatarID = _arg1; this.chaseAvatarID = _arg2; this.vcam = _arg3; addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ removeEventListener(Event.ADDED_TO_STAGE, init); myContextMenu = new ContextMenu(); myContextMenu.hideBuiltInItems(); var _local2:ContextMenuItem = new ContextMenuItem("Just War Games!"); var _local3:ContextMenuItem = new ContextMenuItem("MortarGames"); var _local4:ContextMenuItem = new ContextMenuItem("Sound off"); _local4.separatorBefore = true; var _local5:ContextMenuItem = new ContextMenuItem("Volume 100%"); _local5.separatorBefore = true; var _local6:ContextMenuItem = new ContextMenuItem("Volume 75%"); var _local7:ContextMenuItem = new ContextMenuItem("Volume 50%"); var _local8:ContextMenuItem = new ContextMenuItem("Volume 25%"); myContextMenu.customItems.push(_local2, _local3, _local4, _local5, _local6, _local7, _local8); _local2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, mortarGamesLink); _local3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, mortarGamesLink); _local4.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, onSoundOff); _local5.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); _local6.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); _local7.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); _local8.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); createAvatarArrays(); startTimer = new Timer(1000, 3); startTimer.addEventListener(TimerEvent.TIMER_COMPLETE, startControls, false, 0, true); startTimer.addEventListener(TimerEvent.TIMER, countDown, false, 0, true); count = new CountDown(); count.scaleX = 6; count.scaleY = 6; stage.addChild(count); count.x = (vcam.x + 13); count.y = vcam.y; TweenFilterLite.to(count, 0, {blurFilter:{blurX:9, blurY:9}}); fogy = new Fogger(); fogy.contextMenu = myContextMenu; stage.addChild(fogy); score = new Score(); score.x = (vcam.x + 315); score.y = (vcam.y - 217); stage.addChild(score); susBar = new SusBar(); susBar.x = (vcam.x + 300); susBar.y = vcam.y; susBar.rotation = -90; stage.addChild(susBar); TweenFilterLite.to(susBar, 0, {blurFilter:{blurX:2, blurY:2}}); announce = new Announcement(); announce.x = vcam.x; announce.y = (vcam.y + 180); announce.alpha = 0; stage.addChild(announce); startTimer.start(); stage.stageFocusRect = false; this.focusRect = false; stage.focus = this; var _local9:CountDownSound = new CountDownSound(); scareSoundChan = _local9.play(0, 1); } private function createAvatarArrays():void{ var _local1:int; var _local2:int; var _local3:Array = new Array(); switch (playerAvatarID){ case 1: _local3.push(new AvatarZombieFront()); _local3.push(new AvatarZombieFrontRun()); _local3.push(new AvatarZombieBack()); _local3.push(new AvatarZombieBackRun()); _local3.push(new AvatarZombieSide()); _local3.push(new AvatarZombieSideRun()); case 2: _local1 = 10; _local3.push(new AvatarKillerFront()); _local3.push(new AvatarKillerFrontRun()); _local3.push(new AvatarKillerBack()); _local3.push(new AvatarKillerBackRun()); _local3.push(new AvatarKillerSide()); _local3.push(new AvatarKillerSideRun()); case 3: _local3.push(new AvatarGhostFront()); _local3.push(new AvatarGhostFront()); _local3.push(new AvatarGhostBack()); _local3.push(new AvatarGhostBack()); _local3.push(new AvatarGhostSide()); _local3.push(new AvatarGhostSide()); }; playerAvatar = new Avatar(_local3, _local1, _local2, 4, false); _local1 = 0; _local2 = 0; var _local4:Array = new Array(); switch (chaseAvatarID){ case 1: _local4.push(new AvatarBoyFront()); _local4.push(new AvatarBoyFrontRun()); _local4.push(new AvatarBoyBack()); _local4.push(new AvatarBoyBackRun()); _local4.push(new AvatarBoySide()); _local4.push(new AvatarBoySideRun()); case 2: _local4.push(new AvatarGirlFront()); _local4.push(new AvatarGirlFrontRun()); _local4.push(new AvatarGirlBack()); _local4.push(new AvatarGirlBackRun()); _local4.push(new AvatarGirlSide()); _local4.push(new AvatarGirlSideRun()); }; playerAvatar.y = (stage.stageHeight / 2); playerAvatar.x = 225; chaseAvatar = new Avatar(_local4, _local1, _local2, 4, true, new Point(playerAvatar.x, playerAvatar.y)); chaseAvatar.y = (stage.stageHeight / 2); chaseAvatar.x = 425; chaseController = new Controller(chaseAvatar, playerAvatar); addChild(chaseController); ts = new TokenSpawner(chaseAvatar, playerAvatar); addChild(ts); camControl = new CameraControl(vcam, chaseAvatar, playerAvatar); addChild(camControl); addChild(playerAvatar); addChild(chaseAvatar); addEventListener(Event.ENTER_FRAME, onEnterFrame); camControl.start(); } private function playScaredSounds():void{ var _local1:int; var _local2:AhhGirl; var _local3:GetAwayGirl; var _local4:LeaveMeAlone; var _local5:OhNoGirl; var _local6:AhhBoy; var _local7:GetAwayBoy; var _local8:LeaveMeAloneBoy; var _local9:OhNoBoy; var _local10:YourABullyBoy; if (scareSoundEnabled){ scareSoundEnabled = false; if (chaseAvatarID == 2){ _local1 = ((Math.random() * 3) + 1); switch (_local1){ case 1: _local2 = new AhhGirl(); scareSoundChan = _local2.play(0, 1); break; case 2: _local3 = new GetAwayGirl(); scareSoundChan = _local3.play(0, 1); break; case 3: _local4 = new LeaveMeAlone(); scareSoundChan = _local4.play(0, 1); break; case 4: _local5 = new OhNoGirl(); scareSoundChan = _local5.play(0, 1); break; }; } else { if (chaseAvatarID == 1){ _local1 = ((Math.random() * 4) + 1); switch (_local1){ case 1: _local6 = new AhhBoy(); scareSoundChan = _local6.play(0, 1); break; case 2: _local7 = new GetAwayBoy(); scareSoundChan = _local7.play(0, 1); break; case 3: _local8 = new LeaveMeAloneBoy(); scareSoundChan = _local8.play(0, 1); break; case 4: _local9 = new OhNoBoy(); scareSoundChan = _local9.play(0, 1); break; case 5: _local10 = new YourABullyBoy(); scareSoundChan = _local10.play(0, 1); break; }; }; }; scareSoundChan.addEventListener(Event.SOUND_COMPLETE, enableScareSound, false, 0, true); }; } private function playerControls(_arg1:KeyboardEvent):void{ var _local2:int = playerAvatar.whichDirection(); if (_local2 == 0){ if ((((_arg1.keyCode == Keyboard.SPACE)) && (canWin))){ startWinSeq(); } else { if (_arg1.keyCode == Keyboard.UP){ playerAvatar.turnRight(); } else { if (_arg1.keyCode == Keyboard.DOWN){ playerAvatar.turnLeft(); } else { if (_arg1.keyCode == 83){ playerAvatar.speedUp(); }; }; }; }; } else { if (_local2 == 1){ if ((((_arg1.keyCode == Keyboard.SPACE)) && (canWin))){ startWinSeq(); } else { if (_arg1.keyCode == Keyboard.RIGHT){ playerAvatar.turnRight(); } else { if (_arg1.keyCode == Keyboard.LEFT){ playerAvatar.turnLeft(); } else { if (_arg1.keyCode == 83){ playerAvatar.speedUp(); }; }; }; }; } else { if (_local2 == 2){ if ((((_arg1.keyCode == Keyboard.SPACE)) && (canWin))){ startWinSeq(); } else { if (_arg1.keyCode == Keyboard.DOWN){ playerAvatar.turnRight(); } else { if (_arg1.keyCode == Keyboard.UP){ playerAvatar.turnLeft(); } else { if (_arg1.keyCode == 83){ playerAvatar.speedUp(); }; }; }; }; } else { if (_local2 == 3){ if ((((_arg1.keyCode == Keyboard.SPACE)) && (canWin))){ startWinSeq(); } else { if (_arg1.keyCode == Keyboard.LEFT){ playerAvatar.turnRight(); } else { if (_arg1.keyCode == Keyboard.RIGHT){ playerAvatar.turnLeft(); } else { if (_arg1.keyCode == 83){ playerAvatar.speedUp(); }; }; }; }; }; }; }; }; } private function onEnterFrame(_arg1:Event):void{ var _local5:Number; var _local6:Boolean; var _local7:Boolean; var _local8:Number; stage.focus = this; var _local2:Boolean = chaseController.redLine.hitTestPoint(playerAvatar.x, playerAvatar.y, true); var _local3:Boolean = chaseController.redLine.hitTestPoint(playerAvatar.x, (playerAvatar.y + 25), true); if (((_local2) || (_local3))){ totalScore = (totalScore + 15); if (announce.alpha != 0){ TweenLite.to(announce, 0.5, {alpha:0}); }; onRed = true; if (chaseAvatar.getSpeedTimerDelay != 6000){ chaseAvatar.setSpeedTimer(6000); }; _local5 = Point.distance(new Point(chaseAvatar.x, chaseAvatar.y), new Point(playerAvatar.x, playerAvatar.y)); if (_local5 < (chaseController.redLineLen * 0.5)){ speedOutaPink = true; playScaredSounds(); }; if (susPoints < 999){ susPoints = (susPoints + 2); } else { canWin = true; if (announce.alpha != 0.3){ announce.text.text = "Suspense!"; TweenLite.to(announce, 0.5, {alpha:0.3}); }; }; } else { _local6 = chaseController.pinkLine.hitTestPoint(playerAvatar.x, playerAvatar.y, true); _local7 = chaseController.pinkLine.hitTestPoint(playerAvatar.x, (playerAvatar.y + 25), true); if (((_local6) || (_local7))){ totalScore = (totalScore + 5); if (((!((announce.alpha == 0))) && (!((announce.text.text == "Suspense!"))))){ TweenLite.to(announce, 0.5, {alpha:0}); }; } else { if (susPoints > 0){ canWin = false; susPoints = (susPoints - 7); if (announce.alpha != 0.3){ announce.text.text = "Get back on the trail"; TweenLite.to(announce, 0.5, {alpha:0.3}); } else { if (announce.text.text == "Suspense!"){ announce.text.text = "Get back on the trail"; }; }; } else { outcome = "lose"; engineDone(); }; }; if (speedOutaPink == true){ chaseAvatar.setSpeed(playerAvatar.speed); speedOutaPink = false; }; if (chaseAvatar.getSpeedTimerDelay != 15000){ chaseAvatar.setSpeedTimer(15000); }; }; if (speedOutaPink == true){ chaseAvatar.speedUp(); }; shouldRunaway(); if (ts.hitTestTokens()){ totalScore = (totalScore + 1000); if (susPoints < 800){ susPoints = (susPoints + 200); } else { susPoints = 1000; }; }; var _local4:int = ((susPoints / 1000) * 100); susBar.gotoAndStop(_local4); if (_local4 < 99){ _local8 = (0.75 * (_local4 / 100)); if (susbarGlow){ susbarGlow = false; TweenFilterLite.to(susBar, 0, {glowFilter:{alpha:0.8, color:0xFFFFFF, strength:_local8, blurX:9, blurY:9}}); }; } else { susbarGlow = true; TweenFilterLite.to(susBar, 0.5, {glowFilter:{alpha:1, color:16777061, strength:5, blurX:15, blurY:15}}); }; score.scoreText.text = String(totalScore); } private function startControls(_arg1:TimerEvent):void{ mainMusic = new MainMusic(); mainMusicTrans = new SoundTransform(); mainMusicChan = new SoundChannel(); mainMusicChan = mainMusic.play(0, 100); startTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, startControls); stage.addEventListener(KeyboardEvent.KEY_DOWN, playerControls); startTimer.stop(); chaseController.start(); ts.start(); } private function fadeOut():void{ camControl.stop(); mainMusicChan.stop(); dispatchEvent(new Event("engineDone", true)); } private function shouldRunaway():void{ var _local1:Number = Point.distance(new Point(chaseAvatar.x, chaseAvatar.y), new Point(playerAvatar.x, playerAvatar.y)); if (_local1 < 60){ chaseAvatar.setSpeed((playerAvatar.speed + 3)); chaseController.runAway(); }; } function mortarGamesLink(_arg1:ContextMenuEvent):void{ var _local2:URLRequest = new URLRequest("http://www.mortargames.com"); navigateToURL(_local2, "_blank"); } private function countDown(_arg1:TimerEvent):void{ var _local2:int = _arg1.currentTarget.currentCount; if (_local2 == 1){ count.countDownText.text = "2"; } else { if (_local2 == 2){ count.countDownText.text = "1"; } else { if (_local2 == 3){ startTimer.removeEventListener(TimerEvent.TIMER, countDown); stage.removeChild(count); }; }; }; } private function enableScareSound(_arg1:Event):void{ scareSoundChan.removeEventListener(Event.SOUND_COMPLETE, enableScareSound); scareSoundEnabled = true; } private function startWinSeq():void{ scareSoundEnabled = false; outcome = "win"; chaseController.stopMe(); playerAvatar.stopMe(); chaseAvatar.stopMe(); stage.removeEventListener(KeyboardEvent.KEY_DOWN, playerControls); TweenLite.to(playerAvatar, 0.3, {x:chaseAvatar.x, y:chaseAvatar.y, onComplete:engineDone}); } function volumeSet(_arg1:ContextMenuEvent){ var _local2:SoundTransform = new SoundTransform(); if (_arg1.currentTarget.caption == "Volume 100%"){ currentVolume = 1; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; } else { if (_arg1.currentTarget.caption == "Volume 75%"){ currentVolume = 0.75; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; } else { if (_arg1.currentTarget.caption == "Volume 50%"){ currentVolume = 0.5; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; } else { if (_arg1.currentTarget.caption == "Volume 25%"){ currentVolume = 0.25; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; }; }; }; }; } private function engineDone():void{ chaseController.stopMe(); playerAvatar.stopMe(); chaseAvatar.stopMe(); stage.removeChild(score); stage.removeChild(susBar); stage.removeChild(fogy); stage.removeChild(announce); stage.removeEventListener(KeyboardEvent.KEY_DOWN, playerControls); removeEventListener(Event.ENTER_FRAME, onEnterFrame); TweenLite.to(this, 0.5, {alpha:0, onComplete:fadeOut}); TweenLite.to(mainMusicChan, 0.5, {volume:0}); } function onSoundOff(_arg1:ContextMenuEvent){ var _local2:SoundTransform = new SoundTransform(); if (_arg1.currentTarget.caption == "Sound off"){ _local2.volume = 0; SoundMixer.soundTransform = _local2; _arg1.currentTarget.caption = "Sound on"; } else { if (_arg1.currentTarget.caption == "Sound on"){ _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; _arg1.currentTarget.caption = "Sound off"; }; }; } } }//package com.wefiends.chase
Section 5
//Main (com.wefiends.chase.Main) package com.wefiends.chase { import flash.display.*; import flash.events.*; import gs.*; import com.wefiends.chase.*; import mochi.*; import flash.media.*; import flash.ui.*; import flash.net.*; class Main extends MovieClip { private var menuMusic:MenuMusic; private var vcam:VCam; private var playerAvatar:int; private var totalScore:int; private var mainMenu:MovieClip; private var engine:Engine; private var menuMusicTrans:SoundTransform; private var fakeMovieClip:MovieClip; private var outcome:String; private var charMenu:MovieClip; private var myContextMenu:ContextMenu; private var cookie:Boolean;// = false private var chaseAvatar:int; private var currentVolume:Number;// = 1 private var finalMenu:MovieClip; private var menuMusicChan:SoundChannel; private var instrucMenu:MovieClip; private var keysMenu:MovieClip; private var charMenu2:MovieClip; function Main(_arg1:VCam):void{ this.vcam = _arg1; this.addEventListener(Event.ADDED_TO_STAGE, init); } private function removeCharMenu(_arg1:MouseEvent):void{ charMenu.zombieButton.removeEventListener(MouseEvent.MOUSE_OVER, removeBlur); charMenu.zombieButton.removeEventListener(MouseEvent.MOUSE_OUT, addBlur); charMenu.zombieButton.removeEventListener(MouseEvent.MOUSE_UP, removeCharMenu); charMenu.killerButton.removeEventListener(MouseEvent.MOUSE_OVER, removeBlur); charMenu.killerButton.removeEventListener(MouseEvent.MOUSE_OUT, addBlur); charMenu.killerButton.removeEventListener(MouseEvent.MOUSE_UP, removeCharMenu); charMenu.ghostButton.removeEventListener(MouseEvent.MOUSE_OVER, removeBlur); charMenu.ghostButton.removeEventListener(MouseEvent.MOUSE_OUT, addBlur); charMenu.ghostButton.removeEventListener(MouseEvent.MOUSE_UP, removeCharMenu); switch (_arg1.target.name){ case "zombieButton": playerAvatar = 1; break; case "killerButton": playerAvatar = 2; break; case "ghostButton": playerAvatar = 3; break; }; TweenLite.to(charMenu, 0.5, {alpha:0, onComplete:startCharMenu2}); } private function removeInstrucMenu(_arg1:MouseEvent):void{ instrucMenu.removeEventListener(MouseEvent.CLICK, removeInstrucMenu); TweenLite.to(instrucMenu, 0.5, {alpha:0, onComplete:startKeysMenu}); } private function removeMenu():void{ removeChild(mainMenu); startCharMenu(); } private function showLeader(_arg1:MouseEvent):void{ MochiScores.showLeaderboard({boardID:"928ad59a63c77c8d", score:totalScore, name:finalMenu.nameInput.text, res:"650x450", onClose:removeLeader}); } private function replayEngine(_arg1:MouseEvent):void{ finalMenu.replayButton.removeEventListener(MouseEvent.MOUSE_UP, replayEngine); TweenLite.to(finalMenu, 1, {alpha:0, onComplete:replayFade}); TweenLite.to(menuMusicChan, 1, {volume:0}); } private function fadeKeysMenu2(_arg1:MouseEvent):void{ TweenLite.to(keysMenu, 0.5, {alpha:0, onComplete:startMainMenu2}); } private function startKeysMenu():void{ removeChild(instrucMenu); keysMenu = new Keys(); keysMenu.x = (stage.stageWidth / 2); keysMenu.y = (stage.stageHeight / 2); keysMenu.alpha = 0; addChild(keysMenu); TweenLite.to(keysMenu, 0.5, {alpha:1}); keysMenu.addEventListener(MouseEvent.CLICK, fadeKeysMenu, false, 0, true); } private function removeMenu2():void{ removeChild(mainMenu); startInstrucMenu2(); } private function init(_arg1:Event):void{ this.removeEventListener(Event.ADDED_TO_STAGE, init); MochiBot.track(this, "e3d7b754"); MochiBot.track(this, "a4e37ee8"); MochiServices.connect("4719f2d25935961a", parent, onConnectError); myContextMenu = new ContextMenu(); myContextMenu.hideBuiltInItems(); var _local2:ContextMenuItem = new ContextMenuItem("Just War Games!"); var _local3:ContextMenuItem = new ContextMenuItem("MortarGames"); var _local4:ContextMenuItem = new ContextMenuItem("Sound off"); _local4.separatorBefore = true; var _local5:ContextMenuItem = new ContextMenuItem("Volume 100%"); _local5.separatorBefore = true; var _local6:ContextMenuItem = new ContextMenuItem("Volume 75%"); var _local7:ContextMenuItem = new ContextMenuItem("Volume 50%"); var _local8:ContextMenuItem = new ContextMenuItem("Volume 25%"); myContextMenu.customItems.push(_local2, _local3, _local4, _local5, _local6, _local7, _local8); _local2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, mortarGamesLink); _local3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, mortarGamesLink); _local4.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, onSoundOff); _local5.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); _local6.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); _local7.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); _local8.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, volumeSet); this.contextMenu = myContextMenu; var _local9:SharedObject = SharedObject.getLocal("wefiendssuspense"); if (_local9.size == 0){ _local9.data.played = "played"; } else { cookie = true; }; _local9.flush(); startIntro(); } private function removeBlur(_arg1:MouseEvent):void{ TweenFilterLite.to(_arg1.target, 0.2, {blurFilter:{blurX:0, blurY:0}}); } private function showLeader2(_arg1:MouseEvent):void{ MochiScores.showLeaderboard({boardID:"928ad59a63c77c8d", score:totalScore, res:"650x450", onClose:removeLeader}); } private function showLeader3(_arg1:MouseEvent):void{ MochiScores.showLeaderboard({boardID:"928ad59a63c77c8d", res:"650x450", onClose:removeLeaderNull}); } private function removeInstrucMenu2(_arg1:MouseEvent):void{ instrucMenu.removeEventListener(MouseEvent.CLICK, removeInstrucMenu2); TweenLite.to(instrucMenu, 0.5, {alpha:0, onComplete:startKeysMenu2}); } private function fadeMenu2(_arg1:MouseEvent):void{ mainMenu.howtoplayButton.removeEventListener(MouseEvent.CLICK, fadeMenu2); TweenLite.to(mainMenu, 0.5, {alpha:0, onComplete:removeMenu2}); } private function replayFade():void{ removeChild(finalMenu); menuMusicChan.stop(); MochiAd.showInterLevelAd({clip:root, id:"4719f2d25935961a", res:"650x450", no_bg:true, ad_finished:startReplayEngine}); } private function fadeKeysMenu(_arg1:MouseEvent):void{ TweenLite.to(keysMenu, 2, {alpha:0, onComplete:startEngine}); TweenLite.to(menuMusicChan, 2, {volume:0}); } private function startbackMainMenu():void{ removeChild(finalMenu); mainMenu.alpha = 0; addChild(mainMenu); TweenLite.to(mainMenu, 0.5, {alpha:1}); mainMenu.playButton.addEventListener(MouseEvent.CLICK, fadeMenu); mainMenu.howtoplayButton.addEventListener(MouseEvent.CLICK, fadeMenu2); } private function playCutScenes():void{ var _local1:BoyGone; var _local2:GirlGone; var _local3:ZombieWin; var _local4:SkullWin; var _local5:GhostBoyWin; var _local6:GhostGirlWin; if (outcome == "lose"){ if (chaseAvatar == 1){ _local1 = new BoyGone(); _local1.gotoAndPlay(1); _local1.x = (stage.stageWidth / 2); _local1.y = (stage.stageHeight / 2); _local1.alpha = 0; addChild(_local1); TweenLite.to(_local1, 0.2, {alpha:1}); _local1.addEventListener("clipDone", startFinalMenu, false, 0, true); } else { if (chaseAvatar == 2){ _local2 = new GirlGone(); _local2.gotoAndPlay(1); _local2.x = (stage.stageWidth / 2); _local2.y = (stage.stageHeight / 2); _local2.alpha = 0; addChild(_local2); TweenLite.to(_local2, 0.2, {alpha:1}); _local2.addEventListener("clipDone", startFinalMenu, false, 0, true); }; }; } else { if (outcome == "win"){ totalScore = (totalScore * 2); if (playerAvatar == 1){ _local3 = new ZombieWin(); _local3.gotoAndPlay(1); _local3.x = (stage.stageWidth / 2); _local3.y = (stage.stageHeight / 2); _local3.width = 650; _local3.height = 450; _local3.alpha = 0; addChild(_local3); TweenLite.to(_local3, 0.2, {alpha:1}); _local3.addEventListener("clipDone", startFinalMenu, false, 0, true); } else { if (playerAvatar == 2){ _local4 = new SkullWin(); _local4.gotoAndPlay(1); _local4.x = (stage.stageWidth / 2); _local4.y = (stage.stageHeight / 2); _local4.alpha = 0; addChild(_local4); TweenLite.to(_local4, 0.2, {alpha:1}); _local4.addEventListener("clipDone", startFinalMenu, false, 0, true); } else { if (playerAvatar == 3){ if (chaseAvatar == 1){ _local5 = new GhostBoyWin(); _local5.gotoAndPlay(1); _local5.x = (stage.stageWidth / 2); _local5.y = (stage.stageHeight / 2); _local5.alpha = 0; addChild(_local5); TweenLite.to(_local5, 0.2, {alpha:1}); _local5.addEventListener("clipDone", startFinalMenu, false, 0, true); } else { if (chaseAvatar == 2){ _local6 = new GhostGirlWin(); _local6.gotoAndPlay(1); _local6.x = (stage.stageWidth / 2); _local6.y = (stage.stageHeight / 2); _local6.alpha = 0; addChild(_local6); TweenLite.to(_local6, 0.2, {alpha:1}); _local6.addEventListener("clipDone", startFinalMenu, false, 0, true); }; }; }; }; }; }; }; } private function wefiendsLink(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.wefiends.com"); navigateToURL(_local2, "_blank"); } private function addBlur(_arg1:MouseEvent):void{ TweenFilterLite.to(_arg1.target, 0.2, {blurFilter:{blurX:9, blurY:9}, overwrite:3}); } private function startIntro():void{ var _local1:MortarIntro = new MortarIntro(); _local1.x = (stage.stageWidth / 2); _local1.y = (stage.stageHeight / 2); _local1.alpha = 0; addChild(_local1); TweenLite.to(_local1, 0.5, {alpha:1}); _local1.addEventListener("removeMe", removeIntro, false, 0, true); } private function removeLeader():void{ finalMenu.submitButton.removeEventListener(MouseEvent.CLICK, showLeader); finalMenu.scoreText.text = "submitted"; } private function startInstrucMenu():void{ removeChild(charMenu2); instrucMenu = new QuickInstruc(); instrucMenu.x = (stage.stageWidth / 2); instrucMenu.y = (stage.stageHeight / 2); instrucMenu.alpha = 0; addChild(instrucMenu); TweenLite.to(instrucMenu, 0.5, {alpha:1}); instrucMenu.addEventListener(MouseEvent.CLICK, removeInstrucMenu, false, 0, true); } private function startCharMenu2():void{ removeChild(charMenu); charMenu2 = new CharMenu2(); charMenu2.x = (stage.stageWidth / 2); charMenu2.y = (stage.stageHeight / 2); charMenu2.alpha = 0; addChild(charMenu2); TweenLite.to(charMenu2, 0.5, {alpha:1}); TweenFilterLite.to(charMenu2.boyButton, 0, {blurFilter:{blurX:9, blurY:9}}); charMenu2.boyButton.addEventListener(MouseEvent.MOUSE_OVER, removeBlur, false, 0, true); charMenu2.boyButton.addEventListener(MouseEvent.MOUSE_OUT, addBlur, false, 0, true); charMenu2.boyButton.addEventListener(MouseEvent.MOUSE_UP, removeCharMenu2, false, 0, true); TweenFilterLite.to(charMenu2.girlButton, 0, {blurFilter:{blurX:9, blurY:9}}); charMenu2.girlButton.addEventListener(MouseEvent.MOUSE_OVER, removeBlur, false, 0, true); charMenu2.girlButton.addEventListener(MouseEvent.MOUSE_OUT, addBlur, false, 0, true); charMenu2.girlButton.addEventListener(MouseEvent.MOUSE_UP, removeCharMenu2, false, 0, true); } public function onConnectError(_arg1:String):void{ } private function startMainMenu2():void{ removeChild(keysMenu); mainMenu.alpha = 0; addChild(mainMenu); TweenLite.to(mainMenu, 0.5, {alpha:1}); mainMenu.playButton.addEventListener(MouseEvent.CLICK, fadeMenu); mainMenu.howtoplayButton.addEventListener(MouseEvent.CLICK, fadeMenu2); } private function backMainMenu(_arg1:MouseEvent):void{ finalMenu.mainMenuButton.removeEventListener(MouseEvent.MOUSE_UP, backMainMenu); TweenLite.to(finalMenu, 1, {alpha:0, onComplete:startbackMainMenu}); } function mortarGamesLink(_arg1:ContextMenuEvent):void{ var _local2:URLRequest = new URLRequest("http://www.mortargames.com"); navigateToURL(_local2, "_blank"); } private function removeIntro(_arg1:Event):void{ _arg1.target.parent.removeChild(_arg1.target); startMenu(); } private function startReplayEngine():void{ engine = new Engine(playerAvatar, chaseAvatar, vcam); engine.alpha = 0; engine.addEventListener("engineDone", removeEngine, false, 0, true); addChild(engine); engine.contextMenu = myContextMenu; TweenFilterLite.to(engine, 3, {alpha:1}); } private function startEngine():void{ if (cookie){ removeChild(charMenu2); } else { removeChild(keysMenu); }; menuMusicChan.stop(); engine = new Engine(playerAvatar, chaseAvatar, vcam); engine.alpha = 0; engine.addEventListener("engineDone", removeEngine, false, 0, true); addChild(engine); TweenFilterLite.to(engine, 3, {alpha:1}); } private function addFinalMenu(_arg1):void{ _arg1.parent.removeChild(_arg1); finalMenu = new FinalMenu(); finalMenu.x = (stage.stageWidth / 2); finalMenu.y = (stage.stageHeight / 2); finalMenu.alpha = 0; addChild(finalMenu); TweenLite.to(finalMenu, 1, {alpha:1}); menuMusicChan = menuMusic.play(0, 100); finalMenu.replayButton.addEventListener(MouseEvent.MOUSE_UP, replayEngine, false, 0, true); finalMenu.mainMenuButton.addEventListener(MouseEvent.MOUSE_UP, backMainMenu, false, 0, true); finalMenu.moreGamesButton.addEventListener(MouseEvent.CLICK, mgURL, false, 0, true); finalMenu.scoreText.text = totalScore; finalMenu.scoreText.selectable = false; finalMenu.submitButton.addEventListener(MouseEvent.CLICK, showLeader, false, 0, true); finalMenu.highScoresButton.addEventListener(MouseEvent.CLICK, showLeader2, false, 0, true); } private function startCharMenu():void{ charMenu = new CharMenu(); charMenu.x = (stage.stageWidth / 2); charMenu.y = (stage.stageHeight / 2); charMenu.alpha = 0; addChild(charMenu); TweenLite.to(charMenu, 0.5, {alpha:1}); TweenFilterLite.to(charMenu.zombieButton, 0, {blurFilter:{blurX:9, blurY:9}}); charMenu.zombieButton.addEventListener(MouseEvent.MOUSE_OVER, removeBlur, false, 0, true); charMenu.zombieButton.addEventListener(MouseEvent.MOUSE_OUT, addBlur, false, 0, true); charMenu.zombieButton.addEventListener(MouseEvent.MOUSE_UP, removeCharMenu, false, 0, true); TweenFilterLite.to(charMenu.killerButton, 0, {blurFilter:{blurX:9, blurY:9}}); charMenu.killerButton.addEventListener(MouseEvent.MOUSE_OVER, removeBlur, false, 0, true); charMenu.killerButton.addEventListener(MouseEvent.MOUSE_OUT, addBlur, false, 0, true); charMenu.killerButton.addEventListener(MouseEvent.MOUSE_UP, removeCharMenu, false, 0, true); TweenFilterLite.to(charMenu.ghostButton, 0, {blurFilter:{blurX:9, blurY:9}}); charMenu.ghostButton.addEventListener(MouseEvent.MOUSE_OVER, removeBlur, false, 0, true); charMenu.ghostButton.addEventListener(MouseEvent.MOUSE_OUT, addBlur, false, 0, true); charMenu.ghostButton.addEventListener(MouseEvent.MOUSE_UP, removeCharMenu, false, 0, true); } private function removeCharMenu2(_arg1:MouseEvent):void{ charMenu2.boyButton.removeEventListener(MouseEvent.MOUSE_OVER, removeBlur); charMenu2.boyButton.removeEventListener(MouseEvent.MOUSE_OUT, addBlur); charMenu2.boyButton.removeEventListener(MouseEvent.MOUSE_UP, removeCharMenu2); charMenu2.girlButton.removeEventListener(MouseEvent.MOUSE_OVER, removeBlur); charMenu2.girlButton.removeEventListener(MouseEvent.MOUSE_OUT, addBlur); charMenu2.girlButton.removeEventListener(MouseEvent.MOUSE_UP, removeCharMenu2); switch (_arg1.target.name){ case "boyButton": chaseAvatar = 1; break; case "girlButton": chaseAvatar = 2; break; }; if (cookie){ TweenLite.to(charMenu2, 2, {alpha:0, onComplete:startEngine}); TweenLite.to(menuMusicChan, 2, {volume:0}); } else { TweenLite.to(charMenu2, 0.5, {alpha:0, onComplete:startInstrucMenu}); }; } private function startInstrucMenu2():void{ instrucMenu = new QuickInstruc(); instrucMenu.x = (stage.stageWidth / 2); instrucMenu.y = (stage.stageHeight / 2); instrucMenu.alpha = 0; addChild(instrucMenu); TweenLite.to(instrucMenu, 0.5, {alpha:1}); instrucMenu.addEventListener(MouseEvent.CLICK, removeInstrucMenu2, false, 0, true); } private function startKeysMenu2():void{ removeChild(instrucMenu); keysMenu = new Keys(); keysMenu.x = (stage.stageWidth / 2); keysMenu.y = (stage.stageHeight / 2); keysMenu.alpha = 0; addChild(keysMenu); TweenLite.to(keysMenu, 0.5, {alpha:1}); keysMenu.addEventListener(MouseEvent.CLICK, fadeKeysMenu2, false, 0, true); } function onSoundOff(_arg1:ContextMenuEvent){ var _local2:SoundTransform = new SoundTransform(); if (_arg1.currentTarget.caption == "Sound off"){ _local2.volume = 0; SoundMixer.soundTransform = _local2; _arg1.currentTarget.caption = "Sound on"; } else { if (_arg1.currentTarget.caption == "Sound on"){ _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; _arg1.currentTarget.caption = "Sound off"; }; }; } private function startFinalMenu(_arg1:Event):void{ TweenLite.to(_arg1.target, 3, {alpha:0, onComplete:addFinalMenu, onCompleteParams:[_arg1.target]}); } private function startMenu():void{ menuMusic = new MenuMusic(); menuMusicTrans = new SoundTransform(); menuMusicChan = new SoundChannel(); menuMusicChan = menuMusic.play(0, 100); mainMenu = new MainMenu(); mainMenu.x = (stage.stageWidth / 2); mainMenu.y = (stage.stageHeight / 2); mainMenu.alpha = 0; addChild(mainMenu); TweenLite.to(mainMenu, 1.5, {alpha:1}); mainMenu.playButton.addEventListener(MouseEvent.CLICK, fadeMenu); mainMenu.howtoplayButton.addEventListener(MouseEvent.CLICK, fadeMenu2); mainMenu.moreGamesButton.addEventListener(MouseEvent.CLICK, mgURL, false, 0, true); mainMenu.highScoresButton.addEventListener(MouseEvent.CLICK, showLeader3, false, 0, true); mainMenu.wefiendsButton.useHandCursor = true; mainMenu.wefiendsButton.addEventListener(MouseEvent.CLICK, wefiendsLink, false, 0, true); } private function removeLeaderNull():void{ } function volumeSet(_arg1:ContextMenuEvent){ var _local2:SoundTransform = new SoundTransform(); if (_arg1.currentTarget.caption == "Volume 100%"){ currentVolume = 1; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; } else { if (_arg1.currentTarget.caption == "Volume 75%"){ currentVolume = 0.75; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; } else { if (_arg1.currentTarget.caption == "Volume 50%"){ currentVolume = 0.5; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; } else { if (_arg1.currentTarget.caption == "Volume 25%"){ currentVolume = 0.25; _local2.volume = currentVolume; SoundMixer.soundTransform = _local2; }; }; }; }; } private function fadeMenu(_arg1:MouseEvent):void{ mainMenu.playButton.removeEventListener(MouseEvent.CLICK, fadeMenu); TweenLite.to(mainMenu, 0.5, {alpha:0, onComplete:removeMenu}); } private function mgURL(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.mortargames.com"); navigateToURL(_local2, "_blank"); } private function removeEngine(_arg1:Event):void{ engine.removeEventListener("engineDone", removeEngine); totalScore = engine.totalScore; outcome = engine.outcome; removeChild(engine); engine = null; playCutScenes(); } } }//package com.wefiends.chase
Section 6
//Preload (com.wefiends.chase.Preload) package com.wefiends.chase { import flash.display.*; public dynamic class Preload extends MovieClip { public var vcam:VCam; public var main:Main; public function Preload():void{ addFrameScript(0, frame1, 6, frame7); this.stop(); init(); } function frame1(){ stage.scaleMode = StageScaleMode.NO_BORDER; stage.align = StageAlign.TOP_LEFT; } private function init():void{ MochiAd.showPreGameAd({clip:this, id:"4719f2d25935961a", res:"650x450", no_bg:true, color:0xFFFFFF, background:0x180D00, outline:0xDF8100}); } function frame7(){ stop(); main = new Main(vcam); addChild(main); } } }//package com.wefiends.chase
Section 7
//TokenSpawner (com.wefiends.chase.TokenSpawner) package com.wefiends.chase { import flash.display.*; import flash.events.*; import gs.*; import flash.utils.*; public class TokenSpawner extends MovieClip { private var timer:Timer; public var tokenDict:Dictionary; private var avatar:Avatar; private var playerAvatar:Avatar; public function TokenSpawner(_arg1:Avatar, _arg2:Avatar){ tokenDict = new Dictionary(true); super(); this.avatar = _arg1; this.playerAvatar = _arg2; addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); } public function start():void{ timer.start(); } protected function init(_arg1:Event):void{ removeEventListener(Event.ADDED_TO_STAGE, init); timer = new Timer(3000); timer.addEventListener(TimerEvent.TIMER, spawn, false, 0, true); } protected function spawn(_arg1:TimerEvent):void{ var _local2:Object; var _local3:int; var _local4:SkullToken; var _local5:int; var _local6:int; for (_local2 in tokenDict) { _local3 = (getTimer() - int(_local2)); if (_local3 > 15000){ removeChild(tokenDict[_local2]); delete tokenDict[_local2]; }; }; if (Math.random() > 0.5){ _local4 = new SkullToken(); _local5 = ((Math.random() * 109) + 1); _local6 = ((Math.random() * 109) + 1); _local4.x = (avatar.x + _local5); _local4.y = (avatar.y + _local6); _local4.scaleX = 0; _local4.scaleY = 0; _local4.alpha = 0; _local4.uid = getTimer(); tokenDict[_local4.uid] = _local4; addChild(_local4); TweenLite.to(_local4, 0.3, {alpha:1, scaleX:2, scaleY:2}); }; } protected function fadeToken(_arg1:Event):void{ _arg1.target.removeEventListener("removeMe", fadeToken); _arg1.target.parent.removeChild(_arg1.target); } public function hitTestTokens():Boolean{ var _local1:SkullToken; for each (_local1 in tokenDict) { if (_local1.hitTestObject(playerAvatar)){ _local1.play(); _local1.addEventListener("removeMe", fadeToken, false, 0, true); delete tokenDict[_local1.uid]; return (true); }; }; return (false); } } }//package com.wefiends.chase
Section 8
//Fogger (fog.Fogger) package fog { import flash.display.*; public class Fogger extends MovieClip { private var b:int; private var nStageWidth:Number;// = 650 private var nStageHeight:Number;// = 450 private var mcFogContainer:MovieClip; public function Fogger(){ mcFogContainer = new MovieClip(); addChild(mcFogContainer); b = 0; while (b < 15) { _addFog(); b++; }; } private function randomer(_arg1:Number, _arg2:Number){ var _local3:Number = (_arg2 - _arg1); return (((Math.random() * _local3) + _arg1)); } private function _addFog():void{ var _local1:smoker = new smoker(); mcFogContainer.addChild(_local1); _local1.rotation = randomer(0, 359); _local1.x = randomer(0, nStageWidth); _local1.y = randomer(0, nStageHeight); _local1.scaleX = (_local1.scaleY = randomer(2, 4)); _local1.alpha = randomer(0.1, 0.5); } } }//package fog
Section 9
//smoker (fog.smoker) package fog { import flash.display.*; import flash.utils.*; public class smoker extends MovieClip { private var uintMoveFog:uint; private var nStageHeight:Number;// = 450 private var rotater:Number; public function smoker(){ rotater = ((Math.random() * 1) - 0.5); super(); uintMoveFog = setInterval(_moveFog, 20); } private function _moveFog():void{ this.rotation = (this.rotation + this.rotater); } } }//package fog
Section 10
//TweenFilterLite (gs.TweenFilterLite) package gs { import flash.filters.*; import flash.utils.*; public class TweenFilterLite extends TweenLite { protected var _matrix:Array; protected var _hf:Boolean;// = false protected var _roundProps:Boolean; protected var _cmf:ColorMatrixFilter; protected var _filters:Array; protected var _endMatrix:Array; protected var _timeScale:Number; protected var _clrsa:Array; public static var removeTween:Function = TweenLite.removeTween; private static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; private static var _lumB:Number = 0.072169; public static var delayedCall:Function = TweenLite.delayedCall; public static var killTweensOf:Function = TweenLite.killTweensOf; public static var version:Number = 9.27; private static var _lumG:Number = 0.71516; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _lumR:Number = 0.212671; protected static var _globalTimeScale:Number = 1; public function TweenFilterLite(_arg1:Object, _arg2:Number, _arg3:Object){ _filters = []; super(_arg1, _arg2, _arg3); if (((!((this.combinedTimeScale == 1))) && ((this.target is TweenFilterLite)))){ _timeScale = 1; this.combinedTimeScale = _globalTimeScale; } else { _timeScale = this.combinedTimeScale; this.combinedTimeScale = (this.combinedTimeScale * _globalTimeScale); }; if (((!((this.combinedTimeScale == 1))) && (!((this.delay == 0))))){ this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale))); }; if (TweenLite.version < 9.26){ }; } override public function killVars(_arg1:Object):void{ if (TweenLite.overwriteManager.enabled){ TweenLite.overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, ((_filters) || ([]))); }; } override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:int; var _local4:Object; var _local5:Object; var _local6:Object; var _local7:int; var _local8:String; if (((!(_arg1)) && (TweenLite.overwriteManager.enabled))){ TweenLite.overwriteManager.manageOverwrites(this, masterList[this.target]); }; _clrsa = []; _filters = []; _matrix = _idMatrix.slice(); _arg2 = (_arg2 + " blurFilter glowFilter colorMatrixFilter dropShadowFilter bevelFilter roundProps "); _roundProps = (this.vars.roundProps is Array); if (_isDisplayObject){ if (this.vars.blurFilter != null){ _local4 = this.vars.blurFilter; addFilter("blurFilter", _local4, BlurFilter, ["blurX", "blurY", "quality"], new BlurFilter(0, 0, ((_local4.quality) || (2)))); }; if (this.vars.glowFilter != null){ _local4 = this.vars.glowFilter; addFilter("glowFilter", _local4, GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new GlowFilter(0xFFFFFF, 0, 0, 0, ((_local4.strength) || (1)), ((_local4.quality) || (2)), _local4.inner, _local4.knockout)); }; if (this.vars.colorMatrixFilter != null){ _local4 = this.vars.colorMatrixFilter; _local5 = addFilter("colorMatrixFilter", _local4, ColorMatrixFilter, [], new ColorMatrixFilter(_matrix)); _cmf = _local5.filter; _matrix = ColorMatrixFilter(_cmf).matrix; if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){ _endMatrix = _local4.matrix; } else { if (_local4.relative == true){ _endMatrix = _matrix.slice(); } else { _endMatrix = _idMatrix.slice(); }; _endMatrix = setBrightness(_endMatrix, _local4.brightness); _endMatrix = setContrast(_endMatrix, _local4.contrast); _endMatrix = setHue(_endMatrix, _local4.hue); _endMatrix = setSaturation(_endMatrix, _local4.saturation); _endMatrix = setThreshold(_endMatrix, _local4.threshold); if (!isNaN(_local4.colorize)){ _endMatrix = colorize(_endMatrix, _local4.colorize, _local4.amount); } else { if (!isNaN(_local4.color)){ _endMatrix = colorize(_endMatrix, _local4.color, _local4.amount); }; }; }; _local3 = 0; while (_local3 < _endMatrix.length) { if (((!((_matrix[_local3] == _endMatrix[_local3]))) && (!((_matrix[_local3] == undefined))))){ this.tweens[this.tweens.length] = [_matrix, _local3.toString(), _matrix[_local3], (_endMatrix[_local3] - _matrix[_local3]), "colorMatrixFilter"]; }; _local3++; }; }; if (this.vars.dropShadowFilter != null){ _local4 = this.vars.dropShadowFilter; addFilter("dropShadowFilter", _local4, DropShadowFilter, ["alpha", "angle", "blurX", "blurY", "color", "distance", "quality", "strength", "inner", "knockout", "hideObject"], new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_local4.quality) || (2)), _local4.inner, _local4.knockout, _local4.hideObject)); }; if (this.vars.bevelFilter != null){ _local4 = this.vars.bevelFilter; addFilter("bevelFilter", _local4, BevelFilter, ["angle", "blurX", "blurY", "distance", "highlightAlpha", "highlightColor", "quality", "shadowAlpha", "shadowColor", "strength"], new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_local4.quality) || (2)))); }; if (this.vars.runBackwards == true){ _local3 = (_clrsa.length - 1); while (_local3 > -1) { _local6 = _clrsa[_local3]; _clrsa[_local3].sr = (_local6.sr + _local6.cr); _local6.cr = (_local6.cr * -1); _local6.sg = (_local6.sg + _local6.cg); _local6.cg = (_local6.cg * -1); _local6.sb = (_local6.sb + _local6.cb); _local6.cb = (_local6.cb * -1); _local6.f[_local6.p] = (((_local6.sr << 16) | (_local6.sg << 8)) | _local6.sb); _local3--; }; }; super.initTweenVals(true, _arg2); } else { super.initTweenVals(_arg1, _arg2); }; if (_roundProps){ _local3 = (this.vars.roundProps.length - 1); while (_local3 > -1) { _local8 = this.vars.roundProps[_local3]; _local7 = (this.tweens.length - 1); while (_local7 > -1) { if ((((this.tweens[_local7][1] == _local8)) && ((this.tweens[_local7][0] == this.target)))){ this.tweens[_local7][5] = true; break; }; _local7--; }; _local3--; }; }; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; if (_arg1){ this.combinedTimeScale = (_timeScale * _globalTimeScale); }; } public function set timeScale(_arg1:Number):void{ if (_arg1 < 1E-5){ _arg1 = (_timeScale = 1E-5); } else { _timeScale = _arg1; _arg1 = (_arg1 * _globalTimeScale); }; this.initTime = ((currentTime - ((((currentTime - this.initTime) - (this.delay * (1000 / this.combinedTimeScale))) * this.combinedTimeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1))); if (this.startTime != 999999999999999){ this.startTime = (this.initTime + (this.delay * (1000 / _arg1))); }; this.combinedTimeScale = _arg1; } public function get timeScale():Number{ return (_timeScale); } override public function render(_arg1:uint):void{ var _local3:Number; var _local4:Object; var _local5:int; var _local6:Number; var _local7:int; var _local8:Array; var _local9:int; var _local2:Number = (((_arg1 - this.startTime) / 1000) * this.combinedTimeScale); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; if (!_roundProps){ _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4[0][_local4[1]] = (_local4[2] + (_local3 * _local4[3])); _local5--; }; } else { _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; if (_local4[5]){ _local6 = (_local4[2] + (_local3 * _local4[3])); _local7 = ((_local6)<0) ? -1 : 1; _local4[0][_local4[1]] = ((((_local6 % 1) * _local7))>0.5) ? (int(_local6) + _local7) : int(_local6); } else { _local4[0][_local4[1]] = (_local4[2] + (_local3 * _local4[3])); }; _local5--; }; }; if (_hf){ _local5 = (_clrsa.length - 1); while (_local5 > -1) { _local4 = _clrsa[_local5]; _local4.f[_local4.p] = ((((_local4.sr + (_local3 * _local4.cr)) << 16) | ((_local4.sg + (_local3 * _local4.cg)) << 8)) | (_local4.sb + (_local3 * _local4.cb))); _local5--; }; if (_cmf != null){ ColorMatrixFilter(_cmf).matrix = _matrix; }; _local8 = this.target.filters; _local5 = 0; while (_local5 < _filters.length) { _local9 = (_local8.length - 1); while (_local9 > -1) { if ((_local8[_local9] is _filters[_local5].type)){ _local8.splice(_local9, 1, _filters[_local5].filter); break; }; _local9--; }; _local5++; }; this.target.filters = _local8; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5], _local2); _local5--; }; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } private function addFilter(_arg1:String, _arg2:Object, _arg3:Class, _arg4:Array, _arg5:BitmapFilter):Object{ var _local8:int; var _local9:String; var _local10:Number; var _local11:Object; var _local12:Object; var _local6:Object = {type:_arg3, name:_arg1}; var _local7:Array = this.target.filters; _local8 = 0; while (_local8 < _local7.length) { if ((_local7[_local8] is _arg3)){ _local6.filter = _local7[_local8]; break; }; _local8++; }; if (_local6.filter == undefined){ _local6.filter = _arg5; _local7[_local7.length] = _local6.filter; this.target.filters = _local7; }; _local8 = 0; while (_local8 < _arg4.length) { _local9 = _arg4[_local8]; if (_arg2[_local9] != undefined){ if ((((((_local9 == "color")) || ((_local9 == "highlightColor")))) || ((_local9 == "shadowColor")))){ _local11 = HEXtoRGB(_local6.filter[_local9]); _local12 = HEXtoRGB(_arg2[_local9]); _clrsa[_clrsa.length] = {f:_local6.filter, p:_local9, sr:_local11.rb, cr:(_local12.rb - _local11.rb), sg:_local11.gb, cg:(_local12.gb - _local11.gb), sb:_local11.bb, cb:(_local12.bb - _local11.bb)}; } else { if ((((((((_local9 == "quality")) || ((_local9 == "inner")))) || ((_local9 == "knockout")))) || ((_local9 == "hideObject")))){ _local6.filter[_local9] = _arg2[_local9]; } else { if (typeof(_arg2[_local9]) == "number"){ _local10 = (_arg2[_local9] - _local6.filter[_local9]); } else { _local10 = Number(_arg2[_local9]); }; this.tweens[this.tweens.length] = [_local6.filter, _local9, _local6.filter[_local9], _local10, _arg1]; }; }; }; _local8++; }; _filters[_filters.length] = _local6; _hf = true; return (_local6); } public static function setHue(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 * (Math.PI / 180)); var _local3:Number = Math.cos(_arg2); var _local4:Number = Math.sin(_arg2); var _local5:Array = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return (applyMatrix(_local5, _arg1)); } public static function setContrast(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 + 0.01); var _local3:Array = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function applyMatrix(_arg1:Array, _arg2:Array):Array{ var _local6:int; var _local7:int; if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (_arg2); }; var _local3:Array = []; var _local4:int; var _local5:int; _local6 = 0; while (_local6 < 4) { _local7 = 0; while (_local7 < 5) { if (_local7 == 4){ _local5 = _arg1[(_local4 + 4)]; } else { _local5 = 0; }; _local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5); _local7++; }; _local4 = (_local4 + 5); _local6++; }; return (_local3); } public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{ if (isNaN(_arg2)){ return (_arg1); }; if (isNaN(_arg3)){ _arg3 = 1; }; var _local4:Number = (((_arg2 >> 16) & 0xFF) / 0xFF); var _local5:Number = (((_arg2 >> 8) & 0xFF) / 0xFF); var _local6:Number = ((_arg2 & 0xFF) / 0xFF); var _local7:Number = (1 - _arg3); var _local8:Array = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local8, _arg1)); } public static function setBrightness(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = ((_arg2 * 100) - 100); return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1)); } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; var _local3:Number = (1 - _arg2); var _local4:Number = (_local3 * _lumR); var _local5:Number = (_local3 * _lumG); var _local6:Number = (_local3 * _lumB); var _local7:Array = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local7, _arg1)); } public static function setGlobalTimeScale(_arg1:Number):void{ var _local3:int; var _local4:Array; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; var _local2:Dictionary = masterList; _globalTimeScale = _arg1; for each (_local4 in _local2) { _local3 = (_local4.length - 1); while (_local3 > -1) { if ((_local4[_local3] is TweenFilterLite)){ _local4[_local3].timeScale = (_local4[_local3].timeScale * 1); }; _local3--; }; }; } public static function get globalTimeScale():Number{ return (_globalTimeScale); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{ _arg3.runBackwards = true; return (new TweenFilterLite(_arg1, _arg2, _arg3)); } public static function set globalTimeScale(_arg1:Number):void{ setGlobalTimeScale(_arg1); } public static function HEXtoRGB(_arg1:Number):Object{ return ({rb:(_arg1 >> 16), gb:((_arg1 >> 8) & 0xFF), bb:(_arg1 & 0xFF)}); } public static function setThreshold(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; var _local3:Array = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{ return (new TweenFilterLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 11
//TweenLite (gs.TweenLite) package gs { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.utils.*; public class TweenLite { public var started:Boolean; public var delay:Number; protected var _hasUpdate:Boolean; protected var _subTweens:Array; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; protected var _hst:Boolean; public var gc:Boolean; protected var _isDisplayObject:Boolean; public var tweens:Array; public var vars:Object; public var ease:Function; protected var _specialVars:Object; public var initTime:Number; public var combinedTimeScale:Number; private static var _timer:Timer = new Timer(2000); private static var _classInitted:Boolean; public static var defaultEase:Function = TweenLite.easeOut; public static var version:Number = 9.26; public static var masterList:Dictionary = new Dictionary(false); private static var _sprite:Sprite = new Sprite(); public static var currentTime:uint; public static var overwriteManager:Object; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ if (_arg1 == null){ return; }; if (!_classInitted){ currentTime = getTimer(); _sprite.addEventListener(Event.ENTER_FRAME, updateAll); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage); _timer.start(); _classInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.active = (((_arg2 == 0)) && ((this.delay == 0))); this.target = _arg1; _isDisplayObject = (_arg1 is DisplayObject); if (!(this.vars.ease is Function)){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; if (!isNaN(Number(this.vars.autoAlpha))){ this.vars.alpha = Number(this.vars.autoAlpha); this.vars.visible = (this.vars.alpha > 0); }; _specialVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars; this.tweens = []; _subTweens = []; _hst = (this.initted = false); this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if ((((masterList[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){ masterList[_arg1] = []; }; masterList[_arg1].push(this); if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((_specialVars.visible == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){ this.target.visible = _specialVars.visible; }; }; } public function get enabled():Boolean{ return (!(this.gc)); } public function render(_arg1:uint):void{ var _local3:Number; var _local4:Object; var _local5:int; var _local2:Number = ((_arg1 - this.startTime) / 1000); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4[0][_local4[1]] = (_local4[2] + (_local3 * _local4[3])); _local5--; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5], _local2); _local5--; }; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (masterList[this.target] == undefined){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ masterList[this.target].push(this); }; }; } else { if ((this.target is DisplayObject)){ }; }; this.gc = !(_arg1); if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function clear():void{ this.tweens = []; _subTweens = []; this.vars = {}; _hst = (_hasUpdate = false); } protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{ var _local6:String; _subTweens[_subTweens.length] = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5}; for (_local6 in _arg4) { if (typeof(_arg4[_local6]) == "number"){ this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], (_arg4[_local6] - _arg3[_local6]), _arg1]; } else { this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], Number(_arg4[_local6]), _arg1]; }; }; _hst = true; } public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:String; var _local4:int; var _local5:Array; var _local6:ColorTransform; var _local7:ColorTransform; var _local8:Object; if (((!(_arg1)) && (overwriteManager.enabled))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; if ((this.target is Array)){ _local5 = ((this.vars.endArray) || ([])); _local4 = 0; while (_local4 < _local5.length) { if (((!((this.target[_local4] == _local5[_local4]))) && (!((this.target[_local4] == undefined))))){ this.tweens[this.tweens.length] = [this.target, _local4.toString(), this.target[_local4], (_local5[_local4] - this.target[_local4]), _local4.toString()]; }; _local4++; }; } else { if (((((!((typeof(_specialVars.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){ _local6 = this.target.transform.colorTransform; _local7 = new ColorTransform(); if (_specialVars.alpha != undefined){ _local7.alphaMultiplier = _specialVars.alpha; delete _specialVars.alpha; } else { _local7.alphaMultiplier = this.target.alpha; }; if (((!((this.vars.removeTint == true))) && (((((!((_specialVars.tint == null))) && (!((_specialVars.tint == ""))))) || ((_specialVars.tint == 0)))))){ _local7.color = _specialVars.tint; }; addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local6, endColor:_local7}); }; if (((!((_specialVars.frame == null))) && (_isDisplayObject))){ addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_specialVars.frame}, {target:this.target}); }; if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){ addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target}); }; if (((!((_specialVars.visible == null))) && (_isDisplayObject))){ addSubTween("visible", visibleProxy, {}, {}, {tween:this}); }; for (_local3 in _specialVars) { if ((((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((((_local3 == "timeScale")) && (!((this.target is TweenLite))))))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){ } else { if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){ if (typeof(_specialVars[_local3]) == "number"){ this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], (_specialVars[_local3] - this.target[_local3]), _local3]; } else { this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], Number(_specialVars[_local3]), _local3]; }; }; }; }; }; if (this.vars.runBackwards == true){ _local4 = (this.tweens.length - 1); while (_local4 > -1) { _local8 = this.tweens[_local4]; _local8[2] = (_local8[2] + _local8[3]); _local8[3] = (_local8[3] * -1); _local4--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []); }; } public function complete(_arg1:Boolean=false):void{ if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function frameProxy(_arg1:Object, _arg2:Number=0):void{ _arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame)); } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function visibleProxy(_arg1:Object, _arg2:Number):void{ var _local3:TweenLite = _arg1.info.tween; if (_local3.duration == _arg2){ if (((!((_local3.vars.runBackwards == true))) && ((_local3.ease == _local3.vars.ease)))){ _local3.target.visible = _local3.vars.visible; }; } else { if (_local3.target.visible != true){ _local3.target.visible = true; }; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && (!((masterList[_arg1] == undefined))))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function updateAll(_arg1:Event=null):void{ var _local4:Array; var _local5:int; var _local6:TweenLite; var _local2:uint = (currentTime = getTimer()); var _local3:Dictionary = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { _local6 = _local4[_local5]; if (_local6 == null){ } else { if (_local6.active){ _local6.render(_local2); } else { if (_local6.gc){ _local4.splice(_local5, 1); } else { if (_local2 >= _local6.startTime){ _local6.activate(); _local6.render(_local2); }; }; }; }; _local5--; }; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function tintProxy(_arg1:Object, _arg2:Number=0):void{ var _local3:Number = _arg1.target.progress; var _local4:Number = (1 - _local3); var _local5:Object = _arg1.info.color; var _local6:Object = _arg1.info.endColor; _arg1.info.target.transform.colorTransform = new ColorTransform(((_local5.redMultiplier * _local4) + (_local6.redMultiplier * _local3)), ((_local5.greenMultiplier * _local4) + (_local6.greenMultiplier * _local3)), ((_local5.blueMultiplier * _local4) + (_local6.blueMultiplier * _local3)), ((_local5.alphaMultiplier * _local4) + (_local6.alphaMultiplier * _local3)), ((_local5.redOffset * _local4) + (_local6.redOffset * _local3)), ((_local5.greenOffset * _local4) + (_local6.greenOffset * _local3)), ((_local5.blueOffset * _local4) + (_local6.blueOffset * _local3)), ((_local5.alphaOffset * _local4) + (_local6.alphaOffset * _local3))); } public static function volumeProxy(_arg1:Object, _arg2:Number=0):void{ _arg1.info.target.soundTransform = _arg1.target; } public static function killGarbage(_arg1:TimerEvent):void{ var _local3:Object; var _local4:Array; var _local2:Dictionary = masterList; for (_local3 in _local2) { if (_local2[_local3].length == 0){ delete _local2[_local3]; }; }; } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 12
//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); //unresolved jump }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); //unresolved jump }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); //unresolved jump }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; var _local2:Object = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi
Section 13
//MochiServices (mochi.MochiServices) package mochi { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local4:int; var _local14:Loader; var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; var _local6:Array = [0, 64, 0, 0, 0]; var _local7:MovieClip = new MovieClip(); var _local8:LocalConnection = new LocalConnection(); var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().getTime())); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); var _local10:ByteArray = new ByteArray(); var _local11:ByteArray = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); var _local12:uint = ((_local3.length + _local11.length) + 4); var _local13:uint = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var netup:Boolean; var s:String; var x:String; var req:URLRequest; var loader:Loader; var err:Function; var complete:Function; var setURL:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; var vars:Object = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); s = "?"; var i:Number = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://x.mochiads.com/linkping.swf"); loader = new Loader(); err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; complete = function (_arg1:Object):void{ netup = true; _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); setURL = function ():void{ var _local1:String; if (netup){ _local1 = (url + s); } else { _local1 = burl; }; var _local2:DisplayObject = clickMovie(_local1, onClick); btn.addChild(_local2); _local2.scaleX = (0.01 * btn.width); _local2.scaleY = (0.01 * btn.height); }; setTimeout(setURL, 1500); } public static function getVersion():String{ return ("1.35"); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); _rcvChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; return (_local2); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var pkg = _arg1; var cb:String = pkg.callbackID; var cblst:Object = this.client._callbacks[cb]; if (!cblst){ return; }; var method:* = cblst.callbackMethod; var methodName = ""; var obj:Object = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; //unresolved jump }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; _rcvChannel.connect(_rcvChannelName); _connecting = false; _connected = true; _listenChannel.close(); while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); _rcvChannelName = _arg1; initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var id = _arg1; var clip = _arg2; var clipname:String = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); var f:Function = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); var req:URLRequest = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ _connecting = true; init(id, clip); }; //unresolved jump }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; var mc:MovieClip = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//package mochi
Section 14
//AhhBoy (AhhBoy) package { import flash.media.*; public dynamic class AhhBoy extends Sound { } }//package
Section 15
//AhhGirl (AhhGirl) package { import flash.media.*; public dynamic class AhhGirl extends Sound { } }//package
Section 16
//Announcement (Announcement) package { import flash.display.*; import flash.text.*; public dynamic class Announcement extends MovieClip { public var text:TextField; } }//package
Section 17
//AvatarBoyBack (AvatarBoyBack) package { import flash.display.*; public dynamic class AvatarBoyBack extends MovieClip { } }//package
Section 18
//AvatarBoyBackRun (AvatarBoyBackRun) package { import flash.display.*; public dynamic class AvatarBoyBackRun extends MovieClip { } }//package
Section 19
//AvatarBoyFront (AvatarBoyFront) package { import flash.display.*; public dynamic class AvatarBoyFront extends MovieClip { } }//package
Section 20
//AvatarBoyFrontRun (AvatarBoyFrontRun) package { import flash.display.*; public dynamic class AvatarBoyFrontRun extends MovieClip { } }//package
Section 21
//AvatarBoySide (AvatarBoySide) package { import flash.display.*; public dynamic class AvatarBoySide extends MovieClip { } }//package
Section 22
//AvatarBoySideRun (AvatarBoySideRun) package { import flash.display.*; public dynamic class AvatarBoySideRun extends MovieClip { } }//package
Section 23
//AvatarGhostBack (AvatarGhostBack) package { import flash.display.*; public dynamic class AvatarGhostBack extends MovieClip { } }//package
Section 24
//AvatarGhostFront (AvatarGhostFront) package { import flash.display.*; public dynamic class AvatarGhostFront extends MovieClip { } }//package
Section 25
//AvatarGhostSide (AvatarGhostSide) package { import flash.display.*; public dynamic class AvatarGhostSide extends MovieClip { } }//package
Section 26
//AvatarGirlBack (AvatarGirlBack) package { import flash.display.*; public dynamic class AvatarGirlBack extends MovieClip { } }//package
Section 27
//AvatarGirlBackRun (AvatarGirlBackRun) package { import flash.display.*; public dynamic class AvatarGirlBackRun extends MovieClip { } }//package
Section 28
//AvatarGirlFront (AvatarGirlFront) package { import flash.display.*; public dynamic class AvatarGirlFront extends MovieClip { } }//package
Section 29
//AvatarGirlFrontRun (AvatarGirlFrontRun) package { import flash.display.*; public dynamic class AvatarGirlFrontRun extends MovieClip { } }//package
Section 30
//AvatarGirlSide (AvatarGirlSide) package { import flash.display.*; public dynamic class AvatarGirlSide extends MovieClip { } }//package
Section 31
//AvatarGirlSideRun (AvatarGirlSideRun) package { import flash.display.*; public dynamic class AvatarGirlSideRun extends MovieClip { } }//package
Section 32
//AvatarKillerBack (AvatarKillerBack) package { import flash.display.*; public dynamic class AvatarKillerBack extends MovieClip { } }//package
Section 33
//AvatarKillerBackRun (AvatarKillerBackRun) package { import flash.display.*; public dynamic class AvatarKillerBackRun extends MovieClip { } }//package
Section 34
//AvatarKillerFront (AvatarKillerFront) package { import flash.display.*; public dynamic class AvatarKillerFront extends MovieClip { } }//package
Section 35
//AvatarKillerFrontRun (AvatarKillerFrontRun) package { import flash.display.*; public dynamic class AvatarKillerFrontRun extends MovieClip { } }//package
Section 36
//AvatarKillerSide (AvatarKillerSide) package { import flash.display.*; public dynamic class AvatarKillerSide extends MovieClip { } }//package
Section 37
//AvatarKillerSideRun (AvatarKillerSideRun) package { import flash.display.*; public dynamic class AvatarKillerSideRun extends MovieClip { } }//package
Section 38
//AvatarZombieBack (AvatarZombieBack) package { import flash.display.*; public dynamic class AvatarZombieBack extends MovieClip { } }//package
Section 39
//AvatarZombieBackRun (AvatarZombieBackRun) package { import flash.display.*; public dynamic class AvatarZombieBackRun extends MovieClip { } }//package
Section 40
//AvatarZombieFront (AvatarZombieFront) package { import flash.display.*; public dynamic class AvatarZombieFront extends MovieClip { } }//package
Section 41
//AvatarZombieFrontRun (AvatarZombieFrontRun) package { import flash.display.*; public dynamic class AvatarZombieFrontRun extends MovieClip { } }//package
Section 42
//AvatarZombieSide (AvatarZombieSide) package { import flash.display.*; public dynamic class AvatarZombieSide extends MovieClip { } }//package
Section 43
//AvatarZombieSideRun (AvatarZombieSideRun) package { import flash.display.*; public dynamic class AvatarZombieSideRun extends MovieClip { } }//package
Section 44
//BoyButton (BoyButton) package { import flash.display.*; public dynamic class BoyButton extends SimpleButton { } }//package
Section 45
//BoyGone (BoyGone) package { import flash.display.*; import flash.events.*; public dynamic class BoyGone extends MovieClip { public var overlay:MovieClip; public function BoyGone(){ addFrameScript(50, frame51); } function frame51(){ stop(); dispatchEvent(new Event("clipDone", true)); } } }//package
Section 46
//CharMenu (CharMenu) package { import flash.display.*; public dynamic class CharMenu extends MovieClip { public var ghostButton:AvatarGhostFront; public var overlay:MovieClip; public var zombieButton:SimpleButton; public var killerButton:KillerButton; } }//package
Section 47
//CharMenu2 (CharMenu2) package { import flash.display.*; public dynamic class CharMenu2 extends MovieClip { public var overlay:MovieClip; public var girlButton:GirlButton; public var boyButton:BoyButton; } }//package
Section 48
//CountDown (CountDown) package { import flash.display.*; import flash.text.*; public dynamic class CountDown extends MovieClip { public var countDownText:TextField; } }//package
Section 49
//CountDownSound (CountDownSound) package { import flash.media.*; public dynamic class CountDownSound extends Sound { } }//package
Section 50
//FinalMenu (FinalMenu) package { import flash.display.*; import flash.text.*; public dynamic class FinalMenu extends MovieClip { public var nameInput:TextField; public var mainMenuButton:SimpleButton; public var overlay:MovieClip; public var submitButton:SimpleButton; public var highScoresButton:SimpleButton; public var replayButton:SimpleButton; public var moreGamesButton:SimpleButton; public var scoreText:TextField; public function FinalMenu(){ addFrameScript(0, frame1); } function frame1(){ overlay.mouseEnabled = false; } } }//package
Section 51
//GetAwayBoy (GetAwayBoy) package { import flash.media.*; public dynamic class GetAwayBoy extends Sound { } }//package
Section 52
//GetAwayGirl (GetAwayGirl) package { import flash.media.*; public dynamic class GetAwayGirl extends Sound { } }//package
Section 53
//GhostBoyWin (GhostBoyWin) package { import flash.display.*; import flash.events.*; public dynamic class GhostBoyWin extends MovieClip { public function GhostBoyWin(){ addFrameScript(159, frame160); } function frame160(){ stop(); dispatchEvent(new Event("clipDone", true)); } } }//package
Section 54
//GhostGirlWin (GhostGirlWin) package { import flash.display.*; import flash.events.*; public dynamic class GhostGirlWin extends MovieClip { public function GhostGirlWin(){ addFrameScript(159, frame160); } function frame160(){ stop(); dispatchEvent(new Event("clipDone", true)); } } }//package
Section 55
//GirlButton (GirlButton) package { import flash.display.*; public dynamic class GirlButton extends SimpleButton { } }//package
Section 56
//GirlGone (GirlGone) package { import flash.display.*; import flash.events.*; public dynamic class GirlGone extends MovieClip { public var overlay:MovieClip; public function GirlGone(){ addFrameScript(46, frame47); } function frame47(){ stop(); dispatchEvent(new Event("clipDone", true)); } } }//package
Section 57
//Keys (Keys) package { import flash.display.*; public dynamic class Keys extends MovieClip { public var overlay:MovieClip; public function Keys(){ addFrameScript(0, frame1); } function frame1(){ overlay.mouseEnabled = false; } } }//package
Section 58
//KillerButton (KillerButton) package { import flash.display.*; public dynamic class KillerButton extends SimpleButton { } }//package
Section 59
//Laugh (Laugh) package { import flash.media.*; public dynamic class Laugh extends Sound { } }//package
Section 60
//LeaveMeAlone (LeaveMeAlone) package { import flash.media.*; public dynamic class LeaveMeAlone extends Sound { } }//package
Section 61
//LeaveMeAloneBoy (LeaveMeAloneBoy) package { import flash.media.*; public dynamic class LeaveMeAloneBoy extends Sound { } }//package
Section 62
//MainMenu (MainMenu) package { import flash.display.*; public dynamic class MainMenu extends MovieClip { public var playButton:SimpleButton; public var overlay:MovieClip; public var howtoplayButton:SimpleButton; public var highScoresButton:SimpleButton; public var wefiendsButton:MovieClip; public var moreGamesButton:SimpleButton; public function MainMenu(){ addFrameScript(0, frame1); } function frame1(){ overlay.mouseEnabled = false; } } }//package
Section 63
//MainMusic (MainMusic) package { import flash.media.*; public dynamic class MainMusic extends Sound { } }//package
Section 64
//MenuMusic (MenuMusic) package { import flash.media.*; public dynamic class MenuMusic extends Sound { } }//package
Section 65
//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.7"); } public static function showClickAwayAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; var sendHostProgress:Boolean; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; var idx:Number = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var clip:Object; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; var depth:Number = options.depth; delete options.depth; var mc:MovieClip = createEmptyMovieClip(clip, "_mochiad", depth); var wh:Array = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; var lv:URLVariables = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local6:Array; var _local3:Object = _arg2.getBounds(_arg2.root); var _local4:Number = 0; var _local5:Number = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array = _arg2.split("."); var _local4:Number = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var complete:Boolean; var unloaded:Boolean; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); var fn:Function = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; var bar_color:Number = options.color; delete options.color; var bar_background:Number = options.background; delete options.background; var bar_outline:Number = options.outline; delete options.outline; var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1); var backing:Object = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2); var inside:Object = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3); var outline:Object = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; var f:Function = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; var _local1:Object = this.parent.parent.root; var _local2:Object = this.parent._mochiad_ctr; var _local3:Number = (getTimer() - this.started); var _local4:Boolean; var _local5:Number = _local1.loaderInfo.bytesTotal; var _local6:Number = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; var _local7:Number = ((100 * _local6) / _local5); var _local8:Number = ((100 * _local3) / chk.ad_msec); var _local9:Object = this._mochiad_bar._inside; var _local10:Number = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var mc = _arg1; var f:Function = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 66
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:MochiBot = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); var _local4 = "http://core.mochibot.com/my/core.swf"; var _local5:URLVariables = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; var _local6:String = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; var _local7:URLRequest = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; var _local8:Loader = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 67
//MortarIntro (MortarIntro) package { import flash.display.*; import flash.events.*; public dynamic class MortarIntro extends MovieClip { public function MortarIntro(){ addFrameScript(199, frame200); } function frame200(){ stop(); dispatchEvent(new Event("removeMe")); } } }//package
Section 68
//OhNoBoy (OhNoBoy) package { import flash.media.*; public dynamic class OhNoBoy extends Sound { } }//package
Section 69
//OhNoGirl (OhNoGirl) package { import flash.media.*; public dynamic class OhNoGirl extends Sound { } }//package
Section 70
//QuickInstruc (QuickInstruc) package { import flash.display.*; public dynamic class QuickInstruc extends MovieClip { public var overlay:MovieClip; public function QuickInstruc(){ addFrameScript(0, frame1); } function frame1(){ overlay.mouseEnabled = false; } } }//package
Section 71
//Score (Score) package { import flash.display.*; import flash.text.*; public dynamic class Score extends MovieClip { public var scoreText:TextField; } }//package
Section 72
//SkullToken (SkullToken) package { import flash.display.*; import flash.events.*; public dynamic class SkullToken extends MovieClip { public function SkullToken(){ addFrameScript(0, frame1, 19, frame20); } function frame20(){ dispatchEvent(new Event("removeMe", true)); } function frame1(){ stop(); } } }//package
Section 73
//SkullWin (SkullWin) package { import flash.display.*; import flash.events.*; public dynamic class SkullWin extends MovieClip { public function SkullWin(){ addFrameScript(149, frame150); } function frame150(){ stop(); dispatchEvent(new Event("clipDone", true)); } } }//package
Section 74
//SusBar (SusBar) package { import flash.display.*; public dynamic class SusBar extends MovieClip { } }//package
Section 75
//VCam (VCam) package { import flash.display.*; import flash.events.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class VCam extends MovieClip { public var sW:Number; public var camH:Number; public var oldScaleMode:String; public var camW:Number; public var bounds_obj:Object; public var sH:Number; public var rp:Point; public function VCam(){ addFrameScript(0, frame1); } public function setProperty2(_arg1:String, _arg2:Number):void{ var _local3:Point = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent[_arg1] = _arg2; var _local4:Point = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent.x = (parent.x - (_local4.x - _local3.x)); parent.y = (parent.y - (_local4.y - _local3.y)); } public function get scaleY2():Number{ return (parent.scaleY); } public function set scaleY2(_arg1:Number):void{ setProperty2("scaleY", _arg1); } public function camControl(... _args):void{ rp.x = x; rp.y = y; var _local2:Number = (camH * scaleY); var _local3:Number = (camW * scaleX); var _local4:Number = (sH / _local2); var _local5:Number = (sW / _local3); x2 = ((_local3 / 2) * _local5); y2 = ((_local2 / 2) * _local4); scaleX2 = _local5; scaleY2 = _local4; rotation2 = -(rotation); parent.filters = this.filters; parent.transform.colorTransform = this.transform.colorTransform; } public function reset(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, camControl); removeEventListener(Event.REMOVED_FROM_STAGE, reset); parent.scaleX = 1; parent.scaleY = 1; parent.x = 0; parent.y = 0; parent.rotation = 0; parent.visible = true; } public function set scaleX2(_arg1:Number):void{ setProperty2("scaleX", _arg1); } public function get y2():Number{ var _local1:Point = parent.parent.globalToLocal(parent.localToGlobal(rp)); return (_local1.y); } public function get scaleX2():Number{ return (parent.scaleX); } function frame1(){ mouseEnabled = false; visible = false; oldScaleMode = stage.scaleMode; stage.scaleMode = "exactFit"; sW = stage.stageWidth; sH = stage.stageHeight; stage.scaleMode = oldScaleMode; bounds_obj = this.getBounds(this); camH = bounds_obj.height; camW = bounds_obj.width; rp = new Point(x, y); addEventListener(Event.ENTER_FRAME, camControl); addEventListener(Event.REMOVED_FROM_STAGE, reset); camControl(); } public function set rotation2(_arg1:Number):void{ setProperty2("rotation", _arg1); } public function set x2(_arg1:Number):void{ var _local2:Point = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent.x = (parent.x + (_arg1 - _local2.x)); } public function set y2(_arg1:Number):void{ var _local2:Point = parent.parent.globalToLocal(parent.localToGlobal(rp)); parent.y = (parent.y + (_arg1 - _local2.y)); } public function get x2():Number{ var _local1:Point = parent.parent.globalToLocal(parent.localToGlobal(rp)); return (_local1.x); } public function get rotation2():Number{ return (parent.rotation); } } }//package
Section 76
//YourABullyBoy (YourABullyBoy) package { import flash.media.*; public dynamic class YourABullyBoy extends Sound { } }//package
Section 77
//ZombieWin (ZombieWin) package { import flash.display.*; import flash.events.*; public dynamic class ZombieWin extends MovieClip { public function ZombieWin(){ addFrameScript(191, frame192); } function frame192(){ stop(); dispatchEvent(new Event("clipDone", true)); } } }//package

Library Items

Symbol 1 FontUsed by:2 3
Symbol 2 EditableTextUses:1Used by:Timeline
Symbol 3 EditableTextUses:1Used by:Timeline
Symbol 4 Sound {GetAwayGirl}Used by:403
Symbol 5 Sound {AhhGirl}Used by:403
Symbol 6 Sound {OhNoBoy}
Symbol 7 Sound {LeaveMeAlone}Used by:403
Symbol 8 Sound {LeaveMeAloneBoy}
Symbol 9 Sound {GetAwayBoy}
Symbol 10 Sound {CountDownSound}Used by:403
Symbol 11 Sound {OhNoGirl}Used by:403
Symbol 12 Sound {YourABullyBoy}
Symbol 13 Sound {AhhBoy}
Symbol 14 Sound {MainMusic}Used by:403
Symbol 15 Sound {MenuMusic}Used by:402
Symbol 16 GraphicUsed by:17 64
Symbol 17 MovieClipUses:16Used by:26 46 98 103 104 105 197 236
Symbol 18 GraphicUsed by:19 64
Symbol 19 MovieClipUses:18Used by:26 46 103 105 197 236
Symbol 20 GraphicUsed by:21 64
Symbol 21 MovieClipUses:20Used by:26 46 98 104 197 236
Symbol 22 GraphicUsed by:25 64
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:22 23 24Used by:26 46 197
Symbol 26 MovieClip {AvatarZombieFront}Uses:17 19 21 25Used by:64  Timeline
Symbol 27 GraphicUsed by:28 66 91 92
Symbol 28 MovieClipUses:27Used by:41 65 74 75 84 85 110 117 118 119 134 141 142 143 150 156 157 158 165 180 238 264 266 305 306
Symbol 29 GraphicUsed by:32 66 91
Symbol 30 GraphicUsed by:32
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:29 30 31Used by:41 65 74 75 110 117 118 119 134 141 142 143 180 238 264 266
Symbol 33 GraphicUsed by:34 66
Symbol 34 MovieClipUses:33Used by:41 65 110 117 118 119 238
Symbol 35 GraphicUsed by:38 66
Symbol 36 GraphicUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:35 36 37Used by:41 65
Symbol 39 GraphicUsed by:40 66
Symbol 40 MovieClipUses:39Used by:41 65 110 118
Symbol 41 MovieClip {AvatarKillerFront}Uses:28 32 34 38 40Used by:66  Timeline
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:45
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip {AvatarGhostFront}Uses:42 43 44Used by:67 270 304 337  Timeline
Symbol 46 MovieClip {AvatarZombieFrontRun}Uses:17 19 21 25Used by:64  Timeline
Symbol 47 FontUsed by:48 49 50 51 52 53 54 55 56 57 58 59 86 87 88 89 90 167 168 169 170 171 172 173 174 175 176 182 183 184 185 186 187 188 189 190 191 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 367 368 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 404 405 413 414 417 418 421 422
Symbol 48 TextUses:47Used by:67
Symbol 49 TextUses:47Used by:67
Symbol 50 TextUses:47Used by:67
Symbol 51 TextUses:47Used by:67
Symbol 52 TextUses:47Used by:67 93
Symbol 53 TextUses:47Used by:67 93
Symbol 54 TextUses:47Used by:67 93
Symbol 55 TextUses:47Used by:67 93
Symbol 56 TextUses:47Used by:67 93
Symbol 57 TextUses:47Used by:67 93
Symbol 58 TextUses:47Used by:67 93
Symbol 59 TextUses:47Used by:67 93
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:67 93 179 195 398 446 455 469
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:67 93 179 195 398 446 455
Symbol 64 ButtonUses:26 46 16 18 20 22Used by:67
Symbol 65 MovieClip {AvatarKillerFrontRun}Uses:28 32 34 38 40Used by:66  Timeline
Symbol 66 Button {KillerButton}Uses:41 65 27 29 33 35 39Used by:67
Symbol 67 MovieClip {CharMenu}Uses:48 49 50 51 52 53 54 55 56 57 58 59 61 63 45 64 66Used by:Timeline
Symbol 68 GraphicUsed by:69 91
Symbol 69 MovieClipUses:68Used by:74 75 134 142 180 266
Symbol 70 GraphicUsed by:73 91
Symbol 71 GraphicUsed by:73
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:70 71 72Used by:74 75 266
Symbol 74 MovieClip {AvatarBoyFrontRun}Uses:28 32 69 73Used by:91  Timeline
Symbol 75 MovieClip {AvatarBoyFront}Uses:28 32 69 73Used by:91  Timeline
Symbol 76 GraphicUsed by:77 92
Symbol 77 MovieClipUses:76Used by:84 85 306
Symbol 78 GraphicUsed by:79 92
Symbol 79 MovieClipUses:78Used by:84 85 150 157 165 306
Symbol 80 GraphicUsed by:83 92
Symbol 81 GraphicUsed by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:80 81 82Used by:84 85 306
Symbol 84 MovieClip {AvatarGirlFrontRun}Uses:28 77 79 83Used by:92  Timeline
Symbol 85 MovieClip {AvatarGirlFront}Uses:28 77 79 83Used by:92  Timeline
Symbol 86 TextUses:47Used by:93
Symbol 87 TextUses:47Used by:93
Symbol 88 TextUses:47Used by:93
Symbol 89 TextUses:47Used by:93
Symbol 90 TextUses:47Used by:93
Symbol 91 Button {BoyButton}Uses:75 74 27 29 68 70Used by:93
Symbol 92 Button {GirlButton}Uses:85 84 27 76 78 80Used by:93
Symbol 93 MovieClip {CharMenu2}Uses:86 87 88 89 90 52 53 54 55 56 57 58 59 61 63 91 92Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:98 104
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:98 104
Symbol 98 MovieClip {AvatarZombieBackRun}Uses:17 21 95 97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:103 105
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:103 105
Symbol 103 MovieClip {AvatarZombieSideRun}Uses:17 19 100 102Used by:Timeline
Symbol 104 MovieClip {AvatarZombieBack}Uses:17 21 95 97Used by:Timeline
Symbol 105 MovieClip {AvatarZombieSide}Uses:17 19 100 102Used by:Timeline
Symbol 106 GraphicUsed by:109
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:106 107 108Used by:110 118
Symbol 110 MovieClip {AvatarKillerBackRun}Uses:40 28 34 109 32Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:117 119 238 262
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:116
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:113 114 115Used by:117 119 238
Symbol 117 MovieClip {AvatarKillerSideRun}Uses:28 32 34 112 116Used by:Timeline
Symbol 118 MovieClip {AvatarKillerBack}Uses:40 28 34 109 32Used by:Timeline
Symbol 119 MovieClip {AvatarKillerSide}Uses:28 32 34 112 116Used by:Timeline
Symbol 120 GraphicUsed by:123
Symbol 121 GraphicUsed by:123
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {AvatarGhostBack}Uses:120 121 122Used by:Timeline
Symbol 124 GraphicUsed by:127
Symbol 125 GraphicUsed by:127
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip {AvatarGhostSide}Uses:124 125 126Used by:Timeline
Symbol 128 GraphicUsed by:131
Symbol 129 GraphicUsed by:131
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:128 129 130Used by:134 142 180
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:134 142 180
Symbol 134 MovieClip {AvatarBoyBackRun}Uses:69 28 32 131 133Used by:Timeline
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135Used by:141 143 264
Symbol 137 GraphicUsed by:140
Symbol 138 GraphicUsed by:140
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:137 138 139Used by:141 143 264
Symbol 141 MovieClip {AvatarBoySideRun}Uses:28 32 136 140Used by:Timeline
Symbol 142 MovieClip {AvatarBoyBack}Uses:69 32 28 131 133Used by:Timeline
Symbol 143 MovieClip {AvatarBoySide}Uses:28 32 136 140Used by:Timeline
Symbol 144 GraphicUsed by:145 151
Symbol 145 MovieClipUses:144Used by:150 157 165
Symbol 146 GraphicUsed by:149
Symbol 147 GraphicUsed by:149
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:146 147 148Used by:150 157 165
Symbol 150 MovieClip {AvatarGirlBackRun}Uses:79 28 145 149Used by:Timeline
Symbol 151 MovieClipUses:144Used by:156 158 305
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:156 158 305
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:156 158 305
Symbol 156 MovieClip {AvatarGirlSideRun}Uses:28 151 153 155Used by:Timeline
Symbol 157 MovieClip {AvatarGirlBack}Uses:79 28 145 149Used by:Timeline
Symbol 158 MovieClip {AvatarGirlSide}Uses:28 151 153 155Used by:Timeline
Symbol 159 FontUsed by:160 162 194 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 245 246 247 248 249 250 251 252 253 254 255 256 257 258 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 471
Symbol 160 EditableTextUses:159 470Used by:161
Symbol 161 MovieClip {CountDown}Uses:160Used by:Timeline
Symbol 162 EditableTextUses:159 470Used by:163
Symbol 163 MovieClip {Score}Uses:162Used by:Timeline
Symbol 164 GraphicUsed by:179 195
Symbol 165 MovieClipUses:79 28 145 149Used by:179
Symbol 166 SoundUsed by:179
Symbol 167 EditableTextUses:47 346Used by:177
Symbol 168 EditableTextUses:47 346Used by:177
Symbol 169 EditableTextUses:47 346Used by:177
Symbol 170 EditableTextUses:47 346Used by:177
Symbol 171 EditableTextUses:47 346Used by:177
Symbol 172 EditableTextUses:47 346Used by:177
Symbol 173 EditableTextUses:47 346Used by:177
Symbol 174 EditableTextUses:47 346Used by:177
Symbol 175 EditableTextUses:47 346Used by:177
Symbol 176 EditableTextUses:47 346Used by:177
Symbol 177 MovieClipUses:167 168 169 170 171 172 173 174 175 176Used by:179
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClip {GirlGone}Uses:164 63 165 61 166 177 178Used by:Timeline
Symbol 180 MovieClipUses:69 28 32 131 133Used by:195 197 236
Symbol 181 SoundUsed by:195
Symbol 182 EditableTextUses:47 346Used by:192
Symbol 183 EditableTextUses:47 346Used by:192
Symbol 184 EditableTextUses:47 346Used by:192
Symbol 185 EditableTextUses:47 346Used by:192
Symbol 186 EditableTextUses:47 346Used by:192
Symbol 187 EditableTextUses:47 346Used by:192
Symbol 188 EditableTextUses:47 346Used by:192
Symbol 189 EditableTextUses:47 346Used by:192
Symbol 190 EditableTextUses:47 346Used by:192
Symbol 191 EditableTextUses:47 346Used by:192
Symbol 192 MovieClipUses:182 183 184 185 186 187 188 189 190 191Used by:195
Symbol 193 GraphicUsed by:195
Symbol 194 EditableTextUses:159 470Used by:195
Symbol 195 MovieClip {BoyGone}Uses:164 63 180 181 192 61 193 194Used by:Timeline
Symbol 196 GraphicUsed by:236
Symbol 197 MovieClipUses:17 19 21 25 180Used by:236
Symbol 198 SoundUsed by:236
Symbol 199 GraphicUsed by:203
Symbol 200 GraphicUsed by:203
Symbol 201 GraphicUsed by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:199 200 201 202Used by:236
Symbol 204 GraphicUsed by:236 304 337
Symbol 205 EditableTextUses:159 470Used by:236
Symbol 206 EditableTextUses:159 470Used by:236
Symbol 207 EditableTextUses:159 470Used by:236
Symbol 208 EditableTextUses:159 470Used by:236
Symbol 209 EditableTextUses:159 470Used by:236
Symbol 210 EditableTextUses:159 470Used by:236
Symbol 211 EditableTextUses:159 470Used by:236
Symbol 212 EditableTextUses:159 470Used by:236
Symbol 213 EditableTextUses:159 470Used by:236
Symbol 214 EditableTextUses:159 470Used by:236
Symbol 215 EditableTextUses:159 470Used by:236
Symbol 216 EditableTextUses:159 470Used by:236
Symbol 217 EditableTextUses:159 470Used by:236
Symbol 218 EditableTextUses:159 470Used by:236
Symbol 219 EditableTextUses:159 470Used by:236
Symbol 220 GraphicUsed by:236
Symbol 221 EditableTextUses:159 470Used by:236
Symbol 222 EditableTextUses:159 470Used by:236
Symbol 223 EditableTextUses:159 470Used by:236
Symbol 224 EditableTextUses:159 470Used by:236
Symbol 225 EditableTextUses:159 470Used by:236
Symbol 226 EditableTextUses:159 470Used by:236
Symbol 227 EditableTextUses:159 470Used by:236
Symbol 228 EditableTextUses:159 470Used by:236
Symbol 229 EditableTextUses:159 470Used by:236
Symbol 230 EditableTextUses:159 470Used by:236
Symbol 231 EditableTextUses:159 470Used by:236
Symbol 232 EditableTextUses:159 470Used by:236
Symbol 233 EditableTextUses:159 470Used by:236
Symbol 234 EditableTextUses:159 470Used by:236
Symbol 235 EditableTextUses:159 470Used by:236
Symbol 236 MovieClip {ZombieWin}Uses:196 197 198 17 19 21 203 180 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235Used by:Timeline
Symbol 237 GraphicUsed by:262
Symbol 238 MovieClipUses:28 32 34 112 116Used by:262
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:262 304 337
Symbol 241 Sound {Laugh}Used by:262 403
Symbol 242 GraphicUsed by:262
Symbol 243 GraphicUsed by:262
Symbol 244 GraphicUsed by:262
Symbol 245 EditableTextUses:159 470Used by:259
Symbol 246 EditableTextUses:159 470Used by:259
Symbol 247 EditableTextUses:159 470Used by:259
Symbol 248 EditableTextUses:159 470Used by:259
Symbol 249 EditableTextUses:159 470Used by:259
Symbol 250 EditableTextUses:159 470Used by:259
Symbol 251 EditableTextUses:159 470Used by:259
Symbol 252 EditableTextUses:159 470Used by:259
Symbol 253 EditableTextUses:159 470Used by:259
Symbol 254 EditableTextUses:159 470Used by:259
Symbol 255 EditableTextUses:159 470Used by:259
Symbol 256 EditableTextUses:159 470Used by:259
Symbol 257 EditableTextUses:159 470Used by:259
Symbol 258 EditableTextUses:159 470Used by:259
Symbol 259 MovieClipUses:245 246 247 248 249 250 251 252 253 254 255 256 257 258Used by:262
Symbol 260 GraphicUsed by:262
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClip {SkullWin}Uses:237 238 240 241 112 242 243 244 259 260 261Used by:Timeline
Symbol 263 GraphicUsed by:304 337
Symbol 264 MovieClipUses:28 32 136 140Used by:304
Symbol 265 SoundUsed by:304 337
Symbol 266 MovieClipUses:28 32 69 73Used by:270 304
Symbol 267 GraphicUsed by:270
Symbol 268 GraphicUsed by:270
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:266 45 267 268 269Used by:304 337
Symbol 271 SoundUsed by:304 337
Symbol 272 EditableTextUses:159 470Used by:304
Symbol 273 EditableTextUses:159 470Used by:304
Symbol 274 EditableTextUses:159 470Used by:304
Symbol 275 EditableTextUses:159 470Used by:304
Symbol 276 EditableTextUses:159 470Used by:304
Symbol 277 EditableTextUses:159 470Used by:304
Symbol 278 EditableTextUses:159 470Used by:304
Symbol 279 EditableTextUses:159 470Used by:304
Symbol 280 EditableTextUses:159 470Used by:304
Symbol 281 EditableTextUses:159 470Used by:304
Symbol 282 EditableTextUses:159 470Used by:304
Symbol 283 EditableTextUses:159 470Used by:304
Symbol 284 EditableTextUses:159 470Used by:304
Symbol 285 EditableTextUses:159 470Used by:304
Symbol 286 EditableTextUses:159 470Used by:304
Symbol 287 GraphicUsed by:304 337
Symbol 288 SoundUsed by:304
Symbol 289 EditableTextUses:159 470Used by:304
Symbol 290 EditableTextUses:159 470Used by:304
Symbol 291 EditableTextUses:159 470Used by:304
Symbol 292 EditableTextUses:159 470Used by:304
Symbol 293 EditableTextUses:159 470Used by:304
Symbol 294 EditableTextUses:159 470Used by:304
Symbol 295 EditableTextUses:159 470Used by:304
Symbol 296 EditableTextUses:159 470Used by:304
Symbol 297 EditableTextUses:159 470Used by:304
Symbol 298 EditableTextUses:159 470Used by:304
Symbol 299 EditableTextUses:159 470Used by:304
Symbol 300 EditableTextUses:159 470Used by:304
Symbol 301 EditableTextUses:159 470Used by:304
Symbol 302 EditableTextUses:159 470Used by:304
Symbol 303 EditableTextUses:159 470Used by:304
Symbol 304 MovieClip {GhostBoyWin}Uses:263 264 240 265 266 45 270 271 204 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303Used by:Timeline
Symbol 305 MovieClipUses:28 151 153 155Used by:337
Symbol 306 MovieClipUses:28 77 79 83Used by:337
Symbol 307 EditableTextUses:159 470Used by:337
Symbol 308 EditableTextUses:159 470Used by:337
Symbol 309 EditableTextUses:159 470Used by:337
Symbol 310 EditableTextUses:159 470Used by:337
Symbol 311 EditableTextUses:159 470Used by:337
Symbol 312 EditableTextUses:159 470Used by:337
Symbol 313 EditableTextUses:159 470Used by:337
Symbol 314 EditableTextUses:159 470Used by:337
Symbol 315 EditableTextUses:159 470Used by:337
Symbol 316 EditableTextUses:159 470Used by:337
Symbol 317 EditableTextUses:159 470Used by:337
Symbol 318 EditableTextUses:159 470Used by:337
Symbol 319 EditableTextUses:159 470Used by:337
Symbol 320 EditableTextUses:159 470Used by:337
Symbol 321 EditableTextUses:159 470Used by:337
Symbol 322 EditableTextUses:159 470Used by:337
Symbol 323 EditableTextUses:159 470Used by:337
Symbol 324 EditableTextUses:159 470Used by:337
Symbol 325 EditableTextUses:159 470Used by:337
Symbol 326 EditableTextUses:159 470Used by:337
Symbol 327 EditableTextUses:159 470Used by:337
Symbol 328 EditableTextUses:159 470Used by:337
Symbol 329 EditableTextUses:159 470Used by:337
Symbol 330 EditableTextUses:159 470Used by:337
Symbol 331 EditableTextUses:159 470Used by:337
Symbol 332 EditableTextUses:159 470Used by:337
Symbol 333 EditableTextUses:159 470Used by:337
Symbol 334 EditableTextUses:159 470Used by:337
Symbol 335 EditableTextUses:159 470Used by:337
Symbol 336 EditableTextUses:159 470Used by:337
Symbol 337 MovieClip {GhostGirlWin}Uses:263 305 240 265 306 45 270 271 204 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 287 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336Used by:Timeline
Symbol 338 GraphicUsed by:339 342 344
Symbol 339 MovieClipUses:338Used by:344
Symbol 340 GraphicUsed by:344
Symbol 341 GraphicUsed by:344
Symbol 342 MovieClipUses:338Used by:343 344
Symbol 343 MovieClipUses:342Used by:344
Symbol 344 MovieClip {SusBar}Uses:338 339 340 341 342 343Used by:Timeline
Symbol 345 GraphicUsed by:398 446 455
Symbol 346 FontUsed by:167 168 169 170 171 172 173 174 175 176 182 183 184 185 186 187 188 189 190 191 347 389 390 449 451 452 453 454 458 460 461 462 463 464 465 466
Symbol 347 TextUses:346Used by:348
Symbol 348 MovieClipUses:347Used by:398 446
Symbol 349 TextUses:47Used by:366
Symbol 350 TextUses:47Used by:366
Symbol 351 TextUses:47Used by:366
Symbol 352 TextUses:47Used by:366
Symbol 353 TextUses:47Used by:366
Symbol 354 TextUses:47Used by:366
Symbol 355 TextUses:47Used by:366
Symbol 356 TextUses:47Used by:366
Symbol 357 TextUses:47Used by:366
Symbol 358 TextUses:47Used by:366
Symbol 359 TextUses:47Used by:366
Symbol 360 TextUses:47Used by:366
Symbol 361 TextUses:47Used by:366
Symbol 362 TextUses:47Used by:366
Symbol 363 TextUses:47Used by:366
Symbol 364 TextUses:47Used by:366
Symbol 365 GraphicUsed by:366
Symbol 366 ButtonUses:349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365Used by:398 446
Symbol 367 TextUses:47Used by:370
Symbol 368 TextUses:47Used by:370
Symbol 369 GraphicUsed by:370
Symbol 370 ButtonUses:367 368 369Used by:398
Symbol 371 TextUses:47Used by:388
Symbol 372 TextUses:47Used by:388
Symbol 373 TextUses:47Used by:388
Symbol 374 TextUses:47Used by:388
Symbol 375 TextUses:47Used by:388
Symbol 376 TextUses:47Used by:388
Symbol 377 TextUses:47Used by:388
Symbol 378 TextUses:47Used by:388
Symbol 379 TextUses:47Used by:388
Symbol 380 TextUses:47Used by:388
Symbol 381 TextUses:47Used by:388
Symbol 382 TextUses:47Used by:388
Symbol 383 TextUses:47Used by:388
Symbol 384 TextUses:47Used by:388
Symbol 385 TextUses:47Used by:388
Symbol 386 TextUses:47Used by:388
Symbol 387 GraphicUsed by:388
Symbol 388 ButtonUses:371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387Used by:398 446
Symbol 389 TextUses:346Used by:392
Symbol 390 TextUses:346Used by:392
Symbol 391 GraphicUsed by:392
Symbol 392 ButtonUses:389 390 391Used by:398
Symbol 393 FontUsed by:394 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
Symbol 394 TextUses:393Used by:395 445
Symbol 395 MovieClipUses:394Used by:398
Symbol 396 FontUsed by:397
Symbol 397 TextUses:396Used by:398
Symbol 398 MovieClip {MainMenu}Uses:345 348 366 370 388 61 392 395 397 63Used by:Timeline
Symbol 399 BitmapUsed by:400
Symbol 400 GraphicUses:399Used by:401
Symbol 401 MovieClip {fog.smoker}Uses:400Used by:Timeline
Symbol 402 MovieClipUses:15Used by:Timeline
Symbol 403 MovieClipUses:10 11 7 4 5 241 14Used by:Timeline
Symbol 404 TextUses:47Used by:407
Symbol 405 TextUses:47Used by:407
Symbol 406 GraphicUsed by:407
Symbol 407 ButtonUses:404 405 406Used by:446
Symbol 408 GraphicUsed by:446
Symbol 409 GraphicUsed by:446
Symbol 410 FontUsed by:411 412
Symbol 411 EditableTextUses:410Used by:446
Symbol 412 EditableTextUses:410Used by:446
Symbol 413 TextUses:47Used by:416
Symbol 414 TextUses:47Used by:416
Symbol 415 GraphicUsed by:416
Symbol 416 ButtonUses:413 414 415Used by:446
Symbol 417 TextUses:47Used by:420
Symbol 418 TextUses:47Used by:420
Symbol 419 GraphicUsed by:420
Symbol 420 ButtonUses:417 418 419Used by:446
Symbol 421 TextUses:47Used by:446
Symbol 422 TextUses:47Used by:446
Symbol 423 TextUses:393Used by:446
Symbol 424 TextUses:393Used by:446
Symbol 425 TextUses:393Used by:446
Symbol 426 TextUses:393Used by:446
Symbol 427 TextUses:393Used by:446
Symbol 428 TextUses:393Used by:446
Symbol 429 TextUses:393Used by:446
Symbol 430 TextUses:393Used by:446
Symbol 431 TextUses:393Used by:446
Symbol 432 TextUses:393Used by:446
Symbol 433 TextUses:393Used by:446
Symbol 434 TextUses:393Used by:446
Symbol 435 TextUses:393Used by:446
Symbol 436 TextUses:393Used by:446
Symbol 437 TextUses:393Used by:446
Symbol 438 TextUses:393Used by:446
Symbol 439 TextUses:393Used by:446
Symbol 440 TextUses:393Used by:446
Symbol 441 TextUses:393Used by:446
Symbol 442 TextUses:393Used by:446
Symbol 443 TextUses:393Used by:446
Symbol 444 TextUses:393Used by:446
Symbol 445 ButtonUses:394Used by:446
Symbol 446 MovieClip {FinalMenu}Uses:345 407 408 409 411 412 416 348 366 420 388 421 422 61 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 63Used by:Timeline
Symbol 447 FontUsed by:448 450
Symbol 448 TextUses:447Used by:455
Symbol 449 TextUses:346Used by:455
Symbol 450 TextUses:447Used by:455
Symbol 451 TextUses:346Used by:455
Symbol 452 TextUses:346Used by:455
Symbol 453 TextUses:346Used by:455
Symbol 454 TextUses:346Used by:455
Symbol 455 MovieClip {Keys}Uses:345 61 448 449 450 451 452 453 454 63Used by:Timeline
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:469
Symbol 458 TextUses:346Used by:469
Symbol 459 FontUsed by:460 461 464
Symbol 460 TextUses:346 459Used by:469
Symbol 461 TextUses:346 459Used by:469
Symbol 462 TextUses:346Used by:469
Symbol 463 TextUses:346Used by:469
Symbol 464 TextUses:346 459Used by:469
Symbol 465 TextUses:346Used by:469
Symbol 466 TextUses:346Used by:469
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClipUses:467Used by:469
Symbol 469 MovieClip {QuickInstruc}Uses:457 458 460 461 462 463 464 465 61 466 468Used by:Timeline
Symbol 470 FontUsed by:160 162 194 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 245 246 247 248 249 250 251 252 253 254 255 256 257 258 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 471
Symbol 471 EditableTextUses:159 470Used by:472
Symbol 472 MovieClip {Announcement}Uses:471Used by:Timeline
Symbol 473 GraphicUsed by:484
Symbol 474 GraphicUsed by:484
Symbol 475 GraphicUsed by:484
Symbol 476 GraphicUsed by:484
Symbol 477 GraphicUsed by:484
Symbol 478 GraphicUsed by:484
Symbol 479 GraphicUsed by:484
Symbol 480 GraphicUsed by:484
Symbol 481 FontUsed by:482
Symbol 482 TextUses:481Used by:483
Symbol 483 MovieClipUses:482Used by:484
Symbol 484 MovieClip {SkullToken}Uses:473 474 475 476 477 478 479 480 483Used by:Timeline
Symbol 485 GraphicUsed by:486
Symbol 486 ButtonUses:485Used by:498
Symbol 487 GraphicUsed by:498
Symbol 488 GraphicUsed by:489
Symbol 489 MovieClipUses:488Used by:498
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClipUses:490Used by:492
Symbol 492 MovieClipUses:491Used by:498
Symbol 493 GraphicUsed by:494
Symbol 494 MovieClipUses:493Used by:498
Symbol 495 GraphicUsed by:496
Symbol 496 MovieClipUses:495Used by:497
Symbol 497 MovieClipUses:496Used by:498
Symbol 498 MovieClip {MortarIntro}Uses:486 487 489 492 494 497 SS1Used by:Timeline
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClip {VCam}Uses:499Used by:Timeline
Streaming Sound 1Used by:Symbol 498 MovieClip {MortarIntro}

Instance Names

"vcam"Frame 7Symbol 500 MovieClip {VCam}
"overlay"Symbol 67 MovieClip {CharMenu} Frame 1Symbol 63 MovieClip
"ghostButton"Symbol 67 MovieClip {CharMenu} Frame 1Symbol 45 MovieClip {AvatarGhostFront}
"zombieButton"Symbol 67 MovieClip {CharMenu} Frame 1Symbol 64 Button
"killerButton"Symbol 67 MovieClip {CharMenu} Frame 1Symbol 66 Button {KillerButton}
"overlay"Symbol 93 MovieClip {CharMenu2} Frame 1Symbol 63 MovieClip
"boyButton"Symbol 93 MovieClip {CharMenu2} Frame 1Symbol 91 Button {BoyButton}
"girlButton"Symbol 93 MovieClip {CharMenu2} Frame 1Symbol 92 Button {GirlButton}
"countDownText"Symbol 161 MovieClip {CountDown} Frame 1Symbol 160 EditableText
"scoreText"Symbol 163 MovieClip {Score} Frame 1Symbol 162 EditableText
"overlay"Symbol 179 MovieClip {GirlGone} Frame 1Symbol 63 MovieClip
"overlay"Symbol 195 MovieClip {BoyGone} Frame 1Symbol 63 MovieClip
"overlay"Symbol 195 MovieClip {BoyGone} Frame 47Symbol 63 MovieClip
"highScoresButton"Symbol 398 MovieClip {MainMenu} Frame 1Symbol 366 Button
"playButton"Symbol 398 MovieClip {MainMenu} Frame 1Symbol 370 Button
"moreGamesButton"Symbol 398 MovieClip {MainMenu} Frame 1Symbol 388 Button
"howtoplayButton"Symbol 398 MovieClip {MainMenu} Frame 1Symbol 392 Button
"wefiendsButton"Symbol 398 MovieClip {MainMenu} Frame 1Symbol 395 MovieClip
"overlay"Symbol 398 MovieClip {MainMenu} Frame 1Symbol 63 MovieClip
"mainMenuButton"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 407 Button
"nameInput"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 411 EditableText
"scoreText"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 412 EditableText
"submitButton"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 416 Button
"highScoresButton"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 366 Button
"replayButton"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 420 Button
"moreGamesButton"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 388 Button
"overlay"Symbol 446 MovieClip {FinalMenu} Frame 1Symbol 63 MovieClip
"overlay"Symbol 455 MovieClip {Keys} Frame 1Symbol 63 MovieClip
"overlay"Symbol 469 MovieClip {QuickInstruc} Frame 1Symbol 468 MovieClip
"text"Symbol 472 MovieClip {Announcement} Frame 1Symbol 471 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""




http://swfchan.com/15/73363/info.shtml
Created: 8/4 -2019 07:59:21 Last modified: 8/4 -2019 07:59:21 Server time: 17/05 -2024 18:14:51