Frame 1
if (false) {
}
Frame 3
function displayScores(mc) {
names = _root.topnickname.split(",");
scores = _root.topscore.split(",");
i = 0;
while (i <= 19) {
if (names[i] == undefined) {
names[i] = "";
}
if (scores[i] == undefined) {
scores[i] = "";
}
eval ((mc + ".n") + (i + 1)).text = names[i];
eval ((mc + ".p") + (i + 1)).text = scores[i];
i++;
}
}
function cancelSubmit(mc, useridframe) {
trace("cancelSubmit");
delete _root.send_lv.onLoad;
_root.skipsubmit = true;
mc.gotoAndStop(useridframe);
}
function _newUser() {
getURL (_root._registerurl, "_blank");
}
function _trackClickThru(mc) {
if (_root._allowclick) {
mc.hit_area.onRelease = function () {
getURL (_root._clickthru, "_blank");
};
} else {
mc.hit_area.useHandCursor = false;
}
}
function _resetUsername(txt) {
txt.onSetFocus = function () {
if ((this.text == _root._msgValid) or (this.text == "Connecting Error!")) {
this.text = "";
}
};
}
function _readSharedData() {
_root.so_uname = ((_root._sostatus.data.so_uname == undefined) ? "" : (_root._sostatus.data.so_uname));
_root.so_jumpframe = ((_root._sostatus.data.so_jumpframe == undefined) ? "" : (_root._sostatus.data.so_jumpframe));
_root.so_sound = ((_root._sostatus.data.so_sound == undefined) ? 1 : (_root._sostatus.data.so_sound));
_resetString = _root._sostatus.data.so_resetString;
trace("==========================");
trace((("_root.so_jumpframe : " + _root._sostatus.data.so_jumpframe) + " : ") + _root.so_uname);
if (_root.so_jumpframe != "") {
_assignValue(_resetString);
_root.createEmptyMovieClip("eye", _root.getNextHighestDepth());
_root.eye.onEnterFrame = function () {
if ((_root.getBytesTotal() == _root.getBytesLoaded()) and (_root.getBytesLoaded() > 50000)) {
_root.intro = 0;
_root._sostatus.data.so_jumpframe = "";
_root._sostatus.flush();
this.onEnterFrame = null;
_root.gotoAndStop(_root.so_jumpframe);
}
};
} else {
_root.intro = 1;
play();
}
_root.uname = _root.so_uname;
_root.gamesound = _root.so_sound;
}
function _writeSharedData(jumpframe, jumpurl, _resetString) {
_root._sostatus.data.so_uname = ((_root.so_uname == undefined) ? "" : (_root.so_uname));
_root._sostatus.data.so_sound = _root.so_sound;
_root._sostatus.data.so_resetString = _resetString;
_root._sostatus.data.so_jumpframe = jumpframe;
_root._sostatus.flush();
if (jumpurl != "") {
getURL (jumpurl);
} else {
gotoAndPlay (1);
}
}
function _assignValue(_val) {
_arr = new Array();
_arr = _val.split("|");
i = 0;
while (i < (_arr.length / 2)) {
_var2 = ((i * 2) + 1) - 1;
_var3 = _var2 + 1;
_root[_arr[_var2]] = _arr[_var3];
i++;
}
}
function _playAgain(mc, jumpframe, _resetString) {
_root.so_uname = _root.uname;
if ((_root.gurl != undefined) and (_root.gurl != "")) {
_writeSharedData(jumpframe, _root.gurl, _resetString);
} else {
_root.intro = 0;
_assignValue(_resetString);
mc.gotoAndStop(jumpframe);
}
}
var NoMenu = new ContextMenu();
stop();
NoMenu.hideBuiltInItems();
this.menu = NoMenu;
_global.score = 0;
_global.lvl = 0;
_global.snd1 = new Sound();
_global.snd2 = new Sound();
_global.snd3 = new Sound();
_global.snd1.attachSound("snd1");
_global.snd2.attachSound("snd2");
_global.snd3.attachSound("snd3");
_global.snd1.start(0, 999);
_global.snd2.start(0, 999);
_global.snd3.start(0, 999);
_global.snd1.stop("snd1");
_global.snd2.stop("snd2");
_global.snd3.stop("snd3");
_root._google_txt.text = "Gully Cricket";
_root._gameid = "1044";
_root._clickthru = "http://www.games2win.com";
_root._customer_id = "games2win";
_root.uname = "";
_root.submiturl = "/gamesubmit.asp";
_root.topnickname = [];
_root.topscore = [];
dataSubmit = function (myname, myscore, mygameid, destmc, useridframe, connframe, top10frame, _ord) {
trace("dataSubmit");
_root.skipsubmit = false;
myname = myname.trim();
_loc = eval (destmc);
if (((myname.length == 0) or (myname == "Invalid Nickname!")) or (myname == "Connecting Error!")) {
_root.uname = "Invalid Nickname!";
} else {
_root.send_lv = new LoadVars();
_root.send_lv.onLoad = function (success) {
if (success and (!_root.skipsubmit)) {
if (_root.send_lv.isreg == 0) {
_root.uname = "Invalid Nickname!";
_loc.gotoAndStop(useridframe);
} else if (_root.send_lv.isreg == 1) {
_root.topnickname = send_lv.topnicknames;
_root.topscore = send_lv.topscores;
_loc.gotoAndPlay(top10frame);
}
}
};
_root.send_lv.nickname = myname;
_root.send_lv.points = myscore;
_root.send_lv.gameid = mygameid;
_root.send_lv.order = _ord;
_root.send_lv.sendAndLoad(submiturl, _root.send_lv, "POST");
_loc.gotoAndPlay(connframe);
}
};
String.prototype.trim = function () {
var _local3 = 0;
var _local2 = this.length;
white = new Object();
white._32 = 1;
_local2--;
while (white["_" + ord(this.charAt(_local2))]) {
}
while (white["_" + ord(this.charAt(_local3++))]) {
}
return(this.slice(_local3 - 1, _local2 + 1));
};
_root._registerurl = "http://www.games2win.com/register.asp";
_root._allowclick = true;
var _sostatus = SharedObject.getLocal("gamestatus", "/");
_readSharedData();
if (_root.score == undefined) {
_root.score = 0;
}
_global.score = _root.score;
if (_root.lvl == undefined) {
_root.lvl = 0;
}
_global.lvl = _root.lvl;
Frame 6
stop();
Frame 7
this.onEnterFrame = function () {
percent = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100);
loaderBar.gotoAndStop(percent);
trace(loaderBar);
if (percent >= 99) {
play();
delete this.onEnterFrame;
}
};
stop();
Instance of Symbol 106 MovieClip in Frame 7
onClipEvent (load) {
if (_root.so_sound == 0) {
gotoAndStop ("off");
}
}
Frame 8
stop();
_global.snd3.start(0, 999);
btnSkip.onRelease = function () {
_root.gotoAndStop("lblGame");
};
Frame 9
stop();
btnStory.onRelease = function () {
_root.gotoAndStop("story");
};
btnInst.onRelease = function () {
_root.gotoAndStop("instruction");
};
btnStart.onRelease = function () {
_global.snd3.stop();
_root.gotoAndStop("lvl1intro");
};
Frame 10
stop();
btnStart.onRelease = function () {
_global.snd3.stop();
_root.gotoAndStop("lvl1intro");
};
btnBack.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Frame 11
stop();
btnStart.onRelease = function () {
_global.snd3.stop();
_root.gotoAndStop("lvl1intro");
};
btnBack.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Frame 12
stop();
btnStart.onRelease = function () {
snd1.start(0, 999);
_root.gotoAndStop("lvl1");
};
Frame 13
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone2");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone2");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone4");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone4");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone4");
};
Frame 14
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone3");
};
Frame 15
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone4");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone4");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone4");
};
Frame 16
stop();
var words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("nervous");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone5");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone5");
};
opt3.onRelease = function () {
words = ans3.text;
_global.score = 2000;
gotoAndStop ("phone7");
};
opt4.onRelease = function () {
words = ans4.text;
_global.score = 2000;
gotoAndStop ("phone7");
};
opt5.onRelease = function () {
words = ans5.text;
_global.score = 2000;
gotoAndStop ("phone7");
};
Frame 17
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone6");
};
Frame 18
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
_global.score = 1000;
gotoAndStop ("phone7");
};
opt2.onRelease = function () {
words = ans2.text;
_global.score = 1000;
gotoAndStop ("phone7");
};
opt3.onRelease = function () {
words = ans3.text;
_global.score = 1000;
gotoAndStop ("phone7");
};
Frame 19
stop();
var words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("nervous");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone8");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone8");
};
opt3.onRelease = function () {
words = ans3.text;
_global.score = 2000;
gotoAndStop ("phone10");
};
opt4.onRelease = function () {
words = ans4.text;
_global.score = 2000;
gotoAndStop ("phone10");
};
opt5.onRelease = function () {
words = ans5.text;
_global.score = 2000;
gotoAndStop ("phone10");
};
Frame 20
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone9");
};
Frame 21
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
_global.score = 1000;
gotoAndStop ("phone10");
};
opt2.onRelease = function () {
words = ans2.text;
_global.score = 1000;
gotoAndStop ("phone10");
};
opt3.onRelease = function () {
words = ans3.text;
_global.score = 1000;
gotoAndStop ("phone10");
};
Frame 22
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone11");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone11");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone13");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone13");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone13");
};
Frame 23
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone12");
};
Frame 24
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone13");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone13");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone13");
};
Frame 25
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone14");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone14");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone16");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone16");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone16");
};
Frame 26
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone15");
};
Frame 27
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone16");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone16");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone16");
};
Frame 28
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone17");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone17");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone19");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone19");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone19");
};
Frame 29
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone18");
};
Frame 30
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone19");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone19");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone19");
};
Frame 31
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone20");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone20");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone22");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone22");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone22");
};
Frame 32
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone21");
};
Frame 33
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone22");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone22");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone22");
};
Frame 34
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone23");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone23");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone25");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone25");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone25");
};
Frame 35
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone24");
};
Frame 36
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone25");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone25");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone25");
};
Frame 37
stop();
_global.lvl = 1;
var words;
boy.gotoAndPlay("nervous");
girl.gotoAndPlay("idle");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone26");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone26");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone28");
};
opt4.onRelease = function () {
words = ans4.text;
gotoAndStop ("phone28");
};
opt5.onRelease = function () {
words = ans5.text;
gotoAndStop ("phone28");
};
Frame 38
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("sad");
ans.text = words;
opt1.onRelease = function () {
_global.snd1.stop();
words = ans1.text;
gotoAndStop ("gameOver");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone27");
};
Frame 39
stop();
ans.text = words;
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
words = ans1.text;
gotoAndStop ("phone28");
};
opt2.onRelease = function () {
words = ans2.text;
gotoAndStop ("phone28");
};
opt3.onRelease = function () {
words = ans3.text;
gotoAndStop ("phone28");
};
Frame 40
stop();
girl.gotoAndPlay("idle");
boy.gotoAndPlay("happy");
opt1.onRelease = function () {
_global.snd1.stop();
gotoAndStop ("lblscore");
};
Frame 41
stop();
this.onEnterFrame = function () {
if ((lvlOver && (_global.lvl == 5)) && (_root._currentframe == 19)) {
removeMovieClip(Line);
removeMovieClip(cone);
}
txtScore.text = _global.score;
};
btnNext.onRelease = function () {
temp = _global.lvl + 1;
str = ("lvl" + temp) + "intro";
trace(_global.lvl);
_root.gotoAndStop(str);
};
Frame 42
stop();
btnStart.onRelease = function () {
snd1.start(0, 999);
_root.gotoAndStop("lvl2");
};
Frame 43
var girlDress;
var boySet;
var boyId;
var girlId;
init = function () {
boySet = false;
girlDress = false;
boySet1.gotoAndStop("set1");
boySet2.gotoAndStop("set2");
boySet3.gotoAndStop("set3");
boySet4.gotoAndStop("set4");
boySet5.gotoAndStop("set5");
girlSet1.gotoAndStop("dress1");
girlSet2.gotoAndStop("dress2");
girlSet3.gotoAndStop("dress3");
girlSet4.gotoAndStop("dress4");
girlSet5.gotoAndStop("dress5");
girlSet6.gotoAndStop("dress6");
girlSet7.gotoAndStop("dress7");
boySet1.id = "set1";
boySet1.xpos = boySet1._x;
boySet1.ypos = boySet1._y;
boySet2.id = "set2";
boySet2.xpos = boySet2._x;
boySet2.ypos = boySet2._y;
boySet3.id = "set3";
boySet3.xpos = boySet3._x;
boySet3.ypos = boySet3._y;
boySet4.id = "set4";
boySet4.xpos = boySet4._x;
boySet4.ypos = boySet4._y;
boySet5.id = "set5";
boySet5.xpos = boySet5._x;
boySet5.ypos = boySet5._y;
girlSet1.id = "dress1";
girlSet1.xpos = girlSet1._x;
girlSet1.ypos = girlSet1._y;
girlSet2.id = "dress2";
girlSet2.xpos = girlSet2._x;
girlSet2.ypos = girlSet2._y;
girlSet3.id = "dress3";
girlSet3.xpos = girlSet3._x;
girlSet3.ypos = girlSet3._y;
girlSet4.id = "dress4";
girlSet4.xpos = girlSet4._x;
girlSet4.ypos = girlSet4._y;
girlSet5.id = "dress5";
girlSet5.xpos = girlSet5._x;
girlSet5.ypos = girlSet5._y;
girlSet6.id = "dress6";
girlSet6.xpos = girlSet6._x;
girlSet6.ypos = girlSet6._y;
girlSet7.id = "dress7";
girlSet7.xpos = girlSet7._x;
girlSet7.ypos = girlSet7._y;
};
btnDone.onRelease = function () {
trace((boyId + " ") + girlId);
if (girlDress && (boySet)) {
trace("5000");
_global.score = _global.score + 5000;
_global.snd1.stop();
_root.gotoAndStop("lblscore");
} else if ((((boyId == "set4") || (boyId == "set5")) || (boySet)) && (((girlId == "dress2") || (girlId == "dress1")) || (girlDress))) {
trace("3000");
_global.score = _global.score + 3000;
_global.snd1.stop();
_root.gotoAndStop("lblscore");
} else {
_global.snd1.stop();
_root.gotoAndStop("gameOver");
}
};
this.onEnterFrame = function () {
if (_global.lvl < 2) {
init();
_global.lvl = 2;
}
};
Frame 44
stop();
btnStart.onRelease = function () {
snd1.start(0, 999);
_root.gotoAndStop("lvl3");
};
Frame 45
var open1;
var open2;
var cnt;
var arrMc;
var gameWon;
stop();
init = function () {
arrMc = new Array(mc1, mc2, mc3, mc4, mc5, mc6, mc7, mc8, mc9, mc10, mc11, mc12, mc13, mc14, mc15, mc16);
var _local1 = 0;
while (_local1 < (arrMc.length - 1)) {
rand = Math.floor(Math.random() * (arrMc.length - _local1)) + _local1;
mc = arrMc[_local1];
arrMc[_local1] = arrMc[rand];
arrMc[rand] = mc;
_local1++;
}
arrMc[0]._x = 287;
arrMc[0]._y = 177.4;
arrMc[1]._x = 363.95;
arrMc[1]._y = 177.4;
arrMc[2]._x = 440.9;
arrMc[2]._y = 177.4;
arrMc[3]._x = 517.9;
arrMc[3]._y = 177.4;
arrMc[4]._x = 287;
arrMc[4]._y = 254.35;
arrMc[5]._x = 363.95;
arrMc[5]._y = 254.35;
arrMc[6]._x = 440.9;
arrMc[6]._y = 254.35;
arrMc[7]._x = 517.9;
arrMc[7]._y = 254.35;
arrMc[8]._x = 287;
arrMc[8]._y = 331.35;
arrMc[9]._x = 363.95;
arrMc[9]._y = 331.35;
arrMc[10]._x = 440.9;
arrMc[10]._y = 331.35;
arrMc[11]._x = 517.9;
arrMc[11]._y = 331.35;
arrMc[12]._x = 287;
arrMc[12]._y = 408.3;
arrMc[13]._x = 363.95;
arrMc[13]._y = 408.3;
arrMc[14]._x = 440.9;
arrMc[14]._y = 408.3;
arrMc[15]._x = 517.9;
arrMc[15]._y = 408.3;
trace(arrMc.length);
gameWon = false;
};
mc1.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc2.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc3.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc4.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc5.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc6.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc7.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc8.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc9.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc10.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc11.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc12.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc13.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc14.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc15.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
mc16.onRelease = function () {
if (open1 == this) {
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
}
return(undefined);
}
if (cnt == 2) {
open1.gotoAndStop(1);
open2.gotoAndStop(1);
open1 = null;
open2 = null;
cnt = 0;
return(undefined);
}
if (cnt == 1) {
open2 = this;
open2.gotoAndStop(2);
if (open2.id == open1.id) {
open1.gotoAndStop(3);
open2.gotoAndStop(3);
cnt = 0;
return(undefined);
}
cnt = 2;
} else {
open1 = this;
open1.gotoAndStop(2);
cnt = 1;
}
};
this.onEnterFrame = function () {
if (_global.lvl < 3) {
init();
_global.lvl = 3;
}
if (gameWon) {
trace("gameWon" + gameWon);
return(undefined);
}
i = 0;
while (i < arrMc.length) {
trace(i);
if (arrMc[i]._currentFrame != 3) {
return(undefined);
}
i++;
}
gameWon = true;
if (gameWon) {
trace("chandan");
btnQuit._visible = false;
shower.gotoAndPlay(2);
}
};
btnQuit.onRelease = function () {
_global.snd2.stop();
_root.gotoAndStop("gameOver");
};
Frame 46
stop();
btnStart.onRelease = function () {
_global.snd2.start(0, 999);
_root.gotoAndStop("lvl5");
};
Frame 47
var bars = new Array();
var cnt;
var tot;
init = function () {
chomu._visible = false;
bar8._visible = false;
tuntun._visible = false;
bar7._visible = false;
blueSari._visible = false;
bar6._visible = false;
aunty._visible = false;
bar5._visible = false;
uncle._visible = false;
bar4._visible = false;
mom._visible = false;
bar3._visible = false;
sis._visible = false;
bar2._visible = false;
bar1.gotoAndPlay(600);
bars.push(bar1);
sis._alpha = 100;
bar2._alpha = 100;
chomu._alpha = 100;
bar8._alpha = 100;
tuntun._alpha = 100;
bar7._alpha = 100;
blueSari._alpha = 100;
bar6._alpha = 100;
aunty._alpha = 100;
bar5._alpha = 100;
uncle._alpha = 100;
bar4._alpha = 100;
mom._alpha = 100;
bar3._alpha = 100;
cnt = 1;
};
checkStage = function () {
if (cnt < 8) {
addDancer();
return(undefined);
}
trace("checkStage " + tot);
if (tot < 140) {
_global.score = _global.score + 5000;
_global.snd2.stop();
_root.gotoAndStop("lblscore");
}
};
addDancer = function () {
if (cnt == 1) {
sprite2._visible = false;
bar2._visible = true;
bar2.gotoAndPlay(600);
bars.push(bar2);
sis.gotoAndPlay("dance");
sis._visible = true;
cnt = 2;
return(undefined);
}
if (cnt == 2) {
sprite3._visible = false;
bar3._visible = true;
bar3.gotoAndPlay(600);
bars.push(bar3);
mom.gotoAndPlay("dance");
mom._visible = true;
cnt = 3;
return(undefined);
}
if (cnt == 3) {
sprite4._visible = false;
bar4._visible = true;
bar4.gotoAndPlay(600);
bars.push(bar4);
uncle.gotoAndPlay("dance");
uncle._visible = true;
cnt = 4;
return(undefined);
}
if (cnt == 4) {
sprite5._visible = false;
bar5._visible = true;
bar5.gotoAndPlay(600);
bars.push(bar5);
aunty.gotoAndPlay("dance");
aunty._visible = true;
cnt = 5;
return(undefined);
}
if (cnt == 5) {
sprite6._visible = false;
bar6._visible = true;
bar6.gotoAndPlay(600);
bars.push(bar6);
blueSari.gotoAndPlay("dance");
blueSari._visible = true;
cnt = 6;
return(undefined);
}
if (cnt == 6) {
sprite7._visible = false;
bar7._visible = true;
bar7.gotoAndPlay(600);
bars.push(bar7);
tuntun.gotoAndPlay("dance");
tuntun._visible = true;
cnt = 7;
return(undefined);
}
if (cnt == 7) {
sprite8._visible = false;
bar8._visible = true;
bar8.gotoAndPlay(600);
bars.push(bar7);
chomu.gotoAndPlay("dance");
chomu._visible = true;
cnt = 8;
return(undefined);
}
};
this.onEnterFrame = function () {
if (_global.lvl < 5) {
init();
_global.lvl = 5;
}
tot = 0;
i = 0;
while (i < bars.length) {
tot = tot + bars[i]._currentframe;
i++;
}
tot = tot / cnt;
if (tot < 150) {
checkStage();
}
};
stop();
Frame 48
stop();
btnStart.onRelease = function () {
_global.snd1.start(0, 999);
_root.gotoAndStop("lvl4");
};
Frame 49
var lvlOver;
var done = false;
createEmptyMovieClip("Line", 1);
_global.lvl = 4;
Line.lineStyle(5, 10027008, 100);
line.swapDepths(1);
cone.swapDepths(10);
onMouseMove = null;
cone.onPress = function () {
Line.moveTo(_root.cone._x, _root.cone._y);
cone.startDrag();
onMouseMove = function () {
Line.lineTo(_root.cone._x, _root.cone._y);
};
lvlOver = true;
};
cone.onRelease = function () {
onMouseMove = null;
cone.stopDrag();
};
gameWon = function () {
if (!done) {
cone.stopDrag();
cone.onPress = null;
timerID = setInterval(this, "over", 3000);
done = true;
}
};
gameLost = function () {
if (!done) {
cone.stopDrag();
cone.onPress = null;
timerID = setInterval(this, "over1", 3000);
done = true;
}
};
over = function () {
clearInterval(timerID);
removeMovieClip(Line);
removeMovieClip(cone);
_global.score = _global.score + 2000;
_global.snd1.stop();
_root.gotoAndStop("lblscore");
};
over1 = function () {
clearInterval(timerID);
removeMovieClip(Line);
removeMovieClip(cone);
_global.snd1.stop();
_root.gotoAndStop("gameOver1");
};
stop();
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_global.score = Math.round(3000 * (Math.random() + 1));
_root.gameWon();
}
}
Instance of Symbol 980 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.cone.spot)) {
_root.gameLost();
}
}
Frame 50
stop();
btnStart.onRelease = function () {
_global.snd3.start(0, 999);
_root.gotoAndStop("lvl6");
};
Frame 51
_global.$createTweenController = function () {
var _local3 = _root.createEmptyMovieClip("__tweenController__", 123432);
_local3.$_tweenPropList = new Array();
_local3.$_tTime = getTimer();
_local3.onEnterFrame = _global.$updateTweens;
};
ASSetPropFlags(_global, "$createTweenController", 1, 0);
_global.$removeTweenController = function () {
delete _root.__tweenController__.$_tweenPropList;
delete _root.__tweenController__.$_tTime;
delete _root.__tweenController__.onEnterFrame;
_root.__tweenController__.removeMovieClip();
};
ASSetPropFlags(_global, "$removeTweenController", 1, 0);
_global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) {
if (timeSeconds == undefined) {
timeSeconds = 0;
}
if ((animType == undefined) || (animType == "")) {
animType = "easeOutExpo";
}
if (delay == undefined) {
delay = 0;
}
if (typeof(prop) == "string") {
var _local7 = [prop];
var _local11 = [mtarget[prop]];
var _local9 = [propDest];
} else {
var _local7 = [];
var _local11 = [];
var _local9 = [];
for (var _local32 in prop) {
_local11.push(mtarget[prop[_local32]]);
}
for (var _local32 in prop) {
_local7.push(prop[_local32]);
}
for (var _local32 in propDest) {
_local9.push(propDest[_local32]);
}
}
var _local12 = false;
if (_root.__tweenController__ == undefined) {
_global.$createTweenController();
}
var _local4 = _root.__tweenController__.$_tweenPropList;
var _local8 = _root.__tweenController__.$_tTime;
for (var _local32 in _local11) {
if ((_local9[_local32] != undefined) && (!mtarget.$_isTweenLocked)) {
if (mtarget.$_tweenCount > 0) {
var _local3 = 0;
while (_local3 < _local4.length) {
if ((_local4[_local3]._targ == mtarget) && (_local4[_local3]._prop == _local7[_local32])) {
if ((_local8 + (delay * 1000)) < _local4[_local3]._timeDest) {
_local4.splice(_local3, 1);
_local3--;
mtarget.$_tweenCount--;
}
}
_local3++;
}
}
_local4.push({_prop:_local7[_local32], _targ:mtarget, _propStart:undefined, _propDest:_local9[_local32], _timeStart:_local8, _timeDest:_local8 + (timeSeconds * 1000), _animType:animType, _extra1:extra1, _extra2:extra2, _extras:extras, _delay:delay, _isPaused:false, _timePaused:0, _callback:(_local12 ? undefined : (callback))});
mtarget.$_tweenCount = ((mtarget.$_tweenCount > 0) ? (mtarget.$_tweenCount + 1) : 1);
_local12 = true;
}
}
ASSetPropFlags(mtarget, "$_tweenCount", 1, 0);
};
ASSetPropFlags(_global, "$addTween", 1, 0);
_global.$updateTweens = function () {
var _local8 = (this.$_tTime = getTimer());
var _local6 = 0;
while (_local6 < this.$_tweenPropList.length) {
var _local3 = this.$_tweenPropList[_local6];
if (_local3._targ.toString() == undefined) {
this.$_tweenPropList.splice(_local6, 1);
_local6--;
} else if (((_local3._timeStart + (_local3._delay * 1000)) <= _local8) && (!_local3._isPaused)) {
if (_local3._propStart == undefined) {
if (_local3._prop.substr(0, 10) == "__special_") {
if (_local3._prop == "__special_mc_frame__") {
_local3._propStart = _local3._targ._currentframe;
} else if (_local3._prop == "__special_mc_ra__") {
_local3._propStart = new Color(_local3._targ).getTransform().ra;
} else if (_local3._prop == "__special_mc_rb__") {
_local3._propStart = new Color(_local3._targ).getTransform().rb;
} else if (_local3._prop == "__special_mc_ga__") {
_local3._propStart = new Color(_local3._targ).getTransform().ga;
} else if (_local3._prop == "__special_mc_gb__") {
_local3._propStart = new Color(_local3._targ).getTransform().gb;
} else if (_local3._prop == "__special_mc_ba__") {
_local3._propStart = new Color(_local3._targ).getTransform().ba;
} else if (_local3._prop == "__special_mc_bb__") {
_local3._propStart = new Color(_local3._targ).getTransform().bb;
} else if (_local3._prop == "__special_mc_aa__") {
_local3._propStart = new Color(_local3._targ).getTransform().aa;
} else if (_local3._prop == "__special_mc_ab__") {
_local3._propStart = new Color(_local3._targ).getTransform().ab;
} else if (_local3._prop == "__special_text_r__") {
_local3._propStart = _local3._targ.textColor >> 16;
} else if (_local3._prop == "__special_text_g__") {
_local3._propStart = (_local3._targ.textColor & 65280) >> 8;
} else if (_local3._prop == "__special_text_b__") {
_local3._propStart = _local3._targ.textColor & 255;
} else if (_local3._prop == "__special_sound_volume__") {
_local3._propStart = _local3._targ.getVolume();
} else if (_local3._prop == "__special_sound_pan__") {
_local3._propStart = _local3._targ.getPan();
} else if (_local3._prop == "__special_bst_t__") {
_local3._propStart = 0;
_local3._extras.__special_bst_ix__ = _local3._targ._x;
_local3._extras.__special_bst_iy__ = _local3._targ._y;
} else if (_local3._prop == "__special_blur_x__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurX;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_blur_y__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurY;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_glow_color__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].color;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 16777215 /* 0xFFFFFF */;
}
} else if (_local3._prop == "__special_glow_alpha__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].alpha;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_glow_blurX__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurX;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_glow_blurY__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurY;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_glow_strength__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].strength;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_bevel_distance__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].distance;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_angle__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].angle;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 45;
}
} else if (_local3._prop == "__special_bevel_highlightColor__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].highlightColor;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 16777215 /* 0xFFFFFF */;
}
} else if (_local3._prop == "__special_bevel_highlightAlpha__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].highlightAlpha;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_bevel_shadowColor__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].shadowColor;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_shadowAlpha__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].shadowAlpha;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_bevel_blurX__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurX;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_blurY__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurY;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_strength__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].strength;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else {
_local3._propStart = _local3._targ[_local3._prop];
}
} else {
_local3._propStart = _local3._targ[_local3._prop];
}
}
var _local10 = _local3._timeDest + (_local3._delay * 1000);
if (_local10 <= _local8) {
var _local4 = _local3._propDest;
} else {
var _local4 = _global.findTweenValue(_local3._propStart, _local3._propDest, _local3._timeStart, _local8 - (_local3._delay * 1000), _local3._timeDest, _local3._animType, _local3._extra1, _local3._extra2);
}
_local3._targ[_local3._prop] = (_local3._extras.mustRound ? (Math.round(_local4)) : (_local4));
if (_local3._prop == "__special_mc_frame__") {
_local3._targ.gotoAndStop(Math.round(_local4));
} else if (_local3._prop == "__special_mc_ra__") {
new Color(_local3._targ).setTransform({ra:_local4});
} else if (_local3._prop == "__special_mc_rb__") {
new Color(_local3._targ).setTransform({rb:_local4});
} else if (_local3._prop == "__special_mc_ga__") {
new Color(_local3._targ).setTransform({ga:_local4});
} else if (_local3._prop == "__special_mc_gb__") {
new Color(_local3._targ).setTransform({gb:_local4});
} else if (_local3._prop == "__special_mc_ba__") {
new Color(_local3._targ).setTransform({ba:_local4});
} else if (_local3._prop == "__special_mc_bb__") {
new Color(_local3._targ).setTransform({bb:_local4});
} else if (_local3._prop == "__special_mc_aa__") {
new Color(_local3._targ).setTransform({aa:_local4});
} else if (_local3._prop == "__special_mc_ab__") {
new Color(_local3._targ).setTransform({ab:_local4});
}
if (_local3._prop == "__special_bst_t__") {
var _local7 = _local3._extras;
var _local9 = _global.findPointOnCurve(_local7.__special_bst_ix__, _local7.__special_bst_iy__, _local7.__special_bst_cx__, _local7.__special_bst_cy__, _local7.__special_bst_dx__, _local7.__special_bst_dy__, _local4);
if (_local3._extras.mustRound) {
_local3._targ._x = Math.round(_local9.x);
_local3._targ._y = Math.round(_local9.y);
} else {
_local3._targ._x = _local9.x;
_local3._targ._y = _local9.y;
}
}
if ((typeof(_local3._targ) != "movieclip") && (_local3._prop == "__special_text_b__")) {
_local3._targ.textColor = ((_local3._targ.__special_text_r__ << 16) + (_local3._targ.__special_text_g__ << 8)) + _local3._targ.__special_text_b__;
}
if (_local3._prop == "__special_sound_volume__") {
_local3._targ.setVolume(_local4);
}
if (_local3._prop == "__special_sound_pan__") {
_local3._targ.setPan(_local4);
}
if (_local3._prop == "__special_blur_x__") {
_global.$setFilterProperty(_local3._targ, "blur_blurX", _local4, _local3._extras);
}
if (_local3._prop == "__special_blur_y__") {
_global.$setFilterProperty(_local3._targ, "blur_blurY", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_color__") {
_global.$setFilterProperty(_local3._targ, "glow_color", _global.findTweenColor(_local3, _local8), _local3._extras);
}
if (_local3._prop == "__special_glow_alpha__") {
_global.$setFilterProperty(_local3._targ, "glow_alpha", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_blurX__") {
_global.$setFilterProperty(_local3._targ, "glow_blurX", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_blurY__") {
_global.$setFilterProperty(_local3._targ, "glow_blurY", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_strength__") {
_global.$setFilterProperty(_local3._targ, "glow_strength", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_distance__") {
_global.$setFilterProperty(_local3._targ, "bevel_distance", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_angle__") {
_global.$setFilterProperty(_local3._targ, "bevel_angle", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_highlightColor__") {
_global.$setFilterProperty(_local3._targ, "bevel_highlightColor", _global.findTweenColor(_local3, _local8), _local3._extras);
}
if (_local3._prop == "__special_bevel_highlightAlpha__") {
_global.$setFilterProperty(_local3._targ, "bevel_highlightAlpha", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_shadowColor__") {
_global.$setFilterProperty(_local3._targ, "bevel_shadowColor", _global.findTweenColor(_local3, _local8), _local3._extras);
}
if (_local3._prop == "__special_bevel_shadowAlpha__") {
_global.$setFilterProperty(_local3._targ, "bevel_shadowAlpha", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_blurX__") {
_global.$setFilterProperty(_local3._targ, "bevel_blurX", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_blurY__") {
_global.$setFilterProperty(_local3._targ, "bevel_blurY", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_strength__") {
_global.$setFilterProperty(_local3._targ, "bevel_strength", _local4, _local3._extras);
}
if (_local3._targ.onTweenUpdate != undefined) {
_local3._targ.onTweenUpdate(_local3._prop);
}
if (_local10 <= _local8) {
if (_local3._targ.onTweenComplete != undefined) {
_local3._targ.onTweenComplete(_local3._prop);
}
_global.$stopTween(_local3._targ, [_local3._prop], false);
_local6--;
if (_local3._callback != undefined) {
if (_global.backwardCallbackTweening) {
var _local11 = _local3._targ.createEmptyMovieClip("__child__", 122344);
_local3._callback.apply(_local11, null);
_local11.removeMovieClip();
} else {
_local3._callback.apply(_local3._targ, null);
}
}
}
}
_local6++;
}
if (this.$_tweenPropList.length == 0) {
_global.$removeTweenController();
}
};
ASSetPropFlags(_global, "$updateTween", 1, 0);
_global.$stopTween = function (mtarget, props, wipeFuture) {
var _local4 = _root.__tweenController__.$_tweenPropList;
var _local7;
for (var _local9 in _local4) {
_local7 = _local4[_local9]._prop;
var _local5 = 0;
while ((_local5 < props.length) || ((_local5 < 1) && (props == undefined))) {
if (((_local4[_local9]._targ == mtarget) && ((_local7 == props[_local5]) || (props == undefined))) && (wipeFuture || ((_local4[_local9]._timeDest + (_local4[_local9]._delay * 1000)) <= getTimer()))) {
switch (_local7) {
case "__special_mc_frame__" :
case "__special_mc_ra__" :
case "__special_mc_rb__" :
case "__special_mc_ga__" :
case "__special_mc_gb__" :
case "__special_mc_ba__" :
case "__special_mc_bb__" :
case "__special_mc_aa__" :
case "__special_mc_ab__" :
case "__special_sound_volume__" :
case "__special_bst_t__" :
delete mtarget[_local7];
break;
case "__special_text_b__" :
delete mtarget.__special_text_r__;
delete mtarget.__special_text_g__;
delete mtarget.__special_text_b__;
}
_local4.splice(_local9, 1);
}
_local5++;
}
}
if (props == undefined) {
delete mtarget.$_tweenCount;
} else {
mtarget.$_tweenCount = 0;
for (var _local9 in _local4) {
if (_local4[_local9]._targ == mtarget) {
mtarget.$_tweenCount++;
}
}
if (mtarget.$_tweenCount == 0) {
delete mtarget.$_tweenCount;
}
}
if (_local4.length == 0) {
_global.$removeTweenController();
}
};
ASSetPropFlags(_global, "$stopTween", 1, 0);
_global.$setFilterProperty = function (mtarget, propName, propValue, extras) {
var _local1;
var _local7 = false;
var _local3 = [];
_local1 = 0;
while (_local1 < mtarget.filters.length) {
_local3.push(mtarget.filters[_local1]);
_local1++;
}
if (propName.substr(0, 5) == "blur_") {
_local1 = 0;
while (_local1 < mtarget.filters.length) {
if (_local3[_local1] instanceof flash.filters.BlurFilter) {
_local3[_local1][propName.substr(5)] = propValue;
if (extras.__special_blur_quality__ != undefined) {
_local3[_local1].quality = extras.__special_blur_quality__;
}
_local7 = true;
break;
}
_local1++;
}
if (!_local7) {
var _local9;
var _local8 = ((extras.__special_blur_quality__ == undefined) ? 2 : (extras.__special_blur_quality__));
if (propName == "blur_blurX") {
_local9 = new flash.filters.BlurFilter(propValue, 0, _local8);
}
if (propName == "blur_blurY") {
_local9 = new flash.filters.BlurFilter(0, propValue, _local8);
}
_local3.push(_local9);
}
} else if (propName.substr(0, 5) == "glow_") {
_local1 = 0;
while (_local1 < mtarget.filters.length) {
if (_local3[_local1] instanceof flash.filters.GlowFilter) {
_local3[_local1][propName.substr(5)] = propValue;
if (extras.__special_glow_quality__ != undefined) {
_local3[_local1].quality = extras.__special_glow_quality__;
}
if (extras.__special_glow_inner__ != undefined) {
_local3[_local1].inner = extras.__special_glow_inner__;
}
if (extras.__special_glow_knockout__ != undefined) {
_local3[_local1].knockout = extras.__special_glow_knockout__;
}
_local7 = true;
break;
}
_local1++;
}
if (!_local7) {
var _local8 = ((extras.__special_glow_quality__ == undefined) ? 2 : (extras.__special_glow_quality__));
var _local12 = ((extras.__special_glow_inner__ == undefined) ? false : (extras.__special_glow_inner__));
var _local10 = ((extras.__special_glow_knockout__ == undefined) ? false : (extras.__special_glow_knockout__));
if (propName == "glow_color") {
var _local9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, _local8, _local12, _local10);
}
if (propName == "glow_alpha") {
var _local9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, _local8, _local12, _local10);
}
if (propName == "glow_blurX") {
var _local9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, _local8, _local12, _local10);
}
if (propName == "glow_blurY") {
var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, _local8, _local12, _local10);
}
if (propName == "glow_strength") {
var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, _local8, _local12, _local10);
}
_local3.push(_local9);
}
} else if (propName.substr(0, 6) == "bevel_") {
_local1 = 0;
while (_local1 < mtarget.filters.length) {
if (_local3[_local1] instanceof flash.filters.BevelFilter) {
_local3[_local1][propName.substr(6)] = propValue;
if (extras.__special_bevel_quality__ != undefined) {
_local3[_local1].quality = extras.__special_bevel_quality__;
}
if (extras.__special_bevel_type__ != undefined) {
_local3[_local1].inner = extras.__special_bevel_type__;
}
if (extras.__special_bevel_knockout__ != undefined) {
_local3[_local1].knockout = extras.__special_bevel_knockout__;
}
_local7 = true;
break;
}
_local1++;
}
if (!_local7) {
var _local8 = ((extras.__special_bevel_quality__ == undefined) ? 2 : (extras.__special_bevel_quality__));
var _local11 = ((extras.__special_bevel_type__ == undefined) ? "inner" : (extras.__special_bevel_type__));
var _local10 = ((extras.__special_bevel_knockout__ == undefined) ? false : (extras.__special_bevel_knockout__));
if (propName == "bevel_distance") {
var _local9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_angle") {
var _local9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_highlightColor") {
var _local9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_highlightAlpha") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_shadowColor") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_shadowAlpha") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_blurX") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_blurY") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, _local8, _local11, _local10);
}
if (propName == "bevel_strength") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, _local8, _local11, _local10);
}
_local3.push(_local9);
}
} else {
return(undefined);
}
mtarget.filters = _local3;
};
MovieClip.prototype.tween = (TextField.prototype.tween = (Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2);
}));
ASSetPropFlags(MovieClip.prototype, "tween", 1, 0);
ASSetPropFlags(TextField.prototype, "tween", 1, 0);
ASSetPropFlags(Sound.prototype, "tween", 1, 0);
MovieClip.prototype.roundedTween = (TextField.prototype.roundedTween = (Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
}));
ASSetPropFlags(MovieClip.prototype, "roundedTween", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedTween", 1, 0);
ASSetPropFlags(Sound.prototype, "roundedTween", 1, 0);
MovieClip.prototype.stopTween = (TextField.prototype.stopTween = (Sound.prototype.stopTween = function (props) {
if (typeof(props) == "string") {
props = [props];
}
if (props != undefined) {
var _local4 = 1;
while (_local4 < arguments.length) {
props.push(arguments[_local4]);
_local4++;
}
}
_global.$stopTween(this, props, true);
}));
ASSetPropFlags(MovieClip.prototype, "stopTween", 1, 0);
ASSetPropFlags(TextField.prototype, "stopTween", 1, 0);
ASSetPropFlags(Sound.prototype, "stopTween", 1, 0);
MovieClip.prototype.pauseTween = (TextField.prototype.pauseTween = (Sound.prototype.pauseTween = function (props) {
if (props != undefined) {
if (typeof(props) == "string") {
props = [props];
}
var _local6 = 1;
while (_local6 < Arguments.length) {
props.push(Arguments[_local6]);
_local6++;
}
}
var _local4 = _root.__tweenController__.$_tweenPropList;
var _local5;
for (var _local7 in _local4) {
if ((_local4[_local7]._targ == this) && (!_local4[_local7]._isPaused)) {
if (props != undefined) {
_local5 = false;
for (var _local6 in props) {
if (props[_local6] == _local4[_local7]._prop) {
_local5 = true;
break;
}
}
}
if ((props == undefined) || (_local5)) {
_local4[_local7]._isPaused = true;
_local4[_local7]._timePaused = _root.__tweenController__.$_tTime;
}
}
}
}));
ASSetPropFlags(MovieClip.prototype, "pauseTween", 1, 0);
ASSetPropFlags(TextField.prototype, "pauseTween", 1, 0);
ASSetPropFlags(Sound.prototype, "pauseTween", 1, 0);
MovieClip.prototype.resumeTween = (TextField.prototype.resumeTween = (Sound.prototype.resumeTween = function (props) {
if (props != undefined) {
if (typeof(props) == "string") {
props = [props];
}
var _local7 = 1;
while (_local7 < Arguments.length) {
props.push(Arguments[_local7]);
_local7++;
}
}
var _local3 = _root.__tweenController__.$_tweenPropList;
var _local5;
var _local6;
for (var _local8 in _local3) {
if ((_local3[_local8]._targ == this) && (_local3[_local8]._isPaused)) {
if (props != undefined) {
_local5 = false;
for (var _local7 in props) {
if (props[_local7] == _local3[_local8]._prop) {
_local5 = true;
break;
}
}
}
if ((props == undefined) || (_local5)) {
_local3[_local8]._isPaused = false;
_local6 = _root.__tweenController__.$_tTime - _local3[_local8]._timePaused;
_local3[_local8]._timeStart = _local3[_local8]._timeStart + _local6;
_local3[_local8]._timeDest = _local3[_local8]._timeDest + _local6;
_local3[_local8]._timePaused = 0;
}
}
}
}));
ASSetPropFlags(MovieClip.prototype, "resumeTween", 1, 0);
ASSetPropFlags(TextField.prototype, "resumeTween", 1, 0);
ASSetPropFlags(Sound.prototype, "resumeTween", 1, 0);
MovieClip.prototype.lockTween = (TextField.prototype.lockTween = (Sound.prototype.lockTween = function () {
this.$_isTweenLocked = true;
ASSetPropFlags(this, "this.$_isTweenLocked", 1, 0);
}));
ASSetPropFlags(MovieClip.prototype, "lockTween", 1, 0);
ASSetPropFlags(TextField.prototype, "lockTween", 1, 0);
ASSetPropFlags(Sound.prototype, "lockTween", 1, 0);
MovieClip.prototype.unlockTween = (TextField.prototype.unlockTween = (Sound.prototype.unlockTween = function () {
delete this.$_isTweenLocked;
}));
ASSetPropFlags(MovieClip.prototype, "unlockTween", 1, 0);
ASSetPropFlags(TextField.prototype, "unlockTween", 1, 0);
ASSetPropFlags(Sound.prototype, "unlockTween", 1, 0);
MovieClip.prototype.getTweens = (TextField.prototype.getTweens = (Sound.prototype.getTweens = function () {
return(this.$_tweenCount);
}));
ASSetPropFlags(MovieClip.prototype, "getTweens", 1, 0);
ASSetPropFlags(TextField.prototype, "getTweens", 1, 0);
ASSetPropFlags(Sound.prototype, "getTweens", 1, 0);
MovieClip.prototype.isTweening = (TextField.prototype.isTweening = (Sound.prototype.isTweening = function () {
return(((this.$_tweenCount > 0) ? true : false));
}));
ASSetPropFlags(MovieClip.prototype, "isTweening", 1, 0);
ASSetPropFlags(TextField.prototype, "isTweening", 1, 0);
ASSetPropFlags(Sound.prototype, "isTweening", 1, 0);
MovieClip.prototype.alphaTo = (TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_alpha", propDest_a, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "alphaTo", 1, 0);
ASSetPropFlags(TextField.prototype, "alphaTo", 1, 0);
MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_mc_frame__", propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(MovieClip.prototype, "frameTo", 1, 0);
MovieClip.prototype.resizeTo = (TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_width", "_height"], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "resizeTo", 1, 0);
ASSetPropFlags(TextField.prototype, "resizeTo", 1, 0);
MovieClip.prototype.rotateTo = (TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_rotation", propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "rotateTo", 1, 0);
ASSetPropFlags(TextField.prototype, "rotateTo", 1, 0);
MovieClip.prototype.scaleTo = (TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_xscale", "_yscale"], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "scaleTo", 1, 0);
ASSetPropFlags(TextField.prototype, "scaleTo", 1, 0);
MovieClip.prototype.xScaleTo = (TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_xscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "xScaleTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xScaleTo", 1, 0);
MovieClip.prototype.yScaleTo = (TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_yscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "yScaleTo", 1, 0);
ASSetPropFlags(TextField.prototype, "yScaleTo", 1, 0);
TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "scroll", propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(TextField.prototype, "scrollTo", 1, 0);
MovieClip.prototype.slideTo = (TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "slideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "slideTo", 1, 0);
MovieClip.prototype.roundedSlideTo = (TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
});
ASSetPropFlags(MovieClip.prototype, "roundedSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedSlideTo", 1, 0);
MovieClip.prototype.xSlideTo = (TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "xSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xSlideTo", 1, 0);
MovieClip.prototype.roundedXSlideTo = (TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
});
ASSetPropFlags(MovieClip.prototype, "roundedXSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedXSlideTo", 1, 0);
MovieClip.prototype.ySlideTo = (TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "ySlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "ySlideTo", 1, 0);
MovieClip.prototype.roundedYSlideTo = (TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
});
ASSetPropFlags(MovieClip.prototype, "roundedYSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedYSlideTo", 1, 0);
MovieClip.prototype.bezierSlideTo = (TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = new Object();
_local3.__special_bst_ix__ = undefined;
_local3.__special_bst_iy__ = undefined;
_local3.__special_bst_cx__ = cpoint_x;
_local3.__special_bst_cy__ = cpoint_y;
_local3.__special_bst_dx__ = propDest_x;
_local3.__special_bst_dy__ = propDest_y;
_global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3);
});
ASSetPropFlags(MovieClip.prototype, "bezierSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "bezierSlideTo", 1, 0);
MovieClip.prototype.roundedBezierSlideTo = (TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = new Object();
_local3.__special_bst_ix__ = undefined;
_local3.__special_bst_iy__ = undefined;
_local3.__special_bst_cx__ = cpoint_x;
_local3.__special_bst_cy__ = cpoint_y;
_local3.__special_bst_dx__ = propDest_x;
_local3.__special_bst_dy__ = propDest_y;
_local3.mustRound = true;
_global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3);
});
ASSetPropFlags(MovieClip.prototype, "roundedBezierSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedBezierSlideTo", 1, 0);
Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_sound_volume__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Sound.prototype, "volumeTo", 1, 0);
Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_sound_pan__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Sound.prototype, "panTo", 1, 0);
MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) {
if (propDest_color == null) {
this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2);
} else {
var _local3 = propDest_color >> 16;
var _local5 = (propDest_color & 65280) >> 8;
var _local4 = propDest_color & 255;
this.colorTransformTo(0, _local3, 0, _local5, 0, _local4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2);
}
};
ASSetPropFlags(MovieClip.prototype, "colorTo", 1, 0);
TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = propDest_color >> 16;
var _local6 = (propDest_color & 65280) >> 8;
var _local4 = propDest_color & 255;
_global.$addTween(this, ["__special_text_r__", "__special_text_g__", "__special_text_b__"], [_local3, _local6, _local4], timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(TextField.prototype, "colorTo", 1, 0);
MovieClip.prototype.colorTransformTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]);
} else {
_global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]);
}
};
ASSetPropFlags(MovieClip.prototype, "colorTransformTo", 1, 0);
MovieClip.prototype.blurTo = (TextField.prototype.blurTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_blur_quality__:arguments[0].quality});
} else {
_global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {__special_blur_quality__:arguments[1]});
}
});
ASSetPropFlags(MovieClip.prototype, "blurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "blurTo", 1, 0);
MovieClip.prototype.xyBlurTo = (TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality});
});
ASSetPropFlags(MovieClip.prototype, "xyBlurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xyBlurTo", 1, 0);
MovieClip.prototype.xBlurTo = (TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_blur_x__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality});
});
ASSetPropFlags(MovieClip.prototype, "xBlurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xBlurTo", 1, 0);
MovieClip.prototype.yBlurTo = (TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_blur_y__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality});
});
ASSetPropFlags(MovieClip.prototype, "yBlurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "yBlurTo", 1, 0);
MovieClip.prototype.glowTo = (TextField.prototype.glowTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_glow_quality__:arguments[0].quality, __special_glow_inner__:arguments[0].inner, __special_glow_knockout__:arguments[0].knockout});
} else {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {__special_glow_quality__:arguments[4], __special_glow_inner__:arguments[5], __special_glow_knockout__:arguments[6]});
}
});
ASSetPropFlags(MovieClip.prototype, "glowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "glowTo", 1, 0);
MovieClip.prototype.xyGlowTo = (TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "xyGlowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xyGlowTo", 1, 0);
MovieClip.prototype.xGlowTo = (TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "xGlowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xGlowTo", 1, 0);
MovieClip.prototype.yGlowTo = (TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "yGlowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "yGlowTo", 1, 0);
MovieClip.prototype.bevelTo = (TextField.prototype.bevelTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_bevel_quality__:arguments[0].quality, __special_bevel_type__:arguments[0].type, __special_bevel_knockout__:arguments[0].knockout});
} else {
_global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {__special_bevel_quality__:arguments[8], __special_bevel_type__:arguments[9], __special_bevel_knockout__:arguments[10]});
}
});
ASSetPropFlags(MovieClip.prototype, "bevelTo", 1, 0);
ASSetPropFlags(TextField.prototype, "bevelTo", 1, 0);
MovieClip.prototype.xyBevelTo = (TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_blurY__", "__special_bevel_strength__"], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_bevel_quality__:quality, __special_bevel_type__:type, __special_bevel_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "xyBevelTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xyBevelTo", 1, 0);
_global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) {
return({x:p1x + (t * (((2 * (1 - t)) * (cx - p1x)) + (t * (p2x - p1x)))), y:p1y + (t * (((2 * (1 - t)) * (cy - p1y)) + (t * (p2y - p1y))))});
};
ASSetPropFlags(_global, "findPointOnCurve", 1, 0);
_global.findTweenColor = function (objProp, tTime) {
var _local8 = objProp._propStart >> 16;
var _local4 = objProp._propDest >> 16;
var _local5 = (objProp._propStart >> 8) & 255;
var _local6 = (objProp._propDest >> 8) & 255;
var _local9 = objProp._propStart & 255;
var _local7 = objProp._propDest & 255;
var _local12 = Math.round(_global.findTweenValue(_local8, _local4, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2));
var _local10 = Math.round(_global.findTweenValue(_local5, _local6, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2));
var _local3 = Math.round(_global.findTweenValue(_local9, _local7, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2));
return(((_local12 << 16) + (_local10 << 8)) + _local3);
};
_global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) {
var _local1 = _timeNow - _timeStart;
var _local4 = _propStart;
var _local2 = _propDest - _propStart;
var _local3 = _timeDest - _timeStart;
var _local6 = _extra1;
var _local7 = _extra2;
var _local5 = _extra1;
switch (_animType.toLowerCase()) {
case "linear" :
return(((_local2 * _local1) / _local3) + _local4);
case "easeinquad" :
_local1 = _local1 / _local3;
return(((_local2 * _local1) * _local1) + _local4);
case "easeoutquad" :
_local1 = _local1 / _local3;
return((((-_local2) * _local1) * (_local1 - 2)) + _local4);
case "easeinoutquad" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return((((_local2 / 2) * _local1) * _local1) + _local4);
}
_local1--;
return((((-_local2) / 2) * ((_local1 * (_local1 - 2)) - 1)) + _local4);
case "easeoutinquad" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuad") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuad") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeincubic" :
_local1 = _local1 / _local3;
return((((_local2 * _local1) * _local1) * _local1) + _local4);
case "easeoutcubic" :
_local1 = (_local1 / _local3) - 1;
return((_local2 * (((_local1 * _local1) * _local1) + 1)) + _local4);
case "easeinoutcubic" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((((_local2 / 2) * _local1) * _local1) * _local1) + _local4);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (((_local1 * _local1) * _local1) + 2)) + _local4);
case "easeoutincubic" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCubic") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCubic") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinquart" :
_local1 = _local1 / _local3;
return(((((_local2 * _local1) * _local1) * _local1) * _local1) + _local4);
case "easeoutquart" :
_local1 = (_local1 / _local3) - 1;
return(((-_local2) * ((((_local1 * _local1) * _local1) * _local1) - 1)) + _local4);
case "easeinoutquart" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) + _local4);
}
_local1 = _local1 - 2;
return((((-_local2) / 2) * ((((_local1 * _local1) * _local1) * _local1) - 2)) + _local4);
case "easeoutinquart" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuart") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuart") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinquint" :
_local1 = _local1 / _local3;
return((((((_local2 * _local1) * _local1) * _local1) * _local1) * _local1) + _local4);
case "easeoutquint" :
_local1 = (_local1 / _local3) - 1;
return((_local2 * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 1)) + _local4);
case "easeinoutquint" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) * _local1) + _local4);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 2)) + _local4);
case "easeoutinquint" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuint") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuint") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinsine" :
return((((-_local2) * Math.cos((_local1 / _local3) * (Math.PI/2))) + _local2) + _local4);
case "easeoutsine" :
return((_local2 * Math.sin((_local1 / _local3) * (Math.PI/2))) + _local4);
case "easeinoutsine" :
return((((-_local2) / 2) * (Math.cos((Math.PI * _local1) / _local3) - 1)) + _local4);
case "easeoutinsine" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutSine") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInSine") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinexpo" :
return(((_local1 == 0) ? (_local4) : ((_local2 * Math.pow(2, 10 * ((_local1 / _local3) - 1))) + _local4)));
case "easeoutexpo" :
return(((_local1 == _local3) ? (_local4 + _local2) : ((_local2 * ((-Math.pow(2, (-10 * _local1) / _local3)) + 1)) + _local4)));
case "easeinoutexpo" :
if (_local1 == 0) {
return(_local4);
}
if (_local1 == _local3) {
return(_local4 + _local2);
}
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((_local2 / 2) * Math.pow(2, 10 * (_local1 - 1))) + _local4);
}
_local1--;
return(((_local2 / 2) * ((-Math.pow(2, -10 * _local1)) + 2)) + _local4);
case "easeoutinexpo" :
if (_local1 == 0) {
return(_local4);
}
if (_local1 == _local3) {
return(_local4 + _local2);
}
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((_local2 / 2) * ((-Math.pow(2, (-10 * _local1) / 1)) + 1)) + _local4);
}
return(((_local2 / 2) * (Math.pow(2, (10 * (_local1 - 2)) / 1) + 1)) + _local4);
case "easeincirc" :
_local1 = _local1 / _local3;
return(((-_local2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4);
case "easeoutcirc" :
_local1 = (_local1 / _local3) - 1;
return((_local2 * Math.sqrt(1 - (_local1 * _local1))) + _local4);
case "easeinoutcirc" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return((((-_local2) / 2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (Math.sqrt(1 - (_local1 * _local1)) + 1)) + _local4);
case "easeoutincirc" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCirc") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCirc") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinelastic" :
if (_local1 == 0) {
return(_local4);
}
_local1 = _local1 / _local3;
if (_local1 == 1) {
return(_local4 + _local2);
}
if (!_local7) {
_local7 = _local3 * 0.3;
}
if ((!_local6) || (_local6 < Math.abs(_local2))) {
_local6 = _local2;
_local5 = _local7 / 4;
} else {
_local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6);
}
_local1 = _local1 - 1;
return((-((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4);
case "easeoutelastic" :
if (_local1 == 0) {
return(_local4);
}
_local1 = _local1 / _local3;
if (_local1 == 1) {
return(_local4 + _local2);
}
if (!_local7) {
_local7 = _local3 * 0.3;
}
if ((!_local6) || (_local6 < Math.abs(_local2))) {
_local6 = _local2;
_local5 = _local7 / 4;
} else {
_local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6);
}
return((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) + _local2) + _local4);
case "easeinoutelastic" :
if (_local1 == 0) {
return(_local4);
}
_local1 = _local1 / (_local3 / 2);
if (_local1 == 2) {
return(_local4 + _local2);
}
if (!_local7) {
_local7 = _local3 * 0.45;
}
if ((!_local6) || (_local6 < Math.abs(_local2))) {
_local6 = _local2;
_local5 = _local7 / 4;
} else {
_local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6);
}
if (_local1 < 1) {
_local1 = _local1 - 1;
return((-0.5 * ((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4);
}
_local1 = _local1 - 1;
return(((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) * 0.5) + _local2) + _local4);
case "easeoutinelastic" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutElastic") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInElastic") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinback" :
if (_local5 == undefined) {
_local5 = 1.70158;
}
_local1 = _local1 / _local3;
return((((_local2 * _local1) * _local1) * (((_local5 + 1) * _local1) - _local5)) + _local4);
case "easeoutback" :
if (_local5 == undefined) {
_local5 = 1.70158;
}
_local1 = (_local1 / _local3) - 1;
return((_local2 * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 1)) + _local4);
case "easeinoutback" :
if (_local5 == undefined) {
_local5 = 1.70158;
}
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
_local5 = _local5 * 1.525;
return(((_local2 / 2) * ((_local1 * _local1) * (((_local5 + 1) * _local1) - _local5))) + _local4);
}
_local1 = _local1 - 2;
_local5 = _local5 * 1.525;
return(((_local2 / 2) * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 2)) + _local4);
case "easeoutinback" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBack") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBack") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinbounce" :
return((_local2 - findTweenValue(0, _local2, 0, _local3 - _local1, _local3, "easeOutBounce")) + _local4);
case "easeoutbounce" :
_local1 = _local1 / _local3;
if (_local1 < 0.363636363636364) {
return((_local2 * ((7.5625 * _local1) * _local1)) + _local4);
}
if (_local1 < 0.727272727272727) {
_local1 = _local1 - 0.545454545454545;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.75)) + _local4);
}
if (_local1 < 0.909090909090909) {
_local1 = _local1 - 0.818181818181818;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.9375)) + _local4);
}
_local1 = _local1 - 0.954545454545455;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.984375)) + _local4);
case "easeinoutbounce" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeInBounce") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeOutBounce") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeoutinbounce" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBounce") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBounce") * 0.5) + (_local2 * 0.5)) + _local4);
}
trace(("MC TWEEN ### Error on transition: there's no \"" + _animType) + "\" animation type.");
return(0);
};
ASSetPropFlags(_global, "findTweenValue", 1, 0);
var timerMains;
var timerTime;
shoes.onRelease = function () {
clearInterval(timerMains);
var mc = _root.attachMovie("shoes", "shoes_", _root.getNextHighestDepth());
mc._x = shoes._x;
mc._y = shoes._y;
shoes._visible = false;
removeMovieClip(shoes);
mc.xScaleTo(mc._xscale * 2, 2, "easeInOutCubic");
mc.yScaleTo(mc._yscale * 2, 2, "easeInOutCubic");
_global.score = _global.score + 2000;
mc.alphaTo(0, 3, "linear", 0, function () {
removeMovieClip(mc);
_global.snd3.stop();
gotoAndStop ("lblscore");
});
};
timerFn = function () {
trace(timerTime);
timerTime = timerTime + 4;
timer.gotoAndStop(timerTime);
if (timerTime > 119) {
clearInterval(timerMains);
_global.snd3.stop();
_root.gotoAndStop("gameOver1");
}
};
init = function () {
trace("er");
clearInterval(timerMains);
timerMains = setInterval(this, "timerFn", 900);
shoes.useHandCursor = false;
var _local2 = Math.floor(Math.random() * 6);
timerTime = 0;
trace(_local2);
if (_local2 == 0) {
shoes._x = 170.7;
shoes._y = 161;
} else if (_local2 == 1) {
shoes._x = 350;
shoes._y = 160;
} else if (_local2 == 2) {
shoes._x = 491.75;
shoes._y = 216.7;
} else if (_local2 == 3) {
shoes._x = 678.15;
shoes._y = 210.4;
} else if (_local2 == 4) {
shoes._x = 653.65;
shoes._y = 370;
} else if (_local2 == 5) {
shoes._x = 193;
shoes._y = 353.3;
}
tuntun.init();
dad.init();
mama.init();
jweller.init();
sis.init();
};
this.onEnterFrame = function () {
if (_global.lvl < 6) {
init();
_global.lvl = 6;
}
};
Frame 52
stop();
btnStart.onRelease = function () {
_global.snd3.start(0, 999);
_root.gotoAndStop("lvl7");
};
Frame 53
_global.$createTweenController = function () {
var _local3 = _root.createEmptyMovieClip("__tweenController__", 123432);
_local3.$_tweenPropList = new Array();
_local3.$_tTime = getTimer();
_local3.onEnterFrame = _global.$updateTweens;
};
ASSetPropFlags(_global, "$createTweenController", 1, 0);
_global.$removeTweenController = function () {
delete _root.__tweenController__.$_tweenPropList;
delete _root.__tweenController__.$_tTime;
delete _root.__tweenController__.onEnterFrame;
_root.__tweenController__.removeMovieClip();
};
ASSetPropFlags(_global, "$removeTweenController", 1, 0);
_global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) {
if (timeSeconds == undefined) {
timeSeconds = 0;
}
if ((animType == undefined) || (animType == "")) {
animType = "easeOutExpo";
}
if (delay == undefined) {
delay = 0;
}
if (typeof(prop) == "string") {
var _local7 = [prop];
var _local11 = [mtarget[prop]];
var _local9 = [propDest];
} else {
var _local7 = [];
var _local11 = [];
var _local9 = [];
for (var _local32 in prop) {
_local11.push(mtarget[prop[_local32]]);
}
for (var _local32 in prop) {
_local7.push(prop[_local32]);
}
for (var _local32 in propDest) {
_local9.push(propDest[_local32]);
}
}
var _local12 = false;
if (_root.__tweenController__ == undefined) {
_global.$createTweenController();
}
var _local4 = _root.__tweenController__.$_tweenPropList;
var _local8 = _root.__tweenController__.$_tTime;
for (var _local32 in _local11) {
if ((_local9[_local32] != undefined) && (!mtarget.$_isTweenLocked)) {
if (mtarget.$_tweenCount > 0) {
var _local3 = 0;
while (_local3 < _local4.length) {
if ((_local4[_local3]._targ == mtarget) && (_local4[_local3]._prop == _local7[_local32])) {
if ((_local8 + (delay * 1000)) < _local4[_local3]._timeDest) {
_local4.splice(_local3, 1);
_local3--;
mtarget.$_tweenCount--;
}
}
_local3++;
}
}
_local4.push({_prop:_local7[_local32], _targ:mtarget, _propStart:undefined, _propDest:_local9[_local32], _timeStart:_local8, _timeDest:_local8 + (timeSeconds * 1000), _animType:animType, _extra1:extra1, _extra2:extra2, _extras:extras, _delay:delay, _isPaused:false, _timePaused:0, _callback:(_local12 ? undefined : (callback))});
mtarget.$_tweenCount = ((mtarget.$_tweenCount > 0) ? (mtarget.$_tweenCount + 1) : 1);
_local12 = true;
}
}
ASSetPropFlags(mtarget, "$_tweenCount", 1, 0);
};
ASSetPropFlags(_global, "$addTween", 1, 0);
_global.$updateTweens = function () {
var _local8 = (this.$_tTime = getTimer());
var _local6 = 0;
while (_local6 < this.$_tweenPropList.length) {
var _local3 = this.$_tweenPropList[_local6];
if (_local3._targ.toString() == undefined) {
this.$_tweenPropList.splice(_local6, 1);
_local6--;
} else if (((_local3._timeStart + (_local3._delay * 1000)) <= _local8) && (!_local3._isPaused)) {
if (_local3._propStart == undefined) {
if (_local3._prop.substr(0, 10) == "__special_") {
if (_local3._prop == "__special_mc_frame__") {
_local3._propStart = _local3._targ._currentframe;
} else if (_local3._prop == "__special_mc_ra__") {
_local3._propStart = new Color(_local3._targ).getTransform().ra;
} else if (_local3._prop == "__special_mc_rb__") {
_local3._propStart = new Color(_local3._targ).getTransform().rb;
} else if (_local3._prop == "__special_mc_ga__") {
_local3._propStart = new Color(_local3._targ).getTransform().ga;
} else if (_local3._prop == "__special_mc_gb__") {
_local3._propStart = new Color(_local3._targ).getTransform().gb;
} else if (_local3._prop == "__special_mc_ba__") {
_local3._propStart = new Color(_local3._targ).getTransform().ba;
} else if (_local3._prop == "__special_mc_bb__") {
_local3._propStart = new Color(_local3._targ).getTransform().bb;
} else if (_local3._prop == "__special_mc_aa__") {
_local3._propStart = new Color(_local3._targ).getTransform().aa;
} else if (_local3._prop == "__special_mc_ab__") {
_local3._propStart = new Color(_local3._targ).getTransform().ab;
} else if (_local3._prop == "__special_text_r__") {
_local3._propStart = _local3._targ.textColor >> 16;
} else if (_local3._prop == "__special_text_g__") {
_local3._propStart = (_local3._targ.textColor & 65280) >> 8;
} else if (_local3._prop == "__special_text_b__") {
_local3._propStart = _local3._targ.textColor & 255;
} else if (_local3._prop == "__special_sound_volume__") {
_local3._propStart = _local3._targ.getVolume();
} else if (_local3._prop == "__special_sound_pan__") {
_local3._propStart = _local3._targ.getPan();
} else if (_local3._prop == "__special_bst_t__") {
_local3._propStart = 0;
_local3._extras.__special_bst_ix__ = _local3._targ._x;
_local3._extras.__special_bst_iy__ = _local3._targ._y;
} else if (_local3._prop == "__special_blur_x__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurX;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_blur_y__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurY;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_glow_color__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].color;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 16777215 /* 0xFFFFFF */;
}
} else if (_local3._prop == "__special_glow_alpha__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].alpha;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_glow_blurX__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurX;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_glow_blurY__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurY;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_glow_strength__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) {
_local3._propStart = _local3._targ.filters[_local5].strength;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_bevel_distance__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].distance;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_angle__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].angle;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 45;
}
} else if (_local3._prop == "__special_bevel_highlightColor__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].highlightColor;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 16777215 /* 0xFFFFFF */;
}
} else if (_local3._prop == "__special_bevel_highlightAlpha__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].highlightAlpha;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_bevel_shadowColor__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].shadowColor;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_shadowAlpha__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].shadowAlpha;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else if (_local3._prop == "__special_bevel_blurX__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurX;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_blurY__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].blurY;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 0;
}
} else if (_local3._prop == "__special_bevel_strength__") {
var _local5 = 0;
while (_local5 < _local3._targ.filters.length) {
if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) {
_local3._propStart = _local3._targ.filters[_local5].strength;
}
_local5++;
}
if (_local3._propStart == undefined) {
_local3._propStart = 1;
}
} else {
_local3._propStart = _local3._targ[_local3._prop];
}
} else {
_local3._propStart = _local3._targ[_local3._prop];
}
}
var _local10 = _local3._timeDest + (_local3._delay * 1000);
if (_local10 <= _local8) {
var _local4 = _local3._propDest;
} else {
var _local4 = _global.findTweenValue(_local3._propStart, _local3._propDest, _local3._timeStart, _local8 - (_local3._delay * 1000), _local3._timeDest, _local3._animType, _local3._extra1, _local3._extra2);
}
_local3._targ[_local3._prop] = (_local3._extras.mustRound ? (Math.round(_local4)) : (_local4));
if (_local3._prop == "__special_mc_frame__") {
_local3._targ.gotoAndStop(Math.round(_local4));
} else if (_local3._prop == "__special_mc_ra__") {
new Color(_local3._targ).setTransform({ra:_local4});
} else if (_local3._prop == "__special_mc_rb__") {
new Color(_local3._targ).setTransform({rb:_local4});
} else if (_local3._prop == "__special_mc_ga__") {
new Color(_local3._targ).setTransform({ga:_local4});
} else if (_local3._prop == "__special_mc_gb__") {
new Color(_local3._targ).setTransform({gb:_local4});
} else if (_local3._prop == "__special_mc_ba__") {
new Color(_local3._targ).setTransform({ba:_local4});
} else if (_local3._prop == "__special_mc_bb__") {
new Color(_local3._targ).setTransform({bb:_local4});
} else if (_local3._prop == "__special_mc_aa__") {
new Color(_local3._targ).setTransform({aa:_local4});
} else if (_local3._prop == "__special_mc_ab__") {
new Color(_local3._targ).setTransform({ab:_local4});
}
if (_local3._prop == "__special_bst_t__") {
var _local7 = _local3._extras;
var _local9 = _global.findPointOnCurve(_local7.__special_bst_ix__, _local7.__special_bst_iy__, _local7.__special_bst_cx__, _local7.__special_bst_cy__, _local7.__special_bst_dx__, _local7.__special_bst_dy__, _local4);
if (_local3._extras.mustRound) {
_local3._targ._x = Math.round(_local9.x);
_local3._targ._y = Math.round(_local9.y);
} else {
_local3._targ._x = _local9.x;
_local3._targ._y = _local9.y;
}
}
if ((typeof(_local3._targ) != "movieclip") && (_local3._prop == "__special_text_b__")) {
_local3._targ.textColor = ((_local3._targ.__special_text_r__ << 16) + (_local3._targ.__special_text_g__ << 8)) + _local3._targ.__special_text_b__;
}
if (_local3._prop == "__special_sound_volume__") {
_local3._targ.setVolume(_local4);
}
if (_local3._prop == "__special_sound_pan__") {
_local3._targ.setPan(_local4);
}
if (_local3._prop == "__special_blur_x__") {
_global.$setFilterProperty(_local3._targ, "blur_blurX", _local4, _local3._extras);
}
if (_local3._prop == "__special_blur_y__") {
_global.$setFilterProperty(_local3._targ, "blur_blurY", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_color__") {
_global.$setFilterProperty(_local3._targ, "glow_color", _global.findTweenColor(_local3, _local8), _local3._extras);
}
if (_local3._prop == "__special_glow_alpha__") {
_global.$setFilterProperty(_local3._targ, "glow_alpha", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_blurX__") {
_global.$setFilterProperty(_local3._targ, "glow_blurX", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_blurY__") {
_global.$setFilterProperty(_local3._targ, "glow_blurY", _local4, _local3._extras);
}
if (_local3._prop == "__special_glow_strength__") {
_global.$setFilterProperty(_local3._targ, "glow_strength", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_distance__") {
_global.$setFilterProperty(_local3._targ, "bevel_distance", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_angle__") {
_global.$setFilterProperty(_local3._targ, "bevel_angle", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_highlightColor__") {
_global.$setFilterProperty(_local3._targ, "bevel_highlightColor", _global.findTweenColor(_local3, _local8), _local3._extras);
}
if (_local3._prop == "__special_bevel_highlightAlpha__") {
_global.$setFilterProperty(_local3._targ, "bevel_highlightAlpha", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_shadowColor__") {
_global.$setFilterProperty(_local3._targ, "bevel_shadowColor", _global.findTweenColor(_local3, _local8), _local3._extras);
}
if (_local3._prop == "__special_bevel_shadowAlpha__") {
_global.$setFilterProperty(_local3._targ, "bevel_shadowAlpha", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_blurX__") {
_global.$setFilterProperty(_local3._targ, "bevel_blurX", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_blurY__") {
_global.$setFilterProperty(_local3._targ, "bevel_blurY", _local4, _local3._extras);
}
if (_local3._prop == "__special_bevel_strength__") {
_global.$setFilterProperty(_local3._targ, "bevel_strength", _local4, _local3._extras);
}
if (_local3._targ.onTweenUpdate != undefined) {
_local3._targ.onTweenUpdate(_local3._prop);
}
if (_local10 <= _local8) {
if (_local3._targ.onTweenComplete != undefined) {
_local3._targ.onTweenComplete(_local3._prop);
}
_global.$stopTween(_local3._targ, [_local3._prop], false);
_local6--;
if (_local3._callback != undefined) {
if (_global.backwardCallbackTweening) {
var _local11 = _local3._targ.createEmptyMovieClip("__child__", 122344);
_local3._callback.apply(_local11, null);
_local11.removeMovieClip();
} else {
_local3._callback.apply(_local3._targ, null);
}
}
}
}
_local6++;
}
if (this.$_tweenPropList.length == 0) {
_global.$removeTweenController();
}
};
ASSetPropFlags(_global, "$updateTween", 1, 0);
_global.$stopTween = function (mtarget, props, wipeFuture) {
var _local4 = _root.__tweenController__.$_tweenPropList;
var _local7;
for (var _local9 in _local4) {
_local7 = _local4[_local9]._prop;
var _local5 = 0;
while ((_local5 < props.length) || ((_local5 < 1) && (props == undefined))) {
if (((_local4[_local9]._targ == mtarget) && ((_local7 == props[_local5]) || (props == undefined))) && (wipeFuture || ((_local4[_local9]._timeDest + (_local4[_local9]._delay * 1000)) <= getTimer()))) {
switch (_local7) {
case "__special_mc_frame__" :
case "__special_mc_ra__" :
case "__special_mc_rb__" :
case "__special_mc_ga__" :
case "__special_mc_gb__" :
case "__special_mc_ba__" :
case "__special_mc_bb__" :
case "__special_mc_aa__" :
case "__special_mc_ab__" :
case "__special_sound_volume__" :
case "__special_bst_t__" :
delete mtarget[_local7];
break;
case "__special_text_b__" :
delete mtarget.__special_text_r__;
delete mtarget.__special_text_g__;
delete mtarget.__special_text_b__;
}
_local4.splice(_local9, 1);
}
_local5++;
}
}
if (props == undefined) {
delete mtarget.$_tweenCount;
} else {
mtarget.$_tweenCount = 0;
for (var _local9 in _local4) {
if (_local4[_local9]._targ == mtarget) {
mtarget.$_tweenCount++;
}
}
if (mtarget.$_tweenCount == 0) {
delete mtarget.$_tweenCount;
}
}
if (_local4.length == 0) {
_global.$removeTweenController();
}
};
ASSetPropFlags(_global, "$stopTween", 1, 0);
_global.$setFilterProperty = function (mtarget, propName, propValue, extras) {
var _local1;
var _local7 = false;
var _local3 = [];
_local1 = 0;
while (_local1 < mtarget.filters.length) {
_local3.push(mtarget.filters[_local1]);
_local1++;
}
if (propName.substr(0, 5) == "blur_") {
_local1 = 0;
while (_local1 < mtarget.filters.length) {
if (_local3[_local1] instanceof flash.filters.BlurFilter) {
_local3[_local1][propName.substr(5)] = propValue;
if (extras.__special_blur_quality__ != undefined) {
_local3[_local1].quality = extras.__special_blur_quality__;
}
_local7 = true;
break;
}
_local1++;
}
if (!_local7) {
var _local9;
var _local8 = ((extras.__special_blur_quality__ == undefined) ? 2 : (extras.__special_blur_quality__));
if (propName == "blur_blurX") {
_local9 = new flash.filters.BlurFilter(propValue, 0, _local8);
}
if (propName == "blur_blurY") {
_local9 = new flash.filters.BlurFilter(0, propValue, _local8);
}
_local3.push(_local9);
}
} else if (propName.substr(0, 5) == "glow_") {
_local1 = 0;
while (_local1 < mtarget.filters.length) {
if (_local3[_local1] instanceof flash.filters.GlowFilter) {
_local3[_local1][propName.substr(5)] = propValue;
if (extras.__special_glow_quality__ != undefined) {
_local3[_local1].quality = extras.__special_glow_quality__;
}
if (extras.__special_glow_inner__ != undefined) {
_local3[_local1].inner = extras.__special_glow_inner__;
}
if (extras.__special_glow_knockout__ != undefined) {
_local3[_local1].knockout = extras.__special_glow_knockout__;
}
_local7 = true;
break;
}
_local1++;
}
if (!_local7) {
var _local8 = ((extras.__special_glow_quality__ == undefined) ? 2 : (extras.__special_glow_quality__));
var _local12 = ((extras.__special_glow_inner__ == undefined) ? false : (extras.__special_glow_inner__));
var _local10 = ((extras.__special_glow_knockout__ == undefined) ? false : (extras.__special_glow_knockout__));
if (propName == "glow_color") {
var _local9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, _local8, _local12, _local10);
}
if (propName == "glow_alpha") {
var _local9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, _local8, _local12, _local10);
}
if (propName == "glow_blurX") {
var _local9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, _local8, _local12, _local10);
}
if (propName == "glow_blurY") {
var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, _local8, _local12, _local10);
}
if (propName == "glow_strength") {
var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, _local8, _local12, _local10);
}
_local3.push(_local9);
}
} else if (propName.substr(0, 6) == "bevel_") {
_local1 = 0;
while (_local1 < mtarget.filters.length) {
if (_local3[_local1] instanceof flash.filters.BevelFilter) {
_local3[_local1][propName.substr(6)] = propValue;
if (extras.__special_bevel_quality__ != undefined) {
_local3[_local1].quality = extras.__special_bevel_quality__;
}
if (extras.__special_bevel_type__ != undefined) {
_local3[_local1].inner = extras.__special_bevel_type__;
}
if (extras.__special_bevel_knockout__ != undefined) {
_local3[_local1].knockout = extras.__special_bevel_knockout__;
}
_local7 = true;
break;
}
_local1++;
}
if (!_local7) {
var _local8 = ((extras.__special_bevel_quality__ == undefined) ? 2 : (extras.__special_bevel_quality__));
var _local11 = ((extras.__special_bevel_type__ == undefined) ? "inner" : (extras.__special_bevel_type__));
var _local10 = ((extras.__special_bevel_knockout__ == undefined) ? false : (extras.__special_bevel_knockout__));
if (propName == "bevel_distance") {
var _local9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_angle") {
var _local9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_highlightColor") {
var _local9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_highlightAlpha") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_shadowColor") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_shadowAlpha") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_blurX") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, _local8, _local11, _local10);
}
if (propName == "bevel_blurY") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, _local8, _local11, _local10);
}
if (propName == "bevel_strength") {
var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, _local8, _local11, _local10);
}
_local3.push(_local9);
}
} else {
return(undefined);
}
mtarget.filters = _local3;
};
MovieClip.prototype.tween = (TextField.prototype.tween = (Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2);
}));
ASSetPropFlags(MovieClip.prototype, "tween", 1, 0);
ASSetPropFlags(TextField.prototype, "tween", 1, 0);
ASSetPropFlags(Sound.prototype, "tween", 1, 0);
MovieClip.prototype.roundedTween = (TextField.prototype.roundedTween = (Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
}));
ASSetPropFlags(MovieClip.prototype, "roundedTween", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedTween", 1, 0);
ASSetPropFlags(Sound.prototype, "roundedTween", 1, 0);
MovieClip.prototype.stopTween = (TextField.prototype.stopTween = (Sound.prototype.stopTween = function (props) {
if (typeof(props) == "string") {
props = [props];
}
if (props != undefined) {
var _local4 = 1;
while (_local4 < arguments.length) {
props.push(arguments[_local4]);
_local4++;
}
}
_global.$stopTween(this, props, true);
}));
ASSetPropFlags(MovieClip.prototype, "stopTween", 1, 0);
ASSetPropFlags(TextField.prototype, "stopTween", 1, 0);
ASSetPropFlags(Sound.prototype, "stopTween", 1, 0);
MovieClip.prototype.pauseTween = (TextField.prototype.pauseTween = (Sound.prototype.pauseTween = function (props) {
if (props != undefined) {
if (typeof(props) == "string") {
props = [props];
}
var _local6 = 1;
while (_local6 < Arguments.length) {
props.push(Arguments[_local6]);
_local6++;
}
}
var _local4 = _root.__tweenController__.$_tweenPropList;
var _local5;
for (var _local7 in _local4) {
if ((_local4[_local7]._targ == this) && (!_local4[_local7]._isPaused)) {
if (props != undefined) {
_local5 = false;
for (var _local6 in props) {
if (props[_local6] == _local4[_local7]._prop) {
_local5 = true;
break;
}
}
}
if ((props == undefined) || (_local5)) {
_local4[_local7]._isPaused = true;
_local4[_local7]._timePaused = _root.__tweenController__.$_tTime;
}
}
}
}));
ASSetPropFlags(MovieClip.prototype, "pauseTween", 1, 0);
ASSetPropFlags(TextField.prototype, "pauseTween", 1, 0);
ASSetPropFlags(Sound.prototype, "pauseTween", 1, 0);
MovieClip.prototype.resumeTween = (TextField.prototype.resumeTween = (Sound.prototype.resumeTween = function (props) {
if (props != undefined) {
if (typeof(props) == "string") {
props = [props];
}
var _local7 = 1;
while (_local7 < Arguments.length) {
props.push(Arguments[_local7]);
_local7++;
}
}
var _local3 = _root.__tweenController__.$_tweenPropList;
var _local5;
var _local6;
for (var _local8 in _local3) {
if ((_local3[_local8]._targ == this) && (_local3[_local8]._isPaused)) {
if (props != undefined) {
_local5 = false;
for (var _local7 in props) {
if (props[_local7] == _local3[_local8]._prop) {
_local5 = true;
break;
}
}
}
if ((props == undefined) || (_local5)) {
_local3[_local8]._isPaused = false;
_local6 = _root.__tweenController__.$_tTime - _local3[_local8]._timePaused;
_local3[_local8]._timeStart = _local3[_local8]._timeStart + _local6;
_local3[_local8]._timeDest = _local3[_local8]._timeDest + _local6;
_local3[_local8]._timePaused = 0;
}
}
}
}));
ASSetPropFlags(MovieClip.prototype, "resumeTween", 1, 0);
ASSetPropFlags(TextField.prototype, "resumeTween", 1, 0);
ASSetPropFlags(Sound.prototype, "resumeTween", 1, 0);
MovieClip.prototype.lockTween = (TextField.prototype.lockTween = (Sound.prototype.lockTween = function () {
this.$_isTweenLocked = true;
ASSetPropFlags(this, "this.$_isTweenLocked", 1, 0);
}));
ASSetPropFlags(MovieClip.prototype, "lockTween", 1, 0);
ASSetPropFlags(TextField.prototype, "lockTween", 1, 0);
ASSetPropFlags(Sound.prototype, "lockTween", 1, 0);
MovieClip.prototype.unlockTween = (TextField.prototype.unlockTween = (Sound.prototype.unlockTween = function () {
delete this.$_isTweenLocked;
}));
ASSetPropFlags(MovieClip.prototype, "unlockTween", 1, 0);
ASSetPropFlags(TextField.prototype, "unlockTween", 1, 0);
ASSetPropFlags(Sound.prototype, "unlockTween", 1, 0);
MovieClip.prototype.getTweens = (TextField.prototype.getTweens = (Sound.prototype.getTweens = function () {
return(this.$_tweenCount);
}));
ASSetPropFlags(MovieClip.prototype, "getTweens", 1, 0);
ASSetPropFlags(TextField.prototype, "getTweens", 1, 0);
ASSetPropFlags(Sound.prototype, "getTweens", 1, 0);
MovieClip.prototype.isTweening = (TextField.prototype.isTweening = (Sound.prototype.isTweening = function () {
return(((this.$_tweenCount > 0) ? true : false));
}));
ASSetPropFlags(MovieClip.prototype, "isTweening", 1, 0);
ASSetPropFlags(TextField.prototype, "isTweening", 1, 0);
ASSetPropFlags(Sound.prototype, "isTweening", 1, 0);
MovieClip.prototype.alphaTo = (TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_alpha", propDest_a, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "alphaTo", 1, 0);
ASSetPropFlags(TextField.prototype, "alphaTo", 1, 0);
MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_mc_frame__", propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(MovieClip.prototype, "frameTo", 1, 0);
MovieClip.prototype.resizeTo = (TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_width", "_height"], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "resizeTo", 1, 0);
ASSetPropFlags(TextField.prototype, "resizeTo", 1, 0);
MovieClip.prototype.rotateTo = (TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_rotation", propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "rotateTo", 1, 0);
ASSetPropFlags(TextField.prototype, "rotateTo", 1, 0);
MovieClip.prototype.scaleTo = (TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_xscale", "_yscale"], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "scaleTo", 1, 0);
ASSetPropFlags(TextField.prototype, "scaleTo", 1, 0);
MovieClip.prototype.xScaleTo = (TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_xscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "xScaleTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xScaleTo", 1, 0);
MovieClip.prototype.yScaleTo = (TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_yscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "yScaleTo", 1, 0);
ASSetPropFlags(TextField.prototype, "yScaleTo", 1, 0);
TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "scroll", propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(TextField.prototype, "scrollTo", 1, 0);
MovieClip.prototype.slideTo = (TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "slideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "slideTo", 1, 0);
MovieClip.prototype.roundedSlideTo = (TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
});
ASSetPropFlags(MovieClip.prototype, "roundedSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedSlideTo", 1, 0);
MovieClip.prototype.xSlideTo = (TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "xSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xSlideTo", 1, 0);
MovieClip.prototype.roundedXSlideTo = (TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
});
ASSetPropFlags(MovieClip.prototype, "roundedXSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedXSlideTo", 1, 0);
MovieClip.prototype.ySlideTo = (TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2);
});
ASSetPropFlags(MovieClip.prototype, "ySlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "ySlideTo", 1, 0);
MovieClip.prototype.roundedYSlideTo = (TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true});
});
ASSetPropFlags(MovieClip.prototype, "roundedYSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedYSlideTo", 1, 0);
MovieClip.prototype.bezierSlideTo = (TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = new Object();
_local3.__special_bst_ix__ = undefined;
_local3.__special_bst_iy__ = undefined;
_local3.__special_bst_cx__ = cpoint_x;
_local3.__special_bst_cy__ = cpoint_y;
_local3.__special_bst_dx__ = propDest_x;
_local3.__special_bst_dy__ = propDest_y;
_global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3);
});
ASSetPropFlags(MovieClip.prototype, "bezierSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "bezierSlideTo", 1, 0);
MovieClip.prototype.roundedBezierSlideTo = (TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = new Object();
_local3.__special_bst_ix__ = undefined;
_local3.__special_bst_iy__ = undefined;
_local3.__special_bst_cx__ = cpoint_x;
_local3.__special_bst_cy__ = cpoint_y;
_local3.__special_bst_dx__ = propDest_x;
_local3.__special_bst_dy__ = propDest_y;
_local3.mustRound = true;
_global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3);
});
ASSetPropFlags(MovieClip.prototype, "roundedBezierSlideTo", 1, 0);
ASSetPropFlags(TextField.prototype, "roundedBezierSlideTo", 1, 0);
Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_sound_volume__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Sound.prototype, "volumeTo", 1, 0);
Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_sound_pan__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Sound.prototype, "panTo", 1, 0);
MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) {
if (propDest_color == null) {
this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2);
} else {
var _local3 = propDest_color >> 16;
var _local5 = (propDest_color & 65280) >> 8;
var _local4 = propDest_color & 255;
this.colorTransformTo(0, _local3, 0, _local5, 0, _local4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2);
}
};
ASSetPropFlags(MovieClip.prototype, "colorTo", 1, 0);
TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = propDest_color >> 16;
var _local6 = (propDest_color & 65280) >> 8;
var _local4 = propDest_color & 255;
_global.$addTween(this, ["__special_text_r__", "__special_text_g__", "__special_text_b__"], [_local3, _local6, _local4], timeSeconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(TextField.prototype, "colorTo", 1, 0);
MovieClip.prototype.colorTransformTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]);
} else {
_global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]);
}
};
ASSetPropFlags(MovieClip.prototype, "colorTransformTo", 1, 0);
MovieClip.prototype.blurTo = (TextField.prototype.blurTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_blur_quality__:arguments[0].quality});
} else {
_global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {__special_blur_quality__:arguments[1]});
}
});
ASSetPropFlags(MovieClip.prototype, "blurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "blurTo", 1, 0);
MovieClip.prototype.xyBlurTo = (TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality});
});
ASSetPropFlags(MovieClip.prototype, "xyBlurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xyBlurTo", 1, 0);
MovieClip.prototype.xBlurTo = (TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_blur_x__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality});
});
ASSetPropFlags(MovieClip.prototype, "xBlurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xBlurTo", 1, 0);
MovieClip.prototype.yBlurTo = (TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, "__special_blur_y__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality});
});
ASSetPropFlags(MovieClip.prototype, "yBlurTo", 1, 0);
ASSetPropFlags(TextField.prototype, "yBlurTo", 1, 0);
MovieClip.prototype.glowTo = (TextField.prototype.glowTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_glow_quality__:arguments[0].quality, __special_glow_inner__:arguments[0].inner, __special_glow_knockout__:arguments[0].knockout});
} else {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {__special_glow_quality__:arguments[4], __special_glow_inner__:arguments[5], __special_glow_knockout__:arguments[6]});
}
});
ASSetPropFlags(MovieClip.prototype, "glowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "glowTo", 1, 0);
MovieClip.prototype.xyGlowTo = (TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "xyGlowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xyGlowTo", 1, 0);
MovieClip.prototype.xGlowTo = (TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "xGlowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xGlowTo", 1, 0);
MovieClip.prototype.yGlowTo = (TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "yGlowTo", 1, 0);
ASSetPropFlags(TextField.prototype, "yGlowTo", 1, 0);
MovieClip.prototype.bevelTo = (TextField.prototype.bevelTo = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) {
_global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_bevel_quality__:arguments[0].quality, __special_bevel_type__:arguments[0].type, __special_bevel_knockout__:arguments[0].knockout});
} else {
_global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {__special_bevel_quality__:arguments[8], __special_bevel_type__:arguments[9], __special_bevel_knockout__:arguments[10]});
}
});
ASSetPropFlags(MovieClip.prototype, "bevelTo", 1, 0);
ASSetPropFlags(TextField.prototype, "bevelTo", 1, 0);
MovieClip.prototype.xyBevelTo = (TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) {
_global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_blurY__", "__special_bevel_strength__"], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_bevel_quality__:quality, __special_bevel_type__:type, __special_bevel_knockout__:knockout});
});
ASSetPropFlags(MovieClip.prototype, "xyBevelTo", 1, 0);
ASSetPropFlags(TextField.prototype, "xyBevelTo", 1, 0);
_global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) {
return({x:p1x + (t * (((2 * (1 - t)) * (cx - p1x)) + (t * (p2x - p1x)))), y:p1y + (t * (((2 * (1 - t)) * (cy - p1y)) + (t * (p2y - p1y))))});
};
ASSetPropFlags(_global, "findPointOnCurve", 1, 0);
_global.findTweenColor = function (objProp, tTime) {
var _local8 = objProp._propStart >> 16;
var _local4 = objProp._propDest >> 16;
var _local5 = (objProp._propStart >> 8) & 255;
var _local6 = (objProp._propDest >> 8) & 255;
var _local9 = objProp._propStart & 255;
var _local7 = objProp._propDest & 255;
var _local12 = Math.round(_global.findTweenValue(_local8, _local4, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2));
var _local10 = Math.round(_global.findTweenValue(_local5, _local6, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2));
var _local3 = Math.round(_global.findTweenValue(_local9, _local7, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2));
return(((_local12 << 16) + (_local10 << 8)) + _local3);
};
_global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) {
var _local1 = _timeNow - _timeStart;
var _local4 = _propStart;
var _local2 = _propDest - _propStart;
var _local3 = _timeDest - _timeStart;
var _local6 = _extra1;
var _local7 = _extra2;
var _local5 = _extra1;
switch (_animType.toLowerCase()) {
case "linear" :
return(((_local2 * _local1) / _local3) + _local4);
case "easeinquad" :
_local1 = _local1 / _local3;
return(((_local2 * _local1) * _local1) + _local4);
case "easeoutquad" :
_local1 = _local1 / _local3;
return((((-_local2) * _local1) * (_local1 - 2)) + _local4);
case "easeinoutquad" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return((((_local2 / 2) * _local1) * _local1) + _local4);
}
_local1--;
return((((-_local2) / 2) * ((_local1 * (_local1 - 2)) - 1)) + _local4);
case "easeoutinquad" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuad") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuad") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeincubic" :
_local1 = _local1 / _local3;
return((((_local2 * _local1) * _local1) * _local1) + _local4);
case "easeoutcubic" :
_local1 = (_local1 / _local3) - 1;
return((_local2 * (((_local1 * _local1) * _local1) + 1)) + _local4);
case "easeinoutcubic" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((((_local2 / 2) * _local1) * _local1) * _local1) + _local4);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (((_local1 * _local1) * _local1) + 2)) + _local4);
case "easeoutincubic" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCubic") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCubic") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinquart" :
_local1 = _local1 / _local3;
return(((((_local2 * _local1) * _local1) * _local1) * _local1) + _local4);
case "easeoutquart" :
_local1 = (_local1 / _local3) - 1;
return(((-_local2) * ((((_local1 * _local1) * _local1) * _local1) - 1)) + _local4);
case "easeinoutquart" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) + _local4);
}
_local1 = _local1 - 2;
return((((-_local2) / 2) * ((((_local1 * _local1) * _local1) * _local1) - 2)) + _local4);
case "easeoutinquart" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuart") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuart") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinquint" :
_local1 = _local1 / _local3;
return((((((_local2 * _local1) * _local1) * _local1) * _local1) * _local1) + _local4);
case "easeoutquint" :
_local1 = (_local1 / _local3) - 1;
return((_local2 * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 1)) + _local4);
case "easeinoutquint" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) * _local1) + _local4);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 2)) + _local4);
case "easeoutinquint" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuint") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuint") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinsine" :
return((((-_local2) * Math.cos((_local1 / _local3) * (Math.PI/2))) + _local2) + _local4);
case "easeoutsine" :
return((_local2 * Math.sin((_local1 / _local3) * (Math.PI/2))) + _local4);
case "easeinoutsine" :
return((((-_local2) / 2) * (Math.cos((Math.PI * _local1) / _local3) - 1)) + _local4);
case "easeoutinsine" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutSine") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInSine") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinexpo" :
return(((_local1 == 0) ? (_local4) : ((_local2 * Math.pow(2, 10 * ((_local1 / _local3) - 1))) + _local4)));
case "easeoutexpo" :
return(((_local1 == _local3) ? (_local4 + _local2) : ((_local2 * ((-Math.pow(2, (-10 * _local1) / _local3)) + 1)) + _local4)));
case "easeinoutexpo" :
if (_local1 == 0) {
return(_local4);
}
if (_local1 == _local3) {
return(_local4 + _local2);
}
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((_local2 / 2) * Math.pow(2, 10 * (_local1 - 1))) + _local4);
}
_local1--;
return(((_local2 / 2) * ((-Math.pow(2, -10 * _local1)) + 2)) + _local4);
case "easeoutinexpo" :
if (_local1 == 0) {
return(_local4);
}
if (_local1 == _local3) {
return(_local4 + _local2);
}
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return(((_local2 / 2) * ((-Math.pow(2, (-10 * _local1) / 1)) + 1)) + _local4);
}
return(((_local2 / 2) * (Math.pow(2, (10 * (_local1 - 2)) / 1) + 1)) + _local4);
case "easeincirc" :
_local1 = _local1 / _local3;
return(((-_local2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4);
case "easeoutcirc" :
_local1 = (_local1 / _local3) - 1;
return((_local2 * Math.sqrt(1 - (_local1 * _local1))) + _local4);
case "easeinoutcirc" :
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
return((((-_local2) / 2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (Math.sqrt(1 - (_local1 * _local1)) + 1)) + _local4);
case "easeoutincirc" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCirc") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCirc") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinelastic" :
if (_local1 == 0) {
return(_local4);
}
_local1 = _local1 / _local3;
if (_local1 == 1) {
return(_local4 + _local2);
}
if (!_local7) {
_local7 = _local3 * 0.3;
}
if ((!_local6) || (_local6 < Math.abs(_local2))) {
_local6 = _local2;
_local5 = _local7 / 4;
} else {
_local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6);
}
_local1 = _local1 - 1;
return((-((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4);
case "easeoutelastic" :
if (_local1 == 0) {
return(_local4);
}
_local1 = _local1 / _local3;
if (_local1 == 1) {
return(_local4 + _local2);
}
if (!_local7) {
_local7 = _local3 * 0.3;
}
if ((!_local6) || (_local6 < Math.abs(_local2))) {
_local6 = _local2;
_local5 = _local7 / 4;
} else {
_local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6);
}
return((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) + _local2) + _local4);
case "easeinoutelastic" :
if (_local1 == 0) {
return(_local4);
}
_local1 = _local1 / (_local3 / 2);
if (_local1 == 2) {
return(_local4 + _local2);
}
if (!_local7) {
_local7 = _local3 * 0.45;
}
if ((!_local6) || (_local6 < Math.abs(_local2))) {
_local6 = _local2;
_local5 = _local7 / 4;
} else {
_local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6);
}
if (_local1 < 1) {
_local1 = _local1 - 1;
return((-0.5 * ((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4);
}
_local1 = _local1 - 1;
return(((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) * 0.5) + _local2) + _local4);
case "easeoutinelastic" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutElastic") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInElastic") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinback" :
if (_local5 == undefined) {
_local5 = 1.70158;
}
_local1 = _local1 / _local3;
return((((_local2 * _local1) * _local1) * (((_local5 + 1) * _local1) - _local5)) + _local4);
case "easeoutback" :
if (_local5 == undefined) {
_local5 = 1.70158;
}
_local1 = (_local1 / _local3) - 1;
return((_local2 * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 1)) + _local4);
case "easeinoutback" :
if (_local5 == undefined) {
_local5 = 1.70158;
}
_local1 = _local1 / (_local3 / 2);
if (_local1 < 1) {
_local5 = _local5 * 1.525;
return(((_local2 / 2) * ((_local1 * _local1) * (((_local5 + 1) * _local1) - _local5))) + _local4);
}
_local1 = _local1 - 2;
_local5 = _local5 * 1.525;
return(((_local2 / 2) * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 2)) + _local4);
case "easeoutinback" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBack") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBack") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeinbounce" :
return((_local2 - findTweenValue(0, _local2, 0, _local3 - _local1, _local3, "easeOutBounce")) + _local4);
case "easeoutbounce" :
_local1 = _local1 / _local3;
if (_local1 < 0.363636363636364) {
return((_local2 * ((7.5625 * _local1) * _local1)) + _local4);
}
if (_local1 < 0.727272727272727) {
_local1 = _local1 - 0.545454545454545;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.75)) + _local4);
}
if (_local1 < 0.909090909090909) {
_local1 = _local1 - 0.818181818181818;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.9375)) + _local4);
}
_local1 = _local1 - 0.954545454545455;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.984375)) + _local4);
case "easeinoutbounce" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeInBounce") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeOutBounce") * 0.5) + (_local2 * 0.5)) + _local4);
case "easeoutinbounce" :
if (_local1 < (_local3 / 2)) {
return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBounce") * 0.5) + _local4);
}
return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBounce") * 0.5) + (_local2 * 0.5)) + _local4);
}
trace(("MC TWEEN ### Error on transition: there's no \"" + _animType) + "\" animation type.");
return(0);
};
ASSetPropFlags(_global, "findTweenValue", 1, 0);
var moving;
var firstTurn;
var uncleCanSee;
var photoTake;
var feeding;
var girlHunger = 300;
var time;
var timerTime;
var caught;
var timer;
var ptimer;
var timerMain;
var caught;
var utimer;
var dir;
var walk;
timerFn = function () {
timerTime++;
timer.gotoAndStop(timerTime);
if (timerTime > 119) {
clearInterval(timerMain);
clearInterval(ptimer);
clearInterval(utimer);
_global.snd3.stop();
_root.gotoAndStop("gameOver1");
}
};
takePic = function () {
clearInterval(ptimer);
photoGrapher.gotoAndPlay("action");
time = Math.floor(Math.random() * 6) + 5;
ptimer = setInterval(this, "takePic", time * 1000);
};
uncleSee2 = function () {
clearInterval(utimer);
trace("2");
uncle.gotoAndPlay("see");
time = Math.floor(Math.random() * 6) + 5;
utimer = setInterval(this, "uncleSee", time * 1000);
};
uncleSee = function () {
clearInterval(utimer);
if ((uncle._x <= 0) || (uncle._x >= 800)) {
time = Math.floor(Math.random() * 6) + 5;
utimer = setInterval(this, "uncleSee", time * 1000);
return(undefined);
}
uncle.gotoAndStop("stop");
utimer = setInterval(this, "uncleSee2", 500);
};
init = function () {
clearInterval(timerMain);
clearInterval(ptimer);
clearInterval(utimer);
trace("CHANDAN");
dir = 1;
uncle._xscale = uncle._xscale * -1;
uncle._x = 800;
caught = 0;
timerTime = 0;
walk = true;
timerMain = setInterval(this, "timerFn", 900);
utimer = setInterval(this, "uncleSee", 5000);
ptimer = setInterval(this, "takePic", 6000);
};
couple.onPress = function () {
couple.gotoAndPlay("action");
};
couple.onRelease = function () {
couple.gotoAndPlay("idle");
};
couple.onReleaseOutside = function () {
couple.gotoAndPlay("idle");
};
this.onEnterFrame = function () {
if (_global.lvl < 7) {
init();
_global.lvl = 7;
}
if ((uncle._x <= 0) || (uncle._x >= 800)) {
dir = dir * -1;
uncle._xscale = uncle._xscale * -1;
}
if (walk) {
uncle._x = uncle._x + (dir * 5);
}
if ((uncleCanSee || (photoTake)) && (feeding)) {
feeding = false;
couple.gotoAndPlay(1);
caught++;
if (caught == 1) {
ladu1._visible = false;
} else if (caught == 2) {
ladu2._visible = false;
} else if (caught == 3) {
ladu3._visible = false;
clearInterval(timerMain);
clearInterval(ptimer);
clearInterval(utimer);
_global.snd3.stop();
_root.gotoAndStop("gameOver1");
}
}
ladu.gotoAndStop("ladu" + Math.floor((300 - girlHunger) / 30));
if (girlHunger < 2) {
clearInterval(timerMain);
clearInterval(ptimer);
clearInterval(utimer);
_global.score = _global.score + (((3 - caught) * 50) * (120 - timerTime));
lvl7 = true;
_global.snd3.stop();
_root.gotoAndStop("gameWon");
}
};
stop();
Frame 54
stop();
btnPlayAgain.onRelease = function () {
_global.score = 0;
_global.lvl = 0;
_global.snd3.start(0, 999);
_root.gotoAndStop("lblgame");
};
btnSubmit.onRelease = function () {
_root.gotoAndStop("submit");
};
this.onEnterFrame = function () {
txtScore.text = _global.score;
};
Frame 55
this.onEnterFrame = function () {
txtScore.text = _global.score;
};
btnPlayAgain.onRelease = function () {
str = ("lvl" + _global.lvl) + "intro";
if ((_global.lvl == 7) && (lvl7)) {
_global.lvl = 0;
_global.score = 0;
_global.snd3.start(0, 999);
str = "lblgame";
mystr = (("lvl|" + _global.lvl) + "|score|") + _global.score;
_root._playAgain(_root, str, mystr);
} else {
_global.lvl--;
mystr = "lvl|" + _global.lvl;
_root._playAgain(_root, str, mystr);
}
};
btnSubmit.onRelease = function () {
_root.gotoAndStop("submit");
};
Frame 56
this.onEnterFrame = function () {
txtScore.text = _global.score;
};
btnPlayAgain.onRelease = function () {
str = ("lvl" + _global.lvl) + "intro";
_global.lvl--;
mystr = "lvl|" + _global.lvl;
_root._playAgain(_root, str, mystr);
};
btnSubmit.onRelease = function () {
trace((((_global.score + " ") + _root._gameid) + " ") + _root.uname);
_root.dataSubmit(_root.uname, _global.score, _root._gameid, _root, "submit", "connecting", "highScores");
};
win = false;
username_txt.onSetFocus = function () {
if (username_txt.text == "Invalid Nickname!") {
username_txt.text = "";
}
};
Selection.setFocus("username_txt");
Frame 57
this.onEnterFrame = function () {
txtScore.text = _global.score;
};
btnPlayAgain.onRelease = function () {
str = ("lvl" + _global.lvl) + "intro";
if ((_global.lvl == 7) && (lvl7)) {
_global.lvl = 0;
_global.score = 0;
_global.snd3.start(0, 999);
str = "lblgame";
mystr = (("lvl|" + _global.lvl) + "|score|") + _global.score;
_root._playAgain(_root, str, mystr);
} else {
_global.lvl--;
str = "lblgame";
mystr = "lvl|" + _global.lvl;
_root._playAgain(_root, str, mystr);
}
};
btnSubmit.onRelease = function () {
trace((((_global.score + " ") + _root._gameid) + " ") + _root.uname);
_root.dataSubmit(_root.uname, _global.score, _root._gameid, _root, "submit", "connecting", "highScores");
};
win = true;
username_txt.onSetFocus = function () {
if (username_txt.text == "Invalid Nickname!") {
username_txt.text = "";
}
};
Selection.setFocus("username_txt");
Frame 58
stop();
btnCancel.onRelease = function () {
if (win == false) {
_root.cancelCon = true;
_root.cancelSubmit(_root, "gameOver1");
} else {
_root.cancelCon = true;
_root.cancelSubmit(_root, "submit");
}
};
Frame 59
btnPlayAgain.onRelease = function () {
_global.lvl = 0;
_global.score = 0;
str = "lblgame";
_global.snd3.start(0, 999);
mystr = (("lvl|" + _global.lvl) + "|score|") + _global.score;
_root._playAgain(_root, str, mystr);
};
stop();
Symbol 19 MovieClip [sprite2] Frame 3
this.gotoAndPlay("idle");
Symbol 19 MovieClip [sprite2] Frame 7
this.onRelease = function () {
if ((_root.bar2._currentframe - 50) < 1) {
_root.bar2.gotoAndPlay(1);
}
_root.bar2.gotoAndPlay(_root.bar2._currentframe - 50);
trace(_root.bar2._currentframe);
};
Symbol 19 MovieClip [sprite2] Frame 29
this.gotoAndPlay("dance");
Symbol 25 MovieClip Frame 121
stop();
_root.gotoAndStop("loading");
Symbol 56 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 61 MovieClip Frame 1
stop();
Symbol 103 Button
on (release) {
gotoAndStop (2);
}
Symbol 105 Button
on (release) {
gotoAndStop (1);
}
Symbol 106 MovieClip Frame 1
stop();
_root.allSounds.setVolume(100);
_global.snd1.setVolume(100);
_global.snd2.setVolume(100);
_global.snd3.setVolume(100);
_root.so_sound = 1;
Symbol 106 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
_global.snd1.setVolume(0);
_global.snd2.setVolume(0);
_global.snd3.setVolume(0);
_root.so_sound = 0;
Instance of Symbol 106 MovieClip in Symbol 365 MovieClip Frame 1
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Instance of Symbol 106 MovieClip in Symbol 366 MovieClip Frame 1
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Symbol 366 MovieClip Frame 270
_root.gotoAndStop("lblGame");
Symbol 406 MovieClip Frame 2
this.gotoAndPlay("idle");
Symbol 406 MovieClip Frame 70
this.gotoAndPlay("action");
Symbol 407 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 407 MovieClip Frame 19
this.gotoAndPlay("action");
Symbol 412 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 412 MovieClip Frame 68
this.gotoAndPlay("action");
Symbol 416 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 4
this.gotoAndPlay("idle");
Symbol 420 MovieClip Frame 65
this.gotoAndPlay("action");
Symbol 425 MovieClip Frame 122
this.gotoAndPlay("idle");
Symbol 425 MovieClip Frame 228
this.gotoAndPlay("sad");
Symbol 425 MovieClip Frame 316
this.gotoAndPlay("nervous");
Symbol 425 MovieClip Frame 423
this.gotoAndPlay("happy");
Symbol 428 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 432 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 440 MovieClip Frame 14
this.gotoAndPlay("idle");
Symbol 442 MovieClip Frame 96
this.gotoAndPlay("idle");
Symbol 442 MovieClip Frame 158
this.gotoAndPlay("happy");
Symbol 442 MovieClip Frame 246
this.gotoAndPlay("nervous");
Symbol 442 MovieClip Frame 293
this.gotoAndPlay("sad");
Symbol 591 MovieClip Frame 1
var id;
var xpos;
var ypos;
this.onRelease = function () {
_root.boy.gotoAndStop(id);
_root.boyId = id;
if (id == "set2") {
_root.boySet = true;
_root.boyDad.gotoAndPlay("good");
} else {
_root.boySet = false;
_root.boyDad.gotoAndPlay("bad");
}
};
Symbol 602 MovieClip Frame 1
var id;
var xpos;
var ypos;
this.onRelease = function () {
_root.girl.gotoAndStop(id);
_root.girlId = id;
if (id == "dress3") {
_root.girlDress = true;
_root.girlMom.gotoAndPlay("good");
} else {
_root.girlDress = false;
_root.girlMom.gotoAndPlay("bad");
}
};
stop();
Symbol 602 MovieClip Frame 2
stop();
Symbol 602 MovieClip Frame 3
stop();
Symbol 602 MovieClip Frame 4
stop();
Symbol 602 MovieClip Frame 5
stop();
Symbol 602 MovieClip Frame 6
stop();
Symbol 602 MovieClip Frame 7
stop();
Symbol 629 MovieClip Frame 66
this.gotoAndPlay("idle");
Symbol 629 MovieClip Frame 191
this.gotoAndPlay("idle");
Symbol 629 MovieClip Frame 289
this.gotoAndPlay("idle");
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
stop();
Symbol 636 MovieClip Frame 3
stop();
Symbol 636 MovieClip Frame 4
stop();
Symbol 636 MovieClip Frame 5
stop();
Symbol 636 MovieClip Frame 6
stop();
Symbol 650 MovieClip Frame 26
this.gotoAndPlay("idle");
Symbol 650 MovieClip Frame 57
this.gotoAndPlay("idle");
Symbol 650 MovieClip Frame 110
this.gotoAndPlay("idle");
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 2
stop();
Symbol 659 MovieClip Frame 3
stop();
Symbol 659 MovieClip Frame 4
stop();
Symbol 659 MovieClip Frame 5
stop();
Symbol 659 MovieClip Frame 6
stop();
Symbol 659 MovieClip Frame 7
stop();
Symbol 659 MovieClip Frame 8
stop();
Symbol 717 MovieClip Frame 1
stop();
Symbol 717 MovieClip Frame 31
stop();
Symbol 722 MovieClip Frame 1
id = 1;
stop();
Symbol 722 MovieClip Frame 2
stop();
Symbol 722 MovieClip Frame 3
stop();
Symbol 725 MovieClip Frame 1
id = 2;
stop();
Symbol 725 MovieClip Frame 2
stop();
Symbol 725 MovieClip Frame 3
stop();
Symbol 728 MovieClip Frame 1
id = 3;
stop();
Symbol 728 MovieClip Frame 2
stop();
Symbol 728 MovieClip Frame 3
stop();
Symbol 731 MovieClip Frame 1
id = 4;
stop();
Symbol 731 MovieClip Frame 2
stop();
Symbol 731 MovieClip Frame 3
stop();
Symbol 734 MovieClip Frame 1
id = 5;
stop();
Symbol 734 MovieClip Frame 2
stop();
Symbol 734 MovieClip Frame 3
stop();
Symbol 737 MovieClip Frame 1
id = 6;
stop();
Symbol 737 MovieClip Frame 2
stop();
Symbol 737 MovieClip Frame 3
stop();
Symbol 740 MovieClip Frame 1
id = 7;
stop();
Symbol 740 MovieClip Frame 2
stop();
Symbol 740 MovieClip Frame 3
stop();
Symbol 743 MovieClip Frame 1
id = 8;
stop();
Symbol 743 MovieClip Frame 2
stop();
Symbol 743 MovieClip Frame 3
stop();
Symbol 753 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 67
_global.score = _global.score + 5000;
_global.snd1.stop();
_root.gotoAndStop("lblScore");
Symbol 779 MovieClip Frame 2
this.gotoAndPlay("idle");
Symbol 779 MovieClip Frame 4
this.onRelease = function () {
if ((_root.bar4._currentframe - 50) < 1) {
_root.bar4.gotoAndPlay(1);
}
_root.bar4.gotoAndPlay(_root.bar4._currentframe - 50);
trace(_root.bar4._currentframe);
};
Symbol 779 MovieClip Frame 23
this.gotoAndPlay("dance");
Symbol 803 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 803 MovieClip Frame 6
this.onRelease = function () {
if ((_root.bar6._currentframe - 50) < 1) {
_root.bar6.gotoAndPlay(1);
}
_root.bar6.gotoAndPlay(_root.bar6._currentframe - 50);
trace(_root.bar6._currentframe);
};
Symbol 803 MovieClip Frame 39
this.gotoAndPlay("dance");
Symbol 817 MovieClip Frame 4
this.gotoAndPlay("idle");
Symbol 817 MovieClip Frame 7
this.onRelease = function () {
if ((_root.bar5._currentframe - 50) < 1) {
_root.bar5.gotoAndPlay(1);
}
_root.bar5.gotoAndPlay(_root.bar5._currentframe - 50);
trace(_root.bar5._currentframe);
};
Symbol 817 MovieClip Frame 48
this.gotoAndPlay("dance");
Symbol 858 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 6
this.onRelease = function () {
if ((_root.bar7._currentframe - 50) < 1) {
_root.bar7.gotoAndPlay(1);
}
_root.bar7.gotoAndPlay(_root.bar7._currentframe - 50);
trace(_root.bar7._currentframe);
};
Symbol 858 MovieClip Frame 45
this.gotoAndPlay("dance");
Symbol 872 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 872 MovieClip Frame 7
this.onRelease = function () {
if ((_root.bar8._currentframe - 50) < 1) {
_root.bar8.gotoAndPlay(1);
}
_root.bar8.gotoAndPlay(_root.bar8._currentframe - 50);
trace(_root.bar8._currentframe);
};
Symbol 872 MovieClip Frame 45
this.gotoAndPlay("dance");
Symbol 898 MovieClip Frame 3
this.gotoAndPlay("idle");
Symbol 898 MovieClip Frame 7
this.onRelease = function () {
if ((_root.bar3._currentframe - 50) < 1) {
_root.bar3.gotoAndPlay(1);
}
_root.bar3.gotoAndPlay(_root.bar3._currentframe - 50);
trace(_root.bar3._currentframe);
};
Symbol 898 MovieClip Frame 39
this.gotoAndPlay("dance");
Symbol 960 MovieClip Frame 1
this.onRelease = function () {
if ((_root.bar1._currentframe - 50) < 1) {
_root.bar1.gotoAndPlay(1);
}
_root.bar1.gotoAndPlay(_root.bar1._currentframe - 50);
trace(_root.bar1._currentframe);
};
Symbol 960 MovieClip Frame 35
this.gotoAndPlay("dance");
Symbol 968 MovieClip Frame 800
_global.snd2.stop();
_root.gotoAndStop("gameOver1");
Symbol 1118 MovieClip Frame 1
stop();
Symbol 1169 MovieClip Frame 1
this.hitArea = boy;
_root.feeding = false;
Symbol 1169 MovieClip Frame 15
this.gotoAndPlay("Idle");
Symbol 1169 MovieClip Frame 16
_root.feeding = true;
Symbol 1169 MovieClip Frame 20
_root.girlHunger = _root.girlHunger - 3;
_root.feeding = false;
this.gotoAndPlay("action");
Symbol 1181 MovieClip Frame 1
_root.uncleCanSee = false;
_root.walk = true;
Symbol 1181 MovieClip Frame 26
this.gotoAndPlay("side");
Symbol 1181 MovieClip Frame 30
_root.uncleCanSee = true;
_root.walk = false;
Symbol 1181 MovieClip Frame 89
_root.uncleCanSee = true;
_root.walk = false;
this.gotoAndPlay("side");
Symbol 1181 MovieClip Frame 93
_root.walk = false;
stop();
Symbol 1188 MovieClip Frame 1
_root.photoTake = false;
Symbol 1188 MovieClip Frame 34
this.gotoAndPlay("idle");
Symbol 1188 MovieClip Frame 69
_root.photoTake = true;
Symbol 1188 MovieClip Frame 75
_root.photoTake = false;
Symbol 1196 MovieClip Frame 1
stop();
Symbol 1208 MovieClip Frame 1
stop();
Symbol 1208 MovieClip Frame 4
stop();
Symbol 1208 MovieClip Frame 9
stop();
Symbol 1208 MovieClip Frame 14
stop();
Symbol 1208 MovieClip Frame 19
stop();
Symbol 1208 MovieClip Frame 24
stop();
Symbol 1208 MovieClip Frame 29
stop();
Symbol 1208 MovieClip Frame 34
stop();
Symbol 1208 MovieClip Frame 39
stop();
Symbol 1250 Button
on (release) {
_root._newUser();
}
Symbol 1299 MovieClip Frame 1
_root.displayScores(this);