Frame 1
loadpercent = "0%";
fullload = loader._width;
loader._width = 0;
loadplay = false;
namecreater = "MyPlayCity.com";
Frame 2
loadPercent = Math.floor(((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 1) + "%";
loader._width = (Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) / 100) * fullload;
if ((_root.getBytesLoaded() == _root.getBytesTotal()) and loadplay) {
loadPercent = "100%";
gotoAndStop ("begin");
}
Frame 3
gotoAndPlay (2);
Frame 4
_root.bttn_start.onRollOver = function () {
_root.centr_txt.gotoAndStop(2);
};
_root.bttn_help.onRollOver = function () {
_root.centr_txt.gotoAndStop(3);
};
_root.bttn_start.onRollOut = function () {
_root.centr_txt.gotoAndStop(1);
};
_root.bttn_help.onRollOut = function () {
_root.centr_txt.gotoAndStop(1);
};
numlevel = 1;
tim = 0;
score = 0;
lives = 3;
countscr = 9;
var bonus_get_Sound = new Sound();
bonus_get_Sound.attachSound("bonus_get");
var bonus_lost_Sound = new Sound();
bonus_lost_Sound.attachSound("bonus_lost");
var button_active_Sound = new Sound();
button_active_Sound.attachSound("button_active");
var button_press_Sound = new Sound();
button_press_Sound.attachSound("button_press");
var car_expl_Sound = new Sound();
car_expl_Sound.attachSound("car_expl");
var engine_Sound = new Sound();
engine_Sound.attachSound("engine");
var engine_start_Sound = new Sound();
engine_start_Sound.attachSound("engine_start");
var game_over_Sound = new Sound();
game_over_Sound.attachSound("game_over");
var level_finish_Sound = new Sound();
level_finish_Sound.attachSound("level_finish");
var rabbit_Sound = new Sound();
rabbit_Sound.attachSound("rabbit");
var score_get_Sound = new Sound();
score_get_Sound.attachSound("score_get");
var score_get_Sound = new Sound();
score_get_Sound.attachSound("score_get");
var Shot1_Sound = new Sound();
Shot1_Sound.attachSound("Shot1");
var stone_Sound = new Sound();
stone_Sound.attachSound("stone");
var tick_Sound = new Sound();
tick_Sound.attachSound("tick");
var water_Sound = new Sound();
water_Sound.attachSound("water");
Instance of Symbol 125 MovieClip "sound_bttn" in Frame 4
onClipEvent (load) {
if (_root.tick_Sound.getVolume() < 50) {
this.gotoAndStop(2);
}
stop();
}
onClipEvent (enterFrame) {
this.onRelease = function () {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.tick_Sound.setVolume(0);
} else {
this.gotoAndStop(1);
_root.tick_Sound.setVolume(70);
}
};
}
Frame 5
overview = "<p>The game \u201CNeed For Extreme\u201D presents a breathtaking variety of arcade races. You drive a racing car and your task is to finish first. Thirst for speed and danger makes the game more captivating. You are to take a new route full of obstacles in a limited period of time at each level. The obstacles reduce the speed, skid your car or cause a car crash. The opponents\u2019 cars will stand in your way. The speed of your car reduces if you take an earth road. You can pick up such bonuses as life, scores, speed, and a gun.</p><p>Are you up for the challenge?</p>";
Frame 9
function pausefunction() {
if (!pauseflag) {
pauselabel = "Pause";
} else {
pauselabel = "";
}
pauseflag = !pauseflag;
}
time_wait = 0;
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
timepanel = ((min + ":") + dsek) + sek;
levellabel = "Level " + String(numlevel);
levelpanel = String(numlevel);
livespanel = String(lives);
scorepanel = String(score);
_root.finishline._y = ((-numlevel) * 375) * countscr;
bonustime = "";
trydead = false;
stopdrive = 0;
speedfast = 0;
speedlow = 0;
speedverylow = 0;
undrive = 0;
playenergyflag = true;
if (_root.getInstanceAtDepth(500) == undefined) {
var attcar = _root.attachMovie("car", "car", 500, {_x:350, _y:300});
attcar.turbo._visible = false;
attcar.gun._visible = false;
}
pauselabel = "";
pauseflag = false;
keyflag = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (!keyflag) {
keyflag = true;
if (Key.getCode() == 80) {
pausefunction();
}
}
};
keyListener.onKeyUp = function () {
keyflag = false;
};
Key.addListener(keyListener);
Instance of Symbol 165 MovieClip "bonuspanel" in Frame 9
onClipEvent (load) {
stop();
}
Instance of Symbol 125 MovieClip "sound" in Frame 9
onClipEvent (load) {
if (_root.tick_Sound.getVolume() < 50) {
this.gotoAndStop(2);
}
stop();
}
onClipEvent (enterFrame) {
this.onRelease = function () {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.tick_Sound.setVolume(0);
} else {
this.gotoAndStop(1);
_root.tick_Sound.setVolume(70);
}
};
}
Frame 10
if (tim > 0) {
score = score + 2;
scorepanel = String(score);
tim = tim - 1;
tick_Sound.start();
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
timepanel = ((min + ":") + dsek) + sek;
}
if (time_wait > 36) {
gotoAndPlay ("gogogo");
tim = 40 + ((numlevel - 1) * 10);
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
timepanel = ((min + ":") + dsek) + sek;
}
if (tim == 0) {
time_wait = time_wait + 1;
}
if (time_wait == 30) {
engine_start_Sound.start();
}
Frame 11
gotoAndPlay (10);
Frame 12
function firecarfun() {
if (!pauseflag) {
Shot1_Sound.start();
this.gun.play();
}
}
function loadcars() {
this.frm = Math.round(Math.random() * 9);
if (this.frm == 0) {
this.frm = 9;
}
this.gotoAndStop(this.frm);
if (this._name == "cars0") {
this._yscale = -100;
xx = 1;
this.speedcars = (Math.random() * 5) + 2;
this._y = -25 - ((Math.random() * 375) * 5);
} else {
this._yscale = 100;
this._y = -25 - ((Math.random() * 375) * 2);
this.upflag = this._y;
this.speedcars = (Math.random() * 10) + 5;
if (this._name == "cars1") {
xx = 2;
}
if (this._name == "cars2") {
xx = 3;
}
}
this._x = 140 + (70 * xx);
this.onEnterFrame = this._parent.movecars;
this.onMouseDown = this._parent.onlinefire;
}
function movecars() {
if ((_root._currentframe > 17) || (_root._currentframe < 12)) {
removeMovieClip(this);
}
if (this._y < (this.upflag - 200)) {
this.onLoad();
}
if (!pauseflag) {
if (this._y > 0) {
this.upflag = 0;
}
if (this._yscale > 0) {
this._y = this._y + (speed - this.speedcars);
} else {
this._y = this._y + (speed + this.speedcars);
}
if (this._y > 800) {
this.onLoad();
}
if (this.hitTest(car.hit) && (!trydead)) {
trydead = true;
var _local3 = _root.getNextHighestDepth();
_root.attachMovie("expl", "expl" + String(_local3), _local3, {_x:this._x, _y:this._y});
this._y = 1000;
}
}
}
function loadobstacles() {
this.frm = Math.round(Math.random() * 9);
if (this.frm == 0) {
this.frm = 9;
}
this.gotoAndStop(this.frm);
if (this.frm < 4) {
xx = Math.round(Math.random() * 3);
if (xx == 0) {
xx = 3;
}
this._x = 140 + (70 * xx);
this._y = -25 - ((Math.random() * 375) * 1);
} else {
xx = Math.round(Math.random() * 6);
if (xx == 0) {
xx = 6;
}
this._x = 160 + (35 * xx);
this._y = -25 - ((Math.random() * 375) * 3);
}
this.onEnterFrame = this._parent.moveobstacles;
this.onMouseDown = this._parent.onobstacleslinefire;
}
function onobstacleslinefire() {
if (!pauseflag) {
if (((firecar > 0) && (!fire)) && (this._y > 0)) {
var _local3 = this._currentframe;
if ((_local3 == 2) || (_local3 == 8)) {
if ((this._x > (car._x - 20)) && (this._x < (car._x + 20))) {
fire = true;
var _local4 = _root.getNextHighestDepth();
var _local5 = _root.attachMovie("expl", "expl" + String(_local4), _local4, {_x:this._x, _y:this._y});
_local5.onEnterFrame = _root.moveobject;
this.onLoad();
}
}
}
}
}
function moveobstacles() {
if ((_root._currentframe > 17) || (_root._currentframe < 12)) {
removeMovieClip(this);
}
if (!pauseflag) {
this._y = this._y + speed;
if (this._y > 380) {
this.onLoad();
}
if (this.hitTest(car.hit) && (!trydead)) {
switch (this._currentframe) {
case 1 :
case 9 :
water_Sound.start();
undrive = 1;
break;
case 2 :
case 8 :
car_expl_Sound.start();
if (speed > 15) {
trydead = true;
} else {
speedverylow = 12;
}
var _local3 = _root.getNextHighestDepth();
_root.attachMovie("expl", "expl" + String(_local3), _local3, {_x:this._x, _y:this._y});
this._y = 400;
break;
case 3 :
stopdrive = 120;
break;
case 4 :
case 7 :
speedlow = 12;
break;
case 5 :
rabbit_Sound.start();
score = score - 100;
if (score < 0) {
score = 0;
}
this._y = 400;
break;
case 6 :
stone_Sound.start();
speedverylow = 12;
}
this.onEnterFrame = _root.moveusedobject;
}
}
}
function loadbonuses() {
this.frm = Math.round(Math.random() * 7);
if ((this.frm == 6) and ((Math.random() * 10) > 2)) {
this.frm = Math.round(Math.random() * 7);
}
if (this.frm == 0) {
this.frm = 7;
}
this.gotoAndStop(this.frm);
xx = Math.round(Math.random() * 3);
if (xx == 0) {
xx = 3;
}
this._x = 140 + (70 * xx);
this._y = -25 - ((Math.random() * 375) * 2);
this.onEnterFrame = this._parent.movebonuses;
this.onMouseDown = this._parent.onlinefire;
}
function movebonuses() {
if ((_root._currentframe > 17) || (_root._currentframe < 12)) {
removeMovieClip(this);
}
if (!pauseflag) {
this._y = this._y + speed;
if (this._y > 380) {
this.onLoad();
}
if (this.hitTest(car.hit)) {
switch (this._currentframe) {
case 1 :
score_get_Sound.start();
score = score + 10;
break;
case 2 :
score_get_Sound.start();
score = score + 20;
break;
case 3 :
score_get_Sound.start();
score = score + 50;
break;
case 4 :
score_get_Sound.start();
score = score + 100;
break;
case 5 :
bonus_get_Sound.start();
firecar = 120;
car.gun._visible = true;
car.onMouseDown = firecarfun;
break;
case 6 :
score_get_Sound.start();
lives = lives + 1;
break;
case 7 :
bonus_get_Sound.start();
speedfast = 120;
car.turbo._visible = true;
}
this._y = 400;
}
}
}
function onlinefire() {
if (!pauseflag) {
if (((firecar > 0) && (!fire)) && (this._y > 0)) {
if ((this._x > (car._x - 20)) && (this._x < (car._x + 20))) {
fire = true;
var _local3 = _root.getNextHighestDepth();
var _local4 = _root.attachMovie("expl", "expl" + String(_local3), _local3, {_x:this._x, _y:this._y});
_local4.onEnterFrame = _root.moveobject;
this.onLoad();
}
}
}
}
function moveusedobject() {
if (_root._currentframe < 12) {
removeMovieClip(this);
}
if (!pauseflag) {
this._y = this._y + speed;
if (this._y > 380) {
this.onLoad();
}
}
}
function moveobject() {
if (_root._currentframe < 12) {
removeMovieClip(this);
}
if (!pauseflag) {
this._y = this._y + speed;
}
}
frameN = 1;
land.onEnterFrame = function () {
if (!pauseflag) {
var _local4 = Math.round(((315 - _root._ymouse) / 33) * 2);
if (_local4 > 10) {
_local4 = 10;
}
if (_local4 < 0) {
_local4 = 0;
}
var _local3 = 1.2;
if (car._x < 175) {
_local3 = 0.9;
}
if (speedfast > 0) {
speedfast = speedfast - 1;
_local3 = 1.5;
if (speedfast == 0) {
car.turbo._visible = false;
bonus_lost_Sound.start();
}
}
if (speedlow > 0) {
speedlow = speedlow - 1;
_local3 = 0.9;
}
if (speedverylow > 0) {
speedverylow = speedverylow - 1;
_local3 = 0.7;
}
if (stopdrive > 0) {
stopdrive = stopdrive - 1;
_local3 = 0.7;
}
speed = (_local4 * _local3) * 1.5;
if (_root._currentframe > 14) {
speed = 0;
}
_root.finishline._y = _root.finishline._y + speed;
var _local6 = Math.abs(_root.finishline._y - 350) / (((numlevel * 375) * countscr) + 350);
_root.carsmall._y = 35 + (175 * _local6);
var _local5 = 13.5;
_root.pointer._rotation = speed * _local5;
if ((this._y + speed) < 320) {
this._y = this._y + speed;
} else {
this._y = this._y + (speed - 320);
}
}
if (playenergyflag) {
playenergyflag = false;
engine_Sound.start();
}
if ((_root._currentframe > 17) || (_root._currentframe < 12)) {
playenergyflag = true;
engine_Sound.stop();
delete this.onEnterFrame;
}
};
engine_Sound.onSoundComplete = function () {
playenergyflag = true;
};
car.onEnterFrame = function () {
if ((_root._currentframe > 17) || (_root._currentframe < 12)) {
delete this.onEnterFrame;
}
if ((_root._currentframe < 9) || (_root._currentframe > 20)) {
removeMovieClip(this);
}
if (!pauseflag) {
if (speed != 0) {
var _local3 = 100 / speed;
dx = this._xmouse / _local3;
} else {
dx = 0;
}
if (undrive > 0) {
undrive = undrive - 1;
dx = (Math.random() * 50) - 25;
}
if (firecar > 0) {
firecar = firecar - 1;
if (firecar == 0) {
car.gun._visible = false;
bonus_lost_Sound.start();
delete this.onMouseDown;
}
}
if (((this._x + dx) < 365) && ((this._x + dx) > 125)) {
this._x = this._x + dx;
}
}
};
bonuspanel.onEnterFrame = function () {
if (!pauseflag) {
frm = 1;
if (firecar > 0) {
if ((((stopdrive == 0) && (speedfast == 0)) || ((firecar < stopdrive) && (speedfast == 0))) || ((stopdrive == 0) && (firecar < speedfast))) {
frm = 2;
}
}
if (speedfast > 0) {
if ((((firecar == 0) && (stopdrive == 0)) || ((speedfast < stopdrive) && (firecar == 0))) || ((stopdrive == 0) && (speedfast < firecar))) {
frm = 3;
}
}
if (stopdrive > 0) {
if ((((firecar == 0) && (speedfast == 0)) || ((stopdrive < firecar) && (speedfast == 0))) || ((firecar == 0) && (stopdrive < speedfast))) {
frm = 4;
}
}
switch (frm) {
case 1 :
tx = 0;
break;
case 2 :
tx = Math.floor(firecar / 12);
break;
case 3 :
tx = Math.floor(speedfast / 12);
break;
case 4 :
tx = Math.floor(stopdrive / 12);
}
if (frm != this._currentframe) {
this.gotoAndStop(frm);
if (tx != 0) {
bonustime = String(tx);
} else {
bonustime = "";
}
}
if ((tx != 0) && ((frameN % 12) == 0)) {
bonustime = String(tx);
}
if ((_root._currentframe > 14) || (_root._currentframe < 12)) {
stopdrive = 0;
firecar = 0;
speedfast = 0;
speedlow = 0;
speedverylow = 0;
undrive = 0;
this.gotoAndStop(1);
bonustime = "";
car.turbo._visible = false;
car.gun._visible = false;
delete this.onEnterFrame;
}
}
};
bonuses.onLoad = function () {
var _local4 = 2;
var _local2 = 0;
while (_local2 < _local4) {
var _local3 = bonuses.duplicateMovieClip("bonuses" + String(_local2), 200 + _local2);
_local3.onLoad = this._parent.loadbonuses;
_local2++;
}
};
obstacles.onLoad = function () {
if ((numlevel % 3) != 0) {
var _local4 = numlevel + 1;
if (numlevel > 5) {
_local4 = 6;
}
var _local2 = 0;
while (_local2 < _local4) {
var _local3 = obstacles.duplicateMovieClip("obstacles" + String(_local2), 100 + _local2);
_local3.onLoad = this._parent.loadobstacles;
_local2++;
}
}
};
cars.onLoad = function () {
if ((numlevel % 3) == 0) {
var _local4 = 3;
var _local2 = 0;
while (_local2 < _local4) {
var _local3 = cars.duplicateMovieClip("cars" + String(_local2), 300 + _local2);
_local3.onLoad = this._parent.loadcars;
_local2++;
}
}
};
Instance of Symbol 188 MovieClip "obstacles" in Frame 12
onClipEvent (load) {
stop();
}
Instance of Symbol 202 MovieClip "bonuses" in Frame 12
onClipEvent (load) {
stop();
}
Instance of Symbol 221 MovieClip "cars" in Frame 12
onClipEvent (load) {
stop();
}
Frame 13
if (!pauseflag) {
frameN = frameN + 1;
if ((frameN % 12) == 0) {
tim = tim - 1;
if (tim < 10) {
tick_Sound.start();
}
min = Math.floor(tim / 60);
dsek = Math.floor((tim - (60 * min)) / 10);
sek = Math.floor((tim - (60 * min)) - (10 * dsek));
timepanel = ((min + ":") + dsek) + sek;
}
}
scorepanel = String(score);
livespanel = String(lives);
fire = false;
if (_root.finishline._y > 350) {
engine_Sound.stop();
level_finish_Sound.start();
numlevel = numlevel + 1;
gotoAndPlay ("wait_level");
}
if (tim <= 0) {
lives = lives - 1;
livespanel = String(lives);
game_over_Sound.start();
if (lives <= 0) {
gotoAndPlay ("game_over");
} else {
gotoAndPlay ("time_out");
}
}
if (trydead) {
trydead = false;
lives = lives - 1;
livespanel = String(lives);
var i = _root.getNextHighestDepth();
_root.attachMovie("expl", "expl" + String(i), i, {_x:car._x, _y:car._y});
if (lives <= 0) {
game_over_Sound.start();
gotoAndPlay ("game_over");
} else {
gotoAndPlay ("dead");
}
}
if (Key.isDown(27)) {
lives = 1;
trydead = true;
engine_Sound.stop();
}
Frame 14
gotoAndPlay (13);
Frame 15
time_wait = 0;
Frame 16
if (time_wait > 36) {
gotoAndPlay ("gogogo");
}
time_wait = time_wait + 1;
Frame 17
gotoAndPlay (16);
Frame 18
time_wait = 0;
Frame 19
if (time_wait > 36) {
gotoAndPlay ("wait_level");
}
time_wait = time_wait + 1;
Frame 20
gotoAndPlay (19);
Frame 21
time_wait = 0;
Frame 22
if (time_wait > 36) {
gotoAndStop ("download");
}
time_wait = time_wait + 1;
Frame 23
gotoAndPlay (22);
Frame 24
namecreater = "MyPlayCity.com";
_root.name_txt.text = namecreater;
LoadVars.prototype.clear = function () {
for (element in this) {
if (typeof(this[element]) != "function") {
delete this[element];
}
}
};
setStatus = function (statusText) {
_root.status_txt.text = statusText;
};
getStatus = function () {
return(status_txt.text);
};
setFocusHandler = function () {
setStatus(this.statusText);
this.backgroundColor = 16777215 /* 0xFFFFFF */;
};
killFocusHandler = function () {
setStatus("");
this.backgroundColor = 13291221 /* 0xCACED5 */;
};
changedHandler = function () {
var _local2 = true;
var _local3 = false;
_local3 = true;
if (((_root.name_txt.length == 0) || (_root.email_txt.length == 0)) || (((_root.email1_txt.length == 0) && (_root.email2_txt.length == 0)) && (_root.email3_txt.length == 0))) {
_local2 = false;
}
if (_local2) {
submitBtn.enable();
} else {
submitBtn.disable();
}
if (_local3) {
resetBtn.enable();
} else {
resetBtn.disable();
}
};
enableForm = function () {
var _local2 = 0;
while (_local2 < textFields.length) {
_root[textFields[_local2]].selectable = true;
_root[textFields[_local2]].border = true;
_local2++;
}
submitBtn.enable();
resetBtn.enable();
cancelBtn.enable();
};
disableForm = function () {
var _local2 = 0;
while (_local2 < textFields.length) {
_root[textFields[_local2]].selectable = false;
_root[textFields[_local2]].border = false;
_local2++;
}
submitBtn.disable();
resetBtn.disable();
cancelBtn.disable();
};
resetForm = function () {
setStatus("");
_global.oldStatusText = "";
var _local3 = 0;
while (_local3 < textFields.length) {
_root[textFields[_local3]].selectable = true;
_root[textFields[_local3]].border = true;
if (_root[textFields[_local3]]._name != "subject_txt") {
_root[textFields[_local3]].text = "";
}
if (_root[textFields[_local3]]._name == "name_txt") {
_root[textFields[_local3]].text = namecreater;
}
_local3++;
}
resetBtn.disable();
submitBtn.disable();
};
submitForm = function () {
disableForm();
dataHandler.clear();
var _local2 = 0;
while (_local2 < textFields.length) {
if (_local2 != (textFields.length - 1)) {
dataHandler[textFields[_local2]] = _root[textFields[_local2]].text;
} else {
var _local3 = new String(_root._url);
dataHandler[textFields[_local2]] = "http://www.myplaycity.com/online_games/online_need_for_extreme.html";
}
_local2++;
}
dataHandler.sendAndLoad("http://www.myplaycity.com/online_games/mailer.php", dataHandler, "POST");
setStatus("Contacting server...please wait!");
};
cancelForm = function () {
gotoAndStop ("begin");
};
messageBox = function (message) {
setStatus("");
_global.oldStatusText = "";
var _local7 = 200;
var _local4 = _root.createEmptyMovieClip("msgBox_mc", 0);
_local4.createTextField("body_txt", 1, 5, 5, _local7 - 10, 10);
_local4.body_txt.multiline = true;
_local4.body_txt.autoSize = true;
_local4.body_txt.wordWrap = true;
_local4.body_txt.selectable = false;
_local4.body_txt.textColor = 6776679 /* 0x676767 */;
_local4.body_txt.text = message;
var _local8 = new TextFormat();
_local8.align = "center";
_local8.font = "_sans";
_local8.size = 12;
_local4.body_txt.setTextFormat(_local8);
var _local6 = _local4.body_txt.textHeight + 10;
var _local5 = _local4.attachMovie("FSimpleButton", "closeBtn", 0);
_local5._x = (_local7 - _local5._width) / 2;
_local5._y = _local6;
_local5.captionText = "Ok";
_local5.showHand = false;
_local5.captionColor = 6776681 /* 0x676769 */;
_local5.init();
_local5.onRelease = function () {
enableForm();
this._parent.removeMovieClip();
};
_local6 = _local6 + (_local5._height + 5);
_local4._x = (Stage.width - _local7) / 2;
_local4._y = (Stage.height - _local6) / 2;
_local4.moveTo(0, _local6);
_local4.lineStyle(1, 16119544, 100);
_local4.beginFill(15461616, 100);
_local4.lineTo(0, 0);
_local4.lineTo(_local7, 0);
_local4.lineStyle(1, 12763844, 100);
_local4.lineTo(_local7, _local6);
_local4.lineTo(0, _local6);
_local4.endFill();
};
dataHandler = new LoadVars();
dataHandler.onLoad = function (success) {
messageBox("Thank you!");
};
textFields = ["name_txt", "email_txt", "subject_txt", "email1_txt", "email2_txt", "email3_txt", "link_txt"];
statusStrings = ["Enter your name here", "You should enter your email address here", "This is the subject of your email", "You should enter friend's email address here", "You should enter friend's email address here", "You should enter friend's email address here"];
count = 0;
while (count < (textFields.length - 1)) {
textField_txt = this[textFields[count]];
textField_txt.border = true;
textField_txt.borderColor = 11645361 /* 0xB1B1B1 */;
textField_txt.background = true;
textField_txt.backgroundColor = 13291221 /* 0xCACED5 */;
textField_txt.onSetFocus = setFocusHandler;
textField_txt.onKillFocus = killFocusHandler;
textField_txt.onChanged = changedHandler;
textField_txt.statusText = statusStrings[count];
count++;
}
changedHandler();
stop();
Instance of Symbol 60 MovieClip [FSimpleButton] "submitBtn" in Frame 24
//component parameters
onClipEvent (construct) {
captionText = "Submit";
captionColor = 6776681 /* 0x676769 */;
captionDisabledColor = 11645361 /* 0xB1B1B1 */;
clickHandler = "submitForm";
showHand = false;
statusText = "Submit form details to server";
statusVar = "statusText";
}
Instance of Symbol 60 MovieClip [FSimpleButton] "resetBtn" in Frame 24
//component parameters
onClipEvent (construct) {
captionText = "Reset";
captionColor = 6776681 /* 0x676769 */;
captionDisabledColor = 11645361 /* 0xB1B1B1 */;
clickHandler = "resetForm";
showHand = false;
statusText = "Clear the form fields";
statusVar = "statusText";
}
Instance of Symbol 60 MovieClip [FSimpleButton] "cancelBtn" in Frame 24
//component parameters
onClipEvent (construct) {
captionText = "Cancel";
captionColor = 6776681 /* 0x676769 */;
captionDisabledColor = 11645361 /* 0xB1B1B1 */;
clickHandler = "cancelForm";
showHand = false;
statusText = "Return to Menu";
statusVar = "statusText";
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 53 MovieClip [expl] Frame 14
removeMovieClip(this);
Symbol 60 MovieClip [FSimpleButton] Frame 1
#initclip 1
FSimpleButton = function () {
this.init();
};
FSimpleButton.prototype = new MovieClip();
FSimpleButton.prototype.init = function () {
this.caption_txt.text = this.captionText;
this.caption_txt.textColor = this.captionColor;
this.useHandCursor = this.showHand;
this.tabEnabled = false;
this.onRollOut = this.myRollOut;
this.onRollOver = this.myRollOver;
this.onPress = this.myPress;
this.onRelease = this.myRelease;
this.onDragOut = this.myDragOut;
this.onDragOver = this.myDragOver;
this.onReleaseOutside = this.myReleaseOutside;
};
FSimpleButton.prototype.myRollOut = function () {
this._parent[this.statusVar] = _global.oldStatusText;
};
FSimpleButton.prototype.myRollOver = function () {
_global.oldStatusText = this._parent[this.statusVar];
this._parent[this.statusVar] = this.statusText;
};
FSimpleButton.prototype.myPress = function () {
};
FSimpleButton.prototype.myRelease = function () {
this._parent[this.clickHandler](this);
};
FSimpleButton.prototype.myDragOut = function () {
this.gotoAndStop("_up");
};
FSimpleButton.prototype.myDragOver = function () {
};
FSimpleButton.prototype.myReleaseOutside = function () {
};
FSimpleButton.prototype.disable = function () {
this.caption_txt.textColor = this.captionDisabledColor;
this.gotoAndStop("disabled");
this.enabled = false;
};
FSimpleButton.prototype.enable = function () {
this.enabled = true;
this.gotoAndStop("_up");
this.caption_txt.textColor = this.captionColor;
};
FSimpleButton.prototype.isEnabled = function () {
return(this.enabled);
};
Object.registerClass("FSimpleButton", FSimpleButton);
#endinitclip
stop();
Symbol 68 MovieClip Frame 50
_root.loadplay = true;
stop();
Symbol 79 Button
on (press) {
getURL ("http://www.myplaycity.com", "_blank");
}
Symbol 89 Button
on (release) {
gotoAndPlay ("wait_level");
button_press_Sound.start();
}
on (rollOver) {
button_active_Sound.start();
}
Symbol 90 Button
on (release) {
if (_root._currentframe == 4) {
gotoAndStop (5);
} else {
gotoAndStop (4);
}
button_press_Sound.start();
}
on (rollOver) {
button_active_Sound.start();
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 97 Button
on (press) {
getURL ("http://www.myplaycity.com/need_extreme", "_blank");
}
Symbol 100 Button
on (press) {
getURL ("http://www.myplaycity.com/online_games", "_blank");
}
Symbol 102 Button
on (press) {
getURL ("http://www.myplaycity.com/free_content", "_blank");
}
Symbol 112 Button
on (press) {
getURL ("http://www.myplaycity.com/subscribe", "_blank");
}
Symbol 117 Button
on (press) {
getURL ("http://www.myplaycity.com/custom_games/online", "_blank");
}
Symbol 122 Button
on (press) {
gotoAndStop ("download");
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 127 Button
on (release) {
if (_root._currentframe > 5) {
_root.prevFrame();
} else {
_root.gotoAndStop(8);
}
button_press_Sound.start();
}
on (rollOver) {
button_active_Sound.start();
}
Symbol 128 Button
on (release) {
if (_root._currentframe < 8) {
_root.nextFrame();
} else {
_root.gotoAndStop(5);
}
button_press_Sound.start();
}
on (rollOver) {
button_active_Sound.start();
}
Symbol 134 Button
on (release) {
overview.scroll++;
}
Symbol 135 Button
on (release) {
overview.scroll--;
}