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/30487763?noj=FRM30487763-22DC" width="1" height="1"></div>

Scarf it.swf

This is the info page for
Flash #47683

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


Text
How To Play

This is you. You move
around by pressing
the ARROW KEYS on
your keyboard.

These are tokens. Your goal is
test your skils by eating them.
To gain points, you must eat
tokens that match your own
color. If you eat a token that
doesn't match your color, you'll
lose points. Every time you eat
a token, your own color will
change.

You have to be fast, though.
You have limited time and if
you linger over your food too
long, you will starve. The
faster you finish a level, the
more time you'll have for the
next one.

BON APETIT!

Next

Next

Previous

Previous

<p align="center"><font face="04b_30" size="18" color="#4e2c47" letterSpacing="0.000000" kerning="1">+10</font></p>

<p align="center"><font face="04b_30" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1">+10</font></p>

<p align="center"><font face="04b_30" size="22" color="#4e2c47" letterSpacing="0.000000" kerning="1">-100</font></p>

<p align="center"><font face="04b_30" size="22" color="#ffffff" letterSpacing="0.000000" kerning="1">-100</font></p>

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

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

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

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

Level

Level

Score

Score

Score to
next Level

Score to
next Level

Time

Time

GAME OVER!

GAME
OVER!
Try again.

Send Score

Name

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

Score sent!

MORE GAMES

MORE GAMES

MORE GAMES

ADD GAME

ADD GAME

ADD GAME

<p align="center"><font face="Lynx" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.arcadepod.com" target = "_blank">arcadepod.com</a></font></p>

ArcadePod.com

ArcadePod.com

PLAY

Welcome

BACK

BACK

BACK

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } MochiAd.showPreGameAd({id:"a9e738e568f0e1f2", res:"550x400"}); __com_mochibot__("fa4a1a6e", this, 10301, true); mochi.MochiServices.connect("a9e738e568f0e1f2"); Stage.showMenu = false;
Frame 2
stop();
Frame 3
stop();
Frame 4
_global.user_id = 0; if (v_id != undefined) { _global.user_id = v_id; } _global.user_name = "Visitor"; if (v_nm != undefined) { _global.user_name = v_nm; } welcome.text = ("Welcome " + _global.user_name) + ""; hud.scoreSent.text = ""; btnBack.onRelease = function () { gotoAndStop ("inGame"); }; btnPlay._alpha = 100; btnPlay.enabled = true; btnBack.onLoad = function () { btnBack._alpha = 0; btnBack.enabled = false; }; if (game.htpFunction == 1) { btnPlay._x = -1000; btnBack._alpha = 100; btnBack.enabled = true; } btnPlay.onRelease = function () { gotoAndStop ("inGame"); game.htpFunction = 2; };
Instance of Symbol 366 MovieClip [Board] "board" in Frame 4
//component parameters onClipEvent (construct) { cols = 8; contentID = ""; rows = 8; tileID = "Tile"; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 360 MovieClip [Game] "game" in Frame 4
//component parameters onClipEvent (construct) { extensionScoreBase = 3000; extensionScoreDelta = 100; extensionScoreDeltaBreak = 400; extensionSeconds = 20; foodPerTint = 3; initialSeconds = 25; levelBreak = 6; matchScore = []; matchScore[0] = 100; matchScore[1] = 200; matchScore[2] = 300; matchScore[3] = 400; matchScore[4] = 500; matchScore[5] = 600; matchScore[6] = 700; mismatchPenalty = []; mismatchPenalty[0] = 100; mismatchPenalty[1] = 200; mismatchPenalty[2] = 300; mismatchPenalty[3] = 400; mismatchPenalty[4] = 500; mismatchPenalty[5] = 600; mismatchPenalty[6] = 700; visible = true; minHeight = 0; minWidth = 0; }
Frame 5
hud.scoreSent.text = ""; if ((game.isPaused == false) && (game.isPlay == false)) { btnPlay._alpha = 100; btnPlay.enabled = true; btnReset._alpha = 0; btnReset.enabled = false; hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; } else if ((game.isPaused == false) && (game.isPlay == true)) { btnPlay._alpha = 0; btnPlay.enabled = false; hud.btnPause._alpha = 100; hud.btnPause.btnPause.enabled = true; btnReset._alpha = 100; btnReset.enabled = true; } else if ((game.isPaused == true) && (game.isPlay == true)) { btnPlay._alpha = 0; btnPlay.enabled = false; hud.btnPause._alpha = 100; hud.btnPause.btnPause.enabled = true; btnReset._alpha = 100; btnReset.enabled = true; } hud.btnHow.enabled = true; hud.btnHow._alpha = 100; btnDEasy._alpha = 0; btnDEasy.enabled = false; btnDNormal._alpha = 0; btnDNormal.enabled = false; btnDHard._alpha = 0; btnDHard.enabled = false; if (btnDEasy._x > 0) { btnDEasy._x = btnDEasy._x - 300; } if (btnDNormal._x > 0) { btnDNormal._x = btnDNormal._x - 300; } if (btnDHard._x > 0) { btnDHard._x = btnDHard._x - 300; } if (game.isOver == true) { hud.gameOver._alpha = 100; hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; if (game.isScore == false) { if ((_global.user_id != 0) and (_global.user_id != undefined)) { hud.btnScore._alpha = 100; hud.btnScore.enabled = true; } } } if (game.isScore == false) { hud.sendScore._alpha = 0; hud.sendScore.btnScore._alpha = 0; hud.sendScore.btnScore.enabled = false; hud.sendScore.playerName.text = ""; hud.sendScore.playerName._x = hud.sendScore.playerName._x - 1000; } btnPlay.onRelease = function () { hud.scoreSent.text = ""; game.isPaused = true; hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; btnReset._alpha = 0; btnReset.enabled = false; hud.btnHow._alpha = 0; hud.btnHow.enabled = false; hud.btnHScore._alpha = 0; hud.btnHScore.enabled = false; hud.gameOver._alpha = 0; hud.sendScore._alpha = 0; btnDEasy._alpha = 100; btnDEasy.enabled = true; btnDNormal._alpha = 100; btnDNormal.enabled = true; btnDHard._alpha = 100; btnDHard.enabled = true; btnDEasy._x = btnDEasy._x + 300; btnDNormal._x = btnDNormal._x + 300; btnDHard._x = btnDHard._x + 300; btnReset._alpha = 100; btnReset.enabled = true; btnPlay._alpha = 0; btnPlay.enabled = false; game.htpFunction = 1; }; hud.btnHow.onRelease = function () { hud.btnHow._alpha = 0; hud.btnHow.enabled = false; hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; hud.gameOver._alpha = 0; if (game.isPlay == true) { game.isPaused = true; hud.btnPause.gotoAndStop("restart"); } gotoAndStop ("howToPlay"); hud.scoreSent.text = ""; }; hud.btnHScore.onRelease = function () { getURL ("http://www.cuaticgames.com/", _blank); }; hud.sendScore.btnScore.onRelease = function () { hud.sendScore._alpha = 0; hud.sendScore.btnScore._alpha = 0; hud.sendScore.btnScore.enabled = false; hud.btnHow._alpha = 100; hud.btnHow.enabled = true; btnReset._alpha = 100; btnReset.enabled = true; game.submitScore(hud.sendScore.playerName.text); hud.sendScore.playerName.text = ""; hud.sendScore.playerName._x = hud.sendScore.playerName._x - 1000; game.isScore = true; }; hud.btnScore.onRelease = function () { hud.scoreSent.text = "Score Sent!"; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; _global.user_name = "Visitor"; _global.user_id = 0; if (v_id != undefined) { _global.user_id = v_id; } if (v_nm != undefined) { _global.user_name = v_nm; } userx.name_txt.text = ("- " + _global.user_name) + " -"; if (_global.user_id != 0) { scoreboard_lv = new LoadVars(); scoreboard_lv.l = game.difficulty - 1; scoreboard_lv.n = _global.user_name; scoreboard_lv.i = _global.user_id; scoreboard_lv.s = game.score; scoreboard_lv.u = this._url; scoreboard_lv.g = "6716"; scoreboard_lv.sendAndLoad("http://www.arcadepod.com/xpro/game_score.php", scoreboard_lv, "POST"); } }; btnReset.onRelease = function () { hud.scoreSent.text = ""; game.isPaused = true; hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; btnReset._alpha = 0; btnReset.enabled = false; hud.btnHow._alpha = 0; hud.btnHow.enabled = false; hud.btnHScore._alpha = 0; hud.btnHScore.enabled = false; hud.gameOver._alpha = 0; hud.sendScore._alpha = 0; btnDEasy._alpha = 100; btnDEasy.enabled = true; btnDNormal._alpha = 100; btnDNormal.enabled = true; btnDHard._alpha = 100; btnDHard.enabled = true; btnDEasy._x = btnDEasy._x + 300; btnDNormal._x = btnDNormal._x + 300; btnDHard._x = btnDHard._x + 300; }; btnDNormal.onRelease = function () { game.initialSeconds = 30; game.extensionSeconds = 25; game.extensionScoreBase = 3000; game.extensionScoreDelta = 600; game.extensionScoreDeltaBreak = 1200; game.restartGame(hud, board, background); game.isOver = false; hud.btnPause.gotoAndStop("pause"); game.isPaused = false; hud.btnPause._alpha = 100; hud.btnPause.btnPause.enabled = true; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; game.isScore = false; btnReset._alpha = 100; btnReset.enabled = true; hud.btnHow.enabled = true; hud.btnHow._alpha = 100; btnDEasy._alpha = 0; btnDEasy.enabled = false; btnDNormal._alpha = 0; btnDNormal.enabled = false; btnDHard._alpha = 0; btnDHard.enabled = false; btnDEasy._x = btnDEasy._x - 300; btnDNormal._x = btnDNormal._x - 300; btnDHard._x = btnDHard._x - 300; hud.timePlus.valueField.valueA.text = "+" + game.extensionSeconds; hud.timePlus.valueField.valueB.text = "+" + game.extensionSeconds; game.difficulty = 2; }; btnDEasy.onRelease = function () { game.initialSeconds = 35; game.extensionSeconds = 30; game.extensionScoreBase = 3000; game.extensionScoreDelta = 200; game.extensionScoreDeltaBreak = 400; game.restartGame(hud, board, background); game.isOver = false; hud.btnPause.gotoAndStop("pause"); game.isPaused = false; hud.btnPause._alpha = 100; hud.btnPause.btnPause.enabled = true; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; game.isScore = false; btnReset._alpha = 100; btnReset.enabled = true; hud.btnHow.enabled = true; hud.btnHow._alpha = 100; btnDEasy._alpha = 0; btnDEasy.enabled = false; btnDNormal._alpha = 0; btnDNormal.enabled = false; btnDHard._alpha = 0; btnDHard.enabled = false; btnDEasy._x = btnDEasy._x - 300; btnDNormal._x = btnDNormal._x - 300; btnDHard._x = btnDHard._x - 300; hud.timePlus.valueField.valueA.text = "+" + game.extensionSeconds; hud.timePlus.valueField.valueB.text = "+" + game.extensionSeconds; game.difficulty = 1; }; btnDHard.onRelease = function () { game.initialSeconds = 25; game.extensionSeconds = 20; game.extensionScoreBase = 3000; game.extensionScoreDelta = 600; game.extensionScoreDeltaBreak = 1200; game.restartGame(hud, board, background); game.isOver = false; hud.btnPause.gotoAndStop("pause"); game.isPaused = false; hud.btnPause._alpha = 100; hud.btnPause.btnPause.enabled = true; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; game.isScore = false; btnReset._alpha = 100; btnReset.enabled = true; hud.btnHow.enabled = true; hud.btnHow._alpha = 100; btnDEasy._alpha = 0; btnDEasy.enabled = false; btnDNormal._alpha = 0; btnDNormal.enabled = false; btnDHard._alpha = 0; btnDHard.enabled = false; btnDEasy._x = btnDEasy._x - 300; btnDNormal._x = btnDNormal._x - 300; btnDHard._x = btnDHard._x - 300; hud.timePlus.valueField.valueA.text = "+" + game.extensionSeconds; hud.timePlus.valueField.valueB.text = "+" + game.extensionSeconds; game.difficulty = 3; }; if (game.htpFunction == 2) { game.isPaused = true; hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; btnReset._alpha = 0; btnReset.enabled = false; hud.btnHow._alpha = 0; hud.btnHow.enabled = false; hud.btnHScore._alpha = 0; hud.btnHScore.enabled = false; hud.gameOver._alpha = 0; hud.sendScore._alpha = 0; btnDEasy._alpha = 100; btnDEasy.enabled = true; btnDNormal._alpha = 100; btnDNormal.enabled = true; btnDHard._alpha = 100; btnDHard.enabled = true; btnDEasy._x = btnDEasy._x + 300; btnDNormal._x = btnDNormal._x + 300; btnDHard._x = btnDHard._x + 300; btnReset._alpha = 100; btnReset.enabled = true; btnPlay._alpha = 0; btnPlay.enabled = false; game.htpFunction = 1; }
Symbol 67 MovieClip [foodCoin] Frame 1
#initclip 37 Object.registerClass("foodCoin", Coin); #endinitclip stop();
Symbol 67 MovieClip [foodCoin] Frame 2
stop();
Symbol 67 MovieClip [foodCoin] Frame 3
stop();
Symbol 67 MovieClip [foodCoin] Frame 4
stop();
Symbol 67 MovieClip [foodCoin] Frame 5
stop();
Symbol 67 MovieClip [foodCoin] Frame 6
stop();
Symbol 67 MovieClip [foodCoin] Frame 7
stop();
Symbol 67 MovieClip [foodCoin] Frame 8
stop();
Symbol 67 MovieClip [foodCoin] Frame 9
stop();
Symbol 67 MovieClip [foodCoin] Frame 10
stop();
Symbol 67 MovieClip [foodCoin] Frame 11
stop();
Symbol 68 MovieClip [coinEffect] Frame 1
#initclip 32 Object.registerClass("coinEffect", CoinEffect); #endinitclip
Symbol 70 MovieClip [coin] Frame 1
#initclip 33 Object.registerClass("coin", Coin); #endinitclip
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 7
stop();
Symbol 80 MovieClip [Background] Frame 1
stop();
Symbol 80 MovieClip [Background] Frame 5
fadeFinished();
Symbol 121 MovieClip [Avatar] Frame 1
#initclip 28 Object.registerClass("Avatar", Avatar); #endinitclip
Symbol 121 MovieClip [Avatar] Frame 5
animationFinished();
Symbol 121 MovieClip [Avatar] Frame 10
animationFinished();
Symbol 121 MovieClip [Avatar] Frame 15
animationFinished();
Symbol 121 MovieClip [Avatar] Frame 20
animationFinished();
Symbol 142 MovieClip Frame 5
stop();
Symbol 144 Button
on (release) { if (page < 4) { page++; gotoAndStop(page); } }
Symbol 150 MovieClip Frame 5
stop();
Symbol 151 Button
on (release) { if (page > 1) { page--; gotoAndStop(page); } }
Symbol 212 MovieClip [Food] Frame 1
#initclip 29 Object.registerClass("Food", Food); #endinitclip
Symbol 223 Button
on (release) { if (page < 6) { page++; gotoAndStop(page); } }
Symbol 227 Button
on (release) { if (page > 1) { page--; gotoAndStop(page); } }
Symbol 228 MovieClip [instructions] Frame 1
stop(); page = 1; btPrevious._alpha = 0; btPrevious.enabled = false;
Instance of Symbol 121 MovieClip [Avatar] in Symbol 228 MovieClip [instructions] Frame 1
//component parameters onClipEvent (construct) { direction = "left"; tint = 1; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 228 MovieClip [instructions] Frame 2
btPrevious._alpha = 100; btPrevious.enabled = true; btNext._alpha = 100; btNext.enabled = true;
Instance of Symbol 212 MovieClip [Food] in Symbol 228 MovieClip [instructions] Frame 2
//component parameters onClipEvent (construct) { tint = 1; value = 1; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 212 MovieClip [Food] in Symbol 228 MovieClip [instructions] Frame 2
//component parameters onClipEvent (construct) { tint = 3; value = 1; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 212 MovieClip [Food] in Symbol 228 MovieClip [instructions] Frame 2
//component parameters onClipEvent (construct) { tint = 5; value = 2; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 212 MovieClip [Food] in Symbol 228 MovieClip [instructions] Frame 2
//component parameters onClipEvent (construct) { tint = 2; value = 3; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 212 MovieClip [Food] in Symbol 228 MovieClip [instructions] Frame 2
//component parameters onClipEvent (construct) { tint = 1; value = 2; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 212 MovieClip [Food] in Symbol 228 MovieClip [instructions] Frame 2
//component parameters onClipEvent (construct) { tint = 2; value = 1; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 228 MovieClip [instructions] Frame 3
btPrevious._alpha = 100; btPrevious.enabled = true; btNext._alpha = 100; btNext.enabled = true;
Symbol 228 MovieClip [instructions] Frame 4
btNext._alpha = 0; btNext.enabled = false;
Symbol 233 MovieClip [timeSum] Frame 1
#initclip 34 Object.registerClass("timeSum", TimeSumEffect); #endinitclip stop();
Symbol 233 MovieClip [timeSum] Frame 26
gotoAndStop ("blank");
Symbol 236 MovieClip [bgTime] Frame 1
stop();
Symbol 236 MovieClip [bgTime] Frame 20
gotoAndStop (1);
Symbol 236 MovieClip [bgTime] Frame 31
gotoAndStop (1);
Symbol 240 MovieClip [scorePenalty] Frame 1
stop();
Symbol 240 MovieClip [scorePenalty] Frame 26
gotoAndStop ("blank");
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 20
gotoAndStop (1);
Symbol 244 MovieClip Frame 39
gotoAndStop (1);
Symbol 280 MovieClip Frame 5
stop();
Symbol 289 MovieClip Frame 5
stop();
Symbol 296 MovieClip Frame 5
stop();
Symbol 298 MovieClip Frame 1
stop(); btnPause.onRelease = function () { gotoAndStop ("restart"); _root.game.isPaused = true; };
Symbol 298 MovieClip Frame 2
stop(); btnPause.onRelease = function () { gotoAndStop ("pause"); _root.game.isPaused = false; };
Symbol 304 MovieClip Frame 5
stop();
Symbol 311 MovieClip Frame 5
stop();
Symbol 313 MovieClip Frame 1
stop(); btnSound.onRelease = function () { gotoAndStop ("soundOn"); _root.game.hud.soundAlarm.setVolume(0); _root.game.hud.soundError.setVolume(0); _root.game.hud.soundLevel.setVolume(0); _root.game.hud.soundClock.setVolume(0); };
Symbol 313 MovieClip Frame 2
stop(); btnSound.onRelease = function () { gotoAndStop ("soundOff"); _root.game.hud.soundAlarm.setVolume(85); _root.game.hud.soundError.setVolume(85); _root.game.hud.soundLevel.setVolume(85); _root.game.hud.soundClock.setVolume(85); };
Symbol 322 MovieClip Frame 5
stop();
Symbol 332 MovieClip Frame 5
stop();
Symbol 342 MovieClip Frame 5
stop();
Symbol 343 Button
on (release) { getURL ("http://www.arcadepod.com/", "_blank"); }
Symbol 352 MovieClip Frame 5
stop();
Symbol 353 Button
on (release) { getURL ("http://www.arcadepod.com/free_games_for_website.php", "_blank"); }
Symbol 358 MovieClip [HUD] Frame 1
#initclip 35 Object.registerClass("HUD", HUD); #endinitclip
Instance of Symbol 355 MovieClip in Symbol 358 MovieClip [HUD] Frame 1
on (release) { getURL ("http://www.cuaticgames.com/", _blank); }
Symbol 360 MovieClip [Game] Frame 1
#initclip 36 Object.registerClass("Game", Game); #endinitclip
Symbol 362 MovieClip Frame 1
stop();
Symbol 363 MovieClip [Tile] Frame 1
#initclip 30 Object.registerClass("Tile", Tile); #endinitclip stop();
Symbol 363 MovieClip [Tile] Frame 5
animationFinished();
Symbol 366 MovieClip [Board] Frame 1
#initclip 31 Object.registerClass("Board", Board); #endinitclip
Symbol 100 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; function UIObject () { super(); constructObject(); } function get width() { return(_width); } function get height() { return(_height); } function get left() { return(_x); } function get x() { return(_x); } function get top() { return(_y); } function get y() { return(_y); } function get right() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + height)); } function getMinHeight(Void) { return(_minHeight); } function setMinHeight(h) { _minHeight = h; } function get minHeight() { return(getMinHeight()); } function set minHeight(h) { setMinHeight(h); //return(minHeight); } function getMinWidth(Void) { return(_minWidth); } function setMinWidth(w) { _minWidth = w; } function get minWidth() { return(getMinWidth()); } function set minWidth(w) { setMinWidth(w); //return(minWidth); } function setVisible(x, noEvent) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "reveal" : "hide")}); } } } function get visible() { return(_visible); } function set visible(x) { setVisible(x, false); //return(visible); } function get scaleX() { return(_xscale); } function set scaleX(x) { _xscale = x; //return(scaleX); } function get scaleY() { return(_yscale); } function set scaleY(y) { _yscale = y; //return(scaleY); } function doLater(obj, fn) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local3 = __width; var _local2 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj)); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.2.127"; static var textColorList = {color:1, disabledColor:1}; var invalidateFlag = false; var lineWidth = 1; var lineColor = 0; var tabEnabled = false; var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1}; }
Symbol 122 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip { var _visible, _x, _y, _width, _height; function SkinElement () { super(); } static function registerElement(name, className) { Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className))); _global.skinRegistry[name] = true; } function __set__visible(visible) { _visible = visible; } function move(x, y) { _x = x; _y = y; } function setSize(w, h) { _width = w; _height = h; } }
Symbol 123 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(o, bColor) { o.addProperty("textAlign", function () { return(this._tf.align); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty("fontWeight", function () { return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == "bold"; }); if (bColor) { o.addProperty("color", function () { return(this._tf.color); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty("fontFamily", function () { return(this._tf.font); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty("textIndent", function () { return(this._tf.indent); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty("fontStyle", function () { return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == "italic"; }); o.addProperty("marginLeft", function () { return(this._tf.leftMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty("marginRight", function () { return(this._tf.rightMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty("fontSize", function () { return(this._tf.size); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty("textDecoration", function () { return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == "underline"; }); o.addProperty("embedFonts", function () { return(this._tf.embedFonts); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); } }
Symbol 125 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } static function classConstruct() { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return(true); } static var classConstructed = classConstruct(); static var CSSTextStylesDependency = mx.styles.CSSTextStyles; }
Symbol 124 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager { function StyleManager () { } static function registerInheritingStyle(styleName) { inheritingStyles[styleName] = true; } static function isInheritingStyle(styleName) { return(inheritingStyles[styleName] == true); } static function registerColorStyle(styleName) { colorStyles[styleName] = true; } static function isColorStyle(styleName) { return(colorStyles[styleName] == true); } static function registerColorName(colorName, colorValue) { colorNames[colorName] = colorValue; } static function isColorName(colorName) { return(colorNames[colorName] != undefined); } static function getColorName(colorName) { return(colorNames[colorName]); } static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true}; static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true}; static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344}; static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false}; static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true}; }
Symbol 466 MovieClip [__Packages.Game] Frame 0
class Game extends mx.core.UIObject { var coinEffect, attachMovie, getNextHighestDepth, hud, board, background, level, secondsLeft, initialSeconds, score, nextExtensionReq, extensionScoreBase, nextExtensionAt, maxValueForTint, foodPerTint, timerID, matchScore, mismatchPenalty, levelBreak, extensionScoreDelta, extensionScoreDeltaBreak, extensionSeconds; function Game () { super(); } function startGame(hud, board, background) { coinEffect = attachMovie("coinEffect", "", getNextHighestDepth(), {_x:167, _y:72}); this.hud = hud; this.board = board; this.background = background; level = 1; secondsLeft = initialSeconds; score = 0; nextExtensionReq = extensionScoreBase; nextExtensionAt = extensionScoreBase; hud.__set__currentLevel(1); hud.__set__secondsLeft(secondsLeft); hud.__set__score(score); hud.__set__extensionAt(nextExtensionAt); var _local3; maxValueForTint = new Array(); _local3 = 1; while (_local3 <= MAX_TINT) { maxValueForTint[_local3] = 3; var _local2; _local2 = 0; while (_local2 < foodPerTint) { board.addItem("Food", {tint:_local3, maxValue:maxValueForTint[_local3]}); _local2++; } _local3++; } if (board.__get__avatar() == undefined) { board.createAvatar("Avatar", {maxTint:MAX_TINT, direction:"left"}); } else { board.__get__avatar().setRandomTint(); } board.onItemEaten = mx.utils.Delegate.create(this, onItemEaten); Key.addListener(this); timerID = setInterval(this, "onTimer", 1000); isPlay = true; } function stopGame() { board.__get__avatar().clearQueue(); Key.removeListener(this); clearInterval(timerID); hud.gameOver._alpha = 100; if ((_global.user_id != 0) and (_global.user_id != undefined)) { hud.btnScore._alpha = 100; hud.btnScore.enabled = true; hud.btnHScore._alpha = 100; hud.btnHScore.enabled = true; } hud.btnPause._alpha = 0; hud.btnPause.btnPause.enabled = false; isOver = true; } function restartGame(_hud, _board, _background) { board.__get__avatar().clearQueue(); Key.removeListener(this); clearInterval(timerID); board.reset(); startGame(_hud, _board, _background); hud.gameOver._alpha = 0; hud.btnScore._alpha = 0; hud.btnScore.enabled = false; hud.btnHScore._alpha = 0; hud.btnHScore.enabled = false; hud.btnPause._alpha = 100; hud.btnPause.btnPause.enabled = false; } function onKeyDown() { if (isPaused == false) { switch (Key.getCode()) { case 37 : board.__get__avatar().moveTowards(Direction.LEFT); break; case 38 : board.__get__avatar().moveTowards(Direction.UP); break; case 39 : board.__get__avatar().moveTowards(Direction.RIGHT); break; case 40 : board.__get__avatar().moveTowards(Direction.DOWN); } } } function onItemEaten(avatar, item) { if (isPaused == false) { if (item instanceof Food) { var _local2 = Food(item); if (avatar.__get__tint() == _local2.__get__tint()) { score = score + matchScore[_local2.__get__value() - 1]; if (_local2.__get__value() >= 7) { hud.soundSi.start(0, 1); } else if (_local2.__get__value() == 6) { hud.soundLa.start(0, 1); } else if (_local2.__get__value() == 5) { hud.soundSol.start(0, 1); } else if (_local2.__get__value() == 4) { hud.soundFa.start(0, 1); } else if (_local2.__get__value() == 3) { hud.soundMi.start(0, 1); } else if (_local2.__get__value() == 2) { hud.soundRe.start(0, 1); } else if (_local2.__get__value() == 1) { hud.soundDo.start(0, 1); } coinEffect.initAnim(avatar._x, avatar._y, _local2.__get__value(), _local2.__get__tint()); } else { score = score - mismatchPenalty[_local2.__get__value() - 1]; hud.scoreLess.valueField.valueA.text = ("-" + mismatchPenalty[_local2.__get__value() - 1]) + "!!"; hud.scoreLess.valueField.valueB.text = ("-" + mismatchPenalty[_local2.__get__value() - 1]) + "!!"; hud.scoreLess.gotoAndPlay("plusten"); hud.soundError.start(0, 1); hud.bgScore.gotoAndPlay("playAnim"); } hud.__set__score(score); if (score >= nextExtensionAt) { level++; if (level <= levelBreak) { nextExtensionReq = nextExtensionReq + extensionScoreDelta; nextExtensionAt = nextExtensionAt + nextExtensionReq; } else if (level > levelBreak) { nextExtensionReq = nextExtensionReq + extensionScoreDeltaBreak; nextExtensionAt = nextExtensionAt + nextExtensionReq; } secondsLeft = secondsLeft + extensionSeconds; extensionSeconds--; hud.__set__extensionAt(nextExtensionAt); hud.__set__secondsLeft(secondsLeft); hud.timePlus.timePlus(extensionSeconds); hud.__set__currentLevel(level); hud.soundLevel.start(0, 1); hud.lero.gotoAndPlay("playAnim"); if (level < 22) { var _local4 = ((level - 2) % MAX_TINT) + 1; maxValueForTint[_local4]++; avatar.__get__board().addItem("Food", {tint:_local4, value:maxValueForTint[_local4]}); } } var _local9 = avatar.__get__tint(); avatar.setNextRandomTint(MAX_TINT); avatar.__get__board().addItem("Food", {tint:_local2.__get__tint(), maxValue:maxValueForTint[_local2.__get__tint()]}); } } } function onTimer() { if (isPaused == false) { secondsLeft--; hud.__set__secondsLeft(secondsLeft); if (secondsLeft <= 10) { hud.soundAlarm.start(0, 1); hud.lero.gotoAndPlay("wrongAnim"); } else if (secondsLeft > 10) { hud.soundClock.start(0, 1); } if (secondsLeft <= 0) { stopGame(); } } } function submitScore(playerName) { if (difficulty == 1) { mochi.MochiScores.setBoardID("040977c309331ff4"); } else if (difficulty == 2) { mochi.MochiScores.setBoardID("374105dc3547d362"); } else if (difficulty == 3) { mochi.MochiScores.setBoardID("631e4003f4841987"); } mochi.MochiScores.submit(score, playerName, this, "scoreSubmitted"); } function scoreSubmitted(scores) { } static var MAX_TINT = 5; var isPaused = false; var isPlay = false; var isOver = false; var isScore = false; var difficulty = 1; }
Symbol 467 MovieClip [__Packages.HUD] Frame 0
class HUD extends MovieClip { var soundClock, soundError, soundLevel, soundAlarm, soundDo, soundRe, soundMi, soundFa, soundSol, soundLa, soundSi, gameOver, btnScore, btnHScore, btnPause, btnHow, mPattern, _currentLevel, currentLevelText, _secondsLeft, secondsLeftText, _score, scoreText, extensionAtText, _extensionAt, perfIndicator; function HUD () { super(); soundClock = new Sound(); soundError = new Sound(); soundLevel = new Sound(); soundAlarm = new Sound(); soundDo = new Sound(); soundRe = new Sound(); soundMi = new Sound(); soundFa = new Sound(); soundSol = new Sound(); soundLa = new Sound(); soundSi = new Sound(); soundClock.attachSound("soundClock"); soundError.attachSound("soundError"); soundLevel.attachSound("soundLevel"); soundAlarm.attachSound("soundAlarm"); soundDo.attachSound("_do"); soundRe.attachSound("_re"); soundMi.attachSound("_mi"); soundFa.attachSound("_fa"); soundSol.attachSound("_sol"); soundLa.attachSound("_la"); soundSi.attachSound("_si"); soundClock.setVolume(85); soundError.setVolume(85); soundLevel.setVolume(85); soundAlarm.setVolume(85); soundDo.setVolume(85); soundRe.setVolume(85); soundMi.setVolume(85); soundFa.setVolume(85); soundSol.setVolume(85); soundLa.setVolume(85); soundSi.setVolume(85); gameOver._alpha = 0; btnScore._alpha = 0; btnScore.enabled = false; btnHScore._alpha = 0; btnHScore.enabled = false; btnPause._alpha = 0; btnPause.btnPause.enabled = false; btnHow._alpha = 100; btnHow.enabled = true; mPattern = new MusicPattern(); } function get currentLevel() { return(_currentLevel); } function set currentLevel(newValue) { _currentLevel = newValue; currentLevelText.text = "" + _currentLevel; updateAfterEvent(); //return(currentLevel); } function get secondsLeft() { return(_secondsLeft); } function set secondsLeft(newValue) { _secondsLeft = newValue; secondsLeftText.text = "" + secondsLeft; updateAfterEvent(); //return(secondsLeft); } function get score() { return(_score); } function set score(newValue) { _score = newValue; scoreText.text = "" + score; extensionAtText.text = "" + (extensionAt - score); updateAfterEvent(); //return(score); } function get extensionAt() { return(_extensionAt); } function set extensionAt(newValue) { _extensionAt = newValue; extensionAtText.text = "" + (extensionAt - score); updateAfterEvent(); //return(extensionAt); } function indicatePerformance(grade) { perfIndicator.gotoAndPlay(grade); } }
Symbol 468 MovieClip [__Packages.MusicPattern] Frame 0
class MusicPattern { var lastNotes; function MusicPattern () { lastNotes = new Array(); var _local2 = 0; while (_local2 < LONG) { lastNotes[_local2] = 0; _local2++; } } function checkPattern(note) { trace("======================"); lastNotes[0] = lastNotes[1]; lastNotes[1] = lastNotes[2]; lastNotes[2] = lastNotes[3]; lastNotes[3] = lastNotes[4]; lastNotes[4] = lastNotes[5]; lastNotes[5] = note; melodyPlay = true; var _local2 = 0; while (_local2 < LONG) { trace((((((("lastNotes[" + _local2) + "] = ") + lastNotes[_local2]) + " y melody[") + _local2) + "] = ") + melody[_local2]); if (lastNotes[_local2] != melody[_local2]) { melodyPlay = false; _local2 = 100; } _local2++; } trace("Melody Play: " + melodyPlay); } static var LONG = 6; var melodyPlay = false; var melody = [1, 1, 2, 2, 3, 3]; }
Symbol 101 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; function UIComponent () { super(); } function get width() { return(__width); } function get height() { return(__height); } function setVisible(x, noEvent) { super.setVisible(x, noEvent); } function enabledChanged(id, oldValue, newValue) { setEnabled(newValue); invalidate(); delete stylecache.tf; return(newValue); } function setEnabled(enabled) { invalidate(); } function getFocus() { var selFocus = Selection.getFocus(); return(((selFocus === null) ? null : (eval (selFocus)))); } function setFocus() { Selection.setFocus(this); } function getFocusManager() { var _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { setEnabled(false); } } function dispatchValueChangedEvent(value) { dispatchEvent({type:"valueChanged", value:value}); } static var symbolName = "UIComponent"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.127"; static var kStretch = 5000; var focusEnabled = true; var tabEnabled = true; var origBorderStyles = {themeColor:16711680}; var clipParameters = {}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 126 MovieClip [__Packages.Board] Frame 0
class Board extends mx.core.UIComponent { var _width, _height, setSize, _contentID, content, invalidate, _tileID, _rows, _cols, _avatar, items, tiles, destroyObject, createObject, background, createEmptyMovieClip, width, boundingBox, height; function Board () { super(); } function init() { var _local4 = _width; var _local3 = _height; super.init(); setSize(_local4, _local3); } function set contentID(value) { if (_contentID == value) { return; } _contentID = value; if (content != undefined) { destroyContent(); } invalidate(); //return(contentID); } function get contentID() { return(_contentID); } function set tileID(value) { if (_tileID == value) { return; } _tileID = value; if ((content != undefined) && ((contentID == "") || (contentID == undefined))) { destroyContent(); } invalidate(); //return(tileID); } function get tileID() { return(_tileID); } function set cols(newValue) { resizeGrid(newValue, _rows); //return(cols); } function get cols() { return(_cols); } function set rows(newValue) { resizeGrid(_cols, newValue); //return(rows); } function get rows() { return(_rows); } function get avatar() { return(_avatar); } function resizeGrid(newCols, newRows, forceReset) { if (((newCols == _cols) && (newRows == _rows)) && (!forceReset)) { return(undefined); } _cols = newCols; _rows = newRows; createGrid(); if (content != undefined) { destroyContent(); } invalidate(); } function reset() { var _local3; var _local2; _local3 = 0; while (_local3 < cols) { _local2 = 0; while (_local2 < rows) { if (items[_local3][_local2] != null) { removeItem(items[_local3][_local2]); } _local2++; } _local3++; } destroyAvatar(); resetTrail(); } function getTile(col, row) { if ((((col < 0) || (row < 0)) || (col >= cols)) || (row >= rows)) { return(null); } return(tiles[col][row]); } function getItem(col, row) { return(items[col][row]); } function destroyContent() { var _local3; var _local2; destroyObject("content"); content = undefined; } function createContent() { content = createObject(_contentID, "content", 0, {_x:background._x + CONTENT_X, _y:background._y + CONTENT_Y}); var board = this; var oldEvent = content.onEnterFrame; content.onEnterFrame = function () { this.onEnterFrame = oldEvent; board.populateGrid(); this.onEnterFrame(); }; } function createGrid() { if ((cols == undefined) || (rows == undefined)) { return(undefined); } var _local3; var _local2; tiles = new Array(); items = new Array(); _local3 = 0; while (_local3 < cols) { tiles[_local3] = new Array(); items[_local3] = new Array(); _local2 = 0; while (_local2 < rows) { tiles[_local3][_local2] = null; items[_local3][_local2] = null; _local2++; } _local3++; } } function generateContent(tileLinkageID) { var _local3; var _local2; var _local7 = tileLinkageID; if (_local7 == undefined) { _local7 = tileID; } if (_local7 == undefined) { return(undefined); } content = createEmptyMovieClip("content", 0); content._x = background._x + CONTENT_X; content._y = background._y + CONTENT_Y; _local3 = 0; while (_local3 < cols) { _local2 = 0; while (_local2 < rows) { var _local4 = Tile(content.attachMovie(_local7, (("tile_" + _local3) + "_") + _local2, content.getNextHighestDepth(), {_x:_local3 * Tile.WIDTH, _y:_local2 * Tile.HEIGHT})); tiles[_local3][_local2] = _local4; _local4.placedOnto(this, _local3, _local2); _local2++; } _local3++; } content._width = cols * Tile.WIDTH; content._height = rows * Tile.HEIGHT; } function populateGrid() { var _local3; var _local2; var _local9; var _local8; if (content == undefined) { return(undefined); } var _local7; for (_local7 in content) { var _local4 = content[_local7]; if (_local4 instanceof Tile) { var _local5 = Tile(_local4); _local3 = Math.floor(_local4._x / Tile.WIDTH); _local2 = Math.floor(_local4._y / Tile.HEIGHT); tiles[_local3][_local2] = _local5; } if (_local4 instanceof Item) { var _local6 = Item(_local4); _local3 = Math.floor(_local4._x / Tile.WIDTH); _local2 = Math.floor(_local4._y / Tile.HEIGHT); items[_local3][_local2] = _local6; } if (_local4 instanceof Avatar) { _local9 = Math.floor(_local4._x / Tile.WIDTH); _local8 = Math.floor(_local4._y / Tile.HEIGHT); _avatar = Avatar(_local4); } } _local3 = 0; while (_local3 < cols) { _local2 = 0; while (_local2 < rows) { tiles[_local3][_local2].placedOnto(this, _local3, _local2); items[_local3][_local2].placedOnto(this, _local3, _local2); _local2++; } _local3++; } avatar.placedOnto(this, _local9, _local8); } function size() { boundingBox._width = width; boundingBox._height = height; invalidate(); } function draw() { background._width = BORDER_WIDTH + (cols * Tile.WIDTH); background._height = BORDER_HEIGHT + (rows * Tile.HEIGHT); if (content != undefined) { content._x = background._x + CONTENT_X; content._y = background._y + CONTENT_Y; } else if ((contentID != "") && (contentID != undefined)) { createContent(); } else if ((tileID != "") && (tileID != undefined)) { generateContent(tileID); } } function createAvatar(linkageID, initParams) { if (content == undefined) { return(undefined); } var _local3 = Math.floor(Math.random() * cols); var _local2 = Math.floor(Math.random() * rows); while ((tiles[_local3][_local2] == null) || (!tiles[_local3][_local2].canPlaceAvatar())) { _local3 = Math.floor(Math.random() * cols); _local2 = Math.floor(Math.random() * rows); } var _local4 = content.getNextHighestDepth(); var _local5 = {_x:_local3 * Tile.WIDTH, _y:_local2 * Tile.HEIGHT, initParams:initParams}; _avatar = Avatar(content.attachMovie(linkageID, "avatar", _local4, _local5)); _avatar.placedOnto(this, _local3, _local2); } function destroyAvatar() { if (avatar == undefined) { return(undefined); } avatar.__get__tile().__set__state(Tile.STATE_NORMAL); if (avatar.getDepth() < 0) { avatar.swapDepths(content.getNextHighestDepth()); } avatar.removeMovieClip(); _avatar = undefined; } function addItem(linkageID, initParams) { if (content == undefined) { return(undefined); } var _local4 = Math.floor(Math.random() * cols); var _local3 = Math.floor(Math.random() * rows); var _local2 = tiles[_local4][_local3]; while ((_local2 == null) || (!_local2.canPlaceItem())) { _local4 = Math.floor(Math.random() * cols); _local3 = Math.floor(Math.random() * rows); _local2 = tiles[_local4][_local3]; } var _local6 = content.getNextHighestDepth(); var _local7 = {_x:_local4 * Tile.WIDTH, _y:_local3 * Tile.HEIGHT, initParams:initParams}; var _local5 = Item(content.attachMovie(linkageID, (("food_" + linkageID) + "_") + _local6, _local6, _local7)); items[_local4][_local3] = _local5; avatar.swapDepths(_local5); _local5.placedOnto(this, _local4, _local3); return(_local5); } function removeItem(item) { item.__get__tile().__set__state(Tile.STATE_NORMAL); if (item.getDepth() < 0) { item.swapDepths(content.getNextHighestDepth()); } items[item.__get__col()][item.__get__row()] = null; item.removeMovieClip(); } function onItemEaten(avatar, item) { } function resetTrail() { var _local4; var _local3; _local4 = 0; while (_local4 < cols) { _local3 = 0; while (_local3 < rows) { var _local2 = tiles[_local4][_local3]; if ((_local2 != null) && (_local2.__get__state() == Tile.STATE_TRAIL)) { _local2.__set__state(Tile.STATE_NORMAL); } _local3++; } _local4++; } } static var CONTENT_X = 24; static var CONTENT_Y = 24; static var BORDER_WIDTH = 48; static var BORDER_HEIGHT = 48; }
Symbol 102 MovieClip [__Packages.BoardElement] Frame 0
class BoardElement extends mx.core.UIComponent { var _board, _col, _row, cacheAsBitmap, onEnterFrame; function BoardElement () { super(); } function get board() { return(_board); } function get col() { return(_col); } function get row() { return(_row); } function placedOnto(theBoard, inCol, inRow) { _board = theBoard; _col = inCol; _row = inRow; cacheAsBitmap = true; } function enteredFrame() { } function doLaterDispatcher() { super.doLaterDispatcher(); if (onEnterFrame == null) { onEnterFrame = enteredFrame; } } function cancelAllDoLaters() { super.cancelAllDoLaters(); if (onEnterFrame == null) { onEnterFrame = enteredFrame; } } }
Symbol 103 MovieClip [__Packages.Avatar] Frame 0
class Avatar extends BoardElement { var moveQueue, randomTintSet, initParams, _tile, _direction, _tint, _state, __proto__, __get__board, gotoAndStop, shape; function Avatar () { super(); moveQueue = new Array(); randomTintSet = [1, 2, 3, 4, 5]; if (initParams != undefined) { if (initParams.tint != undefined) { tint = (initParams.tint); } else if (initParams.maxTint != undefined) { setRandomTint(initParams.maxTint); } if (initParams.direction != undefined) { direction = (initParams.direction); } } } function get tile() { return(_tile); } function set direction(value) { var _local2 = Direction.parse(value); if (_direction != _local2) { _direction = _local2; directionChanged(); } //return(direction); } function get direction() { return(_direction); } function set tint(value) { _tint = value; if (_tint < 1) { _tint = 1; } if (_tint > 6) { _tint = 6; } tintChanged(); //return(tint); } function get tint() { return(_tint); } function get state() { return(_state); } function setState(newState) { if (newState.prototype.__proto__ != AvatarState.prototype) { return(undefined); } leavingState(); _state = newState; __proto__ = state.prototype; enteringState(); } function placedOnto(theBoard, inCol, inRow) { super.placedOnto(theBoard, inCol, inRow); _tile = __get__board().getTile(inCol, inRow); _tile.__set__state(Tile.STATE_AVATAR); if (state == null) { setState(AvatarIdle); } } function setRandomTint(maxTint) { randomTintSet = [1, 2, 3, 4, 5]; var _local2 = Math.floor(Math.random() * maxTint); tint = (randomTintSet[_local2]); randomTintSet[_local2] = randomTintSet[maxTint - 1]; randomTintSet[maxTint - 1] = tint; } function setNextRandomTint(maxTint) { var _local2 = Math.floor(Math.random() * (maxTint - 1)); tint = (randomTintSet[_local2]); randomTintSet[_local2] = randomTintSet[maxTint - 1]; randomTintSet[maxTint - 1] = tint; } function enqueueMove(whither) { moveQueue.push(whither); } function processQueue() { var _local2 = Direction(moveQueue.shift()); while ((_local2 != null) && (!moveTowards(_local2))) { _local2 = Direction(moveQueue.shift()); } return(_local2 != null); } function clearQueue() { moveQueue = new Array(); } function enteredFrame() { animating(); } function enteringState() { } function leavingState() { } function draw() { } function directionChanged() { gotoAndStop(direction + "_idle"); } function tintChanged() { shape.gotoAndStop("tint" + tint); } function animating() { } function animationFinished() { } function moveTowards(whither) { return(false); } }
Symbol 127 MovieClip [__Packages.Direction] Frame 0
class Direction extends String { function Direction (text) { super(text); } static function parse(text) { if (text == LEFT) { return(LEFT); } if (text == UP) { return(UP); } if (text == RIGHT) { return(RIGHT); } if (text == DOWN) { return(DOWN); } trace("return null"); return(null); } static function opposite(direction) { switch (direction) { case LEFT : return(RIGHT); case UP : return(DOWN); case RIGHT : return(LEFT); case DOWN : return(UP); } } static var LEFT = new Direction("left"); static var UP = new Direction("up"); static var RIGHT = new Direction("right"); static var DOWN = new Direction("down"); }
Symbol 128 MovieClip [__Packages.Tile] Frame 0
class Tile extends BoardElement { var __get__row, __get__col, __get__board, nextStateClip, gotoAndPlay, currentStateClip, gotoAndStop; function Tile () { super(); } function get item() { return(__get__board().items[__get__col()][__get__row()]); } function get state() { return(_state); } function set state(newValue) { if (newValue == _state) { return; } var _local2 = _state; _state = newValue; if ((_local2 == STATE_NONE) || (_local2 == STATE_TRAIL)) { animationFinished(); return; } nextStateClip.gotoAndStop(STATE_NAMES[_state]); gotoAndPlay("animate"); //return(state); } function animationFinished() { currentStateClip.gotoAndStop(STATE_NAMES[_state]); gotoAndStop("idle"); } function placedOnto(theBoard, inCol, inRow) { super.placedOnto(theBoard, inCol, inRow); if (state == STATE_NONE) { state = (STATE_NORMAL); } } function getNeighbor(which) { switch (which) { case Direction.LEFT : return(__get__board().getTile(__get__col() - 1, __get__row())); case Direction.UP : return(__get__board().getTile(__get__col(), __get__row() - 1)); case Direction.RIGHT : return(__get__board().getTile(__get__col() + 1, __get__row())); case Direction.DOWN : return(__get__board().getTile(__get__col(), __get__row() + 1)); } return(null); } function canMoveOut(avatar, whither) { return(true); } function canMoveIn(avatar, whence) { return(true); } function movedIn(avatar, whence) { avatar.processQueue(); } function canPlaceItem() { return((item == null) && (__get__board().avatar.tile != this)); } function canPlaceAvatar() { return(item == null); } function toString() { return(((("[" + __get__col()) + ",") + __get__row()) + "]"); } static var WIDTH = 32; static var HEIGHT = 32; static var STATE_NORMAL = 0; static var STATE_ITEM = 1; static var STATE_TRAIL = 2; static var STATE_AVATAR = 3; static var STATE_NONE = -1; static var STATE_NAMES = ["normal", "item", "trail", "avatar"]; var _state = STATE_NONE; }
Symbol 129 MovieClip [__Packages.Item] Frame 0
class Item extends BoardElement { var _tile, __get__board, __get__col, __get__row; function Item () { super(); } function get tile() { return(_tile); } function placedOnto(theBoard, inCol, inRow) { super.placedOnto(theBoard, inCol, inRow); _tile = __get__board().getTile(__get__col(), __get__row()); _tile.__set__state(Tile.STATE_ITEM); } }
Symbol 130 MovieClip [__Packages.AvatarState] Frame 0
class AvatarState extends Avatar { function AvatarState () { super(); } }
Symbol 131 MovieClip [__Packages.AvatarIdle] Frame 0
class AvatarIdle extends AvatarState { var _x, __get__tile, _y, gotoAndStop, __get__direction, __set__direction, setState; function AvatarIdle () { super(); } function enteringState() { _x = __get__tile()._x; _y = __get__tile()._y; gotoAndStop(__get__direction() + "_idle"); } function moveTowards(whither) { if (!__get__tile().canMoveOut(this, whither)) { return(false); } var _local2 = __get__tile().getNeighbor(whither); if (_local2 == null) { return(false); } if (!_local2.canMoveIn(this, Direction.opposite(whither))) { return(false); } __set__direction(whither); setState(AvatarWalking); return(true); } }
Symbol 132 MovieClip [__Packages.AvatarWalking] Frame 0
class AvatarWalking extends AvatarState { var destTile, __get__tile, __get__direction, gotoAndPlay, shape, __get__board, _tile, setState, enqueueMove; function AvatarWalking () { super(); } function enteringState() { destTile = __get__tile().getNeighbor(__get__direction()); gotoAndPlay(__get__direction() + "_walk"); __get__tile().__set__state(Tile.STATE_TRAIL); destTile.__set__state(Tile.STATE_AVATAR); } function directionChanged() { } function animating() { var _local2 = destTile.__get__item(); if (_local2 != null) { if (shape.hitTest(_local2.boundingBox)) { __get__board().onItemEaten(this, _local2); __get__board().removeItem(_local2); __get__board().resetTrail(); } } } function animationFinished() { _tile = destTile; setState(AvatarIdle); __get__tile().movedIn(this, Direction.opposite(__get__direction())); } function moveTowards(whither) { enqueueMove(whither); return(false); } }
Symbol 469 MovieClip [__Packages.Background] Frame 0
class Background extends MovieClip { var currentTint, gotoAndStop, currentTintClip, nextTint, gotoAndPlay, nextTintClip; function Background () { super(); } function setTint(newTint) { currentTint = newTint; gotoAndStop("idle"); currentTintClip.gotoAndStop("tint" + currentTint); } function fadeTint(newTint) { nextTint = newTint; gotoAndPlay("start_fade"); nextTintClip.gotoAndStop("tint" + nextTint); } function fadeFinished() { setTint(nextTint); } }
Symbol 470 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 154 MovieClip [__Packages.Food] Frame 0
class Food extends Item { var initParams, _tint, invalidate, _value, gotoAndStop; function Food () { super(); if (initParams != undefined) { if (initParams.tint != undefined) { tint = (initParams.tint); } else if (initParams.tintSet != undefined) { tint = (initParams.tintSet[Math.floor(Math.random() * initParams.tintSet.length)]); } else if ((initParams.minTint != undefined) || (initParams.maxTint != undefined)) { var _local4 = ((initParams.minTint != undefined) ? (initParams.minTint) : 1); var _local5 = ((initParams.maxTint != undefined) ? (initParams.maxTint) : 5); tint = (Math.floor(Math.random() * ((_local5 - _local4) + 1)) + _local4); } if (initParams.value != undefined) { value = (initParams.value); } else if (initParams.valueSet != undefined) { value = (initParams.valueSet[Math.floor(Math.random() * initParams.valueSet.length)]); } else if ((initParams.minValue != undefined) || (initParams.maxValue != undefined)) { var _local3 = ((initParams.minValue != undefined) ? (initParams.minValue) : 1); var _local6 = ((initParams.maxValue != undefined) ? (initParams.maxValue) : 7); value = (Math.floor(Math.random() * ((_local6 - _local3) + 1)) + _local3); } } } function set tint(newTint) { _tint = newTint; if (_tint < 1) { _tint = 1; } if (_tint > 5) { _tint = 5; } invalidate(); //return(tint); } function get tint() { return(_tint); } function set value(newValue) { _value = newValue; if (_value < 1) { _value = 1; } if (_value > 7) { _value = 7; } invalidate(); //return(value); } function get value() { return(_value); } function draw() { super.draw(); gotoAndStop((("value" + value) + "_tint") + tint); } }
Symbol 471 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores { static var boardID, onClose, onError; function MochiScores () { } static function setBoardID(boardID) { mochi.MochiScores.boardID = boardID; mochi.MochiServices.send("scores_setBoardID", {boardID:boardID}); } static function showLeaderboard(options) { if (options.clip != null) { if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) { mochi.MochiServices.disconnect(); mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip); } delete options.clip; } if (options.name != null) { if (typeof(options.name) == "object") { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (typeof(options.score) == "object") { if (options.score.text != undefined) { options.score = options.score.text; } } } if (options.onDisplay != null) { options.onDisplay(); } else { mochi.MochiServices.__get__clip().stop(); } if (options.onClose != null) { onClose = options.onClose; } else { onClose = function () { mochi.MochiServices.__get__clip().play(); }; } if (options.onError != null) { onError = options.onError; } else { onError = onClose; } if (options.boardID == null) { if (boardID != null) { options.boardID = boardID; } } mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose); } static function closeLeaderboard() { mochi.MochiServices.send("scores_closeLeaderboard"); } static function getPlayerInfo(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod); } static function submit(score, name, callbackObj, callbackMethod) { mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod); } static function requestList(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod); } static function scoresArrayToObjects(scores) { var _local5 = {}; var _local1; var _local4; var _local2; var _local6; for (var _local8 in scores) { if (typeof(scores[_local8]) == "object") { if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) { _local5[_local8] = []; _local2 = scores[_local8]; _local4 = 0; while (_local4 < _local2.rows.length) { _local6 = {}; _local1 = 0; while (_local1 < _local2.cols.length) { _local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1]; _local1++; } _local5[_local8].push(_local6); _local4++; } } else { _local5[_local8] = {}; for (var _local7 in scores[_local8]) { _local5[_local8][_local7] = scores[_local8][_local7]; } } } else { _local5[_local8] = scores[_local8]; } } return(_local5); } static function doClose(args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = "IOError"; } onError.apply(null, [args.errorCode]); } else { onClose.apply(); } } }
Symbol 472 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices { static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel; function MochiServices () { } static function get id() { return(_id); } static function get clip() { return(_container); } static function get childClip() { return(_clip); } static function getVersion() { return("1.32"); } static function allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function get isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function set comChannelName(val) { if (val != undefined) { if (val.length > 3) { _sendChannelName = val + "_fromgame"; _rcvChannelName = val; initComChannels(); } } //return(__get__comChannelName()); } static function get connected() { return(_connected); } static function connect(id, clip, onError) { if ((!_connected) && (_clip == undefined)) { trace("MochiServices Connecting..."); _connecting = true; init(id, clip); } if (onError != undefined) { mochi.MochiServices.onError = onError; } else if (mochi.MochiServices.onError == undefined) { mochi.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } static function disconnect() { if (_connected || (_connecting)) { _connecting = (_connected = false); flush(true); if (_clip != undefined) { _clip.removeMovieClip(); delete _clip; } _listenChannel.close(); _rcvChannel.close(); } } static function init(id, clip) { _id = id; if (clip != undefined) { _container = clip; } else { _container = _root; } loadCommunicator(id, _container); } static function loadCommunicator(id, clip) { var _local2 = "_mochiservices_com_" + id; if (_clip != null) { return(_clip); } if (!isNetworkAvailable) { return(null); } allowDomains(_gatewayURL); _clip = clip.createEmptyMovieClip(_local2, 10336, false); _loader = new MovieClipLoader(); if (_loaderListener.waitInterval != null) { clearInterval(_loaderListener.waitInterval); } _loaderListener = {}; _loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) { trace("MochiServices could not load."); mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, [errorCode]); }; _loaderListener.onLoadStart = function (target_mc) { this.isLoading = true; }; _loaderListener.startTime = getTimer(); _loaderListener.wait = function () { if ((getTimer() - this.startTime) > 10000) { if (!this.isLoading) { mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, ["IOError"]); } clearInterval(this.waitInterval); } }; _loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000); _loader.addListener(_loaderListener); _loader.loadClip(_gatewayURL, _clip); _sendChannel = new LocalConnection(); _sendChannel._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain = function (d) { return(true); }; _rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain; _rcvChannel._nextcallbackID = 0; _rcvChannel._callbacks = {}; listen(); return(_clip); } static function onStatus(infoObject) { if (!(infoObject.level === "error")) { } else { _connected = false; _listenChannel.connect(_listenChannelName); } } static function listen() { _listenChannel = new LocalConnection(); _listenChannel.handshake = function (args) { mochi.MochiServices.__set__comChannelName(args.newChannel); }; _listenChannel.allowDomain = function (d) { return(true); }; _listenChannel.allowInsecureDomain = _listenChannel.allowDomain; _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } static function initComChannels() { if (!_connected) { _sendChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()}); _rcvChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _rcvChannel.onReceive = function (pkg) { var _local5 = pkg.callbackID; var _local4 = this._callbacks[_local5]; if (!_local4) { return(undefined); } var _local2 = _local4.callbackMethod; var _local3 = _local4.callbackObject; if (_local3 && (typeof(_local2) == "string")) { _local2 = _local3[_local2]; } if (_local2 != undefined) { _local2.apply(_local3, pkg.args); } delete this._callbacks[_local5]; }; _rcvChannel.onError = function () { mochi.MochiServices.onError.apply(null, ["IOError"]); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_sendChannel._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift()); } } } static function flush(error) { var _local1; var _local2; while (_sendChannel._queue.length > 0) { _local1 = _sendChannel._queue.shift(); if (_local1.callbackID != null) { _local2 = _rcvChannel._callbacks[_local1.callbackID]; } delete _rcvChannel._callbacks[_local1.callbackID]; if (error) { handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod); } } } static function handleError(args, callbackObject, callbackMethod) { 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) && (typeof(callbackMethod) == "string")) { callbackObject[callbackMethod](args); } else if (callbackMethod != null) { callbackMethod.apply(args); } } } static function send(methodName, args, callbackObject, callbackMethod) { if (_connected) { _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } else { if ((_clip == undefined) || (!_connecting)) { onError.apply(null, ["NotConnected"]); handleError(args, callbackObject, callbackMethod); flush(true); return(undefined); } _sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } _rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _rcvChannel._nextcallbackID++; } static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf"; static var _listenChannelName = "__mochiservices"; static var _connecting = false; static var _connected = false; }
Symbol 473 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.5"); } static function showPreGameAd(options) { var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }, ad_progress:function (percent) { }}; options = _parseOptions(options, _local26); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local22 = 11000; var _local25 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4); if (options.no_progress_bar) { _local6._visible = false; delete options.no_progress_bar; } else { _local6._x = 10; _local6._y = _local13 - 20; } var _local21 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local6.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local23, 100); _local7.moveTo(0, 0); _local7.lineTo(_local4 - 20, 0); _local7.lineTo(_local4 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local22; chk.ad_timeout = _local25; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; var sendHostProgress = false; mc.lc.sendHostLoadProgress = function (lc_name) { sendHostProgress = true; }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local11 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local2 = (100 * _local8) / _local4; var _local10 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local13 = Math.min(100, Math.min(_local2 || 0, _local10)); _local13 = Math.max(this.last_pcnt, _local13); this.last_pcnt = _local13; _local9._xscale = _local13; options.ad_progress(_local13); if (sendHostProgress) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2}); if (_local2 == 100) { sendHostProgress = false; } } if (!chk.showing) { var _local7 = _local11.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showClickAwayAd(options) { var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () { }, ad_finished:function () { }, ad_loaded:function (width, height) { }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function () { }}; options = _parseOptions(options, _local9); var clip = options.clip; var _local8 = options.ad_timeout; delete options.ad_timeout; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local4 = _getRes(options); var _local10 = _local4[0]; var _local7 = _local4[1]; mc._x = _local10 * 0.5; mc._y = _local7 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_timeout = _local8; chk.started = getTimer(); chk.showing = false; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; var _local20 = false; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { _local2 = true; chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local2) { delete this.onEnterFrame; } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showPreloaderAd(options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(options); } static function showTimedAd(options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } if (clip._mochiad._containerLCName != undefined) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"}); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } static function rpc(clip, callbackID, arg) { switch (arg.id) { case "setValue" : setValue(clip, arg.objectName, arg.value); break; case "getValue" : var _local4 = getValue(clip, arg.objectName); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4); break; case "runMethod" : var _local3 = runMethod(clip, arg.method, arg.args); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3); break; default : trace("[mochiads rpc] unknown rpc id: " + arg.id); } } static function setValue(base, objectName, value) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } base[_local2[_local1]] = value; } static function getValue(base, objectName) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } return(base[_local2[_local1]]); } static function runMethod(base, methodName, argsArray) { var _local2 = methodName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } if (typeof(base[_local2[_local1]]) == "function") { return(base[_local2[_local1]].apply(base, argsArray)); } return(undefined); } }
Symbol 474 MovieClip [__Packages.CoinEffect] Frame 0
class CoinEffect extends MovieClip { var attachMovie, getNextHighestDepth; function CoinEffect () { super(); } function initAnim(xValue, yValue, num, color) { attachMovie("coin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, _xscale:20, _yscale:20, _alpha:80}); attachMovie("coin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, _xscale:30, _yscale:30, _alpha:80}); attachMovie("coin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, _xscale:50, _yscale:50, _alpha:80}); attachMovie("coin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, _xscale:60, _yscale:60, _alpha:80}); if (num == 1) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } else if (num == 2) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } else if (num == 3) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } else if (num == 4) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } else if (num == 5) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } else if (num == 6) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } else if (num == 7) { attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); attachMovie("foodCoin", "", getNextHighestDepth(), {_x:xValue, _y:yValue, color:color}); } } }
Symbol 475 MovieClip [__Packages.Coin] Frame 0
class Coin extends MovieClip { var coinID, gotoAndStop, _x, _y, removeMovieClip; function Coin () { super(); coinID = setInterval(this, "moveCoin", 40); rotate = 60 - Math.floor(Math.random() * 120); yspeed = -10 - Math.floor(Math.random() * 10); } function moveCoin() { gotoAndStop("value1_tint" + color); _x = _x - (xspeed * Math.sin(rotate / 57.3)); _y = _y + yspeed; yspeed = yspeed + grav; if (_y > Stage.height) { removeMovieClip(); } } var grav = 5; var yspeed = -15; var xspeed = 15; var rotate = 0; var color = 0; }
Symbol 476 MovieClip [__Packages.TimeSumEffect] Frame 0
class TimeSumEffect extends MovieClip { var seconds, gotoAndPlay; function TimeSumEffect () { super(); } function timePlus(plusSecs) { seconds.secondsLeftText.text = "+" + plusSecs; gotoAndPlay("plusten"); } }
Symbol 392 MovieClip Frame 146
stop(); _root.gotoAndStop("splashscreen");
Symbol 401 Button
on (release) { _root.gotoAndStop("howToPlay"); }
Symbol 402 MovieClip Frame 20
stop();
Instance of Symbol 395 MovieClip in Symbol 402 MovieClip Frame 20
on (release) { getURL ("http://www.arcadepod.com", "_blank"); }
Symbol 429 MovieClip Frame 5
stop();
Symbol 436 MovieClip Frame 5
stop();
Symbol 443 MovieClip Frame 5
stop();
Symbol 450 MovieClip Frame 5
stop();
Symbol 457 MovieClip Frame 5
stop();
Symbol 464 MovieClip Frame 5
stop();

Library Items

Symbol 1 Sound [soundLevel]
Symbol 2 Sound [soundError]
Symbol 3 Sound [soundClock]
Symbol 4 Sound [soundAlarm]
Symbol 5 Sound [_sol]
Symbol 6 Sound [_si]
Symbol 7 Sound [_re]
Symbol 8 Sound [_mi]
Symbol 9 Sound [_la]
Symbol 10 Sound [_fa]
Symbol 11 Sound [_do]
Symbol 12 GraphicUsed by:67
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:67
Symbol 15 GraphicUsed by:67
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:67
Symbol 18 GraphicUsed by:67
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:67
Symbol 21 GraphicUsed by:67
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:67
Symbol 24 GraphicUsed by:67
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:67
Symbol 27 GraphicUsed by:67
Symbol 28 GraphicUsed by:67
Symbol 29 GraphicUsed by:67
Symbol 30 GraphicUsed by:67
Symbol 31 GraphicUsed by:67
Symbol 32 GraphicUsed by:67
Symbol 33 GraphicUsed by:67
Symbol 34 GraphicUsed by:67
Symbol 35 GraphicUsed by:67
Symbol 36 GraphicUsed by:67
Symbol 37 GraphicUsed by:67
Symbol 38 GraphicUsed by:67
Symbol 39 GraphicUsed by:67
Symbol 40 GraphicUsed by:67
Symbol 41 GraphicUsed by:67
Symbol 42 GraphicUsed by:67
Symbol 43 GraphicUsed by:67
Symbol 44 GraphicUsed by:67
Symbol 45 GraphicUsed by:67
Symbol 46 GraphicUsed by:67
Symbol 47 GraphicUsed by:67
Symbol 48 GraphicUsed by:67
Symbol 49 GraphicUsed by:67
Symbol 50 GraphicUsed by:67
Symbol 51 GraphicUsed by:67
Symbol 52 GraphicUsed by:67
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:67
Symbol 55 GraphicUsed by:67
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:67
Symbol 58 GraphicUsed by:67
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:67
Symbol 61 GraphicUsed by:67
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:67
Symbol 64 GraphicUsed by:67
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClip [foodCoin]Uses:12 14 15 17 18 20 21 23 24 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 54 55 57 58 60 61 63 64 66
Symbol 68 MovieClip [coinEffect]
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClip [coin]Uses:69
Symbol 71 GraphicUsed by:79
Symbol 72 GraphicUsed by:79
Symbol 73 GraphicUsed by:79
Symbol 74 GraphicUsed by:79
Symbol 75 GraphicUsed by:79
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:71 72 73 74 75 76 77 78Used by:80
Symbol 80 MovieClip [Background]Uses:79
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:228 262 282
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:95 228 282
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:95 228 282
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:95 228 282
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:95 228 282
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:95 228 282
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:95 228 282
Symbol 95 MovieClipUses:84 86 88 90 92 94Used by:228 262
Symbol 96 FontUsed by:97 215
Symbol 97 TextUses:96Used by:228
Symbol 98 FontUsed by:99 213 214
Symbol 99 TextUses:98Used by:228
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:121 212 366
Symbol 106 GraphicUsed by:121
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:121
Symbol 109 GraphicUsed by:115
Symbol 110 GraphicUsed by:115
Symbol 111 GraphicUsed by:115
Symbol 112 GraphicUsed by:115
Symbol 113 GraphicUsed by:115
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:109 110 111 112 113 114Used by:121
Symbol 116 ShapeTweeningUsed by:121
Symbol 117 GraphicUsed by:121
Symbol 118 ShapeTweeningUsed by:121
Symbol 119 ShapeTweeningUsed by:121
Symbol 120 ShapeTweeningUsed by:121
Symbol 121 MovieClip [Avatar]Uses:105 106 108 115 116 117 118 119 120Used by:228
Symbol 133 GraphicUsed by:144
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:142 144 150 151 289 290 296 297 304 305 311 312 429 430 436 437 443 444 450 451 457 458 464 465
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:142 144
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:144 151 290 297 305 312 430 437 444 451 458 465
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:142 150 289 296 304 311 429 436 443 450 457 464
Symbol 142 MovieClipUses:141 135 137Used by:144
Symbol 143 GraphicUsed by:144 151 281 290 297 305 312 323 333 343 353 390 430 437 444 451 458 465
Symbol 144 ButtonUses:133 135 137 139 142 143Used by:228
Symbol 145 GraphicUsed by:151
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:150 151
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:151
Symbol 150 MovieClipUses:141 135 147Used by:151
Symbol 151 ButtonUses:145 135 147 139 149 150 143Used by:228
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:228
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:212 362
Symbol 157 GraphicUsed by:212
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:212
Symbol 160 GraphicUsed by:212
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:212
Symbol 163 GraphicUsed by:212
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:212
Symbol 166 GraphicUsed by:212
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:212
Symbol 169 GraphicUsed by:212
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:212
Symbol 172 GraphicUsed by:212
Symbol 173 GraphicUsed by:212
Symbol 174 GraphicUsed by:212
Symbol 175 GraphicUsed by:212
Symbol 176 GraphicUsed by:212
Symbol 177 GraphicUsed by:212
Symbol 178 GraphicUsed by:212
Symbol 179 GraphicUsed by:212
Symbol 180 GraphicUsed by:212
Symbol 181 GraphicUsed by:212
Symbol 182 GraphicUsed by:212
Symbol 183 GraphicUsed by:212
Symbol 184 GraphicUsed by:212
Symbol 185 GraphicUsed by:212
Symbol 186 GraphicUsed by:212
Symbol 187 GraphicUsed by:212
Symbol 188 GraphicUsed by:212
Symbol 189 GraphicUsed by:212
Symbol 190 GraphicUsed by:212
Symbol 191 GraphicUsed by:212
Symbol 192 GraphicUsed by:212
Symbol 193 GraphicUsed by:212
Symbol 194 GraphicUsed by:212
Symbol 195 GraphicUsed by:212
Symbol 196 GraphicUsed by:212
Symbol 197 GraphicUsed by:212
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:212
Symbol 200 GraphicUsed by:212
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:201Used by:212
Symbol 203 GraphicUsed by:212
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:204Used by:212
Symbol 206 GraphicUsed by:212
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:212
Symbol 209 GraphicUsed by:212
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:212
Symbol 212 MovieClip [Food]Uses:105 156 157 159 160 162 163 165 166 168 169 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 199 200 202 203 205 206 208 209 211Used by:228
Symbol 213 TextUses:98Used by:228
Symbol 214 TextUses:98Used by:228
Symbol 215 TextUses:96Used by:228
Symbol 216 GraphicUsed by:223 227
Symbol 217 GraphicUsed by:223
Symbol 218 FontUsed by:219 221 225 226 260 264 266 267
Symbol 219 TextUses:218Used by:223
Symbol 220 GraphicUsed by:223 227
Symbol 221 TextUses:218Used by:223 227
Symbol 222 GraphicUsed by:223 227
Symbol 223 ButtonUses:216 217 219 220 221 222Used by:228
Symbol 224 GraphicUsed by:227
Symbol 225 TextUses:218Used by:227
Symbol 226 TextUses:218Used by:227
Symbol 227 ButtonUses:216 224 225 220 226 222 221Used by:228
Symbol 228 MovieClip [instructions]Uses:82 95 97 99 121 144 151 84 86 92 94 88 90 153 212 213 214 215 223 227Used by:Timeline
Symbol 229 FontUsed by:230 231 237 238 245 246 249 250 251 252 253 254 255 256 257 258 261 283 335 336 337 345 346 347 406 425 426 427
Symbol 230 EditableTextUses:229Used by:232
Symbol 231 EditableTextUses:229Used by:232
Symbol 232 MovieClipUses:230 231Used by:233
Symbol 233 MovieClip [timeSum]Uses:232Used by:358
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:236
Symbol 236 MovieClip [bgTime]Uses:235Used by:358
Symbol 237 EditableTextUses:229Used by:239
Symbol 238 EditableTextUses:229Used by:239
Symbol 239 MovieClipUses:237 238Used by:240
Symbol 240 MovieClip [scorePenalty]Uses:239Used by:358
Symbol 241 GraphicUsed by:358
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:244
Symbol 244 MovieClipUses:243Used by:358
Symbol 245 EditableTextUses:229Used by:358
Symbol 246 EditableTextUses:229Used by:358
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:358
Symbol 249 EditableTextUses:229Used by:358
Symbol 250 EditableTextUses:229Used by:358
Symbol 251 TextUses:229Used by:358
Symbol 252 TextUses:229Used by:358
Symbol 253 TextUses:229Used by:358
Symbol 254 TextUses:229Used by:358
Symbol 255 TextUses:229Used by:358
Symbol 256 TextUses:229Used by:358
Symbol 257 TextUses:229Used by:358
Symbol 258 TextUses:229Used by:358
Symbol 259 GraphicUsed by:262
Symbol 260 TextUses:218Used by:262
Symbol 261 TextUses:229Used by:262
Symbol 262 MovieClipUses:259 260 82 95 261Used by:358
Symbol 263 GraphicUsed by:282
Symbol 264 TextUses:218Used by:282
Symbol 265 GraphicUsed by:282
Symbol 266 TextUses:218Used by:282
Symbol 267 EditableTextUses:218Used by:282
Symbol 268 GraphicUsed by:281
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:269Used by:280 281 322 323 332 333 342 343 352 353
Symbol 271 GraphicUsed by:272
Symbol 272 MovieClipUses:271Used by:280 281
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:273Used by:281 323 333 343 353
Symbol 275 GraphicUsed by:276
Symbol 276 MovieClipUses:275Used by:281
Symbol 277 GraphicUsed by:280
Symbol 278 GraphicUsed by:280
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:277 270 272 278 279Used by:281
Symbol 281 ButtonUses:268 270 272 274 276 280 143Used by:282 358
Symbol 282 MovieClipUses:263 264 82 84 86 88 90 92 94 265 266 267 281Used by:358
Symbol 283 EditableTextUses:229Used by:358
Symbol 284 GraphicUsed by:290
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:289 290
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:287Used by:290
Symbol 289 MovieClipUses:141 135 286Used by:290
Symbol 290 ButtonUses:284 135 286 139 288 289 143Used by:298
Symbol 291 GraphicUsed by:297
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:296 297
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:297
Symbol 296 MovieClipUses:141 135 293Used by:297
Symbol 297 ButtonUses:291 135 293 139 295 296 143Used by:298
Symbol 298 MovieClipUses:290 297Used by:358
Symbol 299 GraphicUsed by:305
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClipUses:300Used by:304 305
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:302Used by:305
Symbol 304 MovieClipUses:141 135 301Used by:305
Symbol 305 ButtonUses:299 135 301 139 303 304 143Used by:313
Symbol 306 GraphicUsed by:312
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307Used by:311 312
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:309Used by:312
Symbol 311 MovieClipUses:141 135 308Used by:312
Symbol 312 ButtonUses:306 135 308 139 310 311 143Used by:313
Symbol 313 MovieClipUses:305 312Used by:358
Symbol 314 GraphicUsed by:323
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:322 323
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:323
Symbol 319 GraphicUsed by:322
Symbol 320 GraphicUsed by:322
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:319 270 316 320 321Used by:323
Symbol 323 ButtonUses:314 270 316 274 318 322 143Used by:358
Symbol 324 GraphicUsed by:333
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:332 333
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327Used by:333
Symbol 329 GraphicUsed by:332
Symbol 330 GraphicUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:329 270 326 330 331Used by:333
Symbol 333 ButtonUses:324 270 326 274 328 332 143Used by:358
Symbol 334 GraphicUsed by:343
Symbol 335 TextUses:229Used by:339 343
Symbol 336 TextUses:229Used by:339 343
Symbol 337 TextUses:229Used by:343
Symbol 338 GraphicUsed by:342
Symbol 339 MovieClipUses:335 336Used by:342
Symbol 340 GraphicUsed by:342
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:338 270 339 340 341Used by:343
Symbol 343 ButtonUses:334 270 335 336 274 337 342 143Used by:358
Symbol 344 GraphicUsed by:353
Symbol 345 TextUses:229Used by:349 353
Symbol 346 TextUses:229Used by:349 353
Symbol 347 TextUses:229Used by:353
Symbol 348 GraphicUsed by:352
Symbol 349 MovieClipUses:345 346Used by:352
Symbol 350 GraphicUsed by:352
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:348 270 349 350 351Used by:353
Symbol 353 ButtonUses:344 270 345 346 274 347 352 143Used by:358
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:354Used by:358
Symbol 356 FontUsed by:357 393 394
Symbol 357 EditableTextUses:356Used by:358
Symbol 358 MovieClip [HUD]Uses:241 244 245 246 240 248 236 233 249 250 251 252 253 254 255 256 257 258 262 282 283 298 313 323 281 333 343 353 355 357Used by:Timeline
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClip [Game]Uses:359Used by:Timeline
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:156 361Used by:363
Symbol 363 MovieClip [Tile]Uses:362
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:364Used by:366
Symbol 366 MovieClip [Board]Uses:105 365Used by:Timeline
Symbol 367 GraphicUsed by:389  Timeline
Symbol 100 MovieClip [__Packages.mx.core.UIObject]
Symbol 122 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 123 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 125 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 124 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 466 MovieClip [__Packages.Game]
Symbol 467 MovieClip [__Packages.HUD]
Symbol 468 MovieClip [__Packages.MusicPattern]
Symbol 101 MovieClip [__Packages.mx.core.UIComponent]
Symbol 126 MovieClip [__Packages.Board]
Symbol 102 MovieClip [__Packages.BoardElement]
Symbol 103 MovieClip [__Packages.Avatar]
Symbol 127 MovieClip [__Packages.Direction]
Symbol 128 MovieClip [__Packages.Tile]
Symbol 129 MovieClip [__Packages.Item]
Symbol 130 MovieClip [__Packages.AvatarState]
Symbol 131 MovieClip [__Packages.AvatarIdle]
Symbol 132 MovieClip [__Packages.AvatarWalking]
Symbol 469 MovieClip [__Packages.Background]
Symbol 470 MovieClip [__Packages.mx.utils.Delegate]
Symbol 154 MovieClip [__Packages.Food]
Symbol 471 MovieClip [__Packages.mochi.MochiScores]
Symbol 472 MovieClip [__Packages.mochi.MochiServices]
Symbol 473 MovieClip [__Packages.MochiAd]
Symbol 474 MovieClip [__Packages.CoinEffect]
Symbol 475 MovieClip [__Packages.Coin]
Symbol 476 MovieClip [__Packages.TimeSumEffect]
Symbol 368 GraphicUsed by:392
Symbol 369 GraphicUsed by:392
Symbol 370 GraphicUsed by:392
Symbol 371 GraphicUsed by:392
Symbol 372 GraphicUsed by:392
Symbol 373 GraphicUsed by:392
Symbol 374 GraphicUsed by:392
Symbol 375 GraphicUsed by:392
Symbol 376 GraphicUsed by:392
Symbol 377 GraphicUsed by:392
Symbol 378 GraphicUsed by:392
Symbol 379 GraphicUsed by:392
Symbol 380 GraphicUsed by:392
Symbol 381 GraphicUsed by:392
Symbol 382 GraphicUsed by:392
Symbol 383 GraphicUsed by:392
Symbol 384 BitmapUsed by:385
Symbol 385 GraphicUses:384Used by:386 390
Symbol 386 MovieClipUses:385Used by:392
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:392
Symbol 389 MovieClipUses:367Used by:392
Symbol 390 MovieClipUses:143 385Used by:392
Symbol 391 SoundUsed by:392
Symbol 392 MovieClipUses:368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 386 388 389 390 391Used by:Timeline
Symbol 393 TextUses:356Used by:395
Symbol 394 TextUses:356Used by:395
Symbol 395 MovieClipUses:393 394Used by:402
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:402
Symbol 398 GraphicUsed by:401
Symbol 399 FontUsed by:400
Symbol 400 TextUses:399Used by:401
Symbol 401 ButtonUses:398 400Used by:402
Symbol 402 MovieClipUses:395 397 401Used by:Timeline
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:403Used by:405
Symbol 405 MovieClipUses:404Used by:Timeline
Symbol 406 EditableTextUses:229Used by:Timeline
Symbol 407 GraphicUsed by:423
Symbol 408 GraphicUsed by:423
Symbol 409 GraphicUsed by:423
Symbol 410 GraphicUsed by:423
Symbol 411 GraphicUsed by:423
Symbol 412 GraphicUsed by:423
Symbol 413 GraphicUsed by:423
Symbol 414 GraphicUsed by:423
Symbol 415 GraphicUsed by:423
Symbol 416 GraphicUsed by:423
Symbol 417 GraphicUsed by:423
Symbol 418 GraphicUsed by:423
Symbol 419 GraphicUsed by:423
Symbol 420 GraphicUsed by:423
Symbol 421 GraphicUsed by:423
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422Used by:Timeline
Symbol 424 GraphicUsed by:430
Symbol 425 TextUses:229Used by:428 430
Symbol 426 TextUses:229Used by:428 430
Symbol 427 TextUses:229Used by:430
Symbol 428 MovieClipUses:425 426Used by:429
Symbol 429 MovieClipUses:141 135 428Used by:430
Symbol 430 ButtonUses:424 135 425 426 139 427 429 143Used by:Timeline
Symbol 431 GraphicUsed by:437
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:436 437
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClipUses:434Used by:437
Symbol 436 MovieClipUses:141 135 433Used by:437
Symbol 437 ButtonUses:431 135 433 139 435 436 143Used by:Timeline
Symbol 438 GraphicUsed by:444
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClipUses:439Used by:443 444
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:441Used by:444
Symbol 443 MovieClipUses:141 135 440Used by:444
Symbol 444 ButtonUses:438 135 440 139 442 443 143Used by:Timeline
Symbol 445 GraphicUsed by:451
Symbol 446 GraphicUsed by:447
Symbol 447 MovieClipUses:446Used by:450 451
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:448Used by:451
Symbol 450 MovieClipUses:141 135 447Used by:451
Symbol 451 ButtonUses:445 135 447 139 449 450 143Used by:Timeline
Symbol 452 GraphicUsed by:458
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:453Used by:457 458
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClipUses:455Used by:458
Symbol 457 MovieClipUses:141 135 454Used by:458
Symbol 458 ButtonUses:452 135 454 139 456 457 143Used by:Timeline
Symbol 459 GraphicUsed by:465
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:464 465
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:462Used by:465
Symbol 464 MovieClipUses:141 135 461Used by:465
Symbol 465 ButtonUses:459 135 461 139 463 464 143Used by:Timeline

Instance Names

"welcome"Frame 4Symbol 406 EditableText
"board"Frame 4Symbol 366 MovieClip [Board]
"game"Frame 4Symbol 360 MovieClip [Game]
"hud"Frame 4Symbol 358 MovieClip [HUD]
"btnBack"Frame 4Symbol 430 Button
"btnPlay"Frame 4Symbol 437 Button
"btnReset"Frame 5Symbol 444 Button
"btnPlay"Frame 5Symbol 437 Button
"btnDHard"Frame 5Symbol 451 Button
"btnDEasy"Frame 5Symbol 458 Button
"btnDNormal"Frame 5Symbol 465 Button
"currentTintClip"Symbol 80 MovieClip [Background] Frame 1Symbol 79 MovieClip
"nextTintClip"Symbol 80 MovieClip [Background] Frame 1Symbol 79 MovieClip
"shape"Symbol 121 MovieClip [Avatar] Frame 1Symbol 115 MovieClip
"boundingBox"Symbol 212 MovieClip [Food] Frame 1Symbol 105 MovieClip
"btNext"Symbol 228 MovieClip [instructions] Frame 1Symbol 144 Button
"btPrevious"Symbol 228 MovieClip [instructions] Frame 1Symbol 151 Button
"valueB"Symbol 232 MovieClip Frame 1Symbol 230 EditableText
"valueA"Symbol 232 MovieClip Frame 1Symbol 231 EditableText
"valueField"Symbol 233 MovieClip [timeSum] Frame 1Symbol 232 MovieClip
"valueB"Symbol 239 MovieClip Frame 1Symbol 237 EditableText
"valueA"Symbol 239 MovieClip Frame 1Symbol 238 EditableText
"valueField"Symbol 240 MovieClip [scorePenalty] Frame 1Symbol 239 MovieClip
"playerName"Symbol 282 MovieClip Frame 1Symbol 267 EditableText
"btnScore"Symbol 282 MovieClip Frame 1Symbol 281 Button
"btnPause"Symbol 298 MovieClip Frame 1Symbol 290 Button
"btnPause"Symbol 298 MovieClip Frame 2Symbol 297 Button
"btnSound"Symbol 313 MovieClip Frame 1Symbol 305 Button
"btnSound"Symbol 313 MovieClip Frame 2Symbol 312 Button
"bgScore"Symbol 358 MovieClip [HUD] Frame 1Symbol 244 MovieClip
"extensionAtText"Symbol 358 MovieClip [HUD] Frame 1Symbol 245 EditableText
"scoreText"Symbol 358 MovieClip [HUD] Frame 1Symbol 246 EditableText
"scoreLess"Symbol 358 MovieClip [HUD] Frame 1Symbol 240 MovieClip [scorePenalty]
"bgTime"Symbol 358 MovieClip [HUD] Frame 1Symbol 248 MovieClip
"lero"Symbol 358 MovieClip [HUD] Frame 1Symbol 236 MovieClip [bgTime]
"timePlus"Symbol 358 MovieClip [HUD] Frame 1Symbol 233 MovieClip [timeSum]
"currentLevelText"Symbol 358 MovieClip [HUD] Frame 1Symbol 249 EditableText
"secondsLeftText"Symbol 358 MovieClip [HUD] Frame 1Symbol 250 EditableText
"gameOver"Symbol 358 MovieClip [HUD] Frame 1Symbol 262 MovieClip
"sendScore"Symbol 358 MovieClip [HUD] Frame 1Symbol 282 MovieClip
"scoreSent"Symbol 358 MovieClip [HUD] Frame 1Symbol 283 EditableText
"btnPause"Symbol 358 MovieClip [HUD] Frame 1Symbol 298 MovieClip
"btnSound"Symbol 358 MovieClip [HUD] Frame 1Symbol 313 MovieClip
"btnHow"Symbol 358 MovieClip [HUD] Frame 1Symbol 323 Button
"btnScore"Symbol 358 MovieClip [HUD] Frame 1Symbol 281 Button
"btnHScore"Symbol 358 MovieClip [HUD] Frame 1Symbol 333 Button
"currentStateClip"Symbol 363 MovieClip [Tile] Frame 1Symbol 362 MovieClip
"nextStateClip"Symbol 363 MovieClip [Tile] Frame 2Symbol 362 MovieClip
"boundingBox"Symbol 366 MovieClip [Board] Frame 1Symbol 105 MovieClip
"background"Symbol 366 MovieClip [Board] Frame 1Symbol 365 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "soundLevel"
ExportAssets (56)Timeline Frame 1Symbol 2 as "soundError"
ExportAssets (56)Timeline Frame 1Symbol 3 as "soundClock"
ExportAssets (56)Timeline Frame 1Symbol 4 as "soundAlarm"
ExportAssets (56)Timeline Frame 1Symbol 5 as "_sol"
ExportAssets (56)Timeline Frame 1Symbol 6 as "_si"
ExportAssets (56)Timeline Frame 1Symbol 7 as "_re"
ExportAssets (56)Timeline Frame 1Symbol 8 as "_mi"
ExportAssets (56)Timeline Frame 1Symbol 9 as "_la"
ExportAssets (56)Timeline Frame 1Symbol 10 as "_fa"
ExportAssets (56)Timeline Frame 1Symbol 11 as "_do"
ExportAssets (56)Timeline Frame 1Symbol 67 as "foodCoin"
ExportAssets (56)Timeline Frame 1Symbol 68 as "coinEffect"
ExportAssets (56)Timeline Frame 1Symbol 70 as "coin"
ExportAssets (56)Timeline Frame 1Symbol 80 as "Background"
ExportAssets (56)Timeline Frame 1Symbol 121 as "Avatar"
ExportAssets (56)Timeline Frame 1Symbol 212 as "Food"
ExportAssets (56)Timeline Frame 1Symbol 228 as "instructions"
ExportAssets (56)Timeline Frame 1Symbol 233 as "timeSum"
ExportAssets (56)Timeline Frame 1Symbol 236 as "bgTime"
ExportAssets (56)Timeline Frame 1Symbol 240 as "scorePenalty"
ExportAssets (56)Timeline Frame 1Symbol 358 as "HUD"
ExportAssets (56)Timeline Frame 1Symbol 360 as "Game"
ExportAssets (56)Timeline Frame 1Symbol 363 as "Tile"
ExportAssets (56)Timeline Frame 1Symbol 366 as "Board"
ExportAssets (56)Timeline Frame 1Symbol 100 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 122 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 123 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 125 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 124 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 466 as "__Packages.Game"
ExportAssets (56)Timeline Frame 1Symbol 467 as "__Packages.HUD"
ExportAssets (56)Timeline Frame 1Symbol 468 as "__Packages.MusicPattern"
ExportAssets (56)Timeline Frame 1Symbol 101 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 126 as "__Packages.Board"
ExportAssets (56)Timeline Frame 1Symbol 102 as "__Packages.BoardElement"
ExportAssets (56)Timeline Frame 1Symbol 103 as "__Packages.Avatar"
ExportAssets (56)Timeline Frame 1Symbol 127 as "__Packages.Direction"
ExportAssets (56)Timeline Frame 1Symbol 128 as "__Packages.Tile"
ExportAssets (56)Timeline Frame 1Symbol 129 as "__Packages.Item"
ExportAssets (56)Timeline Frame 1Symbol 130 as "__Packages.AvatarState"
ExportAssets (56)Timeline Frame 1Symbol 131 as "__Packages.AvatarIdle"
ExportAssets (56)Timeline Frame 1Symbol 132 as "__Packages.AvatarWalking"
ExportAssets (56)Timeline Frame 1Symbol 469 as "__Packages.Background"
ExportAssets (56)Timeline Frame 1Symbol 470 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 154 as "__Packages.Food"
ExportAssets (56)Timeline Frame 1Symbol 471 as "__Packages.mochi.MochiScores"
ExportAssets (56)Timeline Frame 1Symbol 472 as "__Packages.mochi.MochiServices"
ExportAssets (56)Timeline Frame 1Symbol 473 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 474 as "__Packages.CoinEffect"
ExportAssets (56)Timeline Frame 1Symbol 475 as "__Packages.Coin"
ExportAssets (56)Timeline Frame 1Symbol 476 as "__Packages.TimeSumEffect"

Labels

"sponsor"Frame 1
"mochiad"Frame 2
"splashscreen"Frame 3
"howToPlay"Frame 4
"inGame"Frame 5
"value1_tint1"Symbol 67 MovieClip [foodCoin] Frame 1
"value1_tint2"Symbol 67 MovieClip [foodCoin] Frame 2
"value1_tint3"Symbol 67 MovieClip [foodCoin] Frame 3
"value1_tint4"Symbol 67 MovieClip [foodCoin] Frame 4
"value1_tint5"Symbol 67 MovieClip [foodCoin] Frame 5
"value2_tint1"Symbol 67 MovieClip [foodCoin] Frame 6
"value2_tint2"Symbol 67 MovieClip [foodCoin] Frame 7
"value2_tint3"Symbol 67 MovieClip [foodCoin] Frame 8
"value2_tint4"Symbol 67 MovieClip [foodCoin] Frame 9
"value2_tint5"Symbol 67 MovieClip [foodCoin] Frame 10
"value3_tint1"Symbol 67 MovieClip [foodCoin] Frame 11
"value3_tint2"Symbol 67 MovieClip [foodCoin] Frame 12
"value3_tint3"Symbol 67 MovieClip [foodCoin] Frame 13
"value3_tint4"Symbol 67 MovieClip [foodCoin] Frame 14
"value3_tint5"Symbol 67 MovieClip [foodCoin] Frame 15
"value4_tint1"Symbol 67 MovieClip [foodCoin] Frame 16
"value4_tint2"Symbol 67 MovieClip [foodCoin] Frame 17
"value4_tint3"Symbol 67 MovieClip [foodCoin] Frame 18
"value4_tint4"Symbol 67 MovieClip [foodCoin] Frame 19
"value4_tint5"Symbol 67 MovieClip [foodCoin] Frame 20
"value5_tint1"Symbol 67 MovieClip [foodCoin] Frame 21
"value5_tint2"Symbol 67 MovieClip [foodCoin] Frame 22
"value5_tint3"Symbol 67 MovieClip [foodCoin] Frame 23
"value5_tint4"Symbol 67 MovieClip [foodCoin] Frame 24
"value5_tint5"Symbol 67 MovieClip [foodCoin] Frame 25
"value6_tint1"Symbol 67 MovieClip [foodCoin] Frame 26
"value6_tint2"Symbol 67 MovieClip [foodCoin] Frame 27
"value6_tint3"Symbol 67 MovieClip [foodCoin] Frame 28
"value6_tint4"Symbol 67 MovieClip [foodCoin] Frame 29
"value6_tint5"Symbol 67 MovieClip [foodCoin] Frame 30
"value7_tint1"Symbol 67 MovieClip [foodCoin] Frame 31
"value7_tint2"Symbol 67 MovieClip [foodCoin] Frame 32
"value7_tint3"Symbol 67 MovieClip [foodCoin] Frame 33
"value7_tint4"Symbol 67 MovieClip [foodCoin] Frame 34
"value7_tint5"Symbol 67 MovieClip [foodCoin] Frame 35
"tint1"Symbol 79 MovieClip Frame 1
"tint2"Symbol 79 MovieClip Frame 2
"tint3"Symbol 79 MovieClip Frame 3
"tint4"Symbol 79 MovieClip Frame 4
"tint5"Symbol 79 MovieClip Frame 5
"morado"Symbol 79 MovieClip Frame 6
"idle"Symbol 80 MovieClip [Background] Frame 1
"start_fade"Symbol 80 MovieClip [Background] Frame 2
"tint1"Symbol 115 MovieClip Frame 1
"tint2"Symbol 115 MovieClip Frame 2
"tint3"Symbol 115 MovieClip Frame 3
"tint4"Symbol 115 MovieClip Frame 4
"tint5"Symbol 115 MovieClip Frame 5
"titn6"Symbol 115 MovieClip Frame 6
"left_idle"Symbol 121 MovieClip [Avatar] Frame 1
"left_walk"Symbol 121 MovieClip [Avatar] Frame 2
"up_idle"Symbol 121 MovieClip [Avatar] Frame 6
"up_walk"Symbol 121 MovieClip [Avatar] Frame 7
"right_idle"Symbol 121 MovieClip [Avatar] Frame 11
"right_walk"Symbol 121 MovieClip [Avatar] Frame 12
"down_idle"Symbol 121 MovieClip [Avatar] Frame 16
"down_walk"Symbol 121 MovieClip [Avatar] Frame 17
"value1_tint1"Symbol 212 MovieClip [Food] Frame 1
"value1_tint2"Symbol 212 MovieClip [Food] Frame 2
"value1_tint3"Symbol 212 MovieClip [Food] Frame 3
"value1_tint4"Symbol 212 MovieClip [Food] Frame 4
"value1_tint5"Symbol 212 MovieClip [Food] Frame 5
"value2_tint1"Symbol 212 MovieClip [Food] Frame 6
"value2_tint2"Symbol 212 MovieClip [Food] Frame 7
"value2_tint3"Symbol 212 MovieClip [Food] Frame 8
"value2_tint4"Symbol 212 MovieClip [Food] Frame 9
"value2_tint5"Symbol 212 MovieClip [Food] Frame 10
"value3_tint1"Symbol 212 MovieClip [Food] Frame 11
"value3_tint2"Symbol 212 MovieClip [Food] Frame 12
"value3_tint3"Symbol 212 MovieClip [Food] Frame 13
"value3_tint4"Symbol 212 MovieClip [Food] Frame 14
"value3_tint5"Symbol 212 MovieClip [Food] Frame 15
"value4_tint1"Symbol 212 MovieClip [Food] Frame 16
"value4_tint2"Symbol 212 MovieClip [Food] Frame 17
"value4_tint3"Symbol 212 MovieClip [Food] Frame 18
"value4_tint4"Symbol 212 MovieClip [Food] Frame 19
"value4_tint5"Symbol 212 MovieClip [Food] Frame 20
"value5_tint1"Symbol 212 MovieClip [Food] Frame 21
"value5_tint2"Symbol 212 MovieClip [Food] Frame 22
"value5_tint3"Symbol 212 MovieClip [Food] Frame 23
"value5_tint4"Symbol 212 MovieClip [Food] Frame 24
"value5_tint5"Symbol 212 MovieClip [Food] Frame 25
"value6_tint1"Symbol 212 MovieClip [Food] Frame 26
"value6_tint2"Symbol 212 MovieClip [Food] Frame 27
"value6_tint3"Symbol 212 MovieClip [Food] Frame 28
"value6_tint4"Symbol 212 MovieClip [Food] Frame 29
"value6_tint5"Symbol 212 MovieClip [Food] Frame 30
"value7_tint1"Symbol 212 MovieClip [Food] Frame 31
"value7_tint2"Symbol 212 MovieClip [Food] Frame 32
"value7_tint3"Symbol 212 MovieClip [Food] Frame 33
"value7_tint4"Symbol 212 MovieClip [Food] Frame 34
"value7_tint5"Symbol 212 MovieClip [Food] Frame 35
"blank"Symbol 233 MovieClip [timeSum] Frame 1
"plusten"Symbol 233 MovieClip [timeSum] Frame 2
"playAnim"Symbol 236 MovieClip [bgTime] Frame 2
"wrongAnim"Symbol 236 MovieClip [bgTime] Frame 21
"blank"Symbol 240 MovieClip [scorePenalty] Frame 1
"plusten"Symbol 240 MovieClip [scorePenalty] Frame 2
"playAnim"Symbol 244 MovieClip Frame 2
"playBonus"Symbol 244 MovieClip Frame 21
"pause"Symbol 298 MovieClip Frame 1
"restart"Symbol 298 MovieClip Frame 2
"soundOff"Symbol 313 MovieClip Frame 1
"soundOn"Symbol 313 MovieClip Frame 2
"normal"Symbol 362 MovieClip Frame 1
"item"Symbol 362 MovieClip Frame 2
"trail"Symbol 362 MovieClip Frame 3
"avatar"Symbol 362 MovieClip Frame 4
"idle"Symbol 363 MovieClip [Tile] Frame 1
"animate"Symbol 363 MovieClip [Tile] Frame 2




http://swfchan.com/10/47683/info.shtml
Created: 1/5 -2019 08:59:20 Last modified: 1/5 -2019 08:59:20 Server time: 22/12 -2024 23:44:50