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

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

Shinju.swf

This is the info page for
Flash #48771

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


Text
Percent Loaded:

Clicks Left

<p align="center"></p>

More games

More games

<p align="center"></p>

level:

Score

<p align="center"></p>

Start again

Start again

Submit Score

Submit Score

Find The Golden Pearl

SoundLoader

Click on any shell to open it!

The number indicates how
many squares away you are
from the Golden Pearl

congratulations!

ActionScript [AS3]

Section 1
//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } 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)){ } 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.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi
Section 2
//MochiServices (mochi.MochiServices) package mochi { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function getVersion():String{ return ("1.32"); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); _rcvChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; return (_local2); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion()}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); _rcvChannelName = _arg1; initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//package mochi
Section 3
//bg_13 (shellgame_fla.bg_13) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class bg_13 extends MovieClip { public function bg_13(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package shellgame_fla
Section 4
//clicks_mc_25 (shellgame_fla.clicks_mc_25) package shellgame_fla { import flash.display.*; import flash.text.*; public dynamic class clicks_mc_25 extends MovieClip { public var clicks_txt:TextField; } }//package shellgame_fla
Section 5
//explosion_73 (shellgame_fla.explosion_73) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class explosion_73 extends MovieClip { public function explosion_73(){ addFrameScript(22, frame23); } function frame23(){ stop(); } } }//package shellgame_fla
Section 6
//explosion3stars_74 (shellgame_fla.explosion3stars_74) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class explosion3stars_74 extends MovieClip { public function explosion3stars_74(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package shellgame_fla
Section 7
//explosionKJL_72 (shellgame_fla.explosionKJL_72) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class explosionKJL_72 extends MovieClip { public function explosionKJL_72(){ addFrameScript(46, frame47); } function frame47(){ stop(); } } }//package shellgame_fla
Section 8
//games_btn_23 (shellgame_fla.games_btn_23) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class games_btn_23 extends MovieClip { public function games_btn_23(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package shellgame_fla
Section 9
//hints_mc_37 (shellgame_fla.hints_mc_37) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class hints_mc_37 extends MovieClip { public var hints_txt:TextField; public var nohint_btn:MovieClip; public function hints_mc_37(){ addFrameScript(0, frame1, 29, frame30, 98, frame99); } function frame1(){ stop(); } function frame30(){ stop(); } function frame99(){ stop(); } } }//package shellgame_fla
Section 10
//intro_2 (shellgame_fla.intro_2) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class intro_2 extends MovieClip { public function intro_2(){ addFrameScript(198, frame199); } function frame199(){ stop(); } } }//package shellgame_fla
Section 11
//level_mc_24 (shellgame_fla.level_mc_24) package shellgame_fla { import flash.display.*; import flash.text.*; public dynamic class level_mc_24 extends MovieClip { public var level_txt:TextField; } }//package shellgame_fla
Section 12
//mute_btn_36 (shellgame_fla.mute_btn_36) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class mute_btn_36 extends MovieClip { public function mute_btn_36(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package shellgame_fla
Section 13
//numbers_59 (shellgame_fla.numbers_59) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class numbers_59 extends MovieClip { public function numbers_59(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } function frame11(){ stop(); } } }//package shellgame_fla
Section 14
//reset_btn_26 (shellgame_fla.reset_btn_26) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class reset_btn_26 extends MovieClip { public function reset_btn_26(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package shellgame_fla
Section 15
//SoundLoader_35 (shellgame_fla.SoundLoader_35) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class SoundLoader_35 extends MovieClip { public var sndLoseChannel:SoundChannel; public var sndLose:Sound; public var sndOpenChannel:SoundChannel; public var sndOpen:Sound; public var sndWin:Sound; public var sndWinChannel:SoundChannel; public function SoundLoader_35(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); sndLose = new LoseSnd(); sndLoseChannel = sndLose.play(0, 1); } function frame4(){ stop(); sndWin = new WinSnd(); sndWinChannel = sndWin.play(0, 1); } function frame1(){ stop(); } function frame2(){ stop(); sndOpen = new Open(); sndOpenChannel = sndOpen.play(0, 1); } } }//package shellgame_fla
Section 16
//submit_btn_27 (shellgame_fla.submit_btn_27) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class submit_btn_27 extends MovieClip { public function submit_btn_27(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package shellgame_fla
Section 17
//total_mc_22 (shellgame_fla.total_mc_22) package shellgame_fla { import flash.display.*; import flash.text.*; public dynamic class total_mc_22 extends MovieClip { public var total_txt:TextField; } }//package shellgame_fla
Section 18
//tryyy_55 (shellgame_fla.tryyy_55) package shellgame_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class tryyy_55 extends MovieClip { public function tryyy_55(){ addFrameScript(59, frame60); } function frame60(){ stop(); } } }//package shellgame_fla
Section 19
//Clam (Clam) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class Clam extends MovieClip { var goldPosX:int; var goldPosY:int; var furthestDistance:int; var isGoldenOrb:Boolean;// = false var :Boolean;// = false var clamIsOpen:Boolean;// = false var :String; var posX:int; var posY:int; public var numbers_mc:MovieClip; var game:ShellGame; public function Clam(){ clamIsOpen = false; isGoldenOrb = false;  = false; super(); buttonMode = true; addEventListener(MouseEvent.CLICK, openClam); } public function initPos(_arg1, _arg2){ posX = _arg1; posY = _arg2; } public function checkGolden(){ var _local1:Timer; if (isGoldenOrb){ game.outOfClicks = false; _local1 = new Timer(250, 1); _local1.addEventListener(TimerEvent.TIMER, intermission); _local1.start(); }; } public function intermission(_arg1:TimerEvent){ game.SoundLoader.gotoAndStop(4); game.gameEnd(); } public function getDistance(){ var _local1:int; var _local2:int; _local1 = Math.abs((posX - goldPosX)); _local2 = Math.abs((posY - goldPosY)); if ((((_local1 > _local2)) || ((_local1 == _local2)))){ furthestDistance = _local1; } else { if (_local1 < _local2){ furthestDistance = _local2; }; }; } public function openClam(_arg1:MouseEvent){ game.SoundLoader.gotoAndStop(1); getDistance(); if ((((clamIsOpen == false)) && ((game.completedLevel == false)))){ if (isGoldenOrb){ game.completedLevel = true; numbers_mc.gotoAndStop(11); game.SoundLoader.gotoAndStop(2); gotoAndPlay("open"); clamIsOpen = true; game.updateClicks(); } else { numbers_mc.gotoAndStop(furthestDistance); clamIsOpen = true; game.SoundLoader.gotoAndStop(2); gotoAndPlay("open"); if (((((((!(game.hintHasPlayed)) || ((game.level == 1)))) || ((game.level == 2)))) || ((game.level == 3)))){ game.getPos(posX, posY, furthestDistance); }; game.updateClicks(); game.updateClicksLeft(); }; }; } } }//package
Section 20
//Clam1 (Clam1) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class Clam1 extends Clam { public function Clam1(){ addFrameScript(0, frame1, 12, frame13, 13, frame14, 14, frame15); } function frame14(){ stop(); } function frame15(){ stop(); } function frame13(){ stop(); checkGolden(); } function frame1(){ stop(); } } }//package
Section 21
//Clam2 (Clam2) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class Clam2 extends Clam { public function Clam2(){ addFrameScript(0, frame1, 8, frame9); } function frame9(){ stop(); checkGolden(); } function frame1(){ stop(); } } }//package
Section 22
//Clam3 (Clam3) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class Clam3 extends Clam { public function Clam3(){ addFrameScript(0, frame1, 13, frame14, 25, frame26); } function frame14(){ stop(); checkGolden(); } function frame26(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package
Section 23
//Clam4 (Clam4) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class Clam4 extends Clam { public function Clam4(){ addFrameScript(0, frame1, 19, frame20); } function frame1(){ stop(); } function frame20(){ stop(); checkGolden(); } } }//package
Section 24
//Clam5 (Clam5) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class Clam5 extends Clam { public function Clam5(){ addFrameScript(0, frame1, 8, frame9); } function frame9(){ stop(); checkGolden(); } function frame1(){ stop(); } } }//package
Section 25
//Grid (Grid) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.ui.*; public dynamic class Grid extends MovieClip { public function Grid(){ addFrameScript(0, frame1, 2, frame3, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame5(){ stop(); } } }//package
Section 26
//LoseSnd (LoseSnd) package { import flash.media.*; public dynamic class LoseSnd extends Sound { } }//package
Section 27
//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.5"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); setTimeout(options.ad_finished, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 28
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 29
//Open (Open) package { import flash.media.*; public dynamic class Open extends Sound { } }//package
Section 30
//ShellGame (ShellGame) package { import flash.display.*; import flash.events.*; import mochi.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.utils.*; public dynamic class ShellGame extends MovieClip { var outOfClicks:Boolean;// = false public var moregames_btn:MovieClip; public var level_mc:MovieClip; var possiblesArray:Array; var clicksLevel:int;// = 0 public var clamHolder:MovieClip; var startingClams:int;// = 10 public var clicks_mc:MovieClip; public var total_mc:MovieClip; var clicksLeft:int;// = 4 var score:int;// = 0 var gridArray:Array; public var startgame_btn:MovieClip; var cols:int;// = 9 var possibles2Array:Array; var transformSound:SoundTransform; var goldPosX:int; var goldPosY:int; var clamArray:Array; var numClicks:int;// = 0 var orbDist:Array; public var preloader_txt:TextField; var arrCount:int;// = 0 public var mute_btn:MovieClip; var hintHasPlayed:Boolean;// = false var :int;// = 191 public var reset_btn:MovieClip; var sndMuted:Boolean;// = false var level:int;// = 1 public var submit_btn:MovieClip; var clamCount:int;// = 0 public var introclip:MovieClip; var :int;// = 37 public var bg_mc:MovieClip; var totalLevels:int;// = 100 var rows:int;// = 9 var totalClams:int; public var games_btn:MovieClip; public var hints_mc:MovieClip; public var SoundLoader:MovieClip; var completedLevel:Boolean;// = false public function ShellGame(){ startingClams = 10;  = 191;  = 37; cols = 9; rows = 9; clamCount = 0; level = 1; totalLevels = 100; clicksLeft = 4; clicksLevel = 0; score = 0; orbDist = new Array(); numClicks = 0; arrCount = 0; gridArray = new Array(); clamArray = new Array(); possiblesArray = new Array(); possibles2Array = new Array(); completedLevel = false; outOfClicks = false; sndMuted = false; hintHasPlayed = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 22, frame23, 66, frame67, 67, frame68, 68, frame69); } public function updateClicks(){ numClicks++; } public function levelReset(_arg1:TimerEvent){ completedLevel = false; level++; if (level <= totalLevels){ clicksLeft = 4; numClicks = 0; total_mc.total_txt.text = clicksLeft; level_mc.level_txt.text = level; removeShells(); gotoAndStop("start"); if (totalClams < 41){ totalClams++; }; makeShells(); } else { clicksLeft = 4; numClicks = 0; removeShells(); clicks_mc.clicks_txt.text = score; gotoAndStop("win"); }; } public function updateClicksLeft(){ var _local1:Timer; clicksLeft--; total_mc.total_txt.text = clicksLeft; if (clicksLeft <= clicksLevel){ completedLevel = true; outOfClicks = true; arrCount = 0; SoundLoader.gotoAndStop(3); _local1 = new Timer(1000, 1); _local1.addEventListener(TimerEvent.TIMER, loseGame); _local1.start(); }; } public function introTimer(_arg1:Event){ if (introclip.currentFrame == 199){ removeEventListener(Event.ENTER_FRAME, introTimer); introclip.removeEventListener(MouseEvent.CLICK, redirect); gotoAndStop("presplash"); }; } function frame3(){ stop(); addEventListener(Event.ENTER_FRAME, introTimer); introclip.buttonMode = true; introclip.addEventListener(MouseEvent.CLICK, redirect); } function frame4(){ stop(); init(); } function frame1(){ MochiAd.showPreGameAd({clip:root, id:"cd208ad2d7f1e43b", res:"640x480", background:16777161, color:10080277, outline:0x356400, no_bg:false}); MochiServices.connect("cd208ad2d7f1e43b", root); MochiBot.track(this, "dce9ac92"); } function frame23(){ stop(); } function frame2(){ stop(); addEventListener(Event.ENTER_FRAME, preloader); } public function preloader(_arg1:Event):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = stage.loaderInfo.bytesLoaded; _local3 = stage.loaderInfo.bytesTotal; _local4 = (_local2 / _local3); _local5 = Math.floor((_local4 * 100)); preloader_txt.text = (_local5 + "%"); if (_local2 >= _local3){ removeEventListener(Event.ENTER_FRAME, preloader); gotoAndStop("intro"); }; } public function gamesMouseOut(_arg1:MouseEvent){ games_btn.gotoAndStop(1); } public function moreGames(_arg1:MouseEvent){ var request:URLRequest; var event = _arg1; request = new URLRequest("http://www.ninjakiwi.com"); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function resetMouseOver(_arg1:MouseEvent){ reset_btn.gotoAndStop(2); } public function muteSnd(_arg1:MouseEvent){ if (!sndMuted){ sndMuted = true; mute_btn.gotoAndStop(2); transformSound = new SoundTransform(); SoundMixer.stopAll(); transformSound.volume = 0; SoundMixer.soundTransform = transformSound; } else { sndMuted = false; mute_btn.gotoAndStop(1); transformSound.volume = 1; SoundMixer.soundTransform = transformSound; trace("unmute"); }; } public function loseGame(_arg1:TimerEvent){ hints_mc.visible = false; hints_mc.gotoAndStop("nohints"); gotoAndStop("lose"); removeShells(); } public function submitMouseOut(_arg1:MouseEvent){ submit_btn.gotoAndStop(1); } function frame67(){ stop(); } function frame68(){ stop(); } function frame69(){ stop(); } public function init(){ startgame_btn.buttonMode = true; startgame_btn.addEventListener(MouseEvent.CLICK, startGame); moregames_btn.buttonMode = true; moregames_btn.addEventListener(MouseEvent.CLICK, moreGames); mute_btn.buttonMode = true; mute_btn.addEventListener(MouseEvent.CLICK, muteSnd); submit_btn.buttonMode = true; submit_btn.addEventListener(MouseEvent.CLICK, submitScore); submit_btn.addEventListener(MouseEvent.MOUSE_OVER, submitMouseOver); submit_btn.addEventListener(MouseEvent.MOUSE_OUT, submitMouseOut); hints_mc.nohint_btn.buttonMode = true; hints_mc.nohint_btn.addEventListener(MouseEvent.CLICK, removeHint); } public function resetMouseOut(_arg1:MouseEvent){ reset_btn.gotoAndStop(1); } public function removeHint(_arg1:MouseEvent){ hints_mc.gotoAndStop("nohints"); } public function resetReset(_arg1:MouseEvent){ hints_mc.visible = false; hints_mc.gotoAndStop("nohints"); completedLevel = false; totalClams = startingClams; removeShells(); arrCount = 0; level = 1; score = 0; clicksLeft = 4; numClicks = 0; clicks_mc.clicks_txt.text = score; total_mc.total_txt.text = clicksLeft; level_mc.level_txt.text = level; gotoAndStop("start"); makeShells(); } public function getPos(_arg1, _arg2, _arg3){ var _local4:Array; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; arrCount++; _local4 = new Array(); _local5 = 0; while (_local5 < clamArray.length) { if (clamArray[_local5].clamIsOpen == false){ clamArray[_local5].gotoAndStop(1); }; _local8 = Math.abs((clamArray[_local5].posX - _arg1)); _local9 = Math.abs((clamArray[_local5].posY - _arg2)); if ((((_local8 > _local9)) || ((_local8 == _local9)))){ orbDist[_local5] = _local8; } else { if (_local8 < _local9){ orbDist[_local5] = _local9; }; }; if (orbDist[_local5] == _arg3){ if (clamArray[_local5].clamIsOpen == false){ if (arrCount == 1){ if (((!(clamArray[_local5].isGoldenOrb)) && ((hintHasPlayed == false)))){ hints_mc.gotoAndPlay("secondhint"); hintHasPlayed = true; }; possiblesArray.push(clamArray[_local5]); } else { if (arrCount == 2){ possibles2Array.push(clamArray[_local5]); }; }; }; }; _local5++; }; _local6 = 0; while (_local6 < possiblesArray.length) { _local10 = 0; while (_local10 < possibles2Array.length) { if (possiblesArray[_local6] == possibles2Array[_local10]){ _local4.push(possiblesArray[_local6]); }; _local10++; }; _local6++; }; if (arrCount == 2){ possiblesArray = new Array(); _local11 = 0; while (_local11 < _local4.length) { possiblesArray[_local11] = _local4[_local11]; _local11++; }; }; _local7 = 0; while (_local7 < possiblesArray.length) { possiblesArray[_local7].gotoAndStop("flash"); _local7++; }; if (arrCount >= 2){ arrCount = 1; possibles2Array = new Array(); }; } public function gamesMouseOver(_arg1:MouseEvent){ games_btn.gotoAndStop(2); } public function submitScore(_arg1:MouseEvent){ MochiScores.showLeaderboard({boardID:"2d374f0a9b79e876", score:score}); } public function startGame(_arg1:MouseEvent){ totalClams = startingClams; gotoAndPlay("splash"); clicks_mc.clicks_txt.text = score; total_mc.total_txt.text = clicksLeft; level_mc.level_txt.text = level; makeShells(); reset_btn.buttonMode = true; reset_btn.addEventListener(MouseEvent.CLICK, resetReset); reset_btn.addEventListener(MouseEvent.MOUSE_OVER, resetMouseOver); reset_btn.addEventListener(MouseEvent.MOUSE_OUT, resetMouseOut); games_btn.buttonMode = true; games_btn.addEventListener(MouseEvent.CLICK, moreGames); games_btn.addEventListener(MouseEvent.MOUSE_OVER, gamesMouseOver); games_btn.addEventListener(MouseEvent.MOUSE_OUT, gamesMouseOut); } public function gameEnd(){ var _local1:Timer; if (!outOfClicks){ switch (numClicks){ case 1: score = (score + 1000); break; case 2: score = (score + 750); break; case 3: score = (score + 300); break; case 4: score = (score + 100); break; }; clicks_mc.clicks_txt.text = score; arrCount = 0; hints_mc.visible = false; hints_mc.gotoAndStop("nohints"); gotoAndPlay("complete"); _local1 = new Timer(1000, 1); _local1.addEventListener(TimerEvent.TIMER, levelReset); _local1.start(); }; } public function makeShells(){ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:Clam; SoundLoader.gotoAndStop(1); if (!hintHasPlayed){ hints_mc.visible = true; hints_mc.gotoAndPlay("initialhint"); } else { hints_mc.visible = false; hints_mc.gotoAndStop("nohints"); }; gridArray = new Array(); _local1 = 0; while (_local1 < cols) { gridArray[_local1] = new Array(); _local2 = 0; while (_local2 < rows) { gridArray[_local1][_local2] = 0; _local2++; }; _local1++; }; while (clamCount < totalClams) { _local3 = Math.floor((Math.random() * cols)); _local4 = Math.floor((Math.random() * rows)); _local5 = Math.floor(((Math.random() * 5) + 1)); if (gridArray[_local3][_local4] == 0){ gridArray[_local3][_local4] = 1; if (level <= 10){ _local6 = new Clam1(); bg_mc.gotoAndStop("beach"); } else { if (level <= 20){ _local6 = new Clam2(); bg_mc.gotoAndStop("sand"); } else { if (level <= 30){ _local6 = new Clam3(); bg_mc.gotoAndStop("sea"); } else { if (level <= 40){ _local6 = new Clam4(); bg_mc.gotoAndStop("river"); } else { if (level <= 50){ _local6 = new Clam5(); bg_mc.gotoAndStop("volcano"); } else { if (level > 50){ switch (_local5){ case 1: _local6 = new Clam1(); bg_mc.gotoAndStop("beach"); break; case 2: _local6 = new Clam2(); bg_mc.gotoAndStop("sand"); break; case 3: _local6 = new Clam3(); bg_mc.gotoAndStop("sea"); break; case 4: _local6 = new Clam4(); bg_mc.gotoAndStop("river"); break; case 5: _local6 = new Clam5(); bg_mc.gotoAndStop("volcano"); break; }; }; }; }; }; }; }; _local6.game = this; _local6.x = (50 * _local3); _local6.y = (50 * _local4); clamHolder.addChild(_local6); clamCount++; if (clamCount == 1){ goldPosX = _local3; goldPosY = _local4; _local6.isGoldenOrb = true; }; _local6.goldPosX = goldPosX; _local6.goldPosY = goldPosY; _local6.initPos(_local3, _local4); clamArray.push(_local6); } else { continue; }; }; } public function redirect(_arg1:MouseEvent){ var request:URLRequest; var event = _arg1; request = new URLRequest("http://www.ninjakiwi.com"); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function removeShells(){ var _local1:int; var _local2:int; var _local3:int; _local1 = 0; while (_local1 < clamArray.length) { clamHolder.removeChild(clamArray[_local1]); clamArray[_local1] = null; _local1++; }; _local2 = 0; while (_local2 < cols) { _local3 = 0; while (_local3 < rows) { gridArray[_local2][_local3] = null; _local3++; }; _local2++; }; clamArray = new Array(); clamCount = 0; } public function submitMouseOver(_arg1:MouseEvent){ submit_btn.gotoAndStop(2); } } }//package
Section 31
//WinSnd (WinSnd) package { import flash.media.*; public dynamic class WinSnd extends Sound { } }//package

Library Items

Symbol 1 Sound {WinSnd}
Symbol 2 Sound {LoseSnd}
Symbol 3 Sound {Open}
Symbol 4 GraphicUsed by:47
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:31
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:31
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:31
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:31
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:31
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:31
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:31
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:31
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:31
Symbol 23 GraphicUsed by:26
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:23 24 25Used by:31
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:27 28 29Used by:31
Symbol 31 MovieClip {shellgame_fla.numbers_59}Uses:6 8 10 12 14 16 18 20 22 26 30Used by:47 52 58 65 81 82
Symbol 32 GraphicUsed by:47 52 65 81 182 200 201
Symbol 33 GraphicUsed by:47
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:47
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:44
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:44
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:44
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:44
Symbol 44 MovieClip {shellgame_fla.explosion3stars_74}Uses:37 39 41 43Used by:45
Symbol 45 MovieClip {shellgame_fla.explosion_73}Uses:44Used by:46
Symbol 46 MovieClip {shellgame_fla.explosionKJL_72}Uses:45Used by:47 52 58 65 81
Symbol 47 MovieClip {Clam2}Uses:4 31 32 33 35 46
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:52
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:52
Symbol 52 MovieClip {Clam5}Uses:49 51 31 32 46
Symbol 53 GraphicUsed by:58
Symbol 54 GraphicUsed by:58
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClip {Clam4}Uses:53 31 54 55 57 46
Symbol 59 GraphicUsed by:65
Symbol 60 GraphicUsed by:65
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip {Clam3}Uses:59 31 32 60 62 46 63 64
Symbol 66 GraphicUsed by:81
Symbol 67 GraphicUsed by:81
Symbol 68 GraphicUsed by:81
Symbol 69 GraphicUsed by:81
Symbol 70 GraphicUsed by:81
Symbol 71 GraphicUsed by:81
Symbol 72 ShapeTweeningUsed by:75
Symbol 73 ShapeTweeningUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:72 73 74Used by:81
Symbol 76 GraphicUsed by:81
Symbol 77 ShapeTweeningUsed by:80
Symbol 78 ShapeTweeningUsed by:80
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:77 78 79Used by:81
Symbol 81 MovieClip {Clam1}Uses:66 31 32 67 68 46 69 70 71 75 76 80
Symbol 82 MovieClip {Clam}Uses:31
Symbol 83 GraphicUsed by:85 160
Symbol 84 GraphicUsed by:85 160
Symbol 85 MovieClip {Grid}Uses:83 84
Symbol 86 MovieClipUsed by:Timeline
Symbol 87 FontUsed by:88 89 162 163 166 168 170 172 175 176 179 181 183 185 191 217 222 260
Symbol 88 EditableTextUses:87Used by:Timeline
Symbol 89 TextUses:87Used by:Timeline
Symbol 90 GraphicUsed by:134
Symbol 91 ShapeTweeningUsed by:134
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:134
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:134
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:134
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:134
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:134
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:134
Symbol 104 ShapeTweeningUsed by:134
Symbol 105 ShapeTweeningUsed by:134
Symbol 106 GraphicUsed by:134
Symbol 107 ShapeTweeningUsed by:134
Symbol 108 ShapeTweeningUsed by:134
Symbol 109 GraphicUsed by:134
Symbol 110 ShapeTweeningUsed by:134
Symbol 111 GraphicUsed by:134
Symbol 112 ShapeTweeningUsed by:134
Symbol 113 ShapeTweeningUsed by:134
Symbol 114 GraphicUsed by:134
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:134
Symbol 117 GraphicUsed by:134
Symbol 118 ShapeTweeningUsed by:134
Symbol 119 GraphicUsed by:134
Symbol 120 ShapeTweeningUsed by:134
Symbol 121 GraphicUsed by:134
Symbol 122 ShapeTweeningUsed by:134
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:134
Symbol 125 GraphicUsed by:134
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:134
Symbol 128 GraphicUsed by:134
Symbol 129 GraphicUsed by:134
Symbol 130 GraphicUsed by:134
Symbol 131 GraphicUsed by:134
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:134
Symbol 134 MovieClip {shellgame_fla.intro_2}Uses:90 91 93 95 97 99 101 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 124 125 127 128 129 130 131 133Used by:Timeline
Symbol 135 GraphicUsed by:160
Symbol 136 GraphicUsed by:160
Symbol 137 GraphicUsed by:160
Symbol 138 GraphicUsed by:160
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:141
Symbol 141 MovieClipUses:140Used by:160
Symbol 142 GraphicUsed by:160
Symbol 143 GraphicUsed by:160
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:160
Symbol 146 GraphicUsed by:160
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:147Used by:160
Symbol 149 GraphicUsed by:160
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:160
Symbol 152 GraphicUsed by:160
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:160
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:160
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:160
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClip {shellgame_fla.bg_13}Uses:135 136 83 137 138 141 142 84 143 145 146 148 149 151 152 154 156 158 159Used by:Timeline
Symbol 161 GraphicUsed by:164
Symbol 162 TextUses:87Used by:164
Symbol 163 EditableTextUses:87Used by:164
Symbol 164 MovieClip {shellgame_fla.total_mc_22}Uses:161 162 163Used by:Timeline
Symbol 165 GraphicUsed by:169
Symbol 166 TextUses:87Used by:169
Symbol 167 GraphicUsed by:169
Symbol 168 TextUses:87Used by:169
Symbol 169 MovieClip {shellgame_fla.games_btn_23}Uses:165 166 167 168Used by:Timeline
Symbol 170 EditableTextUses:87Used by:173
Symbol 171 GraphicUsed by:173
Symbol 172 TextUses:87Used by:173
Symbol 173 MovieClip {shellgame_fla.level_mc_24}Uses:170 171 172Used by:Timeline
Symbol 174 GraphicUsed by:177
Symbol 175 TextUses:87Used by:177
Symbol 176 EditableTextUses:87Used by:177
Symbol 177 MovieClip {shellgame_fla.clicks_mc_25}Uses:174 175 176Used by:Timeline
Symbol 178 GraphicUsed by:182 186
Symbol 179 TextUses:87Used by:182
Symbol 180 GraphicUsed by:182 186
Symbol 181 TextUses:87Used by:182
Symbol 182 MovieClip {shellgame_fla.reset_btn_26}Uses:178 179 32 180 181Used by:Timeline
Symbol 183 TextUses:87Used by:186
Symbol 184 GraphicUsed by:186
Symbol 185 TextUses:87Used by:186
Symbol 186 MovieClip {shellgame_fla.submit_btn_27}Uses:178 183 184 180 185Used by:Timeline
Symbol 187 GraphicUsed by:199
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:188Used by:199
Symbol 190 GraphicUsed by:199
Symbol 191 TextUses:87Used by:199
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:199
Symbol 194 GraphicUsed by:199
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:199
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:187 189 190 191 193 194 196 198Used by:Timeline
Symbol 200 MovieClipUses:32Used by:Timeline
Symbol 201 MovieClipUses:32Used by:Timeline
Symbol 202 FontUsed by:203
Symbol 203 TextUses:202Used by:204
Symbol 204 MovieClip {shellgame_fla.SoundLoader_35}Uses:203Used by:Timeline
Symbol 205 GraphicUsed by:208
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip {shellgame_fla.mute_btn_36}Uses:205 206 207Used by:Timeline
Symbol 209 GraphicUsed by:223
Symbol 210 FontUsed by:211 218
Symbol 211 EditableTextUses:210Used by:223
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:223
Symbol 214 ShapeTweeningUsed by:223
Symbol 215 ShapeTweeningUsed by:223
Symbol 216 ShapeTweeningUsed by:223
Symbol 217 TextUses:87Used by:223
Symbol 218 EditableTextUses:210Used by:223
Symbol 219 ShapeTweeningUsed by:223
Symbol 220 ShapeTweeningUsed by:223
Symbol 221 ShapeTweeningUsed by:223
Symbol 222 TextUses:87Used by:223
Symbol 223 MovieClip {shellgame_fla.hints_mc_37}Uses:209 211 213 214 215 216 217 218 219 220 221 222Used by:Timeline
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:Timeline
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:226Used by:Timeline
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:Timeline
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:Timeline
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:Timeline
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:Timeline
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:Timeline
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:Timeline
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:Timeline
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:Timeline
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:Timeline
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:246Used by:Timeline
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248Used by:Timeline
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClipUses:250Used by:Timeline
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:252Used by:Timeline
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClipUses:254Used by:Timeline
Symbol 256 GraphicUsed by:Timeline
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClipUses:257Used by:259
Symbol 259 MovieClip {shellgame_fla.tryyy_55}Uses:258Used by:Timeline
Symbol 260 TextUses:87Used by:Timeline

Instance Names

"clamHolder"Frame 1Symbol 86 MovieClip
"preloader_txt"Frame 2Symbol 88 EditableText
"introclip"Frame 3Symbol 134 MovieClip {shellgame_fla.intro_2}
"bg_mc"Frame 4Symbol 160 MovieClip {shellgame_fla.bg_13}
"total_mc"Frame 4Symbol 164 MovieClip {shellgame_fla.total_mc_22}
"games_btn"Frame 4Symbol 169 MovieClip {shellgame_fla.games_btn_23}
"level_mc"Frame 4Symbol 173 MovieClip {shellgame_fla.level_mc_24}
"clicks_mc"Frame 4Symbol 177 MovieClip {shellgame_fla.clicks_mc_25}
"reset_btn"Frame 4Symbol 182 MovieClip {shellgame_fla.reset_btn_26}
"submit_btn"Frame 4Symbol 186 MovieClip {shellgame_fla.submit_btn_27}
"startgame_btn"Frame 4Symbol 200 MovieClip
"moregames_btn"Frame 4Symbol 201 MovieClip
"SoundLoader"Frame 4Symbol 204 MovieClip {shellgame_fla.SoundLoader_35}
"mute_btn"Frame 4Symbol 208 MovieClip {shellgame_fla.mute_btn_36}
"hints_mc"Frame 4Symbol 223 MovieClip {shellgame_fla.hints_mc_37}
"numbers_mc"Symbol 47 MovieClip {Clam2} Frame 1Symbol 31 MovieClip {shellgame_fla.numbers_59}
"numbers_mc"Symbol 52 MovieClip {Clam5} Frame 1Symbol 31 MovieClip {shellgame_fla.numbers_59}
"numbers_mc"Symbol 58 MovieClip {Clam4} Frame 1Symbol 31 MovieClip {shellgame_fla.numbers_59}
"numbers_mc"Symbol 65 MovieClip {Clam3} Frame 1Symbol 31 MovieClip {shellgame_fla.numbers_59}
"numbers_mc"Symbol 81 MovieClip {Clam1} Frame 1Symbol 31 MovieClip {shellgame_fla.numbers_59}
"numbers_mc"Symbol 82 MovieClip {Clam} Frame 1Symbol 31 MovieClip {shellgame_fla.numbers_59}
"total_txt"Symbol 164 MovieClip {shellgame_fla.total_mc_22} Frame 1Symbol 163 EditableText
"level_txt"Symbol 173 MovieClip {shellgame_fla.level_mc_24} Frame 1Symbol 170 EditableText
"clicks_txt"Symbol 177 MovieClip {shellgame_fla.clicks_mc_25} Frame 1Symbol 176 EditableText
"hints_txt"Symbol 223 MovieClip {shellgame_fla.hints_mc_37} Frame 1Symbol 211 EditableText
"nohint_btn"Symbol 223 MovieClip {shellgame_fla.hints_mc_37} Frame 1Symbol 213 MovieClip
"hints_txt"Symbol 223 MovieClip {shellgame_fla.hints_mc_37} Frame 31Symbol 218 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Tag 0x0FF (255)Timeline Frame 11 bytes " "

Labels

"intro"Frame 3
"presplash"Frame 4
"splash"Frame 5
"start"Frame 23
"complete"Frame 24
"lose"Frame 68
"win"Frame 69
"open"Symbol 47 MovieClip {Clam2} Frame 2
"open"Symbol 52 MovieClip {Clam5} Frame 2
"open"Symbol 58 MovieClip {Clam4} Frame 2
"open"Symbol 65 MovieClip {Clam3} Frame 2
"close"Symbol 65 MovieClip {Clam3} Frame 15
"open"Symbol 81 MovieClip {Clam1} Frame 2
"flash"Symbol 81 MovieClip {Clam1} Frame 14
"flash2"Symbol 81 MovieClip {Clam1} Frame 15
"beach"Symbol 160 MovieClip {shellgame_fla.bg_13} Frame 1
"sand"Symbol 160 MovieClip {shellgame_fla.bg_13} Frame 2
"sea"Symbol 160 MovieClip {shellgame_fla.bg_13} Frame 3
"river"Symbol 160 MovieClip {shellgame_fla.bg_13} Frame 4
"volcano"Symbol 160 MovieClip {shellgame_fla.bg_13} Frame 5
"mouseout"Symbol 182 MovieClip {shellgame_fla.reset_btn_26} Frame 1
"mouseout"Symbol 186 MovieClip {shellgame_fla.submit_btn_27} Frame 1
"nohints"Symbol 223 MovieClip {shellgame_fla.hints_mc_37} Frame 1
"initialhint"Symbol 223 MovieClip {shellgame_fla.hints_mc_37} Frame 2
"secondhint"Symbol 223 MovieClip {shellgame_fla.hints_mc_37} Frame 31




http://swfchan.com/10/48771/info.shtml
Created: 29/4 -2019 06:48:05 Last modified: 29/4 -2019 06:48:05 Server time: 22/12 -2024 18:36:23