Frame 1
function getDomainKey() {
trace("url: " + _url);
url_full = _url.split("://");
trace("full url: " + url_full);
domain = url_full[1].split("/");
trace("returns: " + domain[0]);
return(domain[0]);
}
_root.tringoSO = SharedObject.getLocal("tringo");
_root.bestScore = _root.tringoSO.data.bestScore || 0;
var game_version = "1.50";
var game_id = "donnerwood.tringo";
_root.game_referrer_id = (((getDomainKey() + "/") + game_id) + "/") + game_version;
stop();
MochiAd.showPreGameAd({id:"d83baa934775a319", res:"480x360", no_bg:true, clip:this});
Frame 5
stop();
this.splash.addListener(this);
this.splash.playSplash(0, 12);
this.onSplashComplete = function () {
_root.fromSplash = true;
this.gotoAndStop("click");
delete this.onSplashComplete;
};
Frame 10
function executeCallback() {
trace((("executeCallback intervalId: " + intervalId) + " count: ") + count);
play();
clearInterval(intervalId);
}
stop();
var intervalId;
var count = 0;
var maxCount = 10;
var duration = 3000;
intervalId = setInterval(this, "executeCallback", duration);
function triggerGreat() {
doRandomTrigger(["yay01", "yay01"]);
}
function triggerSkipped() {
doRandomTrigger(["omg01", "no01", "ew01"]);
}
function triggerGood() {
doRandomTrigger(["holler01", "thumbsup01", "yes01"]);
}
function doRandomTrigger(triggers) {
var _local3 = triggers.length - 1;
var _local2 = 0;
var _local4 = Math.round(Math.random() * (_local3 - _local2)) + _local2;
var _local5 = triggers[_local4];
_root.MeezGPF.emote(_local5);
}
if (_root.baseURL != undefined) {
this.export_flash = _root.lcId + "b";
}
var MeezGPF = (new meez.Games(_level0));
stop();
Frame 21
play();
Frame 23
stop();
Instance of Symbol 34 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
_parent.gotoAndStop("click");
}
}
Instance of Symbol 2 MovieClip [bar] "bar" in Frame 23
onClipEvent (enterFrame) {
_root.bar._xscale = (_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100;
}
Frame 24
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;
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);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&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);
}
trace("MEEZ: loaded");
_root.MeezGPF.broadcastEvent("LOADED");
if (_root.fromSplash) {
_root._alpha = 0;
com.meez.games.animation.TweenLite.to(_root, 0.5, {_alpha:100, overwrite:false});
_root.fromSplash = false;
}
__com_mochibot__("ad2b494f", this, 10301, true);
Frame 34
stop();
personal_notify._visible = false;
var no_skip_score = ((is_skip == false) ? 10 : 0);
var gild_clear_score = left_amount;
var gild_empty_score = ((grid_clear == true) ? 25 : 0);
var round_score = (((player_cent - no_skip_score) - gild_clear_score) - gild_empty_score);
trace("MEEZ: checkpoint");
var scoreDetail = meez.Games.O2S({g:left_amount, s:no_skip_score, c:gild_clear_score});
_root.MeezGPF.postScore(Number(player_cent), scoreDetail, meez.Games.Event.CHECKPOINT);
_root.t_round.text = round_score;
_root.t_skip.text = "+ " + no_skip_score;
_root.t_empty.text = "+ " + left_amount;
_root.t_clear.text = "+ " + gild_empty_score;
_root.t_total_0.text = player_cent;
_root.t_total_1.text = player_cent;
if (_root.bestScore < player_cent) {
_root.bestScore = player_cent;
_root.tringoSO.data.bestScore = _root.bestScore;
_root.tringoSO.flush();
t_yourbest.text = (t_yourbest_o.text = _root.bestScore);
personal_notify._visible = true;
} else {
t_yourbest.text = (t_yourbest_o.text = _root.bestScore);
personal_notify._visible = false;
}
Frame 35
stop();
var no_skip_score = ((is_skip == false) ? 10 : 0);
var gild_clear_score = left_amount;
var gild_empty_score = ((grid_clear == true) ? 25 : 0);
var round_score = (((player_cent - no_skip_score) - gild_clear_score) - gild_empty_score);
_root.t_round.text = round_score;
_root.t_skip.text = "+ " + no_skip_score;
_root.t_empty.text = "+ " + left_amount;
_root.t_clear.text = "+ " + gild_empty_score;
_root.t_total_0.text = player_cent;
_root.t_total_1.text = player_cent;
Frame 36
function gameInit() {
_root.next_indicator._visible = true;
keyLock = true;
time = 10;
queue_index = 0;
once_cent = 0;
player_cent = 0;
golden_block = false;
clean_block = false;
is_skip = false;
grid_clear = false;
left_amount = 0;
setButton(false);
compositor();
golden_index = Math.floor(Math.random() * 33) + 1;
nexz_block = all_block[appear_queue[queue_index]];
nextindicator_block = all_block[appear_queue[queue_index + 1]];
_root.t_cent.text = "0";
var _local3 = 0;
while (_local3 < 35) {
_root["z_view_" + _local3].gotoAndStop("empty");
_local3++;
}
_root["z_view_" + appear_queue[queue_index]].gotoAndStop("golden");
_root["z_view_" + appear_queue[queue_index + 1]].gotoAndStop("current");
drawNextBlock();
trace("drawnextblock");
_local3 = 0;
while (_local3 < 5) {
var _local2 = 0;
while (_local2 < 5) {
operate_block = [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]];
_root[(("z_block_" + _local3) + "_") + _local2].gotoAndStop("empty");
_local2++;
}
_local3++;
}
trace("golden_index = " + golden_index);
_root.t_caption.text = "";
_root.t_caption_red.text = "";
_root.t_caption_golden.text = "";
_root.t_total_cent.text = player_cent;
}
function compositor() {
var _local1 = 0;
while (_local1 < 35) {
var _local2 = Math.floor(Math.random() * 34);
var _local3 = appear_queue[_local1];
appear_queue[_local1] = appear_queue[_local2];
appear_queue[_local2] = _local3;
_local1++;
}
trace("queue = " + appear_queue);
}
function finishGame(type) {
trace("MEEZ: finished game/bonus");
_root.triggerGreat();
keyLock = true;
var _local3 = 0;
while (_local3 < 3) {
var _local2 = 0;
while (_local2 < 3) {
_root[(("z_next_" + _local3) + "_") + _local2].gotoAndStop("empty");
_root.next_indicator[(("z_next_" + _local3) + "_") + _local2].gotoAndStop("empty");
_local2++;
}
_local3++;
}
_local3 = 0;
while (_local3 < 5) {
var _local2 = 0;
while (_local2 < 5) {
if (operate_block[_local3][_local2] == 0) {
left_amount = left_amount + 1;
}
_local2++;
}
_local3++;
}
if ((type == 1) && (left_amount == 25)) {
grid_clear = true;
}
setButton(false);
_root.z_finish.gotoAndPlay("finish");
}
function endGame() {
trace("MEEZ: -endgame- ");
_root.s_sound.gotoAndPlay("loop");
gotoAndPlay ("congratulate");
}
function setButton(enab) {
var _local3 = 0;
while (_local3 < 5) {
var _local2 = 0;
while (_local2 < 5) {
_root[(("b_button_" + _local3) + "_") + _local2].enabled = enab;
_local2++;
}
_local3++;
}
_root.b_skip.enabled = enab;
_root.b_reset.enabled = enab;
}
function finishOneBlock(type) {
if (type == 0) {
trace("MEEZ: skipped.");
_root.triggerSkipped();
is_skip = true;
player_cent = ((player_cent <= 7) ? 0 : (player_cent - 3));
_root.z_once_cent.gotoAndPlay("skip");
_root.t_caption.text = "";
_root.t_caption_golden.text = "";
_root.t_caption_red.text = "SKIP! = - 3 POINTS!";
_root["z_view_" + appear_queue[queue_index]].gotoAndStop("missed");
_root["z_view_" + appear_queue[queue_index + 1]].gotoAndStop("current");
} else {
_root.t_caption_red.text = "";
_root["z_view_" + appear_queue[queue_index]].gotoAndStop("used");
_root["z_view_" + appear_queue[queue_index + 1]].gotoAndStop("current");
}
_root.z_remain_amount.gotoAndStop("empty");
_root.t_total_cent.text = player_cent;
if (queue_index == 34) {
finishGame(type);
return(undefined);
}
_root.z_time.gotoAndPlay(6);
nexz_block = all_block[appear_queue[++queue_index]];
nextindicator_block = all_block[appear_queue[queue_index + 1]];
trace("NEXZ_BLOCK: " + nexz_block);
if (queue_index == golden_index) {
golden_block = true;
_root.s_sound.gotoAndPlay("gold_appear");
_root["z_view_" + appear_queue[queue_index]].gotoAndStop("golden");
} else {
golden_block = false;
_root["z_view_" + appear_queue[queue_index]].gotoAndStop("golden");
_root["z_view_" + appear_queue[queue_index + 1]].gotoAndStop("current");
}
if ((queue_index + 1) == golden_index) {
golden_block_preview = true;
} else {
golden_block_preview = false;
}
drawNextBlock();
var _local3 = 0;
while (_local3 < 5) {
var _local2 = 0;
while (_local2 < 5) {
if (operate_block[_local3][_local2] != 0) {
_root[(("z_block_" + _local3) + "_") + _local2].gotoAndStop("yellow");
}
_local2++;
}
_local3++;
}
if (queue_index == 30) {
_root.t_caption.text = "";
_root.t_caption_red.text = "";
_root.t_caption_golden.text = "";
_root.z_remain_amount.gotoAndPlay("5_left");
_root.s_sound.gotoAndPlay("grid_clear");
} else if (queue_index == 34) {
_root.t_caption.text = "";
_root.t_caption_red.text = "";
_root.t_caption_golden.text = "";
_root.z_remain_amount.gotoAndPlay("final_piece");
_root.next_indicator._visible = false;
_root.s_sound.gotoAndPlay("grid_clear");
}
}
function drawNextBlock() {
trace("in drawnextblock func");
var _local5 = 0;
var _local2 = -1;
var _local3 = -1;
while (_local5 < 3) {
var _local4 = 0;
while (_local4 < 3) {
if (nexz_block[_local5][_local4] != 0) {
if (golden_block == true) {
_root[(("z_next_" + (1 + _local3)) + "_") + (1 + _local2)].gotoAndStop("golden");
} else {
_root[(("z_next_" + (1 + _local3)) + "_") + (1 + _local2)].gotoAndStop("yellow");
}
} else {
_root[(("z_next_" + (1 + _local3)) + "_") + (1 + _local2)].gotoAndStop("empty");
}
_local2 = ((_local2 == -1) ? 0 : (((_local2 == 0) ? 1 : -1)));
_local4++;
}
_local3 = ((_local3 == -1) ? 0 : (((_local3 == 0) ? 1 : -1)));
_local5++;
}
if (golden_block == true) {
_root.z_next_1_1.gotoAndStop("golden_dot");
} else {
_root.z_next_1_1.gotoAndStop("yellow_dot");
}
drawPreviewBlock();
}
function drawPreviewBlock() {
trace("in drawnextblock func");
var _local5 = 0;
var _local2 = -1;
var _local3 = -1;
while (_local5 < 3) {
var _local4 = 0;
while (_local4 < 3) {
if (nextindicator_block[_local5][_local4] != 0) {
if (golden_block_preview == true) {
_root.next_indicator[(("z_next_" + (1 + _local3)) + "_") + (1 + _local2)].gotoAndStop("golden");
} else {
_root.next_indicator[(("z_next_" + (1 + _local3)) + "_") + (1 + _local2)].gotoAndStop("white");
}
} else {
_root.next_indicator[(("z_next_" + (1 + _local3)) + "_") + (1 + _local2)].gotoAndStop("empty");
}
_local2 = ((_local2 == -1) ? 0 : (((_local2 == 0) ? 1 : -1)));
_local4++;
}
_local3 = ((_local3 == -1) ? 0 : (((_local3 == 0) ? 1 : -1)));
_local5++;
}
if (golden_block_preview == true) {
_root.next_indicator.z_next_1_1.gotoAndStop("golden_dot");
} else {
_root.next_indicator.z_next_1_1.gotoAndStop("white");
}
}
function canLay(row, col) {
var _local6 = 0;
var _local2 = -1;
var _local3 = -1;
while (_local6 < 3) {
var _local4 = 0;
while (_local4 < 3) {
if (nexz_block[_local6][_local4] != 0) {
if (((((row + _local3) < 0) || ((row + _local3) > 4)) || ((col + _local2) < 0)) || ((col + _local2) > 4)) {
_root.s_sound.gotoAndPlay("invalid_move");
return(false);
}
if (operate_block[row + _local3][col + _local2] != 0) {
_root.s_sound.gotoAndPlay("invalid_move");
return(false);
}
}
_local2 = ((_local2 == -1) ? 0 : (((_local2 == 0) ? 1 : -1)));
_local4++;
}
_local3 = ((_local3 == -1) ? 0 : (((_local3 == 0) ? 1 : -1)));
_local6++;
}
return(true);
}
function lay(row, col) {
var _local6 = 0;
var _local2 = -1;
var _local3 = -1;
while (_local6 < 3) {
var _local4 = 0;
while (_local4 < 3) {
if (nexz_block[_local6][_local4] != 0) {
operate_block[row + _local3][col + _local2] = 1;
if (golden_block == true) {
_root[(("z_block_" + (row + _local3)) + "_") + (col + _local2)].gotoAndStop("golden");
} else {
_root[(("z_block_" + (row + _local3)) + "_") + (col + _local2)].gotoAndStop("yellow");
}
}
_local2 = ((_local2 == -1) ? 0 : (((_local2 == 0) ? 1 : -1)));
_local4++;
}
_local3 = ((_local3 == -1) ? 0 : (((_local3 == 0) ? 1 : -1)));
_local6++;
}
disppear();
finishOneBlock(1);
}
function disppear() {
clean_block = false;
once_cent = 0;
var _local2 = 0;
var _local3 = 0;
normal3x3();
normal3x2();
normal2x3();
normal2x2();
back3x3();
back3x2();
back2x3();
back2x2();
clean_block = true;
if (_local2 >= _local3) {
normal3x3();
normal3x2();
normal2x3();
normal2x2();
} else {
back3x3();
back3x2();
back2x3();
back2x2();
}
if (golden_block == true) {
once_cent = once_cent + once_cent;
}
player_cent = player_cent + once_cent;
_root.t_caption_golden.text = "";
if (once_cent != 0) {
if (golden_block == true) {
trace("MEEZ: great move");
_root.triggerGreat();
_root.s_sound.gotoAndPlay("golden_dis");
_root.t_caption.text = "";
_root.t_caption_golden.text = ("GOLD BONUS = " + once_cent) + " POINTS!";
} else {
trace("MEEZ: good move");
_root.triggerGood();
_root.s_sound.gotoAndPlay("disappear");
}
_root.z_once_cent.gotoAndPlay("cent_5");
_root.z_once_cent.mcPoints.innerText.text = ("+ " + (once_cent + time_bonus)) + " POINTS!";
} else {
trace("MEEZ: crap move");
_root.t_caption.text = "";
_root.s_sound.gotoAndPlay("lay");
}
}
function normal3x3() {
var _local3 = 0;
while (_local3 < 3) {
var _local2 = 0;
while (_local2 < 3) {
if (((((((((operate_block[_local3][_local2] != 0) && (operate_block[_local3][_local2 + 1] != 0)) && (operate_block[_local3][_local2 + 2] != 0)) && (operate_block[_local3 + 1][_local2] != 0)) && (operate_block[_local3 + 1][_local2 + 1] != 0)) && (operate_block[_local3 + 1][_local2 + 2] != 0)) && (operate_block[_local3 + 2][_local2] != 0)) && (operate_block[_local3 + 2][_local2 + 1] != 0)) && (operate_block[_local3 + 2][_local2 + 2] != 0)) {
if (clean_block == true) {
var _local5 = 0;
while (_local5 < 3) {
var _local4 = 0;
while (_local4 < 3) {
operate_block[_local3 + _local5][_local2 + _local4] = 0;
_root.t_caption.text = ("3X3: 45 POINTS +" + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local3 + _local5)) + "_") + (_local2 + _local4)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local3 + _local5)) + "_") + (_local2 + _local4)].gotoAndPlay("disappear");
}
_local4++;
}
_local5++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 45) + time_bonus;
trace("setting once_cent + 45, +time, is: " + once_cent);
trace("3x3 normal, time: " + time);
}
normal_cent = normal_cent + 45;
trace("setting normal_cent + 45 is: " + normal_cent);
}
_local2++;
}
_local3++;
}
}
function back3x3() {
var _local3 = 2;
while (_local3 <= 0) {
var _local2 = 2;
while (_local2 <= 0) {
if (((((((((operate_block[_local3][_local2] != 0) && (operate_block[_local3][_local2 + 1] != 0)) && (operate_block[_local3][_local2 + 2] != 0)) && (operate_block[_local3 + 1][_local2] != 0)) && (operate_block[_local3 + 1][_local2 + 1] != 0)) && (operate_block[_local3 + 1][_local2 + 2] != 0)) && (operate_block[_local3 + 2][_local2] != 0)) && (operate_block[_local3 + 2][_local2 + 1] != 0)) && (operate_block[_local3 + 2][_local2 + 2] != 0)) {
if (clean_block == true) {
var _local5 = 0;
while (_local5 < 3) {
var _local4 = 0;
while (_local4 < 3) {
operate_block[_local3 + _local5][_local2 + _local4] = 0;
_root.t_caption.text = ("3X3: 45 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local3 + _local5)) + "_") + (_local2 + _local4)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local3 + _local5)) + "_") + (_local2 + _local4)].gotoAndPlay("disappear");
}
_local4++;
}
_local5++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 45) + time_bonus;
trace("setting once_cent + 45, *time, is: " + once_cent);
trace("3x3 back, time: " + time);
}
back_cent = back_cent + 45;
trace("setting back_cent + 45, is: " + back_cent);
}
_local2--;
}
_local3--;
}
}
function normal3x2() {
var _local4 = 0;
while (_local4 < 3) {
var _local2 = 0;
while (_local2 < 4) {
if ((((((operate_block[_local4][_local2] != 0) && (operate_block[_local4][_local2 + 1] != 0)) && (operate_block[_local4 + 1][_local2] != 0)) && (operate_block[_local4 + 1][_local2 + 1] != 0)) && (operate_block[_local4 + 2][_local2] != 0)) && (operate_block[_local4 + 2][_local2 + 1] != 0)) {
if (clean_block == true) {
var _local5 = 0;
while (_local5 < 3) {
var _local3 = 0;
while (_local3 < 2) {
operate_block[_local4 + _local5][_local2 + _local3] = 0;
_root.t_caption.text = ("3X2: 15 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("disappear");
}
_local3++;
}
_local5++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 15) + time_bonus;
trace("setting once_cent + 15, *time, is: " + once_cent);
trace("3x2 normal, time:" + time);
}
normal_cent = normal_cent + 15;
trace("setting normal_cent + 15, is : " + normal_cent);
}
_local2++;
}
_local4++;
}
}
function back3x2() {
var _local4 = 3;
while (_local4 <= 0) {
var _local2 = 4;
while (_local2 <= 0) {
if ((((((operate_block[_local4][_local2] != 0) && (operate_block[_local4][_local2 + 1] != 0)) && (operate_block[_local4 + 1][_local2] != 0)) && (operate_block[_local4 + 1][_local2 + 1] != 0)) && (operate_block[_local4 + 2][_local2] != 0)) && (operate_block[_local4 + 2][_local2 + 1] != 0)) {
if (clean_block == true) {
var _local5 = 0;
while (_local5 < 3) {
var _local3 = 0;
while (_local3 < 2) {
operate_block[_local4 + _local5][_local2 + _local3] = 0;
_root.t_caption.text = ("3X2: 15 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("disappear");
}
_local3++;
}
_local5++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 15) + time_bonus;
trace("setting once_cent + 15, * time is: " + once_cent);
trace("3x2 back, time: " + time);
}
back_cent = back_cent + 15;
trace("setting back_cent + 15, is: " + back_cent);
}
_local2--;
}
_local4--;
}
}
function normal2x3() {
var _local4 = 0;
while (_local4 < 4) {
var _local2 = 0;
while (_local2 < 3) {
if ((((((operate_block[_local4][_local2] != 0) && (operate_block[_local4][_local2 + 1] != 0)) && (operate_block[_local4][_local2 + 2] != 0)) && (operate_block[_local4 + 1][_local2] != 0)) && (operate_block[_local4 + 1][_local2 + 1] != 0)) && (operate_block[_local4 + 1][_local2 + 2] != 0)) {
if (clean_block == true) {
var _local5 = 0;
while (_local5 < 2) {
var _local3 = 0;
while (_local3 < 3) {
operate_block[_local4 + _local5][_local2 + _local3] = 0;
_root.t_caption.text = ("2X3: 15 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("disappear");
}
_local3++;
}
_local5++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 15) + time_bonus;
trace("once_cent + 15, * time is: " + once_cent);
trace("2x3 normal, time: " + time);
}
normal_cent = normal_cent + 15;
trace("normal_cent + 15 is: " + normal_cent);
}
_local2++;
}
_local4++;
}
}
function back2x3() {
var _local4 = 4;
while (_local4 <= 0) {
var _local2 = 3;
while (_local2 <= 0) {
if ((((((operate_block[_local4][_local2] != 0) && (operate_block[_local4][_local2 + 1] != 0)) && (operate_block[_local4][_local2 + 2] != 0)) && (operate_block[_local4 + 1][_local2] != 0)) && (operate_block[_local4 + 1][_local2 + 1] != 0)) && (operate_block[_local4 + 1][_local2 + 2] != 0)) {
if (clean_block == true) {
var _local5 = 0;
while (_local5 < 2) {
var _local3 = 0;
while (_local3 < 3) {
operate_block[_local4 + _local5][_local2 + _local3] = 0;
_root.t_caption.text = ("2X3: 15 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local4 + _local5)) + "_") + (_local2 + _local3)].gotoAndPlay("disappear");
}
_local3++;
}
_local5++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 15) + time_bonus;
trace("once_cent + 15, * time is: " + once_cent);
trace("2x3 back, time: " + time);
}
back_cent = back_cent + 15;
trace("back_cent + 15, is: " + back_cent);
}
_local2--;
}
_local4--;
}
}
function normal2x2() {
var _local5 = 0;
while (_local5 < 4) {
var _local3 = 0;
while (_local3 < 4) {
if ((((operate_block[_local5][_local3] != 0) && (operate_block[_local5][_local3 + 1] != 0)) && (operate_block[_local5 + 1][_local3] != 0)) && (operate_block[_local5 + 1][_local3 + 1] != 0)) {
if (clean_block == true) {
var _local4 = 0;
while (_local4 < 2) {
var _local2 = 0;
while (_local2 < 2) {
operate_block[_local5 + _local4][_local3 + _local2] = 0;
_root.t_caption.text = ("2X2: 5 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local5 + _local4)) + "_") + (_local3 + _local2)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local5 + _local4)) + "_") + (_local3 + _local2)].gotoAndPlay("disappear");
}
_local2++;
}
_local4++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 5) + time_bonus;
trace("once_cent + 5, * time is : " + once_cent);
trace("2x2 normal, time: " + time);
}
normal_cent = normal_cent + 5;
trace("normal_cent + 5, is : " + normal_cent);
}
_local3++;
}
_local5++;
}
}
function back2x2() {
var _local5 = 4;
while (_local5 <= 0) {
var _local3 = 4;
while (_local3 <= 0) {
if ((((operate_block[_local5][_local3] != 0) && (operate_block[_local5][_local3 + 1] != 0)) && (operate_block[_local5 + 1][_local3] != 0)) && (operate_block[_local5 + 1][_local3 + 1] != 0)) {
if (clean_block == true) {
var _local4 = 0;
while (_local4 < 2) {
var _local2 = 0;
while (_local2 < 2) {
operate_block[_local5 + _local4][_local3 + _local2] = 0;
_root.t_caption.text = ("2X2: 5 POINTS + " + time_bonus) + " TIME";
if (golden_block == true) {
_root[(("z_block_" + (_local5 + _local4)) + "_") + (_local3 + _local2)].gotoAndPlay("gold_disappear");
} else {
_root[(("z_block_" + (_local5 + _local4)) + "_") + (_local3 + _local2)].gotoAndPlay("disappear");
}
_local2++;
}
_local4++;
}
time_bonus = ((time < 4) ? 0 : (time));
once_cent = (once_cent + 5) + time_bonus;
trace("once_cent + 5,* time is : " + once_cent);
trace("2x2 back, time: " + time);
}
}
back_cent = back_cent + 5;
trace("back_cent + 5, is: " + back_cent);
_local3--;
}
_local5--;
}
}
_root.globalSound = new Sound();
t_bestscore.text = _root.bestScore;
if (_global.isMuted) {
muteButton.gotoAndPlay("mute");
}
var all_block = [[[0, 0, 0], [0, 1, 0], [0, 0, 0]], [[0, 1, 0], [0, 1, 0], [0, 0, 0]], [[0, 0, 0], [1, 1, 0], [0, 0, 0]], [[1, 0, 0], [0, 1, 0], [0, 0, 0]], [[0, 0, 1], [0, 1, 0], [0, 0, 0]], [[0, 1, 0], [0, 1, 1], [0, 0, 0]], [[0, 1, 0], [1, 1, 0], [0, 0, 0]], [[0, 0, 0], [0, 1, 1], [0, 1, 0]], [[0, 0, 0], [1, 1, 0], [0, 1, 0]], [[0, 1, 0], [1, 1, 1], [0, 1, 0]], [[1, 0, 1], [0, 1, 0], [1, 0, 1]], [[0, 0, 0], [1, 1, 1], [0, 0, 0]], [[0, 1, 0], [0, 1, 0], [0, 1, 0]], [[1, 0, 0], [0, 1, 0], [0, 0, 1]], [[0, 0, 1], [0, 1, 0], [1, 0, 0]], [[1, 1, 0], [0, 1, 0], [1, 1, 0]], [[1, 0, 1], [1, 1, 1], [0, 0, 0]], [[0, 1, 1], [0, 1, 0], [0, 1, 1]], [[0, 0, 0], [1, 1, 1], [1, 0, 1]], [[1, 0, 0], [1, 1, 0], [0, 1, 0]], [[0, 1, 0], [1, 1, 0], [1, 0, 0]], [[0, 0, 0], [1, 1, 0], [0, 1, 1]], [[0, 0, 0], [0, 1, 1], [1, 1, 0]], [[0, 0, 0], [1, 1, 1], [0, 1, 0]], [[0, 1, 0], [1, 1, 0], [0, 1, 0]], [[0, 1, 0], [1, 1, 1], [0, 0, 0]], [[0, 1, 0], [0, 1, 1], [0, 1, 0]], [[0, 1, 0], [0, 1, 0], [0, 1, 1]], [[0, 0, 0], [1, 1, 1], [1, 0, 0]], [[1, 1, 0], [0, 1, 0], [0, 1, 0]], [[0, 0, 1], [1, 1, 1], [0, 0, 0]], [[0, 1, 0], [0, 1, 0], [1, 1, 0]], [[1, 0, 0], [1, 1, 1], [0, 0, 0]], [[0, 1, 1], [0, 1, 0], [0, 1, 0]], [[0, 0, 0], [1, 1, 1], [0, 0, 1]]];
var nexz_block = [[0, 1, 0], [1, 2, 1], [0, 0, 0]];
var operate_block = [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]];
var appear_queue = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34];
var keyLock = true;
var time = 10;
var time_bonus = 10;
var queue_index = 0;
var golden_index = 34;
var once_cent = 0;
var player_cent = 0;
var golden_block = false;
var clean_block = false;
var is_skip = false;
var grid_clear = false;
var left_amount = 0;
Symbol 10 MovieClip [MeezLogo] Frame 1
#initclip 12
Object.registerClass("MeezLogo", com.meez.games.splash.assets.MeezLogo);
#endinitclip
Symbol 15 MovieClip [poweredByMeezSplash] Frame 1
#initclip 11
Object.registerClass("poweredByMeezSplash", com.meez.games.splash.PoweredByMeezSplash);
#endinitclip
Symbol 415 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.2");
}
static function showPreGameAd(options) {
var _local28 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local28);
var clip = options.clip;
var _local24 = 11000;
var _local27 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
trace("ad finished call");
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
trace("on unload call");
options.ad_finished();
};
var _local16 = _getRes(options);
var _local5 = _local16[0];
var _local15 = _local16[1];
mc._x = _local5 * 0.5;
mc._y = _local15 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local15 * -0.5;
var _local9 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local9._x = 10;
_local9._y = _local15 - 20;
var _local23 = options.color;
delete options.color;
var _local20 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local9.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local20);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local9.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local7 = _local9.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local25, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local5 - 20, 0);
_local7.lineTo(_local5 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local27;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
trace("fade function begin");
var _local3 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local3 > 0) {
trace("adjust alpha of " + this._parent);
this._parent._alpha = _local3;
} else {
var _local2 = this._parent._parent;
trace("unloading in fadefunction");
trace(("[debug] unloading movieclip " + _local2) + " because its fadeout has completed 143");
MochiAd.unload(_local2);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
trace("adjust progress: " + msec);
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local8 = this._parent._parent;
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local6 = false;
var _local3 = _local8.getBytesTotal();
var _local4 = _local8.getBytesLoaded();
_global.isMovieLoaded = _local4 >= _local3;
trace((("Loaded:" + _local4) + " of ") + _local3);
if (!_global.isMovieLoaded) {
}
var _local11 = (100 * _local4) / _local3;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local10 = this._mochiad_bar._inside;
var _local5 = Math.min(100, Math.min(_local11 || 0, _local12));
_local5 = Math.max(this.last_pcnt, _local5);
this.last_pcnt = _local5;
_local10._xscale = _local5;
if (!chk.showing) {
var _local9 = _local13.getBytesTotal();
if ((_local9 > 0) || (typeof(_local9) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local7 > chk.ad_timeout) {
_local6 = true;
}
}
if (_local7 > chk.ad_msec) {
_local6 = true;
}
if (((_local3 > 0) && (_local4 >= _local3)) && (_local6)) {
if (this.server_control) {
trace("killing bc cliploaded and finished");
delete this.onEnterFrame;
} else {
trace("starting fade function");
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
trace("stop");
this.clip.stop();
}, ad_finished:function () {
trace("start");
this.clip.play();
}};
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_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 () {
trace("starting fade function");
var _local3 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local3 > 0) {
trace("setting fade alpha on " + this._parent);
this._parent._alpha = _local3;
} else {
var _local2 = this._parent._parent;
trace("unloading in fadefunction 289");
trace(("[debug] unloading movieclip " + _local2) + " because its fadeout has completed 277");
MochiAd.unload(_local2);
trace("forced unload");
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
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) {
trace("finished by elapsed beyond timeout");
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
trace("finished by elapsed beyond ad time");
_local2 = true;
}
if (_local2) {
if (this.server_control) {
trace("killing update by server control");
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
trace("assigning fadeout");
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(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 _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local14 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local14);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local10 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local10._mochiad_loaded) {
return(null);
}
var _local13 = options.depth;
delete options.depth;
var _local7 = _local10.createEmptyMovieClip("_mochiad", _local13);
var _local12 = _getRes(options);
options.res = (_local12[0] + "x") + _local12[1];
options.server = options.server + options.id;
delete options.id;
_local10._mochiad_loaded = true;
var _local5 = _local7.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local5[_local8] = options[_local8];
}
var _local11 = _local5.server;
delete _local5.server;
var _local15 = _allowDomains(_local11);
_local7.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
trace("not equal!");
this.onEnterFrame = function () {
if ((!this._mochiad_ctr) && (_global.isMovieLoaded == true)) {
trace("unloading parent of mochiad...600");
delete this.onEnterFrame;
trace((("[debug] unloading movieclip " + this._parent) + " because ! ") + this._mochiad_ctr);
MochiAd.unload(this._parent);
}
};
}
};
var _local6 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local7;
_local6.name = _local9;
_local6.hostname = _local15;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local9);
_local7.lc = _local6;
_local5.lc = _local9;
_local5.st = getTimer();
_local5.loadMovie(_local11 + ".swf", "POST");
return(_local7);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
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);
}
}
Symbol 416 MovieClip [__Packages.com.meez.games.splash.PoweredByMeezSplash] Frame 0
class com.meez.games.splash.PoweredByMeezSplash extends MovieClip
{
var poweredbyText, MeezLogo, onEnterFrame, getBytesLoaded, getBytesTotal;
function PoweredByMeezSplash () {
super();
init();
}
function init() {
AsBroadcaster.initialize(events);
poweredbyText = poweredbyText;
MeezLogo = MeezLogo;
poweredbyText._alpha = 0;
onEnterFrame = function () {
this.checkLoaded();
};
}
function playSplash(d, rate) {
if (rate == undefined) {
rate = 30;
}
com.meez.games.animation.TweenLite.to(this, 0, {delay:d, overwrite:false, onComplete:animate, onCompleteScope:this, onCompleteParams:[rate]});
}
function addListener(listener) {
events.addListener(listener);
}
function animate(r) {
MeezLogo.clear();
MeezLogo.drawLogo(r);
com.meez.games.animation.TweenLite.to(poweredbyText, 0.5, {_alpha:100, delay:2, overwrite:false});
com.meez.games.animation.TweenLite.to(MeezLogo, 0.4, {_alpha:0, delay:5, overwrite:false});
com.meez.games.animation.TweenLite.to(poweredbyText, 0.4, {_alpha:0, delay:5, overwrite:false});
com.meez.games.animation.TweenLite.to(this, 1, {_alpha:0, delay:5, overwrite:false, onComplete:broadcastFinished, onCompleteScope:this});
}
function drawLogo() {
MeezLogo.clear();
MeezLogo.drawLogo();
}
function checkLoaded() {
if ((getBytesTotal() == getBytesLoaded()) && (MeezLogo.scratches.getBytesLoaded() == MeezLogo.scratches.getBytesTotal())) {
broadcastLoaded();
delete onEnterFrame;
}
}
function broadcastLoaded() {
events.broadcastMessage("onSplashLoaded");
}
function broadcastFinished() {
events.broadcastMessage("onSplashComplete");
}
var events = new Object();
}
Symbol 417 MovieClip [__Packages.com.meez.games.animation.TweenLite] Frame 0
class com.meez.games.animation.TweenLite
{
static var _e, _gc;
var tweenID, endTargetID, vars, duration, delay, target, tweens, _subTweens, _hst, _initted, _active, initTime, startTime;
function TweenLite ($target, $duration, $vars) {
_cnt++;
tweenID = "tw" + _cnt;
endTargetID = getID($target, true);
if (($vars.overwrite != false) && ($target != undefined)) {
delete _all[endTargetID];
_all[endTargetID] = {info:[$target, endTargetID]};
}
_all[endTargetID][tweenID] = this;
vars = $vars;
duration = $duration || 0.001;
delay = $vars.delay || 0;
target = $target;
if (typeof(vars.ease) != "function") {
vars.ease = easeOut;
}
if (vars.easeParams != undefined) {
vars.proxiedEase = vars.ease;
vars.ease = easeProxy;
}
if (vars.mcColor != undefined) {
vars.tint = vars.mcColor;
}
if (typeof(vars.autoAlpha) == "number") {
vars._alpha = vars.autoAlpha;
}
tweens = {};
_subTweens = [];
_hst = (_initted = false);
_active = ($duration == 0) && (delay == 0);
initTime = getTimer();
if (_active || ((vars.runBackwards == true) && (vars.renderOnStart != true))) {
initTweenVals();
startTime = getTimer();
if (_active) {
render(startTime + 1);
} else {
render(startTime);
}
}
if (!_active) {
if (_e._visible != false) {
if (!_root.tweenLite_mc) {
var _local4 = _root.getNextHighestDepth() || 9999;
_e = _root.createEmptyMovieClip("tweenLite_mc", _local4);
_e.swapDepths(-1);
} else {
_e = _root.tweenLite_mc;
}
_e._visible = false;
clearInterval(_gc);
_gc = setInterval(killGarbage, 2000);
}
_e.onEnterFrame = executeAll;
}
}
function initTweenVals($hrp, $reservedProps) {
var _local7 = typeof(target) == "movieclip";
var _local4;
var _local2;
if (target instanceof Array) {
var _local9 = vars.endArray || ([]);
_local2 = 0;
while (_local2 < _local9.length) {
if ((target[_local2] != _local9[_local2]) && (target[_local2] != undefined)) {
tweens[_local2.toString()] = {o:target, p:_local2.toString(), s:target[_local2], c:_local9[_local2] - target[_local2]};
}
_local2++;
}
} else {
for (_local4 in vars) {
if (((((((((((((((((((_local4 == "ease") || (_local4 == "delay")) || (_local4 == "overwrite")) || (_local4 == "onComplete")) || (_local4 == "onCompleteParams")) || (_local4 == "onCompleteScope")) || (_local4 == "runBackwards")) || (_local4 == "onUpdate")) || (_local4 == "onUpdateParams")) || (_local4 == "onUpdateScope")) || (_local4 == "autoAlpha")) || (_local4 == "onStart")) || (_local4 == "onStartParams")) || (_local4 == "onStartScope")) || (_local4 == "renderOnStart")) || (_local4 == "easeParams")) || (_local4 == "mcColor")) || (_local4 == "type")) || ($hrp && ($reservedProps.indexOf((" " + _local4) + " ") != -1))) {
} else if ((_local4 == "tint") && (_local7 || (target instanceof TextField))) {
var _local5 = new Color(target);
var _local3;
if ((vars[_local4] == null) || (vars[_local4] == "")) {
if (vars._alpha != undefined) {
_local3 = vars._alpha;
delete vars._alpha;
delete tweens._alpha;
} else {
_local3 = target._alpha;
}
addSubTween(tintProxy, _local5.getTransform(), {rb:0, gb:0, bb:0, ab:0, ra:_local3, ga:_local3, ba:_local3, aa:_local3}, {color:_local5});
} else {
addSubTween(tintProxy, _local5.getTransform(), {rb:vars[_local4] >> 16, gb:(vars[_local4] >> 8) & 255, bb:vars[_local4] & 255, ra:0, ga:0, ba:0}, {color:_local5});
}
} else if ((_local4 == "frame") && (_local7)) {
addSubTween(frameProxy, {frame:target._currentframe}, {frame:vars[_local4]}, {mc:target});
} else if ((_local4 == "volume") && (_local7 || (target instanceof Sound))) {
var _local6;
if (_local7) {
_local6 = new Sound(target);
} else {
_local6 = Sound(target);
}
addSubTween(volumeProxy, {volume:_local6.getVolume()}, {volume:vars[_local4]}, {sound:_local6});
} else if (target[_local4] != undefined) {
if (typeof(vars[_local4]) == "number") {
tweens[_local4] = {o:target, p:_local4, s:target[_local4], c:vars[_local4] - target[_local4]};
} else {
tweens[_local4] = {o:target, p:_local4, s:target[_local4], c:Number(vars[_local4])};
}
}
}
}
if (vars.runBackwards == true) {
var _local8;
for (_local4 in tweens) {
_local8 = tweens[_local4];
_local8.s = _local8.s + _local8.c;
_local8.c = _local8.c * -1;
}
}
if (typeof(vars.autoAlpha) == "number") {
target._visible = !((vars.runBackwards == true) && (target._alpha == 0));
}
_initted = true;
}
function addSubTween($proxy, $target, $props, $info) {
_subTweens.push({proxy:$proxy, target:$target, info:$info});
for (var _local7 in $props) {
if ($target[_local7] != undefined) {
if (typeof($props[_local7]) == "number") {
tweens[(("st" + _subTweens.length) + "_") + _local7] = {o:$target, p:_local7, s:$target[_local7], c:$props[_local7] - $target[_local7]};
} else {
tweens[(("st" + _subTweens.length) + "_") + _local7] = {o:$target, p:_local7, s:$target[_local7], c:Number($props[_local7])};
}
}
}
_hst = true;
}
static function to($target, $duration, $vars) {
return(new com.meez.games.animation.TweenLite($target, $duration, $vars));
}
static function from($target, $duration, $vars) {
$vars.runBackwards = true;
return(new com.meez.games.animation.TweenLite($target, $duration, $vars));
}
static function delayedCall($delay, $onComplete, $onCompleteParams, $onCompleteScope) {
return(new com.meez.games.animation.TweenLite($onComplete, 0, {delay:$delay, onComplete:$onComplete, onCompleteParams:$onCompleteParams, onCompleteScope:$onCompleteScope, overwrite:false}));
}
function render($t) {
var _local5 = ($t - startTime) / 1000;
if (_local5 > duration) {
_local5 = duration;
}
var _local3;
var _local4 = vars.ease(_local5, 0, 1, duration);
for (var _local6 in tweens) {
_local3 = tweens[_local6];
_local3.o[_local3.p] = _local3.s + (_local4 * _local3.c);
}
if (_hst) {
var _local2 = 0;
while (_local2 < _subTweens.length) {
_subTweens[_local2].proxy(_subTweens[_local2]);
_local2++;
}
}
if (vars.onUpdate != undefined) {
vars.onUpdate.apply(vars.onUpdateScope, vars.onUpdateParams);
}
if (_local5 == duration) {
complete(true);
}
}
static function executeAll() {
var _local2 = _all;
var _local3 = getTimer();
var _local1;
for (var _local5 in _local2) {
for (var _local4 in _local2[_local5]) {
_local1 = _local2[_local5][_local4];
if (_local1.active) {
_local1.render(_local3);
}
}
}
}
static function removeTween($t) {
_all[$t.endTargetID][$t.tweenID] = {active:false};
delete _all[$t.endTargetID][$t.tweenID];
}
static function killTweensOf($tg, $complete) {
var _local3 = getID($tg, true);
if ($complete) {
var _local1 = _all[_local3];
for (var _local2 in _local1) {
_local1[_local2].complete(false);
}
}
delete _all[_local3];
}
function complete($skipRender) {
if ($skipRender != true) {
if (!_initted) {
initTweenVals();
}
startTime = 0;
render(duration * 1000);
return(undefined);
}
if ((typeof(vars.autoAlpha) == "number") && (target._alpha == 0)) {
target._visible = false;
}
if (vars.onComplete) {
vars.onComplete.apply(vars.onCompleteScope, vars.onCompleteParams);
}
removeTween(this);
}
static function getID($tg, $lookup) {
var _local3;
if ($lookup) {
var _local1 = _all;
if (typeof($tg) == "movieclip") {
if (_local1[String($tg)] != undefined) {
return(String($tg));
}
_local3 = String($tg);
_all[_local3] = {info:[$tg, _local3]};
return(_local3);
}
for (var _local4 in _local1) {
if (_local1[_local4].info[0] == $tg) {
return(_local4);
}
}
}
_cnt++;
_local3 = "t" + _cnt;
_all[_local3] = {info:[$tg, _local3]};
return(_local3);
}
static function killGarbage() {
if (_e.onEnterFrame != null) {
var _local1 = _all;
var _local2;
var _local3;
var _local5;
var _local6 = 0;
var _local4 = 0;
for (_local3 in _local1) {
_local4 = 0;
for (_local5 in _local1[_local3]) {
_local2 = _local1[_local3][_local5];
if (_local2.tweens == undefined) {
} else {
_local4++;
}
}
if (_local4 == 0) {
delete _local1[_local3];
} else {
_local6++;
}
}
if (_local6 == 0) {
_e.onEnterFrame = null;
}
}
}
static function easeOut($t, $b, $c, $d) {
$t = $t / $d;
return((((-$c) * $t) * ($t - 2)) + $b);
}
function easeProxy($t, $b, $c, $d) {
var _local3 = this;
return(_local3.proxiedEase.apply(null, arguments.concat(_local3.easeParams)));
}
static function tintProxy($o) {
$o.info.color.setTransform($o.target);
}
static function frameProxy($o) {
$o.info.mc.gotoAndStop(Math.round($o.target.frame));
}
static function volumeProxy($o) {
$o.info.sound.setVolume($o.target.volume);
}
function get active() {
if (_active) {
return(true);
}
if (((getTimer() - initTime) / 1000) > delay) {
_active = true;
startTime = initTime + (delay * 1000);
if (!_initted) {
initTweenVals();
} else if (typeof(vars.autoAlpha) == "number") {
target._visible = true;
}
if (duration == 0.001) {
startTime = startTime - 1;
}
if (vars.onStart != undefined) {
vars.onStart.apply(vars.onStartScope, vars.onStartParams);
}
return(true);
}
return(false);
}
static var version = 6.04;
static var killDelayedCallsTo = killTweensOf;
static var _all = new Object();
static var _cnt = -16000;
static var _hrp = false;
}
Symbol 418 MovieClip [__Packages.com.meez.games.splash.assets.MeezLogo] Frame 0
class com.meez.games.splash.assets.MeezLogo extends MovieClip
{
var scratches, meezText, targetClip, _parent, frameRate, scratchesMaskB, scratchesMask, drawContainer, maskData, maskDataB, targetData, scratchData, createEmptyMovieClip, getNextHighestDepth, scratchesMaskMC;
function MeezLogo () {
super();
init();
}
function init() {
scratches = scratches;
meezText = meezText;
targetClip = _parent.targetClip;
initScratchMask();
}
function drawLogo(r) {
frameRate = r;
drawScratches(scratchesMaskB, 3, Math.ceil(frameRate * 1.33), 80);
}
function clear() {
initScratchMask();
}
function drawScratches(canvas, thickness, time, iterations) {
var _local8 = scratches._width;
var _local7 = scratches._height;
canvas.lineStyle(thickness, 16711680, 100);
var _local2 = 0;
while (_local2 < iterations) {
var _local5 = Math.ceil(Math.random() * _local8);
var _local3 = Math.ceil(Math.random() * _local7);
var _local6 = Math.ceil(Math.random() * _local8);
var _local4 = Math.ceil(Math.random() * _local7);
canvas.curveTo(_local6, _local4, _local5, _local3);
_local2++;
}
canvas.draw(time);
}
function initScratchMask() {
scratchesMask.clearDrawing();
scratchesMaskB.clearDrawing();
drawContainer.clear();
maskData.dispose();
maskDataB.dispose();
targetData.dispose();
maskData = new flash.display.BitmapData(scratches._width, scratches._height, true, 0);
maskDataB = new flash.display.BitmapData(scratches._width, scratches._height, true, 0);
targetData = new flash.display.BitmapData(scratches._width, scratches._height, true, 0);
scratchData = new flash.display.BitmapData(scratches._width, scratches._height, false);
scratchData.draw(scratches);
drawContainer = createEmptyMovieClip("drawContainer", getNextHighestDepth());
drawContainer._visible = false;
scratchesMaskMC.attachBitmap(targetData, scratchesMaskMC.getNextHighestDepth());
scratchesMaskMC.cacheAsBitmap = true;
scratchesMask = new com.meez.games.animation.ProgressiveDrawing(drawContainer);
scratchesMaskB = new com.meez.games.animation.ProgressiveDrawing(drawContainer);
scratchesMaskB.name = "B";
scratchesMask.name = "A";
scratchesMask.autoTween = true;
scratchesMask.tweenMoveTo = true;
scratchesMask.setEase(easeInOutQuadratic, 0.5);
scratchesMask.addListener(this);
scratchesMaskB.autoTween = true;
scratchesMaskB.tweenMoveTo = true;
scratchesMaskB.setEase(easeInOutQuadratic, 0.5);
}
function onStep(drawing) {
maskData.draw(drawContainer);
targetData.copyPixels(scratchData, new flash.geom.Rectangle(0, 0, scratches._width, scratches._height), new flash.geom.Point(0, 0), maskData, new flash.geom.Point(0, 0), true);
targetData.copyPixels(scratchData, new flash.geom.Rectangle(0, 0, scratches._width, scratches._height), new flash.geom.Point(0, 0), maskDataB, new flash.geom.Point(0, 0), true);
}
function onComplete(drawing) {
if (drawing.name == "B") {
drawScratches(scratchesMask, 20, Math.ceil(frameRate * 0.33), 150);
} else {
targetData.copyPixels(scratchData, new flash.geom.Rectangle(0, 0, scratches._width, scratches._height), new flash.geom.Point(0, 0));
}
}
function drawTriangle(target, a, b, c) {
target.beginFill(16777215, 100);
target.startAt(a.x, a.y);
target.lineTo(b.x, b.y);
target.lineTo(c.x, c.y);
target.lineTo(a.x, a.y);
target.endFill();
}
function drawFilledLine(target, x, y, xb, yb, thickness) {
target.beginFill(16777215, 100);
target.moveTo(x, y);
target.lineTo(x, y + thickness);
target.lineTo(xb, yb + thickness);
target.lineTo(xb, yb);
target.lineTo(x, y);
target.endFill();
}
function easeInOutQuadratic(time, change) {
if (time < change) {
time = time / change;
time = time * time;
return(time * change);
}
var _local3 = 1 - change;
time = (time - change) / _local3;
time = 1 - time;
time = 1 - (time * time);
return(change + (time * _local3));
}
}
Symbol 419 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 420 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 421 MovieClip [__Packages.com.meez.games.animation.ProgressiveDrawing] Frame 0
class com.meez.games.animation.ProgressiveDrawing
{
var addListener, target, _commands, broadcastMessage, pen, _penTo, _easeMethodArgs;
function ProgressiveDrawing (target) {
addListener(this);
this.target = (target ? (target) : _root);
_commands = new Array();
clearDrawing(true);
}
function draw(frames, target) {
_totalframes = ((frames == undefined) ? 0 : (frames));
_currentframe = 0;
if (target != undefined) {
this.target = target;
}
evaluateStrokes();
if (!_totalframes) {
step();
} else if (autoTween) {
isDrawing = true;
MovieClip.addListener(this);
}
return(this);
}
function pause(Void) {
isDrawing = false;
MovieClip.removeListener(this);
}
function resume(Void) {
if (_currentframe && (_currentframe < _totalframes)) {
isDrawing = true;
MovieClip.addListener(this);
}
}
function step(Void) {
if (_totalframes == 0) {
render(true);
broadcastMessage("onStep", this);
renderComplete();
} else {
_currentframe++;
render();
broadcastMessage("onStep", this);
if (_currentframe >= _totalframes) {
renderComplete();
}
}
}
function clearDrawing(suppressClear) {
pen = {x:0, y:0};
_penTo = {x:0, y:0};
_commands.length = 0;
_commands.totalLength = 0;
_currentframe = (_totalframes = 0);
_currentcommand = "none";
if (!suppressClear) {
target.clear();
}
return(this);
}
function setEase(easeMethod, args) {
if (!easeMethod) {
delete _easeMethod;
} else {
_easeMethod = easeMethod;
_easeMethodArgs = arguments;
}
return(this);
}
function setDrawing(drawing) {
var _local2 = processCommands(drawing._commands);
_penTo.x = _local2.penEnd.x;
_penTo.y = _local2.penEnd.y;
_commands = _local2.commands;
return(this);
}
function appendDrawing(drawing) {
combineCommands(_commands, drawing._commands);
return(this);
}
function prependDrawing(drawing) {
combineCommands(drawing._commands, _commands);
return(this);
}
function startAt(sx, sy) {
_commands.push({method:"startAt", arguments:arguments});
_penTo.x = sx;
_penTo.y = sy;
return(this);
}
function curveMoveTo(cx, cy, ex, ey) {
_commands.push({method:"curveMoveTo", arguments:[_penTo.x, _penTo.y, cx, cy, ex, ey]});
_penTo.x = ex;
_penTo.y = ey;
return(this);
}
function pauseFor(t) {
_commands.push({method:"pauseFor", arguments:arguments});
return(this);
}
function lineStyle(thick, col, alpha) {
_commands.push({method:"lineStyle", arguments:arguments});
return(this);
}
function beginFill(col, alpha) {
_commands.push({method:"beginFill", arguments:arguments});
return(this);
}
function beginGradientFill(fillType, colors, alphas, ratios, matrix) {
_commands.push({method:"beginGradientFill", arguments:arguments});
return(this);
}
function moveTo(ex, ey) {
_commands.push({method:"moveTo", arguments:[_penTo.x, _penTo.y, ex, ey]});
_penTo.x = ex;
_penTo.y = ey;
return(this);
}
function lineTo(ex, ey) {
_commands.push({method:"lineTo", arguments:[_penTo.x, _penTo.y, ex, ey]});
_penTo.x = ex;
_penTo.y = ey;
return(this);
}
function curveTo(cx, cy, ex, ey) {
_commands.push({method:"curveTo", arguments:[_penTo.x, _penTo.y, cx, cy, ex, ey]});
_penTo.x = ex;
_penTo.y = ey;
return(this);
}
function endFill(col, alpha) {
_commands.push({method:"endFill", arguments:arguments});
return(this);
}
function clear(Void) {
_commands.push({method:"clear", arguments:arguments});
return(this);
}
function onEnterFrame(Void) {
step();
}
function evaluateStrokes(Void) {
var _local3 = 0;
var _local4 = _commands.length;
var _local2 = 0;
while (_local2 < _local4) {
_commands[_local2].start = _local3;
_local3 = _local3 + ((_commands[_local2].length = strokeLength(_commands[_local2])));
_commands[_local2].end = _local3;
_local2++;
}
_commands.totalLength = _local3;
}
function render(full) {
target.clear();
if (full) {
var _local5 = _commands.length;
var _local2 = 0;
while (_local2 < _local5) {
renderCommand(_commands[_local2], 1);
_local2++;
}
} else {
var _local6 = new Array().concat(_easeMethodArgs);
_local6[0] = _currentframe / _totalframes;
var _local3 = _easeMethod.apply(null, _local6);
var _local4 = _local3 * _commands.totalLength;
var _local5 = _commands.length;
var _local2 = 0;
while (_local2 < _local5) {
if (_local4 > _commands[_local2].end) {
renderCommand(_commands[_local2], 1);
} else {
_local3 = (_local4 - _commands[_local2].start) / (_commands[_local2].end - _commands[_local2].start);
renderCommand(_commands[_local2], _local3);
break;
}
_local2++;
}
}
target.endFill();
}
function renderCommand(command, t) {
switch (command.method) {
case "startAt" :
target.moveTo.apply(target, command.arguments);
break;
case "moveTo" :
renderMoveTo.apply(this, command.arguments.concat(t));
break;
case "curveMoveTo" :
renderCurveMoveTo.apply(this, command.arguments.concat(t));
break;
case "lineTo" :
renderLineTo.apply(this, command.arguments.concat(t));
break;
case "curveTo" :
renderCurveTo.apply(this, command.arguments.concat(t));
break;
case "pauseFor" :
break;
default :
target[command.method].apply(target, command.arguments);
}
_currentcommand = command.method;
}
function renderMoveTo(sx, sy, ex, ey, t) {
if (t == undefined) {
t = 1;
}
if (t != 1) {
ex = sx + ((ex - sx) * t);
ey = sy + ((ey - sy) * t);
}
target.moveTo(ex, ey);
pen.x = ex;
pen.y = ey;
}
function renderCurveMoveTo(sx, sy, cx, cy, ex, ey, t) {
if (t == undefined) {
t = 1;
}
if (t != 1) {
var _local3 = 1 - t;
var _local8 = _local3 * _local3;
var _local6 = (2 * t) * _local3;
var _local4 = t * t;
ex = ((_local8 * sx) + (_local6 * cx)) + (_local4 * ex);
ey = ((_local8 * sy) + (_local6 * cy)) + (_local4 * ey);
}
target.moveTo(ex, ey);
pen.x = ex;
pen.y = ey;
}
function renderLineTo(sx, sy, ex, ey, t) {
if (t == undefined) {
t = 1;
}
if (t != 1) {
ex = sx + ((ex - sx) * t);
ey = sy + ((ey - sy) * t);
}
target.lineTo(ex, ey);
pen.x = ex;
pen.y = ey;
}
function renderCurveTo(sx, sy, cx, cy, ex, ey, t) {
if (t == undefined) {
t = 1;
}
if (t != 1) {
var _local8 = cx + ((ex - cx) * t);
var _local7 = cy + ((ey - cy) * t);
cx = sx + ((cx - sx) * t);
cy = sy + ((cy - sy) * t);
ex = cx + ((_local8 - cx) * t);
ey = cy + ((_local7 - cy) * t);
}
target.curveTo(cx, cy, ex, ey);
pen.x = ex;
pen.y = ey;
}
function renderComplete(Void) {
_currentframe = _totalframes;
_currentcommand = "none";
isDrawing = false;
MovieClip.removeListener(this);
broadcastMessage("onComplete", this);
}
function strokeLength(command, start) {
switch (command.method) {
case "moveTo" :
return((tweenMoveTo ? (lineLength.apply(this, command.arguments)) : 0));
case "curveMoveTo" :
return((tweenMoveTo ? (curveLength.apply(this, command.arguments)) : 0));
case "lineTo" :
return(lineLength.apply(this, command.arguments));
case "curveTo" :
return(curveLength.apply(this, command.arguments));
case "pauseFor" :
return(command.arguments[0]);
}
return(0);
}
function lineLength(sx, sy, ex, ey) {
var _local2 = ex - sx;
var _local1 = ey - sy;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
}
function curveLength(sx, sy, cx, cy, ex, ey, accuracy) {
var _local13 = 0;
var _local11 = sx;
var _local10 = sy;
var _local9;
var _local8;
var _local2;
var _local4;
var _local7;
var _local6;
var _local5;
var _local12 = (accuracy ? (accuracy) : (_curveaccuracy));
var _local3 = 1;
while (_local3 <= _local12) {
_local2 = _local3 / _local12;
_local4 = 1 - _local2;
_local7 = _local4 * _local4;
_local6 = (2 * _local2) * _local4;
_local5 = _local2 * _local2;
_local9 = ((_local7 * sx) + (_local6 * cx)) + (_local5 * ex);
_local8 = ((_local7 * sy) + (_local6 * cy)) + (_local5 * ey);
_local13 = _local13 + lineLength(_local11, _local10, _local9, _local8);
_local11 = _local9;
_local10 = _local8;
_local3++;
}
return(_local13);
}
function processCommands(commands) {
var _local4 = new Object();
_local4.commands = new Array();
var _local5;
var _local10 = commands.length;
var _local2 = 0;
while (_local2 < _local10) {
_local4.commands[_local2] = {method:commands[_local2].method, arguments:commands[_local2].arguments.slice()};
switch (commands[_local2].method) {
case "startAt" :
case "moveTo" :
case "lineTo" :
case "curveMoveTo" :
case "curveTo" :
if (!_local4.penStart) {
_local4.penStart = {x:commands[_local2].arguments[0], y:commands[_local2].arguments[1], command:_local4.commands[_local2]};
}
_local5 = commands[_local2].arguments.length;
_local4.penEnd = {x:commands[_local2].arguments[_local5 - 2], y:commands[_local2].arguments[_local5 - 1], command:_local4.commands[_local2]};
}
_local2++;
}
return(_local4);
}
function combineCommands(commandsA, commandsB) {
var _local3 = processCommands(commandsA);
var _local2 = processCommands(commandsB);
_commands = _local3.commands.concat(_local2.commands);
if (_local2.penStart && (_local3.penEnd)) {
_local2.penStart.command.arguments[0] = _local3.penEnd.x;
_local2.penStart.command.arguments[1] = _local3.penEnd.y;
}
if (_local2.penEnd) {
_penTo.x = _local2.penEnd.x;
_penTo.y = _local2.penEnd.y;
} else if (_local3.penEnd) {
_penTo.x = _local3.penEnd.x;
_penTo.y = _local3.penEnd.y;
}
}
var _currentframe = 0;
var _totalframes = 0;
var _currentcommand = "none";
var tweenMoveTo = false;
var autoTween = true;
var isDrawing = false;
var _curveaccuracy = 6;
function _easeMethod(t) {
return(t);
}
static var OEFDependancy = mx.transitions.OnEnterFrameBeacon.init();
static var ASBDependancy = AsBroadcaster.initialize(com.meez.games.animation.ProgressiveDrawing.prototype);
}
Symbol 422 MovieClip [__Packages.meez.Logger] Frame 0
class meez.Logger
{
function Logger () {
}
static function log(level, msg) {
trace((("[" + LevelStr[level]) + "] ") + msg);
}
static function info(msg) {
log(Level.INFO, msg);
}
static function error(msg) {
log(Level.ERROR, msg);
}
static function warn(msg) {
log(Level.WARN, msg);
}
static function debug(msg) {
log(Level.DEBUG, msg);
}
static var Level = {DEBUG:0, WARN:1, ERROR:2, INFO:3};
static var LevelStr = ["DEBUG", "WARN", "ERROR", "INFO"];
}
Symbol 423 MovieClip [__Packages.meez.Games] Frame 0
class meez.Games
{
var core, resourceRoot, platform, lastGameplayId;
function Games (cfg) {
core = meez.Core.getInstance(cfg);
resourceRoot = (cfg.game_resource_root || (_root.baseURL)) || "";
if (cfg.game_api_host) {
platform = {cfg:cfg, host:cfg.game_api_host};
meez.Logger.debug(("Arcadia Platform (host='" + platform.host) + "')");
}
meez.Logger.debug(("Meez Games Client API (" + VERSION) + ") initialized");
}
function getResourceRoot() {
return(resourceRoot);
}
function broadcastEvent(event, param) {
event = event.toUpperCase();
meez.Core.validString("broadcastEvent.event", event, {enum:Event});
meez.Logger.debug(((("Games.broadcastEvent(" + event) + ",") + param) + ")");
if (event == Event.NEWGAME) {
lastGameplayId = 0;
}
if (core.isJavascriptExportEnabled()) {
flash.external.ExternalInterface.call("meezEvent", event, param);
}
if (core.isFlashExportEnabled()) {
core.sendLocal("event", event, param);
}
}
function emote(emotion) {
meez.Core.validString("emote.emotion", emotion);
meez.Logger.debug(("Games.emote(" + emotion) + ")");
if (core.isJavascriptExportEnabled()) {
flash.external.ExternalInterface.call("meezEmote", emotion);
}
if (core.isFlashExportEnabled()) {
core.sendLocal("emote", emotion);
}
}
function postScore(score, scoreDetail, scoreEvent, successFn, errorFn) {
postGameScore(platform.cfg.game_id, score, scoreDetail, scoreEvent, successFn, errorFn);
}
function postGameScore(gameId, score, scoreDetail, scoreEvent, successFn, errorFn) {
gameId = getFullGameId(gameId);
meez.Core.validString("postScore.gameId", gameId);
meez.Core.validNumber("postScore.score", score);
meez.Core.validString("postScore.scoreDetail", scoreDetail, {maxLength:64});
meez.Core.validString("postScore.scoreEvent", scoreEvent, {enum:Event});
successFn = successFn || (DEFAULT_SUCCESS);
errorFn = errorFn || (DEFAULT_ERROR);
if (!platform) {
errorFn("501", "Platform not available");
broadcastEvent(scoreEvent, gameId);
return(undefined);
}
meez.Logger.debug(((((("postScore(" + score) + ",") + scoreDetail) + ",") + scoreEvent) + ")");
var _local2 = platform.host + "/api.fv/v1/score.postScore";
_local2 = _local2 + ("?game_id=" + gameId);
_local2 = _local2 + ("&player_id=" + platform.cfg.game_player_id);
_local2 = _local2 + ("&game_score=" + score);
_local2 = _local2 + ("&score_detail=" + scoreDetail);
var _local6 = getGameplayId(scoreEvent);
if (_local6 > 0) {
_local2 = _local2 + ("&score_gameplay_id=" + _local6);
}
_local2 = _local2 + ("&score_auth=" + calcA9Auth(platform.cfg.game_auth));
var callback = this;
var _local7 = function (resp) {
if (callback.broadcastWinEvents(resp, "winAmount", meez.Games.Event.WINAMOUNT) > 0) {
callback.emote(meez.Games.Emotion.HAPPY);
}
if ((callback.broadcastWinEvents(resp, "winItem", meez.Games.Event.WINITEM) > 0) || (callback.broadcastWinEvents(resp, "winAward", meez.Games.Event.WINAWARD) > 0)) {
callback.emote(meez.Games.Emotion.HAPPIEST);
}
successFn(resp);
};
execRequest(_local2, _local7, errorFn);
}
function getLatestScore(successFn, errorFn) {
getLatestGameScore(platform.cfg.game_id, successFn, errorFn);
}
function getLatestGameScore(gameId, successFn, errorFn) {
gameId = getFullGameId(gameId);
meez.Core.validString("postScore.gameId", gameId);
errorFn = errorFn || (DEFAULT_ERROR);
if (!platform) {
errorFn("501", "Platform not available");
return(undefined);
}
var _local2 = platform.host + "/api.fv/v1/score.getLatest";
_local2 = _local2 + ("?game_id=" + gameId);
_local2 = _local2 + ("&player_id=" + platform.cfg.game_player_id);
_local2 = _local2 + ("&random=" + Math.round(Math.random() * 1000000).toString(16));
var _local5 = function (resp) {
var _local2;
if (resp["scores.0.playerId"]) {
_local2 = {playerId:resp["scores.0.playerId"], displayName:resp["scores.0.displayName"], score:Number(resp["scores.0.score"]), scoreDetail:resp["scores.0.scoreDetail"]};
}
successFn(_local2);
};
execRequest(_local2, _local5, errorFn);
}
function inGameReg() {
broadcastEvent(Event.INGAMEREG);
}
function newGame(subId) {
var _local2;
if ((subId == undefined) || (subId == null)) {
_local2 = getFullGameId();
} else {
_local2 = getFullGameId(subId);
}
broadcastEvent(Event.NEWGAME, _local2);
}
function levelDone() {
core.sendLocal("levelDone");
}
function execRequest(url, successFn, errorFn) {
if (platform.cfg.site_auth) {
url = (url + "&site_auth=") + platform.cfg.site_auth;
}
var _local2 = new LoadVars();
_local2.onLoad = function (success) {
if (success) {
if (this.code == 200) {
meez.Logger.debug("- 200 OK");
successFn(this);
} else {
meez.Logger.debug((("- " + this.code) + " ") + this.msg);
errorFn(this.code, this.msg);
}
} else {
meez.Logger.debug("- 500 Unable to access platform");
errorFn(500, "Unable to access platform");
}
};
meez.Logger.debug("sending request: " + url);
_local2.load(url);
}
function broadcastWinEvents(summary, prefix, event) {
var _local9 = Number(summary[prefix + ".count"]);
if (_local9 > 0) {
var _local2 = 0;
while (_local2 < _local9) {
var _local5 = summary[((prefix + ".") + _local2) + ".id"];
if (!_local5) {
} else {
var _local6 = summary[((prefix + ".") + _local2) + ".updateValue"];
var _local4 = summary[((prefix + ".") + _local2) + ".newValue"];
var _local3 = _local5;
_local3 = _local3 + (_local6 ? ("|" + _local6) : "");
_local3 = _local3 + (_local4 ? ("|" + _local4) : "");
broadcastEvent(event, _local3);
}
_local2++;
}
}
return(_local9);
}
function getFullGameId(gameId) {
if (!gameId) {
return(platform.cfg.game_id);
}
if (gameId.indexOf(".") == -1) {
return((platform.cfg.game_id + ".") + gameId);
}
return(gameId);
}
function getGameplayId(scoreEvent) {
var _local2;
if (scoreEvent == Event.GAMEOVER) {
_local2 = lastGameplayId || 0;
lastGameplayId = 0;
} else {
if (lastGameplayId && (lastGameplayId > 0)) {
_local2 = lastGameplayId;
} else {
var _local3 = new Date();
_local2 = Math.floor(_local3.getTime() / 1000);
}
lastGameplayId = _local2;
}
return(_local2);
}
function calcA9Auth(gameAuth) {
var _local1 = new Date();
return(("a9" + (_local1.getTime() / 1000).toString(16)) + gameAuth);
}
static function O2S(obj) {
var _local2 = "";
for (var _local3 in obj) {
_local2 = _local2 + (_local3 + obj[_local3]);
}
return(_local2);
}
static function S2O(str) {
var _local5 = {};
var _local4;
var _local3;
var _local1 = 0;
while (_local1 < str.length) {
_local4 = "";
while (((_local1 < str.length) && (str.charAt(_local1) >= "a")) && (str.charAt(_local1) <= "z")) {
_local4 = _local4 + str.charAt(_local1++);
}
_local3 = 0;
while (((_local1 < str.length) && (str.chatAt(_local1) >= "0")) && (str.charAt(_local1) <= "9")) {
_local3 = (_local3 * 10) + Number(str.charAt(_local1++) - "0");
}
_local5[_local4] = _local3;
}
return(_local5);
}
static var VERSION = "1.1.2x";
static var Emotion = {SADDEST:0, SADDER:2, SAD:3, NORMAL:5, HAPPY:7, HAPPIER:8, HAPPIEST:10};
static var Event = {LOADED:"LOADED", NEWGAME:"NEWGAME", INGAMEREG:"INGAMEREG", CHECKPOINT:"CHECKPOINT", GAMEOVER:"GAMEOVER", WINAMOUNT:"WINAMOUNT", WINAWARD:"WINAWARD", WINITEM:"WINITEM"};
function DEFAULT_SUCCESS(resp) {
meez.Logger.debug("[success]");
}
function DEFAULT_ERROR(code, msg) {
meez.Logger.error(((("[error:" + code) + ":") + msg) + "]");
}
}
Symbol 424 MovieClip [__Packages.meez.Core] Frame 0
class meez.Core
{
var cfg, js, lc;
function Core (cfg) {
this.cfg = cfg;
if (cfg.export_javascript && (flash.external.ExternalInterface.available)) {
meez.Logger.debug("Exporting javascript events");
js = {enabled:true};
enableJSTracing();
}
if (cfg.export_flash) {
meez.Logger.debug(("Exporting flash events to local connection '" + cfg.export_flash) + "'");
lc = {id:cfg.export_flash, conn:new LocalConnection()};
}
}
function enableJSTracing() {
meez.Logger.log = function (level, msg) {
flash.external.ExternalInterface.call("meezTrace", msg);
};
}
function isJavascriptExportEnabled() {
return((js ? true : false));
}
function isFlashExportEnabled() {
return((lc ? true : false));
}
function sendLocal(method, p1, p2) {
lc.conn.send(lc.id, method, p1, p2);
}
static function validString(name, value, rules) {
if (!value) {
meez.Logger.error(("'" + name) + "' must be a valid String");
}
if (rules) {
if (rules.maxLength && (value.length > rules.maxLength)) {
meez.Logger.warn(((("'" + name) + "' cannot be greater than ") + rules.maxLength) + " characters");
}
if (rules.enum && (!rules.enum[value.toUpperCase()])) {
var _local2 = [];
for (var _local3 in rules.enum) {
_local2.push(_local3.toUpperCase());
}
meez.Logger.warn((((("'" + value.toUpperCase()) + "' (") + name) + ") is not one of ") + _local2.join(","));
}
}
return(String(value));
}
static function validNumber(name, value) {
if (!value) {
meez.Logger.error(("'" + name) + "' must be a valid Number");
}
return(Number(value));
}
static function getInstance(cfg) {
if (_singleton) {
return(_singleton);
}
_singleton = new meez.Core(cfg);
return(_singleton);
}
static var _singleton = null;
}
Symbol 44 Button
on (release) {
trace("MEEZ: new game");
_root.MeezGPF.broadcastEvent("NEWGAME");
gotoAndStop ("gamestart");
}
Symbol 50 Button
on (release) {
gotoAndStop ("help1");
}
Symbol 53 Button
on (release) {
getURL ("http://www.meez.com/games.dm?ref=Tringo", "_blank");
}
Symbol 59 Button
on (press) {
getURL ("http://www.meez.com/games.dm?src=" + game_referrer_id, "_blank");
}
Symbol 65 Button
on (press) {
getURL ("http://www.meez.com/games.dm?page=free&src=" + game_referrer_id, "_blank");
}
Symbol 69 MovieClip Frame 1
stop();
meezBTN.onPress = function () {
getURL ("http://www.meez.com/home.dm?src=tringo.download", "_blank");
};
Symbol 75 Button
on (release) {
gotoAndStop ("gameStart");
stopAllSounds();
_root.s_sound.gotoAndPlay("button");
}
Symbol 84 Button
on (press) {
_root.gotoAndStop("click");
}
Symbol 91 Button
on (press) {
getURL ("http://www.meez.com/games.dm?ref=Tringo", "_blank");
}
Symbol 92 Button
on (press) {
getURL ("http://www.meez.com/games.dm?src=" + game_referrer_id, "_blank");
}
Symbol 97 MovieClip Frame 13
gotoAndPlay (1);
Symbol 107 Button
on (release) {
getURL ("http://d.trymedia.com/d/twoway/45m_d/twoway/TringoSetup.exe", "_blank");
}
Symbol 144 Button
on (release) {
_root.gotoAndStop("click");
}
Symbol 145 Button
on (release) {
_root.gotoAndStop("click");
}
Symbol 146 MovieClip Frame 118
stop();
Symbol 167 MovieClip Frame 10
stop();
Symbol 174 MovieClip Frame 10
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 4
stop();
Symbol 176 MovieClip Frame 5
stop();
Symbol 176 MovieClip Frame 15
gotoAndPlay (1);
Symbol 176 MovieClip Frame 25
gotoAndPlay (1);
Symbol 176 MovieClip Frame 26
stop();
Symbol 177 MovieClip Frame 1
stop();
var disappear_queue = [[4, 0], [3, 0], [2, 0], [1, 0], [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 4], [2, 4], [3, 4], [4, 4], [4, 3], [4, 2], [4, 1], [3, 1], [2, 1], [1, 1], [1, 2], [1, 3], [2, 3], [3, 3], [3, 2], [2, 2]];
var disappear_block = [[-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1], [-1]];
var i = 0;
while (i < 25) {
var m = disappear_queue[i][0];
var n = disappear_queue[i][1];
if (_parent.operate_block[m][n] == 0) {
disappear_block[i] = 0;
}
i++;
}
Symbol 177 MovieClip Frame 2
_root.z_finish_up.gotoAndPlay("1");
Symbol 177 MovieClip Frame 6
_root.s_sound.gotoAndPlay("scan");
Symbol 177 MovieClip Frame 36
if (_parent.operate_block[4][0] == 0) {
tp_4_0.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Instance of Symbol 176 MovieClip "tp_4_0" in Symbol 177 MovieClip Frame 36
/* no clip actions */
Symbol 177 MovieClip Frame 37
if (_parent.operate_block[3][0] == 0) {
tp_3_0.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 38
if (_parent.operate_block[2][0] == 0) {
tp_2_0.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 39
if (_parent.operate_block[1][0] == 0) {
tp_1_0.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 40
if (_parent.operate_block[0][0] == 0) {
tp_0_0.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 41
if (_parent.operate_block[0][1] == 0) {
tp_0_1.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 42
if (_parent.operate_block[0][2] == 0) {
tp_0_2.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 43
if (_parent.operate_block[0][3] == 0) {
tp_0_3.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 44
if (_parent.operate_block[0][4] == 0) {
tp_0_4.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 45
if (_parent.operate_block[1][4] == 0) {
tp_1_4.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 46
if (_parent.operate_block[2][4] == 0) {
tp_2_4.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 47
if (_parent.operate_block[3][4] == 0) {
tp_3_4.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 48
if (_parent.operate_block[4][4] == 0) {
tp_4_4.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 49
if (_parent.operate_block[4][3] == 0) {
tp_4_3.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 50
if (_parent.operate_block[4][2] == 0) {
tp_4_2.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 51
if (_parent.operate_block[4][1] == 0) {
tp_4_1.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 52
if (_parent.operate_block[3][1] == 0) {
tp_3_1.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 53
if (_parent.operate_block[2][1] == 0) {
tp_2_1.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 54
if (_parent.operate_block[1][1] == 0) {
tp_1_1.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 55
if (_parent.operate_block[1][2] == 0) {
tp_1_2.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 56
if (_parent.operate_block[1][3] == 0) {
tp_1_3.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 57
if (_parent.operate_block[2][3] == 0) {
tp_2_3.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 58
if (_parent.operate_block[3][3] == 0) {
tp_3_3.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 59
if (_parent.operate_block[3][2] == 0) {
tp_3_2.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 60
if (_parent.operate_block[2][2] == 0) {
tp_2_2.gotoAndPlay("disappear");
_root.s_sound.gotoAndPlay("disappear");
}
Symbol 177 MovieClip Frame 75
stop();
_root.z_finish.gotoAndPlay("view_plus");
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 2
stop();
Symbol 187 MovieClip Frame 3
stop();
Symbol 187 MovieClip Frame 4
stop();
Symbol 187 MovieClip Frame 5
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 3
stop();
Symbol 188 MovieClip Frame 4
stop();
Symbol 188 MovieClip Frame 5
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();
Symbol 189 MovieClip Frame 3
stop();
Symbol 189 MovieClip Frame 4
stop();
Symbol 189 MovieClip Frame 5
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 2
stop();
Symbol 190 MovieClip Frame 3
stop();
Symbol 190 MovieClip Frame 4
stop();
Symbol 190 MovieClip Frame 5
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 3
stop();
Symbol 191 MovieClip Frame 4
stop();
Symbol 191 MovieClip Frame 5
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
stop();
Symbol 192 MovieClip Frame 3
stop();
Symbol 192 MovieClip Frame 4
stop();
Symbol 192 MovieClip Frame 5
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
stop();
Symbol 193 MovieClip Frame 4
stop();
Symbol 193 MovieClip Frame 5
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 3
stop();
Symbol 194 MovieClip Frame 4
stop();
Symbol 194 MovieClip Frame 5
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 3
stop();
Symbol 195 MovieClip Frame 4
stop();
Symbol 195 MovieClip Frame 5
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 3
stop();
Symbol 196 MovieClip Frame 4
stop();
Symbol 196 MovieClip Frame 5
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
stop();
Symbol 197 MovieClip Frame 3
stop();
Symbol 197 MovieClip Frame 4
stop();
Symbol 197 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 3
stop();
Symbol 198 MovieClip Frame 4
stop();
Symbol 198 MovieClip Frame 5
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 2
stop();
Symbol 199 MovieClip Frame 3
stop();
Symbol 199 MovieClip Frame 4
stop();
Symbol 199 MovieClip Frame 5
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 3
stop();
Symbol 200 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 5
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 4
stop();
Symbol 201 MovieClip Frame 5
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 3
stop();
Symbol 202 MovieClip Frame 4
stop();
Symbol 202 MovieClip Frame 5
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 2
stop();
Symbol 203 MovieClip Frame 3
stop();
Symbol 203 MovieClip Frame 4
stop();
Symbol 203 MovieClip Frame 5
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
stop();
Symbol 204 MovieClip Frame 3
stop();
Symbol 204 MovieClip Frame 4
stop();
Symbol 204 MovieClip Frame 5
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 4
stop();
Symbol 205 MovieClip Frame 5
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 3
stop();
Symbol 206 MovieClip Frame 4
stop();
Symbol 206 MovieClip Frame 5
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 2
stop();
Symbol 207 MovieClip Frame 3
stop();
Symbol 207 MovieClip Frame 4
stop();
Symbol 207 MovieClip Frame 5
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
stop();
Symbol 208 MovieClip Frame 3
stop();
Symbol 208 MovieClip Frame 4
stop();
Symbol 208 MovieClip Frame 5
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 3
stop();
Symbol 209 MovieClip Frame 4
stop();
Symbol 209 MovieClip Frame 5
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 3
stop();
Symbol 210 MovieClip Frame 4
stop();
Symbol 210 MovieClip Frame 5
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
stop();
Symbol 211 MovieClip Frame 3
stop();
Symbol 211 MovieClip Frame 4
stop();
Symbol 211 MovieClip Frame 5
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
stop();
Symbol 212 MovieClip Frame 3
stop();
Symbol 212 MovieClip Frame 4
stop();
Symbol 212 MovieClip Frame 5
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
stop();
Symbol 213 MovieClip Frame 3
stop();
Symbol 213 MovieClip Frame 4
stop();
Symbol 213 MovieClip Frame 5
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 2
stop();
Symbol 214 MovieClip Frame 3
stop();
Symbol 214 MovieClip Frame 4
stop();
Symbol 214 MovieClip Frame 5
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 3
stop();
Symbol 215 MovieClip Frame 4
stop();
Symbol 215 MovieClip Frame 5
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 2
stop();
Symbol 216 MovieClip Frame 3
stop();
Symbol 216 MovieClip Frame 4
stop();
Symbol 216 MovieClip Frame 5
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
stop();
Symbol 217 MovieClip Frame 3
stop();
Symbol 217 MovieClip Frame 4
stop();
Symbol 217 MovieClip Frame 5
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 3
stop();
Symbol 218 MovieClip Frame 4
stop();
Symbol 218 MovieClip Frame 5
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 3
stop();
Symbol 219 MovieClip Frame 4
stop();
Symbol 219 MovieClip Frame 5
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 4
stop();
Symbol 220 MovieClip Frame 5
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
stop();
Symbol 221 MovieClip Frame 3
stop();
Symbol 221 MovieClip Frame 4
stop();
Symbol 221 MovieClip Frame 5
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 6
_parent.time = 10;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 17
_parent.time = 9;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 29
_parent.time = 8;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 41
_parent.time = 7;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 53
_parent.time = 6;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 65
_parent.time = 5;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 77
_parent.time = 4;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 89
_parent.time = 3;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 94
_root.s_sound.gotoAndPlay("time");
Symbol 233 MovieClip Frame 101
_parent.time = 2;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 102
_root.s_sound.gotoAndPlay("time");
Symbol 233 MovieClip Frame 113
_parent.time = 1;
_parent.t_time.text = _parent.time;
if (_parent.keyLock == true) {
stop();
}
Symbol 233 MovieClip Frame 114
_root.s_sound.gotoAndPlay("time");
Symbol 233 MovieClip Frame 126
_parent.time = 0;
_parent.t_time.text = _parent.time;
_parent.finishOneBlock(0);
Symbol 240 Button
on (release) {
if (canLay(0, 0) && (keyLock == false)) {
lay(0, 0);
}
}
Symbol 241 Button
on (release) {
if (canLay(0, 1) && (keyLock == false)) {
lay(0, 1);
}
}
Symbol 242 Button
on (release) {
if (canLay(0, 2) && (keyLock == false)) {
lay(0, 2);
}
}
Symbol 243 Button
on (release) {
if (canLay(0, 3) && (keyLock == false)) {
lay(0, 3);
}
}
Symbol 244 Button
on (release) {
if (canLay(0, 4) && (keyLock == false)) {
lay(0, 4);
}
}
Symbol 245 Button
on (release) {
if (canLay(1, 0) && (keyLock == false)) {
lay(1, 0);
}
}
Symbol 246 Button
on (release) {
if (canLay(1, 1) && (keyLock == false)) {
lay(1, 1);
}
}
Symbol 247 Button
on (release) {
if (canLay(1, 2) && (keyLock == false)) {
lay(1, 2);
}
}
Symbol 248 Button
on (release) {
if (canLay(1, 3) && (keyLock == false)) {
lay(1, 3);
}
}
Symbol 249 Button
on (release) {
if (canLay(1, 4) && (keyLock == false)) {
lay(1, 4);
}
}
Symbol 250 Button
on (release) {
if (canLay(2, 0) && (keyLock == false)) {
lay(2, 0);
}
}
Symbol 251 Button
on (release) {
if (canLay(2, 1) && (keyLock == false)) {
lay(2, 1);
}
}
Symbol 252 Button
on (release) {
if (canLay(2, 2) && (keyLock == false)) {
lay(2, 2);
}
}
Symbol 253 Button
on (release) {
if (canLay(2, 3) && (keyLock == false)) {
lay(2, 3);
}
}
Symbol 254 Button
on (release) {
if (canLay(2, 4) && (keyLock == false)) {
lay(2, 4);
}
}
Symbol 255 Button
on (release) {
if (canLay(3, 0) && (keyLock == false)) {
lay(3, 0);
}
}
Symbol 256 Button
on (release) {
if (canLay(3, 1) && (keyLock == false)) {
lay(3, 1);
}
}
Symbol 257 Button
on (release) {
if (canLay(3, 2) && (keyLock == false)) {
lay(3, 2);
}
}
Symbol 258 Button
on (release) {
if (canLay(3, 3) && (keyLock == false)) {
lay(3, 3);
}
}
Symbol 259 Button
on (release) {
if (canLay(3, 4) && (keyLock == false)) {
lay(3, 4);
}
}
Symbol 260 Button
on (release) {
if (canLay(4, 0) && (keyLock == false)) {
lay(4, 0);
}
}
Symbol 261 Button
on (release) {
if (canLay(4, 1) && (keyLock == false)) {
lay(4, 1);
}
}
Symbol 262 Button
on (release) {
if (canLay(4, 2) && (keyLock == false)) {
lay(4, 2);
}
}
Symbol 263 Button
on (release) {
if (canLay(4, 3) && (keyLock == false)) {
lay(4, 3);
}
}
Symbol 264 Button
on (release) {
if (canLay(4, 4) && (keyLock == false)) {
lay(4, 4);
}
}
Symbol 267 Button
on (release) {
if (keyLock == false) {
keyLock = true;
setButton(false);
_root.z_pause.gotoAndStop(2);
}
}
Symbol 270 Button
on (release) {
if (keyLock == false) {
finishOneBlock(0);
}
}
Symbol 274 MovieClip Frame 1
stop();
_root.globalSound.setVolume(30);
_global.isMuted = false;
this.onPress = function () {
_global.isMuted = true;
gotoAndPlay ("mute");
};
Symbol 274 MovieClip Frame 5
stop();
_root.globalSound.setVolume(0);
_global.isMuted = true;
this.onPress = function () {
_global.isMuted = false;
gotoAndPlay ("unmute");
};
Symbol 319 MovieClip Frame 8
stop();
Symbol 324 MovieClip Frame 1
_parent.gameInit();
_root.z_time.gotoAndStop(6);
Symbol 324 MovieClip Frame 2
_root.s_sound.gotoAndPlay("new_round");
Symbol 324 MovieClip Frame 31
stop();
_parent.keyLock = false;
_parent.setButton(true);
_root.z_time.gotoAndPlay(6);
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 5
stop();
Symbol 343 MovieClip Frame 13
gotoAndPlay (1);
Symbol 343 MovieClip Frame 21
gotoAndPlay (1);
Symbol 343 MovieClip Frame 29
gotoAndPlay (1);
Symbol 343 MovieClip Frame 37
gotoAndPlay (1);
Symbol 343 MovieClip Frame 45
gotoAndPlay (1);
Symbol 343 MovieClip Frame 53
gotoAndPlay (1);
Symbol 343 MovieClip Frame 61
gotoAndPlay (1);
Symbol 343 MovieClip Frame 69
gotoAndPlay (1);
Symbol 343 MovieClip Frame 77
gotoAndPlay (1);
Symbol 343 MovieClip Frame 85
gotoAndPlay (1);
Symbol 343 MovieClip Frame 94
gotoAndPlay (1);
Symbol 343 MovieClip Frame 102
gotoAndPlay (1);
Symbol 343 MovieClip Frame 110
gotoAndPlay (1);
Symbol 343 MovieClip Frame 118
gotoAndPlay (1);
Symbol 343 MovieClip Frame 126
gotoAndPlay (1);
Symbol 343 MovieClip Frame 134
gotoAndPlay (1);
Symbol 343 MovieClip Frame 135
_root.s_sound.gotoAndPlay("skip");
Symbol 343 MovieClip Frame 142
gotoAndPlay (1);
Symbol 360 Button
on (press) {
gotoAndStop (1);
_parent.setButton(true);
_root.z_round_start.gotoAndPlay(1);
}
Symbol 366 Button
on (press) {
gotoAndStop (1);
_parent.keyLock = false;
_parent.setButton(true);
_root.z_time.gotoAndPlay(((10 - _parent.time) * 12) + 6);
}
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 6
_root.s_sound.gotoAndPlay("finish");
Symbol 401 MovieClip Frame 24
_root.t_caption.text = "";
_root.t_caption_red.text = "";
_root.t_caption_golden.text = "";
Symbol 401 MovieClip Frame 30
if (_parent.is_skip == true) {
stop();
_root.z_finish_down.gotoAndPlay("plus_1");
}
Symbol 401 MovieClip Frame 31
_parent.player_cent = _parent.player_cent + 10;
_root.t_total_cent.text = _parent.player_cent;
_root.t_caption_golden.text = "NO SKIP! = 10 POINTS!";
Symbol 401 MovieClip Frame 54
_root.t_caption_golden.text = "";
Symbol 401 MovieClip Frame 60
stop();
_root.z_finish_down.gotoAndPlay("plus_1");
Symbol 401 MovieClip Frame 61
_root.s_sound.gotoAndPlay("counting");
_root.t_caption.text = "EMPTY SQUARE BONUS!";
var distemp = 86;
if (_parent.left_amount == 1) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 62
if (_parent.left_amount == 2) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 63
if (_parent.left_amount == 3) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 64
if (_parent.left_amount == 4) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 65
if (_parent.left_amount == 5) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 66
if (_parent.left_amount == 6) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 67
if (_parent.left_amount == 7) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 68
if (_parent.left_amount == 8) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 69
if (_parent.left_amount == 9) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 70
if (_parent.left_amount == 10) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 71
if (_parent.left_amount == 11) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 72
if (_parent.left_amount == 12) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 73
if (_parent.left_amount == 13) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 74
if (_parent.left_amount == 14) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 75
if (_parent.left_amount == 15) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 76
if (_parent.left_amount == 16) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 77
if (_parent.left_amount == 17) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 78
if (_parent.left_amount == 18) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 79
if (_parent.left_amount == 19) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 80
if (_parent.left_amount == 20) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 81
if (_parent.left_amount == 21) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 82
if (_parent.left_amount == 22) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 83
if (_parent.left_amount == 23) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 84
if (_parent.left_amount == 24) {
gotoAndPlay(distemp);
}
Symbol 401 MovieClip Frame 86
_parent.player_cent = _parent.player_cent + _parent.left_amount;
_root.t_total_cent.text = _parent.player_cent;
t_plus_amount.text = ("+ " + _parent.left_amount) + " POINTS!";
Symbol 401 MovieClip Frame 105
_root.t_caption.text = "";
Symbol 401 MovieClip Frame 110
if (_parent.grid_clear == false) {
stop();
_parent.endGame();
}
Symbol 401 MovieClip Frame 111
_parent.player_cent = _parent.player_cent + 25;
_root.t_total_cent.text = _parent.player_cent;
_root.t_caption_golden.text = "GRID CLEAR! = 25 POINTS!";
Symbol 401 MovieClip Frame 135
_root.t_caption_golden.text = "";
Symbol 401 MovieClip Frame 140
stop();
_parent.endGame();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 35
stop();
Symbol 404 MovieClip Frame 65
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
if (_parent.operate_block[4][0] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 3
if (_parent.operate_block[3][0] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 4
if (_parent.operate_block[2][0] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 5
if (_parent.operate_block[1][0] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 6
if (_parent.operate_block[0][0] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 7
if (_parent.operate_block[0][1] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 8
if (_parent.operate_block[0][2] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 9
if (_parent.operate_block[0][3] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 10
if (_parent.operate_block[0][4] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 11
if (_parent.operate_block[1][4] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 12
if (_parent.operate_block[2][4] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 13
if (_parent.operate_block[3][4] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 14
if (_parent.operate_block[4][4] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 15
if (_parent.operate_block[4][3] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 16
if (_parent.operate_block[4][2] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 17
if (_parent.operate_block[4][1] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 18
if (_parent.operate_block[3][1] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 19
if (_parent.operate_block[2][1] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 20
if (_parent.operate_block[1][1] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 21
if (_parent.operate_block[1][2] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 22
if (_parent.operate_block[1][3] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 23
if (_parent.operate_block[2][3] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 24
if (_parent.operate_block[3][3] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 25
if (_parent.operate_block[3][2] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 408 MovieClip Frame 26
if (_parent.operate_block[2][2] == 0) {
cursor.gotoAndStop("blue");
} else {
cursor.gotoAndStop("red");
}
Symbol 412 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 5
stop();
Symbol 412 MovieClip Frame 6
gotoAndPlay ("time_stop");
Symbol 412 MovieClip Frame 10
stop();
Symbol 412 MovieClip Frame 15
stop();
Symbol 412 MovieClip Frame 16
gotoAndPlay ("time_stop");
Symbol 412 MovieClip Frame 20
stop();
Symbol 412 MovieClip Frame 25
stop();
Symbol 412 MovieClip Frame 26
gotoAndPlay ("time_stop");
Symbol 412 MovieClip Frame 30
stop();
Symbol 412 MovieClip Frame 31
gotoAndPlay ("time_stop");
Symbol 412 MovieClip Frame 35
stop();
Symbol 412 MovieClip Frame 38
stop();
Symbol 412 MovieClip Frame 40
stop();
Symbol 412 MovieClip Frame 45
stop();
Symbol 412 MovieClip Frame 50
stop();
Symbol 412 MovieClip Frame 55
stop();
Symbol 412 MovieClip Frame 60
stop();
Symbol 412 MovieClip Frame 65
stop();
Symbol 412 MovieClip Frame 70
stop();