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++;
}
trace((_root.level + " ") + _arr[0]);
}
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);
}
}
stop();
var allSounds = new Sound();
_root._google_txt.text = "Deep Frozen Love";
_root._gameid = "1046";
_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");
trace(connframe);
_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();
Frame 6
stop();
Frame 7
stop();
Frame 8
gotoAndStop ("SCREENS");
Frame 9
var button_click = new Sound();
button_click.attachSound("button_click");
_root.frameNoToStart = 0;
var game_music = new Sound();
game_music.attachSound("game_music");
var menu_music = new Sound();
menu_music.attachSound("menu_music");
var hero_music = new Sound();
hero_music.attachSound("hero_music");
var powerup_music = new Sound();
powerup_music.attachSound("powerup_music");
var horse_music = new Sound();
horse_music.attachSound("horse_music");
var aah_music = new Sound();
aah_music.attachSound("aah_music");
var key_music = new Sound();
key_music.attachSound("key_music");
menu_music.stop();
if (_root.sound_controller._currentframe == 1) {
menu_music.start();
}
menu_music.onSoundComplete = function () {
menu_music.start();
};
stop();
level1Bull1.removeMovieClip();
level2Bull1.removeMovieClip();
level2Bull2.removeMovieClip();
level2Bull3.removeMovieClip();
level4Bull1.removeMovieClip();
level4Bull2.removeMovieClip();
level4Bull3.removeMovieClip();
level5Bull1.removeMovieClip();
level5Bull2.removeMovieClip();
level5Bull3.removeMovieClip();
level6Bull1.removeMovieClip();
level6Bull2.removeMovieClip();
level6Bull3.removeMovieClip();
level6Bull4.removeMovieClip();
level6Bull2_1.removeMovieClip();
level6Bull2_2.removeMovieClip();
Level7_1_Bull1.removeMovieClip();
Level7_1_Bull2.removeMovieClip();
Level7_1_Bull3.removeMovieClip();
Level7_2_Bull1.removeMovieClip();
Level7_2_Bull2.removeMovieClip();
Level7_2_Bull3.removeMovieClip();
Level8_1_Bull.removeMovieClip();
Level8_1_Bull1.removeMovieClip();
Level8_1_Bull2.removeMovieClip();
Level8_2_Bull.removeMovieClip();
Level8_2_Bull1.removeMovieClip();
Level8_2_Bull2.removeMovieClip();
Level9_1_Bull.removeMovieClip();
Level9_1_Bull1.removeMovieClip();
Level9_2_Bull.removeMovieClip();
Level9_2_Bull1.removeMovieClip();
Level9_2_Bull2.removeMovieClip();
Level10_Bull.removeMovieClip();
Level10_Bull1.removeMovieClip();
Level10_Bull2.removeMovieClip();
Level10_Bull3.removeMovieClip();
Level10_Bull4.removeMovieClip();
Level10_Bull5.removeMovieClip();
Level10_Bull6.removeMovieClip();
if (_root.gameResult == "LOSE") {
trace("OK");
_root.gameResult = " ";
}
if (_root.gameResult == "WIN") {
_root.screens.gotoAndStop("LEVELUP");
_root.gameResult = " ";
}
if (_root.gameResult == "GAMEWIN") {
_root.gameResult = " ";
}
Instance of Symbol 168 MovieClip "sound_controller" in Frame 9
onClipEvent (load) {
if (_root.so_sound == 0) {
this.gotoAndPlay(_currentframe + 1);
}
}
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 10
game_music.stop();
menu_music.stop();
if (_root.sound_controller._currentframe == 1) {
game_music.start();
}
game_music.onSoundComplete = function () {
game_music.start();
};
function init() {
codeGen._x = -100;
codeTyper._x = -100;
codeTyperStand._x = -100;
extraHit._x = -100;
extraHit1._x = -100;
gate._x = -100;
gate1._x = -100;
gate2._x - 100;
gate3._x - 100;
stuff1._x = -100;
stuff2._x = -100;
stuff3._x = -100;
levelup._x = -100;
key._x = -100;
key1._x = -100;
key2._x = -100;
player._x = -100;
}
function textOrNumber(ranNo, textNo) {
switch (ranNo) {
case 0 :
_root.codeGen["text" + textNo] = random(10);
break;
case 1 :
var _local2 = Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
_root.codeGen["text" + textNo] = _local2[random(26)];
}
}
new1 = false;
new2 = false;
new3 = false;
new4 = false;
new5 = false;
new6 = false;
stop();
_root.level = int(_root.level);
gameResult = " ";
bg.gotoAndStop("LEVEL" + level);
stuff.gotoAndStop("LEVEL" + level);
gate.gotoAndStop(1);
gate1.gotoAndStop(1);
gate2.gotoAndStop(1);
gate3.gotoAndStop(1);
hitAni.gotoAndStop(1);
hitAni._x = -84.35;
hitAni._y = 182.8;
player.gotoAndStop(1);
player._rotation = player._rotation + 90;
levelup._x = -85;
levelup._y = 153.6;
level1Bull.stop();
level2Bull1.stop();
switch (level) {
case 1 :
init();
key._x = 299.25;
key._y = 207.6;
player._x = 378.8;
player._y = 382.8;
gate._rotation = 0;
gate._x = 299.2;
gate._y = 392.4;
stuff1._x = 300.1;
stuff1._y = 373.7;
levelup._rotation = 0;
levelup._x = 299.95;
levelup._y = 265.1;
attachMovie("level1_Bull", "level1Bull1", this.getNextHighestDepth());
hitAni.swapDepths(level1Bull1);
level1Bull1._x = 292.1;
level1Bull1._y = 233.85;
break;
case 2 :
init();
key._x = 441.25;
key._y = 326.6;
player._x = 558.05;
player._y = 109.85;
gate._rotation = 90;
gate._x = 524.2;
gate._y = 241.45;
stuff1._x = 543.15;
stuff1._y = 242.65;
levelup._rotation = 90;
levelup._x = 566.3;
levelup._y = 242.65;
attachMovie("level2_Bull1", "level2Bull1", this.getNextHighestDepth());
hitAni.swapDepths(level2Bull1);
level2Bull1._x = 300;
level2Bull1._y = 225.4;
break;
case 3 :
init();
key._x = 568.2;
key._y = 239.6;
player._x = 554.8;
player._y = 67.85;
gate._rotation = 0;
gate._x = 299.2;
gate._y = 403.4;
stuff1._x = 296.95;
stuff1._y = 424.4;
levelup._rotation = 0;
levelup._x = 297.95;
levelup._y = 419.4;
break;
case 4 :
init();
extraHit._x = 183.9;
extraHit._y = 227.4;
extraHit1._x = 364;
extraHit1._y = 212.2;
key._x = 237.95;
key._y = 347.95;
player._x = 557;
player._y = 62;
gate._rotation = 0;
gate._x = 540.55;
gate._y = 216;
stuff1._x = 540.55;
stuff1._y = 195;
levelup._rotation = 0;
levelup._x = 540.55;
levelup._y = 190;
attachMovie("level4_Bull", "level4Bull1", this.getNextHighestDepth());
hitAni.swapDepths(level4Bull1);
level4Bull1._x = 340;
level4Bull1._y = 234;
break;
case 5 :
init();
key._rotation = 90;
key._x = 111.45;
key._y = 353;
player._rotation = player._rotation - 90;
player._x = 241.7;
player._y = 66;
gate._rotation = 0;
gate._x = 485.45;
gate._y = 80.8;
stuff1._x = 486.2;
stuff1._y = 100.3;
levelup._rotation = 0;
levelup._x = 485.05;
levelup._y = 146.95;
attachMovie("level5_Bull", "level5Bull1", this.getNextHighestDepth());
hitAni.swapDepths(level5Bull1);
level5Bull1._x = 300.75;
level5Bull1._y = 222.95;
break;
case 6 :
init();
key._rotation = 90;
key._x = 236.45;
key._y = 323;
player._rotation = 90;
player._x = 555;
player._y = 33;
gate._rotation = 0;
gate._x = 504.2;
gate._y = 270;
gate._rotation = 90;
stuff1._x = 524.2;
stuff1._y = 270;
levelup._rotation = 90;
levelup._x = 550.2;
levelup._y = 295;
attachMovie("level6_Bull", "level6Bull1", this.getNextHighestDepth());
hitAni.swapDepths(level6Bull1);
level6Bull1._x = 301.25;
level6Bull1._y = 224.55;
attachMovie("level6_Bull2", "level6Bull2_1", this.getNextHighestDepth());
hitAni.swapDepths(level6Bull2_1);
level6Bull2_1._x = 300.95;
level6Bull2_1._y = 226;
break;
case 7 :
init();
key._rotation = 0;
key._x = 298.45;
key._y = 306;
player._rotation = 300;
player._x = 460;
player._y = 130;
gate._rotation = 0;
gate._x = 168;
gate._y = 237;
gate._rotation = 90;
stuff1._x = 188;
stuff1._y = 237;
levelup._rotation = 90;
levelup._x = 346;
levelup._y = 240;
attachMovie("Level7_1_Bull", "Level7_1_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level7_1_Bull1);
Level7_1_Bull1._x = -57.76;
Level7_1_Bull1._y = 115.35;
attachMovie("Level7_1_Bull", "Level7_1_Bull2", this.getNextHighestDepth());
hitAni.swapDepths(Level7_1_Bull2);
Level7_1_Bull2.gotoAndPlay(70);
Level7_1_Bull2._x = -57.76;
Level7_1_Bull2._y = 115.35;
var my_color = new Color(Level7_1_Bull2);
var myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
my_color.setTransform(myColorTransform);
attachMovie("Level7_1_Bull", "Level7_1_Bull3", this.getNextHighestDepth());
hitAni.swapDepths(Level7_1_Bull3);
Level7_1_Bull3.gotoAndPlay(140);
Level7_1_Bull3._x = -57.76;
Level7_1_Bull3._y = 115.35;
var my_color = new Color(Level7_1_Bull3);
var myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
my_color.setTransform(myColorTransform);
attachMovie("Level7_2_Bull", "Level7_2_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level7_2_Bull1);
Level7_2_Bull1._x = -258.3;
Level7_2_Bull1._y = 185.95;
attachMovie("Level7_2_Bull", "Level7_2_Bull2", this.getNextHighestDepth());
hitAni.swapDepths(Level7_2_Bull2);
Level7_2_Bull2.gotoAndPlay(40);
Level7_2_Bull2._x = -258.3;
Level7_2_Bull2._y = 185.95;
var my_color = new Color(Level7_2_Bull2);
var myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
my_color.setTransform(myColorTransform);
attachMovie("Level7_2_Bull", "Level7_2_Bull3", this.getNextHighestDepth());
hitAni.swapDepths(Level7_2_Bull3);
Level7_2_Bull3.gotoAndPlay(80);
Level7_2_Bull3._x = -258.3;
Level7_2_Bull3._y = 185.95;
break;
case 8 :
init();
key._rotation = 0;
key._x = 323.1;
key._y = 245.25;
key1._x = 215.8;
key1._y = 245.25;
player._rotation = 90;
player._x = 561.3;
player._y = 45.55;
gate._rotation = 0;
gate._x = 550.4;
gate._y = 244.45;
gate1._x = 451.55;
gate1._y = 83.95;
gate2._x = 453.55;
gate2._y = 410.5;
gate._rotation = 90;
stuff1._x = 572.35;
stuff1._y = 245.65;
stuff2._x = 452.3;
stuff2._y = 101.9;
stuff3._x = 452.3;
stuff3._y = 390.9;
levelup._rotation = 90;
levelup._x = 574.35;
levelup._y = 244.65;
attachMovie("level8_1_Bull", "Level8_1_Bull", this.getNextHighestDepth());
hitAni.swapDepths(Level8_1_Bulls);
Level8_1_Bull._x = -80.75;
Level8_1_Bull._y = 91.25;
var my_color = new Color(Level8_1_Bull);
var myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
my_color.setTransform(myColorTransform);
attachMovie("level8_2_Bull", "Level8_2_Bull", this.getNextHighestDepth());
hitAni.swapDepths(Level8_2_Bull);
Level8_2_Bull._x = -82;
Level8_2_Bull._y = 210.05;
break;
case 9 :
init();
key._rotation = 0;
key._x = 63.35;
key._y = 50.05;
key1._x = 137.3;
key1._y = 50.05;
player._rotation = 0;
player._x = 536;
player._y = 65.55;
gate._rotation = 90;
gate._x = 245.65;
gate._y = 48.9;
gate1._rotation = 90;
gate1._x = 85.05;
gate1._y = 48.9;
gate2._rotation = 90;
gate2._x = 157.1;
gate2._y = 48.95;
gate3._rotation = 90;
gate3._x = 522.2;
gate3._y = 297.55;
gate._rotation = 90;
stuff1._x = 502.8;
stuff1._y = 297.9;
stuff2._x = 265.55;
stuff2._y = 49.1;
stuff3._x = -452.3;
stuff3._y = -390.9;
levelup._rotation = 90;
levelup._x = 389.5;
levelup._y = 49.3;
attachMovie("Level9_1_Bull", "Level9_1_Bull", this.getNextHighestDepth());
hitAni.swapDepths(Level9_1_Bull);
Level9_1_Bull._x = -51.75;
Level9_1_Bull._y = 54.25;
var my_color = new Color(Level9_1_Bull);
var myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
my_color.setTransform(myColorTransform);
attachMovie("Level9_2_Bull", "Level9_2_Bull", this.getNextHighestDepth());
hitAni.swapDepths(Level9_2_Bull);
Level9_2_Bull._x = -261.95;
Level9_2_Bull._y = 169.75;
break;
case 10 :
init();
codeGen._x = 67;
codeGen._y = 231.25;
codeTyperStand._x = 68;
codeTyperStand._y = 256.9;
var ranNo = random(2);
textOrNumber(ranNo, 1);
var ranNo = random(2);
textOrNumber(ranNo, 2);
var ranNo = random(2);
textOrNumber(ranNo, 3);
var ranNo = random(2);
textOrNumber(ranNo, 4);
_root.codeTyper.text1 = "";
_root.codeTyper.text2 = "";
_root.codeTyper.text3 = "";
_root.codeTyper.text4 = "";
var my_fmt = new TextFormat();
my_fmt.bold = true;
_root.codeGen.text1_txt.setTextFormat(my_fmt);
_root.codeGen.text2_txt.setTextFormat(my_fmt);
_root.codeGen.text3_txt.setTextFormat(my_fmt);
_root.codeGen.text4_txt.setTextFormat(my_fmt);
key._rotation = 90;
key._x = 523.05;
key._y = 236.25;
player._rotation = 90;
player._x = 190.35;
player._y = 47.7;
attachMovie("Level10_Bull", "Level10_Bull", this.getNextHighestDepth());
hitAni.swapDepths(Level10_Bull);
Level10_Bull._x = -83.75;
Level10_Bull._y = 80.8;
var my_color = new Color(Level10_Bull);
var myColorTransform = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
my_color.setTransform(myColorTransform);
}
onEnterFrame = function () {
if (level == 2) {
if ((new1 == false) and (level2Bull1._currentframe == 120)) {
new1 = true;
attachMovie("level2_Bull1", "level2Bull2", this.getNextHighestDepth());
hitAni.swapDepths(level2Bull2);
level2Bull2._x = 300;
level2Bull2._y = 225.4;
var _local4 = new Color(level2Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
}
if (level == 3) {
bull1._x = bull1._x + 4;
bull3._x = bull3._x + 5;
bull5._x = bull5._x + 4;
bull2._x = bull2._x - 3;
bull4._x = bull4._x - 4;
if (bull1.hitTest(barR)) {
bull1._x = -248.8;
}
if (bull3.hitTest(barR)) {
bull3._x = -388.8;
}
if (bull5.hitTest(barR)) {
bull5._x = -88.8;
}
if (bull2.hitTest(barL)) {
bull2._x = 727;
}
if (bull4.hitTest(barL)) {
bull4._x = 884.1;
}
if ((((player.hitTest(bull1.hitPortion) or player.hitTest(bull2.hitPortion)) or player.hitTest(bull3.hitPortion)) or player.hitTest(bull4.hitPortion)) or player.hitTest(bull5.hitPortion)) {
player.gotoAndStop(player._totalframes);
if (_root.sound_controller._currentframe == 1) {
game_music.stop();
aah_music.start();
}
hitAni._x = player._x;
hitAni._y = player._y;
hitAni.play();
}
}
if (level == 4) {
if ((new1 == false) and (level4Bull1._currentframe == 95)) {
new1 = true;
attachMovie("level4_Bull", "level4Bull2", this.getNextHighestDepth());
hitAni.swapDepths(level4Bull2);
level4Bull2._x = 340;
level4Bull2._y = 234;
var _local4 = new Color(level4Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new2 == false) and (level4Bull1._currentframe == 180)) {
new2 = true;
attachMovie("level4_Bull", "level4Bull3", this.getNextHighestDepth());
hitAni.swapDepths(level4Bull3);
level4Bull3._x = 340;
level4Bull3._y = 234;
var _local4 = new Color(level4Bull3);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
}
if (level == 5) {
if ((new1 == false) and (level5Bull1._currentframe == 55)) {
new1 = true;
attachMovie("level5_Bull2", "level5Bull2", this.getNextHighestDepth());
hitAni.swapDepths(level5Bull2);
level5Bull2._x = 300.1;
level5Bull2._y = 225;
var _local4 = new Color(level5Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new2 == false) and (level5Bull1._currentframe == 105)) {
new2 = true;
attachMovie("level5_Bull3", "level5Bull3", this.getNextHighestDepth());
hitAni.swapDepths(level5Bull3);
level5Bull3._x = 298.85;
level5Bull3._y = 218.95;
}
}
if (level == 6) {
if ((new1 == false) and (level6Bull1._currentframe == 70)) {
new1 = true;
attachMovie("level6_Bull", "level6Bull2", this.getNextHighestDepth());
hitAni.swapDepths(level6Bull2);
level6Bull2._x = 301.25;
level6Bull2._y = 224.55;
var _local4 = new Color(level6Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new2 == false) and (level6Bull1._currentframe == 140)) {
new2 = true;
attachMovie("level6_Bull", "level6Bull3", this.getNextHighestDepth());
hitAni.swapDepths(level6Bull3);
level6Bull3._x = 301.25;
level6Bull3._y = 224.55;
}
if ((new3 == false) and (level6Bull1._currentframe == 210)) {
new3 = true;
attachMovie("level6_Bull", "level6Bull4", this.getNextHighestDepth());
hitAni.swapDepths(level6Bull4);
level6Bull4._x = 301.25;
level6Bull4._y = 224.55;
var _local4 = new Color(level6Bull4);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new4 == false) and (level6Bull2_1._currentframe == 50)) {
new4 = true;
attachMovie("level6_Bull2", "level6Bull2_2", this.getNextHighestDepth());
hitAni.swapDepths(level6Bull2_2);
level6Bull2_2._x = 301.25;
level6Bull2_2._y = 224.55;
var _local4 = new Color(level6Bull2_2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
}
if (level == 7) {
var _local3 = 1;
while (_local3 < 10) {
_root["prot" + _local3]._visible = true;
_local3++;
}
if ((((((((player.hitTest(prot1) or player.hitTest(prot2)) or player.hitTest(prot3)) or player.hitTest(prot4)) or player.hitTest(prot5)) or player.hitTest(prot6)) or player.hitTest(prot7)) or player.hitTest(prot8)) or player.hitTest(prot9)) {
} else if ((((player.hitTest(Level7_1_Bull1.bull.hitPortion) or player.hitTest(Level7_1_Bull2.bull.hitPortion)) or player.hitTest(Level7_1_Bull3.bull.hitPortion)) or player.hitTest(Level7_2_Bull1.bull.hitPortion)) or player.hitTest(Level7_2_Bull2.bull.hitPortion or player.hitTest(Level7_2_Bull3.bull.hitPortion))) {
player.gotoAndStop(player._totalframes);
if (_root.sound_controller._currentframe == 1) {
game_music.stop();
aah_music.start();
}
hitAni._x = player._x;
hitAni._y = player._y;
hitAni.play();
}
} else {
var _local3 = 1;
while (_local3 < 10) {
_root["prot" + _local3]._visible = false;
_local3++;
}
}
if (level == 8) {
if ((new1 == false) and (Level8_1_Bull._currentframe == 70)) {
new1 = true;
attachMovie("Level8_1_Bull", "Level8_1_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level8_1_Bull1);
Level8_1_Bull1._x = -80.75;
Level8_1_Bull1._y = 91.25;
}
if ((new2 == false) and (Level8_1_Bull._currentframe == 140)) {
new2 = true;
attachMovie("Level8_1_Bull", "Level8_1_Bull2", this.getNextHighestDepth());
hitAni.swapDepths(Level8_1_Bull2);
Level8_1_Bull2._x = -80.75;
Level8_1_Bull2._y = 91.25;
var _local4 = new Color(Level8_1_Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new3 == false) and (Level8_2_Bull._currentframe == 80)) {
new3 = true;
attachMovie("Level8_2_Bull", "Level8_2_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level8_2_Bull1);
Level8_2_Bull1._x = -82;
Level8_2_Bull1._y = 210.05;
var _local4 = new Color(Level8_2_Bull1);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new4 == false) and (Level8_2_Bull._currentframe == 160)) {
new4 = true;
attachMovie("Level8_2_Bull", "Level8_2_Bull2", this.getNextHighestDepth());
hitAni.swapDepths(Level8_2_Bull2);
Level8_2_Bull2._x = -82;
Level8_2_Bull2._y = 210.05;
var _local4 = new Color(Level8_2_Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if (((((player.hitTest(Level8_1_Bull.bull.hitPortion) or player.hitTest(Level8_1_Bull1.bull.hitPortion)) or player.hitTest(Level8_1_Bull2.bull.hitPortion)) or player.hitTest(Level8_2_Bull.bull.hitPortion)) or player.hitTest(Level8_2_Bull1.bull.hitPortion)) or player.hitTest(Level8_2_Bull2.bull.hitPortion)) {
player.gotoAndStop(player._totalframes);
if (_root.sound_controller._currentframe == 1) {
game_music.stop();
aah_music.start();
}
hitAni._x = player._x;
hitAni._y = player._y;
hitAni.play();
}
}
if (level == 9) {
if ((new1 == false) and (Level9_1_Bull._currentframe == 120)) {
new1 = true;
attachMovie("Level9_1_Bull", "Level9_1_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level9_1_Bull1);
Level9_1_Bull1._x = -51.75;
Level9_1_Bull1._y = 54.25;
}
if ((new2 == false) and (Level9_2_Bull._currentframe == 100)) {
new2 = true;
attachMovie("Level9_2_Bull", "Level9_2_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level9_2_Bull1);
Level9_2_Bull1._x = -261.95;
Level9_2_Bull1._y = 169.75;
var _local4 = new Color(Level9_2_Bull1);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((((player.hitTest(Level9_1_Bull.bull.hitPortion) or player.hitTest(Level9_1_Bull1.bull.hitPortion)) or player.hitTest(Level9_2_Bull.bull.hitPortion)) or player.hitTest(Level9_2_Bull1.bull.hitPortion)) or player.hitTest(Level9_2_Bull2.bull.hitPortion)) {
player.gotoAndStop(player._totalframes);
if (_root.sound_controller._currentframe == 1) {
game_music.stop();
aah_music.start();
}
hitAni._x = player._x;
hitAni._y = player._y;
hitAni.play();
}
}
if (level == 10) {
if ((new1 == false) and (Level10_Bull._currentframe == 60)) {
new1 = true;
attachMovie("Level10_Bull", "Level10_Bull1", this.getNextHighestDepth());
hitAni.swapDepths(Level10_Bull1);
trace(Level10_Bull1.getDepth());
Level10_Bull1._x = -83.75;
Level10_Bull1._y = 80.8;
}
if ((new2 == false) and (Level10_Bull._currentframe == 120)) {
new2 = true;
attachMovie("Level10_Bull", "Level10_Bull2", this.getNextHighestDepth());
hitAni.swapDepths(Level10_Bull2);
Level10_Bull2._x = -83.75;
Level10_Bull2._y = 80.8;
var _local4 = new Color(Level10_Bull2);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new3 == false) and (Level10_Bull._currentframe == 180)) {
new3 = true;
attachMovie("Level10_Bull", "Level10_Bull3", this.getNextHighestDepth());
hitAni.swapDepths(Level10_Bull3);
Level10_Bull3._x = -83.75;
Level10_Bull3._y = 80.8;
}
if ((new4 == false) and (Level10_Bull._currentframe == 240)) {
new4 = true;
attachMovie("Level10_Bull", "Level10_Bull4", this.getNextHighestDepth());
hitAni.swapDepths(Level10_Bull4);
Level10_Bull4._x = -83.75;
Level10_Bull4._y = 80.8;
var _local4 = new Color(Level10_Bull4);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if ((new5 == false) and (Level10_Bull._currentframe == 300)) {
new5 = true;
attachMovie("Level10_Bull", "Level10_Bull5", this.getNextHighestDepth());
hitAni.swapDepths(Level10_Bull5);
Level10_Bull5._x = -83.75;
Level10_Bull5._y = 80.8;
}
if ((new6 == false) and (Level10_Bull._currentframe == 360)) {
new6 = true;
attachMovie("Level10_Bull", "Level10_Bull6", this.getNextHighestDepth());
Level10_Bull6._x = -83.75;
Level10_Bull6._y = 80.8;
hitAni.swapDepths(Level10_Bull6);
var _local4 = new Color(Level10_Bull6);
var _local5 = {ra:100, rb:0, ga:100, gb:10, ba:58, bb:0, aa:100, ab:0};
_local4.setTransform(_local5);
}
if (((((((player.hitTest(Level10_Bull.bull.hitPortion) or player.hitTest(Level10_Bull1.bull.hitPortion)) or player.hitTest(Level10_Bull2.bull.hitPortion)) or player.hitTest(Level10_Bull3.bull.hitPortion)) or player.hitTest(Level10_Bull4.bull.hitPortion)) or player.hitTest(Level10_Bull5.bull.hitPortion)) or player.hitTest(Level10_Bull6.bull.hitPortion)) or player.hitTest(Level10_Bull7.bull.hitPortion)) {
player.gotoAndStop(player._totalframes);
if (_root.sound_controller._currentframe == 1) {
game_music.stop();
aah_music.start();
}
hitAni._x = player._x;
hitAni._y = player._y;
hitAni.play();
}
if ((((_root.codeTyper.text1_txt.text == _root.codeGen.text1_txt.text) and (_root.codeTyper.text2_txt.text == _root.codeGen.text2_txt.text)) and (_root.codeTyper.text3_txt.text == _root.codeGen.text3_txt.text)) and (_root.codeTyper.text4_txt.text == _root.codeGen.text4_txt.text)) {
_root.gameResult = "GAMEWIN";
level = 0;
trace("OKOKO");
_root.gotoAndStop("GAME_COMPLETE");
Level10_Bull.removeMovieClip();
Level10_Bull1.removeMovieClip();
Level10_Bull2.removeMovieClip();
Level10_Bull3.removeMovieClip();
Level10_Bull4.removeMovieClip();
Level10_Bull5.removeMovieClip();
Level10_Bull6.removeMovieClip();
}
if (player.hitTest(codeTyperStand)) {
codeTyper.text1_txt.selectable = true;
codeTyper.text2_txt.selectable = true;
codeTyper.text3_txt.selectable = true;
codeTyper.text4_txt.selectable = true;
} else {
codeTyper.text1_txt.selectable = false;
codeTyper.text2_txt.selectable = false;
codeTyper.text3_txt.selectable = false;
codeTyper.text4_txt.selectable = false;
}
}
if (player.hitTest(key)) {
if (_root.sound_controller._currentframe == 1) {
_root.key_music.start();
}
if (level == 10) {
codeTyper._x = 67;
codeTyper._y = 291.25;
} else if (level == 9) {
gate3.gotoAndPlay(2);
} else {
gate.gotoAndPlay(2);
}
stuff1._x = -60;
stuff1._y = -60;
key._x = 556.85;
key._y = 16.4;
}
if (player.hitTest(key1)) {
if (_root.sound_controller._currentframe == 1) {
_root.key_music.start();
}
if (level == 9) {
gate.gotoAndPlay(2);
} else {
gate2.gotoAndPlay(2);
gate1.gotoAndPlay(2);
}
stuff2._x = -60;
stuff2._y = -60;
stuff3._x = -60;
stuff3._y = -60;
key1._x = 530.85;
key1._y = 16.4;
}
if (((((extraHit.hitTest(level4Bull1.bull.hitPortion) or extraHit.hitTest(level4Bull2.bull.hitPortion)) or extraHit.hitTest(level4Bull3.bull.hitPortion)) or extraHit1.hitTest(level4Bull1.bull.hitPortion)) or extraHit1.hitTest(level4Bull2.bull.hitPortion)) or extraHit1.hitTest(level4Bull3.bull.hitPortion)) {
} else if (((((((((((((((player.hitTest(level1Bull1.bull.hitPortion) or player.hitTest(level2Bull1.bull.hitPortion)) or player.hitTest(level2Bull2.bull.hitPortion)) or player.hitTest(level2Bull3.bull.hitPortion)) or player.hitTest(level4Bull1.bull.hitPortion)) or player.hitTest(level4Bull2.bull.hitPortion)) or player.hitTest(level4Bull3.bull.hitPortion)) or player.hitTest(level5Bull1.bull.hitPortion)) or player.hitTest(level5Bull2.bull.hitPortion)) or player.hitTest(level5Bull3.bull.hitPortion)) or player.hitTest(level6Bull1.bull.hitPortion)) or player.hitTest(level6Bull2.bull.hitPortion)) or player.hitTest(level6Bull3.bull.hitPortion)) or player.hitTest(level6Bull4.bull.hitPortion)) or player.hitTest(level6Bull2_1.bull.hitPortion)) or player.hitTest(level6Bull2_2.bull.hitPortion)) {
if (_root.sound_controller._currentframe == 1) {
game_music.stop();
aah_music.start();
}
trace("K");
player.gotoAndStop(player._totalframes);
hitAni._x = player._x;
hitAni._y = player._y;
hitAni.gotoAndPlay(2);
}
if (player.hitTest(levelup)) {
_root.gameResult = "WIN";
level1Bull1.removeMovieClip();
_root.gotoAndStop("SCREENS");
}
if (hitAni._currentframe == (hitAni._totalframes - 1)) {
level1Bull1.removeMovieClip();
level2Bull1.removeMovieClip();
level2Bull2.removeMovieClip();
level2Bull3.removeMovieClip();
level4Bull1.removeMovieClip();
level4Bull2.removeMovieClip();
level4Bull3.removeMovieClip();
level5Bull1.removeMovieClip();
level5Bull2.removeMovieClip();
level5Bull3.removeMovieClip();
level6Bull1.removeMovieClip();
level6Bull2.removeMovieClip();
level6Bull3.removeMovieClip();
level6Bull4.removeMovieClip();
level6Bull2_1.removeMovieClip();
level6Bull2_2.removeMovieClip();
Level7_1_Bull1.removeMovieClip();
Level7_1_Bull2.removeMovieClip();
Level7_1_Bull3.removeMovieClip();
Level7_2_Bull1.removeMovieClip();
Level7_2_Bull2.removeMovieClip();
Level7_2_Bull3.removeMovieClip();
Level8_1_Bull.removeMovieClip();
Level8_1_Bull1.removeMovieClip();
Level8_1_Bull2.removeMovieClip();
Level8_2_Bull.removeMovieClip();
Level8_2_Bull1.removeMovieClip();
Level8_2_Bull2.removeMovieClip();
Level9_1_Bull.removeMovieClip();
Level9_1_Bull1.removeMovieClip();
Level9_2_Bull.removeMovieClip();
Level9_2_Bull1.removeMovieClip();
Level9_2_Bull2.removeMovieClip();
Level10_Bull.removeMovieClip();
Level10_Bull1.removeMovieClip();
Level10_Bull2.removeMovieClip();
Level10_Bull3.removeMovieClip();
Level10_Bull4.removeMovieClip();
Level10_Bull5.removeMovieClip();
Level10_Bull6.removeMovieClip();
bull1._x = -248.8;
bull3._x = -388.8;
bull5._x = -88.8;
bull2._x = 727;
bull4._x = 884.1;
trace("ERRORs");
_root.gotoAndStop("GAME_OVER");
}
};
Instance of Symbol 240 MovieClip "player" in Frame 10
onClipEvent (load) {
point = new Object();
step = 8;
step1 = 11;
}
onClipEvent (enterFrame) {
if (!(_root.gameResult === "LOSE")) {
var x;
var r;
x = (r = 0);
if (Key.isDown(38)) {
x = step;
}
if (Key.isDown(40)) {
x = step * -1;
}
if (Key.isDown(39)) {
r = step1;
}
if (Key.isDown(37)) {
r = step1 * -1;
}
if (x == 0) {
_parent.player.gotoAndStop(_parent.player._currentframe);
} else {
_parent.player.play();
}
point.x = x;
point.y = 0;
localToGlobal(point);
_rotation = (_rotation + r);
if ((((_parent.stuff.hitTest(point.x, point.y, true) == false) and (_parent.stuff1.hitTest(point.x, point.y, true) == false)) and (_parent.stuff2.hitTest(point.x, point.y, true) == false)) and (_parent.stuff3.hitTest(point.x, point.y, true) == false)) {
_x = point.x;
_y = point.y;
}
}
}
Frame 11
game_music.stop();
menu_music.stop();
if (_root.sound_controller._currentframe == 1) {
menu_music.start();
}
menu_music.onSoundComplete = function () {
menu_music.start();
};
_root.replay_btn.enabled = true;
_root.score = _root.scoreInitial;
_root.score = 100000 /* 0x0186A0 */;
_root.score = (_root.level - 1) * 5000;
this.score = _root.score;
Frame 12
game_music.stop();
menu_music.stop();
if (_root.sound_controller._currentframe == 1) {
menu_music.start();
}
menu_music.onSoundComplete = function () {
menu_music.start();
};
_root.replay_btn.enabled = true;
_root.score = _root.scoreInitial;
_root.score = 100000 /* 0x0186A0 */;
_root.score = 50000;
Frame 13
stop();
stop();
Frame 14
game_music.stop();
menu_music.stop();
if (_root.sound_controller._currentframe == 1) {
menu_music.start();
}
menu_music.onSoundComplete = function () {
menu_music.start();
};
_root.replay_btn.enabled = true;
_root.score = _root.scoreInitial;
stop();
Instance of Symbol 403 MovieClip in Frame 15
on (press) {
getURL ("http://www.fingerz.co.in/", "_blank");
}
Instance of Symbol 406 MovieClip in Frame 15
on (press) {
_root.gotoAndStop("SCREENS");
}
Frame 15
if (false) {
}
Symbol 14 MovieClip [player_Hit_Bull] Frame 1
stop();
Symbol 14 MovieClip [player_Hit_Bull] Frame 2
_root.gameResult = "LOSE";
Symbol 14 MovieClip [player_Hit_Bull] Frame 57
stop();
this.removeMovieClip();
gotoAndStop (1);
Symbol 17 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 22 MovieClip Frame 120
stop();
_root.gotoAndStop("lblloader");
Symbol 69 MovieClip Frame 1
var total = _root.getBytesTotal();
var loaded = 0;
var percent = 0;
a_mc._xscale = percent;
onEnterFrame = function () {
if (percent <= 100) {
loaded = _root.getBytesLoaded();
percent = Math.ceil((loaded / total) * 100);
trace(percent);
a_mc._xscale = percent;
}
if (loaded >= total) {
_root.gotoAndStop("lblgameintro");
}
};
Instance of Symbol 68 MovieClip "a_mc" in Symbol 69 MovieClip Frame 1
/* no clip actions */
Symbol 78 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
_root.level = 1;
_root.gotoAndStop("IN_GAME");
}
Symbol 82 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
gotoAndStop ("INSTRUCTION");
}
Symbol 91 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
gotoAndStop ("MAIN");
}
Symbol 138 MovieClip Frame 21
_root.score = _root.level * 5000;
this.score = _root.score;
this.level = _root.level + 1;
Symbol 138 MovieClip Frame 45
_root.level++;
_root.gotoAndStop("IN_GAME");
Symbol 144 MovieClip Frame 1
username_txt.onSetFocus = function () {
if (username_txt.text == "Invalid Nickname!") {
username_txt.text = "";
}
};
Selection.setFocus("username_txt");
Symbol 154 Button
on (press) {
gotoAndStop ("MAIN");
}
Symbol 158 MovieClip Frame 1
stop();
level_cmb.addItem("Select Level");
level_cmb.addItem("Level 1");
level_cmb.addItem("Level 2");
level_cmb.addItem("Level 3");
Instance of Symbol 84 MovieClip in Symbol 158 MovieClip Frame 1
on (press) {
_root.gotoAndStop("FINGERZ");
}
Symbol 162 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 168 MovieClip Frame 1
stop();
_root.allSounds.setVolume(100);
_root.so_sound = 1;
Instance of Symbol 165 MovieClip in Symbol 168 MovieClip Frame 1
on (release) {
_root.key_music.stop();
_root.horse_music.stop();
_root.hero_music.stop();
_root.powerup_music.stop();
_root.button_click.stop();
if (_root._currentframe > 9) {
_root.game_music.stop();
} else {
_root.button_click.stop();
_root.menu_music.stop();
}
_parent.gotoAndStop(_currentframe + 1);
}
Symbol 168 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
_root.so_sound = 0;
Instance of Symbol 167 MovieClip in Symbol 168 MovieClip Frame 2
on (release) {
if ((_root._currentframe > 9) and (_root._currentframe < 14)) {
_root.game_music.start();
} else if ((((_root._currentframe == 9) or (_root._currentframe == 14)) or (_root._currentframe == 15)) or (_root._currentframe == 17)) {
_root.menu_music.start();
}
_parent.gotoAndStop(1);
}
Symbol 226 MovieClip Frame 90
gotoAndPlay (1);
Symbol 226 MovieClip Frame 91
stop();
Symbol 230 MovieClip Frame 20
stop();
Symbol 240 MovieClip Frame 8
gotoAndPlay (1);
Symbol 322 Button
on (release) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
trace((((_root.uname + " fdfgd ") + _root.score) + " ") + _root._gameid);
_root.dataSubmit(_root.uname, _root.score, _root._gameid, _root, "GAME_COMPLETE", "CONNECTING", "HIGHSCORE");
}
Symbol 323 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
_root.codeTyper.text1_txt.text = 46;
mystr = "level|" + _root.level;
str = "IN_GAME";
_root._playAgain(_root, str, mystr);
}
Symbol 324 Button
on (release) {
_root._newUser();
}
Symbol 339 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
_root.LEVEL = 1;
mystr = "codeTyper.text1_txt.text|46|LEVEL|" + level;
mystr = "codeTyper.text1_txt.text|46";
str = "SCREENS";
_root._playAgain(_root, str, mystr);
}
Symbol 351 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
_root.cancelSubmit(_root, "gameOver");
}
Symbol 352 Button
on (press) {
if (_root.sound_controller._currentframe == 1) {
_root.button_click.start();
}
mystr = "codeTyper.text1_txt.text|46";
str = "SCREENS";
_root._playAgain(_root, str, mystr);
}
Symbol 385 MovieClip Frame 1
_root.displayScores(this);
Symbol 403 MovieClip Frame 62
stop();
Symbol 406 MovieClip Frame 54
stop();