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

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

little-racer.swf

This is the info page for
Flash #125350

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


Text
Real gaming challenge

Play

How to play

Instructions

play

In this Lap race, the car should complete minimum of 3 laps to enter the
next stage. Your score increases as you complete the laps quickly, within a
short time period. If you don't complete 3 laps, the game gets over.
Up arrow key - Accelerate
Down arrow key - Reverse
Left and Right arrow key - Steer
P - To pause, and press again to resume
M- To mute the Music, and press again to activate it
S - To mute the sound, and press again to activate it

Game Controls

1234

Level Up

1234

LEVEL SCORE

:

GAME SCORE

Next Level

Try Again

Current Score

Total Score

Current Lap:

Level :

Total Time   :

Level Score :

Game Score :

wrong way

0

- for the real game -

Laps

Time

Score

Level

0

1/3

00:00

1

Paused

Game

Continue

Congratulations

Game Over

Try Again

More Games

Submit Score

Average Speed

Submit Score

More Games

1234

1234

1234

1234

Maximum Speed

Current Score

Total Score

Connecting, Please wait

1234

ActionScript [AS3]

Section 1
//BCVGB_112 (little_fla.BCVGB_112) package little_fla { import flash.display.*; public dynamic class BCVGB_112 extends MovieClip { public var WLap1:MovieClip; public var WLap2:MovieClip; public var WLap3:MovieClip; public var WLap5:MovieClip; public var WLap6:MovieClip; public var WLap4:MovieClip; } }//package little_fla
Section 2
//dfgdfg45334_218 (little_fla.dfgdfg45334_218) package little_fla { import flash.display.*; public dynamic class dfgdfg45334_218 extends MovieClip { public var WLap1:MovieClip; public var WLap2:MovieClip; public var WLap3:MovieClip; public var WLap5:MovieClip; public var WLap6:MovieClip; public var WLap4:MovieClip; } }//package little_fla
Section 3
//MainTimeline (little_fla.MainTimeline) package little_fla { import flash.display.*; import flash.events.*; import flash.geom.*; import mochi.as3.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var LevelCount:int; public var backBut:SimpleButton; public var Mute:Boolean; public var instBut:SimpleButton; public var levelBut:SimpleButton; public var o:Object; public var WinMc:MovieClip; public var moregames:SimpleButton; public var boardID:String; public var percentage:Number; public var contestMenu:ContextMenu; public var playBut:SimpleButton; public var avgsp:TextField; public var maxsp:TextField; public var gp:MovieClip; public var total_txt:TextField; public var MaxSpeed:Number; public var levelScore:int; public var submitscore:SimpleButton; public var preloadMc:MovieClip; public var trAgain:SimpleButton; public var levelscore:TextField; public var load_txt:TextField; public var AverSpeed:Number; public var WIN:Boolean; public var MusicMute:Boolean; public var contextmenuItem:ContextMenuItem; public var gameScore:int; public var Pause:Boolean; public var gamescore:TextField; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); } public function inst(_arg1:MouseEvent){ gotoAndStop("inst"); } function frame2(){ MochiBot.track(this, "d4f718a1"); LevelCount = 1; gameScore = 0; levelScore = 0; WIN = true; AverSpeed = 0; MaxSpeed = 0; Mute = false; Pause = false; MusicMute = false; stop(); instBut.addEventListener(MouseEvent.CLICK, inst); playBut.addEventListener(MouseEvent.CLICK, playit); } function frame3(){ backBut.addEventListener(MouseEvent.CLICK, gostart); } function frame4(){ stop(); LevelCount++; gameScore = (gameScore + levelScore); levelscore.text = levelScore.toString(); gamescore.text = gameScore.toString(); levelBut.addEventListener(MouseEvent.CLICK, levelButFun); trAgain.addEventListener(MouseEvent.CLICK, trAgainFun); } function frame5(){ } function frame6(){ stop(); maxsp.text = (MaxSpeed * 10).toString(); avgsp.text = AverSpeed.toString(); gameScore = (gameScore + levelScore); levelscore.text = levelScore.toString(); gamescore.text = gameScore.toString(); if (!WIN){ WinMc.gotoAndStop(2); }; trAgain.addEventListener(MouseEvent.CLICK, trAgainFun1); moregames.addEventListener(MouseEvent.CLICK, moregamesFun); submitscore.addEventListener(MouseEvent.CLICK, submitscoreFun1); } function frame7(){ stop(); MochiServices.connect("96b9c22c9f0024d3", root); gamescore.text = gameScore.toString(); o = {n:[1, 12, 3, 1, 5, 11, 11, 7, 1, 12, 6, 8, 0, 0, 12, 5], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; boardID = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:gameScore.toString()}); moregames.addEventListener(MouseEvent.CLICK, moregamesFun1); } function frame1(){ stop(); preloadMc.logoload.addEventListener(MouseEvent.CLICK, logofnload); contestMenu = new ContextMenu(); contestMenu.hideBuiltInItems(); contextmenuItem = new ContextMenuItem("www.123chase.com"); contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site); contestMenu.customItems.push(contextmenuItem); this.contextMenu = contestMenu; percentage = 0; total_txt.text = (String(100) + "%"); stage.addEventListener(Event.ENTER_FRAME, BeeMoving); } public function trAgainFun(_arg1:MouseEvent){ LevelCount--; gameScore = (gameScore - levelScore); this.gotoAndStop("gamepage"); } public function gostart(_arg1:MouseEvent){ this.gotoAndStop("gamepage"); } public function logofnload(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.123chase.com"), "_blank"); } public function submitscoreFun1(_arg1:MouseEvent){ this.gotoAndStop("submitpage"); } public function moregamesFun1(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://123chase.com"), "_blank"); } public function trAgainFun1(_arg1:MouseEvent){ gameScore = (gameScore - levelScore); this.gotoAndStop("gamepage"); } public function BeeMoving(_arg1:Event):void{ var _local2:Number; var _local3:Number; _local2 = loaderInfo.bytesLoaded; _local3 = loaderInfo.bytesTotal; percentage = Math.round(((_local2 / _local3) * 100)); load_txt.text = (String(percentage) + "%"); preloadMc.preloadCar.gotoAndStop((percentage * 3)); if (_local2 == _local3){ gotoAndStop("start"); stage.removeEventListener(Event.ENTER_FRAME, BeeMoving); }; } public function moregamesFun(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://123chase.com"), "_blank"); } public function playit(_arg1:MouseEvent){ this.gotoAndStop("gamepage"); } public function Site(_arg1:Event):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.123chase.com"); navigateToURL(_local2, "_blank"); } public function levelButFun(_arg1:MouseEvent){ this.gotoAndStop("gamepage"); } } }//package little_fla
Section 4
//newvfsd324r57_254 (little_fla.newvfsd324r57_254) package little_fla { import flash.display.*; public dynamic class newvfsd324r57_254 extends MovieClip { public function newvfsd324r57_254(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package little_fla
Section 5
//preloadsfsdf351_23 (little_fla.preloadsfsdf351_23) package little_fla { import flash.display.*; public dynamic class preloadsfsdf351_23 extends MovieClip { public function preloadsfsdf351_23(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package little_fla
Section 6
//preloadsfsdf352_1 (little_fla.preloadsfsdf352_1) package little_fla { import flash.display.*; public dynamic class preloadsfsdf352_1 extends MovieClip { public var preloadCar:MovieClip; public var logoload:SimpleButton; } }//package little_fla
Section 7
//Symbol115_175 (little_fla.Symbol115_175) package little_fla { import flash.display.*; public dynamic class Symbol115_175 extends MovieClip { public var sndoff:MovieClip; public function Symbol115_175(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package little_fla
Section 8
//Symbol115copy2_179 (little_fla.Symbol115copy2_179) package little_fla { import flash.display.*; public dynamic class Symbol115copy2_179 extends MovieClip { public var sndoff:MovieClip; public function Symbol115copy2_179(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package little_fla
Section 9
//Symbol16_150 (little_fla.Symbol16_150) package little_fla { import flash.display.*; public dynamic class Symbol16_150 extends MovieClip { public var L:MovieClip; public var T:MovieClip; public var R:MovieClip; public var B:MovieClip; public var TL:MovieClip; public var TR:MovieClip; } }//package little_fla
Section 10
//Symbol3_111 (little_fla.Symbol3_111) package little_fla { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.ui.*; import flash.text.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class Symbol3_111 extends MovieClip { public var speedDeceleration:Number; public var LEFT:Boolean; public var pausemc:MovieClip; public var Lap1:MovieClip; public var Lap2:MovieClip; public var Lap3:MovieClip; public var Lap5:MovieClip; public var Lap6:MovieClip; public var Lap4:MovieClip; public var bottom:MovieClip; public var secs1:String; public var radiance:Number; public var Path:MovieClip; public var lapcount:int; public var speed:Number; public var speedAcceleration:Number; public var i:int; public var Dis:MovieClip; public var sndbut:MovieClip; public var acceleration; public var wrongMusic:wrong; public var j:int; public var reachMusic:reached; public var steeringFriction:Number; public var speedMaxReverse:Number; public var avgArray:Array; public var steering:Number; public var sndbut2:MovieClip; public var time:int; public var car1:MovieClip; public var bgMusic:bg; public var WrongWayArr:Array; public var mytimer:Timer; public var velocityX:Number; public var velocityY:Number; public var shadow:MovieClip; public var hitroad:MovieClip; public var Top:MovieClip; public var BotArr:Array; public var TOP:Boolean; public var maxSpeed; public var movestop:int; public var TrArr:Array; public var prop:int; public var rotationStep; public var steeringMax:Number; public var top1:MovieClip; public var lineDrawing:MovieClip; public var steeringAcceleration:Number; public var CLapCount:int; public var speedMax:Number; public var backSpeed; public var groundFriction:Number; public var BOT:Boolean; public var LapsCont:Array; public var speedDecay:Number; public var totalLaps:int; public var WrongDis:MovieClip; public var tyreArray:Array; public var lapCnt:int; public var LAPFINISH:Boolean; public var SC1:SoundChannel; public var SC2:SoundChannel; public var SC3:SoundChannel; public var mins1:String; public var RIGHT:Boolean; public function Symbol3_111(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } public function Pauseall(){ if (!MovieClip(this.parent).Pause){ MovieClip(this.parent).Pause = true; SC1.stop(); stage.removeEventListener(Event.ENTER_FRAME, step); pausemc.visible = true; mytimer.stop(); } else { MovieClip(this.parent).Pause = false; pausemc.visible = false; mytimer.start(); SC1.stop(); if (!MovieClip(this.parent).MusicMute){ SC1 = bgMusic.play(0, int.MAX_VALUE); }; stage.addEventListener(Event.ENTER_FRAME, step); }; } public function WrongWay(){ i = 1; while (i < WrongWayArr.length) { if (i <= 4){ j = (i + 1); if (((HitTest.complexHitTestObject(WrongWayArr[i], car1, 1)) && ((LapsCont[j].crossed == 1)))){ SC2.stop(); if (!MovieClip(this.parent).Mute){ SC2 = wrongMusic.play(0, int.MAX_VALUE); }; WrongDis.visible = true; if ((((i == 1)) && (LAPFINISH))){ SC2.stop(); }; }; } else { if (i == 5){ if (((((HitTest.complexHitTestObject(WrongWayArr[i], car1, 1)) && ((LapsCont[0].crossed == 1)))) && ((LapsCont[4].crossed == undefined)))){ SC2.stop(); if (!MovieClip(this.parent).Mute){ SC2 = wrongMusic.play(0, int.MAX_VALUE); }; WrongDis.visible = true; }; }; }; if (HitTest.complexHitTestObject(LapsCont[i], car1, 1)){ SC2.stop(); calall(i); WrongDis.visible = false; }; i++; }; } function frame1(){ stop(); pausemc.visible = false; Dis.Level.text = MovieClip(this.parent).LevelCount; Dis.levelTxt.text = MovieClip(this.parent).levelScore.toString(); Dis.gameTxt.text = MovieClip(this.parent).gameScore.toString(); bgMusic = new bg(); reachMusic = new reached(); wrongMusic = new wrong(); SC1 = new SoundChannel(); SC2 = new SoundChannel(); SC3 = new SoundChannel(); if (!MovieClip(this.parent).MusicMute){ SC1 = bgMusic.play(0, int.MAX_VALUE); } else { sndbut2.gotoAndStop(2); }; mytimer = new Timer(1000, 0); avgArray = new Array(); lapCnt = 1; totalLaps = 1; acceleration = 0.5; speedDecay = 0.96; rotationStep = 10; maxSpeed = 15; backSpeed = 1; LapsCont = new Array(); WrongWayArr = new Array(); BotArr = new Array(); tyreArray = new Array(); WrongDis.visible = false; CLapCount = 1; LAPFINISH = false; j = 0; LEFT = false; RIGHT = false; TOP = false; BOT = false; i = 0; lapcount = 0; Dis.logo.addEventListener(MouseEvent.CLICK, moregamesFunc); speed = 0; speedMax = 8; speedMaxReverse = -8; speedAcceleration = 1; speedDeceleration = 0; groundFriction = 0.95; steering = 0; steeringMax = 1; steeringAcceleration = 0.1; steeringFriction = 0.98; velocityX = 0; velocityY = 0; radiance = 11; movestop = 0; TrArr = new Array(); prop = 0; if (MovieClip(this.parent).LevelCount == 1){ stop(); LapsCont = new Array(Lap6, Lap1, Lap2, Lap3, Lap4, Lap5); WrongWayArr = new Array(hitroad.WLap6, hitroad.WLap1, hitroad.WLap2, hitroad.WLap3, hitroad.WLap4, hitroad.WLap5); totalLaps = 3; time = 180; MovieClip(this.parent).levelScore = (time * 10); BotArr = new Array(bottom, Top); avgArray = new Array("", [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]); EventsAddFun(LapsCont, WrongWayArr, BotArr); } else { this.gotoAndStop(("Level" + MovieClip(this.parent).LevelCount)); }; } public function Muteall2(){ if (((!(MovieClip(this.parent).MusicMute)) && (!(MovieClip(this.parent).Pause)))){ MovieClip(this.parent).MusicMute = true; SC1.stop(); sndbut2.gotoAndStop(2); } else { if (!MovieClip(this.parent).Pause){ MovieClip(this.parent).MusicMute = false; SC1.stop(); SC1 = bgMusic.play(0, int.MAX_VALUE); sndbut2.gotoAndStop(1); }; }; } function frame3(){ stop(); trace("-----------Level3----------"); LapsCont = new Array(Lap6, Lap1, Lap2, Lap3, Lap4, Lap5); WrongWayArr = new Array(hitroad.WLap6, hitroad.WLap1, hitroad.WLap2, hitroad.WLap3, hitroad.WLap4, hitroad.WLap5); totalLaps = 3; time = 180; MovieClip(this.parent).levelScore = (time * 10); BotArr = new Array(bottom, Top); avgArray = new Array("", [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]); EventsAddFun(LapsCont, WrongWayArr, BotArr); } public function LapReset(){ lapcount = 0; Dis.CLap.text = ((CLapCount + "/") + totalLaps); Dis.levelTxt.text = MovieClip(this.parent).levelScore.toString(); Dis.gameTxt.text = MovieClip(this.parent).gameScore.toString(); i = 1; while (i < LapsCont.length) { if (LapsCont[i].crossed == 1){ lapcount++; if ((((lapcount == 5)) && ((i == 5)))){ LAPFINISH = true; }; if (((((HitTest.complexHitTestObject(LapsCont[1], car1, 1)) && ((LapsCont[i].crossed == 1)))) && (LAPFINISH))){ CLapCount++; SC3.stop(); if (!MovieClip(this.parent).Mute){ SC3 = reachMusic.play(0, 1); }; i = 1; while (i < LapsCont.length) { LapsCont[i].crossed = undefined; i++; }; lapCnt++; LAPFINISH = false; }; }; i++; }; } public function upfn(_arg1:KeyboardEvent){ if (_arg1.keyCode == 38){ TOP = false; }; if (_arg1.keyCode == 40){ BOT = false; }; if (_arg1.keyCode == 37){ LEFT = false; }; if (_arg1.keyCode == 39){ RIGHT = false; }; } function frame2(){ stop(); trace("-----------Level2----------"); LapsCont = new Array(Lap6, Lap1, Lap2, Lap3, Lap4, Lap5); WrongWayArr = new Array(hitroad.WLap6, hitroad.WLap1, hitroad.WLap2, hitroad.WLap3, hitroad.WLap4, hitroad.WLap5); totalLaps = 3; time = 180; MovieClip(this.parent).levelScore = (time * 10); BotArr = new Array(bottom, Top); avgArray = new Array("", [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]); EventsAddFun(LapsCont, WrongWayArr, BotArr); } public function Avercheck():int{ var _local1:int; var _local2:int; var _local3:*; var _local4:*; _local1 = 0; _local2 = 0; _local3 = 1; while (_local3 < 4) { _local1 = 0; trace("saran"); _local4 = 1; while (_local4 < 6) { trace("sp"); _local1 = (_local1 + avgArray[_local3][_local4]); _local4++; }; _local2 = (_local2 + (_local1 / 5)); _local3++; }; trace(((_local2 + " : ") + (_local2 / 3))); return ((_local2 / 3)); } public function LapHitTest(){ LapReset(); WrongWay(); i = 1; while (i < LapsCont.length) { if ((i == 1)){ j = 0; } else { if ((i <= 5)){ j = (i - 1); } else { j = (i - 1); }; }; if (((((HitTest.complexHitTestObject(LapsCont[i], car1, 1)) && ((LapsCont[i].crossed == undefined)))) && ((LapsCont[j].crossed == 1)))){ SC2.stop(); calall(i); WrongDis.visible = false; if (lapCnt <= 3){ avgArray[lapCnt][i] = (speed * 10); }; LapsCont[i].crossed = 1; } else { if ((i <= 4)){ j = (i + 1); } else { j = 4; }; if (i <= 4){ if (((HitTest.complexHitTestObject(LapsCont[i], car1, 1)) && ((LapsCont[j].crossed == 1)))){ SC2.stop(); if (!MovieClip(this.parent).Mute){ SC2 = wrongMusic.play(0, int.MAX_VALUE); }; WrongDis.visible = true; LAPFINISH = false; LapsCont[j].crossed = undefined; }; } else { if (((HitTest.complexHitTestObject(LapsCont[i], car1, 1)) && ((LapsCont[j].crossed == undefined)))){ SC2.stop(); if (!MovieClip(this.parent).Mute){ SC2 = wrongMusic.play(0, int.MAX_VALUE); }; WrongDis.visible = true; LAPFINISH = false; LapsCont[j].crossed = undefined; }; }; }; i++; }; checkAll(); } public function step(_arg1:Event){ var _local2:*; var _local3:*; if (MovieClip(this.parent).MaxSpeed < speed){ MovieClip(this.parent).MaxSpeed = speed; }; if (TOP){ if (speed < speedMax){ speed = (speed + speedAcceleration); if (speed > speedMax){ speed = speedMax; }; }; }; if (BOT){ if (speed > speedMaxReverse){ speed = (speed - speedAcceleration); if (speed < speedMaxReverse){ speed = speedMaxReverse; }; }; }; if (LEFT){ steering = (steering - steeringAcceleration); if (steering > steeringMax){ steering = steeringMax; }; }; if (RIGHT){ steering = (steering + steeringAcceleration); if (steering < -(steeringMax)){ steering = -(steeringMax); }; }; if (movestop == 1){ speed = (speed * speedDeceleration); }; speed = (speed * groundFriction); _local2 = (speed * Math.cos(radiance)); _local3 = (speed * Math.sin(radiance)); velocityX = (velocityX + ((_local2 - velocityX) * groundFriction)); velocityY = (velocityY + ((_local3 - velocityY) * groundFriction)); if ((((((((velocityX < 0.5)) && ((velocityX > -0.5)))) && ((velocityY < 0.5)))) && ((velocityY > -0.5)))){ velocityX = 0; velocityY = 0; }; if (car1 != null){ car1.x = (car1.x + velocityX); car1.y = (car1.y + velocityY); radiance = (radiance + ((steering * speed) * 0.025)); car1.rotation = ((radiance * 180) / Math.PI); }; steering = (steering - (steering * 0.1)); if (HitTest.complexHitTestObject(car1.L, Path, 1)){ radiance = (radiance - 0.02); } else { if (HitTest.complexHitTestObject(car1.R, Path, 1)){ radiance = (radiance + 0.02); }; }; if (HitTest.complexHitTestObject(car1.T, Path, 1)){ speed = 1; } else { if (HitTest.complexHitTestObject(car1.B, Path, 1)){ speed = -1; }; }; if (MovieClip(this.parent).LevelCount == 3){ i = 0; while (i < BotArr.length) { if (BotArr[i] != null){ if (((HitTest.complexHitTestObject(car1.L, BotArr[i], 1)) && (BotArr[i].Readytohit))){ radiance = (radiance - 0.02); } else { if (((HitTest.complexHitTestObject(car1.R, BotArr[i], 1)) && (BotArr[i].Readytohit))){ radiance = (radiance + 0.02); }; }; if (((HitTest.complexHitTestObject(car1.T, BotArr[i], 1)) && (BotArr[i].Readytohit))){ speed = 1; } else { if (((HitTest.complexHitTestObject(car1.B, BotArr[i], 1)) && (BotArr[i].Readytohit))){ speed = -1; }; }; }; i++; }; }; shadow.x = (car1.x - 4); shadow.y = (car1.y + 2); shadow.rotation = (car1.rotation - 90); LapHitTest(); } public function Muteall(){ if (((!(MovieClip(this.parent).Mute)) && (!(MovieClip(this.parent).Pause)))){ MovieClip(this.parent).Mute = true; SC2.stop(); SC3.stop(); sndbut.gotoAndStop(2); } else { if (!MovieClip(this.parent).Pause){ MovieClip(this.parent).Mute = false; sndbut.gotoAndStop(1); }; }; } public function downfn(_arg1:KeyboardEvent){ if (_arg1.keyCode == 38){ BOT = false; TOP = true; }; if (_arg1.keyCode == 40){ TOP = false; BOT = true; }; if (_arg1.keyCode == 37){ RIGHT = false; LEFT = true; }; if (_arg1.keyCode == 39){ LEFT = false; RIGHT = true; }; if (_arg1.keyCode == 83){ Muteall(); }; if (_arg1.keyCode == 80){ Pauseall(); }; if (_arg1.keyCode == 77){ Muteall2(); }; } public function time_fun(_arg1:TimerEvent):void{ var _local2:Number; var _local3:Number; if (time > 0){ time--; MovieClip(this.parent).levelScore = (MovieClip(this.parent).levelScore - 10); _local2 = Math.floor((time % 60)); _local3 = Math.floor((time / 60)); if (String(_local2).length == 1){ secs1 = ("0" + _local2); } else { secs1 = String(_local2); }; if (String(_local3).length == 1){ mins1 = ("0" + _local3); } else { mins1 = String(_local3); }; Dis.Times.text = ((mins1 + ":") + secs1); }; } public function calall(_arg1:int){ if ((((_arg1 == 2)) || ((_arg1 == 3)))){ trace("bottom hit true"); BotArr[0].Readytohit = true; BotArr[1].Readytohit = false; if (((!((top1 == null))) && ((MovieClip(this.parent).LevelCount == 3)))){ top1.visible = true; }; } else { if ((((_arg1 == 4)) || ((_arg1 == 5)))){ trace("top hit true"); BotArr[0].Readytohit = false; BotArr[1].Readytohit = true; if (((!((top1 == null))) && ((MovieClip(this.parent).LevelCount == 3)))){ top1.visible = false; }; }; }; } public function lineDraw(_arg1:MovieClip){ var _local2:Point; var _local3:Point; var _local4:Point; var _local5:Point; var _local6:int; var _local7:int; var _local8:int; _local2 = _arg1.localToGlobal(new Point(_arg1.TL.x, _arg1.TL.y)); _local3 = _arg1.localToGlobal(new Point(_arg1.TR.x, _arg1.TR.y)); _local4 = MovieClip(this.parent).gp.globalToLocal(new Point(_local2.x, _local2.y)); _local5 = MovieClip(this.parent).gp.globalToLocal(new Point(_local3.x, _local3.y)); tyreArray = new Array({x:_local4.x, y:_local4.y}, {x:_local5.x, y:_local5.y}); _local6 = 0; while (_local6 < tyreArray.length) { _local7 = tyreArray[_local6].x; _local8 = tyreArray[_local6].y; lineDrawing = new MovieClip(); addChild(lineDrawing); prop++; TrArr.push((numChildren - 1)); lineDrawing.graphics.lineStyle(3, 663333, 1); lineDrawing.graphics.moveTo(_local7, _local8); lineDrawing.graphics.lineTo(tyreArray[_local6].x, tyreArray[_local6].y); _local7 = tyreArray[_local6].x; _local8 = tyreArray[_local6].y; _local6++; }; } public function moregamesFunc(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://123chase.com"), "_blank"); } public function checkAll(){ if (CLapCount > totalLaps){ mytimer.stop(); SC1.stop(); SC2.stop(); SC3.stop(); mytimer.removeEventListener(TimerEvent.TIMER, time_fun); stage.removeEventListener(KeyboardEvent.KEY_DOWN, downfn); stage.removeEventListener(KeyboardEvent.KEY_UP, upfn); stage.removeEventListener(Event.ENTER_FRAME, step); if (MovieClip(this.parent).LevelCount <= 2){ MovieClip(this.parent).gotoAndStop("levelup"); } else { MovieClip(this.parent).WIN = true; MovieClip(this.parent).AverSpeed = Avercheck(); MovieClip(this.parent).gotoAndStop("gameover"); }; } else { if (time <= 0){ mytimer.stop(); SC1.stop(); SC2.stop(); SC3.stop(); mytimer.removeEventListener(TimerEvent.TIMER, time_fun); stage.removeEventListener(KeyboardEvent.KEY_DOWN, downfn); stage.removeEventListener(KeyboardEvent.KEY_UP, upfn); stage.removeEventListener(Event.ENTER_FRAME, step); MovieClip(this.parent).WIN = false; MovieClip(this.parent).AverSpeed = Avercheck(); MovieClip(this.parent).gotoAndStop("gameover"); }; }; } public function EventsAddFun(_arg1:Array, _arg2:Array, _arg3:Array){ LapsCont = _arg1; LapsCont[0].crossed = 1; WrongWayArr = _arg2; BotArr = _arg3; stage.addEventListener(KeyboardEvent.KEY_DOWN, downfn); stage.addEventListener(KeyboardEvent.KEY_UP, upfn); stage.addEventListener(Event.ENTER_FRAME, step); mytimer.addEventListener(TimerEvent.TIMER, time_fun); mytimer.start(); } } }//package little_fla
Section 11
//Symbol8_189 (little_fla.Symbol8_189) package little_fla { import flash.display.*; public dynamic class Symbol8_189 extends MovieClip { public var WLap1:MovieClip; public var WLap2:MovieClip; public var WLap3:MovieClip; public var WLap5:MovieClip; public var WLap6:MovieClip; public var WLap4:MovieClip; } }//package little_fla
Section 12
//vdj_154 (little_fla.vdj_154) package little_fla { import flash.display.*; import flash.text.*; public dynamic class vdj_154 extends MovieClip { public var gameTxt:TextField; public var Times:TextField; public var levelTxt:TextField; public var CLap:TextField; public var Level:TextField; public var logo:SimpleButton; } }//package little_fla
Section 13
//MochiCoins (mochi.as3.MochiCoins) package mochi.as3 { public class MochiCoins { public static const STORE_HIDE:String = "StoreHide"; public static const NO_USER:String = "NoUser"; public static const IO_ERROR:String = "IOError"; public static const ITEM_NEW:String = "ItemNew"; public static const ITEM_OWNED:String = "ItemOwned"; public static const STORE_ITEMS:String = "StoreItems"; public static const ERROR:String = "Error"; public static const STORE_SHOW:String = "StoreShow"; public static var _inventory:MochiInventory; public static function triggerEvent(_arg1:String, _arg2:Object):void{ MochiSocial.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ MochiSocial.removeEventListener(_arg1, _arg2); } public static function addEventListener(_arg1:String, _arg2:Function):void{ MochiSocial.addEventListener(_arg1, _arg2); } public static function getStoreItems():void{ MochiServices.send("coins_getStoreItems"); } public static function get inventory():MochiInventory{ return (_inventory); } public static function showStore(_arg1:Object=null):void{ MochiServices.bringToTop(); MochiServices.send("coins_showStore", {options:_arg1}, null, null); } public static function showItem(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ trace("ERROR: showItem call must pass an Object with an item key"); return; }; MochiServices.bringToTop(); MochiServices.send("coins_showItem", {options:_arg1}, null, null); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function showVideo(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ trace("ERROR: showVideo call must pass an Object with an item key"); return; }; MochiServices.bringToTop(); MochiServices.send("coins_showVideo", {options:_arg1}, null, null); } MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _inventory = new MochiInventory(); }); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _inventory = null; }); } }//package mochi.as3
Section 14
//MochiDigits (mochi.as3.MochiDigits) package mochi.as3 { public final class MochiDigits { private var Sibling:MochiDigits; private var Fragment:Number; private var Encoder:Number; public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{ Encoder = 0; setValue(_arg1, _arg2); } public function set value(_arg1:Number):void{ setValue(_arg1); } public function reencode():void{ var _local1:uint; _local1 = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function toString():String{ var _local1:String; _local1 = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } public function get value():Number{ return (Number(this.toString())); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String; _local3 = _arg1.toString(); var _temp1 = _arg2; _arg2 = (_arg2 + 1); Fragment = (_local3.charCodeAt(_temp1) ^ Encoder); if (_arg2 < _local3.length){ Sibling = new MochiDigits(_arg1, _arg2); } else { Sibling = null; }; reencode(); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } } }//package mochi.as3
Section 15
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher) package mochi.as3 { public class MochiEventDispatcher { private var eventTable:Object; public function MochiEventDispatcher():void{ eventTable = {}; } public function triggerEvent(_arg1:String, _arg2:Object):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ return; }; for (_local3 in eventTable[_arg1]) { var _local6 = eventTable[_arg1]; _local6[_local3](_arg2); }; } public function removeEventListener(_arg1:String, _arg2:Function):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ eventTable[_arg1] = []; return; }; for (_local3 in eventTable[_arg1]) { if (eventTable[_arg1][_local3] != _arg2){ } else { eventTable[_arg1].splice(Number(_local3), 1); }; }; } public function addEventListener(_arg1:String, _arg2:Function):void{ removeEventListener(_arg1, _arg2); eventTable[_arg1].push(_arg2); } } }//package mochi.as3
Section 16
//MochiEvents (mochi.as3.MochiEvents) package mochi.as3 { import flash.display.*; public class MochiEvents { public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL"; public static const FORMAT_LONG:String = "LongForm"; public static const ALIGN_BOTTOM:String = "ALIGN_B"; public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived"; public static const FORMAT_SHORT:String = "ShortForm"; public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR"; public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR"; public static const ALIGN_TOP:String = "ALIGN_T"; public static const ALIGN_LEFT:String = "ALIGN_L"; public static const ALIGN_RIGHT:String = "ALIGN_R"; public static const ALIGN_TOP_LEFT:String = "ALIGN_TL"; public static const ALIGN_CENTER:String = "ALIGN_C"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); private static var gameStart:Number; private static var levelStart:Number; public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function startSession(_arg1:String):void{ MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function setNotifications(_arg1:MovieClip, _arg2:Object):void{ var _local3:Object; var _local4:Object; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; _local3.clip = _arg1; MochiServices.send("events_setNotifications", _local3, null, null); } public static function endGame():void{ var _local1:Number; _local1 = (new Date().time - gameStart); trigger("end_game", {time:_local1}); } public static function startGame():void{ gameStart = new Date().time; trigger("start_game"); } public static function trigger(_arg1:String, _arg2:Object=null):void{ if (_arg2 == null){ _arg2 = {}; } else { if (_arg2["kind"] != undefined){ trace("WARNING: optional arguments package contains key 'id', it will be overwritten"); _arg2["kind"] = _arg1; }; }; MochiServices.send("events_triggerEvent", {eventObject:_arg2}, null, null); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function startLevel():void{ levelStart = new Date().time; trigger("start_level"); } public static function endLevel():void{ var _local1:Number; _local1 = (new Date().time - levelStart); trigger("end_level", {time:_local1}); } } }//package mochi.as3
Section 17
//MochiInventory (mochi.as3.MochiInventory) package mochi.as3 { import flash.events.*; import flash.utils.*; public dynamic class MochiInventory extends Proxy { private var _timer:Timer; private var _names:Array; private var _consumableProperties:Object; private var _syncID:Number; private var _storeSync:Object; private var _outstandingID:Number; private var _syncPending:Boolean; public static const READY:String = "InvReady"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IoError"; private static const KEY_SALT:String = " syncMaint"; public static const WRITTEN:String = "InvWritten"; public static const NOT_READY:String = "InvNotReady"; public static const VALUE_ERROR:String = "InvValueError"; private static const CONSUMER_KEY:String = "MochiConsumables"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public function MochiInventory():void{ MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned); MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut); _storeSync = new Object(); _syncPending = false; _outstandingID = 0; _syncID = 0; _timer = new Timer(1000); _timer.addEventListener(TimerEvent.TIMER, sync); _timer.start(); if (MochiSocial.loggedIn){ loggedIn(); } else { loggedOut(); }; } private function newItems(_arg1:Object):void{ if (!this[(_arg1.id + KEY_SALT)]){ this[(_arg1.id + KEY_SALT)] = 0; }; if (!this[_arg1.id]){ this[_arg1.id] = 0; }; this[(_arg1.id + KEY_SALT)] = (this[(_arg1.id + KEY_SALT)] + _arg1.count); this[_arg1.id] = (this[_arg1.id] + _arg1.count); if (_arg1.privateProperties.consumable){ if (!this[_arg1.privateProperties.tag]){ this[_arg1.privateProperties.tag] = 0; }; this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count)); }; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (-1); }; if (_consumableProperties[_arg1]){ return (MochiDigits(_consumableProperties[_arg1]).value); }; return (undefined); } public function release():void{ MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (false); }; if (_consumableProperties[_arg1] == undefined){ return (false); }; return (true); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{ return (((_arg1)>=_names.length) ? 0 : (_arg1 + 1)); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{ var _local3:MochiDigits; if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return; }; if (!(_arg2 is Number)){ triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2}); return; }; if (_consumableProperties[_arg1]){ _local3 = MochiDigits(_consumableProperties[_arg1]); if (_local3.value == _arg2){ return; }; _local3.value = _arg2; } else { _names.push(_arg1); _consumableProperties[_arg1] = new MochiDigits(_arg2); }; _syncID++; } private function sync(_arg1:Event=null):void{ var _local2:Object; var _local3:String; if (((_syncPending) || ((_syncID == _outstandingID)))){ return; }; _outstandingID = _syncID; _local2 = {}; for (_local3 in _consumableProperties) { _local2[_local3] = MochiDigits(_consumableProperties[_local3]).value; }; MochiUserData.put(CONSUMER_KEY, _local2, putConsumableBag); _syncPending = true; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{ return (_names[(_arg1 - 1)]); } private function loggedIn(_arg1:Object=null):void{ MochiUserData.get(CONSUMER_KEY, getConsumableBag); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{ if (!_consumableProperties[_arg1]){ return (false); }; _names.splice(_names.indexOf(_arg1), 1); delete _consumableProperties[_arg1]; return (true); } private function itemOwned(_arg1:Object):void{ _storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count}; } private function putConsumableBag(_arg1:MochiUserData):void{ _syncPending = false; if (_arg1.error){ triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error}); _outstandingID = -1; }; triggerEvent(WRITTEN, {}); } private function getConsumableBag(_arg1:MochiUserData):void{ var _local2:String; var _local3:Number; if (_arg1.error){ triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error}); return; }; _consumableProperties = {}; _names = new Array(); if (_arg1.data){ for (_local2 in _arg1.data) { _names.push(_local2); _consumableProperties[_local2] = new MochiDigits(_arg1.data[_local2]); }; }; for (_local2 in _storeSync) { _local3 = _storeSync[_local2].count; if (_consumableProperties[(_local2 + KEY_SALT)]){ _local3 = (_local3 - _consumableProperties[_local2]); }; if (_local3 == 0){ } else { newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties}); }; }; triggerEvent(READY, {}); } private function loggedOut(_arg1:Object=null):void{ _consumableProperties = null; } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } } }//package mochi.as3
Section 18
//MochiScores (mochi.as3.MochiScores) package mochi.as3 { 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 n:Number; var options = _arg1; if (options != null){ delete options.clip; MochiServices.setContainer(); MochiServices.bringToTop(); 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; }; } else { if ((options.score is MochiDigits)){ options.score = options.score.value; }; }; n = Number(options.score); if (isNaN(n)){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'")); } else { if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite")); } else { if (Math.floor(n) != n){ trace((("WARNING: Submitted score '" + options.score) + "' will be truncated")); }; options.score = n; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.gotoAndStop("start"); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.warnID(options.boardID, true); trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal"); MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ _arg1 = Number(_arg1); if (isNaN(_arg1)){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'")); } else { if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite")); } else { if (Math.floor(_arg1) != _arg1){ trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated")); }; _arg1 = Number(_arg1); }; }; MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (((((_arg1) && ((_arg1.error == true)))) && (onErrorHandler))){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiServices.warnID(_arg1, true); MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi.as3
Section 19
//MochiServices (mochi.as3.MochiServices) package mochi.as3 { import flash.display.*; import flash.events.*; import flash.geom.*; 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 _preserved:Object; public static var netupAttempted:Boolean = false; private static var _sendChannel:LocalConnection; public static var servicesSync:MochiSync = new MochiSync(); private static var _clip:MovieClip; private static var _id:String; private static var _services:String = "services.swf"; private static var _servURL:String = "http://www.mochiads.com/static/lib/services/"; public static var widget:Boolean = false; private static var _timer:Timer; private static var _sendChannelName:String; private static var _loader:Loader; private static var _connecting:Boolean = false; private static var _mochiLocalConnection:MovieClip; private static var _listenChannelName:String = "__ms_"; public static var onError:Object; public static var netup:Boolean = true; private static var _mochiLC:String = "MochiLC.swf"; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function get connected():Boolean{ return (_connected); } private static function onReceive(_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = _clip._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete _clip._callbacks[cb]; } public static function get childClip():Object{ return (_clip); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1)); 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++; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local3:Array; var _local4:int; var _local5:Array; var _local6:Array; var _local7:MovieClip; var _local8:LocalConnection; var _local9:String; var _local10:ByteArray; var _local11:ByteArray; var _local12:uint; var _local13:uint; var _local14:Loader; _local3 = [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]; _local5 = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; _local6 = [0, 64, 0, 0, 0]; _local7 = new MovieClip(); _local8 = new LocalConnection(); _local9 = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time)); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); _local10 = new ByteArray(); _local11 = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); _local12 = ((_local3.length + _local11.length) + 4); _local13 = (_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); } 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 vars:Object; var avm1Click:DisplayObject; var s:String; var i:Number; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; vars = 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 = "?"; i = 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(); setURL = function (_arg1:String):void{ var _local2:Rectangle; if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); _local2 = btn.getBounds(btn); btn.addChild(avm1Click); avm1Click.x = _local2.x; avm1Click.y = _local2.y; avm1Click.scaleX = (0.01 * _local2.width); avm1Click.scaleY = (0.01 * _local2.height); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } public static function warnID(_arg1:String, _arg2:Boolean):void{ var _local3:Number; _arg1 = _arg1.toLowerCase(); if (_arg1.length != 16){ trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length")); return; } else { if (_arg1 == "1e113c7239048b3f"){ if (_arg2){ trace("WARNING: Using testing board ID"); } else { trace("WARNING: Using testing board ID as game ID"); }; return; } else { if (_arg1 == "84993a1de4031cd8"){ if (_arg2){ trace("WARNING: Using testing game ID as board ID"); } else { trace("WARNING: Using testing game ID"); }; return; }; }; }; _local3 = 0; while (_local3 < _arg1.length) { switch (_arg1.charAt(_local3)){ case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "a": case "b": case "c": case "d": case "e": case "f": break; default: trace(("WARNING: Board ID contains illegal characters: " + _arg1)); return; }; _local3++; }; } 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 { _mochiLocalConnection.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function getVersion():String{ return ("3.7 as3"); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (((_clip) && (_clip._queue))){ 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); }; }; }; }; } public static function get id():String{ return (_id); } private static function onEvent(_arg1:Object):void{ var _local2:String; var _local3:String; _local2 = _arg1.target; _local3 = _arg1.event; switch (_local2){ case "events": MochiEvents.triggerEvent(_arg1.event, _arg1.args); break; case "coins": MochiCoins.triggerEvent(_arg1.event, _arg1.args); break; case "sync": servicesSync.triggerEvent(_arg1.event, _arg1.args); break; }; } private static function urlOptions(_arg1:Object):Object{ var _local2:Object; var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; _local2 = {}; if (_arg1.stage){ _local3 = _arg1.stage.loaderInfo.parameters.mochiad_options; } else { _local3 = _arg1.loaderInfo.parameters.mochiad_options; }; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } 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 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) { }; }; }; }; } private static function loadError(_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); } private static function initComChannels():void{ if (!_connected){ trace("[SERVICES_API] connected!"); _connecting = false; _connected = true; _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _clip.onReceive = onReceive; _clip.onEvent = onEvent; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; while (_clip._queue.length > 0) { _mochiLocalConnection.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function loadLCBridge(_arg1:Object):void{ var loader:Loader; var mochiLCURL:String; var req:URLRequest; var complete:Function; var clip = _arg1; loader = new Loader(); mochiLCURL = (_servURL + _mochiLC); req = new URLRequest(mochiLCURL); complete = function (_arg1:Object):void{ _mochiLocalConnection = MovieClip(loader.content); listen(); }; loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); loader.load(req); clip.addChild(loader); } private static function listen():void{ _mochiLocalConnection.connect(_listenChannelName); _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; trace("Waiting for MochiAds services to connect..."); } 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"); initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var _local3:String; var _local4:String; var _local5:URLRequest; var _local6:URLVariables; _local3 = ("_mochiservices_com_" + _arg1); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; if (urlOptions(_arg2).servURL){ _servURL = urlOptions(_arg2).servURL; }; _local4 = (_servURL + _services); if (urlOptions(_arg2).servicesURL){ _local4 = urlOptions(_arg2).servicesURL; }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999)))); MochiServices.allowDomains(_local4); _clip = createEmptyMovieClip(_arg2, _local3, 10336, false); loadLCBridge(_clip); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); _local5 = new URLRequest(_local4); _local6 = new URLVariables(); _local6.listenLC = _listenChannelName; _local6.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options; _local6.api_version = getVersion(); if (widget){ _local6.widget = true; }; _local5.data = _local6; _loader.load(_local5); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _clip._nextcallbackID = 0; _clip._callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; warnID(id, false); if ((clip is DisplayObject)){ if (clip.stage == null){ trace("MochiServices connect requires the containing clip be attached to the stage"); }; if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function bringToTop(_arg1:Event=null):void{ var e = _arg1; if (((!((MochiServices.clip == null))) && (!((MochiServices.childClip == null))))){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load. (timeout)"); MochiServices.disconnect(); MochiServices.onError("IOError"); }; } } }//package mochi.as3
Section 20
//MochiSocial (mochi.as3.MochiSocial) package mochi.as3 { public class MochiSocial { public static const LOGGED_IN:String = "LoggedIn"; public static const PROFILE_HIDE:String = "ProfileHide"; public static const NO_USER:String = "NoUser"; public static const PROPERTIES_SIZE:String = "PropertiesSize"; public static const IO_ERROR:String = "IOError"; public static const PROPERTIES_SAVED:String = "PropertySaved"; public static const WIDGET_LOADED:String = "WidgetLoaded"; public static const USER_INFO:String = "UserInfo"; public static const ERROR:String = "Error"; public static const LOGIN_SHOW:String = "LoginShow"; public static const LOGGED_OUT:String = "LoggedOut"; public static const PROFILE_SHOW:String = "ProfileShow"; public static const LOGIN_SHOWN:String = "LoginShown"; public static const LOGIN_HIDE:String = "LoginHide"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static var _user_info:Object = null; public static function getVersion():String{ return (MochiServices.getVersion()); } public static function saveUserProperties(_arg1:Object):void{ MochiServices.send("coins_saveUserProperties", _arg1); } public static function get loggedIn():Boolean{ return (!((_user_info == null))); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function getUserInfo():void{ MochiServices.send("coins_getUserInfo"); } public static function showLoginWidget(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showLoginWidget", {options:_arg1}); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function requestLogin():void{ MochiServices.send("coins_requestLogin"); } public static function getAPIURL():String{ if (!_user_info){ return (null); }; return (_user_info.api_url); } public static function hideLoginWidget():void{ MochiServices.send("coins_hideLoginWidget"); } public static function getAPIToken():String{ if (!_user_info){ return (null); }; return (_user_info.api_token); } MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _user_info = _arg1; }); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _user_info = null; }); } }//package mochi.as3
Section 21
//MochiSync (mochi.as3.MochiSync) package mochi.as3 { import flash.utils.*; public dynamic class MochiSync extends Proxy { private var _syncContainer:Object; public static var SYNC_PROPERTY:String = "UpdateProperty"; public static var SYNC_REQUEST:String = "SyncRequest"; public function MochiSync():void{ _syncContainer = {}; } public function triggerEvent(_arg1:String, _arg2:Object):void{ switch (_arg1){ case SYNC_REQUEST: MochiServices.send("sync_syncronize", _syncContainer); break; case SYNC_PROPERTY: _syncContainer[_arg2.name] = _arg2.value; break; }; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ return (_syncContainer[_arg1]); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{ var _local3:String; if (_syncContainer[_arg1] == _arg2){ return; }; _local3 = _arg1.toString(); _syncContainer[_local3] = _arg2; MochiServices.send("sync_propUpdate", {name:_local3, value:_arg2}); } } }//package mochi.as3
Section 22
//MochiUserData (mochi.as3.MochiUserData) package mochi.as3 { import flash.events.*; import flash.utils.*; import flash.net.*; public class MochiUserData extends EventDispatcher { public var callback:Function;// = null public var error:Event;// = null public var key:String;// = null public var operation:String;// = null public var data;// = null public var _loader:URLLoader; public function MochiUserData(_arg1:String="", _arg2:Function=null){ key = null; data = null; error = null; operation = null; callback = null; super(); this.key = _arg1; this.callback = _arg2; } public function securityErrorHandler(_arg1:SecurityErrorEvent):void{ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString()))); } public function putEvent(_arg1):void{ request("put", serialize(_arg1)); } public function request(_arg1:String, _arg2:ByteArray):void{ var api_url:String; var api_token:String; var args:URLVariables; var req:URLRequest; var _operation = _arg1; var _data = _arg2; operation = _operation; api_url = MochiSocial.getAPIURL(); api_token = MochiSocial.getAPIToken(); if ((((api_url == null)) || ((api_token == null)))){ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in")); return; }; _loader = new URLLoader(); args = new URLVariables(); args.op = _operation; args.key = key; req = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString())); req.method = URLRequestMethod.POST; req.contentType = "application/x-mochi-userdata"; req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)]; req.data = _data; _loader.dataFormat = URLLoaderDataFormat.BINARY; _loader.addEventListener(Event.COMPLETE, completeHandler); _loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); _loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); try { _loader.load(req); } catch(e:SecurityError) { errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString()))); }; } public function performCallback():void{ try { callback(this); } catch(e:Error) { trace(("[MochiUserData] exception during callback: " + e)); }; } public function serialize(_arg1):ByteArray{ var _local2:ByteArray; _local2 = new ByteArray(); _local2.objectEncoding = ObjectEncoding.AMF3; _local2.writeObject(_arg1); _local2.compress(); return (_local2); } public function errorHandler(_arg1:IOErrorEvent):void{ data = null; error = _arg1; if (callback != null){ performCallback(); } else { dispatchEvent(_arg1); }; close(); } public function completeHandler(_arg1:Event):void{ var event = _arg1; try { if (_loader.data.length){ data = deserialize(_loader.data); } else { data = null; }; } catch(e:Error) { errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString()))); return; }; if (callback != null){ performCallback(); } else { dispatchEvent(event); }; close(); } public function getEvent():void{ request("get", serialize(null)); } override public function toString():String{ return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]")); } public function close():void{ if (_loader){ _loader.removeEventListener(Event.COMPLETE, completeHandler); _loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); _loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); _loader.close(); _loader = null; }; error = null; callback = null; } public function deserialize(_arg1:ByteArray){ _arg1.objectEncoding = ObjectEncoding.AMF3; _arg1.uncompress(); return (_arg1.readObject()); } public static function get(_arg1:String, _arg2:Function):void{ var _local3:MochiUserData; _local3 = new MochiUserData(_arg1, _arg2); _local3.getEvent(); } public static function put(_arg1:String, _arg2, _arg3:Function):void{ var _local4:MochiUserData; _local4 = new MochiUserData(_arg1, _arg3); _local4.putEvent(_arg2); } } }//package mochi.as3
Section 23
//bg (bg) package { import flash.media.*; public dynamic class bg extends Sound { } }//package
Section 24
//HitTest (HitTest) package { import flash.display.*; import flash.geom.*; public class HitTest { protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{ var _local4:Point; var _local5:Matrix; var _local6:Matrix; _local6 = _arg1.root.transform.concatenatedMatrix; _local4 = _arg1.localToGlobal(new Point()); _local5 = _arg1.transform.concatenatedMatrix; _local5.tx = (_local4.x - _arg2.x); _local5.ty = (_local4.y - _arg2.y); _local5.a = (_local5.a / _local6.a); _local5.d = (_local5.d / _local6.d); if (_arg3 != 1){ _local5.scale(_arg3, _arg3); }; return (_local5); } public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{ return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0))); } public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{ var _local4:Rectangle; var _local5:BitmapData; var _local6:Rectangle; if (_arg3 <= 0){ throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001)); }; if (!_arg1.hitTestObject(_arg2)){ return (new Rectangle()); }; _local4 = intersectionRectangle(_arg1, _arg2); if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){ return (new Rectangle()); }; _local5 = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0); _local5.draw(_arg1, HitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF)); _local5.draw(_arg2, HitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE); _local6 = _local5.getColorBoundsRect(4294967295, 4278255615); _local5.dispose(); if (_arg3 != 1){ _local6.x = (_local6.x / _arg3); _local6.y = (_local6.y / _arg3); _local6.width = (_local6.width / _arg3); _local6.height = (_local6.height / _arg3); }; _local6.x = (_local6.x + _local4.x); _local6.y = (_local6.y + _local4.y); return (_local6); } public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{ var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){ return (new Rectangle()); }; _local3 = _arg1.getBounds(_arg1.root); _local4 = _arg2.getBounds(_arg2.root); _local5 = new Rectangle(); _local5.x = Math.max(_local3.x, _local4.x); _local5.y = Math.max(_local3.y, _local4.y); _local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x)); _local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y)); return (_local5); } } }//package
Section 25
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 26
//reached (reached) package { import flash.media.*; public dynamic class reached extends Sound { } }//package
Section 27
//wrong (wrong) package { import flash.media.*; public dynamic class wrong extends Sound { } }//package

Library Items

Symbol 1 Sound {wrong}
Symbol 2 Sound {reached}
Symbol 3 Sound {bg}
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClipUses:5Used by:90
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:8Used by:10
Symbol 10 MovieClipUses:9Used by:90
Symbol 11 GraphicUsed by:14 28 297 306
Symbol 12 GraphicUsed by:13 28 296 306
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClipUses:11 13Used by:25
Symbol 15 GraphicUsed by:16 28 298 306
Symbol 16 MovieClipUses:15Used by:21
Symbol 17 GraphicUsed by:18 28 299 306
Symbol 18 MovieClipUses:17Used by:21
Symbol 19 GraphicUsed by:20 28 300 306
Symbol 20 MovieClipUses:19Used by:21
Symbol 21 MovieClipUses:16 18 20Used by:25
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24 28
Symbol 24 MovieClipUses:23Used by:25
Symbol 25 MovieClipUses:14 21 24Used by:28
Symbol 26 FontUsed by:27 302
Symbol 27 TextUses:26Used by:28
Symbol 28 ButtonUses:25 27 11 12 15 17 19 23Used by:90
Symbol 29 GraphicUsed by:90
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:90
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:43
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:40
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:40
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:40
Symbol 40 MovieClipUses:35 37 39Used by:43
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 MovieClipUses:33 40 42Used by:90
Symbol 44 GraphicUsed by:45 60
Symbol 45 MovieClipUses:44Used by:55
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48
Symbol 48 MovieClipUses:47Used by:49 61
Symbol 49 MovieClipUses:48Used by:55
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:55
Symbol 52 GraphicUsed by:55
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:55 65
Symbol 55 MovieClipUses:45 49 51 52 54Used by:59
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClipUses:57Used by:59 66
Symbol 59 MovieClipUses:55 58Used by:89
Symbol 60 MovieClipUses:44Used by:65
Symbol 61 MovieClipUses:48Used by:65
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:60 61 63 64 54Used by:66
Symbol 66 MovieClipUses:65 58Used by:89
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:89
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:89
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:89
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:89
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:89
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:89
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:89
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:89
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:89
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:89
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:89
Symbol 89 MovieClip {little_fla.preloadsfsdf351_23}Uses:59 66 68 70 72 74 76 78 80 82 84 86 88Used by:90
Symbol 90 MovieClip {little_fla.preloadsfsdf352_1}Uses:6 10 28 29 31 43 89Used by:Timeline
Symbol 91 FontUsed by:92 93
Symbol 92 EditableTextUses:91Used by:Timeline
Symbol 93 EditableTextUses:91Used by:Timeline
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClipUses:95Used by:Timeline
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:103
Symbol 99 GraphicUsed by:100 113 124 138 148 175 184 186 195 492 501 503 512 514 523 558 565
Symbol 100 MovieClipUses:99Used by:103 111 116 121
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClipUses:98 100 102Used by:106
Symbol 104 FontUsed by:105 117 177 188 484 494 505 516 525 526
Symbol 105 TextUses:104Used by:106 112 113
Symbol 106 MovieClipUses:103 105Used by:113
Symbol 107 GraphicUsed by:108 113
Symbol 108 MovieClipUses:107Used by:111
Symbol 109 GraphicUsed by:110 113
Symbol 110 MovieClipUses:109Used by:111
Symbol 111 MovieClipUses:108 110 100Used by:112
Symbol 112 MovieClipUses:111 105Used by:113
Symbol 113 ButtonUses:106 112 107 109 99 105Used by:Timeline
Symbol 114 GraphicUsed by:115 137 174 185 491 502 513 557
Symbol 115 MovieClipUses:114Used by:116
Symbol 116 MovieClipUses:115 100Used by:118 123
Symbol 117 TextUses:104Used by:118 122 123 124
Symbol 118 MovieClipUses:116 117Used by:124
Symbol 119 GraphicUsed by:120 124
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClipUses:120 100Used by:122
Symbol 122 MovieClipUses:121 117Used by:124
Symbol 123 MovieClipUses:116 117Used by:124
Symbol 124 ButtonUses:118 122 123 119 99 117Used by:Timeline
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClipUses:126Used by:Timeline
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:134
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:134
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:134
Symbol 134 MovieClipUses:129 131 133Used by:Timeline
Symbol 135 FontUsed by:136 151
Symbol 136 TextUses:135Used by:Timeline
Symbol 137 MovieClipUses:114Used by:139
Symbol 138 MovieClipUses:99Used by:139 145
Symbol 139 MovieClipUses:137 138Used by:142 147
Symbol 140 FontUsed by:141
Symbol 141 TextUses:140Used by:142 146 147 148
Symbol 142 MovieClipUses:139 141Used by:148
Symbol 143 GraphicUsed by:144 148
Symbol 144 MovieClipUses:143Used by:145
Symbol 145 MovieClipUses:144 138Used by:146
Symbol 146 MovieClipUses:145 141Used by:148
Symbol 147 MovieClipUses:139 141Used by:148
Symbol 148 ButtonUses:142 146 147 143 99 141Used by:Timeline
Symbol 149 FontUsed by:150 154 158 328 329 330 331 530 531 537 543 566
Symbol 150 TextUses:149Used by:Timeline
Symbol 151 TextUses:135Used by:Timeline
Symbol 152 FontUsed by:295
Symbol 153 TextUsed by:Timeline
Symbol 154 EditableTextUses:149Used by:Timeline
Symbol 155 FontUsed by:156
Symbol 156 TextUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:Timeline
Symbol 158 EditableTextUses:149Used by:Timeline
Symbol 159 GraphicUsed by:164
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:164
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:164
Symbol 164 MovieClipUses:159 161 163Used by:173
Symbol 165 FontUsed by:166 172
Symbol 166 TextUses:165Used by:173
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:173
Symbol 169 FontUsed by:170
Symbol 170 TextUses:169Used by:171
Symbol 171 MovieClipUses:170Used by:173
Symbol 172 TextUses:165Used by:173
Symbol 173 MovieClipUses:164 166 168 171 172Used by:Timeline
Symbol 174 MovieClipUses:114Used by:176
Symbol 175 MovieClipUses:99Used by:176 181
Symbol 176 MovieClipUses:174 175Used by:178 183
Symbol 177 TextUses:104Used by:178 182 183 184
Symbol 178 MovieClipUses:176 177Used by:184
Symbol 179 GraphicUsed by:180 184
Symbol 180 MovieClipUses:179Used by:181
Symbol 181 MovieClipUses:180 175Used by:182
Symbol 182 MovieClipUses:181 177Used by:184
Symbol 183 MovieClipUses:176 177Used by:184
Symbol 184 ButtonUses:178 182 183 179 99 177Used by:Timeline
Symbol 185 MovieClipUses:114Used by:187
Symbol 186 MovieClipUses:99Used by:187 192
Symbol 187 MovieClipUses:185 186Used by:189 194
Symbol 188 TextUses:104Used by:189 193 194 195
Symbol 189 MovieClipUses:187 188Used by:195
Symbol 190 GraphicUsed by:191 195
Symbol 191 MovieClipUses:190Used by:192
Symbol 192 MovieClipUses:191 186Used by:193
Symbol 193 MovieClipUses:192 188Used by:195
Symbol 194 MovieClipUses:187 188Used by:195
Symbol 195 ButtonUses:189 193 194 190 99 188Used by:Timeline
Symbol 196 FontUsed by:197 198 316 317 325 326 524 544
Symbol 197 TextUses:196Used by:Timeline
Symbol 198 TextUses:196Used by:Timeline
Symbol 199 GraphicUsed by:200 527 547
Symbol 200 MovieClipUses:199Used by:203
Symbol 201 GraphicUsed by:202 528 548
Symbol 202 MovieClipUses:201Used by:203
Symbol 203 MovieClipUses:200 202Used by:Timeline
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:204Used by:216
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:206Used by:216
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:208Used by:216
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:216
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:216
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:214Used by:216
Symbol 216 MovieClip {little_fla.BCVGB_112}Uses:205 207 209 211 213 215Used by:483
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217Used by:279 483
Symbol 219 GraphicUsed by:263
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:222
Symbol 222 MovieClipUses:221Used by:263
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:263
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:263
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:263
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:263
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231Used by:263
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233Used by:263
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:235Used by:238
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:236 237Used by:263
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:242
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:240 241Used by:263
Symbol 243 GraphicUsed by:246
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:246
Symbol 246 MovieClipUses:243 245Used by:263
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:263
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:263
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:263
Symbol 253 GraphicUsed by:254 403 462
Symbol 254 MovieClipUses:253Used by:263
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:263
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClipUses:257Used by:263
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:263
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:263
Symbol 263 MovieClipUses:219 222 224 226 228 230 232 234 238 242 246 248 250 252 254 256 258 260 262Used by:483
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:266 483
Symbol 266 MovieClipUses:265Used by:483
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:269
Symbol 269 MovieClipUses:268Used by:483
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:483
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:277 279
Symbol 274 GraphicUsed by:277
Symbol 275 GraphicUsed by:276
Symbol 276 MovieClipUses:275Used by:277
Symbol 277 MovieClipUses:273 274 276Used by:483
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClip {little_fla.Symbol16_150}Uses:273 278 218Used by:483
Symbol 280 GraphicUsed by:287
Symbol 281 FontUsed by:282 283 284 285 286
Symbol 282 TextUses:281Used by:287
Symbol 283 TextUses:281Used by:287
Symbol 284 TextUses:281Used by:287
Symbol 285 TextUses:281Used by:287
Symbol 286 TextUses:281Used by:287
Symbol 287 MovieClipUses:280 282 283 284 285 286Used by:483
Symbol 288 GraphicUsed by:294
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:294
Symbol 291 FontUsed by:292
Symbol 292 EditableTextUses:291Used by:294
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:288 290 292 293Used by:483
Symbol 295 EditableTextUses:152Used by:332
Symbol 296 MovieClipUses:12Used by:297
Symbol 297 MovieClipUses:11 296Used by:306
Symbol 298 MovieClipUses:15Used by:301
Symbol 299 MovieClipUses:17Used by:301
Symbol 300 MovieClipUses:19Used by:301
Symbol 301 MovieClipUses:298 299 300Used by:306
Symbol 302 TextUses:26Used by:306
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:305 306
Symbol 305 MovieClipUses:304Used by:306
Symbol 306 ButtonUses:297 301 302 305 11 12 15 17 19 304Used by:332
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307Used by:318
Symbol 309 MovieClipUsed by:318
Symbol 310 GraphicUsed by:311 321
Symbol 311 MovieClipUses:310Used by:318
Symbol 312 GraphicUsed by:313 322
Symbol 313 MovieClipUses:312Used by:318
Symbol 314 GraphicUsed by:315 323
Symbol 315 MovieClipUses:314Used by:318
Symbol 316 TextUses:196Used by:318
Symbol 317 TextUses:196Used by:318
Symbol 318 MovieClipUses:308 309 311 313 315 316 317Used by:332
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:319Used by:327
Symbol 321 MovieClipUses:310Used by:327
Symbol 322 MovieClipUses:312Used by:324
Symbol 323 MovieClipUses:314Used by:324
Symbol 324 MovieClipUses:322 323Used by:327
Symbol 325 TextUses:196Used by:327
Symbol 326 TextUses:196Used by:327
Symbol 327 MovieClipUses:320 321 324 325 326Used by:332
Symbol 328 EditableTextUses:149Used by:332
Symbol 329 EditableTextUses:149Used by:332
Symbol 330 EditableTextUses:149Used by:332
Symbol 331 EditableTextUses:149Used by:332
Symbol 332 MovieClip {little_fla.vdj_154}Uses:295 306 318 327 328 329 330 331Used by:483
Symbol 333 GraphicUsed by:340 346
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:340
Symbol 336 GraphicUsed by:339 345
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:337Used by:339
Symbol 339 MovieClipUses:336 338Used by:340
Symbol 340 MovieClip {little_fla.Symbol115_175}Uses:333 335 339Used by:483
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:341Used by:344 346
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:342 343Used by:345
Symbol 345 MovieClipUses:336 344Used by:346
Symbol 346 MovieClip {little_fla.Symbol115copy2_179}Uses:333 342 345Used by:483
Symbol 347 GraphicUsed by:360
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClipUses:348Used by:360
Symbol 350 GraphicUsed by:351
Symbol 351 MovieClipUses:350Used by:356
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClipUses:352Used by:356
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:354Used by:356
Symbol 356 MovieClipUses:351 353 355Used by:360
Symbol 357 FontUsed by:358 359
Symbol 358 TextUses:357Used by:360
Symbol 359 TextUses:357Used by:360
Symbol 360 MovieClipUses:347 349 356 358 359Used by:483
Symbol 361 GraphicUsed by:483
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:362Used by:372
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:364Used by:372
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:366Used by:372
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:372
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClipUses:370Used by:372 427
Symbol 372 MovieClip {little_fla.Symbol8_189}Uses:363 365 367 369 371Used by:483
Symbol 373 BitmapUsed by:374 381
Symbol 374 GraphicUses:373Used by:377
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClipUses:375Used by:377
Symbol 377 MovieClipUses:374 376Used by:380
Symbol 378 GraphicUsed by:379
Symbol 379 MovieClipUses:378Used by:380
Symbol 380 MovieClipUses:377 379Used by:414
Symbol 381 GraphicUses:373Used by:382
Symbol 382 MovieClipUses:381Used by:414
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:414
Symbol 385 GraphicUsed by:386
Symbol 386 MovieClipUses:385Used by:414
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:414
Symbol 389 GraphicUsed by:392
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:392
Symbol 392 MovieClipUses:389 391Used by:414
Symbol 393 GraphicUsed by:394
Symbol 394 MovieClipUses:393Used by:396
Symbol 395 GraphicUsed by:396
Symbol 396 MovieClipUses:394 395Used by:414
Symbol 397 GraphicUsed by:398
Symbol 398 MovieClipUses:397Used by:414
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:414
Symbol 401 GraphicUsed by:402 453
Symbol 402 MovieClipUses:401Used by:414
Symbol 403 MovieClipUses:253Used by:414
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:404Used by:414
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:406Used by:414
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:414
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:410Used by:414
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:412Used by:414
Symbol 414 MovieClipUses:380 382 384 386 388 392 396 398 400 402 403 405 407 409 411 413Used by:483
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:415Used by:483
Symbol 417 GraphicUsed by:418
Symbol 418 MovieClipUses:417Used by:427
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClipUses:419Used by:427
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:421Used by:427
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:423Used by:427
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:425Used by:427
Symbol 427 MovieClip {little_fla.dfgdfg45334_218}Uses:371 418 420 422 424 426Used by:483
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:428Used by:476
Symbol 430 BitmapUsed by:431 433
Symbol 431 GraphicUses:430Used by:432
Symbol 432 MovieClipUses:431Used by:476
Symbol 433 GraphicUses:430Used by:434
Symbol 434 MovieClipUses:433Used by:476
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:476
Symbol 437 GraphicUsed by:438
Symbol 438 MovieClipUses:437Used by:442
Symbol 439 GraphicUsed by:441
Symbol 440 MovieClipUsed by:441
Symbol 441 MovieClipUses:439 440Used by:442
Symbol 442 MovieClipUses:438 441Used by:476
Symbol 443 GraphicUsed by:446
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:444Used by:446
Symbol 446 MovieClipUses:443 445Used by:475
Symbol 447 GraphicUsed by:448
Symbol 448 MovieClipUses:447Used by:475
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:449Used by:475
Symbol 451 GraphicUsed by:452
Symbol 452 MovieClipUses:451Used by:475
Symbol 453 MovieClipUses:401Used by:475
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:475
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:475
Symbol 458 GraphicUsed by:461
Symbol 459 GraphicUsed by:460
Symbol 460 MovieClipUses:459Used by:461
Symbol 461 MovieClipUses:458 460Used by:475
Symbol 462 MovieClipUses:253Used by:475
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClipUses:463Used by:466
Symbol 465 GraphicUsed by:466
Symbol 466 MovieClipUses:464 465Used by:475
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClipUses:467Used by:475
Symbol 469 GraphicUsed by:470
Symbol 470 MovieClipUses:469Used by:475
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClipUses:471Used by:475
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClipUses:473Used by:475
Symbol 475 MovieClipUses:446 448 450 452 453 455 457 461 462 466 468 470 472 474Used by:476
Symbol 476 MovieClipUses:429 432 434 436 442 475Used by:483
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClipUses:477Used by:483
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClipUses:479Used by:483
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:483
Symbol 483 MovieClip {little_fla.Symbol3_111}Uses:216 218 263 266 265 269 271 277 279 287 294 332 340 346 360 361 372 414 416 427 476 478 480 482Used by:Timeline
Symbol 484 TextUses:104Used by:Timeline
Symbol 485 FontUsed by:486 550
Symbol 486 TextUses:485Used by:487
Symbol 487 MovieClipUses:486Used by:490
Symbol 488 FontUsed by:489
Symbol 489 TextUses:488Used by:490
Symbol 490 MovieClip {little_fla.newvfsd324r57_254}Uses:487 489Used by:Timeline
Symbol 491 MovieClipUses:114Used by:493
Symbol 492 MovieClipUses:99Used by:493 498
Symbol 493 MovieClipUses:491 492Used by:495 500
Symbol 494 TextUses:104Used by:495 499 500 501
Symbol 495 MovieClipUses:493 494Used by:501
Symbol 496 GraphicUsed by:497 501
Symbol 497 MovieClipUses:496Used by:498
Symbol 498 MovieClipUses:497 492Used by:499
Symbol 499 MovieClipUses:498 494Used by:501
Symbol 500 MovieClipUses:493 494Used by:501
Symbol 501 ButtonUses:495 499 500 496 99 494Used by:Timeline
Symbol 502 MovieClipUses:114Used by:504
Symbol 503 MovieClipUses:99Used by:504 509
Symbol 504 MovieClipUses:502 503Used by:506 511
Symbol 505 TextUses:104Used by:506 510 511 512 560 563 564 565
Symbol 506 MovieClipUses:504 505Used by:512
Symbol 507 GraphicUsed by:508 512 561 565
Symbol 508 MovieClipUses:507Used by:509
Symbol 509 MovieClipUses:508 503Used by:510
Symbol 510 MovieClipUses:509 505Used by:512
Symbol 511 MovieClipUses:504 505Used by:512
Symbol 512 ButtonUses:506 510 511 507 99 505Used by:Timeline
Symbol 513 MovieClipUses:114Used by:515
Symbol 514 MovieClipUses:99Used by:515 520
Symbol 515 MovieClipUses:513 514Used by:517 522
Symbol 516 TextUses:104Used by:517 521 522 523
Symbol 517 MovieClipUses:515 516Used by:523
Symbol 518 GraphicUsed by:519 523
Symbol 519 MovieClipUses:518Used by:520
Symbol 520 MovieClipUses:519 514Used by:521
Symbol 521 MovieClipUses:520 516Used by:523
Symbol 522 MovieClipUses:515 516Used by:523
Symbol 523 ButtonUses:517 521 522 518 99 516Used by:Timeline
Symbol 524 TextUses:196Used by:Timeline
Symbol 525 TextUses:104Used by:Timeline
Symbol 526 TextUses:104Used by:Timeline
Symbol 527 MovieClipUses:199Used by:529
Symbol 528 MovieClipUses:201Used by:529
Symbol 529 MovieClipUses:527 528Used by:Timeline
Symbol 530 EditableTextUses:149Used by:Timeline
Symbol 531 EditableTextUses:149Used by:Timeline
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClipUses:532Used by:536
Symbol 534 GraphicUsed by:535
Symbol 535 MovieClipUses:534Used by:536
Symbol 536 MovieClipUses:533 535Used by:Timeline
Symbol 537 EditableTextUses:149Used by:Timeline
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClipUses:538Used by:542
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540Used by:542
Symbol 542 MovieClipUses:539 541Used by:Timeline
Symbol 543 EditableTextUses:149Used by:Timeline
Symbol 544 TextUses:196Used by:Timeline
Symbol 545 FontUsed by:546
Symbol 546 TextUses:545Used by:Timeline
Symbol 547 MovieClipUses:199Used by:549
Symbol 548 MovieClipUses:201Used by:549
Symbol 549 MovieClipUses:547 548Used by:Timeline
Symbol 550 TextUses:485Used by:Timeline
Symbol 551 FontUsed by:552
Symbol 552 TextUses:551Used by:553
Symbol 553 MovieClipUses:552Used by:Timeline
Symbol 554 GraphicUsed by:555
Symbol 555 MovieClipUses:554Used by:556
Symbol 556 MovieClipUses:555Used by:Timeline
Symbol 557 MovieClipUses:114Used by:559
Symbol 558 MovieClipUses:99Used by:559 562
Symbol 559 MovieClipUses:557 558Used by:560 564
Symbol 560 MovieClipUses:559 505Used by:565
Symbol 561 MovieClipUses:507Used by:562
Symbol 562 MovieClipUses:561 558Used by:563
Symbol 563 MovieClipUses:562 505Used by:565
Symbol 564 MovieClipUses:559 505Used by:565
Symbol 565 ButtonUses:560 563 564 507 99 505Used by:Timeline
Symbol 566 EditableTextUses:149Used by:Timeline

Instance Names

"preloadMc"Frame 1Symbol 90 MovieClip {little_fla.preloadsfsdf352_1}
"load_txt"Frame 1Symbol 92 EditableText
"total_txt"Frame 1Symbol 93 EditableText
"playBut"Frame 2Symbol 113 Button
"instBut"Frame 2Symbol 124 Button
"backBut"Frame 3Symbol 148 Button
"levelscore"Frame 4Symbol 154 EditableText
"gamescore"Frame 4Symbol 158 EditableText
"levelBut"Frame 4Symbol 184 Button
"trAgain"Frame 4Symbol 195 Button
"gp"Frame 5Symbol 483 MovieClip {little_fla.Symbol3_111}
"WinMc"Frame 6Symbol 490 MovieClip {little_fla.newvfsd324r57_254}
"trAgain"Frame 6Symbol 501 Button
"moregames"Frame 6Symbol 512 Button
"submitscore"Frame 6Symbol 523 Button
"levelscore"Frame 6Symbol 530 EditableText
"gamescore"Frame 6Symbol 531 EditableText
"maxsp"Frame 6Symbol 537 EditableText
"avgsp"Frame 6Symbol 543 EditableText
"moregames"Frame 7Symbol 565 Button
"gamescore"Frame 7Symbol 566 EditableText
"logoload"Symbol 90 MovieClip {little_fla.preloadsfsdf352_1} Frame 1Symbol 28 Button
"preloadCar"Symbol 90 MovieClip {little_fla.preloadsfsdf352_1} Frame 1Symbol 89 MovieClip {little_fla.preloadsfsdf351_23}
"WLap6"Symbol 216 MovieClip {little_fla.BCVGB_112} Frame 1Symbol 205 MovieClip
"WLap2"Symbol 216 MovieClip {little_fla.BCVGB_112} Frame 1Symbol 207 MovieClip
"WLap3"Symbol 216 MovieClip {little_fla.BCVGB_112} Frame 1Symbol 209 MovieClip
"WLap4"Symbol 216 MovieClip {little_fla.BCVGB_112} Frame 1Symbol 211 MovieClip
"WLap5"Symbol 216 MovieClip {little_fla.BCVGB_112} Frame 1Symbol 213 MovieClip
"WLap1"Symbol 216 MovieClip {little_fla.BCVGB_112} Frame 1Symbol 215 MovieClip
"TL"Symbol 279 MovieClip {little_fla.Symbol16_150} Frame 1Symbol 273 MovieClip
"TR"Symbol 279 MovieClip {little_fla.Symbol16_150} Frame 1Symbol 273 MovieClip
"T"Symbol 279 MovieClip {little_fla.Symbol16_150} Frame 1Symbol 218 MovieClip
"B"Symbol 279 MovieClip {little_fla.Symbol16_150} Frame 1Symbol 218 MovieClip
"L"Symbol 279 MovieClip {little_fla.Symbol16_150} Frame 1Symbol 218 MovieClip
"R"Symbol 279 MovieClip {little_fla.Symbol16_150} Frame 1Symbol 218 MovieClip
"gameTxt"Symbol 332 MovieClip {little_fla.vdj_154} Frame 1Symbol 295 EditableText
"logo"Symbol 332 MovieClip {little_fla.vdj_154} Frame 1Symbol 306 Button
"levelTxt"Symbol 332 MovieClip {little_fla.vdj_154} Frame 1Symbol 328 EditableText
"CLap"Symbol 332 MovieClip {little_fla.vdj_154} Frame 1Symbol 329 EditableText
"Times"Symbol 332 MovieClip {little_fla.vdj_154} Frame 1Symbol 330 EditableText
"Level"Symbol 332 MovieClip {little_fla.vdj_154} Frame 1Symbol 331 EditableText
"sndoff"Symbol 340 MovieClip {little_fla.Symbol115_175} Frame 2Symbol 339 MovieClip
"sndoff"Symbol 346 MovieClip {little_fla.Symbol115copy2_179} Frame 2Symbol 345 MovieClip
"WLap1"Symbol 372 MovieClip {little_fla.Symbol8_189} Frame 1Symbol 363 MovieClip
"WLap2"Symbol 372 MovieClip {little_fla.Symbol8_189} Frame 1Symbol 365 MovieClip
"WLap3"Symbol 372 MovieClip {little_fla.Symbol8_189} Frame 1Symbol 367 MovieClip
"WLap4"Symbol 372 MovieClip {little_fla.Symbol8_189} Frame 1Symbol 369 MovieClip
"WLap5"Symbol 372 MovieClip {little_fla.Symbol8_189} Frame 1Symbol 371 MovieClip
"WLap6"Symbol 372 MovieClip {little_fla.Symbol8_189} Frame 1Symbol 371 MovieClip
"WLap6"Symbol 427 MovieClip {little_fla.dfgdfg45334_218} Frame 1Symbol 371 MovieClip
"WLap1"Symbol 427 MovieClip {little_fla.dfgdfg45334_218} Frame 1Symbol 418 MovieClip
"WLap2"Symbol 427 MovieClip {little_fla.dfgdfg45334_218} Frame 1Symbol 420 MovieClip
"WLap3"Symbol 427 MovieClip {little_fla.dfgdfg45334_218} Frame 1Symbol 422 MovieClip
"WLap4"Symbol 427 MovieClip {little_fla.dfgdfg45334_218} Frame 1Symbol 424 MovieClip
"WLap5"Symbol 427 MovieClip {little_fla.dfgdfg45334_218} Frame 1Symbol 426 MovieClip
"hitroad"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 216 MovieClip {little_fla.BCVGB_112}
"Lap1"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 218 MovieClip
"Lap3"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 218 MovieClip
"Lap6"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 218 MovieClip
"Lap4"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 218 MovieClip
"Lap5"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 218 MovieClip
"Lap2"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 218 MovieClip
"Path"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 265 MovieClip
"bottom"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 269 MovieClip
"Top"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 271 MovieClip
"shadow"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 277 MovieClip
"car1"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 279 MovieClip {little_fla.Symbol16_150}
"WrongDis"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 294 MovieClip
"Dis"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 332 MovieClip {little_fla.vdj_154}
"sndbut"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 340 MovieClip {little_fla.Symbol115_175}
"sndbut2"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 346 MovieClip {little_fla.Symbol115copy2_179}
"pausemc"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1Symbol 360 MovieClip
"hitroad"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 2Symbol 372 MovieClip {little_fla.Symbol8_189}
"Path"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 2Symbol 416 MovieClip
"hitroad"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3Symbol 427 MovieClip {little_fla.dfgdfg45334_218}
"Lap4"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3Symbol 218 MovieClip
"Lap6"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3Symbol 218 MovieClip
"Path"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3Symbol 478 MovieClip
"Top"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3Symbol 271 MovieClip
"top1"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3Symbol 482 MovieClip

Special Tags

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

Labels

"Loader"Frame 1
"start"Frame 2
"inst"Frame 3
"levelup"Frame 4
"gamepage"Frame 5
"gameover"Frame 6
"submitpage"Frame 7
"Level1"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 1
"Level2"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 2
"Level3"Symbol 483 MovieClip {little_fla.Symbol3_111} Frame 3




http://swfchan.com/26/125350/info.shtml
Created: 28/2 -2019 07:21:34 Last modified: 28/2 -2019 07:21:34 Server time: 22/12 -2024 10:53:35