Frame 1
function hex_md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * chrsz)));
}
function b64_md5(s) {
return(binl2b64(core_md5(str2binl(s), s.length * chrsz)));
}
function str_md5(s) {
return(binl2str(core_md5(str2binl(s), s.length * chrsz)));
}
function hex_hmac_md5(key, data) {
return(binl2hex(core_hmac_md5(key, data)));
}
function b64_hmac_md5(key, data) {
return(binl2b64(core_hmac_md5(key, data)));
}
function str_hmac_md5(key, data) {
return(binl2str(core_hmac_md5(key, data)));
}
function md5_vm_test() {
return(hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72");
}
function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(Array(_local4, _local3, _local2, _local1));
}
function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function core_hmac_md5(key, data) {
var _local2 = str2binl(key);
if (_local2.length > 16) {
_local2 = core_md5(_local2, key.length * chrsz);
}
var _local3 = Array(16);
var _local4 = Array(16);
var _local1 = 0;
while (_local1 < 16) {
_local3[_local1] = _local2[_local1] ^ 909522486;
_local4[_local1] = _local2[_local1] ^ 1549556828;
_local1++;
}
var _local5 = core_md5(_local3.concat(str2binl(data)), 512 + (data.length * chrsz));
return(core_md5(_local4.concat(_local5), 640));
}
function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function str2binl(str) {
var _local3 = Array();
var _local4 = (1 << chrsz) - 1;
var _local1 = 0;
while (_local1 < (str.length * chrsz)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((str.charCodeAt(_local1 / chrsz) & _local4) << (_local1 % 32));
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2str(bin) {
var _local3 = "";
var _local4 = (1 << chrsz) - 1;
var _local1 = 0;
while (_local1 < (bin.length * 32)) {
_local3 = _local3 + String.fromCharCode((bin[_local1 >> 5] >>> (_local1 % 32)) & _local4);
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2hex(binarray) {
var _local3 = (hexcase ? "0123456789ABCDEF" : "0123456789abcdef");
var _local4 = "";
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local4);
}
function binl2b64(binarray) {
var _local6 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var _local4 = "";
var _local2 = 0;
while (_local2 < (binarray.length * 4)) {
var _local5 = ((((binarray[_local2 >> 2] >> (8 * (_local2 % 4))) & 255) << 16) | (((binarray[(_local2 + 1) >> 2] >> (8 * ((_local2 + 1) % 4))) & 255) << 8)) | ((binarray[(_local2 + 2) >> 2] >> (8 * ((_local2 + 2) % 4))) & 255);
var _local1 = 0;
while (_local1 < 4) {
if (((_local2 * 8) + (_local1 * 6)) > (binarray.length * 32)) {
_local4 = _local4 + b64pad;
} else {
_local4 = _local4 + _local6.charAt((_local5 >> (6 * (3 - _local1))) & 63);
}
_local1++;
}
_local2 = _local2 + 3;
}
return(_local4);
}
stop();
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "true");
_quality = "HIGH";
_root.gameid = 1690;
_root.menu = classes.utils.CustomContextMenu.init();
_root.scoreslink = ("http://www.2Dplay.com/highscores.php?gameid=" + _root.gameid) + "&hiscore=";
_root.viewscoreslink = "http://www.2dplay.com/showscores.php?gameid=" + _root.gameid;
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
submitScore = function () {
var _local2 = _root.hex_md5(((("gameid=" + _root.gameid) + "&hiscore=") + totalScore) + "2DPlay.com/");
getURL (String(((_root.scoreslink + _root.totalScore) + "&hash=") + _local2), "_blank");
};
viewScore = function () {
getURL (_root.viewscoreslink, "_blank");
};
Instance of Symbol 89 MovieClip [TMPfric6p884d] in Frame 1
//component parameters
onClipEvent (construct) {
flashVersion = 8;
gameID = 1690;
movieFramerate = 25;
skipPreloader = false;
startFrameLabel = "menu";
}
Frame 6
function playNextLevel() {
highestPlayed = levelNumber;
myLocal_so = SharedObject.getLocal("jj");
if ((myLocal_so.data.highestPlayed < levelNumber) || (myLocal_so.data.highestPlayed == undefined)) {
myLocal_so.data.highestPlayed = levelNumber;
myLocal_so.flush();
}
inPractice = false;
levelName = levels[levelNumber][0];
levelLoops = levels[levelNumber][1];
levelMinScore = levels[levelNumber][2];
levelMinFor30 = levels[levelNumber][3];
levelMission = ("Score " + levelMinScore) + " points";
levelString = levels[levelNumber][4];
levelNumber2 = levelNumber + 1;
setLevel(levelName, levelString, levelLoops);
}
function practice(pr) {
if (highestPlayed >= pr) {
inPractice = true;
levelName = levels[pr][0];
levelLoops = levels[pr][1];
levelMinScore = levels[pr][2];
levelMinFor30 = levels[pr][3];
levelMission = ("Score " + levelMinScore) + " points";
levelString = levels[pr][4];
levelNumber2 = pr + 1;
setLevel(levelName, levelString, levelLoops);
trace("practice " + levelName);
}
}
function setLevel(levelN, levelString, loops) {
gs.TweenLite.to(_root, 0.7, {volume:30, overwrite:false});
gs.TweenLite.to(black, 0.5, {_alpha:100, overwrite:false});
gs.TweenLite.delayedCall(0.7, gotoPlay, [levelN, levelString, loops]);
}
function gotoPlay(levelN, levelString, loops) {
_root.level = levelString;
levelName = levelN;
var _local2 = new Sound();
_local2.attachSound(levelN);
_local2.start(0, loops + 1);
gs.TweenLite.to(black, 3, {_alpha:0, overwrite:false});
fadeInSound();
gotoAndPlay ("play");
}
function gotoJudges() {
gotoAndPlay ("judges");
}
function gotoMenu() {
gotoAndPlay ("menu");
}
function playSound(soundName) {
globalSound = new Sound();
globalSound.attachSound(soundName);
globalSound.start(0, 0);
}
function playRandomSound(sounds) {
generated = Math.floor(Math.random() * sounds.length);
if (sounds[generated] != "") {
playSound(sounds[generated]);
}
}
function importArrows() {
idArrow = 1;
var _local1 = level.split(";");
var _local2 = -3500;
var _local3 = 4500;
i = 0;
while (i < (_local1.length - 1)) {
importItem = _local1[i];
tmpArrow = importItem.split(",");
if (tmpArrow[0] != "") {
}
roundedTime = Math.round(_local2 + Number(tmpArrow[1] * 33.4));
setTimeout(addArrow, roundedTime, tmpArrow[0]);
i++;
}
setTimeout(showBlack, roundedTime + 9000);
setTimeout(fadeOutSound, roundedTime + 9000);
setTimeout(gotoJudges, roundedTime + 10500);
}
function stopLoop(loopName) {
globalSound.stop(loopName);
}
function fadeInSound() {
gs.TweenLite.to(_root, 0.8, {volume:100, overwrite:false});
}
function fadeInSound2() {
gs.TweenLite.to(_root, 0.2, {volume:100, overwrite:true});
}
function fadeOutSound() {
gs.TweenLite.to(_root, 3, {volume:0, overwrite:false});
}
function addArrow(dir) {
var _local1 = arrows.attachMovie("arrows", "arr_" + arrows.getNextHighestDepth(), arrows.getNextHighestDepth());
_local1._y = -116;
_local1._x = 43;
_local1.idArrow = idArrow;
_local1._yscale = 80;
_local1._xscale = 80;
_local1.invalid = false;
arrowArray.push(_local1);
gs.TweenLite.to(_local1, 1.2, {_x:150, ease:mx.transitions.easing.None.easeNone});
gs.TweenLite.to(_local1, 1.3, {_y:-30, _xscale:120, _yscale:120, delay:1.25, ease:mx.transitions.easing.None.easeNone, overwrite:false});
gs.TweenLite.to(_local1, 1.9, {_x:500, delay:2.5, ease:mx.transitions.easing.None.easeNone, overwrite:false});
gs.TweenLite.delayedCall(4.3, removeArrow, [_local1]);
gs.TweenLite.delayedCall(4.1, eatArrow, [_local1]);
_local1.dir = dir;
idArrow++;
if (dir == "U") {
_local1.arrow_clip.gotoAndPlay(2);
}
if (dir == "L") {
_local1.arrow_clip.gotoAndPlay(3);
}
if (dir == "R") {
_local1.arrow_clip.gotoAndPlay(4);
}
}
function removeArrow(clip) {
clip.removeMovieClip();
}
function eatArrow(theArrow) {
foreground.gator.eat(theArrow);
}
function randomChoice(choices) {
generated = Math.floor(Math.random() * choices.length);
return(choices[generated]);
}
function showBlack() {
gs.TweenLite.to(black, 1.5, {_alpha:100, overwrite:false});
}
function hideBlack() {
gs.TweenLite.to(black, 1, {_alpha:0, overwrite:false});
}
stop();
var arrowArray = new Array();
var currentArrow;
var globalSound = new Sound();
var score = 0;
var totalScore = 0;
var prevLevelScore = 0;
var idArrow = 1;
var level;
var levelNumber = 0;
var levelNumber2 = (levelNumber + 1);
var levelScore = 0;
var levelMinScore = 0;
var levelMinFor30 = 0;
var levels;
var levelName;
var inPractice = false;
var retried = false;
var highestPlayed;
creadas = 0;
hideBlack();
levels = [["hiphop", 2, 900, 2250, "R,143.75;U,214.45;R,284.25;L,321.75;D,357.45;U,394.15;R,429.95;L,466.95;D,502.4;U,537.3;L,571.65;L,582.8;L,593.8;R,607;R,617.6;R,629.2;U,641.75;U,653.65;U,664.9;D,678;D,690.25;D,702.4;L,714.8;L,727.1;L,739.65;R,752.6;R,764.9;R,777.55;U,790.7;U,802.7;U,814.9;D,831.4;D,842.15;D,852.25;U,898;D,935.3;U,969.6;D,1001.8;L,1036.65;R,1070.9;D,1108.2;U,1143.9;L,1180.8;R,1216.55;D,1252.25;U,1289.2;D,1319.6;U,1352.1;D,1363.7;L,1433.1;L,1444.75;L,1456.25;R,1468.1;R,1479.85;R,1491.95;U,1504.45;U,1516.25;U,1528.25;D,1540.2;D,1552.25;D,1564.3;L,1576.25;L,1588.45;L,1600.6;R,1612.9;R,1625.2;R,1637.45;U,1649.8;U,1662.1;U,1674;D,1691.85;D,1703.75;D,1716.35;"], ["pop", 3, 1400, 3500, "D,125.8;U,153.6;R,182.3;U,210;D,239.35;D,267.6;L,296.55;R,323.55;U,352.95;D,379.5;U,404.5;U,488.55;D,529.3;U,542.95;L,556.35;L,616.6;R,629.3;D,665.7;U,676.2;D,686.7;D,721.75;R,778.45;L,791.05;R,802.95;L,814.85;R,826.75;D,838.65;L,879.95;R,900.6;D,936.2;U,966.65;D,995.45;U,1022.3;D,1050.25;D,1078;L,1103.95;D,1132.65;R,1162.85;U,1190.35;L,1218.6;U,1245.7;L,1273.7;D,1301;R,1327.7;U,1424.1;L,1433.8;D,1467.85;L,1478.85;R,1491.45;U,1535.65;L,1552.05;U,1567;L,1581.35;D,1595.35;U,1628.75;U,1643.3;D,1687.75;R,1696.9;R,1712.3;D,1729.8;U,1745.9;R,1774.45;L,1796.3;U,1834.75;D,1863.5;L,1891.3;U,1919.65;L,1950;R,1978.7;D,2007.75;U,2036.25;D,2064.65;L,2091.75;U,2119.75;L,2147.75;D,2174.55;R,2201.55;L,2228.75;D,2291.1;L,2305.9;L,2318;U,2328.55;R,2372.5;L,2400.05;R,2425.2;L,2461.2;L,2474.55;U,2486.65;L,2531.45;U,2573.05;D,2608.75;D,2620.65;U,2633.3;L,2670.15;R,2691.15;"], ["samba", 3, 2000, 5000, "D,107;U,159.85;L,213.7;U,267.5;L,320.25;R,373.05;U,428.35;U,437;L,447.6;L,458.9;D,484.75;D,494.4;R,505;R,515;L,536.5;L,544.1;U,556.4;U,567.2;R,576.4;D,587.9;D,597.3;D,608;U,644.5;U,652.1;L,664.4;L,675.2;R,684.9;D,697.9;D,705.3;R,718;R,727.65;U,737.05;L,749.5;L,757.1;U,769.4;U,780.2;R,789.4;D,800.9;D,810.3;D,821;L,953;D,963;U,1005.85;R,1015.85;L,1059.7;D,1069.7;U,1113.5;L,1123.5;L,1166.25;U,1176.25;R,1219.05;D,1229.05;U,1277.5;U,1285.1;L,1297.45;L,1308.2;R,1317.9;D,1330.9;D,1338.3;R,1351;R,1360.6;U,1370.05;L,1382.5;L,1390.1;U,1402.45;U,1413.2;R,1422.4;D,1433.9;D,1443.3;D,1454;U,1490.5;U,1498.1;L,1510.45;L,1521.2;R,1530.9;D,1543.9;D,1551.3;R,1564;R,1573.6;U,1583.05;L,1595.5;L,1603.1;U,1615.45;U,1626.2;R,1635.4;D,1646.9;D,1656.3;D,1667;L,1806;D,1816;U,1858.85;R,1868.85;L,1912.7;D,1922.7;U,1966.5;L,1976.5;L,2019.25;U,2029.25;R,2072.05;D,2082.05;U,2130.5;U,2138.1;L,2150.45;L,2161.2;R,2170.9;D,2183.9;D,2191.3;R,2204;R,2213.65;U,2223.05;L,2235.5;L,2243.1;U,2255.45;U,2266.2;R,2275.4;D,2286.9;D,2296.3;D,2307;U,2343.5;U,2351.1;L,2363.45;L,2374.2;R,2383.9;D,2396.9;D,2404.3;R,2417;R,2426.65;U,2436.05;L,2448.5;L,2456.1;U,2468.45;U,2479.2;R,2488.4;D,2499.9;D,2509.3;D,2520;"], ["techno", 4, 3000, 7500, "U,190;L,201.7;D,213.3;R,224.95;U,236.1;L,247.65;D,259.35;R,271.05;U,283.2;L,294;D,308;R,319.85;U,331.95;L,343.85;D,356.05;R,368.6;U,380.95;L,393.15;D,406.05;R,419.2;U,431.1;L,443.55;D,455.8;R,468.15;U,480.35;L,491.85;D,503.5;R,515.5;U,526.9;L,538.9;D,550.55;R,561.9;U,573.3;L,584.3;R,602.55;R,610.1;D,621.8;R,666.4;L,703.9;R,711.9;U,734.3;U,743.2;D,786.55;U,810.8;U,847.15;L,856.15;U,877.8;D,958.45;L,983.25;D,1009.25;R,1032.25;U,1056.7;L,1080.3;R,1104.75;D,1128.4;L,1156.7;D,1168.3;R,1179.95;U,1191.1;L,1202.6;D,1214.35;R,1226.05;U,1238.2;L,1250.1;D,1262.5;R,1274.85;U,1286.95;L,1298.85;D,1311.05;R,1323.6;U,1335.95;L,1349.55;D,1361.75;R,1374.2;U,1386.1;L,1398.55;D,1410.8;R,1423.1;U,1435.35;L,1446.85;D,1458.5;R,1470.5;U,1481.9;L,1493.9;D,1505.55;R,1516.9;U,1528.3;L,1539.3;R,1557.55;R,1565.1;D,1576.8;R,1628.4;L,1665.9;R,1673.9;U,1696.3;U,1705.2;D,1748.55;U,1772.8;U,1803.55;L,1810.45;U,1839.8;D,1920.45;L,1945.25;D,1971.25;R,1994.25;U,2018.7;L,2042.3;R,2066.75;D,2090.4;L,2106.7;D,2118.3;R,2129.95;U,2141.1;L,2152.6;D,2164.35;R,2176.05;U,2188.2;L,2200.1;D,2212.5;R,2224.85;U,2236.95;L,2248.85;D,2261.05;R,2273.6;U,2285.95;L,2299.55;D,2311.75;R,2324.2;U,2336.1;L,2348.55;D,2360.8;R,2373.1;U,2385.35;L,2396.85;D,2408.5;R,2420.5;U,2431.9;L,2443.9;D,2455.55;R,2466.9;U,2478.3;L,2489.3;R,2507.55;R,2515.1;D,2526.8;R,2578.4;L,2615.9;R,2623.9;U,2646.3;U,2655.2;D,2698.55;U,2722.8;U,2753.55;L,2760.45;U,2789.8;D,2875.45;L,2900.25;D,2926.25;R,2949.25;U,2973.7;L,2997.3;R,3021.75;D,3045.4;L,3061.7;D,3073.3;R,3084.95;U,3096.1;L,3107.6;D,3119.35;R,3131.05;U,3143.2;L,3155.1;D,3167.5;R,3179.85;U,3191.95;L,3203.85;D,3216.05;R,3228.6;U,3240.95;L,3254.55;D,3266.75;R,3279.2;U,3291.1;L,3303.55;D,3315.8;R,3328.1;U,3340.35;L,3351.85;D,3363.5;R,3375.5;U,3386.9;L,3398.9;D,3410.55;R,3421.9;U,3433.3;L,3444.3;R,3462.55;R,3470.1;D,3481.8;R,3533.4;L,3570.9;R,3578.9;U,3601.3;U,3610.2;D,3653.55;U,3677.8;U,3708.55;L,3715.45;U,3744.8;"], ["disco", 5, 3200, 8000, "U,252;L,281;D,312;R,340;U,369;L,401;D,431;R,451;R,459;L,476;D,485;R,493;R,508;D,516;L,525;L,538;D,546;R,554;R,566;D,575;L,584;L,597;D,607;R,616;R,627.8;D,635.8;L,642.8;D,655.9;R,664.9;U,673.9;D,683.9;R,693.9;D,700.9;U,707.9;D,783.5;U,795.85;L,804.9;D,813.65;U,837.55;L,850.15;D,859.75;U,868.7;D,971.15;U,1024.45;R,1040.75;L,1073.6;U,1197;L,1226;D,1257;R,1285;U,1314;L,1346;D,1376;R,1396;R,1404;L,1421;D,1430;R,1438;R,1453;D,1461;L,1470;L,1483;D,1491;R,1499;R,1511;D,1520;L,1529;L,1542;D,1552;R,1561;R,1572.8;D,1580.8;L,1587.8;D,1600.9;R,1609.9;U,1618.9;D,1628.9;R,1638.9;D,1645.9;U,1652.9;D,1729.5;U,1741.85;L,1750.9;D,1759.65;U,1783.55;L,1796.15;D,1805.75;U,1814.7;D,1917.15;U,1970.45;R,1986.75;L,2019.6;U,2153;L,2182;D,2213;R,2241;U,2270;L,2302;D,2476;L,2485;L,2498;D,2508;R,2517;R,2528.8;D,2536.8;L,2543.8;D,2556.9;R,2565.9;U,2574.9;D,2584.9;R,2594.9;D,2601.9;U,2608.9;D,2685.5;U,2697.85;L,2706.9;D,2715.65;U,2739.55;L,2752.15;D,2761.75;U,2770.7;D,2332;R,2352;R,2360;L,2377;D,2386;R,2394;R,2409;D,2417;L,2426;L,2439;D,2447;R,2455;R,2467;U,2801;L,2930;U,3101;L,3130;D,3161;R,3189;U,3218;L,3250;D,3280;R,3300;R,3308;L,3325;D,3334;R,3342;R,3357;D,3365;L,3374;L,3387;D,3395;R,3403;R,3415;D,3424;L,3433;L,3446;D,3456;R,3465;R,3476.8;D,3484.8;L,3491.8;D,3504.9;R,3513.9;U,3522.9;D,3532.9;R,3542.9;D,3549.9;U,3556.9;D,3633.5;U,3645.85;L,3654.9;D,3663.65;U,3687.55;L,3700.15;D,3709.75;U,3718.7;"]];
Object.prototype.getFps = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = Math.ceil(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
Frame 13
stop();
Frame 20
stop();
myLocal_so = SharedObject.getLocal("jj");
highestPlayed = myLocal_so.data.highestPlayed;
p2._visible = false;
p3._visible = false;
p4._visible = false;
p5._visible = false;
if (highestPlayed > 0) {
p2._visible = true;
q2._visible = false;
}
if (highestPlayed > 1) {
p3._visible = true;
q3._visible = false;
}
if (highestPlayed > 2) {
p4._visible = true;
q4._visible = false;
}
if (highestPlayed > 3) {
p5._visible = true;
q5._visible = false;
}
Frame 30
bg.gotoAndStop(levelName);
belt.gotoAndStop(levelName);
foreground.gotoAndStop(levelName);
simmo.gotoAndStop(levelName);
_quality = "MEDIUM";
txtLevelNombre._alpha = 0;
txtLevelNombre2._alpha = 0;
Instance of Symbol 427 MovieClip "possemeter" in Frame 30
onClipEvent (enterFrame) {
this.gotoAndStop(Math.floor(_root.meter));
if (_root.meter > 0) {
_root.meter = _root.meter - 0.1;
} else {
_root.meter = 1;
}
if (_root.meter > 100) {
_root.meter = 100;
}
}
Frame 31
function checkArrow(code) {
arrowCount++;
var _local3 = "";
if (!inCombo) {
if (code == 37) {
_local3 = "L";
}
if (code == 38) {
_local3 = "U";
}
if (code == 39) {
_local3 = "R";
}
if (code == 40) {
_local3 = "D";
}
if (code == 32) {
if (meter > 96) {
makeSuperCombo();
}
}
}
if (_local3 != "") {
collArrow = undefined;
var _local2 = new Array();
i = 0;
while (i < arrowArray.length) {
tmpArrow = arrowArray[i];
if (spot.hitTest(tmpArrow) && (!tmpArrow.invalid)) {
_local2.push(tmpArrow);
}
i++;
}
if (_local2.length > 0) {
trace("----------------------------------");
trace("N\u00B0 COLISIONES: " + _local2.length);
i = 0;
while (i < _local2.length) {
tmpArrow = _local2[i];
trace((((((((arrowCount + ") FLECHA: ") + tmpArrow._x) + " , invalid: ") + tmpArrow.invalid) + " , dir: ") + tmpArrow.dir) + " , idArrow: ") + tmpArrow.idArrow);
i++;
}
trace("COLISION!! " + _local2[0].idArrow);
if (((levelNumber == 3) && (_local2.length > 1)) && (_local2[0].idArrow == 10)) {
trace("INVIRTIENDO SORT: " + _local2);
_local2.sortOn(["_x"], Array.DESCENDING);
}
trace("----------------------------------");
}
collArrow = _local2[0];
if (collArrow != undefined) {
if ((collArrow.dir == _local3) && (!collArrow.invalid)) {
if (!simmo.dancing) {
simmo.clip.gotoAndPlay("step1");
}
if ((collArrow._x < 310) || (collArrow._x > 365)) {
_root.spot.gotoAndStop(3);
score = score + 5;
meter = meter + 2;
currentPerfect = 0;
comboLevel = 1;
trace("OK");
} else if ((collArrow._x < 325) || (collArrow._x > 343)) {
_root.spot.gotoAndStop(4);
score = score + 10;
meter = meter + 4;
currentPerfect = 0;
comboLevel = 1;
trace("GOOD");
} else {
trace("PERFECT");
currentPerfect++;
_root.spot.gotoAndStop(5);
if (currentPerfect < 5) {
comboLevel = 1;
} else if ((currentPerfect >= 5) && (currentPerfect < 10)) {
comboLevel = 2;
} else if ((currentPerfect >= 10) && (currentPerfect < 15)) {
comboLevel = 3;
} else if ((currentPerfect >= 15) && (currentPerfect < 20)) {
comboLevel = 4;
} else if (currentPerfect >= 20) {
comboLevel = 5;
}
playCombo(comboLevel);
score = score + (15 * comboLevel);
meter = meter + 7;
meter = meter + (comboLevel - 1);
}
gs.TweenLite.killTweensOf(collArrow);
trace((((("--REMOVING: " + collArrow._x) + ", dir: ") + collArrow.dir) + " , idArrow: ") + tmpArrow.idArrow);
collArrow.removeMovieClip();
NumberGoodArrows++;
} else {
_root.spot.gotoAndStop(2);
_root.meter = _root.meter - 10;
if (!simmo.falling) {
simmo.clip.gotoAndPlay(randomChoice(["stumble1", "stumble2"]));
}
trace((((("--INVALIDATING: " + collArrow._x) + ", dir: ") + collArrow.dir) + " , idArrow: ") + tmpArrow.idArrow);
collArrow.invalid = true;
NumberGoodArrows--;
currentPerfect = 0;
comboLevel = 1;
gs.TweenFilterLite.to(collArrow, 0.3, {type:"Color", brightness:0.2, overwrite:false});
}
_root.spot.spot.gotoAndPlay(1);
} else {
_root.spot.gotoAndStop(2);
_root.spot.spot.gotoAndPlay(1);
_root.meter = _root.meter - 10;
if (!simmo.falling) {
simmo.clip.gotoAndPlay(randomChoice(["stumble1", "stumble2"]));
}
}
}
}
function playCombo(level) {
combos.gotoAndStop(level);
combos.clip.gotoAndPlay(1);
}
function makeSuperCombo() {
inCombo = true;
score = score + 100;
_root.hundred.gotoAndPlay(2);
crowd.gotoAndPlay("great");
_root.playSound("woohoos.02.wav");
simmo.clip.gotoAndPlay("step1");
i = 0;
while (i < arrowArray.length) {
tmpArrow = arrowArray[i];
if (tmpArrow._x != undefined) {
var _local2 = arrows.attachMovie("comboScore", "combo_" + arrows.getNextHighestDepth(), arrows.getNextHighestDepth(), {_x:tmpArrow._x, _y:tmpArrow._y + 195});
gs.TweenLite.killTweensOf(tmpArrow);
tmpArrow.removeMovieClip();
score = score + 15;
}
i++;
}
gs.TweenFilterLite.to(bg, 0.5, {type:"Color", colorize:0, amount:0.7, delay:0.5, overwrite:false});
gs.TweenFilterLite.to(simmo, 1, {type:"Glow", color:16777215, blurX:20, blurY:20, alpha:1, strength:1.5, delay:0.5});
gs.TweenLite.delayedCall(3, finishCombo, []);
gs.TweenLite.killDelayedCallsTo(removeArrow);
gs.TweenLite.killDelayedCallsTo(eatArrow);
meter = 1;
}
function finishCombo() {
inCombo = false;
gs.TweenFilterLite.to(simmo, 1, {type:"Glow", color:16777215, blurX:0, blurY:0, alpha:0, strength:0, overwrite:false});
gs.TweenFilterLite.to(bg, 0.5, {type:"Color", colorize:0, amount:0, overwrite:false});
}
var inCombo = false;
var NumberCombos = 0;
var NumberGoodArrows = 0;
var NumberBadArrows = 0;
var NumberWastedArrows = 0;
var comboLevel = 1;
var currentPerfect = 0;
var previousPerfect = false;
var arrowArray = new Array();
possemeter.onFire = false;
score = 0;
arrowCount = 0;
meter = 26;
stop();
importArrows();
gs.TweenLite.to(txtLevelNombre, 1, {_alpha:100});
gs.TweenLite.to(txtLevelNombre2, 1, {_alpha:100});
gs.TweenLite.to(txtLevelNombre, 1, {_alpha:0, delay:3, overwrite:false});
gs.TweenLite.to(txtLevelNombre2, 1, {_alpha:0, delay:3, overwrite:false});
gs.TweenLite.to(black, 1, {_alpha:0});
onEnterFrame = function () {
if (_root.score < 0) {
_root.score = 0;
}
totalScore = prevLevelScore + score;
};
if (keyListener == undefined) {
keyListener = new Object();
keyListener.onKeyDown = function () {
code = Key.getCode();
checkArrow(code);
};
Key.addListener(keyListener);
}
Frame 41
function showClip(clip) {
clip._visible = true;
}
function hideJudges() {
gs.TweenLite.to(judges, 1, {_x:18, _y:170, _xscale:50, _yscale:50});
gs.TweenLite.delayedCall(1.5, showClip, [mc_reqscore]);
gs.TweenLite.delayedCall(2.1, showClip, [mc_levelscore]);
if ((retried == true) && (_root.score < _root.levelMinScore)) {
trace("yay");
} else {
gs.TweenLite.to(btnMainMenu, 1, {_y:373, delay:2.5, ease:mx.transitions.easing.Back.easeOut});
}
if (!inPractice) {
gs.TweenLite.delayedCall(2.6, showClip, [mc_totalscore]);
if (_root.score > _root.levelMinScore) {
if (levelNumber < 4) {
gs.TweenLite.to(btnDanceOn, 1, {_y:373, delay:2.9, ease:mx.transitions.easing.Back.easeOut});
} else {
gs.TweenLite.delayedCall(3.5, showBlack);
gs.TweenLite.delayedCall(5, gotoWin);
gs.TweenLite.delayedCall(5.1, hideBlack);
}
} else if (retried) {
gs.TweenLite.delayedCall(3.5, showBlack);
gs.TweenLite.delayedCall(5, gotoLose);
gs.TweenLite.delayedCall(5.1, hideBlack);
} else {
gs.TweenLite.to(btnSubmit, 1, {_y:373, delay:2.7, ease:mx.transitions.easing.Back.easeOut});
gs.TweenLite.to(btnTryAgain, 1, {_y:373, delay:2.9, ease:mx.transitions.easing.Back.easeOut});
}
} else {
gs.TweenLite.to(btnPractice, 1, {_y:373, delay:2.7, ease:mx.transitions.easing.Back.easeOut});
}
}
function gotoLose() {
gotoAndPlay ("lose");
}
function gotoWin() {
gotoAndPlay ("win");
}
function calcJudges() {
_root.judgesScore = Math.round((score * 30) / levelMinFor30);
if ((score >= levelMinFor30) || (judgesScore > 26)) {
if (judgesScore >= 30) {
judgesScore = 30;
_root.judge1 = 10;
_root.judge2 = 10;
_root.judge3 = 10;
}
if (judgesScore == 29) {
_root.judge1 = 9;
_root.judge2 = 10;
_root.judge3 = 10;
}
if (judgesScore == 28) {
_root.judge1 = 10;
_root.judge2 = 9;
_root.judge3 = 9;
}
if (judgesScore == 27) {
_root.judge1 = 8;
_root.judge2 = 10;
_root.judge3 = 9;
}
} else {
getRandomScores(_root.judgesScore);
}
trace("levelMinFor30: " + levelMinFor30);
trace("levelScore: " + score);
trace("judgesScore: " + judgesScore);
trace((((judge1 + " - ") + judge2) + " - ") + judge3);
}
function getRandomScores(baseScore) {
_root.judge1 = Math.round(baseScore / 3) + Math.round((Math.random() * 2) - (Math.random() * 2));
_root.judge2 = Math.round(baseScore / 3) + Math.round((Math.random() * 2) - (Math.random() * 2));
_root.judge3 = (baseScore - _root.judge1) - _root.judge2;
if (((_root.judge1 >= 10) || (_root.judge2 >= 10)) || (_root.judge3 >= 10)) {
getRandomScores(baseScore);
}
}
function playJudgeSound(judgeName, judgeScore) {
var _local2 = "";
if (judgeScore <= 3) {
_local2 = judgeName + ".A.01.wav";
} else if ((judgeScore > 3) && (judgeScore <= 6)) {
_local2 = judgeName + ".B.01.wav";
} else {
_local2 = judgeName + ".C.01.wav";
}
_root.playSound(_local2);
trace((("soundToPlay: " + _local2) + ", scores: ") + judgeScore);
}
showJudgesGUI();
fadeInSound();
hideBlack();
stopLoop(levelName);
_quality = "HIGH";
var judgesScore = 0;
var judge1 = 0;
var judge2 = 0;
var judge3 = 0;
mc_levelscore._visible = false;
mc_reqscore._visible = false;
mc_totalscore._visible = false;
calcJudges();
Frame 42
stop();
Frame 51
stop();
Frame 60
hideBlack();
Frame 85
stop();
Symbol 20 Button
on (press) {
getURL ("http://www.2DPlay.com/index.php?gameid=" + _parent.gameID, "_blank");
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
_parent.showLogo();
stop();
Instance of Symbol 22 MovieClip in Symbol 80 MovieClip Frame 11
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("SCIFI.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 22 MovieClip in Symbol 80 MovieClip Frame 69
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("BEEPDBL.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 22 MovieClip in Symbol 80 MovieClip Frame 82
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("INSERT4.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 22 MovieClip in Symbol 80 MovieClip Frame 96
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("MSOVR2.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 22 MovieClip in Symbol 80 MovieClip Frame 112
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("BLOOB.WAV");
_parent.sfx.start(0, 1);
}
Symbol 89 MovieClip [TMPfric6p884d] Frame 1
function detectFlashVersion(detectVersion) {
var _local3 = System.capabilities.version;
var _local2;
var _local1 = 0;
while (_local1 < _local3.length) {
_local2 = Number(_local3.charAt(_local1));
if (!isNaN(_local2)) {
_local2 = ((!isNaN(Number(_local3.charAt(_local1 + 1)))) ? (Number(String(_local2) + _local3.charAt(_local1 + 1))) : (_local2));
break;
}
_local1++;
}
if (_local2 < detectVersion) {
gotoAndPlay (3);
} else {
gotoAndPlay (2);
}
}
function startPreload() {
this.onEnterFrame = function () {
this.preload();
};
}
function preload() {
var _local3 = _root.getBytesTotal();
var _local4 = _root.getBytesLoaded();
var _local5 = Math.floor((_local4 / _local3) * 100);
loader_bar.mask._xscale = _local5;
loader_bar._alpha = ((loader_bar._alpha < 100) ? (loader_bar._alpha + 10) : 100);
if ((_local4 >= _local3) && (_local3 > 0)) {
delete this.onEnterFrame;
_root.gotoAndPlay(startFrameLabel);
}
}
function showLogo() {
this.playbackPercent = 0;
this.onEnterFrame = function () {
this.logoFrameStep();
};
}
function logoFrameStep() {
var _local3 = 30;
var _local2 = 200;
var _local4 = Math.floor(playbackPercent * _local2) + 1;
playbackPercent = playbackPercent + ((_local3 / movieFramerate) / _local2);
logo.gotoAndStop(_local4);
if ((playbackPercent >= 1) || (skipPreloader)) {
delete this.onEnterFrame;
startPreload();
}
}
_visible = false;
detectFlashVersion(flashVersion);
stop();
Symbol 89 MovieClip [TMPfric6p884d] Frame 2
loader_bar.mask._xscale = 0;
loader_bar._alpha = 0;
_visible = true;
stop();
Symbol 89 MovieClip [TMPfric6p884d] Frame 3
messageField.html = true;
messageField.multiline = true;
messageField.htmlText = ((("<font face='_sans' color='#FFFFFF'><p align='center'>You will need the <a href='http://www.adobe.com/go/getflashplayer'><u>Flash Player version " + flashVersion) + "</u></a> to play this game\r\r\rAlternatively you can download the game from <a href='http://www.2dplay.com'><u>2DPlay.com</u></a> by clicking <a href='http://www.2dplay.com/downloadgame.php?gameid=") + gameID) + "'><u>here</u></a></p></font>";
_visible = true;
stop();
Symbol 1084 MovieClip [__Packages.classes.utils.CustomContextMenu] Frame 0
class classes.utils.CustomContextMenu
{
function CustomContextMenu () {
}
static function init() {
if (cm == null) {
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Play more games", playMoreGames));
cm.customItems.push(new ContextMenuItem("Get game for your site", getGame));
cm.customItems.push(new ContextMenuItem("Download this game", downloadGame));
}
return(cm);
}
static function playMoreGames(obj, menuItem) {
classes.utils.URLCaller.playMoreGames();
}
static function getGame(obj, menuItem) {
classes.utils.URLCaller.getGameForSite();
}
static function downloadGame(obj, menuItem) {
classes.utils.URLCaller.downloadGame();
}
static var cm = null;
}
Symbol 1085 MovieClip [__Packages.classes.utils.URLCaller] Frame 0
class classes.utils.URLCaller
{
function URLCaller () {
}
static function mainLink() {
getURL ("http://www.2DPlay.com/index.php?gameid=" + classes.game.GameData.gameID, "_blank");
}
static function viewScores() {
getURL ("http://www.2Dplay.com/highscores.php?gameid=" + classes.game.GameData.gameID, "_blank");
}
static function playMoreGames() {
getURL ("http://www.2DPlay.com/index.php?gameid=" + classes.game.GameData.gameID, "_blank");
}
static function getGameForSite() {
getURL ("http://www.2DPlay.com/freecontent.htm", "_blank");
}
static function downloadGame() {
getURL ("http://www.2DPlay.com/downloadgame.php?gameid=" + classes.game.GameData.gameID, "_blank");
}
static function submitScore(score) {
var _local1 = classes.utils.Utils.hex_md5(((("gameid=" + classes.game.GameData.gameID) + "&hiscore=") + score) + "2DPlay.com/");
getURL ((((("http://www.2DPlay.com/highscores.php?gameid=" + classes.game.GameData.gameID) + "&hiscore=") + score) + "&hash=") + _local1, "_blank");
}
}
Symbol 1086 MovieClip [__Packages.classes.game.GameData] Frame 0
class classes.game.GameData
{
function GameData () {
}
static var gameID = 1690;
}
Symbol 1087 MovieClip [__Packages.classes.utils.Utils] Frame 0
class classes.utils.Utils
{
function Utils () {
}
static function rndFromXtoY(x, y) {
if (x > y) {
return(null);
}
var _local1 = x + Math.floor(Math.random() * ((y - x) + 1));
return(_local1);
}
static function validateEmail(email) {
if (email.length < 5) {
return(false);
}
var _local4 = "*|,\":<>[]{}`';()&$#%";
var _local3 = email.length;
var _local1 = 0;
while (_local1 < _local3) {
if (_local4.indexOf(email.charAt(_local1)) != -1) {
return(false);
}
_local1++;
}
var _local5 = email.lastIndexOf("@");
if ((_local5 < 1) || (_local5 == (_local3 - 1))) {
return(false);
}
var _local6 = email.lastIndexOf(".");
if ((_local6 < 4) || (_local6 == (_local3 - 1))) {
return(false);
}
if (_local5 > _local6) {
return(false);
}
_local1 = 0;
while (_local1 < _local3) {
if (((email.charAt(_local1) == ".") || (email.charAt(_local1) == "@")) && (email.charAt(_local1) == email.charAt(_local1 - 1))) {
return(false);
}
_local1++;
}
return(true);
}
static function hex_md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * chrsz)));
}
static function b64_md5(s) {
return(binl2b64(core_md5(str2binl(s), s.length * chrsz)));
}
static function str_md5(s) {
return(binl2str(core_md5(str2binl(s), s.length * chrsz)));
}
static function hex_hmac_md5(key, data) {
return(binl2hex(core_hmac_md5(key, data)));
}
static function b64_hmac_md5(key, data) {
return(binl2b64(core_hmac_md5(key, data)));
}
static function str_hmac_md5(key, data) {
return(binl2str(core_hmac_md5(key, data)));
}
static function md5_vm_test() {
return(hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72");
}
static function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(new Array(_local4, _local3, _local2, _local1));
}
static function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
static function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
static function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
static function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
static function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
static function core_hmac_md5(key, data) {
var _local2 = str2binl(key);
if (_local2.length > 16) {
_local2 = core_md5(_local2, key.length * chrsz);
}
var _local3 = Array(16);
var _local4 = Array(16);
var _local1 = 0;
while (_local1 < 16) {
_local3[_local1] = _local2[_local1] ^ 909522486;
_local4[_local1] = _local2[_local1] ^ 1549556828;
_local1++;
}
var _local5 = core_md5(_local3.concat(str2binl(data)), 512 + (data.length * chrsz));
return(core_md5(_local4.concat(_local5), 640));
}
static function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
static function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
static function str2binl(str) {
var _local3 = new Array();
var _local4 = (1 << chrsz) - 1;
var _local1 = 0;
while (_local1 < (str.length * chrsz)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((str.charCodeAt(_local1 / chrsz) & _local4) << (_local1 % 32));
_local1 = _local1 + chrsz;
}
return(_local3);
}
static function binl2str(bin) {
var _local3 = "";
var _local4 = (1 << chrsz) - 1;
var _local1 = 0;
while (_local1 < (bin.length * 32)) {
_local3 = _local3 + String.fromCharCode((bin[_local1 >> 5] >>> (_local1 % 32)) & _local4);
_local1 = _local1 + chrsz;
}
return(_local3);
}
static function binl2hex(binarray) {
var _local3 = (hexcase ? "0123456789ABCDEF" : "0123456789abcdef");
var _local4 = "";
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local4);
}
static function binl2b64(binarray) {
var _local6 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var _local4 = "";
var _local2 = 0;
while (_local2 < (binarray.length * 4)) {
var _local5 = ((((binarray[_local2 >> 2] >> (8 * (_local2 % 4))) & 255) << 16) | (((binarray[(_local2 + 1) >> 2] >> (8 * ((_local2 + 1) % 4))) & 255) << 8)) | ((binarray[(_local2 + 2) >> 2] >> (8 * ((_local2 + 2) % 4))) & 255);
var _local1 = 0;
while (_local1 < 4) {
if (((_local2 * 8) + (_local1 * 6)) > (binarray.length * 32)) {
_local4 = _local4 + b64pad;
} else {
_local4 = _local4 + _local6.charAt((_local5 >> (6 * (3 - _local1))) & 63);
}
_local1++;
}
_local2 = _local2 + 3;
}
return(_local4);
}
static var hexcase = 0;
static var b64pad = "";
static var chrsz = 8;
}
Symbol 1088 MovieClip [__Packages.gs.TweenLite] Frame 0
class gs.TweenLite
{
static var _e, _gc;
var tweenID, endTargetID, vars, duration, delay, target, _endTarget, tweens, extraTweens, initTime, _active, color, colorParts, _sound, startTime, __get__endTarget;
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;
delay = $vars.delay || 0;
if ($duration == 0) {
duration = 0.001;
if (delay == 0) {
vars.runBackwards = true;
}
}
target = (_endTarget = $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 = {};
extraTweens = {};
initTime = getTimer();
if (vars.runBackwards == true) {
initTweenVals();
}
_active = false;
if (($duration == 0) && (delay == 0)) {
complete(true);
} else {
if (_e._visible != false) {
if (!_root.tweenLite_mc) {
var _local5 = _root.getNextHighestDepth() || 9999;
_e = _root.createEmptyMovieClip("tweenLite_mc", _local5);
_e.swapDepths(-1);
} else {
_e = _root.tweenLite_mc;
}
_e._visible = false;
clearInterval(_gc);
_gc = setInterval(killGarbage, 2000);
}
_e.onEnterFrame = executeAll;
}
}
function initTweenVals() {
var _local5 = delay - ((getTimer() - initTime) / 1000);
var _local8;
if (target instanceof Array) {
var _local7 = vars.endArray || ([]);
var _local2 = 0;
while (_local2 < _local7.length) {
if ((target[_local2] != _local7[_local2]) && (target[_local2] != undefined)) {
tweens[_local2.toString()] = {o:target, s:target[_local2], c:_local7[_local2] - target[_local2]};
}
_local2++;
}
} else {
for (var _local27 in vars) {
if ((((((((((((((_local27 == "delay") || (_local27 == "ease")) || (_local27 == "overwrite")) || (_local27 == "onComplete")) || (_local27 == "onCompleteParams")) || (_local27 == "runBackwards")) || (_local27 == "onUpdate")) || (_local27 == "onUpdateParams")) || (_local27 == "autoAlpha")) || (_local27 == "_autoAlpha")) || (_local27 == "onStart")) || (_local27 == "onStartParams")) || (_local27 == "easeParams")) || (_local27 == "mcColor")) {
} else if ((_local27 == "tint") && ((typeof(target) == "movieclip") || (target instanceof TextField))) {
color = new Color(target);
colorParts = color.getTransform();
var _local6;
var _local4;
if ((vars[_local27] == null) || (vars[_local27] == "")) {
if (vars._alpha != undefined) {
_local4 = vars._alpha;
delete vars._alpha;
delete tweens._alpha;
} else {
_local4 = target._alpha;
}
_local6 = {rb:0, gb:0, bb:0, ra:_local4, ga:_local4, ba:_local4, ease:vars.ease, delay:_local5, overwrite:false, runBackwards:vars.runBackwards};
} else {
_local6 = {rb:vars[_local27] >> 16, gb:(vars[_local27] >> 8) & 255, bb:vars[_local27] & 255, ra:0, ga:0, ba:0, ease:vars.ease, delay:_local5, overwrite:false, runBackwards:vars.runBackwards};
}
var _local10 = new gs.TweenLite(colorParts, duration, _local6);
var _local11 = new gs.TweenLite(this, duration, {colorProxy:1, delay:_local5, overwrite:false, runBackwards:vars.runBackwards});
_local10.endTarget = (_local11.endTarget = target);
} else if ((_local27 == "volume") && (typeof(target) == "movieclip")) {
_sound = new Sound(target);
var _local9 = new gs.TweenLite(this, duration, {volumeProxy:vars[_local27], ease:easeOut, delay:_local5, overwrite:false, runBackwards:vars.runBackwards});
_local9.endTarget = target;
} else if (target[_local27] != undefined) {
if (typeof(vars[_local27]) == "number") {
_local8 = vars[_local27] - target[_local27];
} else {
_local8 = Number(vars[_local27]);
}
tweens[_local27] = {o:target, s:target[_local27], c:_local8};
} else {
extraTweens[_local27] = {o:target, s:0, c:0, v:vars[_local27]};
}
}
}
if (vars.runBackwards == true) {
var _local3;
for (var _local27 in tweens) {
_local3 = tweens[_local27];
_local3.s = _local3.s + _local3.c;
_local3.c = _local3.c * -1;
_local3.o[_local27] = _local3.s;
}
if (vars.onUpdate != undefined) {
vars.onUpdate.apply(null, vars.onUpdateParams);
}
}
if (typeof(vars.autoAlpha) == "number") {
target._visible = !((vars.runBackwards == true) && (target._alpha == 0));
}
}
static function to($target, $duration, $vars) {
return(new gs.TweenLite($target, $duration, $vars));
}
static function from($target, $duration, $vars) {
$vars.runBackwards = true;
return(new gs.TweenLite($target, $duration, $vars));
}
static function delayedCall($delay, $onComplete, $onCompleteParams) {
return(new gs.TweenLite($onComplete, 0, {delay:$delay, onComplete:$onComplete, onCompleteParams:$onCompleteParams, overwrite:false}));
}
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) {
startTime = 0;
render(duration * 1000);
return(undefined);
}
if ((typeof(vars.autoAlpha) == "number") && (target._alpha == 0)) {
target._visible = false;
}
if (vars.onComplete) {
vars.onComplete.apply(null, 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);
}
function render(t) {
var _local4 = (t - startTime) / 1000;
if (_local4 > duration) {
_local4 = duration;
}
var _local2;
var _local3 = vars.ease(_local4, 0, 1, duration);
for (var _local5 in tweens) {
_local2 = tweens[_local5];
_local2.o[_local5] = _local2.s + (_local3 * _local2.c);
}
if (vars.onUpdate != undefined) {
vars.onUpdate.apply(null, vars.onUpdateParams);
}
if (_local4 == 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 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)));
}
function get active() {
if (_active) {
return(true);
}
if (((getTimer() - initTime) / 1000) > delay) {
_active = true;
startTime = initTime + (delay * 1000);
if (vars.runBackwards != true) {
initTweenVals();
} else if (typeof(vars.autoAlpha) == "number") {
target._visible = true;
}
if (duration == 0.001) {
startTime = startTime - 1;
}
if (vars.onStart != undefined) {
vars.onStart.apply(null, vars.onStartParams);
}
return(true);
}
return(false);
}
function set endTarget($t) {
_all[endTargetID][tweenID] = {active:false};
delete _all[endTargetID][tweenID];
endTargetID = getID($t, true);
_endTarget = $t;
_all[endTargetID][tweenID] = this;
//return(__get__endTarget());
}
function set volumeProxy($n) {
_sound.setVolume($n);
//return(volumeProxy);
}
function get volumeProxy() {
return(_sound.getVolume());
}
function set colorProxy($n) {
color.setTransform(colorParts);
//return(colorProxy);
}
function get colorProxy() {
return(0);
}
static var version = 5.8;
static var _all = new Object();
static var _cnt = -16000;
static var killDelayedCallsTo = killTweensOf;
}
Symbol 1089 MovieClip [__Packages.gs.TweenFilterLite] Frame 0
class gs.TweenFilterLite extends gs.TweenLite
{
var _mc, _clrsa, vars, _matrix, tweens, _f, _endMatrix, initTime, delay, _clrMtxTw, duration, _fType, extraTweens, __get__active, startTime;
function TweenFilterLite ($mc, $duration, $vars) {
super($mc, $duration, $vars);
_mc = $mc;
_clrsa = [];
if (vars.runBackwards == true) {
initTweenVals();
}
if ((gs.TweenLite.version < 5.8) || (gs.TweenLite.version == undefined)) {
trace("ERROR! Please update your TweenLite class. TweenFilterLite requires a more recent version. Download updates at http://www.TweenLite.com.");
}
}
function initTweenVals() {
if (_mc != undefined) {
super.initTweenVals();
if (vars.type != undefined) {
_clrsa = [];
_matrix = _idMatrix.slice();
if ((vars.quality == undefined) || (isNaN(vars.quality))) {
vars.quality = 2;
}
if (vars.runBackwards == true) {
for (var _local3 in tweens) {
tweens[_local3].flipped = true;
}
}
switch (vars.type.toLowerCase()) {
case "blur" :
setFilter(flash.filters.BlurFilter, ["blurX", "blurY", "quality"], new flash.filters.BlurFilter(0, 0, vars.quality));
break;
case "glow" :
setFilter(flash.filters.GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new flash.filters.GlowFilter(16777215, 0, 0, 0, vars.strength || 1, vars.quality, vars.inner, vars.knockout));
break;
case "colormatrix" :
case "color" :
case "colormatrixfilter" :
case "colorize" :
setFilter(flash.filters.ColorMatrixFilter, [], new flash.filters.ColorMatrixFilter(_matrix));
_matrix = _f.matrix;
if (vars.relative == true) {
_endMatrix = _matrix.slice();
} else {
_endMatrix = _idMatrix.slice();
}
_endMatrix = setBrightness(_endMatrix, vars.brightness);
_endMatrix = setContrast(_endMatrix, vars.contrast);
_endMatrix = setHue(_endMatrix, vars.hue);
_endMatrix = setSaturation(_endMatrix, vars.saturation);
_endMatrix = setThreshold(_endMatrix, vars.threshold);
if (!isNaN(vars.colorize)) {
_endMatrix = colorize(_endMatrix, vars.colorize, vars.amount);
} else if (!isNaN(vars.color)) {
_endMatrix = colorize(_endMatrix, vars.color, vars.amount);
}
var _local4 = delay - ((getTimer() - initTime) / 1000);
_clrMtxTw = new gs.TweenLite(_matrix, duration, {endArray:_endMatrix, ease:vars.ease, delay:_local4, overwrite:false, runBackwards:vars.runBackwards});
_clrMtxTw.__set__endTarget(_mc);
break;
case "shadow" :
case "dropshadow" :
setFilter(flash.filters.DropShadowFilter, ["alpha", "angle", "blurX", "blurY", "color", "distance", "quality", "strength", "inner", "knockout", "hideObject"], new flash.filters.DropShadowFilter(0, 45, 0, 0, 0, 0, 1, vars.quality, vars.inner, vars.knockout, vars.hideObject));
break;
case "bevel" :
setFilter(flash.filters.BevelFilter, ["angle", "blurX", "blurY", "distance", "highlightAlpha", "highlightColor", "quality", "shadowAlpha", "shadowColor", "strength"], new flash.filters.BevelFilter(0, 0, 16777215, 0.5, 0, 0.5, 2, 2, 0, vars.quality));
}
if (vars.runBackwards == true) {
flipFilterVals();
}
}
}
}
function setFilter($filterType, $props, $defaultFilter) {
_fType = $filterType;
var _local7 = _mc.filters;
var _local3;
var _local8;
_local3 = 0;
while (_local3 < _local7.length) {
if (_local7[_local3] instanceof $filterType) {
_f = _local7[_local3];
break;
}
_local3++;
}
if (_f == undefined) {
_local7.push($defaultFilter);
_mc.filters = _local7;
_f = $defaultFilter;
}
var _local2;
var _local6;
_local3 = 0;
while (_local3 < $props.length) {
_local2 = $props[_local3];
if (tweens[_local2] != undefined) {
_local6 = tweens[_local2];
delete tweens[_local2];
} else if (extraTweens[_local2] != undefined) {
_local6 = extraTweens[_local2];
} else {
_local6 = null;
}
if (_local6 != null) {
if (((((((_local2 == "brightness") || (_local2 == "colorize")) || (_local2 == "amount")) || (_local2 == "saturation")) || (_local2 == "contrast")) || (_local2 == "hue")) || (_local2 == "threshold")) {
} else if (((_local2 == "color") || (_local2 == "highlightColor")) || (_local2 == "shadowColor")) {
var _local4 = HEXtoRGB(_f[_local2]);
var _local5 = HEXtoRGB(vars[_local2]);
_clrsa.push({p:_local2, e:vars.ease, sr:_local4.rb, cr:_local5.rb - _local4.rb, sg:_local4.gb, cg:_local5.gb - _local4.gb, sb:_local4.bb, cb:_local5.bb - _local4.bb});
} else if ((((_local2 == "quality") || (_local2 == "inner")) || (_local2 == "knockout")) || (_local2 == "hideObject")) {
_f[_local2] = vars[_local2];
} else {
if (typeof(vars[_local2]) == "number") {
_local8 = vars[_local2] - _f[_local2];
} else {
_local8 = Number(vars[_local2]);
}
tweens[_local2] = {o:_f, p:_local2, s:_f[_local2], c:_local8};
}
}
_local3++;
}
}
static function to($target, $duration, $vars, $delay, $onComplete, $onCompleteParams, $overwrite) {
return(new gs.TweenFilterLite($target, $duration, $vars, $delay, $onComplete, $onCompleteParams, $overwrite));
}
static function from($target, $duration, $vars, $delay, $onComplete, $onCompleteParams, $overwrite) {
$vars.runBackwards = true;
return(new gs.TweenFilterLite($target, $duration, $vars, $delay, $onComplete, $onCompleteParams, $overwrite));
}
function flipFilterVals() {
var _local6 = __get__active();
var _local3;
var _local2;
for (var _local7 in tweens) {
if (tweens[_local7].flipped != true) {
_local2 = tweens[_local7];
_local2.s = _local2.s + _local2.c;
_local2.c = _local2.c * -1;
_local2.o[_local7] = _local2.s;
_local2.flipped = true;
}
}
_local3 = 0;
while (_local3 < _clrsa.length) {
_local2 = _clrsa[_local3];
_local2.sr = _local2.sr + _local2.cr;
_local2.cr = _local2.cr * -1;
_local2.sg = _local2.sg + _local2.cg;
_local2.cg = _local2.cg * -1;
_local2.sb = _local2.sb + _local2.cb;
_local2.cb = _local2.cb * -1;
if (!_local6) {
_f[_local2.p] = ((_local2.sr << 16) | (_local2.sg << 8)) | _local2.sb;
}
_local3++;
}
if (_local6 && (duration != 0.001)) {
render(getTimer());
} else {
if (_endMatrix) {
_f.matrix = _matrix;
}
var _local4 = _mc.filters;
var _local5 = [];
_local3 = 0;
while (_local3 < _local4.length) {
if (_local4[_local3] instanceof _fType) {
_local5.push(_f);
} else {
_local5.push(_local4[_local3]);
}
_local3++;
}
_mc.filters = _local5;
}
if (vars.onUpdate != undefined) {
vars.onUpdate.apply(null, vars.onUpdateParams);
}
}
function render($t) {
var _local11 = ($t - startTime) / 1000;
if (_local11 > duration) {
_local11 = duration;
}
var _local5 = vars.ease(_local11, 0, 1, duration);
var _local3;
var _local4;
var _local9;
var _local10;
var _local8;
for (var _local12 in tweens) {
_local3 = tweens[_local12];
_local3.o[_local12] = _local3.s + (_local5 * _local3.c);
}
_local4 = 0;
while (_local4 < _clrsa.length) {
_local3 = _clrsa[_local4];
_local9 = _local3.sr + (_local5 * _local3.cr);
_local10 = _local3.sg + (_local5 * _local3.cg);
_local8 = _local3.sb + (_local5 * _local3.cb);
_f[_local3.p] = ((_local9 << 16) | (_local10 << 8)) | _local8;
_local4++;
}
if (_endMatrix) {
_f.matrix = _matrix;
}
var _local6 = _mc.filters;
var _local7 = [];
_local4 = 0;
while (_local4 < _local6.length) {
if (_local6[_local4] instanceof _fType) {
_local7.push(_f);
} else {
_local7.push(_local6[_local4]);
}
_local4++;
}
_mc.filters = _local7;
if (vars.onUpdate != undefined) {
vars.onUpdate.apply(null, vars.onUpdateParams);
}
if (_local11 == duration) {
super.complete(true);
}
}
function HEXtoRGB($n) {
return({rb:$n >> 16, gb:($n >> 8) & 255, bb:$n & 255});
}
static function colorize($m, $color, $amount) {
if (($color == undefined) || (isNaN($color))) {
return($m);
}
if ($amount == undefined) {
$amount = 1;
}
var _local3 = (($color >> 16) & 255) / 255;
var _local5 = (($color >> 8) & 255) / 255;
var _local2 = ($color & 255) / 255;
var _local4 = 1 - $amount;
var _local7 = [_local4 + (($amount * _local3) * _lumR), ($amount * _local3) * _lumG, ($amount * _local3) * _lumB, 0, 0, ($amount * _local5) * _lumR, _local4 + (($amount * _local5) * _lumG), ($amount * _local5) * _lumB, 0, 0, ($amount * _local2) * _lumR, ($amount * _local2) * _lumG, _local4 + (($amount * _local2) * _lumB), 0, 0, 0, 0, 0, 1, 0];
return(applyMatrix(_local7, $m));
}
static function setThreshold($m, $n) {
if (($n == undefined) || (isNaN($n))) {
return($m);
}
var _local2 = [_lumR * 256, _lumG * 256, _lumB * 256, 0, -256 * $n, _lumR * 256, _lumG * 256, _lumB * 256, 0, -256 * $n, _lumR * 256, _lumG * 256, _lumB * 256, 0, -256 * $n, 0, 0, 0, 1, 0];
return(applyMatrix(_local2, $m));
}
static function setHue($m, $n) {
if (($n == undefined) || (isNaN($n))) {
return($m);
}
$n = $n * (Math.PI/180);
var _local1 = Math.cos($n);
var _local2 = Math.sin($n);
var _local4 = [(_lumR + (_local1 * (1 - _lumR))) + (_local2 * (-_lumR)), (_lumG + (_local1 * (-_lumG))) + (_local2 * (-_lumG)), (_lumB + (_local1 * (-_lumB))) + (_local2 * (1 - _lumB)), 0, 0, (_lumR + (_local1 * (-_lumR))) + (_local2 * 0.143), (_lumG + (_local1 * (1 - _lumG))) + (_local2 * 0.14), (_lumB + (_local1 * (-_lumB))) + (_local2 * -0.283), 0, 0, (_lumR + (_local1 * (-_lumR))) + (_local2 * (-(1 - _lumR))), (_lumG + (_local1 * (-_lumG))) + (_local2 * _lumG), (_lumB + (_local1 * (1 - _lumB))) + (_local2 * _lumB), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return(applyMatrix(_local4, $m));
}
static function setBrightness($m, $n) {
if (($n == undefined) || (isNaN($n))) {
return($m);
}
$n = ($n * 100) - 100;
return(applyMatrix([1, 0, 0, 0, $n, 0, 1, 0, 0, $n, 0, 0, 1, 0, $n, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], $m));
}
static function setSaturation($m, $n) {
if (($n == undefined) || (isNaN($n))) {
return($m);
}
var _local4 = 1 - $n;
var _local3 = _local4 * _lumR;
var _local5 = _local4 * _lumG;
var _local2 = _local4 * _lumB;
var _local6 = [_local3 + $n, _local5, _local2, 0, 0, _local3, _local5 + $n, _local2, 0, 0, _local3, _local5, _local2 + $n, 0, 0, 0, 0, 0, 1, 0];
return(applyMatrix(_local6, $m));
}
static function setContrast($m, $n) {
if (($n == undefined) || (isNaN($n))) {
return($m);
}
$n = $n + 0.01;
var _local2 = [$n, 0, 0, 0, 128 * (1 - $n), 0, $n, 0, 0, 128 * (1 - $n), 0, 0, $n, 0, 128 * (1 - $n), 0, 0, 0, 1, 0];
return(applyMatrix(_local2, $m));
}
static function applyMatrix($m, $m2) {
if (((($m == undefined) || (!($m instanceof Array))) || ($m2 == undefined)) || (!($m2 instanceof Array))) {
return($m2);
}
var _local7 = [];
var _local2 = 0;
var _local5 = 0;
var _local6 = 0;
while (_local6 < 4) {
var _local1 = 0;
while (_local1 < 5) {
if (_local1 == 4) {
_local5 = $m[_local2 + 4];
} else {
_local5 = 0;
}
_local7[_local2 + _local1] = (((($m[_local2] * $m2[_local1]) + ($m[_local2 + 1] * $m2[_local1 + 5])) + ($m[_local2 + 2] * $m2[_local1 + 10])) + ($m[_local2 + 3] * $m2[_local1 + 15])) + _local5;
_local1++;
}
_local2 = _local2 + 5;
_local6++;
}
return(_local7);
}
static var version = 5.81;
static var _idMatrix = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
static var _lumR = 0.212671;
static var _lumG = 0.71516;
static var _lumB = 0.072169;
static var delayedCall = gs.TweenLite.delayedCall;
static var killTweensOf = gs.TweenLite.killTweensOf;
static var killDelayedCallsTo = gs.TweenLite.killDelayedCallsTo;
}
Symbol 1090 MovieClip [__Packages.caurina.transitions.Tweener] Frame 0
class caurina.transitions.Tweener
{
static var _specialPropertySplitterList, _specialPropertyModifierList, _transitionList, _currentTime, _tweenList, _specialPropertyList;
function Tweener () {
trace("Tweener is an static class and should not be instantiated.");
}
static function addTween() {
if ((arguments.length < 2) || (arguments[0] == undefined)) {
return(false);
}
var _local11 = new Array();
var _local3;
var _local39;
var _local4;
var _local38;
if (arguments[0] instanceof Array) {
_local3 = 0;
while (_local3 < arguments[0].length) {
_local11.push(arguments[0][_local3]);
_local3++;
}
} else {
_local3 = 0;
while (_local3 < (arguments.length - 1)) {
_local11.push(arguments[_local3]);
_local3++;
}
}
var _local5 = caurina.transitions.TweenListObj.makePropertiesChain(arguments[arguments.length - 1]);
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local17 = (isNaN(_local5.time) ? 0 : (_local5.time));
var _local15 = (isNaN(_local5.delay) ? 0 : (_local5.delay));
var _local7 = new Object();
var _local21 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, quickAdd:true};
var _local10 = new Object();
for (_local4 in _local5) {
if (!_local21[_local4]) {
if (_specialPropertySplitterList[_local4] != undefined) {
var _local9 = _specialPropertySplitterList[_local4].splitValues(_local5[_local4], _specialPropertySplitterList[_local4].parameters);
_local3 = 0;
while (_local3 < _local9.length) {
_local7[_local9[_local3].name] = {valueStart:undefined, valueComplete:_local9[_local3].value};
_local3++;
}
} else if (_specialPropertyModifierList[_local4] != undefined) {
var _local8 = _specialPropertyModifierList[_local4].modifyValues(_local5[_local4]);
_local3 = 0;
while (_local3 < _local8.length) {
_local10[_local8[_local3].name] = {modifierParameters:_local8[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local4].getValue};
_local3++;
}
} else {
_local7[_local4] = {valueStart:undefined, valueComplete:_local5[_local4]};
}
}
}
for (_local4 in _local10) {
if (_local7[_local4] != undefined) {
_local7[_local4].modifierParameters = _local10[_local4].modifierParameters;
_local7[_local4].modifierFunction = _local10[_local4].modifierFunction;
}
}
var _local20;
if (typeof(_local5.transition) == "string") {
var _local22 = _local5.transition.toLowerCase();
_local20 = _transitionList[_local22];
} else {
_local20 = _local5.transition;
}
if (_local20 == undefined) {
_local20 = _transitionList.easeoutexpo;
}
var _local12;
var _local6;
var _local16;
_local3 = 0;
while (_local3 < _local11.length) {
_local12 = new Object();
for (_local4 in _local7) {
_local12[_local4] = new caurina.transitions.PropertyInfoObj(_local7[_local4].valueStart, _local7[_local4].valueComplete, _local7[_local4].modifierFunction, _local7[_local4].modifierParameters);
}
_local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTime + ((_local15 * 1000) / _timeScale), _currentTime + (((_local15 * 1000) + (_local17 * 1000)) / _timeScale), _local5.useFrames == true, _local20);
_local6.properties = _local12;
_local6.onStart = _local5.onStart;
_local6.onUpdate = _local5.onUpdate;
_local6.onComplete = _local5.onComplete;
_local6.onOverwrite = _local5.onOverwrite;
_local6.onError = _local5.onError;
_local6.onStartParams = _local5.onStartParams;
_local6.onUpdateParams = _local5.onUpdateParams;
_local6.onCompleteParams = _local5.onCompleteParams;
_local6.onOverwriteParams = _local5.onOverwriteParams;
_local6.rounded = _local5.rounded;
_local6.skipUpdates = _local5.skipUpdates;
if (!_local5.quickAdd) {
removeTweensByTime(_local6.scope, _local6.properties, _local6.timeStart, _local6.timeComplete);
}
_tweenList.push(_local6);
if ((_local17 == 0) && (_local15 == 0)) {
_local16 = _tweenList.length - 1;
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
}
_local3++;
}
return(true);
}
static function addCaller() {
if ((arguments.length < 2) || (arguments[0] == undefined)) {
return(false);
}
var _local6 = new Array();
var _local5;
var _local12;
if (arguments[0] instanceof Array) {
_local5 = 0;
while (_local5 < arguments[0].length) {
_local6.push(arguments[0][_local5]);
_local5++;
}
} else {
_local5 = 0;
while (_local5 < (arguments.length - 1)) {
_local6.push(arguments[_local5]);
_local5++;
}
}
var _local4 = arguments[arguments.length - 1];
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local9 = (isNaN(_local4.time) ? 0 : (_local4.time));
var _local7 = (isNaN(_local4.delay) ? 0 : (_local4.delay));
var _local10;
if (typeof(_local4.transition) == "string") {
var _local11 = _local4.transition.toLowerCase();
_local10 = _transitionList[_local11];
} else {
_local10 = _local4.transition;
}
if (_local10 == undefined) {
_local10 = _transitionList.easeoutexpo;
}
var _local3;
var _local8;
_local5 = 0;
while (_local5 < _local6.length) {
_local3 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTime + ((_local7 * 1000) / _timeScale), _currentTime + (((_local7 * 1000) + (_local9 * 1000)) / _timeScale), _local4.useFrames == true, _local10);
_local3.properties = undefined;
_local3.onStart = _local4.onStart;
_local3.onUpdate = _local4.onUpdate;
_local3.onComplete = _local4.onComplete;
_local3.onOverwrite = _local4.onOverwrite;
_local3.onStartParams = _local4.onStartParams;
_local3.onUpdateParams = _local4.onUpdateParams;
_local3.onCompleteParams = _local4.onCompleteParams;
_local3.onOverwriteParams = _local4.onOverwriteParams;
_local3.isCaller = true;
_local3.count = _local4.count;
_local3.waitFrames = _local4.waitFrames;
_tweenList.push(_local3);
if ((_local9 == 0) && (_local7 == 0)) {
_local8 = _tweenList.length - 1;
updateTweenByIndex(_local8);
removeTweenByIndex(_local8);
}
_local5++;
}
return(true);
}
static function removeTweensByTime(p_scope, p_properties, p_timeStart, p_timeComplete) {
var _local4 = false;
var _local3;
var _local1;
var _local6 = _tweenList.length;
var _local2;
_local1 = 0;
while (_local1 < _local6) {
if (p_scope == _tweenList[_local1].scope) {
if ((p_timeComplete > _tweenList[_local1].timeStart) && (p_timeStart < _tweenList[_local1].timeComplete)) {
_local3 = false;
for (_local2 in _tweenList[_local1].properties) {
if (p_properties[_local2] != undefined) {
if (_tweenList[_local1].onOverwrite != undefined) {
try {
_tweenList[_local1].onOverwrite.apply(_tweenList[_local1].scope, _tweenList[_local1].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[_local1], e, "onOverwrite");
}
}
_tweenList[_local1].properties[_local2] = undefined;
delete _tweenList[_local1].properties[_local2];
_local3 = true;
_local4 = true;
}
}
if (_local3) {
if (caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties) == 0) {
removeTweenByIndex(_local1);
}
}
}
}
_local1++;
}
return(_local4);
}
static function removeTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(removeTweenByIndex, p_scope, _local3));
}
static function removeAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
removeTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function pauseTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(pauseTweenByIndex, p_scope, _local3));
}
static function pauseAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
pauseTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function resumeTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(resumeTweenByIndex, p_scope, _local3));
}
static function resumeAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
resumeTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function affectTweens(p_affectFunction, p_scope, p_properties) {
var _local5 = false;
var _local2;
if (!_tweenList) {
return(false);
}
_local2 = 0;
while (_local2 < _tweenList.length) {
if (_tweenList[_local2].scope == p_scope) {
if (p_properties.length == 0) {
p_affectFunction(_local2);
_local5 = true;
} else {
var _local4 = new Array();
var _local1;
_local1 = 0;
while (_local1 < p_properties.length) {
if (_tweenList[_local2].properties[p_properties[_local1]] != undefined) {
_local4.push(p_properties[_local1]);
}
_local1++;
}
if (_local4.length > 0) {
var _local7 = caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local2].properties);
if (_local7 == _local4.length) {
p_affectFunction(_local2);
_local5 = true;
} else {
var _local8 = splitTweens(_local2, _local4);
p_affectFunction(_local8);
_local5 = true;
}
}
}
}
_local2++;
}
return(_local5);
}
static function splitTweens(p_tween, p_properties) {
var _local6 = _tweenList[p_tween];
var _local5 = _local6.clone(false);
var _local1;
var _local2;
_local1 = 0;
while (_local1 < p_properties.length) {
_local2 = p_properties[_local1];
if (_local6.properties[_local2] != undefined) {
_local6.properties[_local2] = undefined;
delete _local6.properties[_local2];
}
_local1++;
}
var _local4;
for (_local2 in _local5.properties) {
_local4 = false;
_local1 = 0;
while (_local1 < p_properties.length) {
if (p_properties[_local1] == _local2) {
_local4 = true;
break;
}
_local1++;
}
if (!_local4) {
_local5.properties[_local2] = undefined;
delete _local5.properties[_local2];
}
}
_tweenList.push(_local5);
return(_tweenList.length - 1);
}
static function updateTweens() {
if (_tweenList.length == 0) {
return(false);
}
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (!_tweenList[_local1].isPaused) {
if (!updateTweenByIndex(_local1)) {
removeTweenByIndex(_local1);
}
if (_tweenList[_local1] == null) {
removeTweenByIndex(_local1, true);
_local1--;
}
}
_local1++;
}
return(true);
}
static function removeTweenByIndex(p_tween, p_finalRemoval) {
_tweenList[p_tween] = null;
if (p_finalRemoval) {
_tweenList.splice(p_tween, 1);
}
return(true);
}
static function pauseTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (_local1.isPaused)) {
return(false);
}
_local1.timePaused = _currentTime;
_local1.isPaused = true;
return(true);
}
static function resumeTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (!_local1.isPaused)) {
return(false);
}
_local1.timeStart = _local1.timeStart + (_currentTime - _local1.timePaused);
_local1.timeComplete = _local1.timeComplete + (_currentTime - _local1.timePaused);
_local1.timePaused = undefined;
_local1.isPaused = false;
return(true);
}
static function updateTweenByIndex(i) {
var _local1 = _tweenList[i];
if ((_local1 == null) || (!_local1.scope)) {
return(false);
}
var _local11 = false;
var _local12;
var _local2;
var _local6;
var _local8;
var _local7;
var _local5;
var _local4;
var _local10;
var _local3;
if (_currentTime >= _local1.timeStart) {
_local10 = _local1.scope;
if (_local1.isCaller) {
do {
_local6 = ((_local1.timeComplete - _local1.timeStart) / _local1.count) * (_local1.timesCalled + 1);
_local8 = _local1.timeStart;
_local7 = _local1.timeComplete - _local1.timeStart;
_local5 = _local1.timeComplete - _local1.timeStart;
_local2 = _local1.transition(_local6, _local8, _local7, _local5);
if (_currentTime >= _local2) {
if (_local1.onUpdate != undefined) {
try {
_local1.onUpdate.apply(_local10, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
_local1.timesCalled++;
if (_local1.timesCalled >= _local1.count) {
_local11 = true;
break;
}
if (_local1.waitFrames) {
break;
}
}
} while (_currentTime >= _local2);
} else {
_local12 = ((_local1.skipUpdates < 1) || (_local1.skipUpdates == undefined)) || (_local1.updatesSkipped >= _local1.skipUpdates);
if (_currentTime >= _local1.timeComplete) {
_local11 = true;
_local12 = true;
}
if (!_local1.hasStarted) {
if (_local1.onStart != undefined) {
try {
_local1.onStart.apply(_local10, _local1.onStartParams);
} catch(e:Error) {
handleError(_local1, e, "onStart");
}
}
for (_local4 in _local1.properties) {
var _local9 = getPropertyValue(_local10, _local4);
_local1.properties[_local4].valueStart = (isNaN(_local9) ? (_local1.properties[_local4].valueComplete) : (_local9));
}
_local12 = true;
_local1.hasStarted = true;
}
if (_local12) {
for (_local4 in _local1.properties) {
_local3 = _local1.properties[_local4];
if (_local11) {
_local2 = _local3.valueComplete;
} else if (_local3.hasModifier) {
_local6 = _currentTime - _local1.timeStart;
_local5 = _local1.timeComplete - _local1.timeStart;
_local2 = _local1.transition(_local6, 0, 1, _local5);
_local2 = _local3.modifierFunction(_local3.valueStart, _local3.valueComplete, _local2, _local3.modifierParameters);
} else {
_local6 = _currentTime - _local1.timeStart;
_local8 = _local3.valueStart;
_local7 = _local3.valueComplete - _local3.valueStart;
_local5 = _local1.timeComplete - _local1.timeStart;
_local2 = _local1.transition(_local6, _local8, _local7, _local5);
}
if (_local1.rounded) {
_local2 = Math.round(_local2);
}
setPropertyValue(_local10, _local4, _local2);
}
_local1.updatesSkipped = 0;
if (_local1.onUpdate != undefined) {
try {
_local1.onUpdate.apply(_local10, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
} else {
_local1.updatesSkipped++;
}
}
if (_local11 && (_local1.onComplete != undefined)) {
try {
_local1.onComplete.apply(_local10, _local1.onCompleteParams);
} catch(e:Error) {
handleError(_local1, e, "onComplete");
}
}
return(!_local11);
}
return(true);
}
static function init() {
_inited = true;
_transitionList = new Object();
caurina.transitions.Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
caurina.transitions.SpecialPropertiesDefault.init();
}
static function registerTransition(p_name, p_function) {
if (!_inited) {
init();
}
_transitionList[p_name] = p_function;
}
static function registerSpecialProperty(p_name, p_getFunction, p_setFunction, p_parameters) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialProperty(p_getFunction, p_setFunction, p_parameters);
_specialPropertyList[p_name] = _local1;
}
static function registerSpecialPropertyModifier(p_name, p_modifyFunction, p_getFunction) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialPropertyModifier(p_modifyFunction, p_getFunction);
_specialPropertyModifierList[p_name] = _local1;
}
static function registerSpecialPropertySplitter(p_name, p_splitFunction, p_parameters) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialPropertySplitter(p_splitFunction, p_parameters);
_specialPropertySplitterList[p_name] = _local1;
}
static function startEngine() {
_engineExists = true;
_tweenList = new Array();
var _local2 = Math.floor(Math.random() * 999999);
var _local3 = _root.createEmptyMovieClip(getControllerName(), 31338 + _local2);
_local3.onEnterFrame = function () {
caurina.transitions.Tweener.onEnterFrame();
};
updateTime();
}
static function stopEngine() {
_engineExists = false;
_tweenList = null;
_currentTime = 0;
delete _root[getControllerName()].onEnterFrame;
_root[getControllerName()].removeMovieClip();
}
static function getPropertyValue(p_obj, p_prop) {
if (_specialPropertyList[p_prop] != undefined) {
return(_specialPropertyList[p_prop].getValue(p_obj, _specialPropertyList[p_prop].parameters));
}
return(p_obj[p_prop]);
}
static function setPropertyValue(p_obj, p_prop, p_value) {
if (_specialPropertyList[p_prop] != undefined) {
_specialPropertyList[p_prop].setValue(p_obj, p_value, _specialPropertyList[p_prop].parameters);
} else {
p_obj[p_prop] = p_value;
}
}
static function updateTime() {
_currentTime = getTimer();
}
static function onEnterFrame() {
updateTime();
var _local1 = false;
_local1 = updateTweens();
if (!_local1) {
stopEngine();
}
}
static function setTimeScale(p_time) {
var _local1;
if (isNaN(p_time)) {
p_time = 1;
}
if (p_time < 1E-5) {
p_time = 1E-5;
}
if (p_time != _timeScale) {
_local1 = 0;
while (_local1 < _tweenList.length) {
_tweenList[_local1].timeStart = _currentTime - (((_currentTime - _tweenList[_local1].timeStart) * _timeScale) / p_time);
_tweenList[_local1].timeComplete = _currentTime - (((_currentTime - _tweenList[_local1].timeComplete) * _timeScale) / p_time);
if (_tweenList[_local1].timePaused != undefined) {
_tweenList[_local1].timePaused = _currentTime - (((_currentTime - _tweenList[_local1].timePaused) * _timeScale) / p_time);
}
_local1++;
}
_timeScale = p_time;
}
}
static function isTweening(p_scope) {
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
return(true);
}
_local1++;
}
return(false);
}
static function getTweens(p_scope) {
var _local1;
var _local2;
var _local3 = new Array();
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
for (_local2 in _tweenList[_local1].properties) {
_local3.push(_local2);
}
}
_local1++;
}
return(_local3);
}
static function getTweenCount(p_scope) {
var _local1;
var _local2 = 0;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
_local2 = _local2 + caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties);
}
_local1++;
}
return(_local2);
}
static function handleError(pTweening, pError, pCallBackName) {
if ((pTweening.onError != undefined) && (typeof(pTweening.onError == "function"))) {
try {
pTweening.onError.apply(pTweening.scope, [pTweening.scope, pError]);
} catch(metaError:Error) {
trace((((("## [Tweener] Error: " + pTweening.scope.toString()) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError) + "\nonError error: ") + metaError);
}
} else if (pTweening.onError == undefined) {
trace((((("## [Tweener] Error: " + pTweening.scope.toString()) + " raised an error while executing the '") + pCallBackName.toString()) + "'handler. \n") + pError);
}
}
static function getVersion() {
return("AS2 1.26.62");
}
static function getControllerName() {
return("__tweener_controller__" + getVersion());
}
static function debug_getList() {
var _local3 = "";
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _tweenList.length) {
_local3 = _local3 + (("[" + _local1) + "] ::\n");
for (_local2 in _tweenList[_local1].properties) {
_local3 = _local3 + ((((" " + _local2) + " -> ") + _tweenList[_local1].properties[_local2].valueComplete) + newline);
}
_local1++;
}
return(_local3);
}
static var _engineExists = false;
static var _inited = false;
static var _timeScale = 1;
}
Symbol 1091 MovieClip [__Packages.caurina.transitions.TweenListObj] Frame 0
class caurina.transitions.TweenListObj
{
var scope, timeStart, timeComplete, useFrames, transition, auxProperties, properties, isPaused, timePaused, isCaller, updatesSkipped, timesCalled, skipUpdates, hasStarted, onStart, onUpdate, onComplete, onOverwrite, onError, onStartParams, onUpdateParams, onCompleteParams, onOverwriteParams, rounded, count, waitFrames;
function TweenListObj (p_scope, p_timeStart, p_timeComplete, p_useFrames, p_transition) {
scope = p_scope;
timeStart = p_timeStart;
timeComplete = p_timeComplete;
useFrames = p_useFrames;
transition = p_transition;
auxProperties = new Object();
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
function clone(omitEvents) {
var _local2 = new caurina.transitions.TweenListObj(scope, timeStart, timeComplete, useFrames, transition);
_local2.properties = new Object();
for (var _local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
}
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!omitEvents) {
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
}
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return(_local2);
}
function toString() {
var _local2 = "\n[TweenListObj ";
_local2 = _local2 + ("scope:" + String(scope));
_local2 = _local2 + ", properties:";
var _local3 = true;
for (var _local4 in properties) {
if (!_local3) {
_local2 = _local2 + ",";
}
_local2 = _local2 + ("[name:" + properties[_local4].name);
_local2 = _local2 + (",valueStart:" + properties[_local4].valueStart);
_local2 = _local2 + (",valueComplete:" + properties[_local4].valueComplete);
_local2 = _local2 + "]";
_local3 = false;
}
_local2 = _local2 + (", timeStart:" + String(timeStart));
_local2 = _local2 + (", timeComplete:" + String(timeComplete));
_local2 = _local2 + (", useFrames:" + String(useFrames));
_local2 = _local2 + (", transition:" + String(transition));
if (skipUpdates) {
_local2 = _local2 + (", skipUpdates:" + String(skipUpdates));
}
if (updatesSkipped) {
_local2 = _local2 + (", updatesSkipped:" + String(updatesSkipped));
}
if (onStart) {
_local2 = _local2 + (", onStart:" + String(onStart));
}
if (onUpdate) {
_local2 = _local2 + (", onUpdate:" + String(onUpdate));
}
if (onComplete) {
_local2 = _local2 + (", onComplete:" + String(onComplete));
}
if (onOverwrite) {
_local2 = _local2 + (", onOverwrite:" + String(onOverwrite));
}
if (onError) {
_local2 = _local2 + (", onError:" + String(onError));
}
if (onStartParams) {
_local2 = _local2 + (", onStartParams:" + String(onStartParams));
}
if (onUpdateParams) {
_local2 = _local2 + (", onUpdateParams:" + String(onUpdateParams));
}
if (onCompleteParams) {
_local2 = _local2 + (", onCompleteParams:" + String(onCompleteParams));
}
if (onOverwriteParams) {
_local2 = _local2 + (", onOverwriteParams:" + String(onOverwriteParams));
}
if (rounded) {
_local2 = _local2 + (", rounded:" + String(rounded));
}
if (isPaused) {
_local2 = _local2 + (", isPaused:" + String(isPaused));
}
if (timePaused) {
_local2 = _local2 + (", timePaused:" + String(timePaused));
}
if (isCaller) {
_local2 = _local2 + (", isCaller:" + String(isCaller));
}
if (count) {
_local2 = _local2 + (", count:" + String(count));
}
if (timesCalled) {
_local2 = _local2 + (", timesCalled:" + String(timesCalled));
}
if (waitFrames) {
_local2 = _local2 + (", waitFrames:" + String(waitFrames));
}
if (hasStarted) {
_local2 = _local2 + (", hasStarted:" + String(hasStarted));
}
_local2 = _local2 + "]\n";
return(_local2);
}
static function makePropertiesChain(p_obj) {
var _local6 = p_obj.base;
if (_local6) {
var _local5 = {};
var _local2;
if (_local6 instanceof Array) {
_local2 = [];
var _local3 = 0;
while (_local3 < _local6.length) {
_local2.push(_local6[_local3]);
_local3++;
}
} else {
_local2 = [_local6];
}
_local2.push(p_obj);
var _local4;
var _local7 = _local2.length;
var _local1 = 0;
while (_local1 < _local7) {
if (_local2[_local1].base) {
_local4 = caurina.transitions.AuxFunctions.concatObjects(makePropertiesChain(_local2[_local1].base), _local2[_local1]);
} else {
_local4 = _local2[_local1];
}
_local5 = caurina.transitions.AuxFunctions.concatObjects(_local5, _local4);
_local1++;
}
if (_local5.base) {
delete _local5.base;
}
return(_local5);
}
return(p_obj);
}
}
Symbol 1092 MovieClip [__Packages.caurina.transitions.AuxFunctions] Frame 0
class caurina.transitions.AuxFunctions
{
function AuxFunctions () {
}
static function numberToR(p_num) {
return((p_num & 16711680) >> 16);
}
static function numberToG(p_num) {
return((p_num & 65280) >> 8);
}
static function numberToB(p_num) {
return(p_num & 255);
}
static function isInArray(p_string, p_array) {
var _local2 = p_array.length;
var _local1 = 0;
while (_local1 < _local2) {
if (p_array[_local1] == p_string) {
return(true);
}
_local1++;
}
return(false);
}
static function getObjectLength(p_object) {
var _local1 = 0;
for (var _local2 in p_object) {
_local1++;
}
return(_local1);
}
static function concatObjects() {
var _local4 = {};
var _local2;
var _local3 = 0;
while (_local3 < arguments.length) {
_local2 = arguments[_local3];
for (var _local5 in _local2) {
if (_local2[_local5] == null) {
delete _local4[_local5];
} else {
_local4[_local5] = _local2[_local5];
}
}
_local3++;
}
return(_local4);
}
}
Symbol 1093 MovieClip [__Packages.caurina.transitions.PropertyInfoObj] Frame 0
class caurina.transitions.PropertyInfoObj
{
var valueStart, valueComplete, hasModifier, modifierFunction, modifierParameters;
function PropertyInfoObj (p_valueStart, p_valueComplete, p_modifierFunction, p_modifierParameters) {
valueStart = p_valueStart;
valueComplete = p_valueComplete;
hasModifier = p_modifierFunction != undefined;
modifierFunction = p_modifierFunction;
modifierParameters = p_modifierParameters;
}
function clone() {
var _local2 = new caurina.transitions.PropertyInfoObj(valueStart, valueComplete, modifierFunction, modifierParameters);
return(_local2);
}
function toString() {
var _local2 = "\n[PropertyInfoObj ";
_local2 = _local2 + ("valueStart:" + String(valueStart));
_local2 = _local2 + ", ";
_local2 = _local2 + ("valueComplete:" + String(valueComplete));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierFunction:" + String(modifierFunction));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierParameters:" + String(modifierParameters));
_local2 = _local2 + "]\n";
return(_local2);
}
}
Symbol 1094 MovieClip [__Packages.caurina.transitions.Equations] Frame 0
class caurina.transitions.Equations
{
function Equations () {
trace("Equations is a static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerTransition("easenone", easeNone);
caurina.transitions.Tweener.registerTransition("linear", easeNone);
caurina.transitions.Tweener.registerTransition("easeinquad", easeInQuad);
caurina.transitions.Tweener.registerTransition("easeoutquad", easeOutQuad);
caurina.transitions.Tweener.registerTransition("easeinoutquad", easeInOutQuad);
caurina.transitions.Tweener.registerTransition("easeoutinquad", easeOutInQuad);
caurina.transitions.Tweener.registerTransition("easeincubic", easeInCubic);
caurina.transitions.Tweener.registerTransition("easeoutcubic", easeOutCubic);
caurina.transitions.Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
caurina.transitions.Tweener.registerTransition("easeoutincubic", easeOutInCubic);
caurina.transitions.Tweener.registerTransition("easeinquart", easeInQuart);
caurina.transitions.Tweener.registerTransition("easeoutquart", easeOutQuart);
caurina.transitions.Tweener.registerTransition("easeinoutquart", easeInOutQuart);
caurina.transitions.Tweener.registerTransition("easeoutinquart", easeOutInQuart);
caurina.transitions.Tweener.registerTransition("easeinquint", easeInQuint);
caurina.transitions.Tweener.registerTransition("easeoutquint", easeOutQuint);
caurina.transitions.Tweener.registerTransition("easeinoutquint", easeInOutQuint);
caurina.transitions.Tweener.registerTransition("easeoutinquint", easeOutInQuint);
caurina.transitions.Tweener.registerTransition("easeinsine", easeInSine);
caurina.transitions.Tweener.registerTransition("easeoutsine", easeOutSine);
caurina.transitions.Tweener.registerTransition("easeinoutsine", easeInOutSine);
caurina.transitions.Tweener.registerTransition("easeoutinsine", easeOutInSine);
caurina.transitions.Tweener.registerTransition("easeincirc", easeInCirc);
caurina.transitions.Tweener.registerTransition("easeoutcirc", easeOutCirc);
caurina.transitions.Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
caurina.transitions.Tweener.registerTransition("easeoutincirc", easeOutInCirc);
caurina.transitions.Tweener.registerTransition("easeinexpo", easeInExpo);
caurina.transitions.Tweener.registerTransition("easeoutexpo", easeOutExpo);
caurina.transitions.Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
caurina.transitions.Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
caurina.transitions.Tweener.registerTransition("easeinelastic", easeInElastic);
caurina.transitions.Tweener.registerTransition("easeoutelastic", easeOutElastic);
caurina.transitions.Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
caurina.transitions.Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
caurina.transitions.Tweener.registerTransition("easeinback", easeInBack);
caurina.transitions.Tweener.registerTransition("easeoutback", easeOutBack);
caurina.transitions.Tweener.registerTransition("easeinoutback", easeInOutBack);
caurina.transitions.Tweener.registerTransition("easeoutinback", easeOutInBack);
caurina.transitions.Tweener.registerTransition("easeinbounce", easeInBounce);
caurina.transitions.Tweener.registerTransition("easeoutbounce", easeOutBounce);
caurina.transitions.Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
caurina.transitions.Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInQuad(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOutQuad(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOutQuad(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static function easeOutInQuad(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutQuad(t * 2, b, c / 2, d));
}
return(easeInQuad((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInCubic(t, b, c, d) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOutCubic(t, b, c, d) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOutCubic(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((c / 2) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((t * t) * t) + 2)) + b);
}
static function easeOutInCubic(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutCubic(t * 2, b, c / 2, d));
}
return(easeInCubic((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInQuart(t, b, c, d) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOutQuart(t, b, c, d) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOutQuart(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((((c / 2) * t) * t) * t) * t) + b);
}
t = t - 2;
return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b);
}
static function easeOutInQuart(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutQuart(t * 2, b, c / 2, d));
}
return(easeInQuart((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInQuint(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOutQuint(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOutQuint(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static function easeOutInQuint(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutQuint(t * 2, b, c / 2, d));
}
return(easeInQuint((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInSine(t, b, c, d) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOutSine(t, b, c, d) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOutSine(t, b, c, d) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
static function easeOutInSine(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutSine(t * 2, b, c / 2, d));
}
return(easeInSine((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInExpo(t, b, c, d) {
return(((t == 0) ? (b) : (((c * Math.pow(2, 10 * ((t / d) - 1))) + b) - (c * 0.001))));
}
static function easeOutExpo(t, b, c, d) {
return(((t == d) ? (b + c) : (((c * 1.001) * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOutExpo(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * Math.pow(2, 10 * (t - 1))) + b) - (c * 0.0005));
}
t--;
return((((c / 2) * 1.0005) * ((-Math.pow(2, -10 * t)) + 2)) + b);
}
static function easeOutInExpo(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutExpo(t * 2, b, c / 2, d));
}
return(easeInExpo((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInCirc(t, b, c, d) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOutCirc(t, b, c, d) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOutCirc(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
t = t - 2;
return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b);
}
static function easeOutInCirc(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutCirc(t * 2, b, c / 2, d));
}
return(easeInCirc((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInElastic(t, b, c, d, a, p) {
var _local5;
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b);
}
static function easeOutElastic(t, b, c, d, a, p) {
var _local5;
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOutElastic(t, b, c, d, a, p) {
var _local5;
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static function easeOutInElastic(t, b, c, d, a, p) {
if (t < (d / 2)) {
return(easeOutElastic(t * 2, b, c / 2, d, a, p));
}
return(easeInElastic((t * 2) - d, b + (c / 2), c / 2, d, a, p));
}
static function easeInBack(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOutBack(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOutBack(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static function easeOutInBack(t, b, c, d, s) {
if (t < (d / 2)) {
return(easeOutBack(t * 2, b, c / 2, d, s));
}
return(easeInBack((t * 2) - d, b + (c / 2), c / 2, d, s));
}
static function easeInBounce(t, b, c, d) {
return((c - easeOutBounce(d - t, 0, c, d)) + b);
}
static function easeOutBounce(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeInOutBounce(t, b, c, d) {
if (t < (d / 2)) {
return((easeInBounce(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static function easeOutInBounce(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutBounce(t * 2, b, c / 2, d));
}
return(easeInBounce((t * 2) - d, b + (c / 2), c / 2, d));
}
}
Symbol 1095 MovieClip [__Packages.caurina.transitions.SpecialPropertiesDefault] Frame 0
class caurina.transitions.SpecialPropertiesDefault
{
function SpecialPropertiesDefault () {
trace("SpecialProperties is an static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerSpecialProperty("_frame", _frame_get, _frame_set);
caurina.transitions.Tweener.registerSpecialProperty("_sound_volume", _sound_volume_get, _sound_volume_set);
caurina.transitions.Tweener.registerSpecialProperty("_sound_pan", _sound_pan_get, _sound_pan_set);
caurina.transitions.Tweener.registerSpecialProperty("_color_ra", _color_property_get, _color_property_set, ["ra"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_rb", _color_property_get, _color_property_set, ["rb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ga", _color_property_get, _color_property_set, ["ga"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_gb", _color_property_get, _color_property_set, ["gb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ba", _color_property_get, _color_property_set, ["ba"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_bb", _color_property_get, _color_property_set, ["bb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_aa", _color_property_get, _color_property_set, ["aa"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ab", _color_property_get, _color_property_set, ["ab"]);
caurina.transitions.Tweener.registerSpecialProperty("_autoAlpha", _autoAlpha_get, _autoAlpha_set);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_color", _color_splitter);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_scale", _scale_splitter);
caurina.transitions.Tweener.registerSpecialProperty("_blur_blurX", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_blur_blurY", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialProperty("_blur_quality", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter);
caurina.transitions.Tweener.registerSpecialPropertyModifier("_bezier", _bezier_modifier, _bezier_get);
}
static function _color_splitter(p_value) {
var _local1 = new Array();
if (p_value == null) {
_local1.push({name:"_color_ra", value:100});
_local1.push({name:"_color_rb", value:0});
_local1.push({name:"_color_ga", value:100});
_local1.push({name:"_color_gb", value:0});
_local1.push({name:"_color_ba", value:100});
_local1.push({name:"_color_bb", value:0});
} else {
_local1.push({name:"_color_ra", value:0});
_local1.push({name:"_color_rb", value:caurina.transitions.AuxFunctions.numberToR(p_value)});
_local1.push({name:"_color_ga", value:0});
_local1.push({name:"_color_gb", value:caurina.transitions.AuxFunctions.numberToG(p_value)});
_local1.push({name:"_color_ba", value:0});
_local1.push({name:"_color_bb", value:caurina.transitions.AuxFunctions.numberToB(p_value)});
}
return(_local1);
}
static function _colorTransform_splitter(p_value) {
var _local2 = new Array();
if (p_value == null) {
_local2.push({name:"_color_ra", value:100});
_local2.push({name:"_color_rb", value:0});
_local2.push({name:"_color_ga", value:100});
_local2.push({name:"_color_gb", value:0});
_local2.push({name:"_color_ba", value:100});
_local2.push({name:"_color_bb", value:0});
} else {
if (p_value.ra != undefined) {
_local2.push({name:"_color_ra", value:p_value.ra});
}
if (p_value.rb != undefined) {
_local2.push({name:"_color_rb", value:p_value.rb});
}
if (p_value.ga != undefined) {
_local2.push({name:"_color_ba", value:p_value.ba});
}
if (p_value.gb != undefined) {
_local2.push({name:"_color_bb", value:p_value.bb});
}
if (p_value.ba != undefined) {
_local2.push({name:"_color_ga", value:p_value.ga});
}
if (p_value.bb != undefined) {
_local2.push({name:"_color_gb", value:p_value.gb});
}
if (p_value.aa != undefined) {
_local2.push({name:"_color_aa", value:p_value.aa});
}
if (p_value.ab != undefined) {
_local2.push({name:"_color_ab", value:p_value.ab});
}
}
return(_local2);
}
static function _scale_splitter(p_value) {
var _local1 = new Array();
_local1.push({name:"_xscale", value:p_value});
_local1.push({name:"_yscale", value:p_value});
return(_local1);
}
static function _filter_splitter(p_value) {
var _local1 = new Array();
if (p_value instanceof flash.filters.BlurFilter) {
_local1.push({name:"_blur_blurX", value:flash.filters.BlurFilter(p_value).blurX});
_local1.push({name:"_blur_blurY", value:flash.filters.BlurFilter(p_value).blurY});
_local1.push({name:"_blur_quality", value:flash.filters.BlurFilter(p_value).quality});
} else {
trace("??");
}
return(_local1);
}
static function _frame_get(p_obj) {
return(p_obj._currentFrame);
}
static function _frame_set(p_obj, p_value) {
p_obj.gotoAndStop(Math.round(p_value));
}
static function _sound_volume_get(p_obj) {
return(p_obj.getVolume());
}
static function _sound_volume_set(p_obj, p_value) {
p_obj.setVolume(p_value);
}
static function _sound_pan_get(p_obj) {
return(p_obj.getPan());
}
static function _sound_pan_set(p_obj, p_value) {
p_obj.setPan(p_value);
}
static function _color_property_get(p_obj, p_parameters) {
return(new Color(p_obj).getTransform()[p_parameters[0]]);
}
static function _color_property_set(p_obj, p_value, p_parameters) {
var _local1 = new Object();
_local1[p_parameters[0]] = Math.round(p_value);
new Color(p_obj).setTransform(_local1);
}
static function _autoAlpha_get(p_obj) {
return(p_obj._alpha);
}
static function _autoAlpha_set(p_obj, p_value) {
p_obj._alpha = p_value;
p_obj._visible = p_value > 0;
}
static function _filter_property_get(p_obj, p_parameters) {
var _local2 = p_obj.filters;
var _local1;
var _local4 = p_parameters[0];
var _local3 = p_parameters[1];
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof _local4) {
return(_local2[_local1][_local3]);
}
_local1++;
}
var _local5;
if (!(_local4 === flash.filters.BlurFilter)) {
} else {
_local5 = {blurX:0, blurY:0, quality:NaN};
}
return(_local5[_local3]);
}
static function _filter_property_set(p_obj, p_value, p_parameters) {
var _local2 = p_obj.filters;
var _local1;
var _local4 = p_parameters[0];
var _local3 = p_parameters[1];
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof _local4) {
_local2[_local1][_local3] = p_value;
p_obj.filters = _local2;
return(undefined);
}
_local1++;
}
if (_local2 == undefined) {
_local2 = new Array();
}
var _local7;
if (!(_local4 === flash.filters.BlurFilter)) {
} else {
_local7 = new flash.filters.BlurFilter(0, 0);
}
_local7[_local3] = p_value;
_local2.push(_local7);
p_obj.filters = _local2;
}
static function _bezier_modifier(p_obj) {
var _local7 = [];
var _local4;
if (p_obj instanceof Array) {
_local4 = p_obj.concat();
} else {
_local4 = [p_obj];
}
var _local3;
var _local1;
var _local2 = {};
_local3 = 0;
while (_local3 < _local4.length) {
for (_local1 in _local4[_local3]) {
if (_local2[_local1] == undefined) {
_local2[_local1] = [];
}
_local2[_local1].push(_local4[_local3][_local1]);
}
_local3++;
}
for (_local1 in _local2) {
_local7.push({name:_local1, parameters:_local2[_local1]});
}
return(_local7);
}
static function _bezier_get(b, e, t, p) {
if (p.length == 1) {
return(b + (t * (((2 * (1 - t)) * (p[0] - b)) + (t * (e - b)))));
}
var _local2 = Math.floor(t * p.length);
var _local5 = (t - (_local2 * (1 / p.length))) * p.length;
var _local3;
var _local6;
if (_local2 == 0) {
_local3 = b;
_local6 = (p[0] + p[1]) / 2;
} else if (_local2 == (p.length - 1)) {
_local3 = (p[_local2 - 1] + p[_local2]) / 2;
_local6 = e;
} else {
_local3 = (p[_local2 - 1] + p[_local2]) / 2;
_local6 = (p[_local2] + p[_local2 + 1]) / 2;
}
return(_local3 + (_local5 * (((2 * (1 - _local5)) * (p[_local2] - _local3)) + (_local5 * (_local6 - _local3)))));
}
}
Symbol 1096 MovieClip [__Packages.caurina.transitions.SpecialProperty] Frame 0
class caurina.transitions.SpecialProperty
{
var parameters;
function SpecialProperty (p_getFunction, p_setFunction, p_parameters) {
getValue = p_getFunction;
setValue = p_setFunction;
parameters = p_parameters;
}
function getValue(p_obj, p_parameters) {
return(null);
}
function setValue(p_obj, p_value, p_parameters) {
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialProperty ";
_local2 = _local2 + ("getValue:" + getValue.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("setValue:" + setValue.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("parameters:" + parameters.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 1097 MovieClip [__Packages.caurina.transitions.SpecialPropertyModifier] Frame 0
class caurina.transitions.SpecialPropertyModifier
{
var modifyValues, getValue;
function SpecialPropertyModifier (p_modifyFunction, p_getFunction) {
modifyValues = p_modifyFunction;
getValue = p_getFunction;
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialPropertyModifier ";
_local2 = _local2 + ("modifyValues:" + modifyValues.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("getValue:" + getValue.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 1098 MovieClip [__Packages.caurina.transitions.SpecialPropertySplitter] Frame 0
class caurina.transitions.SpecialPropertySplitter
{
var parameters;
function SpecialPropertySplitter (p_splitFunction, p_parameters) {
splitValues = p_splitFunction;
parameters = p_parameters;
}
function splitValues(p_value, p_parameters) {
return([]);
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialPropertySplitter ";
_local2 = _local2 + ("splitValues:" + splitValues.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("parameters:" + parameters.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 1099 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 1100 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 107 Button
on (release) {
classes.utils.URLCaller.mainLink();
}
Symbol 135 Button
on (press) {
gotoAndPlay ("tutorial");
}
Symbol 140 Button
on (press) {
_root.gotoAndPlay("practice");
}
Symbol 145 Button
on (press) {
_root.viewScore();
}
Symbol 149 Button
on (press) {
classes.utils.URLCaller.mainLink();
}
Symbol 151 MovieClip Frame 1
function onEnterFrame() {
if (this._alpha == 0) {
delete onPress;
} else {
this.onPress = function () {
trace("black pressed");
};
}
}
this.useHandCursor = false;
Symbol 156 MovieClip [comboScore] Frame 21
stop();
this.removeMovieClip();
Symbol 165 MovieClip Frame 1
stop();
_parent.dir = "D";
Symbol 165 MovieClip Frame 2
stop();
_parent.dir = "U";
Symbol 165 MovieClip Frame 3
stop();
_parent.dir = "L";
Symbol 165 MovieClip Frame 4
stop();
_parent.dir = "R";
Symbol 166 MovieClip [arrows] Frame 1
dir = "D";
Symbol 167 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 30
stop();
Symbol 315 MovieClip Frame 25
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 14
stop();
_parent.gotoAndStop(1);
Symbol 335 MovieClip Frame 14
stop();
_parent.gotoAndStop(1);
Symbol 341 MovieClip Frame 14
stop();
_parent.gotoAndStop(1);
Symbol 348 MovieClip Frame 14
stop();
_parent.gotoAndStop(1);
Symbol 349 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 2
stop();
Symbol 349 MovieClip Frame 3
stop();
Symbol 349 MovieClip Frame 4
stop();
Symbol 349 MovieClip Frame 5
stop();
Symbol 365 MovieClip Frame 1
function eat(theArrow) {
if (theArrow._x != undefined) {
trace((("G: " + theArrow._x) + " , idArrow: ") + tmpArrow.idArrow);
trace((("G: " + theArrow) + " , idArrow: ") + tmpArrow.idArrow);
_root.NumberWastedArrows++;
_root.score = _root.score - 5;
_root.NumberGoodArrows--;
_root.currentPerfect = 0;
_root.comboLevel = 1;
this.gotoAndPlay(6);
}
}
stop();
Symbol 365 MovieClip Frame 7
_root.gatorSound.stop("chomp");
_root.gatorSound = new Sound();
_root.gatorSound.attachSound("chomp");
_root.gatorSound.start(0, 0);
Symbol 449 Button
on (press) {
_root.gotoMenu();
}
Symbol 454 Button
on (press) {
_root.playNextLevel();
}
Symbol 467 Button
on (press) {
_root.practice(0);
}
Symbol 473 Button
on (press) {
_root.practice(2);
}
Symbol 480 Button
on (press) {
_root.practice(1);
}
Symbol 486 Button
on (press) {
_root.practice(3);
}
Symbol 492 Button
on (press) {
_root.practice(4);
}
Symbol 507 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 1
stop();
_parent.dancing = false;
_parent.falling = false;
Symbol 581 MovieClip Frame 17
_parent.dancing = true;
_parent.falling = false;
Symbol 581 MovieClip Frame 194
gotoAndStop (1);
Symbol 581 MovieClip Frame 195
_parent.falling = true;
_parent.dancing = false;
Symbol 581 MovieClip Frame 226
gotoAndStop (1);
Symbol 581 MovieClip Frame 227
_parent.falling = true;
_parent.dancing = false;
Symbol 581 MovieClip Frame 271
gotoAndStop (1);
Symbol 651 MovieClip Frame 1
stop();
_parent.dancing = false;
_parent.falling = false;
Symbol 651 MovieClip Frame 13
_parent.dancing = true;
_parent.falling = false;
Symbol 651 MovieClip Frame 120
gotoAndStop (1);
Symbol 651 MovieClip Frame 121
_parent.falling = true;
_parent.dancing = false;
Symbol 651 MovieClip Frame 150
gotoAndStop (1);
Symbol 651 MovieClip Frame 151
_parent.falling = true;
_parent.dancing = false;
Symbol 651 MovieClip Frame 175
gotoAndStop (1);
Symbol 716 MovieClip Frame 1
stop();
_parent.dancing = false;
_parent.falling = false;
Symbol 716 MovieClip Frame 17
_parent.dancing = true;
_parent.falling = false;
Symbol 716 MovieClip Frame 118
gotoAndStop (1);
Symbol 716 MovieClip Frame 119
_parent.falling = true;
_parent.dancing = false;
Symbol 716 MovieClip Frame 148
gotoAndStop (1);
Symbol 716 MovieClip Frame 149
_parent.falling = true;
_parent.dancing = false;
Symbol 716 MovieClip Frame 173
gotoAndStop (1);
Symbol 794 MovieClip Frame 1
stop();
_parent.dancing = false;
_parent.falling = false;
Symbol 794 MovieClip Frame 17
_parent.dancing = true;
_parent.falling = false;
Symbol 794 MovieClip Frame 172
gotoAndStop (1);
Symbol 794 MovieClip Frame 173
_parent.falling = true;
_parent.dancing = false;
Symbol 794 MovieClip Frame 202
gotoAndStop (1);
Symbol 794 MovieClip Frame 203
_parent.falling = true;
_parent.dancing = false;
Symbol 794 MovieClip Frame 227
gotoAndStop (1);
Symbol 882 MovieClip Frame 1
stop();
_parent.dancing = false;
_parent.falling = false;
Symbol 882 MovieClip Frame 11
_parent.dancing = true;
_parent.falling = false;
Symbol 882 MovieClip Frame 154
gotoAndStop (1);
Symbol 882 MovieClip Frame 155
_parent.falling = true;
_parent.dancing = false;
Symbol 882 MovieClip Frame 186
gotoAndStop (1);
Symbol 882 MovieClip Frame 187
_parent.falling = true;
_parent.dancing = false;
Symbol 882 MovieClip Frame 211
gotoAndStop (1);
Symbol 883 MovieClip Frame 1
stop();
Symbol 888 MovieClip Frame 1
stop();
Symbol 891 MovieClip Frame 14
stop();
Symbol 894 MovieClip Frame 14
stop();
Symbol 897 MovieClip Frame 14
stop();
Symbol 900 MovieClip Frame 14
stop();
Symbol 901 MovieClip Frame 1
stop();
Symbol 914 MovieClip Frame 1
stop();
Symbol 915 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.meter > 96) {
_root.pressspacebar._visible = true;
if (_root.possemeter._x == 4) {
_root.possemeter._x = 6;
} else {
_root.possemeter._x = 4;
}
} else {
_root.pressspacebar._visible = false;
}
if ((_root.meter > 96) && (!_root.possemeter.onFire)) {
_root.possemeter.onFire = true;
_root.playSound("flameup.wav");
_root.globalSound.attachSound("fire");
_root.globalSound.start(0, 5);
}
if (_root.meter <= 96) {
_root.possemeter.onFire = false;
_root.globalSound.stop("fire");
}
if (!_root.inCombo) {
if ((_root.meter < 29) && (this.status != "bored")) {
this.gotoAndPlay("bored");
_root.playSound("arrghs.01.wav");
} else if (((_root.meter >= 29) && (_root.meter < 70)) && (this.status != "good")) {
this.gotoAndPlay("good");
_root.playSound("wohoos.01.wav");
} else if ((_root.meter >= 70) && (this.status != "great")) {
this.gotoAndPlay("great");
_root.playSound("woohoos.02.wav");
}
}
};
status = "bored";
Symbol 915 MovieClip Frame 24
gotoAndPlay ("bored");
Symbol 915 MovieClip Frame 26
status = "good";
Symbol 915 MovieClip Frame 49
gotoAndPlay ("good");
Symbol 915 MovieClip Frame 51
status = "great";
Symbol 915 MovieClip Frame 73
gotoAndPlay ("great");
Symbol 918 MovieClip Frame 1
stop();
Symbol 951 Button
on (release) {
_root.retried = true;
_root.mc_reqscore._visible = false;
_root.mc_levelscore._visible = false;
_root.mc_totalscore._visible = false;
_root.playNextLevel();
}
Symbol 956 Button
on (release) {
_root.gotoAndPlay("practice");
}
Symbol 957 Button
on (release) {
_root.gotoMenu();
}
Symbol 962 Button
on (release) {
_root.submitScore();
}
Symbol 967 Button
on (release) {
_root.prevLevelScore = _root.totalScore;
_root.levelNumber++;
_root.retried = false;
_root.mc_reqscore._visible = false;
_root.mc_levelscore._visible = false;
_root.mc_totalscore._visible = false;
_root.playNextLevel();
}
Symbol 1018 MovieClip Frame 1
_root.fadeInSound();
Symbol 1018 MovieClip Frame 22
_root.fadeInSound2();
Symbol 1018 MovieClip Frame 34
_root.playJudgeSound("randy", _root.judge1);
_root.fadeInSound2();
Symbol 1018 MovieClip Frame 71
_root.playJudgeSound("paula", _root.judge2);
_root.fadeInSound();
Symbol 1018 MovieClip Frame 111
_root.playJudgeSound("simon", _root.judge3);
_root.fadeInSound();
Symbol 1018 MovieClip Frame 141
stop();
_parent.hideJudges();
Symbol 1040 Button
on (press) {
_root.submitScore();
}