Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("987866e4", this, 10301, true);
var standArr = [2500, 3000, 3300, 3800, 4000, 5000, 5500, 6200, 6800, 7000];
var flagArr = [3300, 4200, 5100, 6000, 6500, 8000, 9800, 10400, 11700, 12000];
var obsArr = [5100, 6400, 7900, 9500, 10000, 12000, 15000, 17500, 19000, 22000];
var opSpeed = [32, 37, 43, 47, 49, 52, 61, 65, 70, 75];
var totalScore = 0;
var levelScore;
var level = 0;
var run = false;
op = 90;
var accelerate = 0.5;
var deaccelerate = 0.6;
_root.levelScore = 100;
var totalLevel = standArr.length;
var totalChance = 3;
var chance = 3;
var mainSound = true;
var globalSound = new Sound(this);
_root.globalSound.setVolume(50);
onEnterFrame = function () {
var _local1 = getBytesLoaded();
var _local2 = getBytesTotal();
if (_local1 >= _local2) {
if (run == true) {
gotoAndStop ("splash");
delete onEnterFrame;
}
} else {
var _local3 = (_local1 / _local2) * 100;
preloaderBar.gotoAndStop(Math.ceil(_local3));
}
};
stop();
Frame 11
var bgSound = new Sound(_root.snd);
bgSound.attachSound("background1");
bgSound.start(0, 100);
bgSound.volume = 50;
if (bgSound) {
trace(bgSound.volume);
}
stop();
Instance of Symbol 111 MovieClip in Frame 11
on (press) {
if (sound) {
this.gotoAndPlay(2);
_root.globalSound.setVolume(0);
_root.mainSound = false;
} else {
this.gotoAndPlay(1);
_root.mainSound = true;
_root.globalSound.setVolume(50);
}
}
Frame 30
function moveObjects() {
_root.screen1.screenMove();
if (flag) {
_root.sageata._visible = false;
speed = ((speed > op) ? (op) : ((speed = speed + accelerate)));
if (_root.controller._rotation > -25) {
_root.controller._rotation = _root.controller._rotation - 0.2;
} else {
_root.controller._rotation = -25;
}
} else if (!flag) {
if (!_root.car.disable) {
speed = ((speed <= 0) ? 0 : ((speed = speed - deaccelerate)));
if (_root.controller._rotation < 0) {
_root.controller._rotation = _root.controller._rotation + 0.2;
} else {
_root.controller._rotation = 0;
}
}
}
_root.screen1.speed = (_root.car.speed = speed);
distance = distance + speed;
}
var interval;
var screen1 = _root.attachMovie("screen", "screen", -1);
carPos = 406;
var car = _root.attachMovie("car", "car", 1, {_x:150, _y:carPos});
var sageata = _root.attachMovie("sageata", "sageata", 2, {_x:730, _y:480});
var controller = _root.attachMovie("controller", "controller", 100, {_x:794.8, _y:536.9});
_root.controller.enable = false;
var speed = 0;
var flag = false;
var distance = 0;
var jump = false;
var standPosition = standArr[level];
var targetPosition = flagArr[level];
var obsPosition = obsArr[level];
var result = "lost";
levelScore = 0;
var dis1 = 0;
onEnterFrame = function () {
moveObjects();
};
var scorers = new LoadVars();
stop();
Frame 40
stop();
attachMovie("backgroundNegru", "backgroundNegru", _root.getNextHighestDepth(), {_x:400, _y:300, _alpha:85});
attachMovie("resultClip", "resultClip", _root.getNextHighestDepth(), {_x:400, _y:300, _width:350, _height:150});
trace("result " + result);
if (result == "lost") {
_root.levelScore = 0;
chance--;
resultClip.gotoAndPlay("tryAgain");
resultClip.LScoreTxt.text = "0";
resultClip.LscoreTxt1.text = "0";
resultClip.TScoreTxt.text = totalScore;
resultClip.TscoreTxt1.text = totalScore;
if (chance == 0) {
resultClip.gotoAndPlay("gameOver");
level = 0;
totalScore = 0;
}
} else if (result == "win") {
_root.level++;
_root.totalScore = int(_root.totalScore) + int(_root.levelScore);
chance = totalChance;
resultClip.LScoreTxt.text = int(_root.levelScore);
resultClip.LScoreTxt1.text = int(_root.levelScore);
resultClip.TScoreTxt.text = totalScore;
resultClip.TScoreTxt1.text = totalScore;
if (totalLevel == _root.level) {
_root.level = 0;
resultClip.gotoAndPlay("complete");
resultClip.LscoreTxt.text = int(_root.levelScore);
resultClip.LscoreTxt1.text = int(_root.levelScore);
resultClip.TscoreTxt.text = totalScore;
resultClip.TscoreTxt1.text = totalScore;
totalScore = 0;
}
}
Symbol 12 MovieClip [mini] Frame 1
stop();
Symbol 27 MovieClip Frame 3
if (int(random(10) == 1)) {
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Symbol 71 MovieClip Frame 312
_root.run = true;
Symbol 75 MovieClip Frame 1
stop();
this.visible = false;
Symbol 75 MovieClip Frame 2
this.visible = true;
Symbol 76 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 338 MovieClip [__Packages.controller] Frame 0
class controller extends MovieClip
{
var stpSnd, slwSnd, snd, sndBack, hitArea, harea, _rotation, enable;
function controller () {
super();
stpSnd = new Sound(this);
slwSnd = new Sound(this);
snd = new Sound(this);
sndBack = new Sound(this);
hitArea = harea;
snd.attachSound("ferrari");
sndBack.attachSound("back");
slwSnd.attachSound("slowSnd");
stpSnd.attachSound("lastSnd");
_rotation = 0;
if (_root.level != 0) {
}
}
function onRelease() {
if (enable) {
soundDown();
_root.flag = false;
}
}
function onReleaseOutside() {
onRelease();
}
function onDragOut() {
}
function onPress() {
if (enable) {
slwSnd.stop();
repeat2 = false;
_root.flag = true;
clicked = true;
soundUp();
}
}
function onRollOver() {
if (_root.level == 0) {
}
}
function onRollOut() {
if ((_root.level == 0) && (!clicked)) {
}
}
function soundUp() {
if (!frst) {
snd.start();
frst = true;
return(undefined);
}
var _local2 = (sndBack.duration - sndBack.position) / 1000;
sndBack.stop();
snd.start(_local2);
}
function soundDown() {
var _local2 = (snd.duration - snd.position) / 1000;
snd.stop();
sndBack.start(_local2);
}
function onEnterFrame() {
if ((((sndBack.duration == sndBack.position) && (_root.car.jump != "post")) && (_root.speed > 0)) && (!repeat)) {
repeat = true;
slwSnd.start(0, 30);
}
if ((((_root.speed < 7) && (_root.car.landing)) && (!repeat1)) && (!_root.car.hitObs)) {
slwSnd.stop();
stpSnd.start();
repeat1 = true;
}
if (((((sndBack.duration == sndBack.position) && (_root.car.jump == "post")) && (_root.speed > 0)) && (!repeat2)) && (!_root.flag)) {
trace("3" + _root.flag);
repeat3 = false;
repeat2 = true;
sndBack.stop();
slwSnd.start(0, 30);
}
if ((((_root.speed == 0) && (_root.car.jump == "post")) && (sndBack.duration == sndBack.position)) && (!repeat3)) {
trace("4");
repeat3 = true;
slwSnd.stop();
}
}
var frst = false;
var repeat = false;
var repeat1 = false;
var repeat2 = false;
var repeat3 = false;
var clicked = false;
}
Symbol 339 MovieClip [__Packages.speedoMeter] Frame 0
class speedoMeter extends MovieClip
{
var arrow, speedTxt;
function speedoMeter () {
super();
}
function setMeter(speed) {
arrow._rotation = speed;
var _local2 = int(speed);
speedTxt.text = _local2;
}
}
Symbol 340 MovieClip [__Packages.screen1] Frame 0
class screen1 extends MovieClip
{
var pointArr, speed, optimumSpeed, opSpeedClip, levelTxt, VGame, startBanner, attachMovie, getNextHighestDepth, mini, nr, truckDim, stad1, stad2, soundBtn, speedoMeter, distanta, flag, obs;
function screen1 () {
super();
}
function onLoad() {
pointArr = new Array();
speed = 0;
optimumSpeed.opSpeedTxt.text = _root.opSpeed[_root.level];
opSpeedClip.opSpeedTxt.text = _root.opSpeed[_root.level];
opSpeedClip.opSpeedTxt1.text = _root.opSpeed[_root.level];
levelTxt.text = _root.level + 1;
VGame.setObjects(_root.standPosition, _root.targetPosition);
startBanner = attachMovie("startBanner", "startBanner", getNextHighestDepth(), {_x:150, _y:250});
mini = attachMovie("mini", "mini", getNextHighestDepth(), {_x:403.3, _y:42});
attachMovie("overint", "overint", 1000000, {_x:400, _y:300});
if (_root.level < 2) {
nr = 1;
truckDim = 350;
} else if ((_root.level == 2) || (_root.level == 3)) {
nr = 2;
truckDim = 700;
}
if ((_root.level == 4) || (_root.level == 5)) {
nr = 3;
truckDim = 440;
}
if ((_root.level == 6) || (_root.level == 7)) {
nr = 4;
truckDim = 350;
}
if ((_root.level == 8) || (_root.level == 9)) {
nr = 5;
truckDim = 950;
}
trace(nr);
stad1.gotoAndStop(nr);
stad2.gotoAndStop(nr);
startBanner.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
if (this._x < (-this._width)) {
this.removeMovieClip();
}
};
if (_root.mainSound == true) {
soundBtn.gotoAndStop(1);
_root.globalSound.setVolume(50);
} else {
soundBtn.gotoAndStop(2);
_root.globalSound.setVolume(0);
}
}
function screenMove() {
speedoMeter.setMeter(speed);
stad1._x = stad1._x - speed;
stad2._x = stad2._x - speed;
if (stad1._x < ((-stad1._width) + 397.45)) {
stad1._x = stad2._x + stad2._width;
}
if (stad2._x < ((-stad2._width) + 397.45)) {
stad2._x = stad1._x + stad1._width;
}
checkObjects();
}
function move_object(mov, speed) {
mov._x = mov._x - speed;
if (mov._x < (-mov._width)) {
mov._x = 550;
}
}
function checkObjects() {
VGame.setVCar(_root.distance, _root.targetPosition);
if (((_root.distance + distanceAct) >= _root.standPosition) && (!created)) {
var _local3 = attachMovie("stand", "stand", 4, {_x:800, _y:obsYpos});
_local3.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
if (this._x < (-this._width)) {
this.removeMovieClip();
}
_root.car.checkStandHit();
};
createTruck();
created = true;
}
mini.gotoAndStop(Math.ceil(100 - ((_root.standPosition - _root.distance) / (_root.standPosition / 100))));
if (((_root.distance + distanceAct) <= _root.standPosition) && (!created3)) {
if (!distanta) {
distanta = attachMovie("pointStone", "pointStone", 10, {_x:700, _y:400, _width:70, _height:70});
addProperty(distanta, Math.floor(_root.standPosition - _root.distance));
} else {
distanta.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
if (this._x < (-this._width)) {
if (_root.distance < _root.standPosition) {
this.pointTxt.text = Math.floor(_root.standPosition - _root.distance);
this._x = 800;
}
}
};
}
}
if (((_root.distance + distanceAct) >= _root.targetPosition) && (!created1)) {
flag = attachMovie("flag", "flag", 5, {_x:1400, _y:obsYpos});
flag.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
_root.car.checkFlagHit();
};
createPointStone();
created1 = true;
}
if (((_root.distance + distanceAct) >= _root.obsPosition) && (!created2)) {
obs = attachMovie("obstacle", "obstacle", 6, {_x:1800, _y:obsYpos});
obs.hit = false;
obs.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
if (this.hitTest(_root.car.frontP) && (!this.hit)) {
this.hit = true;
_root.car.checkObsHit();
}
};
created2 = true;
}
}
function checkLevelScore() {
var _local5 = 0;
var _local6 = pointArr.length;
while (_local5 < _local6) {
var _local3 = pointArr.pop();
var _local4 = convertPoint(_local3);
if (_local4.x >= _root.car._x) {
_root.levelScore = _local3.pointTxt.text;
}
_local5++;
}
trace("Score" + _root.levelScore);
}
function convertPoint(mov) {
var _local1 = new Object();
_local1.x = mov._x;
_local1.y = mov._y;
mov.localToGlobal(_local1);
return(_local1);
}
function addProperty(point, score) {
pointArr.push(point);
point.pointTxt.text = score;
point.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
if (this._x < (-this._width)) {
}
};
}
function createPointStone() {
var _local3 = 10;
var _local5 = 1550;
var _local4 = attachMovie("pointStone", "pointStone" + _local3, _local3 * 10, {_x:_local5, _y:320, _width:70, _height:70});
addProperty(_local4, 100);
var _local6 = (200 + (20 * _root.level)) + 1;
_local5 = 1550 + _local6;
_local3++;
_local4 = attachMovie("pointStone", "pointStone" + _local3, _local3 * 10, {_x:_local5, _y:320, _width:70, _height:70});
addProperty(_local4, 80);
_local5 = 1550 + (_local6 * 2);
_local3++;
_local4 = attachMovie("pointStone", "pointStone" + _local3, _local3 * 10, {_x:_local5, _y:320, _width:70, _height:70});
addProperty(_local4, 60);
_local5 = 1550 + (_local6 * 3);
_local3++;
_local4 = attachMovie("pointStone", "pointStone" + _local3, _local3 * 10, {_x:_local5, _y:320, _width:70, _height:70});
addProperty(_local4, 40);
_local5 = 1550 + (_local6 * 4);
_local3++;
_local4 = attachMovie("pointStone", "pointStone" + _local3, _local3 * 10, {_x:_local5, _y:320, _width:70, _height:70});
addProperty(_local4, 20);
}
function createTruck() {
var _local5 = 1500;
var _local3 = _root.standPosition;
while (_local3 < (_root.targetPosition - 700)) {
var _local4 = attachMovie("truck", "truck" + _local3, _local3, {_x:_local5, _y:obsYpos});
trace(nr);
_local4.gotoAndStop(nr);
_local4.onEnterFrame = function () {
this._x = this._x - this._parent.speed;
if (this.hitArea.hitTest(_root.car.body) && (!this.hitTruck)) {
_root.car.hitTruck();
this.hitTruck = true;
}
if (this._x < (-this._width)) {
this.removeMovieClip();
}
};
_local5 = _local5 + truckDim;
_local3 = _local3 + truckDim;
}
}
var i = 10;
var created = false;
var created1 = false;
var created2 = false;
var created3 = false;
var distanceAct = 450;
var hitTruck = false;
var obsYpos = 406;
}
Symbol 341 MovieClip [__Packages.virtualGame] Frame 0
class virtualGame extends MovieClip
{
var perc, vstand, vCar;
function virtualGame () {
super();
}
function setObjects(standDis, flagDis) {
perc = (standDis * 100) / flagDis;
vstand._x = (200 * perc) / 100;
}
function setVCar(distance, flagDis) {
perc = ((distance * 100) - 500) / flagDis;
vCar._x = (200 * perc) / 100;
}
}
Symbol 342 MovieClip [__Packages.car] Frame 0
class car extends MovieClip
{
var speed, bTyre, fTyre, tt, attachMovie, u, _y, rot, timeToStop, angle, _rotation, body, _x, frontP, backP, localToGlobal;
function car () {
super();
speed = 0;
gravity = gravityArr[_root.level];
}
function rotateTyre() {
bTyre._rotation = bTyre._rotation + speed;
fTyre._rotation = fTyre._rotation + speed;
}
function checksmoke() {
if (speed > 1) {
tt = int(speed / 3);
tt = 15 - tt;
tt = Math.max(tt, 3);
if (tt < counter) {
attachMovie("smoke", "smoke" + dep, dep, {_x:15, _y:-5});
counter = 0;
dep++;
}
counter++;
}
}
function onEnterFrame() {
rotateTyre();
checksmoke();
if (jump == "yes") {
var _local3 = u + (0.5 * (gravity * ydir));
u = u + (gravity * ydir);
_y = _y + ((_local3 / incfactor) * ydir);
rot = rot - ((4 * angle) / timeToStop);
rot = Math.min(rot, -angle);
_rotation = rot;
if (_y > 406) {
landing = true;
_y = 406;
_rotation = 0;
if (!repeat) {
_root.screen.checkLevelScore();
repeat = true;
}
if (speed == 0) {
displayResult();
}
}
}
}
function checkFlagHit() {
if (_root.screen1.flag.target.hitTest(body) && (!hitFlag)) {
stopGame();
repeat = true;
}
}
function checkObsHit() {
stopGame();
}
function hitTruck() {
stopGame();
}
function stopGame() {
hitFlag = true;
hitObs = true;
repeat = true;
_root.controller.sndBack.stop();
_root.controller.slwSnd.stop();
_root.attachMovie("crash", "crash", _root.getNextHighestDepth(), {_x:_x + 350, _y:_y});
_root.speed = 0;
}
function displayResult() {
if (!displayed) {
trace("x");
if (((_x > _root.screen1.flag._x) && (!hitObs)) && (_root.screen1.flag != undefined)) {
trace("a");
_root.result = "win";
_root.result1 = _root.result;
_root.gotoAndStop("result");
} else if (hitObs) {
trace("b");
_root.result = "lost";
_root.result1 = _root.result;
_root.car.fire._visible = true;
_root.car.fire1._visible = true;
_root.car.fire2._visible = true;
} else {
trace("c");
_root.result = "lost";
_root.result1 = _root.result;
_root.gotoAndStop("result");
}
trace("d");
displayed = true;
jump = "no";
}
}
function convertPoint() {
point.x = frontP._x;
point.y = frontP._y + 30;
point1.x = backP._x;
point1.y = backP._y + 30;
localToGlobal(point1);
localToGlobal(point);
}
function checkStandHit() {
convertPoint();
if (((speed < 0.2) && (_rotation < 0)) && (!back)) {
disable = true;
_rotation = _rotation + 0.3;
trace(_rotation);
_root.speed = -2;
if (_y > 406) {
_y = _y + 0.5;
}
if (_rotation > 0) {
_y = 406;
disable = false;
_rotation = 0;
_root.speed = 0;
back = true;
}
}
if (_root.screen1.stand.hArea.hitTest(point.x, point.y, true) && (!disable)) {
_rotation = _rotation - (1 + (speed / 8));
back = false;
}
if (_root.screen1.stand.hArea.hitTest(point1.x, point1.y, true)) {
_y = _y - (3 + (speed / 20));
}
if (_root.screen1.stand.target.hitTest(bTyre)) {
if (jump != "yes") {
trace(speed);
_root.controller.soundDown();
_root.controller.gotoAndStop(2);
_root.deaccelerate = 0.22;
u = speed * 20;
timeToStop = speed / 0.2;
angle = (rot = _rotation);
trace(angle);
_root.controller.enable = false;
_root.flag = false;
}
jump = "yes";
}
}
var point = new Object();
var point1 = new Object();
var jump = "post";
var counter = 0;
var dep = 1;
var displayed = false;
var repeat = false;
var hitFlag = false;
var hitObs = false;
var gravity = 25;
var gravityArr = [25, 25, 25, 25, 25, 25, 25, 30, 30, 35];
var ydir = -1;
var incfactor = 100;
var disable = false;
var back = false;
var landing = false;
}
Symbol 89 Button
on (release) {
this.gotoAndStop("start");
}
Symbol 94 Button
on (release) {
this.gotoAndStop("inst");
}
Symbol 111 MovieClip Frame 1
sound = true;
stop();
Symbol 111 MovieClip Frame 2
sound = false;
stop();
Symbol 113 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 129 MovieClip [PlayButton] Frame 1
stop();
this.upLinkageID = "PlayButtonNormal";
this.overLinkageID = "PlayButtonOver";
this.downLinkageID = "PlayButtonDown";
this.disabledLinkageID = "PlayButtonDisabled";
Symbol 135 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 139 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 157 MovieClip Frame 1
up_btn.onRollOver = (up_btn.onDragOver = function () {
moveFlag = true;
moveDrt = 1;
speed = 0.5;
});
up_btn.onRollOut = (up_btn.onDragOut = (up_btn.onReleaseOutside = function () {
moveFlag = false;
}));
up_btn.onPress = function () {
speed = 5;
};
up_btn.onRelease = function () {
speed = 0.5;
};
down_btn.onRollOver = function () {
moveFlag = true;
moveDrt = -1;
speed = 0.5;
};
down_btn.onRollOut = (down_btn.onDragOut = (down_btn.onReleaseOutside = function () {
moveFlag = false;
}));
down_btn.onPress = function () {
speed = 5;
};
down_btn.onRelease = function () {
speed = 0.5;
};
dragTempY = dragger._y;
this.onEnterFrame = function () {
if (moveFlag) {
if (moveDrt == 1) {
down_btn._visible = true;
if (mc._y < 30) {
mc._y = mc._y + speed;
} else {
up_btn._visible = false;
}
} else if (moveDrt == -1) {
up_btn._visible = true;
if (mc._y > -280) {
mc._y = mc._y - speed;
} else {
down_btn._visible = false;
}
}
}
};
Symbol 169 MovieClip [car] Frame 1
#initclip 10
Object.registerClass("car", car);
#endinitclip
stop();
fire._visible = false;
fire1._visible = false;
fire2._visible = false;
trace("normal");
Symbol 169 MovieClip [car] Frame 2
trace("down");
Symbol 169 MovieClip [car] Frame 4
trace("land");
Symbol 169 MovieClip [car] Frame 15
stop();
Symbol 169 MovieClip [car] Frame 16
trace("bang");
Symbol 169 MovieClip [car] Frame 28
stop();
Symbol 174 MovieClip [controller] Frame 1
#initclip 6
Object.registerClass("controller", controller);
#endinitclip
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
stop();
Symbol 195 Button
on (press) {
_root.gotoAndStop("start");
this.removeMovieClip();
}
Symbol 200 Button
on (press) {
trace("a" + _root.background1);
_root.backgroundNegru.removeMovieClip();
_root.gotoAndStop("start");
this.removeMovieClip();
}
Symbol 202 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 208 Button
on (press) {
_root.gotoAndStop("start");
this.removeMovieClip();
}
Symbol 209 Button
on (press) {
_root.backgroundNegru.removeMovieClip();
_root.gotoAndStop("start");
this.removeMovieClip();
}
Symbol 210 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 217 Button
on (press) {
_root.background1.removeMovieClip();
_root.gotoAndStop("start");
this.removeMovieClip();
}
Symbol 222 MovieClip [resultClip] Frame 25
stop();
Symbol 222 MovieClip [resultClip] Frame 50
stop();
Symbol 222 MovieClip [resultClip] Frame 51
Symbol 222 MovieClip [resultClip] Frame 75
stop();
Symbol 222 MovieClip [resultClip] Frame 100
stop();
Symbol 222 MovieClip [resultClip] Frame 101
function hasValidChars(str, chars, caseSensitive) {
if (!str.length) {
return(false);
}
if (!chars.length) {
return(false);
}
if (!caseSensitive) {
str = str.toLowerCase();
chars = chars.toLowerCase();
}
var _local3 = str.split("");
var _local4 = _local3.length;
var _local6;
var _local1 = 0;
while (_local1 < _local4) {
if (chars.indexOf(_local3[_local1]) == -1) {
return(false);
}
_local1++;
}
return(true);
}
function isEmail(str) {
str = str.toLowerCase();
if (!hasValidChars(str, "0123456789abcdefghijklmnopqrstuvwxyz-_.@")) {
return(false);
}
var _local5 = str.split("@");
if (_local5.length != 2) {
return(false);
}
if (_local5[0].length < 1) {
return(false);
}
var _local3 = _local5[1].split(".");
if (_local3.length < 2) {
return(false);
}
var _local9 = "_-.";
var _local4 = _local9.split("");
var _local6 = _local4.length;
var _local1 = 0;
while (_local1 < _local6) {
if ((_local5[0].indexOf(_local4[_local1]) == 0) || (_local5[0].indexOf(_local4[_local1]) == (_local5[0].length - 1))) {
return(false);
}
_local1++;
}
var _local2 = 0;
while (_local2 < _local3.length) {
_local1 = 0;
while (_local1 < 2) {
if ((_local3[_local2].indexOf(_local4[_local1]) == 0) || (_local3[_local2].indexOf(_local4[_local1]) == (_local3[_local2].length - 1))) {
return(false);
}
_local1++;
}
_local2++;
}
var _local8 = String(_local3.pop());
if (_local8.length < 2) {
return(false);
}
_local1 = _local3.length;
while (_local1--) {
if (String(_local3[_local1]).length < 1) {
trace(String(_local3[_local1]).length);
return(false);
}
}
return(true);
}
function checkValidation() {
if (email.text == "") {
errorMsg._visible = true;
errorMsg.msg.text = "Please fill Email";
return(false);
}
if (isEmail(email.text)) {
errorMsg._visible = false;
errorMsg.msg.text = "";
return(true);
}
errorMsg._visible = true;
errorMsg.msg.text = "Email is Invalid";
return(false);
}
var emailLV = new LoadVars();
clicked = false;
errorMsg._visible = false;
Symbol 233 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
_root.controller.enable = false;
Symbol 250 MovieClip Frame 40
_root.controller.enable = true;
Symbol 250 MovieClip Frame 103
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 262 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 269 Button
on (press) {
getURL ("http://www.101cargames.com", "_blank");
}
Symbol 275 MovieClip [speedometer] Frame 1
#initclip 7
Object.registerClass("speedometer", speedoMeter);
#endinitclip
Symbol 279 MovieClip [screen] Frame 1
#initclip 8
Object.registerClass("screen", screen1);
#endinitclip
Instance of Symbol 111 MovieClip in Symbol 279 MovieClip [screen] Frame 1
on (press) {
if (sound) {
this.gotoAndPlay(2);
_root.globalSound.setVolume(0);
_root.mainSound = false;
} else {
this.gotoAndPlay(1);
_root.mainSound = true;
_root.globalSound.setVolume(50);
}
}
Symbol 288 MovieClip Frame 1
this._visible = false;
Symbol 288 MovieClip Frame 42
_root.controller.enable = true;
_root.screen1.opSpeedClip.gotoAndPlay(2);
stop();
Symbol 299 MovieClip [virtualGame] Frame 1
#initclip 9
Object.registerClass("virtualGame", virtualGame);
#endinitclip
Symbol 314 MovieClip [truck] Frame 1
stop();
Symbol 319 MovieClip Frame 31
_root.gotoAndStop("result");
stop();
this.removeMovieClip();
Symbol 320 MovieClip [crash] Frame 20
stop();
Symbol 331 MovieClip [smoke] Frame 20
this.removeMovieClip();
Symbol 335 MovieClip Frame 1
stop();