Frame 1
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes - loaded_bytes;
bar.percent_done = int((loaded_bytes / total_bytes) * 100);
bar_percent = int((loaded_bytes / total_bytes) * 100);
if (bar_percent == "100") {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Symbol 7 MovieClip Frame 1
stop();
Symbol 57 Button
on (release) {
gotoAndPlay (6);
}
Symbol 60 Button
on (release) {
gotoAndPlay ("ins");
}
Symbol 63 Button
on (press) {
getURL ("http://www.santorographics.com/tutticuti/spinbin.php");
}
Symbol 89 Button
on (release) {
gotoAndPlay (6);
}
Symbol 92 Button
on (release) {
nextFrame();
}
Symbol 95 Button
on (release) {
prevFrame();
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
stop();
Symbol 104 MovieClip Frame 4
stop();
Symbol 104 MovieClip Frame 5
stop();
Symbol 111 Button
on (press) {
getURL ("http://www.santorographics.com/tutticuti/tuneraider");
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 134 MovieClip Frame 3
stop();
Symbol 134 MovieClip Frame 4
stop();
Symbol 134 MovieClip Frame 5
stop();
Symbol 134 MovieClip Frame 6
stop();
Symbol 134 MovieClip Frame 7
stop();
Symbol 134 MovieClip Frame 8
stop();
Symbol 137 MovieClip Frame 1
function activate() {
var _local1 = _parent;
var _local2 = _root;
gulpsound = new Sound();
gulpsound.attachSound("");
gulpsound.start();
if (_local1.score <= 149) {
_local2.bricks.gotoAndStop(1);
} else if ((_local1.score > 149) and (_local1.score <= 299)) {
_local2.bricks.gotoAndStop(2);
} else if ((_local1.score > 299) and (_local1.score <= 449)) {
_local2.bricks.gotoAndStop(3);
} else if ((_local1.score > 499) and (_local1.score <= 599)) {
_local2.bricks.gotoAndStop(4);
} else if (_local1.score > 599) {
_local2.bricks.gotoAndStop(5);
}
if ((_local1.alemanScore % 10) == 0) {
burpsound = new Sound();
burpsound.attachSound("");
burpsound.start();
}
_local1.alemanScore = _local1.alemanScore + 10;
_local1.score = _local1.alemanScore;
removeMovieClip(this);
if (_local1.alemanScore >= _local1.targetScore) {
_local1.gotoAndPlay("win");
}
}
Instance of Symbol 136 MovieClip "ha" in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.aleman)) {
trace("yes");
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Symbol 147 MovieClip Frame 3
stop();
Symbol 147 MovieClip Frame 4
stop();
Symbol 148 MovieClip Frame 1
function move(num) {
var _local1 = _parent;
Ystep = _local1.tileheight / speed;
Xstep = _local1.tilewidth / speed;
if (moving == 0) {
directions = new Array();
if ((_local1.board[r][c + 1] == 0) && (previousDirection != "l")) {
directions.push("r");
}
if ((_local1.board[r][c - 1] == 0) && (previousDirection != "r")) {
directions.push("l");
}
if ((_local1.board[r + 1][c] == 0) && (previousDirection != "u")) {
directions.push("d");
}
if ((_local1.board[r - 1][c] == 0) && (previousDirection != "d")) {
directions.push("u");
}
if (directions.length == 0) {
if (previousDirection == "r") {
moveDirection = "l";
} else if (previousDirection == "l") {
moveDirection = "r";
} else if (previousDirection == "d") {
moveDirection = "u";
} else if (previousDirection == "u") {
moveDirection = "d";
}
} else {
moveDirection = directions[random(directions.length)];
}
if (moveDirection == "d") {
Xmove = 0;
Ymove = Ystep;
r++;
ani.gotoAndStop("down");
} else if (moveDirection == "u") {
Xmove = 0;
Ymove = -Ystep;
r--;
ani.gotoAndStop("up");
} else if (moveDirection == "r") {
Xmove = Xstep;
Ymove = 0;
c++;
ani.gotoAndStop("right");
} else if (moveDirection == "l") {
Xmove = -Xstep;
Ymove = 0;
c--;
ani.gotoAndStop("left");
}
previousDirection = moveDirection;
moving = speed;
}
if (moving > 0) {
moving--;
_x = (_x + Xmove);
_y = (_y + Ymove);
}
if ((r == _local1.alemanRow) && (c == _local1.alemanCol)) {
_local1.gotoAndPlay("gothim");
}
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 5
gotoAndPlay (1);
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
play();
Symbol 154 MovieClip Frame 7
gotoAndPlay (2);
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
play();
Symbol 157 MovieClip Frame 3
stop();
Symbol 157 MovieClip Frame 4
stop();
Symbol 157 MovieClip Frame 5
gotoAndPlay (1);
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 160 MovieClip Frame 3
stop();
Symbol 160 MovieClip Frame 4
stop();
Symbol 160 MovieClip Frame 5
stop();
Symbol 160 MovieClip Frame 6
gotoAndPlay (1);
Symbol 169 Button
on (release) {
_parent.game_over_panel.swapDepths(-1);
_parent.gotoAndPlay("friend");
}
Symbol 173 Button
on (press) {
getURL ("http://www.santorographics.com/tutticuti/spinbin.php");
}
Symbol 177 Button
on (press) {
getURL ("http://www.santorographics.com/tutticuti/tuneraider");
}
Symbol 180 Button
on (release) {
_parent.welldone_panel.swapDepths(-2);
_parent.gotoAndPlay("friend");
}
Symbol 195 Button
on (release) {
err.text = "";
str1 = txtEmail.indexOf("@");
str2 = txtEmail.indexOf("@") + 1;
str3 = txtEmail.charAt(str1 + 1);
str4 = txtEmail.lastIndexOf(".");
str5 = txtEmail.charAt(str4 + 1);
len = length(txtEmail);
counter = 1;
flag = 0;
while (Number(counter) <= Number(len)) {
Char = substring(txtEmail, counter, 1);
if (Char ne "@") {
flag = Number(flag) + 1;
}
counter = Number(counter) + 1;
}
if (txtName.text == "") {
condition1 = "";
err.text = "Please fill in your name.";
} else {
condition1 = "ok";
}
if ((txtEmail != "") and (txtName.text != "")) {
if ((((str4 <= str2) || (str3 == ".")) || (str5 == "")) || (Number(flag) != Number(len - 1))) {
condition2 = "";
err.text = "Invalid Email ID.";
} else {
condition2 = "ok";
}
} else if ((txtEmail == "") and (txtName.text != "")) {
err.text = "Please fill in your email.";
}
if (((yourFName_txt.text == "") && (condition1 == "ok")) && (condition2 == "ok")) {
condition3 = "";
err.text = "Please fill in your friends name.";
} else {
condition3 = "ok";
}
str1 = friendsEmail.indexOf("@");
str2 = friendsEmail.indexOf("@") + 1;
str3 = friendsEmail.charAt(str1 + 1);
str4 = friendsEmail.lastIndexOf(".");
str5 = friendsEmail.charAt(str4 + 1);
len = length(friendsEmail);
counter = 1;
flag = 0;
while (Number(counter) <= Number(len)) {
Char = substring(friendsEmail, counter, 1);
if (Char ne "@") {
flag = Number(flag) + 1;
}
counter = Number(counter) + 1;
}
if ((((friendsEmail != "") && (condition1 == "ok")) && (condition2 == "ok")) && (condition3 == "ok")) {
if ((((str4 <= str2) || (str3 == ".")) || (str5 == "")) || (Number(flag) != Number(len - 1))) {
condition4 = "";
err.text = "Invalid friends Email ID.";
} else {
condition4 = "ok";
}
} else if ((((friendsEmail == "") && (condition1 == "ok")) && (condition2 == "ok")) && (condition3 == "ok")) {
err.text = "Please fill in your email.";
}
if ((((condition1 == "ok") && (condition2 == "ok")) && (condition3 == "ok")) && (condition4 == "ok")) {
trace("Name::" + txtName.text);
trace("Email::" + txtEmail);
trace("yourFName_txt::" + yourFName_txt.text);
trace("friendsEmail::" + friendsEmail);
var result_lv = new LoadVars();
var my_lv = new LoadVars();
my_lv.yourName = txtName.text;
my_lv.yourEmail = txtEmail;
my_lv.yourFName = yourFName_txt.text;
my_lv.friendsEmail = friendsEmail;
my_lv.yourMessage = yourMessage_txt.text;
my_lv.yourScore = _parent.score;
trace("Score ::" + _parent.score);
result_lv.onLoad = function (success) {
if (success) {
}
};
my_lv.sendAndLoad("sendEmail.php", result_lv, "POST");
_parent.email2friend.swapDepths(-3);
_parent.gotoAndStop("thankyou");
}
}
Symbol 198 Button
on (release) {
_parent.email2friend.swapDepths(-4);
_parent.gotoAndPlay(1);
_root.bricks.gotoAndStop(1);
_parent.score = 0;
}
Symbol 209 MovieClip Frame 1
boardxoffset = -5;
boardyoffset = 24;
tilewidth = 30.6;
tileheight = 30.6;
level = 0;
board = new Array();
board[0] = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
board[1] = new Array(1, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 2, 0, 1);
board[2] = new Array(1, 2, 2, 2, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 1);
board[3] = new Array(1, 0, 0, 0, 0, 0, 2, 0, 2, 0, 2, 0, 0, 0, 1);
board[4] = new Array(1, 0, 2, 0, 2, 0, 2, 0, 0, 0, 2, 2, 2, 0, 1);
board[5] = new Array(1, 0, 2, 0, 2, 0, 2, 0, 2, 0, 0, 0, 0, 0, 1);
board[6] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 2, 2, 0, 1);
board[7] = new Array(1, 2, 2, 2, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 1);
board[8] = new Array(1, 0, 0, 2, 0, 2, 0, 0, 0, 0, 2, 2, 2, 0, 1);
board[9] = new Array(1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 1);
board[10] = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
row = 0;
while (row < board.length) {
col = 0;
while (col < board[row].length) {
if (board[row][col] > 0) {
duplicateMovieClip ("tile" + board[row][col], (("tile" + row) + "_") + col, level++);
this[(("tile" + row) + "_") + col]._x = (col * tilewidth) + boardxoffset;
this[(("tile" + row) + "_") + col]._y = (row * tileheight) + boardyoffset;
}
col++;
}
row++;
}
things = new Array();
things[0] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
things[1] = new Array(0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0);
things[2] = new Array(0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0);
things[3] = new Array(0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0);
things[4] = new Array(0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0);
things[5] = new Array(0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0);
things[6] = new Array(0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0);
things[7] = new Array(0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0);
things[8] = new Array(0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0);
things[9] = new Array(0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0);
things[10] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
targetscore = 0;
row = 0;
while (row < things.length) {
col = 0;
while (col < things[row].length) {
if (things[row][col] > 0) {
targetscore = targetscore + 10;
duplicateMovieClip ("thing1", (("thing" + row) + "_") + col, level++);
this[(("thing" + row) + "_") + col]._x = (col * tilewidth) + boardxoffset;
this[(("thing" + row) + "_") + col]._y = (row * tileheight) + boardyoffset;
this[(("thing" + row) + "_") + col].rec.gotoAndStop(random(8));
}
col++;
}
row++;
}
kebabStartCol = 13;
kebabStartRow = 1;
kebabSpeed = 6;
numkebabs = 4;
num = 0;
while (num < numkebabs) {
duplicateMovieClip ("kebab", "kebab" + num, level++);
this["kebab" + num].c = kebabStartCol;
this["kebab" + num].r = kebabStartRow;
this["kebab" + num].speed = kebabSpeed;
this["kebab" + num].previousDirection = "X";
this["kebab" + num].moving = false;
this["kebab" + num]._x = (kebabStartCol * tilewidth) + boardxoffset;
this["kebab" + num]._y = (kebabStartRow * tileheight) + boardyoffset;
num++;
}
alemanCol = 1;
alemanRow = 1;
alemanScore = 0;
alemanLives = 3;
alemanSpeed = 6;
alemanWalking = 0;
_root.bricks.gotoAndStop(1);
this.score = alemanScore;
duplicateMovieClip ("alemanright", "aleman", level++);
aleman._x = (alemanCol * tilewidth) + boardxoffset;
aleman._y = (alemanRow * tileheight) + boardyoffset;
_root.bub.gotoAndPlay(2);
_root.cuti.gotoAndStop(1);
life1._visible = true;
life2._visible = true;
life3._visible = true;
got_him_panel._alpha = 0;
game_over_panel._alpha = 0;
welldone_panel._alpha = 0;
email2friend._alpha = 0;
thanku._alpha = 0;
Instance of Symbol 151 MovieClip "alemanright" in Symbol 209 MovieClip Frame 1
/* no clip actions */
Symbol 209 MovieClip Frame 2
num = 0;
while (num < numkebabs) {
this["kebab" + num].move(num);
num++;
}
if (alemanWalking == 0) {
if (Key.isDown(39)) {
if (board[alemanRow][alemanCol + 1] == 0) {
aleman.removeMovieClip();
duplicateMovieClip ("alemanright", "aleman", level);
aleman._x = (alemanCol * tilewidth) + boardxoffset;
aleman._y = (alemanRow * tileheight) + boardyoffset;
alemanCol++;
alemanWalking = alemanSpeed;
alemanXstep = tilewidth / alemanSpeed;
alemanYstep = 0;
}
} else if (Key.isDown(37)) {
if (board[alemanRow][alemanCol - 1] == 0) {
aleman.removeMovieClip();
duplicateMovieClip ("alemanleft", "aleman", level);
aleman._x = (alemanCol * tilewidth) + boardxoffset;
aleman._y = (alemanRow * tileheight) + boardyoffset;
alemanCol--;
alemanWalking = alemanSpeed;
alemanXstep = -(tilewidth / alemanSpeed);
alemanYstep = 0;
}
} else if (Key.isDown(40)) {
if (board[alemanRow + 1][alemanCol] == 0) {
aleman.removeMovieClip();
duplicateMovieClip ("alemandown", "aleman", level);
aleman._x = (alemanCol * tilewidth) + boardxoffset;
aleman._y = (alemanRow * tileheight) + boardyoffset;
alemanRow++;
alemanWalking = alemanSpeed;
alemanXstep = 0;
alemanYstep = tileheight / alemanSpeed;
}
} else if (Key.isDown(38)) {
if (board[alemanRow - 1][alemanCol] == 0) {
aleman.removeMovieClip();
duplicateMovieClip ("alemanup", "aleman", level);
aleman._x = (alemanCol * tilewidth) + boardxoffset;
aleman._y = (alemanRow * tileheight) + boardyoffset;
alemanRow--;
alemanWalking = alemanSpeed;
alemanXstep = 0;
alemanYstep = -(tileheight / alemanSpeed);
}
}
}
if (alemanWalking > 0) {
aleman._x = aleman._x + alemanXstep;
aleman._y = aleman._y + alemanYstep;
aleman.nextframe();
alemanWalking--;
}
if (things[alemanRow][alemanCol] != 0) {
things[alemanRow][alemanCol] = 0;
eval ((("thing" + alemanRow) + "_") + alemanCol).activate();
}
if (_root.bub._currentframe == 1) {
_root.bub.gotoAndPlay(2);
}
if (_root.cuti._currentframe == 2) {
_root.cuti.gotoAndStop(1);
}
Symbol 209 MovieClip Frame 3
gotoAndPlay (2);
Symbol 209 MovieClip Frame 11
alemanCol = 1;
alemanRow = 1;
scream = new Sound();
scream.attachSound("Aaah");
scream.start();
this["life" + alemanLives]._visible = false;
alemanLives--;
if (alemanLives == -1) {
aleman.removeMovieClip();
nextFrame();
}
aleman.removeMovieClip();
duplicateMovieClip ("alemanright", "aleman", level++);
aleman._x = (alemanCol * tilewidth) + boardxoffset;
aleman._y = (alemanRow * tileheight) + boardyoffset;
alemanWalking = 0;
num = 0;
while (num < numkebabs) {
this["kebab" + num].c = kebabStartCol;
this["kebab" + num].r = kebabStartRow;
this["kebab" + num].moving = false;
this["kebab" + num].previousDirection = "x";
this["kebab" + num]._x = (kebabStartCol * tilewidth) + boardxoffset;
this["kebab" + num]._y = (kebabStartRow * tileheight) + boardyoffset;
num++;
}
got_him_panel.swapDepths(1000000);
_root.bub.gotoAndStop(1);
_root.cuti.gotoAndStop(2);
got_him_panel._alpha = 100;
game_over_panel._alpha = 0;
welldone_panel._alpha = 0;
email2friend._alpha = 0;
thanku._alpha = 0;
stop();
Instance of Symbol 164 MovieClip in Symbol 209 MovieClip Frame 11
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.got_him_panel.swapDepths(-1);
_parent.gotoAndPlay("startgame");
}
}
Symbol 209 MovieClip Frame 12
aleman.removeMovieClip();
game_over_panel.swapDepths(1000000);
got_him_panel._alpha = 0;
game_over_panel._alpha = 100;
welldone_panel._alpha = 0;
email2friend._alpha = 0;
thanku._alpha = 0;
stop();
_root.bub.gotoAndStop(1);
_root.cuti.gotoAndStop(2);
Instance of Symbol 164 MovieClip in Symbol 209 MovieClip Frame 12
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.game_over_panel.swapDepths(-1);
_parent.gotoAndPlay(1);
}
}
Symbol 209 MovieClip Frame 13
aleman.removeMovieClip();
welldone_panel.swapDepths(1000000);
got_him_panel._alpha = 0;
game_over_panel._alpha = 0;
welldone_panel._alpha = 100;
email2friend._alpha = 0;
thanku._alpha = 0;
stop();
_root.bub.gotoAndStop(1);
Instance of Symbol 164 MovieClip in Symbol 209 MovieClip Frame 13
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.welldone_panel.swapDepths(-1);
_parent.gotoAndPlay(1);
}
}
Symbol 209 MovieClip Frame 14
err.tabEnabled = false;
txtName.tabIndex = 1;
txtEmail1.tabIndex = 2;
yourFName_txt.tabIndex = 3;
friendsEmail1.tabIndex = 4;
yourMessage_txt.tabIndex = 5;
txtEmail = "";
friendsEmail = "";
stop();
aleman.removeMovieClip();
email2friend.swapDepths(1000000);
got_him_panel._alpha = 0;
game_over_panel._alpha = 0;
welldone_panel._alpha = 0;
email2friend._alpha = 100;
thanku._alpha = 0;
_root.bub.gotoAndStop(1);
stop();
Symbol 209 MovieClip Frame 15
thanku.swapDepths(1000000);
stop();
aleman.removeMovieClip();
thanku.swapDepths(1000000);
got_him_panel._alpha = 0;
game_over_panel._alpha = 0;
welldone_panel._alpha = 0;
email2friend._alpha = 0;
thanku._alpha = 100;
_root.bub.gotoAndStop(1);
stop();
Symbol 211 Button
on (release) {
getURL ("http://www.santorographics.com/tutticuti/spinbin.php");
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
gotoAndPlay("bub" + random(5));
Symbol 219 MovieClip Frame 3
play();
Symbol 219 MovieClip Frame 35
gotoAndPlay (2);
Symbol 219 MovieClip Frame 36
play();
Symbol 219 MovieClip Frame 70
gotoAndPlay (2);
Symbol 219 MovieClip Frame 71
play();
Symbol 219 MovieClip Frame 105
gotoAndPlay (2);
Symbol 219 MovieClip Frame 106
play();
Symbol 219 MovieClip Frame 140
gotoAndPlay (2);
Symbol 219 MovieClip Frame 141
play();
Symbol 219 MovieClip Frame 175
gotoAndPlay (2);
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
stop();