Frame 1
b1ww = _root.getBytesLoaded();
b2ww = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1ww * 100) / b2ww);
prel.gotoAndStop(tgPrel);
if (b1ww >= b2ww) {
gotoAndPlay ("intro");
}
Frame 4
if (Math.round(b1ww / 1024) <= 35) {
gotoAndPlay ("loop1");
}
Frame 5
b1ww = _root.getBytesLoaded();
b2ww = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1ww * 100) / b2ww);
tg = tgprel - 1;
if (tg <= 9) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 9
if (Math.round(b1ww / 1024) <= 325) {
gotoAndPlay ("loop2");
}
Frame 11
b1ww = _root.getBytesLoaded();
b2ww = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1ww * 100) / b2ww);
tg = tgprel - 2;
if (tgprel <= 9) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 14
if (b1ww < b2ww) {
gotoAndPlay ("loop3");
}
Frame 15
procent = "--";
prel.gotoAndStop(100);
Frame 221
_global.sunet = true;
Frame 222
stop();
kills = new Array();
hits = new Array();
misses = new Array();
hitosu = new Array();
tothits = 0;
totkills = 0;
totmisses = 0;
totscore = 0;
timedist = 1;
distortion = 0.3;
intarzie = 6;
paused = 0;
Instance of Symbol 236 MovieClip in Frame 222
//component parameters
onClipEvent (construct) {
wynume = "WarGames";
wyculoare = 7112278 /* 0x6C8656 */;
wyasezare = "Vertical";
wyaliniere = "Stanga";
wypozitie = "Jos";
wyinstructions = true;
}
Frame 224
stop();
level = 1;
Instance of Symbol 339 MovieClip in Frame 224
//component parameters
onClipEvent (construct) {
wxnume = "WarGames";
wxaliniere = "Dreapta-Jos";
wxculoare = 7112278 /* 0x6C8656 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Frame 227
stop();
score1 = 0;
camperpen = 0;
morti = 0;
i = 1;
while (i <= 4) {
hits[i] = 0;
kills[i] = 0;
misses[i] = 0;
hitosu[i] = 0;
i++;
}
ballcount = 20;
distmin = 200;
reloadtime = 8;
ballspeed = 12;
endurance = 8;
retreats = 4;
retreattime = 40;
precizie = 5;
hideno = 5;
maxhitwall = 6;
waithid = 50;
ranhide = 300;
team = 600;
cheat = 5;
scade = 1;
camptime = 80;
hitwall = new Array();
i = 1;
while (i <= 4) {
hitwall[i] = 0;
i++;
}
this.onMouseDown = function () {
_root.p1.shoot = 1;
};
this.onMouseUp = function () {
_root.p1.shoot = 0;
};
Instance of Symbol 360 MovieClip "p1" in Frame 227
/* no clip actions */
Instance of Symbol 431 MovieClip "lifemc1" in Frame 227
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 437 MovieClip "lifemc2" in Frame 227
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 443 MovieClip "lifemc4" in Frame 227
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 449 MovieClip "lifemc3" in Frame 227
onClipEvent (load) {
gotoAndStop (321);
}
Frame 232
gotoAndStop (222);
Frame 233
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
Frame 240
stop();
level = 2;
Frame 243
stop();
score1 = 0;
camperpen = 0;
morti = 0;
i = 1;
while (i <= 4) {
hits[i] = 0;
kills[i] = 0;
misses[i] = 0;
hitosu[i] = 0;
i++;
}
ballcount = 20;
distmin = 250;
reloadtime = 8;
ballspeed = 14;
endurance = 8;
retreats = 4;
retreattime = 40;
precizie = 4;
hideno = 5;
maxhitwall = 6;
waithid = 50;
ranhide = 300;
team = 600;
cheat = 4;
scade = 1;
camptime = 80;
hitwall = new Array();
i = 1;
while (i <= 4) {
hitwall[i] = 0;
i++;
}
this.onMouseDown = function () {
_root.p1.shoot = 1;
};
this.onMouseUp = function () {
_root.p1.shoot = 0;
};
Instance of Symbol 431 MovieClip "lifemc1" in Frame 243
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 437 MovieClip "lifemc2" in Frame 243
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 443 MovieClip "lifemc4" in Frame 243
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 449 MovieClip "lifemc3" in Frame 243
onClipEvent (load) {
gotoAndStop (321);
}
Frame 248
gotoAndStop (222);
Frame 249
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
Frame 256
stop();
level = 3;
Frame 259
stop();
score1 = 0;
camperpen = 0;
morti = 0;
i = 1;
while (i <= 4) {
hits[i] = 0;
kills[i] = 0;
misses[i] = 0;
hitosu[i] = 0;
i++;
}
ballcount = 20;
distmin = 250;
reloadtime = 8;
ballspeed = 16;
endurance = 8;
retreats = 4;
retreattime = 40;
precizie = 3;
hideno = 5;
maxhitwall = 6;
waithid = 50;
ranhide = 300;
team = 550;
cheat = 3;
scade = 1;
camptime = 80;
hitwall = new Array();
i = 1;
while (i <= 4) {
hitwall[i] = 0;
i++;
}
this.onMouseDown = function () {
_root.p1.shoot = 1;
};
this.onMouseUp = function () {
_root.p1.shoot = 0;
};
Instance of Symbol 431 MovieClip "lifemc1" in Frame 259
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 437 MovieClip "lifemc2" in Frame 259
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 443 MovieClip "lifemc4" in Frame 259
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 449 MovieClip "lifemc3" in Frame 259
onClipEvent (load) {
gotoAndStop (321);
}
Frame 264
gotoAndStop (222);
Frame 265
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
Frame 272
stop();
level = 4;
Frame 275
stop();
avion.swapDepths(20000);
score1 = 0;
camperpen = 0;
morti = 0;
i = 1;
while (i <= 4) {
hits[i] = 0;
kills[i] = 0;
misses[i] = 0;
hitosu[i] = 0;
i++;
}
ballcount = 20;
distmin = 300;
reloadtime = 8;
ballspeed = 18;
endurance = 8;
retreats = 4;
retreattime = 40;
precizie = 2;
hideno = 5;
maxhitwall = 6;
waithid = 50;
ranhide = 300;
team = 500;
cheat = 2;
scade = 1;
camptime = 80;
hitwall = new Array();
i = 1;
while (i <= 4) {
hitwall[i] = 0;
i++;
}
this.onMouseDown = function () {
_root.p1.shoot = 1;
};
this.onMouseUp = function () {
_root.p1.shoot = 0;
};
Instance of Symbol 431 MovieClip "lifemc1" in Frame 275
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 437 MovieClip "lifemc2" in Frame 275
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 443 MovieClip "lifemc4" in Frame 275
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 449 MovieClip "lifemc3" in Frame 275
onClipEvent (load) {
gotoAndStop (321);
}
Frame 280
gotoAndStop (222);
Frame 281
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
removeMovieClip("avion");
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
Frame 287
removeMovieClip("avion");
Frame 288
stop();
level = 5;
Frame 291
stop();
score1 = 0;
camperpen = 0;
morti = 0;
i = 1;
while (i <= 4) {
hits[i] = 0;
kills[i] = 0;
misses[i] = 0;
hitosu[i] = 0;
i++;
}
ballcount = 20;
distmin = 300;
reloadtime = 8;
ballspeed = 20;
endurance = 8;
retreats = 4;
retreattime = 40;
precizie = 1;
hideno = 5;
maxhitwall = 6;
waithid = 50;
ranhide = 300;
team = 300;
cheat = 2;
scade = 2;
camptime = 80;
hitwall = new Array();
i = 1;
while (i <= 4) {
hitwall[i] = 0;
i++;
}
this.onMouseDown = function () {
_root.p1.shoot = 1;
};
this.onMouseUp = function () {
_root.p1.shoot = 0;
};
Instance of Symbol 431 MovieClip "lifemc1" in Frame 291
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 437 MovieClip "lifemc2" in Frame 291
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 443 MovieClip "lifemc4" in Frame 291
onClipEvent (load) {
gotoAndStop (321);
}
Instance of Symbol 449 MovieClip "lifemc3" in Frame 291
onClipEvent (load) {
gotoAndStop (321);
}
Frame 296
gotoAndStop (222);
Frame 297
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
Frame 304
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
removeMovieClip("avion");
Instance of Symbol 236 MovieClip in Frame 304
//component parameters
onClipEvent (construct) {
wynume = "WarGames";
wyculoare = 7112278 /* 0x6C8656 */;
wyasezare = "Vertical";
wyaliniere = "Dreapta";
wypozitie = "Jos";
wyinstructions = false;
}
Frame 313
stop();
tothits = tothits + _root.hits[1];
totmisses = totmisses + _root.misses[1];
totkills = totkills + _root.kills[1];
xhits = _root.hits[1];
xmissed = _root.misses[1];
xkills = _root.kills[1];
xaccuracy = 100 - Math.round((xmissed / (xhits + xmissed)) * 100);
if (isNaN(xaccuracy)) {
xaccuracy = 0;
}
xacurate = xaccuracy * 3;
xaccuracy = xaccuracy + "%";
xscore = score1;
xtotscore = totscore;
xcamper = camperpen;
xagresive = tothits * 3;
xgore = xkills * 150;
xlscore = (((score1 + xagresive) + xgore) + xacurate) - xcamper;
totscore = totscore + (xlscore - score1);
if (totscore < 0) {
totscore = 0;
}
Frame 322
if (false) {
}
Frame 323
_root.menu.removeMovieClip();
_root.gameid = "WarGames";
_root.best = _root.totscore;
_root.totscore = 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 325
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 326
if (false) {
}
Frame 333
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 337
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 338
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 3 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
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 16 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 25 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 34 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 35 MovieClip [UpArrow] Frame 1
stop();
Symbol 35 MovieClip [UpArrow] Frame 2
stop();
Symbol 35 MovieClip [UpArrow] Frame 3
stop();
Symbol 41 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 50 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 55 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 56 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 64 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 72 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 80 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 81 MovieClip [DownArrow] Frame 1
stop();
Symbol 81 MovieClip [DownArrow] Frame 2
stop();
Symbol 81 MovieClip [DownArrow] Frame 3
stop();
Symbol 102 MovieClip [_manSprites] Frame 1
stop();
Symbol 102 MovieClip [_manSprites] Frame 3
stop();
Symbol 102 MovieClip [_manSprites] Frame 17
gotoAndPlay ("mergifa");
Symbol 102 MovieClip [_manSprites] Frame 32
gotoAndPlay ("mergica");
Symbol 102 MovieClip [_manSprites] Frame 58
stop();
Symbol 104 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 105 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
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 109 MovieClip Frame 1
stop();
Symbol 111 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?WarGames", "_blank");
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 50
stop();
_parent.play();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 189 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?WarGames", "_blank");
}
Symbol 190 MovieClip Frame 116
stop();
Symbol 192 Button
on (release) {
play();
}
Symbol 195 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 203 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 203 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 203 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 204 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 211 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 211 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 211 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 212 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 215 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 215 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 215 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 220 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 224 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 226 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 233 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 233 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 233 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 234 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 235 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 1
function instructionsFunction() {
_root.instructions._x = 14;
}
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 236 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 236 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 236 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 236 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 236 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 241 Button
on (release) {
_root.instructions._x = -280;
}
Symbol 248 MovieClip Frame 1
this.onEnterFrame = function () {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["p" + i])) {
if (this._y < _root["p" + i]._y) {
_root["p" + i].y = Math.abs(y);
_root["p" + i]._y = _root["p" + i]._y + 1;
} else {
_root["p" + i].y = -Math.abs(y);
_root["p" + i]._y = _root["p" + i]._y - 1;
}
}
i++;
}
};
Symbol 249 MovieClip Frame 1
this.onEnterFrame = function () {
i = 1;
while (i <= 4) {
if (this.hitTest(_root["p" + i])) {
if (this._x < _root["p" + i]._x) {
_root["p" + i].x = Math.abs(x);
_root["p" + i]._x = _root["p" + i]._x + 1;
} else {
_root["p" + i].x = -Math.abs(x);
_root["p" + i]._x = _root["p" + i]._x - 1;
}
}
i++;
}
};
Symbol 264 MovieClip Frame 1
stop();
rn = random(4);
if (rn == 1) {
play();
}
Symbol 264 MovieClip Frame 2
if (_global.sunet == true) {
splash = new Sound();
splash.attachSound("splash");
splash.start();
}
Symbol 264 MovieClip Frame 9
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
stop();
var my_color = new Color(this);
if (cod == 1) {
my_color.setRGB(60928);
}
if (cod == 2) {
my_color.setRGB(16751052);
}
if (cod == 3) {
my_color.setRGB(6737151);
}
if (cod == 4) {
my_color.setRGB(16763904);
}
this.onEnterFrame = function () {
if (_root.paused == 0) {
_x = (_x + (vx * _root.timedist));
_y = (_y + (vy * _root.timedist));
if (_root.terenbile.hitTest(this._x, this._y, true)) {
_root.hitwall[cod]++;
_root.misses[cod]++;
if (_root.hitwall[cod] >= _root.maxhitwall) {
_root["p" + cod].retcount = 0;
_root["p" + cod].locatie = random(_root.hideno) + 1;
_root["p" + cod].stat = "ascunde";
}
this.gotoAndPlay("remove");
}
i = 1;
while (i <= 4) {
if ((_root["p" + i].hitTest(this._x, this._y, true) && (cod != i)) && (_root["p" + i].dead == false)) {
this.gotoAndPlay("remove");
if (i == 1) {
_root.hitosu[cod]++;
}
_root.hits[cod]++;
_root["score" + cod] = _root["score" + cod] + (5 * _root.level);
if (cod == 1) {
_root.totscore = _root.totscore + (5 * _root.level);
}
_root["p" + i].life = _root["p" + i].life - 1;
if (i == 1) {
rn = random(_root.cheat);
if (rn == 0) {
_root["p" + i].life = _root["p" + i].life - _root.scade;
}
}
_root["p" + i].hitcount++;
_root["p" + i].hitter = cod;
if (_root["p" + i].stat == "ascunde") {
_root["p" + i].waitcount = 0;
_root["p" + i].retcount = 0;
_root["p" + i].inamic = cod;
_root["p" + i].stat = "stai";
}
_root["lifemc" + i].gotoAndStop(_root["p" + i].life + 1);
if (_root["p" + i].life <= 0) {
_root.kills[cod]++;
_root["lifemc" + i].gotoAndStop(1);
_root["p" + i].dead = true;
_root["p" + i].gotoAndPlay("die");
}
}
i++;
}
}
};
Symbol 266 MovieClip Frame 3
delete this.onEnterFrame;
play();
Symbol 266 MovieClip Frame 7
removeMovieClip(this);
Symbol 281 Button
on (release) {
play();
}
Symbol 293 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 294 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 295 Button
on (release) {
_parent.mainMenuFunction();
}
Symbol 296 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 297 Button
on (release, keyPress "p") {
_parent.pauseFunction();
}
Symbol 298 Button
on (release, keyPress "s") {
_parent.soundFunction();
}
Symbol 309 Button
on (release, keyPress "p") {
_parent.soundFunction();
}
Symbol 310 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 310 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 310 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 310 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 310 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 310 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 310 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 310 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 315 Button
on (press) {
_parent.play();
}
Symbol 318 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 318 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 318 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 318 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 318 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 318 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 318 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 318 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 318 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 318 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 337 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 338 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 339 MovieClip Frame 1
function pauseFunction() {
if (_root.paused == 1) {
_root.paused = 0;
} else {
_root.paused = 1;
_root.p1.omul.stat = "staifa";
_root.p1.omul.gotoAndStop("staifa");
_root.p2.om.omul.stat = "staifa";
_root.p2.om.omul.gotoAndStop("staifa");
_root.p3.om.omul.stat = "staifa";
_root.p3.om.omul.gotoAndStop("staifa");
_root.p4.om.omul.stat = "staifa";
_root.p4.om.omul.gotoAndStop("staifa");
}
}
function soundFunction() {
if (_global.sunet == true) {
_global.sunet = false;
} else {
_global.sunet = true;
}
}
function mainMenuFunction() {
_root.gotoAndStop("coperta");
}
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 339 MovieClip Frame 10
stop();
Symbol 359 MovieClip Frame 7
cont = 0;
Symbol 359 MovieClip Frame 10
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 13
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 16
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 19
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 22
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 25
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergifa");
}
Symbol 359 MovieClip Frame 26
cont = 0;
Symbol 359 MovieClip Frame 29
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 32
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 35
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 38
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 41
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 44
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 47
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergica");
}
Symbol 359 MovieClip Frame 48
cont = 0;
if (_global.sunet == true) {
death = new Sound();
death.attachSound("death");
death.start();
}
Symbol 359 MovieClip Frame 51
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 54
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 57
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 359 MovieClip Frame 86
stop();
_root.gotoAndStop("gameover");
Symbol 360 MovieClip Frame 1
stop();
cod = Number(_name.slice(1, 2));
reload = 0;
hitcount = 0;
retcount = 0;
rettime = 0;
waitcount = 0;
stat = "ataca";
locretreats = random(_root.retreats) + 1;
dead = false;
life = 100;
speed = 0;
shoot = 0;
campcount = 0;
this.onEnterFrame = function () {
if (_root.paused == 0) {
if ((speed == 0) && (shoot == 0)) {
campcount++;
if (campcount >= _root.camptime) {
_root.camperpen++;
}
} else {
campcount = 0;
}
if (speed != 0) {
if ((shoot == 1) && (omul.stat != "mergica")) {
omul.gotoAndPlay("mergica");
omul.stat = "mergica";
}
if ((shoot == 0) && (omul.stat != "mergifa")) {
omul.gotoAndPlay("mergifa");
omul.stat = "mergifa";
}
}
if (speed == 0) {
if ((shoot == 1) && (omul.stat != "staica")) {
omul.gotoAndStop("staica");
omul.stat = "staica";
}
if ((shoot == 0) && (omul.stat != "staifa")) {
omul.gotoAndStop("staifa");
omul.stat = "staifa";
}
}
_x = (_x + (x * _root.timedist));
_y = (_y + (y * _root.timedist));
if ((Math.abs(_root._xmouse - this._x) + Math.abs(_root._ymouse - this._y)) > 2) {
_rot = (-Math.atan((_root._xmouse - this._x) / (_root._ymouse - this._y))) * 57;
if (this._y < _root._ymouse) {
_rot = _rot + 180;
}
} else {
speed = 0;
}
if (((_rot != 0) && (_rot != 180)) && (_rot != -180)) {
_rotation = _rot;
}
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (Key.isDown(38)) {
speed = 3;
} else if (Key.isDown(40)) {
speed = -3;
} else {
speed = 0;
}
if (Key.isDown(37)) {
eschivelx = Math.sin((_rotation - 90) * (Math.PI/180)) * 1;
eschively = (Math.cos((_rotation - 90) * (Math.PI/180)) * 1) * -1;
x = x + eschivelx;
y = y + eschively;
} else if (Key.isDown(39)) {
eschivelx = Math.sin((_rotation + 90) * (Math.PI/180)) * 1;
eschively = (Math.cos((_rotation + 90) * (Math.PI/180)) * 1) * -1;
x = x + eschivelx;
y = y + eschively;
} else {
eschivelx = 0;
eschively = 0;
}
if (shoot == 1) {
reload = reload + (1 * _root.timedist);
if (reload >= _root.reloadtime) {
reload = 0;
_root.ballcount++;
duplicateMovieClip (_root.pball, "ball" + _root.ballcount, _root.ballcount);
xball = Math.sin(_rotation * (Math.PI/180)) * _root.ballspeed;
yball = (Math.cos(_rotation * (Math.PI/180)) * _root.ballspeed) * -1;
_root["ball" + _root.ballcount].vx = xball;
_root["ball" + _root.ballcount].vy = yball;
_root["ball" + _root.ballcount].cod = cod;
_root["ball" + _root.ballcount]._x = _x + (xball * 2.5);
_root["ball" + _root.ballcount]._y = _y + (yball * 2.5);
_root["ball" + _root.ballcount].gotoAndStop(2);
}
}
if (_root.teren.hitTest(_x + x, _y + y, true)) {
if (speed > 0) {
nope = 1;
if ((_rotation >= -90) && (_rotation < 0)) {
if (!_root.teren.hitTest(_x - 5, _y + 5, true)) {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (_root.teren.hitTest(_x - 5, _y - 5, true)) {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (_root.teren.hitTest(_x - 5, _y + 5, true)) {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation <= -90) && (_rotation > -180)) {
if (_root.teren.hitTest(_x - 5, _y - 5, true)) {
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
} else {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
}
}
} else {
if ((_rotation >= -90) && (_rotation < 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < -90) && (_rotation >= -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
}
}
}
};
Symbol 360 MovieClip Frame 2
delete this.onEnterFrame;
omul.gotoAndPlay("mori");
Symbol 360 MovieClip Frame 5
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 4
stop();
Symbol 380 MovieClip Frame 7
cont = 0;
Symbol 380 MovieClip Frame 10
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 13
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 16
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 19
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 22
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 25
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergifa");
}
Symbol 380 MovieClip Frame 26
cont = 0;
Symbol 380 MovieClip Frame 29
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 32
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 35
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 38
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 41
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 44
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 47
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergica");
}
Symbol 380 MovieClip Frame 48
cont = 0;
play();
if (_global.sunet == true) {
death = new Sound();
death.attachSound("death");
death.start();
}
Symbol 380 MovieClip Frame 51
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 54
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 57
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 380 MovieClip Frame 86
stop();
_root.morti++;
if (_root.morti >= 3) {
tgfr = "endlev" + _root.level;
_root.gotoAndStop(tgfr);
}
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 4
stop();
Symbol 400 MovieClip Frame 7
cont = 0;
Symbol 400 MovieClip Frame 10
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 13
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 16
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 19
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 22
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 25
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergifa");
}
Symbol 400 MovieClip Frame 26
cont = 0;
Symbol 400 MovieClip Frame 29
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 32
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 35
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 38
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 41
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 44
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 47
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergica");
}
Symbol 400 MovieClip Frame 48
cont = 0;
play();
if (_global.sunet == true) {
death = new Sound();
death.attachSound("death");
death.start();
}
Symbol 400 MovieClip Frame 51
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 54
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 57
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 400 MovieClip Frame 86
stop();
_root.morti = _root.morti + 1;
if (_root.morti >= 3) {
tgfr = "endlev" + _root.level;
_root.gotoAndStop(tgfr);
}
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 4
stop();
Symbol 420 MovieClip Frame 7
!!!ERROR
Symbol 420 MovieClip Frame 10
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 13
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 16
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 19
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 22
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 25
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergifa");
}
Symbol 420 MovieClip Frame 26
!!!ERROR
Symbol 420 MovieClip Frame 29
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 32
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 35
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 38
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 41
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 44
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 47
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
gotoAndPlay ("mergica");
}
Symbol 420 MovieClip Frame 48
!!!ERROR
Symbol 420 MovieClip Frame 51
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 54
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 57
if ((cont < _root.intarzie) && (_root.timedist != 1)) {
cont++;
gotoAndPlay(_currentframe - 1);
} else {
cont = 0;
play();
}
Symbol 420 MovieClip Frame 86
stop();
_root.morti = _root.morti + 1;
if (_root.morti >= 3) {
tgfr = "endlev" + _root.level;
_root.gotoAndStop(tgfr);
}
Symbol 421 MovieClip Frame 1
!!!ERROR
Symbol 421 MovieClip Frame 2
!!!ERROR
Symbol 421 MovieClip Frame 3
!!!ERROR
Symbol 422 MovieClip Frame 1
stop();
cod = Number(_name.slice(1, 2));
om.gotoAndStop(cod - 1);
speed = 3;
hitcount = 0;
retcount = 0;
rettime = 0;
waitcount = 0;
stat = "ataca";
locretreats = random(_root.retreats) + 1;
dead = false;
life = 100;
this.onEnterFrame = function () {
if (_root.paused == 0) {
rint = random(_root.team);
if (rint == 1) {
inamic = 1;
stat = "urmareste";
}
i = 1;
while (i <= 4) {
if (i != cod) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i].dead == false)) {
this.hitcount = 0;
this.stat = "retrage";
rix = random(2);
if (rix == 1) {
eschiva = 2;
} else {
eschiva = -2;
}
inamic = i;
_root["p" + i].hitcount = 0;
_root["p" + i].stat = "retrage";
if (rix == 1) {
_root["p" + i].eschiva = 2;
} else {
_root["p" + i].eschiva = -2;
}
_root["p" + i].inamic = cod;
}
}
i++;
}
if (stat == "urmareste") {
if (om.omul.stat != "mergifa") {
om.omul.gotoAndPlay("mergifa");
om.omul.stat = "mergifa";
}
hitter = null;
speed = Math.abs(speed);
if (hitcount >= _root.endurance) {
hitcount = 0;
stat = "retrage";
if (rix == 1) {
eschiva = 2;
} else {
eschiva = -2;
}
}
_x = (_x + (x * _root.timedist));
_y = (_y + (y * _root.timedist));
_rotation = (_rotation + pas);
distanta = 0;
distx = this._x - _root.p1._x;
disty = this._y - _root.p1._y;
distanta = Math.sqrt((distx * distx) + (disty * disty));
if (distanta < 50) {
reload = 0;
locendurance = random(_root.endurance) + 1;
stat = "stai";
}
if ((hitter == 1) && (nope != 1)) {
reload = 0;
locendurance = random(_root.endurance) + 1;
stat = "stai";
}
_rot = (-Math.atan((_root["p" + inamic]._x - this._x) / (_root["p" + inamic]._y - this._y))) * 57;
if (this._y < _root["p" + inamic]._y) {
_rot = _rot + 180;
}
if (_rot > 0) {
rotDest = _rot;
} else {
rotDest = _rot + 360;
}
if (_rotation > 0) {
rotCar = _rotation;
} else {
rotCar = _rotation + 360;
}
if (rotCar < rotDest) {
if ((rotCar + (360 - rotDest)) < (rotDest - rotCar)) {
pas = -10;
}
if ((rotCar + (360 - rotDest)) > (rotDest - rotCar)) {
pas = 10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
if (rotCar > rotDest) {
if ((rotDest + (360 - rotCar)) < (rotCar - rotDest)) {
pas = 10;
}
if ((rotDest + (360 - rotCar)) > (rotCar - rotDest)) {
pas = -10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
signx = Math.abs(x) / x;
signy = Math.abs(y) / y;
nope = 0;
if (_root.teren.hitTest(_x + x, _y + y, true)) {
if (speed > 0) {
nope = 1;
if ((_rotation >= -90) && (_rotation < 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = -45;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = -45;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = 45;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = 45;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = 135;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = 135;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation <= -90) && (_rotation > -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = -135;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
} else {
_rotation = -135;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
}
}
} else {
if ((_rotation >= -90) && (_rotation < 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < -90) && (_rotation >= -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
}
}
}
if (stat == "ataca") {
if (om.omul.stat != "mergifa") {
om.omul.gotoAndPlay("mergifa");
om.omul.stat = "mergifa";
}
hitter = null;
speed = Math.abs(speed);
if (hitcount >= _root.endurance) {
hitcount = 0;
stat = "retrage";
if (rix == 1) {
eschiva = 2;
} else {
eschiva = -2;
}
}
_x = (_x + (x * _root.timedist));
_y = (_y + (y * _root.timedist));
_rotation = (_rotation + pas);
dmin = 1000;
inamic = 0;
i = 1;
while (i <= 4) {
if ((i != cod) && (_root["p" + i].dead == false)) {
distx = this._x - _root["p" + i]._x;
disty = this._y - _root["p" + i]._y;
distanta = Math.sqrt((distx * distx) + (disty * disty));
if (distanta < dmin) {
dmin = distanta;
inamic = i;
}
}
i++;
}
if ((dmin < _root.distmin) && (nope != 1)) {
reload = 0;
locendurance = random(_root.endurance) + 1;
stat = "stai";
}
_rot = (-Math.atan((_root["p" + inamic]._x - this._x) / (_root["p" + inamic]._y - this._y))) * 57;
if (this._y < _root["p" + inamic]._y) {
_rot = _rot + 180;
}
if (_rot > 0) {
rotDest = _rot;
} else {
rotDest = _rot + 360;
}
if (_rotation > 0) {
rotCar = _rotation;
} else {
rotCar = _rotation + 360;
}
if (rotCar < rotDest) {
if ((rotCar + (360 - rotDest)) < (rotDest - rotCar)) {
pas = -10;
}
if ((rotCar + (360 - rotDest)) > (rotDest - rotCar)) {
pas = 10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
if (rotCar > rotDest) {
if ((rotDest + (360 - rotCar)) < (rotCar - rotDest)) {
pas = 10;
}
if ((rotDest + (360 - rotCar)) > (rotCar - rotDest)) {
pas = -10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
signx = Math.abs(x) / x;
signy = Math.abs(y) / y;
nope = 0;
if (_root.teren.hitTest(_x + x, _y + y, true)) {
if (speed > 0) {
nope = 1;
if ((_rotation >= -90) && (_rotation < 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = -45;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = -45;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = 45;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = 45;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = 135;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = 135;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation <= -90) && (_rotation > -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = -135;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
} else {
_rotation = -135;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
}
}
} else {
if ((_rotation >= -90) && (_rotation < 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < -90) && (_rotation >= -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
}
}
}
if (stat == "stai") {
if (om.omul.stat != "staica") {
om.omul.gotoAndStop("staica");
om.omul.stat = "staica";
}
korlac = 0;
naz = random(_root.ranhide);
if (naz == 1) {
hitcount = 0;
retcount++;
retcount = 0;
locatie = random(_root.hideno) + 1;
stat = "ascunde";
}
speed = Math.abs(speed);
if (hitcount >= locendurance) {
hitcount = 0;
retcount++;
stat = "retrage";
if (rix == 1) {
eschiva = 2;
} else {
eschiva = -2;
}
}
if (hitter != null) {
inamic = hitter;
}
_rotation = (_rotation + pas);
_rot = (-Math.atan((_root["p" + inamic]._x - this._x) / (_root["p" + inamic]._y - this._y))) * 57;
if (this._y < _root["p" + inamic]._y) {
_rot = _rot + 180;
}
if (_rot > 0) {
rotDest = _rot;
} else {
rotDest = _rot + 360;
}
if (_rotation > 0) {
rotCar = _rotation;
} else {
rotCar = _rotation + 360;
}
if (rotCar < rotDest) {
if ((rotCar + (360 - rotDest)) < (rotDest - rotCar)) {
pas = -10;
}
if ((rotCar + (360 - rotDest)) > (rotDest - rotCar)) {
pas = 10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
if (rotCar > rotDest) {
if ((rotDest + (360 - rotCar)) < (rotCar - rotDest)) {
pas = 10;
}
if ((rotDest + (360 - rotCar)) > (rotCar - rotDest)) {
pas = -10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
reload = reload + (1 * _root.timedist);
if (reload >= _root.reloadtime) {
rin = 2 * _root.precizie;
riki = _root.precizie - random(rin);
_rotation = (rotDest + riki);
reload = 0;
_root.ballcount++;
duplicateMovieClip (_root.pball, "ball" + _root.ballcount, _root.ballcount);
xball = Math.sin(_rotation * (Math.PI/180)) * _root.ballspeed;
yball = (Math.cos(_rotation * (Math.PI/180)) * _root.ballspeed) * -1;
_root["ball" + _root.ballcount].vx = xball;
_root["ball" + _root.ballcount].vy = yball;
_root["ball" + _root.ballcount].cod = cod;
_root["ball" + _root.ballcount]._x = _x + (xball * 2.5);
_root["ball" + _root.ballcount]._y = _y + (yball * 2.5);
_root["ball" + _root.ballcount].gotoAndStop(2);
}
}
if (stat == "retrage") {
if (om.omul.stat != "mergica") {
om.omul.gotoAndPlay("mergica");
om.omul.stat = "mergica";
}
_root.hitwall[cod] = 0;
hitcount = 0;
if (eschiva == -2) {
rinx = random(2);
if (rinx == 1) {
xesc = Math.sin((_rotation - 90) * (Math.PI/180)) * 2;
yesc = (Math.cos((_rotation - 90) * (Math.PI/180)) * 2) * -1;
x = x + xesc;
y = y + xesc;
}
} else {
rinx = random(2);
if (rinx == 1) {
xesc = Math.sin((_rotation + 90) * (Math.PI/180)) * 2;
yesc = (Math.cos((_rotation + 90) * (Math.PI/180)) * 2) * -1;
x = x + xesc;
y = y + xesc;
}
}
_x = (_x + (x * _root.timedist));
_y = (_y + (y * _root.timedist));
_rotation = (_rotation + pas);
speed = -Math.abs(speed);
if (retcount >= locretreats) {
retcount = 0;
locatie = random(_root.hideno) + 1;
stat = "ascunde";
}
rettime++;
if (rettime > _root.retreattime) {
rettime = 0;
speed = Math.abs(speed);
stat = "ataca";
}
dmin = 1000;
inamic = 0;
i = 1;
while (i <= 4) {
if ((i != cod) && (_root["p" + i].dead == false)) {
distx = this._x - _root["p" + i]._x;
disty = this._y - _root["p" + i]._y;
distanta = Math.sqrt((distx * distx) + (disty * disty));
if (distanta < dmin) {
dmin = distanta;
inamic = i;
}
}
i++;
}
_rot = (-Math.atan((_root["p" + inamic]._x - this._x) / (_root["p" + inamic]._y - this._y))) * 57;
if (this._y < _root["p" + inamic]._y) {
_rot = _rot + 180;
}
if (_rot > 0) {
rotDest = _rot;
} else {
rotDest = _rot + 360;
}
if (_rotation > 0) {
rotCar = _rotation;
} else {
rotCar = _rotation + 360;
}
if (rotCar < rotDest) {
if ((rotCar + (360 - rotDest)) < (rotDest - rotCar)) {
pas = -10;
}
if ((rotCar + (360 - rotDest)) > (rotDest - rotCar)) {
pas = 10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
if (rotCar > rotDest) {
if ((rotDest + (360 - rotCar)) < (rotCar - rotDest)) {
pas = 10;
}
if ((rotDest + (360 - rotCar)) > (rotCar - rotDest)) {
pas = -10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
reload = reload + (1 * _root.timedist);
if (reload >= _root.reloadtime) {
reload = 0;
rin = 2 * _root.precizie;
riki = _root.precizie - random(rin);
_rotation = (rotDest + riki);
_root.ballcount++;
duplicateMovieClip (_root.pball, "ball" + _root.ballcount, _root.ballcount);
xball = Math.sin(_rotation * (Math.PI/180)) * _root.ballspeed;
yball = (Math.cos(_rotation * (Math.PI/180)) * _root.ballspeed) * -1;
_root["ball" + _root.ballcount].vx = xball;
_root["ball" + _root.ballcount].vy = yball;
_root["ball" + _root.ballcount].cod = cod;
_root["ball" + _root.ballcount]._x = _x + (xball * 2.5);
_root["ball" + _root.ballcount]._y = _y + (yball * 2.5);
_root["ball" + _root.ballcount].gotoAndStop(2);
}
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
signx = Math.abs(x) / x;
signy = Math.abs(y) / y;
if (_root.teren.hitTest(_x + x, _y + y, true)) {
if ((_rotation >= -90) && (_rotation < 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < -90) && (_rotation >= -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
}
}
if (stat == "ascunde") {
locretreats = random(_root.retreats) + 1;
if (!this.hitTest(_root["loc" + locatie])) {
if (om.omul.stat != "mergifa") {
om.omul.gotoAndPlay("mergifa");
om.omul.stat = "mergifa";
}
_x = (_x + (x * _root.timedist));
_y = (_y + (y * _root.timedist));
_rotation = (_rotation + pas);
speed = Math.abs(speed);
_rot = (-Math.atan((_root["loc" + locatie]._x - this._x) / (_root["loc" + locatie]._y - this._y))) * 57;
if (this._y < _root["loc" + locatie]._y) {
_rot = _rot + 180;
}
if (_rot > 0) {
rotDest = _rot;
} else {
rotDest = _rot + 360;
}
if (_rotation > 0) {
rotCar = _rotation;
} else {
rotCar = _rotation + 360;
}
if (rotCar < rotDest) {
if ((rotCar + (360 - rotDest)) < (rotDest - rotCar)) {
pas = -10;
}
if ((rotCar + (360 - rotDest)) > (rotDest - rotCar)) {
pas = 10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
if (rotCar > rotDest) {
if ((rotDest + (360 - rotCar)) < (rotCar - rotDest)) {
pas = 10;
}
if ((rotDest + (360 - rotCar)) > (rotCar - rotDest)) {
pas = -10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
signx = Math.abs(x) / x;
signy = Math.abs(y) / y;
if (_root.teren.hitTest(_x + x, _y + y, true)) {
if (speed > 0) {
nope = 1;
if ((_rotation >= -90) && (_rotation < 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = -45;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = -45;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = 45;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = 45;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = 135;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
} else {
_rotation = 135;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
}
}
if ((_rotation <= -90) && (_rotation > -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
_rotation = -135;
x = 0;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
} else {
_rotation = -135;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = 0;
}
}
} else {
if ((_rotation >= -90) && (_rotation < 0)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < 90) && (_rotation >= 0)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation >= 90) && (_rotation < 180)) {
if (!_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
if ((_rotation < -90) && (_rotation >= -180)) {
if (_root.teren.hitTest(_x - 10, _y, true)) {
y = 0;
} else {
x = 0;
}
}
}
}
} else {
if (om.omul.stat != "staifa") {
om.omul.gotoAndStop("staifa");
om.omul.stat = "staifa";
}
speed = Math.abs(speed);
waitcount++;
if (waitcount >= _root.waithid) {
waitcount = 0;
retcount = 0;
stat = "ataca";
}
if (hitter != null) {
inamic = hitter;
}
dmin = 1000;
inamic = 0;
i = 1;
while (i <= 4) {
if ((i != cod) && (_root["p" + i].dead == false)) {
distx = this._x - _root["p" + i]._x;
disty = this._y - _root["p" + i]._y;
distanta = Math.sqrt((distx * distx) + (disty * disty));
if (distanta < dmin) {
dmin = distanta;
inamic = i;
}
}
i++;
}
_rotation = (_rotation + pas);
_rot = (-Math.atan((_root["p" + inamic]._x - this._x) / (_root["p" + inamic]._y - this._y))) * 57;
if (this._y < _root["p" + inamic]._y) {
_rot = _rot + 180;
}
if (_rot > 0) {
rotDest = _rot;
} else {
rotDest = _rot + 360;
}
if (_rotation > 0) {
rotCar = _rotation;
} else {
rotCar = _rotation + 360;
}
if (rotCar < rotDest) {
if ((rotCar + (360 - rotDest)) < (rotDest - rotCar)) {
pas = -10;
}
if ((rotCar + (360 - rotDest)) > (rotDest - rotCar)) {
pas = 10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
if (rotCar > rotDest) {
if ((rotDest + (360 - rotCar)) < (rotCar - rotDest)) {
pas = 10;
}
if ((rotDest + (360 - rotCar)) > (rotCar - rotDest)) {
pas = -10;
}
if (Math.abs(rotDest - rotCar) < 10) {
pas = 0;
}
}
}
}
}
};
Symbol 422 MovieClip Frame 2
!!!ERROR
Symbol 422 MovieClip Frame 5
!!!ERROR
Symbol 431 MovieClip Frame 1
!!!ERROR
Symbol 437 MovieClip Frame 1
!!!ERROR
Symbol 443 MovieClip Frame 1
!!!ERROR
Symbol 449 MovieClip Frame 1
!!!ERROR
Symbol 454 MovieClip Frame 1
!!!ERROR
Symbol 457 MovieClip Frame 1
td = 0;
this.onEnterFrame = function () {
tgfr = Math.round(td) + 1;
bara.gotoAndStop(tgfr);
if ((td < 160) && (gata == 0)) {
td = td + 0.4;
}
if (td >= 160) {
gata = 1;
td = 160;
}
if (Key.isDown(16) && (gata == 1)) {
_root.timedist = _root.distortion;
td = td - 0.4;
if (td <= 1) {
gata = 0;
td = 0;
}
} else {
_root.timedist = 1;
gata = 0;
}
};
Symbol 464 Button
on (release) {
!!!ERROR
Symbol 570 Button
on (release) {
!!!ERROR
Symbol 597 Button
on (release) {
!!!ERROR
Symbol 601 Button
on (release) {
!!!ERROR
Symbol 620 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 627 Button
on (release) {
!!!ERROR
Symbol 932 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 105 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 932 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 938 Button
on (release) {
!!!ERROR
Symbol 954 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 960 Button
on (release) {
!!!ERROR
Symbol 964 MovieClip Frame 1
!!!ERROR
Symbol 964 MovieClip Frame 9
!!!ERROR
Symbol 964 MovieClip Frame 22
!!!ERROR
Symbol 964 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 964 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}