Frame 1
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
prel.gotoAndStop(tgPrel);
if (b1 >= b2) {
gotoAndPlay ("intro");
}
Frame 4
if (Math.round(b1 / 1024) <= 35) {
gotoAndPlay ("loop1");
}
Frame 5
_root.b1 = _root.getBytesLoaded();
_root.b2 = _root.getBytesTotal();
_root.tgPrel = 1 + Math.round((b1 * 100) / b2);
_root.tg = _root.tgPrel - 2;
if (tg <= 9) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 9
if (Math.round(b1 / 1024) <= 100) {
gotoAndPlay ("loop2");
}
Frame 11
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgPrel - 2;
if (tgPrel <= 9) {
procent = "0" + tg;
trace(procent);
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay ("loop3");
}
Frame 15
procent = "--";
prel.gotoAndStop(100);
Frame 165
Frame 174
_root.sunet = true;
_root.engineLoop = new Sound();
_root.engineLoop.attachSound("engineLoop");
_root.startEngine = new Sound();
_root.startEngine.attachSound("startEngine");
_root.nitro = new Sound();
_root.nitro.attachSound("nitro");
Frame 175
this.onEnterFrame = function () {
gotoAndStop ("init");
game_quality = "BEST";
delete this.onEnterFrame;
};
stop();
Frame 183
Frame 184
if (false) {
}
Frame 195
function startGame() {
if (_root.pauza == false) {
if (_global.gl_user_info.curr_road > 4) {
_global.gl_user_info.curr_road = 1;
}
_global.gl_road = gl_user_info.roads["road_" + gl_user_info.curr_road];
if (!isEmpty(gl_road)) {
if (!isEmpty(main_mc.main_container_mc.road_mc)) {
main_mc.main_container_mc.road_mc.removeMovieClip();
}
main_mc.main_container_mc.attachMovie(gl_road.linkage, "road_mc", 5, {_y:-4000, _x:-500});
main_mc.best_time_mc.caption = gl_road.print_best_lap;
main_mc.timer_mc.timer_in_mc.title = "LAP TIME";
main_mc.best_time_mc.title = "BEST LAP";
var _local3;
main_mc.nitros_mc.nitro_1_mc.gotoAndStop(100);
main_mc.nitros_mc.nitro_2_mc.gotoAndStop(100);
main_mc.nitros_mc.nitro_3_mc.gotoAndStop(100);
_local3 = 1;
while (_local3 <= _global.gl_user_info.player_car.tuning_ar[5]) {
main_mc.nitros_mc[("nitro_" + _local3) + "_mc"].gotoAndStop(1);
_local3++;
}
}
}
}
function isEmpty(obj) {
if (((obj == "") || (obj == undefined)) || (obj == null)) {
return(true);
}
return(false);
}
function tr(num, digits) {
var _local2 = Math.pow(10, digits);
num = num * _local2;
num = Math.round(num);
num = num / _local2;
return(num);
}
function distance(x1, y1, x2, y2) {
var _local2 = x1 - x2;
var _local1 = y1 - y2;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
}
function dot(v1, v2) {
return((v1.x * v2.x) + (v1.y * v2.y));
}
function adds(v1, v2) {
var _local1 = {};
_local1.x = v1.x + v2.x;
_local1.y = v1.y + v2.y;
return(_local1);
}
function subtract(v1, v2) {
var _local1 = {};
_local1.x = v1.x - v2.x;
_local1.y = v1.y - v2.y;
return(_local1);
}
function multiply(s, v) {
var _local1 = {};
_local1.x = v.x * s;
_local1.y = v.y * s;
return(_local1);
}
function findAngle(xdist, ydist) {
var _local3 = 57.29578;
var _local1 = Math.atan(ydist / xdist) * _local3;
if ((xdist > 0) && (ydist < 0)) {
_local1 = -_local1;
}
if (xdist < 0) {
_local1 = 180 - _local1;
}
if ((xdist > 0) && (ydist > 0)) {
_local1 = 360 - _local1;
}
return(_local1);
}
function findNormal(me, him) {
var _local1 = {};
_local1.x = him._x - me._x;
_local1.y = him._y - me._y;
return(_local1);
}
function findDirection(a1, a2) {
a1 = a1 + 1000;
a2 = a2 + 1000;
if (a1 < 0) {
a1 = a1 + 360;
}
if ((a1 - a2) > 180) {
a2 = a2 + 360;
}
if ((a2 - a1) > 180) {
a1 = a1 + 360;
}
if (Math.abs(a1 - a2) < 4) {
return(0);
}
if (a1 < a2) {
return(1);
}
return(-1);
}
main_mc.gotoAndStop("intro");
player_car = {tuning_ar:[4, 4, 4, 4, 4, 2]};
road_1 = {linkage:"lib_road_1", ghost_way_ar:null, best_lap:99999, print_best_lap:"00:00:00"};
road_2 = {linkage:"lib_road_2", ghost_way_ar:null, best_lap:99999, print_best_lap:"00:00:00"};
road_3 = {linkage:"lib_road_3", ghost_way_ar:null, best_lap:99999, print_best_lap:"00:00:00"};
road_4 = {linkage:"lib_road_4", ghost_way_ar:null, best_lap:99999, print_best_lap:"00:00:00"};
roads = {road_1:road_1, road_2:road_2, road_3:road_3, road_4:road_4};
_global.gl_user_info = {roads:roads, player_car:player_car, curr_road:1};
_global.gl_user_info.curr_road = 1;
delete road_1;
delete road_2;
delete road_3;
delete road_4;
delete roads;
delete player_car;
Frame 205
prevFrame();
Frame 206
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
Frame 207
_root.menu.removeMovieClip();
_root.gameid = "MiniNitros";
_root.best = _root.score;
_root.score = 0;
_root.updated = 0;
_root.done = 0;
done = 0;
i = 1;
while (i <= 100) {
_root["score" + i] = null;
_root["name" + i] = null;
_root["escore" + i] = null;
_root["ename" + i] = null;
i++;
}
Frame 209
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 210
if (false) {
}
Frame 217
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 221
monthnume = new Array();
monthscor = new Array();
i = 1;
while (i <= 100) {
monthnume[i] = _root["name" + i];
monthscor[i] = Number(_root["score" + i].slice(0, _root["score" + i].length - 1));
i++;
}
evernume = new Array();
everscor = new Array();
i = 1;
while (i <= 100) {
evernume[i] = _root["ename" + i];
everscor[i] = Number(_root["escore" + i].slice(0, _root["escore" + i].length - 1));
i++;
}
Frame 222
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Frame 251
_root.counterSunet = 0;
delete this.onEnterFrame;
_root.selected_car = undefined;
_root.is_game_over = false;
_root.gotoAndStop("init");
Symbol 1 MovieClip [FUIComponentSymbol] Frame 1
#initclip 4
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local3 in this.styleFormat_prm) {
this.setStyleProperty(_local3, this.styleFormat_prm[_local3]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var _local2 in this.methodTable) {
this[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local4 = this.styleTable.focusRectInner.value;
var _local5 = this.styleTable.focusRectOuter.value;
if (_local4 == undefined) {
_local4 = 16777215 /* 0xFFFFFF */;
}
if (_local5 == undefined) {
_local5 = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, _local5);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, _local4);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var _local17 = parseInt(value);
if (!isNaN(_local17)) {
value = _local17;
}
var _local16 = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!_local16)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var _local18 = propName.subString(4, propName.length);
this.textStyle[_local18] = value;
this.invalidate("setSize");
} else {
for (var _local15 in this.styleTable[propName].coloredMCs) {
var _local4 = new Color(this.styleTable[propName].coloredMCs[_local15]);
if (this.styleTable[propName].value == undefined) {
var _local5 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local4.setTransform(_local5);
} else {
_local4.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = _local16;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var _local4 = new Color(skinMCRef);
_local4.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var _local3 in arguments[0]) {
this[_local3] = arguments[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local3 = 0;
while (_local3 < arguments.length) {
var _local4 = arguments[_local3];
this.listeners[arguments[_local3]] = _local4;
for (var _local5 in this) {
if (this.isAStyle(_local5)) {
_local4.updateStyleProperty(this, _local5.toString());
}
}
_local3++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
if (component.styleTable[_local4].useGlobal == this.isGlobal) {
component.styleTable[_local4].useGlobal = true;
var _local3 = (this.isGlobal ? undefined : (globalStyleFormat[_local4]));
component.setStyleProperty(_local4, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local6 = 0;
for (var _local5 in this.listeners) {
var _local3 = this.listeners[_local5];
if (arguments.length > 0) {
var _local4 = 0;
while (_local4 < arguments.length) {
if (this.isAStyle(arguments[_local4])) {
_local3.updateStyleProperty(this, arguments[_local4]);
}
_local4++;
}
} else {
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
_local3.updateStyleProperty(this, _local4.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 23 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 32 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 33 MovieClip [UpArrow] Frame 1
stop();
Symbol 33 MovieClip [UpArrow] Frame 2
stop();
Symbol 33 MovieClip [UpArrow] Frame 3
stop();
Symbol 39 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 48 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 53 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 54 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 62 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 70 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 78 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 79 MovieClip [DownArrow] Frame 1
stop();
Symbol 79 MovieClip [DownArrow] Frame 2
stop();
Symbol 79 MovieClip [DownArrow] Frame 3
stop();
Symbol 84 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 85 MovieClip [FScrollBarSymbol] Frame 1
#initclip 5
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
_local2 = Math.min(_local2, this.maxPos);
this.setScrollPosition(Math.max(_local2, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local3 = this.enable;
if (enabledFlag && (!_local3)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (_local3)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local3 = this.smallScroll;
if (inc != "one") {
_local3 = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var _local2 = this.getScrollPosition() + (mode * _local3);
if (_local2 > this.maxPos) {
_local2 = this.maxPos;
} else if (_local2 < this.minPos) {
_local2 = this.minPos;
}
this.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var _local2 = this.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (this._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var _local3 = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(_local3, this.textField.maxhscroll));
} else {
var _local3 = this.textField.scroll;
var _local2 = this.textField.bottomScroll - this.textField.scroll;
this.setScrollProperties(_local2, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(_local3, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 87 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?MiniNitros", "_blank");
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 789 MovieClip [__Packages.Pirrest.MiniTrack.Road] Frame 0
class Pirrest.MiniTrack.Road extends MovieClip
{
var walls_ar, corners_in_ar, corners_out_ar, under_mc, player_car_mc, ghost_car_mc, friction, check_points_count, maket_player_car, over_mc, car_cont_mc, _x, _y;
function Road () {
super();
walls_ar = [];
corners_in_ar = [];
corners_out_ar = [];
}
function _carInit() {
player_car_mc.angle = under_mc.car_mc._rotation;
player_car_mc._x = under_mc.car_mc._x;
player_car_mc._y = under_mc.car_mc._y;
if (!_root.isEmpty(ghost_car_mc)) {
ghost_car_mc._x = player_car_mc._x;
ghost_car_mc._y = player_car_mc._y;
ghost_car_mc._rotation = player_car_mc._rotation;
}
player_car_mc.setAccel(_global.gl_user_info.player_car.tuning_ar[0]);
player_car_mc.setMaxSpeed(_global.gl_user_info.player_car.tuning_ar[1]);
player_car_mc.setSteerResp(_global.gl_user_info.player_car.tuning_ar[2]);
friction = Math.min(0.7 - (_global.gl_user_info.player_car.tuning_ar[3] / 20), 0.2);
player_car_mc.setTyreGrip(_global.gl_user_info.player_car.tuning_ar[4]);
player_car_mc.setNitro(_global.gl_user_info.player_car.tuning_ar[5]);
player_car_mc.reaction = Number(_global.gl_user_info.player_car.reaction);
start();
}
function start() {
player_car_mc.active = true;
}
function init() {
check_points_count = 0;
var _local5;
for (_local5 in under_mc) {
var _local4 = under_mc[_local5];
switch (_local4.type) {
case "wall" :
walls_ar.push(_local4);
if (_local4._width > _local4._height) {
_local4.orientation = 0;
_local4.left = _local4._x - (_local4._width / 2);
_local4.right = _local4._x + (_local4._width / 2);
} else {
_local4.top = _local4._y - (_local4._height / 2);
_local4.bottom = _local4._y + (_local4._height / 2);
_local4.orientation = 1;
}
break;
case "corner_in" :
corners_in_ar.push(_local4);
break;
case "corner_out" :
corners_out_ar.push(_local4);
break;
case "player_car" :
maket_player_car = _local4;
break;
case "check_point" :
check_points_count++;
}
_local4._visible = false;
}
over_mc.onEnterFrame = function () {
this._x = this._parent.under_mc._x;
this._y = this._parent.under_mc._y;
};
if (!_root.isEmpty(_global.gl_road.ghost_way_ar)) {
ghost_car_mc = car_cont_mc.attachMovie("lib_ghost_car", "ghost_mc", car_cont_mc.getNextHighestDepth());
}
player_car_mc = car_cont_mc.attachMovie("lib_cars", "car_mc", car_cont_mc.getNextHighestDepth());
_carInit();
}
function moveCamera() {
var _local7;
var _local5 = 200 - player_car_mc._x;
var _local4 = 200 - player_car_mc._y;
var _local9 = _local5 - _x;
var _local8 = _local4 - _y;
var _local6 = _root.distance(_local5, _local4, _x, _y);
var _local3 = _local6 * 0.35;
if (_local3 > 50) {
_local3 = 50;
}
_local7 = _local3 / _local6;
_x = _x + (_local9 * _local7);
_y = _y + (_local8 * _local7);
}
}
Symbol 790 MovieClip [__Packages.Pirrest.MiniTrack.Car] Frame 0
class Pirrest.MiniTrack.Car extends MovieClip
{
var turn, angle, start, speed, collisions_ar, createEmptyMovieClip, getNextHighestDepth, onEnterFrame, body_mc, ghost_car_way_ar, _ghost_way_count, hits_ar, hit_mc, shadow_mc, _x, _y, mass, active, pre_velocity, accel, max_velocity, reaction, stunned, road, _parent, perp_vector, next_goal, next_check_point, is_nitro, point, elastic, heft, span, rad, ang, stun_frames, def_max_velocity, turning, ang_mult, nitro, target;
function Car () {
super();
turn = "";
angle = 0;
start = {};
speed = {};
collisions_ar = [];
init();
}
function init() {
createEmptyMovieClip("sync_mc", getNextHighestDepth());
onEnterFrame = syncOnEnterFrame;
body_mc.gotoAndStop(_root.selected_car);
ghost_car_way_ar = [];
_ghost_way_count = 0;
hits_ar = [];
hit_mc._visible = false;
body_mc.flame_1_mc._visible = false;
body_mc.flame_2_mc._visible = false;
shadow_mc.flame_1_mc._visible = false;
shadow_mc.flame_2_mc._visible = false;
for (var _local3 in hit_mc) {
hit_mc[_local3].r = (hit_mc[_local3]._width / 2) + 1;
hits_ar.push(hit_mc[_local3]);
}
start.x = _x;
start.y = _y;
mass = 500000 /* 0x07A120 */;
speed = {x:0, y:0};
active = false;
pre_velocity = 0;
accel = 0.95;
max_velocity = 18;
reaction = 180;
stunned = 0;
road = _parent._parent;
perp_vector = {x:0, y:0};
next_goal = 0;
next_check_point = 0;
is_nitro = false;
point = {x:road.under_mc.point_0._x, y:road.under_mc.point_0._y};
elastic = 0.7;
heft = 600000000 /* 0x23C34600 */;
span = hit_mc._width / 2;
rad = 57.29578;
ang = 0;
stun_frames = 0;
}
function showWheels() {
if (turn == "r") {
body_mc.wheel_1_mc._rotation = (body_mc.wheel_2_mc._rotation = 30);
shadow_mc.wheel_1_mc._rotation = (shadow_mc.wheel_2_mc._rotation = 30);
} else if (turn == "l") {
body_mc.wheel_1_mc._rotation = (body_mc.wheel_2_mc._rotation = -30);
shadow_mc.wheel_1_mc._rotation = (shadow_mc.wheel_2_mc._rotation = -30);
} else {
body_mc.wheel_1_mc._rotation = (body_mc.wheel_2_mc._rotation = 0);
shadow_mc.wheel_1_mc._rotation = (shadow_mc.wheel_2_mc._rotation = 0);
}
}
function showTrack() {
var _local3;
var _local2;
road.under_mc.tracks_mc._visible = true;
_local3 = 1;
while (_local3 <= 4) {
_local2 = {x:body_mc[("wheel_" + _local3) + "_mc"]._x, y:body_mc[("wheel_" + _local3) + "_mc"]._y};
body_mc.localToGlobal(_local2);
road.under_mc.globalToLocal(_local2);
var _local7 = road.under_mc.tracks_mc.getNextHighestDepth() + 1;
var _local6 = road.under_mc.tracks_mc.getNextHighestDepth() + 2;
var _local4 = road.under_mc.tracks_mc.track_1_mc.duplicateMovieClip("track_" + _local7, _local7);
var _local5 = road.under_mc.tracks_mc.track_1_mc.duplicateMovieClip("track_" + _local6, _local6);
_local4._x = _local2.x + 0.5;
_local5._x = _local2.x - 0.5;
_local4._y = _local2.y + 0.5;
_local5._y = _local2.y - 0.5;
_local4._xscale = (_local5._xscale = _local2.x - body_mc[("wheel_" + _local3) + "_mc"].old_x);
_local4._yscale = (_local5._yscale = _local2.y - body_mc[("wheel_" + _local3) + "_mc"].old_y);
body_mc[("wheel_" + _local3) + "_mc"].old_x = _local2.x;
body_mc[("wheel_" + _local3) + "_mc"].old_y = _local2.y;
_local3++;
}
}
function showNitroTrack() {
var _local3;
var _local2;
road.under_mc.tracks_mc._visible = true;
_local3 = 1;
while (_local3 <= 2) {
_local2 = {x:body_mc[("flame_" + _local3) + "_mc"]._x, y:body_mc[("flame_" + _local3) + "_mc"]._y};
body_mc.localToGlobal(_local2);
road.under_mc.globalToLocal(_local2);
var _local7 = road.under_mc.tracks_mc.getNextHighestDepth() + 1;
var _local6 = road.under_mc.tracks_mc.getNextHighestDepth() + 2;
var _local4 = road.under_mc.tracks_mc.track_1_mc.duplicateMovieClip("track_" + _local7, _local7);
var _local5 = road.under_mc.tracks_mc.track_1_mc.duplicateMovieClip("track_" + _local6, _local6);
var _local8 = new Color(_local4);
var _local9 = new Color(_local5);
_local8.setRGB(16711680);
_local9.setRGB(16711680);
_local4._x = _local2.x + 0.5;
_local5._x = _local2.x - 0.5;
_local4._y = _local2.y + 0.5;
_local5._y = _local2.y - 0.5;
_local4._xscale = (_local5._xscale = _local2.x - body_mc[("flame_" + _local3) + "_mc"].old_x);
_local4._yscale = (_local5._yscale = _local2.y - body_mc[("flame_" + _local3) + "_mc"].old_y);
body_mc[("flame_" + _local3) + "_mc"].old_x = _local2.x;
body_mc[("flame_" + _local3) + "_mc"].old_y = _local2.y;
_local3++;
}
}
function setAccel($accel) {
accel = 0.85 + ($accel * 0.02);
}
function setMaxSpeed($max_speed) {
max_velocity = 5 + $max_speed;
def_max_velocity = max_velocity;
}
function setSteerResp($st_resp) {
turning = 0.01 + ($st_resp / 100);
}
function setSteerCircle($st_circle) {
ang_mult = 0.7 - ($st_circle / 10);
}
function setTyreGrip($t_grip) {
ang_mult = 1 - ($t_grip / 10);
}
function setNitro($nitro) {
nitro = $nitro;
}
function linstenKeys() {
if (_root.is_game_over) {
return(undefined);
}
var _local3 = Math.min(turning * pre_velocity, turning);
if (Key.isDown(37) && (!Key.isDown(39))) {
ang = ang - _local3;
turn = "l";
} else if (Key.isDown(39) && (!Key.isDown(37))) {
ang = ang + _local3;
turn = "r";
} else {
turn = "";
}
if (active && (stunned < 1)) {
if (Key.isDown(38) && (!Key.isDown(40))) {
speed.x = speed.x + (Math.cos(angle / rad) * accel);
speed.y = speed.y + (Math.sin(angle / rad) * accel);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
speed.x = speed.x - (Math.cos(angle / rad) * accel);
speed.y = speed.y - (Math.sin(angle / rad) * accel);
}
if (Key.isDown(32) && (!is_nitro)) {
startNitro();
}
angle = angle + (ang * rad);
}
ang = ang * ang_mult;
}
function startNitro() {
if (nitro < 1) {
return(undefined);
}
body_mc.flame_1_mc._visible = true;
body_mc.flame_2_mc._visible = true;
body_mc.flame_1_mc.gotoAndPlay(1);
body_mc.flame_2_mc.gotoAndPlay(1);
_root.main_mc.nitros_mc[("nitro_" + nitro) + "_mc"].car = this;
_root.main_mc.nitros_mc[("nitro_" + nitro) + "_mc"].play();
_root.main_mc.nitros_mc[("nitro_" + nitro) + "_mc"].target = this;
_root.main_mc.nitros_mc[("nitro_" + nitro) + "_mc"].onEnterFrame = applyNitro;
is_nitro = true;
nitro--;
}
function stopNitro() {
is_nitro = false;
body_mc.flame_1_mc._visible = false;
body_mc.flame_2_mc._visible = false;
}
function applyNitro() {
target.speed.x = target.speed.x + ((Math.cos(target.angle / target.rad) * target.accel) * 1);
target.speed.y = target.speed.y + ((Math.sin(target.angle / target.rad) * target.accel) * 1);
target.max_velocity = 14;
}
function syncOnEnterFrame() {
if (_root.is_pause) {
return(undefined);
}
var _local4;
var _local5;
if (!is_nitro) {
if (max_velocity > def_max_velocity) {
max_velocity--;
} else {
max_velocity = def_max_velocity;
}
}
if (!_root.isEmpty(road.ghost_car_mc)) {
road.ghost_car_mc._x = _global.gl_road.ghost_way_ar[_ghost_way_count].x;
road.ghost_car_mc._y = _global.gl_road.ghost_way_ar[_ghost_way_count].y;
road.ghost_car_mc.body_mc._rotation = (road.ghost_car_mc.shadow_mc._rotation = _global.gl_road.ghost_way_ar[_ghost_way_count].rot);
_ghost_way_count++;
}
ghost_car_way_ar.push({x:_x, y:_y, rot:body_mc._rotation});
road.moveCamera();
perp_vector.x = (-Math.sin(angle / rad)) * span;
perp_vector.y = Math.cos(angle / rad) * span;
showWheels();
showTrack();
body_mc._rotation = angle;
shadow_mc._rotation = angle;
hit_mc._rotation = angle;
stunned--;
stunned = Math.max(stunned, 0);
pre_velocity = _root.distance(0, 0, speed.x, speed.y);
if (pre_velocity > max_velocity) {
_local4 = max_velocity / pre_velocity;
speed.x = speed.x * _local4;
speed.y = speed.y * _local4;
}
_x = _x + speed.x;
_y = _y + speed.y;
pre_velocity = _root.distance(0, 0, speed.x, speed.y);
if (pre_velocity > 0) {
_local5 = pre_velocity - road.friction;
_local5 = Math.max(0, _local5);
_local4 = _local5 / pre_velocity;
speed.x = speed.x * _local4;
speed.y = speed.y * _local4;
}
linstenKeys();
checkPointHit();
collisions_ar = [];
getCollisions();
collisionResponse();
}
function checkPointHit() {
if (_root.is_game_over) {
return(undefined);
}
var _local6;
_local6 = 0;
while (_local6 < road.check_points_count) {
if ((_local6 == next_check_point) && (hit_mc.hitTest(road.under_mc["check_point_" + _local6]))) {
next_check_point++;
if (_local6 < 1) {
_root.main_mc.timer_mc.time = 0;
}
_root.main_mc.timer_mc.onEnterFrame = function () {
this.time = this.time + 0.032258064516129;
var _local6 = _root.tr(this.time, 0);
var _local4 = ((_local6 > 60) ? (_root.tr(this.time / 60, 0)) : 0);
var _local3 = [];
_local3 = String(_root.tr(this.time, 2)).split(".");
_local3[1] = ((_local3[1] == undefined) ? 0 : (_local3[1]));
var _local5 = ((_local3[0] > 60) ? ((Number(_local3[0] - (_local4 * 60)) + ":") + String(_local3[1])) : (_local3.join(":")));
_local3 = _local5.split(":");
_local3[0] = ((_local3[0] < 10) ? ("0" + _local3[0]) : (_local3[0]));
_local3[1] = (((_local3[1] < 10) && (String(_local3[1]).length == 1)) ? ("0" + _local3[1]) : (_local3[1]));
_local5 = _local3.join(":");
_local4 = ((_local4 < 10) ? ("0" + _local4) : (_local4));
this.timer_in_mc.caption = (_local4 + ":") + _local5;
};
}
_local6++;
}
if (next_check_point == road.check_points_count) {
_root.is_game_over = true;
active = false;
if (_root.main_mc.timer_mc.time < _global.gl_road.best_lap) {
_global.gl_road.best_lap = _root.main_mc.timer_mc.time;
_global.gl_road.print_best_lap = _root.main_mc.timer_mc.timer_in_mc.caption;
_global.gl_road.ghost_way_ar = null;
_global.gl_road.ghost_way_ar = ghost_car_way_ar;
}
ghost_car_way_ar = [];
_root.main_mc.gotoAndPlay("game_over");
delete _root.main_mc.timer_mc.onEnterFrame;
_root.main_mc.timer_mc.play();
}
}
function getCollisions() {
var _local2;
var _local5 = road.walls_ar.length;
var _local4 = road.corners_in_ar.length;
var _local3 = road.corners_out_ar.length;
_local2 = 0;
while (_local2 < _local5) {
wallTest(road.walls_ar[_local2]);
_local2++;
}
_local2 = 0;
while (_local2 < _local4) {
cornerInTest(road.corners_in_ar[_local2]);
_local2++;
}
_local2 = 0;
while (_local2 < _local3) {
cornerOutTest(road.corners_out_ar[_local2]);
_local2++;
}
}
function collisionResponse() {
var _local5;
var _local8;
var _local3;
var _local6;
var _local7;
var _local4;
var _local9;
if (collisions_ar.length > 0) {
_local5 = {x:0, y:0};
_local8 = 0;
_local3 = 0;
while (_local3 < collisions_ar.length) {
_local6 = getJ(speed, collisions_ar[_local3].speed, collisions_ar[_local3].normal, collisions_ar[_local3].mass, collisions_ar[_local3].heft, collisions_ar[_local3].perp_vector);
_local4 = {};
_local4 = _root.multiply(_local6 / mass, collisions_ar[_local3].normal);
_local5 = _root.adds(_local5, _local4);
_local7 = {};
_local7 = _root.multiply(_local6, collisions_ar[_local3].normal);
_local9 = _root.dot(_local7, perp_vector);
_local8 = _local8 + (_local9 / heft);
_local3++;
}
_local5.x = _local5.x / collisions_ar.length;
_local5.y = _local5.y / collisions_ar.length;
_local8 = _local8 / collisions_ar.length;
angle = angle - _local8;
speed = _root.adds(speed, _local5);
}
}
function getJ(mine, his, normal, his_mass, his_heft, his_perp) {
var _local12 = {};
var _local5 = {};
var _local8 = {};
var _local10;
var _local6;
var _local9;
var _local4;
var _local3;
var _local11;
_local8 = _root.subtract(mine, his);
_local5 = _root.multiply(-(1 + elastic), _local8);
_local10 = _root.dot(_local5, normal);
_local9 = (1 / mass) + (1 / his_mass);
_local5 = _root.multiply(_local9, normal);
_local4 = _root.dot(perp_vector, normal);
_local4 = _local4 * _local4;
_local4 = _local4 / heft;
_local3 = _root.dot(his_perp, normal);
_local3 = _local3 * _local3;
_local3 = _local3 / his_heft;
_local6 = _root.dot(normal, _local5);
_local6 = _local6 + (_local4 + _local3);
_local11 = _local10 / _local6;
return(_local11);
}
function wallTest(clip) {
var _local5;
var _local6;
var _local4;
var _local2;
if (hit_mc.hitTest(clip)) {
_local4 = {};
if (clip.orientation == 0) {
_local4.x = _x;
_local4.y = clip._y;
_local5 = Math.abs(clip._y - _y);
_local6 = Math.abs(clip._y - (_y + speed.y));
} else {
_local4.x = clip._x;
_local4.y = _y;
_local5 = Math.abs(clip._x - _x);
_local6 = Math.abs(clip._x - (_x + speed.x));
}
if ((_local5 < span) && (_local5 > _local6)) {
_local2 = {};
_local2.perp_vector = {x:0, y:0};
_local2.heft = heft * 1000;
_local2.normal = {};
_local2.normal.x = _x - _local4.x;
_local2.normal.y = _y - _local4.y;
_local2.speed = {x:0, y:0};
_local2.mass = 1000000 /* 0x0F4240 */;
collisions_ar.push(_local2);
if (stun_frames > stunned) {
stunned = stun_frames;
}
}
}
}
function cornerInTest(clip) {
var _local5;
var _local7;
var _local6;
var _local3;
if (hit_mc.hitTest(clip)) {
_local5 = _root.distance(_x, _y, clip._x, clip._y);
_local6 = _root.distance(_x + speed.x, _y + speed.y, clip._x, clip._y);
_local7 = _local5 - (span + (clip._width / 2));
if ((_local7 <= 0) && (_local5 > _local6)) {
_local3 = {};
_local3.perp_vector = {x:0, y:0};
_local3.heft = heft * 1000;
_local3.normal = {};
_local3.normal = _root.findNormal(this, clip);
_local3.speed = {x:0, y:0};
_local3.mass = 1000000 /* 0x0F4240 */;
collisions_ar.push(_local3);
if (stun_frames > stunned) {
stunned = stun_frames;
}
}
}
}
function cornerOutTest(clip) {
var _local5;
var _local7;
var _local6;
var _local3;
if (hit_mc.hitTest(clip)) {
_local5 = _root.distance(_x, _y, clip._x, clip._y);
_local6 = _root.distance(_x + speed.x, _y + speed.y, clip._x, clip._y);
_local7 = _local5 - (clip._width - span);
if ((_local7 >= 0) && (_local5 < _local6)) {
_local3 = {};
_local3.perp_vector = {x:0, y:0};
_local3.heft = heft * 1000;
_local3.normal = {};
_local3.normal = _root.findNormal(this, clip);
_local3.normal.x = _local3.normal.x * -1;
_local3.normal.y = _local3.normal.y * -1;
_local3.speed = {x:0, y:0};
_local3.angle = 0;
_local3.mass = 100000000 /* 0x5F5E100 */;
collisions_ar.push(_local3);
if (stun_frames > stunned) {
stunned = stun_frames;
}
}
}
}
}
Symbol 791 MovieClip [__Packages.Pirrest.MiniTrack.TuningGrid] Frame 0
class Pirrest.MiniTrack.TuningGrid extends MovieClip
{
var _depth, _x_step, _y_step, rows_ar, attachMovie;
function TuningGrid () {
super();
}
function init($max_vals_ar, $vals_ar, $labels_ar) {
var _local2;
_depth = 0;
_x_step = 18;
_y_step = 24;
rows_ar = [];
_local2 = 0;
while (_local2 < $vals_ar.length) {
rows_ar.push({val:$vals_ar[_local2], max_val:$max_vals_ar[_local2], text:$labels_ar[_local2]});
_local2++;
}
}
function saveData() {
var _local3;
_global.gl_user_info.player_car.tuning_ar = [];
_local3 = 0;
while (_local3 < rows_ar.length) {
_global.gl_user_info.player_car.tuning_ar.push(rows_ar[_local3].val);
_local3++;
}
}
function createGrid() {
var _local4;
var _local2;
_local4 = 0;
while (_local4 < rows_ar.length) {
_local2 = 0;
while (_local2 < rows_ar[_local4].max_val) {
_depth++;
var _local5 = attachMovie("lib_empty_cell", ("empty_cell_" + _depth) + "_mc", _depth, {_x:_x_step * _local2, _y:_y_step * _local4});
_local5.line = _local4;
_local5.num = _local2;
_local2++;
}
_local2 = 0;
while (_local2 < rows_ar[_local4].val) {
_depth++;
var _local5 = attachMovie("lib_filled_cell", ("filled_cell_" + _depth) + "_mc", _depth, {_x:_x_step * _local2, _y:_y_step * _local4});
_local5.line = _local4;
_local5.num = _local2;
_local5.onPress = function () {
if (this.num == (this._parent.rows_ar[this.line].val - 1)) {
this.swapDepths(this._parent.getNextHighestDepth());
this.start_x = this._x;
this.start_y = this._y;
this.startDrag(false);
}
};
_local5.onRelease = function () {
var _local3 = this._droptarget.split("/");
var _local4 = _local3[_local3.length - 1];
var _local2 = this._parent[_local4];
if (((_local4.split("_")[0] != "empty") || (_local2.line == this.line)) || (_local2.num != this._parent.rows_ar[_local2.line].val)) {
this._x = this.start_x;
this._y = this.start_y;
this.stopDrag();
} else {
this._parent.rows_ar[_local2.line].val++;
this._parent.rows_ar[this.line].val--;
this.num = this._parent.rows_ar[_local2.line].val - 1;
this.line = _local2.line;
this._x = _local2._x;
this._y = _local2._y;
this.stopDrag();
}
this._parent.saveData();
};
_local2++;
}
_depth++;
attachMovie("lib_text_1_r", ("text_" + _local4) + "_mc", _depth, {_x:250, _y:_y_step * _local4, text:rows_ar[_local4].text});
_local4++;
}
}
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 50
stop();
_parent.play();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 139 MovieClip Frame 1
stop();
Symbol 141 MovieClip [lib_tuning_grid] Frame 1
#initclip 11
Object.registerClass("lib_tuning_grid", Pirrest.MiniTrack.TuningGrid);
#endinitclip
Symbol 150 MovieClip Frame 6
this.removeMovieClip();
Symbol 161 MovieClip Frame 1
type = "player_car";
Symbol 163 MovieClip Frame 1
type = "check_point";
Symbol 165 MovieClip Frame 1
type = "wall";
Symbol 167 MovieClip Frame 1
type = "corner_in";
Symbol 169 MovieClip Frame 1
type = "corner_out";
Symbol 206 MovieClip [lib_road_4] Frame 1
#initclip 6
Object.registerClass("lib_road_4", Pirrest.MiniTrack.Road);
#endinitclip
Symbol 219 MovieClip [lib_road_3] Frame 1
#initclip 7
Object.registerClass("lib_road_3", Pirrest.MiniTrack.Road);
#endinitclip
Symbol 223 MovieClip [lib_road_2] Frame 1
#initclip 8
Object.registerClass("lib_road_2", Pirrest.MiniTrack.Road);
#endinitclip
Symbol 227 MovieClip [lib_road_1] Frame 1
#initclip 9
Object.registerClass("lib_road_1", Pirrest.MiniTrack.Road);
#endinitclip
Symbol 233 MovieClip Frame 15
gotoAndPlay (6);
Symbol 244 MovieClip Frame 1
stop();
Symbol 248 MovieClip [lib_cars] Frame 1
#initclip 10
Object.registerClass("lib_cars", Pirrest.MiniTrack.Car);
#endinitclip
Symbol 249 MovieClip [lib_ghost_car] Frame 1
body_mc.flame_1_mc._visible = false;
body_mc.flame_2_mc._visible = false;
shadow_mc.flame_1_mc._visible = false;
shadow_mc.flame_2_mc._visible = false;
Symbol 257 Button
on (release) {
_parent.instructions._visible = false;
_parent.butoane._visible = true;
}
Symbol 267 Button
on (release) {
gotoAndStop ("intro_2");
}
Symbol 272 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?MiniNitros", "_blank");
}
Symbol 275 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 283 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 283 MovieClip Frame 2
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 283 MovieClip Frame 3
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 284 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 291 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 291 MovieClip Frame 2
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 291 MovieClip Frame 3
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 292 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 295 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 295 MovieClip Frame 2
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 295 MovieClip Frame 3
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 300 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 304 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 305 MovieClip Frame 1
stop();
Symbol 306 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 313 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 313 MovieClip Frame 2
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 313 MovieClip Frame 3
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 314 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 315 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
function instructionsFunction() {
_parent.instructions._visible = true;
_parent.butoane._visible = false;
}
stop();
if ((wyasezare == "Orizontal") && (wyinstructions == false)) {
this.gotoAndStop(2);
}
if (((wyasezare == "Vertical") && (wyinstructions == true)) && (wypozitie == "Sus")) {
this.gotoAndStop(3);
}
if (((wyasezare == "Vertical") && (wyinstructions == true)) && (wypozitie == "Jos")) {
this.gotoAndStop(4);
}
if (((wyasezare == "Orizontal") && (wyinstructions == true)) && (wypozitie == "Sus")) {
this.gotoAndStop(5);
}
if (((wyasezare == "Orizontal") && (wyinstructions == true)) && (wypozitie == "Jos")) {
this.gotoAndStop(6);
}
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 316 MovieClip Frame 2
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 316 MovieClip Frame 3
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 316 MovieClip Frame 4
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 316 MovieClip Frame 5
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 316 MovieClip Frame 6
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 14
stop();
Symbol 325 MovieClip Frame 22
gotoAndStop (1);
Symbol 326 MovieClip Frame 1
go_away = false;
stop();
Symbol 326 MovieClip Frame 74
gotoAndPlay ("over");
Symbol 326 MovieClip Frame 75
go_away = true;
Symbol 326 MovieClip Frame 106
go_away = false;
stop();
Symbol 326 MovieClip Frame 107
this.go_away = true;
Symbol 327 MovieClip Frame 1
go_away = false;
stop();
Symbol 327 MovieClip Frame 74
gotoAndPlay ("over");
Symbol 327 MovieClip Frame 75
go_away = true;
Symbol 327 MovieClip Frame 106
go_away = false;
stop();
Symbol 327 MovieClip Frame 107
this.go_away = true;
Symbol 328 MovieClip Frame 1
go_away = false;
stop();
Symbol 328 MovieClip Frame 74
gotoAndPlay ("over");
Symbol 328 MovieClip Frame 75
go_away = true;
Symbol 328 MovieClip Frame 106
go_away = false;
stop();
Symbol 328 MovieClip Frame 107
this.go_away = true;
Symbol 329 MovieClip Frame 1
go_away = false;
stop();
Symbol 329 MovieClip Frame 74
gotoAndPlay ("over");
Symbol 329 MovieClip Frame 75
go_away = true;
Symbol 329 MovieClip Frame 106
go_away = false;
stop();
Symbol 329 MovieClip Frame 107
this.go_away = true;
Symbol 330 MovieClip Frame 1
go_away = false;
stop();
Symbol 330 MovieClip Frame 74
gotoAndPlay ("over");
Symbol 330 MovieClip Frame 75
go_away = true;
Symbol 330 MovieClip Frame 106
go_away = false;
stop();
Symbol 330 MovieClip Frame 107
this.go_away = true;
Symbol 331 MovieClip Frame 1
go_away = false;
stop();
Symbol 331 MovieClip Frame 74
gotoAndPlay ("over");
Symbol 331 MovieClip Frame 75
go_away = true;
Symbol 331 MovieClip Frame 106
go_away = false;
stop();
Symbol 331 MovieClip Frame 107
this.go_away = true;
Symbol 338 MovieClip Frame 1
function HideAll() {
this.Pic1._visible = false;
this.Pic2._visible = false;
this.Pic3._visible = false;
this.Pic4._visible = false;
this.Pic5._visible = false;
this.Pic6._visible = false;
}
function ShowSelected(i) {
HideAll();
if (i != undefined) {
this["Pic" + i]._visible = true;
}
}
this.Pic1._visible = false;
this.Pic2._visible = false;
this.Pic3._visible = false;
this.Pic4._visible = false;
this.Pic5._visible = false;
this.Pic6._visible = false;
Symbol 338 MovieClip Frame 2
ShowSelected(this.selected_skin);
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 2
_root.changing_cars = true;
Symbol 339 MovieClip Frame 17
Skin_mc.selected_skin = _root.selected_car;
Skin_mc.gotoAndPlay("change");
Symbol 339 MovieClip Frame 49
_root.changing_cars = false;
stop();
Symbol 340 MovieClip Frame 1
var i;
i = 1;
while (i <= 6) {
var curr_car = this["bn_Car" + i];
curr_car.id = i;
curr_car.onRollOver = function () {
if ((!this.go_away) and (!_root.changing_cars)) {
this.gotoAndPlay("over");
}
};
curr_car.onRollOut = function () {
if (!this.go_away) {
this.gotoAndStop(1);
}
};
curr_car.onRelease = function () {
if (!this.go_away) {
if (_root.selected_car == undefined) {
this._parent._parent.accept_mc._visible = true;
this._parent._parent.accept_mc.enabled = true;
this._parent._parent.accept_mc.gotoAndPlay("out");
}
this.gotoAndPlay("goaway");
this._parent["bn_Car" + _root.selected_car].gotoAndPlay("comeback");
_root.selected_car = this.id;
this._parent.Selected_Car_mc.gotoAndPlay("change");
}
};
i++;
}
Symbol 340 MovieClip Frame 51
stop();
Symbol 348 Button
on (release) {
_global.gl_user_info.curr_road = 2;
gotoAndPlay ("game");
}
Symbol 351 Button
on (release) {
_global.gl_user_info.curr_road = 1;
gotoAndPlay ("game");
}
Symbol 354 Button
on (release) {
_global.gl_user_info.curr_road = 3;
gotoAndPlay ("game");
}
Symbol 355 Button
on (release) {
_global.gl_user_info.curr_road = 4;
gotoAndPlay ("game");
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
if (_root.sunet == true) {
_root.nitro.start(0, 1);
}
this.onEnterFrame = function () {
if (_root.pauza == false) {
this.play();
} else {
this.stop();
}
};
Symbol 363 MovieClip Frame 100
stop();
delete this.onEnterFrame;
this.car.stopNitro();
Symbol 371 MovieClip Frame 1
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 42
stopAllSounds();
Symbol 372 MovieClip Frame 98
stop();
Symbol 374 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 375 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 376 Button
on (release) {
_parent.mainMenuFunction();
}
Symbol 377 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 378 Button
on (release, keyPress "p") {
_parent.pauseFunction();
}
Symbol 379 Button
on (release, keyPress "s") {
_parent.soundFunction();
}
Symbol 390 MovieClip Frame 1
stop();
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
_parent.wxbutno = 6;
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == true)) {
this.gotoAndStop(2);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(3);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(4);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(5);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(6);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(7);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(8);
_parent.wxbutno = 3;
}
Symbol 390 MovieClip Frame 2
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 390 MovieClip Frame 3
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 390 MovieClip Frame 4
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 390 MovieClip Frame 5
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 390 MovieClip Frame 6
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 390 MovieClip Frame 7
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 390 MovieClip Frame 8
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 395 Button
on (press) {
_parent.play();
}
Symbol 398 MovieClip Frame 1
stop();
if (_parent.wxaliniere == "Dreapta-Jos") {
this.gotoAndStop(2);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(3);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(5);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(6);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(7);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(4);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(8);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(9);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(10);
}
Symbol 398 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 398 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 398 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 398 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 398 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 398 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 398 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 398 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 398 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 417 MovieClip Frame 1
stop();
this.onRollOver = function () {
if (_parent._parent._currentframe <= 10) {
_parent._parent.gotoAndPlay(11);
}
};
if (_parent._parent.wxbutno == 5) {
this.gotoAndStop(2);
}
if (_parent._parent.wxbutno == 4) {
this.gotoAndStop(3);
}
if (_parent._parent.wxbutno == 3) {
this.gotoAndStop(4);
}
Symbol 418 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 419 MovieClip Frame 1
function pauseFunction() {
if (_root.pauza == false) {
_root.pauza = true;
} else {
_root.pauza = false;
}
}
function soundFunction() {
if (_root.sunet == true) {
_root.sunet = false;
_root.engineLoop.stop();
} else {
_root.sunet = true;
_root.engineLoop.start(0, 10000);
}
}
function mainMenuFunction() {
_root.counterSunet = 0;
delete _parent.onEnterFrame;
_root.selected_car = undefined;
_parent.gotoAndStop("intro");
}
stop();
wxnguides._alpha = 0;
my_color = new Color(my_mc);
my_color.setRGB(wxculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wxnmenu.tg);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3 = new Color(wxnfer);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
Symbol 419 MovieClip Frame 10
stop();
Symbol 424 Button
on (release) {
_root.counterSunet = 0;
_root.is_game_over = false;
_root.selected_car = undefined;
gotoAndStop ("intro");
}
Symbol 427 Button
on (release) {
_root.counterSunet = 0;
gotoAndPlay ("replay");
_global.gl_user_info.curr_road = _global.gl_user_info.curr_road + 1;
}
Symbol 429 Button
on (release) {
_root.counterSunet = 0;
gotoAndPlay ("replay");
}
Symbol 431 Button
on (release) {
_root.selected_car = undefined;
_root.is_game_over = false;
gotoAndStop ("intro_2");
}
Symbol 436 Button
on (release) {
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
}
Symbol 439 MovieClip Frame 9
stop();
stopAllSounds();
_root.sunet = true;
_root.counterSunet = 0;
_root.pauza = false;
Instance of Symbol 261 MovieClip "instructions" in Symbol 439 MovieClip Frame 9
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 316 MovieClip "butoane" in Symbol 439 MovieClip Frame 9
//component parameters
onClipEvent (construct) {
wynume = "MiniNitros";
wyculoare = 8388608 /* 0x800000 */;
wyasezare = "Vertical";
wyaliniere = "Stanga";
wypozitie = "Jos";
wyinstructions = true;
}
Symbol 439 MovieClip Frame 18
tuning_grid_mc.init([7, 7, 7, 7, 7, 3], _global.gl_user_info.player_car.tuning_ar, ["ACCELERATION", "TOP SPEED", "STEERING RESP.", "STEERING CIRCLE", "TYRE GRIP", "NITRO"]);
tuning_grid_mc.createGrid();
accept_mc.onRollOver = function () {
this.gotoAndPlay("over");
};
accept_mc.onRollOut = function () {
this.gotoAndPlay("out");
};
accept_mc.onRelease = function () {
gotoAndStop ("select_level");
};
accept_mc._visible = false;
accept_mc.enabled = false;
Symbol 439 MovieClip Frame 38
!!!ERROR
Symbol 439 MovieClip Frame 39
_root.startGame();
if (_root.sunet == true) {
_root.engineLoop.start(0, 1000);
}
Instance of Symbol 419 MovieClip in Symbol 439 MovieClip Frame 39
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 439 MovieClip Frame 40
!!!ERROR
Symbol 439 MovieClip Frame 49
!!!ERROR
Symbol 439 MovieClip Frame 50
_root.score = 15000 - Number(_root.main_mc.timer_mc.timer_in_mc.caption.slice(3, 5) + _root.main_mc.timer_mc.timer_in_mc.caption.slice(6, 8));
trace(_root.score);
Symbol 439 MovieClip Frame 178
next_mc.onRollOver = function () {
this.gotoAndPlay("over");
};
next_mc.onRollOut = function () {
this.gotoAndPlay("out");
};
next_mc.onRelease = function () {
gotoAndPlay ("replay");
_global.gl_user_info.curr_road = _global.gl_user_info.curr_road + 1;
};
again_mc.onRollOver = function () {
this.gotoAndPlay("over");
};
again_mc.onRollOut = function () {
this.gotoAndPlay("out");
};
again_mc.onRelease = function () {
gotoAndPlay ("replay");
};
tuning_mc.onRollOver = function () {
this.gotoAndPlay("over");
};
tuning_mc.onRollOut = function () {
this.gotoAndPlay("out");
};
tuning_mc.onRelease = function () {
_root.selected_car = undefined;
_root.is_game_over = false;
gotoAndStop ("intro_2");
};
Instance of Symbol 316 MovieClip in Symbol 439 MovieClip Frame 178
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 439 MovieClip Frame 185
!!!ERROR
Symbol 444 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 220);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
i = 1;
while (i <= 30) {
scoresScroll["n" + i].text = _root.monthnume[i];
scoresScroll["s" + i].text = _root.monthscor[i];
i++;
}
Symbol 451 Button
on (release) {
!!!ERROR
Symbol 756 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 915);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
q = 1;
while (q <= 100) {
scoresScroll["n" + q].text = _root.evernume[q];
scoresScroll["s" + q].text = _root.everscor[q];
q++;
}
Instance of Symbol 85 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 756 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 762 Button
on (release) {
!!!ERROR
Symbol 778 Button
on (release) {
i = 1;
while (i <= 100) {
if (_root.best > _root.monthscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.monthscor[k] = _root.monthscor[k - 1];
_root.monthnume[k] = _root.monthnume[k - 1];
k--;
}
_root.monthscor[i] = _root.best;
_root.monthnume[i] = _root.nickname;
i = 31;
}
i++;
}
i = 1;
while (i <= 100) {
if (_root.best > _root.everscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.everscor[k] = _root.everscor[k - 1];
_root.evernume[k] = _root.evernume[k - 1];
k--;
}
_root.everscor[i] = _root.best;
_root.evernume[i] = _root.nickname;
i = 31;
}
i++;
}
gotoAndPlay ("submit");
}
Symbol 784 Button
on (release) {
!!!ERROR
Symbol 788 MovieClip Frame 1
!!!ERROR
Symbol 788 MovieClip Frame 9
!!!ERROR
Symbol 788 MovieClip Frame 22
!!!ERROR
Symbol 788 MovieClip Frame 34
var my_date = new Date();
codul = Math.round(my_date.getTime() / 1000) * _root.best;
cale = (((((("http://www.freeonlinegames.com/scoreboard/update.php?game=" + _root.gameid) + "&name=") + _root.nickname) + "&score=") + _root.best) + "&code=") + codul;
loadVariablesNum (cale, 0, "GET");
gotoAndPlay ("loop");
Symbol 788 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}