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

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

Merry Schmess Frenzy - Hilarious Santa Christmas parody arcade game.swf

This is the info page for
Flash #135164

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


Text
<p align="center"><font face="Commodore 64 Pixeled_20pt_st" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1">loading ... 100%</font></p>

Go Go Go

skirmish

more gaems

hiscores

<p align="left"><font face="kroeger 05_55" size="6" color="#ffff00" letterSpacing="0.000000" kerning="0"><a href="http://www.gameshot.org" target = "_blank">Gameshot.org&apos;s</a></font></p>

merry schmess
frenzy

<p align="center"><font face="Null Pointer;_10pt_st" size="10" color="#333333" letterSpacing="0.000000" kerning="0"><a href="http://www.gameshot.org/freewebsitecontent.php" target = "_blank">add game to</a></font></p><p align="center"><font face="Null Pointer;_10pt_st" size="10" color="#333333" letterSpacing="0.000000" kerning="0"><a href="http://www.gameshot.org/freewebsitecontent.php" target = "_blank">your website</a></font></p>

<p align="center"><font face="Null Pointer;_10pt_st" size="10" color="#333333" letterSpacing="0.000000" kerning="0"><a href="http://www.maf464.com/" target = "_blank">music by</a></font></p><p align="center"><font face="Null Pointer;_10pt_st" size="10" color="#333333" letterSpacing="0.000000" kerning="0"><a href="http://www.maf464.com/" target = "_blank">mAf</a></font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">score: 1234567890</font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://www.gameshot.org" target = "_blank">+games</a></font></p>

$:000

$:000

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Null Pointer;_9pt_st" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

submit

player 1
wins !!!

player 2
sucks !!!

player 2
wins !!!

player 1
sucks !!!

score:

000

gaem overz

<p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">You need to set your gameID for the API to work.</font></p>

<p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">For more info visit: </font></p>

<p align="left"><font face="Verdana" size="9" color="#ff0000" letterSpacing="0.000000" kerning="1">http://wiki.gameschart.com</font></p>

ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.display.*; import flash.net.*; import flash.system.*; public class AdLoader { private static var cpmstarLoader:Loader; public static function LoadAd(_arg1:int, _arg2:int):DisplayObject{ Security.allowDomain("server.cpmstar.com"); var _local3 = "http://server.cpmstar.com/adviewas3.swf"; cpmstarLoader = new Loader(); cpmstarLoader.load(new URLRequest(((((_local3 + "?poolid=") + _arg1) + "&subpoolid=") + _arg2))); return (cpmstarLoader); } } }//package CPMStar
Section 2
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintColor:Number;// = 0 private var _tintMultiplier:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } public function set brightness(_arg1:Number):void{ if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; var _local2:Number = (1 - Math.abs(_arg1)); var _local3:Number = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function setTint(_arg1:uint, _arg2:Number):void{ this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); var _local3:uint = ((_arg1 >> 16) & 0xFF); var _local4:uint = ((_arg1 >> 8) & 0xFF); var _local5:uint = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function get tintColor():uint{ return (this._tintColor); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } private function deriveTintColor():uint{ var _local1:Number = (1 / this.tintMultiplier); var _local2:uint = Math.round((this.redOffset * _local1)); var _local3:uint = Math.round((this.greenOffset * _local1)); var _local4:uint = Math.round((this.blueOffset * _local1)); var _local5:uint = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; var _local2:XML = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number = (1 - _arg3); var _local5:ColorTransform = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number = (1 - _arg3); var _local5:uint = ((_arg1 >> 24) & 0xFF); var _local6:uint = ((_arg1 >> 16) & 0xFF); var _local7:uint = ((_arg1 >> 8) & 0xFF); var _local8:uint = (_arg1 & 0xFF); var _local9:uint = ((_arg2 >> 24) & 0xFF); var _local10:uint = ((_arg2 >> 16) & 0xFF); var _local11:uint = ((_arg2 >> 8) & 0xFF); var _local12:uint = (_arg2 & 0xFF); var _local13:uint = ((_local5 * _local4) + (_local9 * _arg3)); var _local14:uint = ((_local6 * _local4) + (_local10 * _arg3)); var _local15:uint = ((_local7 * _local4) + (_local11 * _arg3)); var _local16:uint = ((_local8 * _local4) + (_local12 * _arg3)); var _local17:uint = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } } }//package fl.motion
Section 3
//GCSWFConnection (gc.utils.GCSWFConnection) package gc.utils { import flash.events.*; import flash.net.*; public class GCSWFConnection extends EventDispatcher { protected var _host:Boolean; protected var _connected:Boolean; protected var _baseID:String; public var clientVersion:String; protected var _callbackObjects:Array; protected var _lc:LocalConnection; protected var _version:String; protected var _myID:String; protected var _client:Object; protected var _logName:String;// = "GC-API" protected var _close:Boolean; protected var _extID:String; protected var _queuedMessages:Array; public static const CONNECTED:String = "CONNECTED"; public function GCSWFConnection(_arg1:String, _arg2:Object, _arg3:String="unknown"){ var connectionID = _arg1; var client = _arg2; var version = _arg3; super(); _connected = false; _host = true; _queuedMessages = []; _close = false; _client = client; _version = version; _baseID = connectionID.split(":").join(""); _lc = new LocalConnection(); _lc.allowDomain("*"); _lc.allowInsecureDomain("*"); _lc.client = this; _lc.addEventListener(StatusEvent.STATUS, onStatus); try { _lc.connect((_baseID + "_HOST")); } catch(e:ArgumentError) { _host = false; }; _myID = (_baseID + (_host) ? "_HOST" : "_CLIENT"); _extID = (_baseID + (_host) ? "_CLIENT" : "_HOST"); if (!_host){ try { _lc.connect(_myID); } catch(e:ArgumentError) { trace((("[" + _logName) + "] [GCSWFConnection] ERROR! Failed to connect")); }; _lc.send(_extID, "GC_utils_GCSWFConnection_init", _version); trace((("[" + _logName) + "] [GCSWFConnection] Connected as client..")); } else { trace((("[" + _logName) + "] [GCSWFConnection] Connected as host..")); }; } protected function bridgeConnected():void{ var _local2:String; var _local3:Array; var _local4:Array; var _local1:int; while (_local1 < _queuedMessages.length) { _local2 = _queuedMessages[_local1].methodName; _local3 = _queuedMessages[_local1].methodArgs; _local4 = [_local2]; if (_local3){ _local4 = _local4.concat(_local3); }; send.apply(null, _local4); _local1++; }; _queuedMessages = []; if (_close){ close(); }; } public function GC_utils_GCSWFConnection_init(_arg1:String):void{ trace((("[" + _logName) + "] [GCSWFConnection] Reccieved Init")); if (_host){ _lc.send(_extID, "GC_utils_GCSWFConnection_init", _version); }; _connected = true; clientVersion = _arg1; bridgeConnected(); dispatchEvent(new Event(CONNECTED)); } public function send(_arg1:String, ... _args):void{ if (_connected){ _args.unshift(_arg1); _args.unshift("GC_utils_GCSWFConnection_receive"); _args.unshift(_extID); _lc.send.apply(_lc, _args); } else { _queuedMessages.push({methodName:_arg1, methodArgs:_args}); }; } public function get connected():Boolean{ return (_connected); } public function get id():String{ return (_baseID); } private function onStatus(_arg1:StatusEvent):void{ if (_arg1.level == "error"){ }; } public function GC_utils_GCSWFConnection_receive(_arg1:String, ... _args):void{ var methodName = _arg1; var args = _args; try { _client[methodName].apply(_client, args); } catch(e) { }; } public function close():void{ trace((("[" + _logName) + "] [GCSWFConnection] Connection Closing")); if (_queuedMessages.length != 0){ _close = true; return; }; try { _lc.close(); } catch(e) { }; _lc = null; _connected = false; } } }//package gc.utils
Section 4
//Level01 (Levels.Level01) package Levels { import flash.display.*; import fl.motion.*; import Plugs.*; public class Level01 { var lmc:MovieClip; var isprt:MovieClip; var sprt:MovieClip; var plat:MovieClip; var bub:Array; var treas:Array; var obst:int;// = 0 var obstMax;// = 0 var dsp:MovieClip; var tpts;// = 0 var obMax;// = 1 var gct;// = 0 var house:Array; var fall:Array; var par:Array; var rodMax;// = 0 var scale;// = 4 var chimns;// = 5 var megaPoop; var SPRTs:Array; var rud:Array; var ddct;// = 0 var extras:Object; var mVal:Object; public function Level01(){ lmc = Main.sprt; bub = new Array(); treas = new Array(); house = new Array(); fall = new Array(); par = new Array(); megaPoop = new megaPoopMC(); SPRTs = new Array(); rud = new Array(); extras = new Object(); mVal = new Object(); super(); Music.snd("fxMegaUp", 0); extras.ct = 10; isprt = new level101(); lmc.addChild(isprt); isprt.scaleX = (isprt.scaleY = 4); sprt = isprt.sprt; sprt.cLeft = 37; sprt.cUp = 38; sprt.cRight = 39; sprt.cDown = 40; sprt.xx = 0; sprt.yy = 0; sprt.grav = 0; sprt.ddct = 0; sprt.scaleX = -1; sprt.megapoop = 0; sprt.rolli = isprt.rolli; megapoopCounter(); if (Main.levl == 1){ sprt.tut = new tutp1(); isprt.addChild(sprt.tut); }; SPRTs.push(sprt); dsp = isprt.dsp; if (Main.ldat.numPlayers == 2){ iniPlayer2(); }; iniScreen(); mValIni(); bgset(); } function bgset(){ var _local2:*; var _local1:* = 0; while (_local1 < isprt.bgs.numChildren) { _local2 = isprt.bgs.getChildAt(_local1); _local2.y = (_local2.y + int(((Math.random() * 80) - 10))); _local2.x = (_local2.x + int(((Math.random() * 80) - 40))); _local1++; }; isprt.bgs.cacheAsBitmap = true; } function iniPlayer2(){ sprt.x = 115; sprt.scaleX = 1; dsp.gotoAndStop(2); sprt = new santaSPRT(); sprt.rolli = new rollDing(); sprt.rolli.y = isprt.rolli.y; isprt.addChildAt(sprt.rolli, isprt.getChildIndex(isprt.bar)); isprt.addChildAt(sprt, isprt.getChildIndex(isprt.bar)); sprt.cLeft = 65; sprt.cUp = 87; sprt.cRight = 68; sprt.cDown = 83; sprt.xx = 0; sprt.yy = 0; sprt.grav = 0; sprt.ddct = 0; sprt.x = 45; sprt.scaleX = -1; sprt.y = SPRTs[0].y; sprt.megapoop = 0; megapoopCounter(); if (Main.levl == 1){ sprt.tut = new tutp1(); isprt.addChild(sprt.tut); sprt.tut.txt.gotoAndStop(2); }; SPRTs.push(sprt); } function iniScreen(){ var _local2:*; var _local3:*; var _local1:* = 0; while (_local1 < isprt.numChildren) { _local2 = isprt.getChildAt(_local1); if ((_local2 is MovieClip)){ _local3 = _local2.name.split("_"); if (_local3[0] == "house"){ if (Math.random() > 0.5){ _local2.scaleX = -1; _local2.plat.scaleX = -1; }; shuffleHouses(_local2); house.push(_local2); }; }; _local1++; }; houseIni(); } function shuffleHouses(_arg1){ var _local3:*; var _local4:*; var _local2:* = 0; while (_local2 < 50) { _arg1.x = int(((Math.random() * 140) + 10)); _arg1.y = int((((Math.random() * _arg1.height) * 0.7) + 100)); if (_arg1.y < 110){ _arg1.y = 110; }; _local3 = 0; for each (_local4 in house) { if (((_arg1.kol.hitTestObject(_local4)) || (_arg1.hitTestObject(_local4.kol)))){ _local3 = 1; break; }; }; if (((!(_local3)) || ((house.length == 0)))){ break; }; _local2++; }; if (_local2 > 5){ Main.dd = 1; return; }; } function houseIni(){ var _local1:*; isprt.plat = new MovieClip(); isprt.addChildAt(isprt.plat, 0); for each (_local1 in house) { _local1.plat.x = (_local1.plat.x + _local1.x); _local1.plat.y = (_local1.plat.y + _local1.y); isprt.plat.addChild(_local1.plat); }; } function mValIni(){ mVal.rudiMax = ((Main.levl / 5) - 0.2); mVal.rudiCT = int((Math.random() * 22)); mVal.rudiSpeedMax = ((Main.levl / 30) + 1); if (mVal.rudiSpeedMax > 5){ mVal.rudiSpeedMax = 5; }; mVal.extraCTM = ((600 / (Main.levl + 5)) + 50); extrasCTreset(); mVal.megaPoopM = ((200 / (Main.levl + 5)) + 30); } public function update(){ var _local1:* = 0; while (_local1 < SPRTs.length) { sprt = SPRTs[_local1]; if (sprt.ddd){ if (!sprt.dddd){ var _local2 = Main.ldat.lf; var _local3 = _local1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; sprt.dddd = 1; Music.snd("fxAaa", 1); spawnPar(new santaFallMC(), sprt.x, sprt.y, 0, -5); ddct++; }; sprt.gotoAndStop(1); sprt.y = -200; } else { sprtCode(_local1); megapoopCode(); }; _local1++; }; if ((((chimns <= 0)) && ((SPRTs[0].currentFrame == 1)))){ if (((((SPRTs[1]) && ((SPRTs[1].currentFrame == 1)))) || (!(SPRTs[1])))){ Main.levl = (Main.levl + 4); Main.dd = 1; }; }; scrCode(); fallCode(); quakeCode(); parCode(); rudiCode(); extrasCode(); shockCode(); tutCode(); if ((((par.length <= 0)) && ((ddct >= SPRTs.length)))){ Main.dd = 1; }; } function sprtCode(_arg1){ var _local2:*; var _local3:Color; sprt = SPRTs[_arg1]; controls(); extraColCode(); if (sprt.inv > 0){ sprt.inv--; _local2 = 0; if ((((sprt.inv > 0)) && (((sprt.inv % 9) > 4)))){ _local2 = 1; if (sprt.inv < 100){ _local2 = 0.65; }; sprt.inv--; if (sprt.inv <= 0){ sprt.inv = 0; _local2 = 0; }; }; _local3 = new Color(); _local3.brightness = _local2; sprt.transform.colorTransform = _local3; }; sprt.rolli.rope.height = (sprt.y - sprt.rolli.y); sprt.rolli.x = sprt.x; if (sprt.dd){ sprt.gotoAndStop(1); sprt.dd = null; }; } function shockCode(){ if (isprt.shock){ isprt.shock.scaleX = (isprt.shock.scaleX * 1.2); isprt.shock.scaleY = isprt.shock.scaleX; if (isprt.shock.width > 400){ isprt.removeChild(isprt.shock); isprt.shock = null; }; }; } function extraColCode(){ if (((extras.mc) && (sprt.hitTestObject(extras.mc)))){ if (extras.mc.art == "pill"){ Music.snd("fxPill", 1); sprt.inv = 250; spawnPar(new starMC(), extras.mc.x, (extras.mc.y + 2), 0, -5.5); spawnPar(new starMC(), (extras.mc.x - 2), extras.mc.y, -1, -5); spawnPar(new starMC(), (extras.mc.x + 2), extras.mc.y, 1, -5); spawnPar(new starMC(), (extras.mc.x - 6), (extras.mc.y + 4), -1.5, -4); spawnPar(new starMC(), (extras.mc.x + 6), (extras.mc.y + 4), 1.5, -4); }; if (extras.mc.art == "bomb"){ isprt.quake = 36; Music.snd("fxBoom", 2); Music.snd("fxBoom", 1); Music.snd("fxBoom", 1); Music.snd("fxBoom", 1); isprt.shock = new shockMC(); isprt.shock.x = extras.mc.x; isprt.shock.y = extras.mc.y; isprt.addChildAt(isprt.shock, isprt.getChildIndex(dsp)); }; isprt.removeChild(extras.mc); extras.mc = null; extrasCTreset(); }; } function megapoopCounter(){ megaPoop.ct = ((Math.random() * mVal.megaPoopM) + 30); } function megapoopCode(){ if (Main.levl < 2){ return; }; if (megaPoop.parent){ if (sprt.kol.hitTestObject(megaPoop)){ if (sprt.megapoop < 9){ sprt.megapoop = (sprt.megapoop + 1); }; Music.snd("fxMegaUp", 1); spawnPar(new starMC(), megaPoop.x, (megaPoop.y + 2), 0, -5.5); spawnPar(new starMC(), (megaPoop.x - 2), megaPoop.y, -1, -5); spawnPar(new starMC(), (megaPoop.x + 2), megaPoop.y, 1, -5); spawnPar(new starMC(), (megaPoop.x - 6), (megaPoop.y + 4), -2, -4); spawnPar(new starMC(), (megaPoop.x + 6), (megaPoop.y + 4), 2, -4); isprt.removeChild(megaPoop); megapoopCounter(); }; } else { megaPoop.ct--; if (megaPoop.ct > 0){ return; }; megapoopCounter(); isprt.addChild(megaPoop); megaPoop.x = int(((Math.random() * 140) + 10)); megaPoop.y = int(((Math.random() * 89) + 16)); if (hitSomething(megaPoop)){ isprt.removeChild(megaPoop); }; }; } function extrasCode(){ if (Main.levl < 2){ return; }; if (!extras.mc){ extras.ct--; if (extras.ct < 0){ extrasCTreset(); if (Math.random() < 0.7){ extras.mc = new pillMC(); extras.mc.art = "pill"; } else { extras.mc = new bombMC(); extras.mc.art = "bomb"; }; isprt.addChild(extras.mc); extras.mc.x = int(((Math.random() * 140) + 10)); extras.mc.y = int(((Math.random() * 89) + 16)); if (hitSomething(extras.mc)){ isprt.removeChild(extras.mc); extras.mc = null; }; }; }; } function extrasCTreset(){ extras.ct = ((Math.random() * mVal.extraCTM) + 80); } function hitSomething(_arg1){ var _local2:*; if (SPRTs[0].hitTestObject(_arg1)){ return (true); }; if (((SPRTs[1]) && (SPRTs[1].hitTestObject(_arg1)))){ return (true); }; for each (_local2 in house) { if (_local2.hitTestObject(_arg1)){ return (true); }; }; } function scrCode(){ var _local1:* = "score: "; if (SPRTs.length > 1){ _local1 = "$:"; }; var _local2:* = 0; while (_local2 < SPRTs.length) { dsp[("scr" + _local2)].text = (_local1 + Main.ldat.scr[_local2]); dsp[("mega" + _local2)].text = String(SPRTs[_local2].megapoop); dsp[("lf" + _local2)].text = String(Main.ldat.lf[_local2]); _local2++; }; } function controls(){ if (sprt.currentFrame != 1){ return; }; if (Input.kkode[sprt.cLeft]){ sprt.x--; sprt.scaleX = 1; }; if (Input.kkode[sprt.cRight]){ sprt.x++; sprt.scaleX = -1; }; if (Input.kkode[sprt.cUp]){ sprt.rolli.wheel.rotation = (sprt.rolli.wheel.rotation - 45); sprt.y--; }; if (Input.kkode[sprt.cDown]){ sprt.y++; sprt.rolli.wheel.rotation = (sprt.rolli.wheel.rotation + 45); }; colCheck(); if ((((((sprt.currentFrame == 1)) && (Input.kkode[32]))) && (chimSit()))){ poopCode(); sprt.gotoAndStop(2); }; if (Input.kkode[27]){ Main.levl = 0; Main.dd = 1; }; if (sprt.y < 24){ sprt.y = 24; }; if (sprt.y > 120){ sprt.y = 120; }; if (sprt.x < 1){ sprt.x = 1; }; if (sprt.x > 159){ sprt.x = 159; }; } function colCheck(){ while (isprt.plat.hitTestPoint((sprt.x * scale), ((sprt.y - 1) * scale), true)) { sprt.y--; }; while (isprt.plat.hitTestPoint(((sprt.x + 6) * scale), ((sprt.y - 8) * scale), true)) { sprt.x--; }; while (isprt.plat.hitTestPoint(((sprt.x - 6) * scale), ((sprt.y - 8) * scale), true)) { sprt.x++; }; } function chimSit(){ var _local1:*; for each (_local1 in house) { if (_local1.kol.hitTestObject(sprt.ass)){ sprt.y = (_local1.y + _local1.kol.y); sprt.x = (_local1.x + _local1.kol.x); if (_local1.arw.visible){ Main.ldat.scr[SPRTs.indexOf(sprt)] = (Main.ldat.scr[SPRTs.indexOf(sprt)] + 5); if (sprt.megapoop){ Main.ldat.scr[SPRTs.indexOf(sprt)] = (Main.ldat.scr[SPRTs.indexOf(sprt)] + 5); }; _local1.arw.visible = false; chimns--; }; if (sprt.megapoop){ sprt.megapoop--; isprt.quake = 12; poopCode(); poopCode(); poopCode(); _local1.plat.parent.removeChild(_local1.plat); _local1.yy = -8; _local1.rotation = ((Math.random() * 10) - 5); fall.push(_local1); house.splice(house.indexOf(_local1), 1); }; poopHouse(_local1); return (true); }; }; } function poopHouse(_arg1:MovieClip){ var _local3:*; var _local2:* = 0; while (_local2 < 24) { _local3 = new poopMC(); _local3.gotoAndStop(Math.ceil((Math.random() * _local3.totalFrames))); _local3.x = int(((_arg1.reach.x + (Math.random() * _arg1.reach.width)) - (_arg1.reach.width / 2))); _local3.y = int(((_arg1.reach.y + (Math.random() * _arg1.reach.height)) - (_arg1.reach.height / 2))); _arg1.addChildAt(_local3, (_arg1.getChildIndex(_arg1.reach) + 1)); _local2++; }; _arg1.cacheAsBitmap = true; } function poopCode(){ var _local1:* = Math.ceil((Math.random() * 4)); Music.snd(("poop" + _local1), 1); } function fallCode(){ var _local2:*; var _local1:* = 0; while (_local1 < fall.length) { _local2 = fall[_local1]; _local2.y = (_local2.y + _local2.yy); _local2.yy = (_local2.yy + 1); if (_local2.y > 300){ isprt.removeChild(_local2); fall.splice(_local1, 1); _local1--; }; _local1++; }; } function spawnPar(_arg1, _arg2, _arg3, _arg4, _arg5){ _arg1.x = _arg2; _arg1.y = _arg3; _arg1.xx = _arg4; _arg1.yy = _arg5; isprt.addChildAt(_arg1, isprt.getChildIndex(dsp)); par.push(_arg1); } function rudiCode(){ var _local2:*; var _local3:*; var _local4:*; var _local1:* = 0; while (_local1 < rud.length) { _local2 = rud[_local1]; if (chimns <= 0){ _local2.ddd = 1; spawnPar(trud(_local2), _local2.x, _local2.y, ((Math.random() * 4) - 2), -3); }; if (((isprt.shock) && (isprt.shock.hitTestObject(_local2.kol)))){ _local2.ddd = 1; Music.snd("fxHorse", 0.9); spawnPar(trud(_local2), _local2.x, _local2.y, ((Math.random() * 8) - 4), -6); }; _local2.x = (_local2.x + _local2.xx); _local2.xx = (_local2.xx * 0.92); if (_local2.spd){ _local2.spd = 0; _local2.xx = _local2.xxmax; }; _local3 = 0; while (_local3 < SPRTs.length) { _local4 = SPRTs[_local3]; if (((!(_local2.ddd)) && (_local4.kol.hitTestObject(_local2.kol)))){ if (!_local4.inv){ _local4.ddd = 1; } else { Music.snd("fxHorse", 1.4); }; _local2.ddd = 1; Music.snd("fxPunch", 1.4); spawnPar(trud(_local2), _local2.x, _local2.y, ((Math.random() * 4) - 2), -4); }; _local3++; }; if (((((_local2.ddd) || ((_local2.x < -30)))) || ((_local2.x > 190)))){ isprt.removeChild(_local2); rud.splice(_local1, 1); _local1--; }; _local1++; }; if ((((chimns > 0)) && ((rud.length < mVal.rudiMax)))){ mVal.rudiCT--; if (mVal.rudiCT < 0){ mVal.rudiCT = int(((Math.random() * 88) + 10)); rudSpawn(); }; }; } function trud(_arg1){ var _local2:* = new rudoMC(); _local2.scaleX = _arg1.scaleX; _local2.scaleY = -1; _local2.stop(); return (_local2); } function rudSpawn(){ var _local1:MovieClip = new rudoMC(); _local1.y = int((Math.random() * 80)); if (_local1.y < 20){ _local1.y = 20; }; _local1.x = 160; var _local2:* = SPRTs[0].x; if (SPRTs.length > 1){ _local2 = ((SPRTs[0].x + SPRTs[1].x) / 2); }; if (_local2 > 80){ _local1.scaleX = -1; _local1.x = 0; }; _local1.xxmax = (((Math.random() * mVal.rudiSpeedMax) + 0.5) * -(_local1.scaleX)); _local1.xx = 0; isprt.addChildAt(_local1, isprt.getChildIndex(isprt.rolli)); rud.push(_local1); } function parCode(){ var _local2:*; var _local1:* = 0; while (_local1 < par.length) { _local2 = par[_local1]; _local2.x = (_local2.x + _local2.xx); _local2.xx = (_local2.xx * 0.99); _local2.y = (_local2.y + _local2.yy); _local2.yy = (_local2.yy + 0.5); if (_local2.y > 300){ isprt.removeChild(_local2); par.splice(_local1, 1); _local1--; }; _local1++; }; } function quakeCode(){ var _local1:*; if (isprt.quake > 0){ _local1 = isprt.quake; lmc.x = ((Math.random() * _local1) - (_local1 / 2)); lmc.y = ((Math.random() * _local1) - (_local1 / 2)); isprt.quake = (isprt.quake - 0.5); if (isprt.quake < 0.2){ isprt.quake = 0; lmc.x = 0; lmc.y = 0; }; }; } function tutCode(){ var _local2:*; var _local1:* = 0; while (_local1 < SPRTs.length) { _local2 = SPRTs[_local1]; if (_local2.tut){ if (_local2.y > 45){ _local2.tut.scaleY = -1; } else { _local2.tut.scaleY = 1; }; _local2.tut.x = _local2.x; _local2.tut.y = (_local2.y - 5); _local2.tut.txt.scaleY = _local2.tut.scaleY; }; _local1++; }; } } }//package Levels
Section 5
//blinkMC_22 (Merry_Schmess_Frenzy_fla.blinkMC_22) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class blinkMC_22 extends MovieClip { public function blinkMC_22(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Merry_Schmess_Frenzy_fla
Section 6
//dsp101_47 (Merry_Schmess_Frenzy_fla.dsp101_47) package Merry_Schmess_Frenzy_fla { import flash.display.*; import flash.text.*; public dynamic class dsp101_47 extends MovieClip { public var lf1:TextField; public var mega0:TextField; public var mega1:TextField; public var scr0:TextField; public var scr1:TextField; public var lf0:TextField; public function dsp101_47(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Merry_Schmess_Frenzy_fla
Section 7
//house101_42 (Merry_Schmess_Frenzy_fla.house101_42) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class house101_42 extends MovieClip { public var arw:MovieClip; public var reach:MovieClip; public var plat:MovieClip; public var kol:MovieClip; public function house101_42(){ addFrameScript(0, frame1); } function frame1(){ arw.gotoAndPlay(Math.ceil((Math.random() * arw.totalFrames))); } } }//package Merry_Schmess_Frenzy_fla
Section 8
//house102_34 (Merry_Schmess_Frenzy_fla.house102_34) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class house102_34 extends MovieClip { public var arw:MovieClip; public var reach:MovieClip; public var plat:MovieClip; public var kol:MovieClip; public function house102_34(){ addFrameScript(0, frame1); } function frame1(){ arw.gotoAndPlay(Math.ceil((Math.random() * arw.totalFrames))); } } }//package Merry_Schmess_Frenzy_fla
Section 9
//house103_38 (Merry_Schmess_Frenzy_fla.house103_38) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class house103_38 extends MovieClip { public var arw:MovieClip; public var reach:MovieClip; public var plat:MovieClip; public var kol:MovieClip; public function house103_38(){ addFrameScript(0, frame1); } function frame1(){ arw.gotoAndPlay(Math.ceil((Math.random() * arw.totalFrames))); } } }//package Merry_Schmess_Frenzy_fla
Section 10
//house104_40 (Merry_Schmess_Frenzy_fla.house104_40) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class house104_40 extends MovieClip { public var arw:MovieClip; public var reach:MovieClip; public var plat:MovieClip; public var kol:MovieClip; public function house104_40(){ addFrameScript(0, frame1); } function frame1(){ arw.gotoAndPlay(Math.ceil((Math.random() * arw.totalFrames))); } } }//package Merry_Schmess_Frenzy_fla
Section 11
//house105_44 (Merry_Schmess_Frenzy_fla.house105_44) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class house105_44 extends MovieClip { public var arw:MovieClip; public var reach:MovieClip; public var plat:MovieClip; public var kol:MovieClip; public function house105_44(){ addFrameScript(0, frame1); } function frame1(){ arw.gotoAndPlay(Math.ceil((Math.random() * arw.totalFrames))); } } }//package Merry_Schmess_Frenzy_fla
Section 12
//kol_12 (Merry_Schmess_Frenzy_fla.kol_12) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class kol_12 extends MovieClip { public function kol_12(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package Merry_Schmess_Frenzy_fla
Section 13
//musicPanel_53 (Merry_Schmess_Frenzy_fla.musicPanel_53) package Merry_Schmess_Frenzy_fla { import flash.media.*; import flash.display.*; import flash.text.*; import flash.events.*; import flash.utils.*; import Plugs.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class musicPanel_53 extends MovieClip { public var mu:MovieClip; public var fx:muteFX; public var t; public function musicPanel_53(){ addFrameScript(0, frame1); } public function mutoggle(_arg1){ if (Music.volMU){ Music.volMU = 0; Music.changeVol(0); mu.gotoAndStop("off"); } else { Music.volMU = 1; Music.changeVol(0); mu.gotoAndStop("on"); }; } public function fxtoggle(_arg1){ if (Music.volFX){ Music.volFX = 0; Music.loopMod(1.2); fx.gotoAndStop("off"); } else { Music.volFX = 1; Music.loopMod(1.2); fx.gotoAndStop("on"); }; } function frame1(){ mu.buttonMode = true; fx.buttonMode = true; if (Music.volFX == 0){ fx.gotoAndStop("off"); }; if (Music.volMU == 0){ mu.gotoAndStop("off"); }; mu.addEventListener(MouseEvent.CLICK, mutoggle); fx.addEventListener(MouseEvent.CLICK, fxtoggle); t = this; t.alpha = 1; t.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1){ t.alpha = 1; }); t.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1){ t.alpha = 1; }); } } }//package Merry_Schmess_Frenzy_fla
Section 14
//muteMus_54 (Merry_Schmess_Frenzy_fla.muteMus_54) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class muteMus_54 extends MovieClip { public function muteMus_54(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Merry_Schmess_Frenzy_fla
Section 15
//poopreach_37 (Merry_Schmess_Frenzy_fla.poopreach_37) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class poopreach_37 extends MovieClip { public function poopreach_37(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package Merry_Schmess_Frenzy_fla
Section 16
//santapoopin_15 (Merry_Schmess_Frenzy_fla.santapoopin_15) package Merry_Schmess_Frenzy_fla { import flash.media.*; import flash.display.*; import flash.text.*; import flash.events.*; import flash.utils.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class santapoopin_15 extends MovieClip { public var t; public function santapoopin_15(){ addFrameScript(17, frame18); } function frame18(){ stop(); t = this; if (t.parent){ t.parent.dd = 1; }; } } }//package Merry_Schmess_Frenzy_fla
Section 17
//tuttxt_19 (Merry_Schmess_Frenzy_fla.tuttxt_19) package Merry_Schmess_Frenzy_fla { import flash.display.*; public dynamic class tuttxt_19 extends MovieClip { public function tuttxt_19(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Merry_Schmess_Frenzy_fla
Section 18
//MochiCoins (mochi.as3.MochiCoins) package mochi.as3 { public class MochiCoins { public static const STORE_SHOW:String = "StoreShow"; public static const STORE_HIDE:String = "StoreHide"; public static const ITEM_OWNED:String = "ItemOwned"; public static const ITEM_NEW:String = "ItemNew"; public static const STORE_ITEMS:String = "StoreItems"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IOError"; public static const NO_USER:String = "NoUser"; public static var _inventory:MochiInventory; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function get inventory():MochiInventory{ return (_inventory); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function showStore(_arg1:Object=null):void{ MochiServices.setContainer(); 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.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showItem", {options:_arg1}, null, null); } 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.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showVideo", {options:_arg1}, null, null); } public static function getStoreItems():void{ MochiServices.send("coins_getStoreItems"); } public static function requestFunding(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestFunding", _arg1); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } 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); } addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _inventory = new MochiInventory(); }); addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _inventory = null; }); } }//package mochi.as3
Section 19
//MochiDigits (mochi.as3.MochiDigits) package mochi.as3 { public final class MochiDigits { private var Fragment:Number; private var Sibling:MochiDigits; private var Encoder:Number; public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{ Encoder = 0; setValue(_arg1, _arg2); } public function get value():Number{ return (Number(this.toString())); } public function set value(_arg1:Number):void{ setValue(_arg1); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String = _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 reencode():void{ var _local1:uint = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function toString():String{ var _local1:String = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } } }//package mochi.as3
Section 20
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher) package mochi.as3 { public class MochiEventDispatcher { private var eventTable:Object; public function MochiEventDispatcher():void{ eventTable = {}; } public function addEventListener(_arg1:String, _arg2:Function):void{ removeEventListener(_arg1, _arg2); eventTable[_arg1].push(_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 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); }; } } }//package mochi.as3
Section 21
//MochiEvents (mochi.as3.MochiEvents) package mochi.as3 { public class MochiEvents { public static const ACHIEVEMENTS_OWNED:String = "AchievementOwned"; public static const ACHIEVEMENT_NEW:String = "AchievementReceived"; public static const GAME_ACHIEVEMENTS:String = "GameAchievements"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IOError"; public static const IO_PENDING:String = "IOPending"; public static const ALIGN_TOP_LEFT:String = "ALIGN_TL"; public static const ALIGN_TOP:String = "ALIGN_T"; public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR"; public static const ALIGN_LEFT:String = "ALIGN_L"; public static const ALIGN_CENTER:String = "ALIGN_C"; public static const ALIGN_RIGHT:String = "ALIGN_R"; public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL"; public static const ALIGN_BOTTOM:String = "ALIGN_B"; public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR"; public static const FORMAT_SHORT:String = "ShortForm"; public static const FORMAT_LONG:String = "LongForm"; public static const FORMAT_NONE:String = "NoForm"; private static var gameStart:Number; private static var levelStart:Number; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function getVersion():String{ return (MochiServices.getVersion()); } public static function getAchievements(_arg1:Object=null):void{ MochiServices.send("events_getAchievements", _arg1); } public static function unlockAchievement(_arg1:Object):void{ MochiServices.send("events_unlockAchievement", _arg1); } public static function startSession(_arg1:String):void{ MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null); } public static function showAwards(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.stayOnTop(); MochiServices.send("events_showAwards", _arg1); } public static function setNotifications(_arg1:Object):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("events_setNotifications", _arg1, null, null); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } 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 startPlay(_arg1:String="gameplay"):void{ MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null); } public static function endPlay():void{ MochiServices.send("events_clearRoundID", null, null, null); } public static function trackEvent(_arg1:String, _arg2=null):void{ MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null); } } }//package mochi.as3
Section 22
//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 _consumableProperties:Object; private var _syncPending:Boolean; private var _outstandingID:Number; private var _syncID:Number; private var _names:Array; private var _storeSync:Object; private static const CONSUMER_KEY:String = "MochiConsumables"; private static const KEY_SALT:String = " syncMaint"; public static const READY:String = "InvReady"; public static const WRITTEN:String = "InvWritten"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IoError"; public static const VALUE_ERROR:String = "InvValueError"; public static const NOT_READY:String = "InvNotReady"; 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(); }; } public function release():void{ MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut); } private function loggedOut(_arg1:Object=null):void{ _consumableProperties = null; } private function loggedIn(_arg1:Object=null):void{ MochiUserData.get(CONSUMER_KEY, getConsumableBag); } 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) && (_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)); }; } private function itemOwned(_arg1:Object):void{ _storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count}; } 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 + KEY_SALT)].value); }; if (_local3 == 0){ } else { newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties}); }; }; triggerEvent(READY, {}); } 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 sync(_arg1:Event=null):void{ var _local3:String; if (((_syncPending) || ((_syncID == _outstandingID)))){ return; }; _outstandingID = _syncID; var _local2:Object = {}; 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 getProperty(_arg1){ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (-1); }; if (_consumableProperties[_arg1]){ return (MochiDigits(_consumableProperties[_arg1]).value); }; return (undefined); } 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); } 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 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++; } 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 nextName(_arg1:int):String{ return (_names[(_arg1 - 1)]); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } 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); } } }//package mochi.as3
Section 23
//MochiScores (mochi.as3.MochiScores) package mochi.as3 { import flash.display.*; import flash.text.*; public class MochiScores { public static var onCloseHandler:Object; public static var onErrorHandler:Object; private static var boardID:String; 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}); } 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.play(); } 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 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 requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; var _local2:Object = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } } }//package mochi.as3
Section 24
//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 { public static const CONNECTED:String = "onConnected"; private static var _id:String; private static var _container:Object; private static var _clip:MovieClip; private static var _loader:Loader; private static var _timer:Timer; private static var _preserved:Object; private static var _servURL:String = "http://www.mochiads.com/static/lib/services/"; private static var _services:String = "services.swf"; private static var _mochiLC:String = "MochiLC.swf"; private static var _swfVersion:String; private static var _listenChannelName:String = "__ms_"; private static var _sendChannel:LocalConnection; private static var _sendChannelName:String; private static var _connecting:Boolean = false; private static var _connected:Boolean = false; public static var netup:Boolean = true; public static var netupAttempted:Boolean = false; public static var onError:Object; public static var widget:Boolean = false; private static var _mochiLocalConnection:MovieClip; private static var _queue:Array; private static var _nextCallbackID:Number; private static var _callbacks:Object; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function get id():String{ return (_id); } public static function get clip():Object{ return (_container); } public static function get childClip():Object{ return (_clip); } public static function getVersion():String{ return ("3.9.4 as3"); } 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 isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } public static function get connected():Boolean{ return (_connected); } public static function warnID(_arg1:String, _arg2:Boolean):void{ _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; }; }; }; var _local3:Number = 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 connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; warnID(id, false); if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; 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."); }; } 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(); _timer.removeEventListener(TimerEvent.TIMER, connectWait); _timer = null; } catch(error:Error) { }; }; } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); } 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); }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_clip.parent){ _clip.parent.removeChild(_clip); }; if (_arg1 != null){ if ((_arg1 is DisplayObjectContainer)){ _container = _arg1; }; }; if (_arg2){ if ((_container is DisplayObjectContainer)){ DisplayObjectContainer(_container).addChild(_clip); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ MochiServices.onError("NotConnected"); return (null); }; if (urlOptions(_arg2).servURL){ _servURL = urlOptions(_arg2).servURL; }; var _local3:String = (_servURL + _services); if (urlOptions(_arg2).servicesURL){ _local3 = urlOptions(_arg2).servicesURL; }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999)))); MochiServices.allowDomains(_local3); _clip = new MovieClip(); loadLCBridge(_clip); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); var _local4:URLRequest = new URLRequest(_local3); var _local5:URLVariables = new URLVariables(); _local5.listenLC = _listenChannelName; _local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options; _local5.api_version = getVersion(); if (widget){ _local5.widget = true; }; _local4.data = _local5; _loader.load(_local4); _clip.addChild(_loader); _sendChannel = new LocalConnection(); _queue = []; _nextCallbackID = 0; _callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } private static function detach(_arg1:Event):void{ var _local2:LoaderInfo = LoaderInfo(_arg1.target); _local2.removeEventListener(Event.COMPLETE, detach); _local2.removeEventListener(IOErrorEvent.IO_ERROR, detach); _local2.removeEventListener(Event.COMPLETE, loadLCBridgeComplete); _local2.removeEventListener(IOErrorEvent.IO_ERROR, loadError); } private static function loadLCBridge(_arg1:Object):void{ var _local2:Loader = new Loader(); var _local3:String = (_servURL + _mochiLC); var _local4:URLRequest = new URLRequest(_local3); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, detach); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); _local2.load(_local4); _arg1.addChild(_local2); } private static function loadLCBridgeComplete(_arg1:Event):void{ var _local2:Loader = LoaderInfo(_arg1.target).loader; _mochiLocalConnection = MovieClip(_local2.content); listen(); } private static function loadError(_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); } 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"); } else { _timer.stop(); _timer.removeEventListener(TimerEvent.TIMER, connectWait); _timer = null; }; } 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..."); } 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 (_queue.length > 0) { _mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift()); }; }; } private static function onReceive(_arg1:Object):void{ var methodName:String; var pkg = _arg1; var cb:String = pkg.callbackID; var cblst:Object = _callbacks[cb]; if (!cblst){ return; }; var method:* = cblst.callbackMethod; methodName = ""; var obj:Object = 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 _callbacks[cb]; } private static function onEvent(_arg1:Object):void{ var _local2:String = _arg1.target; var _local3:String = _arg1.event; switch (_local2){ case "services": MochiServices.triggerEvent(_arg1.event, _arg1.args); break; case "events": MochiEvents.triggerEvent(_arg1.event, _arg1.args); break; case "coins": MochiCoins.triggerEvent(_arg1.event, _arg1.args); break; case "social": MochiSocial.triggerEvent(_arg1.event, _arg1.args); break; }; } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (((_clip) && (_queue))){ while (_queue.length > 0) { _local2 = _queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _callbacks[_local2.callbackID]; }; delete _callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ if (_arg1 != null){ if (_arg1.onError != null){ _arg1.onError("NotConnected"); }; if (((!((_arg1.options == null))) && (!((_arg1.options.onError == null))))){ _arg1.options.onError("NotConnected"); }; }; if (_arg3 != null){ _arg1 = {}; _arg1.error = true; _arg1.errorCode = "NotConnected"; if (((!((_arg2 == null))) && ((_arg3 is String)))){ try { var _local4 = _arg2; _local4[_arg3](_arg1); } catch(error:Error) { }; } else { if (_arg3 != null){ try { _arg3.apply(_arg1); } catch(error:Error) { }; }; }; }; } 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:_nextCallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1)); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID}); }; if (_clip != null){ if (_callbacks != null){ _callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _nextCallbackID++; }; }; } private static function urlOptions(_arg1:Object):Object{ var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; var _local2:Object = {}; 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 addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var avm1Click:DisplayObject; 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; var vars:Object = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); var s = "?"; var i:Number = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://link.mochiads.com/linkping.swf"); loader = new Loader(); setURL = function (_arg1:String):void{ if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); var _local2:Rectangle = 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); }; } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local4:int; var _local14:Loader; var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; var _local6:Array = [0, 64, 0, 0, 0]; var _local7:MovieClip = new MovieClip(); var _local8:LocalConnection = new LocalConnection(); var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time)); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); var _local10:ByteArray = new ByteArray(); var _local11:ByteArray = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); var _local12:uint = ((_local3.length + _local11.length) + 4); var _local13:uint = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } 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); } } }//package mochi.as3
Section 25
//MochiSocial (mochi.as3.MochiSocial) package mochi.as3 { public class MochiSocial { public static const LOGGED_IN:String = "LoggedIn"; public static const LOGGED_OUT:String = "LoggedOut"; public static const LOGIN_SHOW:String = "LoginShow"; public static const LOGIN_HIDE:String = "LoginHide"; public static const LOGIN_SHOWN:String = "LoginShown"; public static const PROFILE_SHOW:String = "ProfileShow"; public static const PROFILE_HIDE:String = "ProfileHide"; public static const PROPERTIES_SAVED:String = "PropertySaved"; public static const WIDGET_LOADED:String = "WidgetLoaded"; public static const FRIEND_LIST:String = "FriendsList"; public static const PROFILE_DATA:String = "ProfileData"; public static const GAMEPLAY_DATA:String = "GameplayData"; public static const ACTION_CANCELED:String = "onCancel"; public static const ACTION_COMPLETE:String = "onComplete"; public static const USER_INFO:String = "UserInfo"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IOError"; public static const NO_USER:String = "NoUser"; public static const PROPERTIES_SIZE:String = "PropertiesSize"; 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 getAPIURL():String{ if (!_user_info){ return (null); }; return (_user_info.api_url); } public static function getAPIToken():String{ if (!_user_info){ return (null); }; return (_user_info.api_token); } public static function showLoginWidget(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_showLoginWidget", {options:_arg1}); } public static function hideLoginWidget():void{ MochiServices.send("social_hideLoginWidget"); } public static function requestLogin(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestLogin", _arg1); } public static function showProfile(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.stayOnTop(); MochiServices.send("social_showProfile", _arg1); } public static function saveUserProperties(_arg1:Object):void{ MochiServices.send("social_saveUserProperties", _arg1); } public static function getFriendsList(_arg1:Object=null):void{ MochiServices.send("social_getFriendsList", _arg1); } public static function postToStream(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_postToStream", _arg1); } public static function inviteFriends(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_inviteFriends", _arg1); } public static function requestFan(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestFan", _arg1); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } 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 removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } 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 26
//MochiUserData (mochi.as3.MochiUserData) package mochi.as3 { import flash.events.*; import flash.utils.*; import flash.net.*; public class MochiUserData extends EventDispatcher { public var _loader:URLLoader; public var key:String;// = null public var data;// = null public var error:Event;// = null public var operation:String;// = null public var callback:Function;// = null public function MochiUserData(_arg1:String="", _arg2:Function=null){ this.key = _arg1; this.callback = _arg2; } public function serialize(_arg1):ByteArray{ var _local2:ByteArray = new ByteArray(); _local2.objectEncoding = ObjectEncoding.AMF3; _local2.writeObject(_arg1); _local2.compress(); return (_local2); } public function deserialize(_arg1:ByteArray){ _arg1.objectEncoding = ObjectEncoding.AMF3; _arg1.uncompress(); return (_arg1.readObject()); } public function request(_arg1:String, _arg2:ByteArray):void{ var _operation = _arg1; var _data = _arg2; operation = _operation; var api_url:String = MochiSocial.getAPIURL(); var api_token:String = MochiSocial.getAPIToken(); if ((((api_url == null)) || ((api_token == null)))){ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in")); return; }; _loader = new URLLoader(); var args:URLVariables = new URLVariables(); args.op = _operation; args.key = key; var req:URLRequest = 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 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 errorHandler(_arg1:IOErrorEvent):void{ data = null; error = _arg1; if (callback != null){ performCallback(); } else { dispatchEvent(_arg1); }; close(); } public function securityErrorHandler(_arg1:SecurityErrorEvent):void{ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString()))); } public function performCallback():void{ try { callback(this); } catch(e:Error) { trace(("[MochiUserData] exception during callback: " + e)); }; } 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 getEvent():void{ request("get", serialize(null)); } public function putEvent(_arg1):void{ request("put", serialize(_arg1)); } override public function toString():String{ return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]")); } public static function get(_arg1:String, _arg2:Function):void{ var _local3:MochiUserData = new MochiUserData(_arg1, _arg2); _local3.getEvent(); } public static function put(_arg1:String, _arg2, _arg3:Function):void{ var _local4:MochiUserData = new MochiUserData(_arg1, _arg3); _local4.putEvent(_arg2); } } }//package mochi.as3
Section 27
//Input (Plugs.Input) package Plugs { import flash.display.*; import flash.events.*; public class Input { public static var kkode = null; public static var mclick = null; public static var mdown = null; public function Input(_arg1){ ini(); _arg1.stage.addEventListener(KeyboardEvent.KEY_DOWN, kpress); _arg1.stage.addEventListener(KeyboardEvent.KEY_UP, krelease); _arg1.stage.addEventListener(MouseEvent.CLICK, miw); _arg1.stage.addEventListener(MouseEvent.MOUSE_DOWN, md); _arg1.stage.addEventListener(MouseEvent.MOUSE_UP, mu); } public function kpress(_arg1){ kkode[_arg1.keyCode] = 1; } public function krelease(_arg1){ kkode[_arg1.keyCode] = 0; } public function miw(_arg1){ if (_arg1.target.name){ Main.mclick(_arg1.target); }; } public function md(_arg1){ if (_arg1.target.name){ mclick = _arg1.target; mdown = _arg1.target; }; } public function mu(_arg1){ mdown = null; } public static function ini(){ kkode = new Array(); mclick = null; mdown = null; } } }//package Plugs
Section 28
//Music (Plugs.Music) package Plugs { import flash.utils.*; import flash.media.*; public class Music { static var music:Sound = new Sound(); static var sfx:Sound = new Sound(); static var musicChannel = new Array(); static var musicChannelCrowd = null; public static var vol = 1; public static var volG = 1; public static var st = "off"; public static var currN = 0; public static var chargeVol = 0; public static var musicNR = null; public static var volFX = 1; public static var volMU = 1; public static var curvolMU = 1; public static var panel = null; public static var ln = null; public static function mus(... _args){ var _local2:* = _args[0]; var _local3:* = Tools.getObjectByName(_args[0]); if (_local3){ if (musicNR != _local2){ if (musicChannel["music"]){ musicChannel["music"].stop(); }; curvolMU = _args[1]; musicChannel["music"] = _local3.play(0, 99999, new SoundTransform((curvolMU * volMU))); musicNR = _local2; }; }; } public static function changeVol(... _args){ if (musicChannel["music"]){ curvolMU = (curvolMU + _args[0]); if (curvolMU < 0){ curvolMU = 0; }; musicChannel["music"].soundTransform = new SoundTransform((curvolMU * volMU)); }; } public static function loopMod(... _args){ if (musicChannel["fxShip"]){ musicChannel["fxShip"].soundTransform = new SoundTransform((_args[0] * volFX)); }; } public static function musip(){ } public static function musVol(){ if (volG){ volG = 0; } else { volG = 1; }; musicChannel.soundTransform = new SoundTransform(volG); } public static function snd(_arg1:String, _arg2:Number){ var _local5:*; var _local3:* = (getDefinitionByName(_arg1) as Class); _local3 = new (_local3); _local3.play(0, 0, new SoundTransform((_arg2 * volFX))); var _local4:* = (((_arg2 - 320) / 320) * 1.2); if (_arg1 == "snip"){ _local5 = (getDefinitionByName("snip") as Class); _local3 = new (_local5); _local3.play(0, 0, new SoundTransform(1)); }; if (_arg1 == "fail"){ _local5 = (getDefinitionByName("fail") as Class); _local3 = new (_local5); _local3.play(0, 0, new SoundTransform(1)); }; } } }//package Plugs
Section 29
//Tools (Plugs.Tools) package Plugs { import flash.utils.*; public class Tools { public static function getObjectByName(_arg1){ var _local2:* = null; try { _local2 = (getDefinitionByName(_arg1) as Class); _local2 = new (_local2); } catch(e) { }; return (_local2); } } }//package Plugs
Section 30
//bombMC (bombMC) package { import flash.display.*; public dynamic class bombMC extends MovieClip { } }//package
Section 31
//fxAaa (fxAaa) package { import flash.media.*; public dynamic class fxAaa extends Sound { } }//package
Section 32
//fxBip (fxBip) package { import flash.media.*; public dynamic class fxBip extends Sound { } }//package
Section 33
//fxBoom (fxBoom) package { import flash.media.*; public dynamic class fxBoom extends Sound { } }//package
Section 34
//fxHorse (fxHorse) package { import flash.media.*; public dynamic class fxHorse extends Sound { } }//package
Section 35
//fxMegaUp (fxMegaUp) package { import flash.media.*; public dynamic class fxMegaUp extends Sound { } }//package
Section 36
//fxPill (fxPill) package { import flash.media.*; public dynamic class fxPill extends Sound { } }//package
Section 37
//fxPunch (fxPunch) package { import flash.media.*; public dynamic class fxPunch extends Sound { } }//package
Section 38
//fxSelect (fxSelect) package { import flash.media.*; public dynamic class fxSelect extends Sound { } }//package
Section 39
//gameOverMC (gameOverMC) package { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.utils.*; import Plugs.*; import flash.net.*; import flash.text.*; import flash.media.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class gameOverMC extends MovieClip { public var pts:TextField; public var goAni:MovieClip; public var msk:MovieClip; public var titl:MovieClip; public var blinky_sub:MovieClip; public function gameOverMC(){ addFrameScript(0, frame1); } public function ini(){ var _local2:*; var _local3:*; Music.snd("fxSelect", 0); pts.text = String((Main.ldat.scr[0] + Main.ldat.scr[1])); this.ct = 40; this.blnk = new Array(); var _local1:* = 0; while (_local1 < numChildren) { _local2 = getChildAt(_local1); if ((_local2 is MovieClip)){ _local3 = _local2.name.split("_"); if (_local3[0] == "blinky"){ _local2.act = _local3[1]; this.blnk.push(_local2); }; }; _local1++; }; goAni.gotoAndStop(1); if (Main.ldat.numPlayers == 2){ goAni.gotoAndStop(2); if (Main.ldat.lf[1] > Main.ldat.lf[0]){ goAni.gotoAndStop(3); }; if ((((Main.ldat.lf[1] == Main.ldat.lf[0])) && ((Main.ldat.scr[1] > Main.ldat.scr[0])))){ goAni.gotoAndStop(3); }; }; } public function update(){ if (((!(this.sel)) && (Input.mclick))){ if (Input.mclick.name == "butPlay"){ this.sel = 1; }; if (Input.mclick.name == "pl1"){ Main.ldat.numPlayers = 1; }; if (Input.mclick.name == "pl2"){ Main.ldat.numPlayers = 2; }; Input.mclick = null; }; blinkCode(); titlAni(); if (this.sel){ this.ct--; if (this.ct < 0){ }; }; } public function blinkCode(){ var _local1:MovieClip; for each (_local1 in this.blnk) { if (_local1.hitTestPoint((mouseX * 4), (mouseY * 4), false)){ if (((!(_local1.pl)) && (Input.mdown))){ this.sel = 1; _local1.pl = 1; Music.snd("fxSelect", 1); if (_local1.name == "blinky_sub"){ Main.subScore((Main.ldat.scr[0] + Main.ldat.scr[1])); }; }; if (!this.sel){ _local1.gotoAndPlay(_local1.totalFrames); }; }; if (_local1.pl){ _local1.play(); }; }; } public function titlAni(){ titl.rotation = ((Math.random() * 10) - 5); } function frame1(){ } } }//package
Section 40
//GamesChart (GamesChart) package { import flash.display.*; public class GamesChart { public static var onGCEvent:Function = null; private static var _errors:Object = {noInterface:"[GC-API] ERROR! Please call gc.setup() first. See: http://wiki.gameschart.com/index.php/Static_Functions", alreadyDefinedInterface:"[GC-API] ERROR! Can only call setup once! See: http://wiki.gameschart.com/index.php/Static_Functions", noContainerMC:"[GC-API] ERROR! You must supply a container to hold GamesChart! See: http://wiki.gameschart.com/index.php/Static_Functions#Setup", noGameIDHash:"[GC-API] ERROR! You must supply the game ID key associated with this game! http://wiki.gameschart.com/index.php/Static_Functions#Setup"}; private static var _interface:GCBrainInterface; public static var VERSION:String = "0.2.0"; public static function openCharts():void{ if (_interface == null){ trace(_errors.noInterface); return; }; _interface.sendNotification(GCNotificationTypes.SHOW_CHART_LISTS, {}); } public static function hideTab():void{ if (_interface == null){ trace(_errors.noInterface); return; }; _interface.sendNotification(GCNotificationTypes.HIDE_TAB, {}); } public static function showTab(_arg1:Number, _arg2:Number):void{ if (_interface == null){ trace(_errors.noInterface); return; }; _interface.sendNotification(GCNotificationTypes.SHOW_TAB, {xPos:_arg1, yPos:_arg2}); } public static function setup(_arg1:Stage, _arg2:String):void{ if (_interface == null){ if (_arg1 == null){ trace(_errors.noContainerMC); return; }; if ((((_arg2 == null)) || ((_arg2 == "")))){ trace(_errors.noGameIDHash); return; }; _interface = new GCBrainInterface(_arg1); _interface.begin(_arg2); } else { trace(_errors.alreadyDefinedInterface); }; } } }//package
Section 41
//GamesChartAPI_AS3 (GamesChartAPI_AS3) package { import flash.display.*; import flash.utils.*; public class GamesChartAPI_AS3 extends MovieClip { public var _preview:MovieClip; private var _GC:GamesChart; private var _gameKey:String;// = "" public function GamesChartAPI_AS3(){ GCBrainInterface.apiType = "AS3-MXP"; gameKey = ""; } public function set gameKey(_arg1:String):void{ _gameKey = _arg1; if ((((_gameKey == null)) || ((_gameKey == "")))){ _preview.txt.text = "You need to set your gameID for the API to work."; } else { if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){ _preview.txt.text = (("Your gameID has been set to '" + _gameKey) + "'. This message will be hidden when the game is run."); } else { GamesChart.setup(stage, _gameKey); _preview.visible = false; }; }; } public function get gameKey():String{ return (_gameKey); } } }//package
Section 42
//GCBrainInterface (GCBrainInterface) package { import flash.display.*; import flash.events.*; import gc.utils.*; import flash.net.*; import flash.system.*; import flash.external.*; public class GCBrainInterface { private var _lcID:int; private var _container:Sprite; private var _notificationBuffer:Array; private var _conn:GCSWFConnection; private var _brainLoader:Loader; private var _brainLoaded:Boolean; private var _stage:Stage; public static var apiType:String = "AS3-API"; private static var BRAIN_URL:String = "http://gameschart.com/flash_client/getBrain.php"; public function GCBrainInterface(_arg1:Stage){ _stage = _arg1; _container = new Sprite(); _container.addEventListener(Event.ENTER_FRAME, onFrameEntered); _stage.addChild(_container); Security.allowDomain("*"); Security.allowInsecureDomain("*"); trace(("[GC-API] Games Chart v." + GamesChart.VERSION)); _lcID = (Math.random() * 10000); loadBrain(); startLC(); } public function begin(_arg1:String):void{ sendNotification(GCNotificationTypes.BEGIN_LOAD, {gameIDHash:_arg1, apiType:apiType, apiVersion:GamesChart.VERSION, swfURL:getURL()}); } public function onGCEvent(_arg1:String, _arg2:Object):void{ if (GamesChart.onGCEvent != null){ GamesChart.onGCEvent.apply(null, [_arg1, _arg2]); }; } private function getURL():String{ var pageURL:String; try { pageURL = String(ExternalInterface.call("window.location.href.toString")); if (pageURL == "null"){ return (_container.stage.loaderInfo.url); } else { return (pageURL); }; } catch(e:Error) { }; return (_container.stage.loaderInfo.url); } private function onFrameEntered(_arg1:Event):void{ if (!_stage.contains(_container)){ _stage.addChild(_container); } else { if (_stage.getChildIndex(_container) != (_stage.numChildren - 1)){ _stage.setChildIndex(_container, (_stage.numChildren - 1)); }; }; } private function onFinishedLoading(_arg1:Event):void{ _brainLoaded = true; trace("[GC-API] Brain Loaded!"); } public function sendNotification(_arg1:String, _arg2:Object, _arg3:String=""):void{ if (_conn.connected){ _conn.send("sendNotification", _arg1, _arg2, _arg3); } else { _notificationBuffer.push({name:_arg1, body:_arg2, type:_arg3}); }; } private function loadBrain():void{ _brainLoaded = false; _brainLoader = new Loader(); _brainLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onFinishedLoading); _brainLoader.load(new URLRequest(((BRAIN_URL + "?r=") + _lcID))); _container.addChild(_brainLoader); trace("[GC-API] Loading Brain.. "); } private function startLC():void{ _notificationBuffer = []; _conn = new GCSWFConnection(("_GamesChartLC" + _lcID), this, GamesChart.VERSION); _conn.addEventListener(GCSWFConnection.CONNECTED, onLCConnected); } private function onLCConnected(_arg1:Event):void{ var _local2:Object; trace("[GC-API] API Connected to Brain!"); while (_notificationBuffer.length > 0) { _local2 = _notificationBuffer.pop(); sendNotification(_local2.name, _local2.body, _local2.type); }; } } }//package
Section 43
//GCNotificationTypes (GCNotificationTypes) package { public class GCNotificationTypes { public static var LOAD_SKIN_AND_STYLE:String = "LOAD_SKIN_AND_STYLE"; public static var BEGIN_LOAD:String = "BEGIN_LOAD"; public static var STARTUP:String = "STARTUP"; public static var SHOW_CHART_LISTS:String = "SHOW_CHART_LISTS"; public static var SHOW_TAB:String = "SHOW_TAB"; public static var SKIN_AND_STYLE_LOADED:String = "SKIN_AND_STYLE_LOADED"; public static var LAUNCH_GAME:String = "LAUNCH_GAME"; public static var HIDE_TAB:String = "HIDE_TAB"; } }//package
Section 44
//level101 (level101) package { import flash.display.*; public dynamic class level101 extends MovieClip { public var bgs:MovieClip; public var house_1:MovieClip; public var sprt:santaSPRT; public var dsp:MovieClip; public var bar:MovieClip; public var rolli:rollDing; } }//package
Section 45
//Main (Main) package { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.geom.*; import CPMStar.*; import Plugs.*; import Levels.*; import flash.net.*; import flash.text.*; public class Main extends MovieClip { public var ld:TextField; public var gogogo:SimpleButton; public var addy:MovieClip; public var CPMStarPoolID:int; public var CPMStarSubPoolID:int; public var adcpm:DisplayObject; public var pct; public var curr_levl; public static var scr:int = 0; public static var levl:int = 0; public static var dd:uint = 1; public static var sprt:MovieClip = null; public static var acc:Object = new Object(); public static var players = 1; public static var ldat:Object = new Object(); public static var gotoMoga = 0; public function Main(){ addFrameScript(0, frame1, 4, frame5); addEventListener(Event.ENTER_FRAME, loada); } public function ef(_arg1:Event){ var _local2:* = ((stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal) * 100); if (_local2 > pct){ pct = (pct + 0.2); }; if (pct > 20){ ld.visible = true; }; ld.text = (("loading ... " + int(pct)) + "%"); if (pct >= 100){ removeEventListener(Event.ENTER_FRAME, ef); gogogo.visible = true; gogogo.addEventListener(MouseEvent.CLICK, mc); }; } public function mc(_arg1:MouseEvent){ gogogo.removeEventListener(MouseEvent.CLICK, mc); play(); } function inildat(){ ldat.numPlayers = 1; resetScores(); } function resetScores(){ ldat.scr = new Array(0, 0); ldat.lf = new Array(9, 9); if (ldat.numPlayers == 1){ }; } function loada(_arg1:Event){ var _local2:*; if (currentLabel == "game"){ acc.xx = 0; stage.scaleMode = "noScale"; stage.stageFocusRect = false; stage.tabChildren = false; _local2 = new Input(stage); removeEventListener(Event.ENTER_FRAME, loada); inildat(); addEventListener(Event.ENTER_FRAME, mcode); }; } function mcode(_arg1:Event){ if (dd == 1){ gotoMoga = 0; if ((((levl > 0)) && ((((ldat.lf[0] < 0)) || ((ldat.lf[1] < 0)))))){ if ((((ldat.numPlayers == 1)) || (!((ldat.lf[0] == ldat.lf[1]))))){ levl = -10; } else { if (ldat.scr[0] != ldat.scr[1]){ levl = -10; }; }; }; dd = 0; if (sprt){ removeChild(sprt); sprt = null; }; curr_levl = null; if (levl > 0){ Music.mus("musIngame", 1); sprt = new MovieClip(); curr_levl = new Level01(); stage.quality = "low"; }; if (levl == 0){ resetScores(); Music.mus("musTitle", 1); sprt = new titleMC(); sprt.ini(); sprt.scaleX = (sprt.scaleY = 4); curr_levl = sprt; stage.quality = "high"; }; if (levl == -10){ Music.mus("poop2", 0); Music.snd("poop1", 1); sprt = new gameOverMC(); sprt.ini(); sprt.scaleX = (sprt.scaleY = 4); curr_levl = sprt; stage.quality = "high"; }; sprt.scrollRect = new Rectangle(0, 0, 640, 480); addChild(sprt); stage.focus = this; }; if (curr_levl){ curr_levl.update(); }; } function frame1(){ MochiServices.connect("e84b5d4563855567", root); GamesChart.setup(stage, "a28004ddb59ef34d3dcb1a5ec15b1b5d"); CPMStarPoolID = 7496; CPMStarSubPoolID = 12; adcpm = AdLoader.LoadAd(CPMStarPoolID, CPMStarSubPoolID); addy.addChild(adcpm); stop(); pct = 0; gogogo.visible = false; ld.visible = false; addEventListener(Event.ENTER_FRAME, ef); } function frame5(){ stop(); } public static function mclick(_arg1){ if (gotoMoga){ gotoMoga = 0; navigateToURL(new URLRequest("http://www.gameshot.org"), "_blank"); }; } public static function showScore(){ var o:Object = {n:[2, 6, 5, 0, 6, 10, 8, 5, 7, 13, 15, 0, 2, 15, 13, 6], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; var boardID:String = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, res:"640x480", onClose:voidy}); } public static function subScore(_arg1){ var n = _arg1; var o:Object = {n:[2, 6, 5, 0, 6, 10, 8, 5, 7, 13, 15, 0, 2, 15, 13, 6], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; var boardID:String = o.f(0, ""); MochiScores.showLeaderboard({boardID:boardID, score:n, res:"640x480", onClose:voidy}); } public static function voidy(){ Main.levl = 0; Main.dd = 1; } } }//package
Section 46
//megaPoopMC (megaPoopMC) package { import flash.display.*; public dynamic class megaPoopMC extends MovieClip { } }//package
Section 47
//musIngame (musIngame) package { import flash.media.*; public dynamic class musIngame extends Sound { } }//package
Section 48
//musTitle (musTitle) package { import flash.media.*; public dynamic class musTitle extends Sound { } }//package
Section 49
//muteFX (muteFX) package { import flash.display.*; public dynamic class muteFX extends MovieClip { public function muteFX(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 50
//pillMC (pillMC) package { import flash.display.*; public dynamic class pillMC extends MovieClip { } }//package
Section 51
//poop1 (poop1) package { import flash.media.*; public dynamic class poop1 extends Sound { } }//package
Section 52
//poop2 (poop2) package { import flash.media.*; public dynamic class poop2 extends Sound { } }//package
Section 53
//poop3 (poop3) package { import flash.media.*; public dynamic class poop3 extends Sound { } }//package
Section 54
//poop4 (poop4) package { import flash.media.*; public dynamic class poop4 extends Sound { } }//package
Section 55
//poopMC (poopMC) package { import flash.display.*; public dynamic class poopMC extends MovieClip { } }//package
Section 56
//rollDing (rollDing) package { import flash.display.*; public dynamic class rollDing extends MovieClip { public var wheel:MovieClip; public var rope:MovieClip; } }//package
Section 57
//rudoMC (rudoMC) package { import flash.display.*; public dynamic class rudoMC extends MovieClip { public var kol:MovieClip; public var spd; public function rudoMC(){ addFrameScript(9, frame10); } function frame10(){ spd = 1; } } }//package
Section 58
//santaFallMC (santaFallMC) package { import flash.display.*; public dynamic class santaFallMC extends MovieClip { } }//package
Section 59
//santaSPRT (santaSPRT) package { import flash.display.*; public dynamic class santaSPRT extends MovieClip { public var kol:MovieClip; public var ass:MovieClip; public function santaSPRT(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 60
//shockMC (shockMC) package { import flash.display.*; public dynamic class shockMC extends MovieClip { } }//package
Section 61
//starMC (starMC) package { import flash.display.*; public dynamic class starMC extends MovieClip { } }//package
Section 62
//titleMC (titleMC) package { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.utils.*; import Plugs.*; import flash.net.*; import flash.text.*; import flash.media.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class titleMC extends MovieClip { public var blinky_play:MovieClip; public var pl1:MovieClip; public var pl2:MovieClip; public var blinky_scores:MovieClip; public var blinky_moga:MovieClip; public var msk:MovieClip; public var titl:MovieClip; public function titleMC(){ addFrameScript(0, frame1); } public function ini(){ var _local2:*; var _local3:*; Music.snd("fxSelect", 0); this.ct = 40; this.blnk = new Array(); var _local1:* = 0; while (_local1 < numChildren) { _local2 = getChildAt(_local1); if ((_local2 is MovieClip)){ _local3 = _local2.name.split("_"); if (_local3[0] == "blinky"){ _local2.act = _local3[1]; this.blnk.push(_local2); }; }; _local1++; }; } public function update(){ if (((!(this.sel)) && (Input.mclick))){ if (Input.mclick.name == "butPlay"){ this.sel = 1; }; if (Input.mclick.name == "pl1"){ Main.ldat.numPlayers = 1; Music.snd("fxBip", 1); }; if (Input.mclick.name == "pl2"){ Main.ldat.numPlayers = 2; Music.snd("fxBip", 1); }; Input.mclick = null; }; blinkCode(); plCode(); titlAni(); if (this.sel){ this.ct--; if (this.ct < 0){ if (this.goto == "blinky_play"){ Main.levl = 1; Main.dd = 1; }; if (this.goto == "blinky_moga"){ Main.dd = 1; }; }; }; } public function plCode(){ if (Main.ldat.numPlayers == 1){ pl1.alpha = 1; pl2.alpha = 0.4; } else { pl2.alpha = 1; pl1.alpha = 0.4; }; } public function blinkCode(){ var _local1:MovieClip; for each (_local1 in this.blnk) { if (_local1.hitTestPoint((mouseX * 4), (mouseY * 4), false)){ if (((((!(this.sel)) && (!(_local1.pl)))) && (Input.mdown))){ this.sel = 1; this.goto = _local1.name; _local1.pl = 1; Music.snd("fxSelect", 1); if (_local1.name == "blinky_scores"){ Main.showScore(); }; }; if (!this.sel){ _local1.gotoAndPlay(_local1.totalFrames); }; }; if (_local1.pl){ _local1.play(); if (_local1.name == "blinky_moga"){ Main.gotoMoga = 1; } else { Main.gotoMoga = 0; }; }; }; } public function titlAni(){ titl.rotation = ((Math.random() * 10) - 5); } function frame1(){ } } }//package
Section 63
//tutp1 (tutp1) package { import flash.display.*; public dynamic class tutp1 extends MovieClip { public var txt:MovieClip; } }//package

Library Items

Symbol 1 GraphicUsed by:2 66 187  Timeline
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 FontUsed by:4
Symbol 4 EditableTextUses:3Used by:Timeline
Symbol 5 FontUsed by:6
Symbol 6 TextUses:5Used by:8
Symbol 7 GraphicUsed by:8 34 131
Symbol 8 ButtonUses:6 7Used by:Timeline
Symbol 9 Sound {musTitle}
Symbol 10 Sound {musIngame}
Symbol 11 Sound {poop4}
Symbol 12 Sound {poop3}
Symbol 13 Sound {poop2}
Symbol 14 Sound {poop1}
Symbol 15 Sound {fxSelect}
Symbol 16 Sound {fxPunch}
Symbol 17 Sound {fxPill}
Symbol 18 Sound {fxMegaUp}
Symbol 19 Sound {fxHorse}
Symbol 20 Sound {fxBoom}
Symbol 21 Sound {fxBip}
Symbol 22 Sound {fxAaa}
Symbol 23 FontUsed by:24 28 43 168 185
Symbol 24 TextUses:23Used by:29
Symbol 25 FontUsed by:26 149 150 153 156 160 161 162 163 164 165 178 179 180 181 183 184
Symbol 26 TextUses:25Used by:29
Symbol 27 FontUsed by:28
Symbol 28 TextUses:23 27Used by:29
Symbol 29 MovieClipUses:24 26 28Used by:66
Symbol 30 GraphicUsed by:34 89
Symbol 31 GraphicUsed by:34
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClip {Merry_Schmess_Frenzy_fla.blinkMC_22}Uses:7 30 31 32 33Used by:66 187
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClipUses:36Used by:66
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:40
Symbol 40 MovieClipUses:39Used by:66
Symbol 41 FontUsed by:42
Symbol 42 EditableTextUses:41Used by:66
Symbol 43 TextUses:23Used by:44
Symbol 44 MovieClipUses:43Used by:66
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:49
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:49
Symbol 49 MovieClip {muteFX}Uses:46 48Used by:55
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:54
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54
Symbol 54 MovieClip {Merry_Schmess_Frenzy_fla.muteMus_54}Uses:51 53Used by:55
Symbol 55 MovieClip {Merry_Schmess_Frenzy_fla.musicPanel_53}Uses:49 54Used by:66
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:62 176
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:62
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClipUses:57 59 61Used by:66 182
Symbol 63 FontUsed by:64 65
Symbol 64 EditableTextUses:63Used by:66
Symbol 65 EditableTextUses:63Used by:66
Symbol 66 MovieClip {titleMC}Uses:1 29 34 37 40 42 44 55 62 64 65
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:167
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 MovieClipUses:70Used by:84
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:74
Symbol 74 MovieClipUses:73Used by:84
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:77
Symbol 77 MovieClipUses:76Used by:84
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:80
Symbol 80 MovieClipUses:79Used by:84
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:71 74 77 80 83Used by:167
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:97
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:97
Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}Uses:30Used by:97 104 111 118 125 147 218
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 MovieClipUses:91Used by:97 104 111 118 125
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClip {Merry_Schmess_Frenzy_fla.poopreach_37}Uses:93Used by:97 104 111 118 125
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClip {Merry_Schmess_Frenzy_fla.house102_34}Uses:86 88 89 92 94 96Used by:167
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:104
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:104
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:104
Symbol 104 MovieClip {Merry_Schmess_Frenzy_fla.house103_38}Uses:99 101 89 92 94 103Used by:167
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:111
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:111
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClip {Merry_Schmess_Frenzy_fla.house104_40}Uses:106 108 89 92 94 110Used by:167
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:118
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:118
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:118
Symbol 118 MovieClip {Merry_Schmess_Frenzy_fla.house101_42}Uses:113 115 89 92 94 117Used by:167
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:125
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:125
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:125
Symbol 125 MovieClip {Merry_Schmess_Frenzy_fla.house105_44}Uses:120 122 89 92 94 124Used by:167
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:127Used by:167
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:135
Symbol 131 MovieClipUses:7Used by:135
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClipUses:133Used by:135
Symbol 135 MovieClip {rollDing}Uses:130 131 134Used by:167
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:146 147
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:146
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:146
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:146
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:146
Symbol 146 MovieClip {Merry_Schmess_Frenzy_fla.santapoopin_15}Uses:139 141 143 145 137Used by:147
Symbol 147 MovieClip {santaSPRT}Uses:89 137 146Used by:167
Symbol 148 GraphicUsed by:166
Symbol 149 EditableTextUses:25Used by:166
Symbol 150 EditableTextUses:25Used by:166
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:166
Symbol 153 EditableTextUses:25Used by:166
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:166
Symbol 156 EditableTextUses:25Used by:166
Symbol 157 BitmapUsed by:159
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:157 158Used by:166
Symbol 160 EditableTextUses:25Used by:166
Symbol 161 EditableTextUses:25Used by:166
Symbol 162 EditableTextUses:25Used by:166
Symbol 163 EditableTextUses:25Used by:166
Symbol 164 EditableTextUses:25Used by:166
Symbol 165 EditableTextUses:25Used by:166
Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47}Uses:148 149 150 152 153 155 156 159 160 161 162 163 164 165Used by:167
Symbol 167 MovieClip {level101}Uses:68 84 97 104 111 118 125 128 135 147 166
Symbol 168 TextUses:23Used by:169
Symbol 169 MovieClipUses:168Used by:187
Symbol 170 BitmapUsed by:172
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:170 171Used by:176
Symbol 173 BitmapUsed by:175
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:173 174Used by:176
Symbol 176 MovieClipUses:57 172 175Used by:182
Symbol 177 FontUsed by:178 180
Symbol 178 TextUses:25 177Used by:182
Symbol 179 TextUses:25Used by:182
Symbol 180 TextUses:25 177Used by:182
Symbol 181 TextUses:25Used by:182
Symbol 182 MovieClipUses:176 62 178 179 180 181Used by:187
Symbol 183 TextUses:25Used by:187
Symbol 184 EditableTextUses:25Used by:187
Symbol 185 TextUses:23Used by:186
Symbol 186 MovieClipUses:185Used by:187
Symbol 187 MovieClip {gameOverMC}Uses:1 169 34 182 183 184 186
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:195
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:194
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:194
Symbol 194 MovieClip {Merry_Schmess_Frenzy_fla.tuttxt_19}Uses:191 193Used by:195
Symbol 195 MovieClip {tutp1}Uses:189 194
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClip {starMC}Uses:197
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:201
Symbol 201 MovieClip {shockMC}Uses:200
Symbol 202 BitmapUsed by:203 204
Symbol 203 GraphicUses:202Used by:205
Symbol 204 GraphicUses:202Used by:205
Symbol 205 MovieClip {santaFallMC}Uses:203 204
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:218
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:218
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:218
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:218
Symbol 214 BitmapUsed by:215
Symbol 215 GraphicUses:214Used by:218
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClip {rudoMC}Uses:89 207 209 211 213 215 217
Symbol 219 GraphicUsed by:225
Symbol 220 GraphicUsed by:225
Symbol 221 GraphicUsed by:225
Symbol 222 GraphicUsed by:225
Symbol 223 GraphicUsed by:225
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClip {poopMC}Uses:219 220 221 222 223 224
Symbol 226 BitmapUsed by:227 231
Symbol 227 GraphicUses:226Used by:232
Symbol 228 BitmapUsed by:229 230
Symbol 229 GraphicUses:228Used by:232
Symbol 230 GraphicUses:228Used by:232
Symbol 231 GraphicUses:226Used by:232
Symbol 232 MovieClip {pillMC}Uses:227 229 230 231
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:235
Symbol 235 MovieClip {megaPoopMC}Uses:234
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:238
Symbol 238 MovieClip {bombMC}Uses:237
Symbol 239 GraphicUsed by:247
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:242
Symbol 242 MovieClipUses:241Used by:247
Symbol 243 FontUsed by:244 245 246
Symbol 244 EditableTextUses:243Used by:247
Symbol 245 EditableTextUses:243Used by:247
Symbol 246 EditableTextUses:243Used by:247
Symbol 247 MovieClipUses:239 242 244 245 246Used by:248
Symbol 248 MovieClip {GamesChartAPI_AS3}Uses:247

Instance Names

"addy"Frame 1Symbol 2 MovieClip
"ld"Frame 1Symbol 4 EditableText
"gogogo"Frame 1Symbol 8 Button
"fx"Symbol 55 MovieClip {Merry_Schmess_Frenzy_fla.musicPanel_53} Frame 1Symbol 49 MovieClip {muteFX}
"mu"Symbol 55 MovieClip {Merry_Schmess_Frenzy_fla.musicPanel_53} Frame 1Symbol 54 MovieClip {Merry_Schmess_Frenzy_fla.muteMus_54}
"msk"Symbol 66 MovieClip {titleMC} Frame 1Symbol 29 MovieClip
"blinky_play"Symbol 66 MovieClip {titleMC} Frame 1Symbol 34 MovieClip {Merry_Schmess_Frenzy_fla.blinkMC_22}
"blinky_moga"Symbol 66 MovieClip {titleMC} Frame 1Symbol 34 MovieClip {Merry_Schmess_Frenzy_fla.blinkMC_22}
"blinky_scores"Symbol 66 MovieClip {titleMC} Frame 1Symbol 34 MovieClip {Merry_Schmess_Frenzy_fla.blinkMC_22}
"pl1"Symbol 66 MovieClip {titleMC} Frame 1Symbol 37 MovieClip
"pl2"Symbol 66 MovieClip {titleMC} Frame 1Symbol 40 MovieClip
"titl"Symbol 66 MovieClip {titleMC} Frame 1Symbol 44 MovieClip
"plat"Symbol 97 MovieClip {Merry_Schmess_Frenzy_fla.house102_34} Frame 1Symbol 86 MovieClip
"kol"Symbol 97 MovieClip {Merry_Schmess_Frenzy_fla.house102_34} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"arw"Symbol 97 MovieClip {Merry_Schmess_Frenzy_fla.house102_34} Frame 1Symbol 92 MovieClip
"reach"Symbol 97 MovieClip {Merry_Schmess_Frenzy_fla.house102_34} Frame 1Symbol 94 MovieClip {Merry_Schmess_Frenzy_fla.poopreach_37}
"plat"Symbol 104 MovieClip {Merry_Schmess_Frenzy_fla.house103_38} Frame 1Symbol 99 MovieClip
"kol"Symbol 104 MovieClip {Merry_Schmess_Frenzy_fla.house103_38} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"arw"Symbol 104 MovieClip {Merry_Schmess_Frenzy_fla.house103_38} Frame 1Symbol 92 MovieClip
"reach"Symbol 104 MovieClip {Merry_Schmess_Frenzy_fla.house103_38} Frame 1Symbol 94 MovieClip {Merry_Schmess_Frenzy_fla.poopreach_37}
"plat"Symbol 111 MovieClip {Merry_Schmess_Frenzy_fla.house104_40} Frame 1Symbol 106 MovieClip
"kol"Symbol 111 MovieClip {Merry_Schmess_Frenzy_fla.house104_40} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"arw"Symbol 111 MovieClip {Merry_Schmess_Frenzy_fla.house104_40} Frame 1Symbol 92 MovieClip
"reach"Symbol 111 MovieClip {Merry_Schmess_Frenzy_fla.house104_40} Frame 1Symbol 94 MovieClip {Merry_Schmess_Frenzy_fla.poopreach_37}
"plat"Symbol 118 MovieClip {Merry_Schmess_Frenzy_fla.house101_42} Frame 1Symbol 113 MovieClip
"kol"Symbol 118 MovieClip {Merry_Schmess_Frenzy_fla.house101_42} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"arw"Symbol 118 MovieClip {Merry_Schmess_Frenzy_fla.house101_42} Frame 1Symbol 92 MovieClip
"reach"Symbol 118 MovieClip {Merry_Schmess_Frenzy_fla.house101_42} Frame 1Symbol 94 MovieClip {Merry_Schmess_Frenzy_fla.poopreach_37}
"plat"Symbol 125 MovieClip {Merry_Schmess_Frenzy_fla.house105_44} Frame 1Symbol 120 MovieClip
"kol"Symbol 125 MovieClip {Merry_Schmess_Frenzy_fla.house105_44} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"arw"Symbol 125 MovieClip {Merry_Schmess_Frenzy_fla.house105_44} Frame 1Symbol 92 MovieClip
"reach"Symbol 125 MovieClip {Merry_Schmess_Frenzy_fla.house105_44} Frame 1Symbol 94 MovieClip {Merry_Schmess_Frenzy_fla.poopreach_37}
"rope"Symbol 135 MovieClip {rollDing} Frame 1Symbol 131 MovieClip
"wheel"Symbol 135 MovieClip {rollDing} Frame 1Symbol 134 MovieClip
"kol"Symbol 147 MovieClip {santaSPRT} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"ass"Symbol 147 MovieClip {santaSPRT} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"scr0"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 1Symbol 149 EditableText
"mega0"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 1Symbol 150 EditableText
"lf0"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 1Symbol 153 EditableText
"scr1"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 2Symbol 160 EditableText
"scr0"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 2Symbol 161 EditableText
"mega0"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 2Symbol 162 EditableText
"mega1"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 2Symbol 163 EditableText
"lf0"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 2Symbol 164 EditableText
"lf1"Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47} Frame 2Symbol 165 EditableText
"bgs"Symbol 167 MovieClip {level101} Frame 1Symbol 84 MovieClip
"house_1"Symbol 167 MovieClip {level101} Frame 1Symbol 97 MovieClip {Merry_Schmess_Frenzy_fla.house102_34}
"house_1"Symbol 167 MovieClip {level101} Frame 1Symbol 104 MovieClip {Merry_Schmess_Frenzy_fla.house103_38}
"house_1"Symbol 167 MovieClip {level101} Frame 1Symbol 111 MovieClip {Merry_Schmess_Frenzy_fla.house104_40}
"house_1"Symbol 167 MovieClip {level101} Frame 1Symbol 118 MovieClip {Merry_Schmess_Frenzy_fla.house101_42}
"house_1"Symbol 167 MovieClip {level101} Frame 1Symbol 125 MovieClip {Merry_Schmess_Frenzy_fla.house105_44}
"bar"Symbol 167 MovieClip {level101} Frame 1Symbol 128 MovieClip
"rolli"Symbol 167 MovieClip {level101} Frame 1Symbol 135 MovieClip {rollDing}
"sprt"Symbol 167 MovieClip {level101} Frame 1Symbol 147 MovieClip {santaSPRT}
"dsp"Symbol 167 MovieClip {level101} Frame 1Symbol 166 MovieClip {Merry_Schmess_Frenzy_fla.dsp101_47}
"msk"Symbol 187 MovieClip {gameOverMC} Frame 1Symbol 169 MovieClip
"blinky_sub"Symbol 187 MovieClip {gameOverMC} Frame 1Symbol 34 MovieClip {Merry_Schmess_Frenzy_fla.blinkMC_22}
"goAni"Symbol 187 MovieClip {gameOverMC} Frame 1Symbol 182 MovieClip
"pts"Symbol 187 MovieClip {gameOverMC} Frame 1Symbol 184 EditableText
"titl"Symbol 187 MovieClip {gameOverMC} Frame 1Symbol 186 MovieClip
"txt"Symbol 195 MovieClip {tutp1} Frame 1Symbol 194 MovieClip {Merry_Schmess_Frenzy_fla.tuttxt_19}
"kol"Symbol 218 MovieClip {rudoMC} Frame 1Symbol 89 MovieClip {Merry_Schmess_Frenzy_fla.kol_12}
"txt"Symbol 247 MovieClip Frame 1Symbol 244 EditableText
"_preview"Symbol 248 MovieClip {GamesChartAPI_AS3} Frame 1Symbol 247 MovieClip

Special Tags

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

Labels

"game"Frame 5
"on"Symbol 49 MovieClip {muteFX} Frame 1
"off"Symbol 49 MovieClip {muteFX} Frame 2
"on"Symbol 54 MovieClip {Merry_Schmess_Frenzy_fla.muteMus_54} Frame 1
"off"Symbol 54 MovieClip {Merry_Schmess_Frenzy_fla.muteMus_54} Frame 2




http://swfchan.com/28/135164/info.shtml
Created: 9/2 -2019 15:53:50 Last modified: 9/2 -2019 15:53:50 Server time: 05/11 -2024 08:34:07