Frame 1
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
prel.gotoAndStop(tgPrel);
if (b1 >= b2) {
gotoAndPlay ("intro");
}
Frame 4
if (Math.round(b1 / 1024) <= 35) {
gotoAndPlay ("loop1");
}
Frame 5
_root.b1 = _root.getBytesLoaded();
_root.b2 = _root.getBytesTotal();
_root.tgPrel = 1 + Math.round((b1 * 100) / b2);
_root.tg = _root.tgPrel - 2;
if (tg <= 9) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 9
if (Math.round(b1 / 1024) <= 100) {
gotoAndPlay ("loop2");
}
Frame 11
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgPrel - 2;
if (tgPrel <= 9) {
procent = "0" + tg;
trace(procent);
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay ("loop3");
}
Frame 15
procent = "--";
prel.gotoAndStop(100);
Frame 167
Frame 174
Frame 175
stop();
_root.muz = new Sound();
_root.muz.attachSound("muz");
Mouse.show();
_root.SCREEN.removeMovieClip();
_root.R_ball.removeMovieClip();
_root.ball.removeMovieClip();
_root.ball2.removeMovieClip();
_root.COIN.removeMovieClip();
_root.WALL1.removeMovieClip();
_root.MENU1.removeMovieClip();
_root.MACHINE.removeMovieClip();
_root.stick.removeMovieClip();
_root.SPEEDBAR.removeMovieClip();
_root.SCOREBAR.removeMovieClip();
_root.meniu.removeMovieClip();
Instance of Symbol 194 MovieClip "butoane" in Frame 175
//component parameters
onClipEvent (initialize) {
wynume = "PitchingMachine";
wyculoare = 2832400 /* 0x2B3810 */;
wyasezare = "Vertical";
wyaliniere = "Stanga";
wypozitie = "Jos";
wyinstructions = true;
}
Instance of Symbol 204 MovieClip "instructions" in Frame 175
onClipEvent (load) {
this._visible = false;
}
Frame 176
function openAlert(msg) {
var _local1 = _root;
_local1.alertMC.swapDepths(500004);
_local1.alertMC.msg = msg;
_local1.alertMC._visible = true;
}
function getDomain(fullurl) {
var _local1 = fullurl;
p1 = _local1.indexOf("//", 0) + 2;
p2 = _local1.indexOf("/", p1);
if (p2 < 1) {
p2 = _local1.length;
}
domain = _local1.substring(p1, p2);
return(domain);
}
function compDomain(domain, Dlist) {
var _local1 = Dlist;
var _local2 = domain;
returnCheck = false;
i = 0;
while (i < _local1.length) {
if ((_local2 == _local1[i]) || (_local2 == ("www." + _local1[i]))) {
returnCheck = true;
break;
}
i++;
}
return(returnCheck);
}
function SoundPlay(name, vol) {
var _local1 = vol;
var _local2 = this;
_local1 = _local1 / 100;
if (snd_vol > 0) {
switch (name) {
case "hit1" :
LS1.start(0, 1);
LS1.setVolume(_local2.snd_vol * _local1);
return;
case "hit2" :
LS2.start(0, 1);
LS2.setVolume(_local2.snd_vol * _local1);
return;
case "hit3" :
LS3.start(0, 1);
LS3.setVolume(_local2.snd_vol * _local1);
return;
case "homerun" :
LS4.start(0, 1);
LS4.setVolume(_local2.snd_vol * _local1);
}
}
}
stop();
System.useCodepage = true;
fscommand ("showmenu", "false");
_root.domainList = ["game24.co.kr", "gamefesta.com", "logbank.co.kr"];
_root.x = 280;
_root.y = 150;
_root.z = 560;
_root.f = 280;
snd_vol = 100;
LS1 = new Sound();
LS1.attachSound("sndHIT1");
LS2 = new Sound();
LS2.attachSound("sndHIT2");
LS3 = new Sound();
LS3.attachSound("sndHIT3");
LS4 = new Sound();
LS4.attachSound("sndHOMERUN");
var score = 0;
_root.pauza = false;
Instance of Symbol 207 MovieClip in Frame 176
/* no clip actions */
Instance of Symbol 226 MovieClip "WALL2" in Frame 176
onClipEvent (load) {
x = (y = 0);
z = 5700;
px = (py = (pz = 0));
this.fix3d_depths(this.z);
}
Instance of Symbol 228 MovieClip "WALL1" in Frame 176
onClipEvent (load) {
x = (y = 0);
z = 3000;
px = (py = (pz = 0));
this.fix3d_depths(this.z);
}
Instance of Symbol 232 MovieClip "ball" in Frame 176
onClipEvent (load) {
x = (y = (z = 0));
px = (py = (pz = 0));
gogo = true;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 248 MovieClip "MENU1" in Frame 176
onClipEvent (load) {
showmenu = false;
up_speed = 0.5;
t1 = this._y;
t2 = (this._y - this._height) + 20;
this.swapDepths(500003);
}
onClipEvent (enterFrame) {
x = _root._xmouse;
y = _root._ymouse;
if ((y < 420) && (this.hitTest(x, y, true))) {
if (int(this._y) != int(t2)) {
this._y = this._y + ((t2 - this._y) * up_speed);
}
} else if (int(this._y) != int(t1)) {
this._y = this._y + ((t1 - this._y) * up_speed);
}
}
Instance of Symbol 302 MovieClip "COIN" in Frame 176
onClipEvent (load) {
logo = 0;
this.swapDepths(500002);
}
Instance of Symbol 232 MovieClip "ball2" in Frame 176
onClipEvent (load) {
scale = 110;
gogo = true;
x = 0;
y = 0;
}
onClipEvent (enterFrame) {
if (gogo == true) {
if (scale < 120) {
this._visible = true;
this._xscale = (this._yscale = scale);
this._y = this._y + (scale * 0.12);
this._rotation = this._rotation + 53;
scale = scale * 1.1;
} else {
this._visible = false;
this._x = -100;
this._y = -100;
}
} else {
scale = scale * 0.9;
this._x = this._x + x;
this._y = this._y + y;
x = x * 0.8;
if (y < 0) {
y = y * 0.7;
if (y > -0.5) {
y = y * -1;
}
} else {
y = y * 1.08;
}
if (scale < 3) {
this._xscale = (this._yscale = 3);
} else {
this._xscale = (this._yscale = scale);
}
}
}
Instance of Symbol 312 MovieClip "MACHINE" in Frame 176
onClipEvent (load) {
x = 0;
y = 0;
z = 1050;
px = (py = (pz = 0));
fz = 0;
count = false;
hit = false;
begin = false;
n = 0;
coin = 0;
}
onClipEvent (enterFrame) {
if (_root.pauza == false) {
this.fix3d_display(_root.x, _root.y, _root.z, _root.f);
_root.time1 = (("coin: " + coin) + ", n: ") + n;
if (coin > 0) {
if ((count == false) && (begin == true)) {
if (hit == true) {
begin = false;
count = true;
} else if (_root.ball.z <= 0) {
begin = false;
n = -30;
coin--;
}
}
if (count) {
_root.COIN["C" + coin].NUM = (Math.round(_root.ball.z / 2) / 10) + " m";
if ((n > 1000) || ((Math.abs(_root.ball.z - fz) < 0.1) && (Math.abs(root.ball.py) < 0.1))) {
if ((coin < 10) && (_root.COIN[("C" + coin) + 1].NUM != "")) {
_root.SCOREBAR.score = _root.SCOREBAR.score + Math.round(_root.ball.z / 20);
}
_root.SCOREBAR.score = _root.SCOREBAR.score + Math.round(_root.ball.z / 2);
if (_root.ball.z > _root.WALL1.z) {
_root.WALL2.gotoAndPlay("HOMERUN");
_root.WALL2.MO.gotoAndPlay("HOMERUN");
_root.SoundPlay("homerun", 100);
}
n = -30;
coin--;
count = false;
}
fz = _root.ball.z;
}
n++;
if (coin == 0) {
var pmax = 0;
var phit1 = 0;
var phit2 = 0;
var homerun = (Math.round(_root.WALL1.z / 2) / 10);
var i = 1;
while (i <= 10) {
str = _root.COIN["C" + i].NUM;
if (str != "") {
num = Number(str.substr(0, str.length - 2));
if (num > 10) {
if (num >= homerun) {
phit1++;
} else {
phit2++;
}
}
if (pmax < num) {
pmax = num;
}
}
i++;
}
score_play = (((((("<IMG" + _parent.COIN.logo) + "> \u00C3\u00D6\u00B0\u00ED\u00B1\u00E2\u00B7\u00CF: ") + pmax) + " m, \u00C8\u00A8\u00B7\u00B1:") + phit1) + ", \u00BE\u00C8\u00C5\u00B8:") + phit2;
_root.COIN.gotoAndStop(1);
trace("acum");
_root.COIN.pushB._visible = false;
_root.COIN.endd._visible = true;
_root.DispatchGameData(_root.SCOREBAR.score, score_play);
} else if (n == 1) {
_root.COIN["C" + coin].BALL.gotoAndStop(2);
this.hole.gotoAndStop(2);
_root.stick.gogo = true;
} else if (n == 30) {
_root.COIN["C" + coin].BALL.gotoAndStop(3);
this.hole.gotoAndStop(3);
} else if (n == 50) {
this.hole.gotoAndStop(1);
_root.ball._xscale = (_root.ball._yscale = (_root.ball.scale = 10));
_root.ball._x = this._x;
_root.ball._y = this._y;
_root.ball.gogo = true;
_root.ball.x = this.x;
_root.ball.y = this.y - 70;
_root.ball.z = this.z;
_root.ball.px = (20 - random(40)) / 10;
_root.ball.py = (-(60 + random(10))) / 10;
_root.ball.pz = (-(500 - (_root.SPEEDBAR.BAR._y * 2))) / 10;
if (coin > 0) {
_root.COIN["C" + coin].BALL._visible = false;
} else {
_root.COIN.gotoAndStop(1);
}
fz = 0;
begin = true;
hit = false;
}
}
}
}
Instance of Symbol 316 MovieClip in Frame 176
onClipEvent (load) {
x = 0;
y = 0;
z = 500;
px = (py = (pz = 0));
gogo = true;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 316 MovieClip in Frame 176
onClipEvent (load) {
x = 0;
y = 0;
z = 1000;
px = (py = (pz = 0));
gogo = true;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 336 MovieClip "SPEEDBAR" in Frame 176
onClipEvent (load) {
this.swapDepths(500006);
}
Instance of Symbol 353 MovieClip "SCOREBAR" in Frame 176
onClipEvent (load) {
score = 0;
prev = 0;
this.swapDepths(500007);
}
onClipEvent (enterFrame) {
if (prev < score) {
prev = prev + ((score - prev) * 0.5);
this.TXT = Math.round(prev);
if (Math.round(prev) == Math.round(score)) {
prev = score;
}
} else if (prev > score) {
this.TXT = score;
prev = score;
}
}
onClipEvent (mouseDown) {
if (Key.isDown(16) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
if (_root._xscale >= 100) {
_root._x = 70;
_root._y = 52.5;
_root._xscale = (_root._yscale = 75);
} else if (_root._xscale >= 75) {
_root._x = 140;
_root._y = 105;
_root._xscale = (_root._yscale = 50);
} else {
_root._x = (_root._y = 0);
_root._xscale = (_root._yscale = 100);
}
}
}
Instance of Symbol 358 MovieClip "stick" in Frame 176
onClipEvent (load) {
this._rotation = -123;
swing_start = false;
swing_speed = 0;
this._xscale = 80;
MC = _root.BOX1;
over = false;
fover = false;
}
onClipEvent (enterFrame) {
}
onClipEvent (mouseDown) {
if (_root.pauza == false) {
if ((over == true) && (swing_start == false)) {
this._xscale = 80;
swing_start = true;
swing_speed = -60;
this.swing._visible = true;
}
}
}
Instance of Symbol 370 MovieClip in Frame 176
onClipEvent (enterFrame) {
this.getFrame();
}
onClipEvent (keyDown) {
this.checkKey();
}
Instance of Symbol 384 MovieClip in Frame 176
onClipEvent (load) {
this.swapDepths(500008);
}
Instance of Symbol 430 MovieClip "meniu" in Frame 176
//component parameters
onClipEvent (initialize) {
wxnume = "PitchingMachine";
wxaliniere = "Stanga-Jos";
wxculoare = 39680;
wxdownload = true;
wxpause = true;
wxsound = true;
}
onClipEvent (load) {
this.swapDepths(1000000);
}
Frame 177
_root.SCREEN.removeMovieClip();
_root.R_ball.removeMovieClip();
_root.ball.removeMovieClip();
_root.ball2.removeMovieClip();
_root.COIN.removeMovieClip();
_root.WALL1.removeMovieClip();
_root.MENU1.removeMovieClip();
_root.MACHINE.removeMovieClip();
_root.stick.removeMovieClip();
_root.SPEEDBAR.removeMovieClip();
_root.SCOREBAR.removeMovieClip();
_root.meniu.removeMovieClip();
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
Frame 178
_root.menu.removeMovieClip();
_root.gameid = "PitchingMachine";
_root.best = _global.score;
_global.score = 0;
_root.updated = 0;
_root.done = 0;
done = 0;
i = 1;
while (i <= 100) {
_root["score" + i] = null;
_root["name" + i] = null;
_root["escore" + i] = null;
_root["ename" + i] = null;
i++;
}
Frame 180
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 181
if (false) {
}
Frame 188
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 192
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 193
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 6 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 19 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 28 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 37 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 38 MovieClip [UpArrow] Frame 1
stop();
Symbol 38 MovieClip [UpArrow] Frame 2
stop();
Symbol 38 MovieClip [UpArrow] Frame 3
stop();
Symbol 44 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 53 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 58 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 59 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 67 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 75 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 83 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 84 MovieClip [DownArrow] Frame 1
stop();
Symbol 84 MovieClip [DownArrow] Frame 2
stop();
Symbol 84 MovieClip [DownArrow] Frame 3
stop();
Symbol 86 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 87 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
var _local1 = this;
if (_local1._height == 4) {
} else {
_local1.init();
_local1.minPos = (_local1.maxPos = (_local1.pageSize = (_local1.largeScroll = 0)));
_local1.smallScroll = 1;
_local1.width = (_local1.horizontal ? (_local1._width) : (_local1._height));
_local1._xscale = (_local1._yscale = 100);
_local1.setScrollPosition(0);
_local1.tabEnabled = false;
if (_local1._targetInstanceName.length > 0) {
_local1.setScrollTarget(_local1._parent[_local1._targetInstanceName]);
}
_local1.tabChildren = false;
_local1.setSize(_local1.width);
}
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.horizontal && (!_local2)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.pageSize = pSize;
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1.scrollPosition = Math.max(_local1.minPos, _local1.scrollPosition);
_local1.scrollPosition = Math.min(_local1.maxPos, _local1.scrollPosition);
if ((_local1.maxPos - _local1.minPos) <= 0) {
_local1.scrollThumb_mc.removeMovieClip();
_local1.upArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = null));
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = null));
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onRelease = null);
_local1.scrollTrack_mc.onDragOut = (_local1.scrollTrack_mc.onRollOut = null);
_local1.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = _local1.getScrollPosition();
_local1.upArrow_mc.gotoAndStop(1);
_local1.downArrow_mc.gotoAndStop(1);
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onDragOver = _local1.startUpScroller);
_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = _local1.stopScrolling);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onDragOver = _local1.startDownScroller);
_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = _local1.stopScrolling);
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onDragOver = _local1.startTrackScroller);
_local1.scrollTrack_mc.onRelease = _local1.stopScrolling;
_local1.scrollTrack_mc.onDragOut = _local1.stopScrolling;
_local1.scrollTrack_mc.onRollOut = _local1.stopScrolling;
_local1.scrollTrack_mc.useHandCursor = false;
_local1.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
_local1.scrollThumb_mc._x = 0;
_local1.scrollThumb_mc._y = _local1.upArrow_mc._height;
_local1.scrollThumb_mc.onPress = _local1.startDragThumb;
_local1.scrollThumb_mc.controller = _local1;
_local1.scrollThumb_mc.onRelease = (_local1.scrollThumb_mc.onReleaseOutside = _local1.stopDragThumb);
_local1.scrollThumb_mc.useHandCursor = false;
_local1.thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local1.trackSize;
_local1.thumbMid_mc = _local1.scrollThumb_mc.mc_sliderMid;
_local1.thumbTop_mc = _local1.scrollThumb_mc.mc_sliderTop;
_local1.thumbBot_mc = _local1.scrollThumb_mc.mc_sliderBot;
_local1.thumbHeight = Math.max(_local1.thumbHeight, 6);
_local1.midHeight = (_local1.thumbHeight - _local1.thumbTop_mc._height) - _local1.thumbBot_mc._height;
_local1.thumbMid_mc._yScale = (_local1.midHeight * 100) / _local1.thumbMid_mc._height;
_local1.thumbMid_mc._y = _local1.thumbTop_mc._height;
_local1.thumbBot_mc._y = _local1.thumbTop_mc._height + _local1.midHeight;
_local1.scrollTop = _local1.scrollThumb_mc._y;
_local1.trackHeight = _local1.trackSize - _local1.thumbHeight;
_local1.scrollBot = _local1.trackHeight + _local1.scrollTop;
_local2 = Math.min(_local2, _local1.maxPos);
_local1.setScrollPosition(Math.max(_local2, _local1.minPos));
}
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
var _local1 = this;
var _local2 = pos;
_local1.scrollPosition = _local2;
if (_local1.scrollThumb_mc != undefined) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
}
_local1.scrollThumb_mc._y = (((_local2 - _local1.minPos) * _local1.trackHeight) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTop;
_local1.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
var _local3 = _local1.enable;
if (_local2 && (!_local3)) {
_local1.enable = _local2;
if (_local1.textField != undefined) {
_local1.setScrollTarget(_local1.textField);
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.cachedMinPos, _local1.cachedMaxPos);
_local1.setScrollPosition(_local1.cachedPos);
}
_local1.clickFilter = undefined;
} else if ((!_local2) && (_local3)) {
_local1.textField.removeListener(_local1);
_local1.cachedPos = _local1.getScrollPosition();
_local1.cachedMinPos = _local1.minPos;
_local1.cachedMaxPos = _local1.maxPos;
if (_local1.clickFilter == undefined) {
_local1.setScrollProperties(_local1.pageSize, 0, 0);
} else {
_local1.clickFilter = true;
}
_local1.enable = _local2;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
var _local1 = this;
if (_local1._height == 1) {
} else {
_local1.width = hgt;
_local1.scrollTrack_mc._yscale = 100;
_local1.scrollTrack_mc._yscale = (100 * _local1.width) / _local1.scrollTrack_mc._height;
if (_local1.upArrow_mc == undefined) {
_local1.attachMovie("UpArrow", "upArrow_mc", 1);
_local1.attachMovie("DownArrow", "downArrow_mc", 2);
_local1.downArrow_mc.controller = (_local1.upArrow_mc.controller = _local1);
_local1.upArrow_mc.useHandCursor = (_local1.downArrow_mc.useHandCursor = false);
_local1.upArrow_mc._x = (_local1.upArrow_mc._y = 0);
_local1.downArrow_mc._x = 0;
}
_local1.scrollTrack_mc.controller = _local1;
_local1.downArrow_mc._y = _local1.width - _local1.downArrow_mc._height;
_local1.trackSize = _local1.width - (2 * _local1.downArrow_mc._height);
if (_local1.textField != undefined) {
_local1.onTextChanged();
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos);
}
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "one") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1.getScrollPosition() + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
_local1.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
var _local1 = this;
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.controller.scrollTop) {
_local1.scrollMove = _local1.controller.scrollTop;
} else if (_local1.scrollMove > _local1.controller.scrollBot) {
_local1.scrollMove = _local1.controller.scrollBot;
}
_local1._y = _local1.scrollMove;
var _local2 = _local1.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (_local1._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
_local1.controller.isScrolling = true;
updateAfterEvent();
_local1.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
var _local1 = this;
_local1.controller.trackScroller();
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", 35, _local2, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.thumbHeight) < _local1._ymouse) {
_local1.scrollIt("page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(1);
_local1.controller.upArrow_mc.gotoAndStop(1);
clearInterval(_local1.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
var _local1 = this;
_local1.controller.upArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", -1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", 1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
var _local1 = this;
var _local2 = tF;
if (_local2 == undefined) {
_local1.textField.removeListener(_local1);
delete _local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")];
if ((_local1.textField.hScroller != undefined) && (_local1.textField.vScroller != undefined)) {
_local1.textField.unwatch("text");
_local1.textField.unwatch("htmltext");
}
}
_local1.textField = undefined;
if (!(_local2 instanceof TextField)) {
} else {
_local1.textField = _local2;
_local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")] = _local1;
_local1.onTextChanged();
_local1.onChanged = function () {
this.onTextChanged();
};
_local1.onScroller = function () {
var _local1 = this;
if (!_local1.isScrolling) {
if (!_local1.horizontal) {
_local1.setScrollPosition(_local1.textField.scroll);
} else {
_local1.setScrollPosition(_local1.textField.hscroll);
}
}
};
_local1.textField.addListener(_local1);
_local1.textField.watch("text", _local1.callback);
_local1.textField.watch("htmlText", _local1.callback);
}
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
var _local1 = this;
clearInterval(_local1.hScroller.synchScroll);
clearInterval(_local1.vScroller.synchScroll);
_local1.hScroller.synchScroll = setInterval(_local1.hScroller, "onTextChanged", 50);
_local1.vScroller.synchScroll = setInterval(_local1.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
var _local1 = this;
if ((!_local1.enable) || (_local1.textField == undefined)) {
} else {
clearInterval(_local1.synchScroll);
if (_local1.horizontal) {
var _local2 = _local1.textField.hscroll;
_local1.setScrollProperties(_local1.textField._width, 0, _local1.textField.maxhscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxhscroll));
} else {
var _local2 = _local1.textField.scroll;
var _local3 = _local1.textField.bottomScroll - _local1.textField.scroll;
_local1.setScrollProperties(_local3, 1, _local1.textField.maxscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxscroll));
}
}
};
FScrollBarClass.prototype.executeCallBack = function () {
var _local1 = this;
if (_local1.textField == undefined) {
super.executeCallBack();
} else if (_local1.horizontal) {
_local1.textField.hscroll = _local1.getScrollPosition();
} else {
_local1.textField.scroll = _local1.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 89 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?PitchingMachine", "_blank");
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 50
stop();
_parent.play();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 145 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?PitchingMachine", "_blank");
}
Symbol 150 Button
on (release) {
_root.muz.start(0, 999);
_root.gotoAndPlay("game");
}
Symbol 153 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 161 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 161 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 161 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 162 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 169 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 169 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 169 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 170 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 173 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 173 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 173 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 178 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 179 MovieClip Frame 1
stop();
Symbol 182 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 184 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 191 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 191 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 191 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 192 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
function instructionsFunction() {
_root.butoane._visible = false;
_root.instructions._visible = true;
}
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 194 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 194 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 194 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 194 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 194 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 200 Button
on (release) {
this._visible = false;
_root.butoane._visible = true;
}
Symbol 223 MovieClip Frame 160
this.gotoAndPlay(1);
Symbol 223 MovieClip Frame 200
this.gotoAndPlay(1);
Symbol 226 MovieClip Frame 1
this.stop();
Symbol 226 MovieClip Frame 20
this.gotoAndStop(1);
Symbol 232 MovieClip Frame 1
function display() {
var _local1 = this;
var _local2 = _root;
if (gogo == true) {
if (_local1.z > 0) {
_local1._rotation = _local1._rotation + 53;
_local1.fix3d_move(0.45);
_local1.fix3d_display(_local2.x, _local2.y, _local2.z, _local2.f);
} else {
_local1._visible = false;
}
mv = true;
} else {
_local1.fix3d_move(0.45);
_local1.fix3d_display(_local2.x, _local2.y, _local2.z, _local2.f);
if (mv && (((_local1.z - _local1.pz) < _local2.WALL1.z) && (_local1.z >= _local2.WALL1.z))) {
mv = false;
if (_local2.WALL1.hitTest(_local1._x, _local1._y, true)) {
_local1.px = _local1.px * -0.8;
_local1.py = _local1.py * -0.6;
_local1.pz = _local1.pz * -0.8;
}
}
}
MC = _local2.R_ball;
if (_local1._visible) {
counterMinge = 0;
MC.x = _local1.x;
MC.y = 0;
MC.z = _local1.z;
MC.fix3d_display(_local2.x, _local2.y, _local2.z, _local2.f);
MC._alpha = 100 + (_local1.y / 10);
MC._visible = true;
} else {
MC._visible = false;
}
}
this.stop();
Symbol 236 Button
on (release) {
_root.stick.bet.gotoAndStop(this.bet._currentframe);
}
Symbol 245 MovieClip Frame 1
this.snd = 1;
this.stop();
Symbol 245 MovieClip Frame 2
this.snd = 3;
Symbol 245 MovieClip Frame 3
this.snd = 2;
Symbol 245 MovieClip Frame 4
this.snd = 3;
Symbol 245 MovieClip Frame 5
this.snd = 3;
Symbol 245 MovieClip Frame 6
this.snd = 2;
Symbol 245 MovieClip Frame 7
this.snd = 1;
Symbol 245 MovieClip Frame 8
this.snd = 3;
Instance of Symbol 245 MovieClip "bet" in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
num = _parent._name.substring(3);
this.gotoAndStop(num);
}
Symbol 252 Button
on (release) {
_global.score = _root.SCOREBAR.TXT;
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
trace("scor: " + _global.score);
}
Symbol 255 Button
on (release) {
_root.gotoAndStop("coperta");
}
Instance of Symbol 194 MovieClip in Symbol 260 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
wynume = "PitchingMachine";
wyculoare = 2832400 /* 0x2B3810 */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Sus";
wyinstructions = false;
}
Symbol 268 Button
on (release) {
if (this.logo > 0) {
playOK = true;
if (playOK == true) {
_root.MACHINE.coin = 10;
_root.MACHINE.n = -30;
_root.SCOREBAR.score = 0;
this.gotoAndStop("PLAY");
var i = 1;
while (i <= 10) {
if (i <= _root.MACHINE.coin) {
this["C" + i]._visible = true;
} else {
this["C" + i]._visible = false;
}
i++;
}
} else {
_root.openAlert("\u00B5\u00B5\u00B8\u00DE\u00C0\u00CE\u00B8\u00ED\u00C0\u00CC \u00C0\u00CF\u00C4\u00A1\u00C7\u00CF\u00C1\u00F6 \u00BE\u00CA\u00BD\u00C0\u00B4\u00CF\u00B4\u00D9!!");
}
} else {
_root.openAlert("\u00B8\u00D5\u00C0\u00FA \u00B1\u00B8\u00B4\u00DC\u00C0\u00BB \u00BC\u00B1\u00C5\u00C3\u00C7\u00CF\u00BC\u00BC\u00BF\u00E4!!");
}
}
Symbol 270 Button
on (release) {
i = 1;
while (i <= 8) {
_parent["K" + i]._alpha = 50;
i++;
}
this._alpha = 100;
_parent.logo = int(this._name.substr(1));
_parent.NAME.gotoAndStop(_parent.logo + 1);
}
on (rollOver) {
if (this._alpha < 80) {
this._alpha = 80;
}
}
on (rollOut) {
if (this._alpha < 100) {
this._alpha = 50;
}
}
Symbol 287 MovieClip Frame 1
this.stop();
if (this._name == "LOGO") {
this.gotoAndStop(_parent.logo);
this.button._visible = false;
} else {
var num = int(this._name.substr(1));
this.gotoAndStop(num);
if (_parent.logo == num) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Symbol 297 MovieClip Frame 1
this.stop();
this.gotoAndStop(_parent.logo + 1);
Symbol 302 MovieClip Frame 1
this.stop();
Instance of Symbol 260 MovieClip "endd" in Symbol 302 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 287 MovieClip "K1" in Symbol 302 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 297 MovieClip "NAME" in Symbol 302 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 302 MovieClip Frame 3
_root.COIN.endd._visible = false;
_root.COIN.chenar._visible = false;
Symbol 306 MovieClip Frame 1
#initclip 3
MovieClip.prototype.fix3d_depths = function (cz) {
this.swapDepths(500000 - int(cz * 100));
};
MovieClip.prototype.fix3d_display = function (cx, cy, cz, f) {
var _local1 = this;
if (_local1.z < 0) {
_local1._visible = false;
} else {
_local1._visible = true;
var _local2 = cz / (_local1.z + cz);
_local1._x = cx + (_local1.x * _local2);
_local1._y = (cy + (_local1.y * _local2)) + (f * _local2);
if (_local2 < 0.05) {
_local2 = 0.05;
}
_local1._yscale = (_local1._xscale = _local2 * 100);
_local1.fix3d_depths(_local1.z);
}
};
MovieClip.prototype.fix3d_move = function (g) {
var _local1 = this;
_local1.py = _local1.py + g;
_local1.x = _local1.x + _local1.px;
_local1.y = _local1.y + _local1.py;
_local1.z = _local1.z + _local1.pz;
if (_local1.y > 0) {
_local1.y = 0;
_local1.px = _local1.px * 0.8;
_local1.pz = _local1.pz * 0.8;
_local1.py = _local1.py * -0.6;
}
};
#endinitclip
this._visible = false;
Symbol 311 MovieClip Frame 1
this.stop();
Symbol 319 MovieClip Frame 1
function ball() {
_root.ball.display();
_root.stick.display();
}
MouseListener = new Object();
MouseListener.onMouseDown = function () {
if (Key.isDown(32)) {
space++;
}
if (Key.isDown(13)) {
time2 = "ENTER";
}
};
Mouse.addListener(MouseListener);
id = setInterval(this, "ball", 10);
this._visible = false;
Symbol 328 Button
on (press) {
this.startDrag(true, 0, 0, 0, 50);
}
on (release, releaseOutside) {
this.stopDrag();
}
Symbol 333 MovieClip Frame 1
this._visible = false;
Symbol 335 Button
on (release) {
if (_root.SCREEN._visible == true) {
_root.SCREEN._visible = false;
} else {
_root.SCREEN.swapDepths(500000);
_root.SCREEN._visible = true;
}
}
Instance of Symbol 329 MovieClip "BAR" in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.NUM = Math.round(180 - this._y) + "Km";
_parent.BOX._y = this._y;
}
Symbol 345 Button
on (release) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_parent._parent.snd_vol = 0;
} else {
this.gotoAndStop(1);
_parent._parent.snd_vol = 80;
}
}
Symbol 348 MovieClip Frame 1
this.stop();
Instance of Symbol 352 MovieClip "pauzza" in Symbol 353 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 355 MovieClip Frame 1
this._visible = false;
Symbol 357 MovieClip Frame 1
this._visible = false;
Symbol 358 MovieClip Frame 1
function display() {
var _local1 = _root;
var _local2 = this;
_local2.swapDepths(500001);
if (_local1.pauza == false) {
x = _local1._xmouse;
y = _local1._ymouse;
if (_local1.BOX1.hitTest(x, y, true)) {
MC = _local1.BOX1;
over = true;
} else {
if (MC != null) {
x = MC._x;
y = MC._y;
}
over = false;
}
_local2._x = x;
_local2._y = y;
if ((over == true) && (fover == false)) {
Mouse.hide();
} else if ((over == false) && (fover == true)) {
Mouse.show();
}
fover = over;
if (swing_start == true) {
if ((_local1.ball.gogo == true) && ((_local1.ball.z > 0) && (_local1.ball.z < 300))) {
if (_local2.box.hitTest(_local1.ball)) {
_local1.ball.gogo = false;
_local1.ball.px = _local2._rotation / 5;
_local1.ball.py = (-(100 + random(200))) / 10;
_local1.ball.pz = _local1.ball.pz * -0.4;
_local1.MACHINE.hit = true;
_local1.SoundPlay("hit" + _local2.bet.snd, 100);
}
}
_local2._rotation = _local2._rotation + swing_speed;
t = (_local2._rotation * Math.PI) / 180;
if (_local2._rotation > 90) {
_local2._xscale = Math.abs(60 * Math.cos(t));
} else {
_local2._xscale = Math.abs(100 * Math.cos(t));
}
_local2.swing._alpha = 30 - swing_speed;
swing_speed = swing_speed * 0.8;
if (swing_speed > -5) {
swing_start = false;
_local2._rotation = -123;
_local2._xscale = 80;
_local2.swing._visible = false;
}
}
}
}
Symbol 365 Button
on (release) {
getURL ("http://www.game24.co.kr", "_blank", "GET");
}
Symbol 370 MovieClip Frame 1
this.stop();
function getFrame(MC) {
var _local1 = this;
f++;
te = getTimer();
t = te - ts;
if (t >= 1000) {
if (_local1._currentframe == 1) {
_local1.frametxt = "";
} else {
_local1.frametxt = f;
}
f = 0;
ts = te;
}
}
function checkKey() {
var _local2 = this;
var _local1 = Key.getAscii();
if (Key.isDown(16) && ((_local1 == 86) || (_local1 == 118))) {
if (_local2._currentframe == 1) {
_local2.gotoAndStop(2);
} else {
_local2.gotoAndStop(1);
}
}
}
f = 0;
ts = getTimer();
Symbol 372 MovieClip Frame 1
this._visible = false;
Symbol 374 MovieClip Frame 1
this._visible = false;
Symbol 381 Button
on (release) {
this._visible = false;
}
Symbol 382 MovieClip Frame 1
this._visible = false;
Symbol 386 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 387 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 388 Button
on (release) {
_parent.mainMenuFunction();
}
Symbol 389 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 390 Button
on (release, keyPress "p") {
_parent.pauseFunction();
}
Symbol 391 Button
on (release, keyPress "s") {
_parent.soundFunction();
}
Symbol 402 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 402 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 402 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 402 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 402 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 402 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 402 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 402 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 407 Button
on (press) {
_parent.play();
}
Symbol 410 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 410 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 410 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 410 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 410 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 410 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 410 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 410 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 410 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 410 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 428 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 429 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 430 MovieClip Frame 1
function pauseFunction() {
var _local1 = _root;
_local1.meniu.gotoAndStop("deskis");
if (_local1.pauza == false) {
_local1.pauza = true;
_local1.SCOREBAR.pauzza._visible = true;
} else {
_local1.meniu.gotoAndStop("inkis");
_local1.pauza = false;
_local1.SCOREBAR.pauzza._visible = false;
}
trace("pauza: " + _local1.pauza);
}
function soundFunction() {
var _local1 = _root;
if (_local1.snd_vol >= 80) {
_local1.snd_vol = 0;
_local1.SCOREBAR.difuzor.gotoAndStop(2);
_local1.muz.stop();
} else {
_local1.snd_vol = 80;
_local1.SCOREBAR.difuzor.gotoAndStop(1);
_local1.muz.start(0, 999);
}
}
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 430 MovieClip Frame 10
stop();
Symbol 436 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 443 Button
on (release) {
_root.gotoAndStop("coperta");
}
Symbol 748 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 87 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 748 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
Symbol 754 Button
on (release) {
_root.gotoAndStop("coperta");
}
Symbol 770 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 776 Button
on (release) {
_root.gotoAndStop("coperta");
}
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 9
stop();
Symbol 780 MovieClip Frame 22
stop();
Symbol 780 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 780 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}