Frame 1
this.stop();
if (include_Library_Complete != true) {
var include_Library_Complete = true;
var hello = "created EUGENE POTAPENKO john@3wgraphics.net 1999-2003";
delete hello;
Object.prototype.toXML = function (name, num) {
var _local2 = this;
if (name == null) {
name = typeof(_local2);
}
if (num == null) {
num = 1;
_root.array_for_delete_numbers = [];
}
var proto = _local2.__proto__;
_local2.__proto__ = undefined;
var attr = (((" id=\"" + num) + ".0") + "\"");
_local2.number_for_trace_objects = num;
_root.array_for_delete_numbers.push(_local2);
if (name == "movieclip") {
attr = attr + ((" name=\"" + _local2._name) + "\"");
}
var XML_result = new XML((((("<" + name) + attr) + "><tmp /></") + name) + ">");
var _local1;
var _local3;
var marks;
for (var v in _local2) {
if (((v == "__proto__") || (v == "number_for_trace_objects")) || (v == "array_for_delete_numbers")) {
continue;
}
_local1 = typeof(_local2[v]);
if ((_local1 == "object") || (_local1 == "movieclip")) {
if (!_local2[v].number_for_trace_objects) {
if (_local2[v].__proto__ == Array.prototype) {
_local1 = "Array";
} else if (isXML(_local2[v])) {
_local1 = "XML";
} else if (_local2[v].__proto__ == XMLSocket.prototype) {
_local1 = "XMLSocket";
} else if (_local2[v].__proto__ == Sound.prototype) {
_local1 = "Sound";
}
_local3 = new XML(("<" + v) + " />");
if (_local1 == "XML") {
_local3.firstChild.appendChild(_local2[v].firstChild.cloneNode(true));
} else {
_local3.firstChild.appendChild(_local2[v].toXML(_local1, ++num).firstChild);
}
} else {
_local2[v].number_for_trace_objects = _local2[v].number_for_trace_objects + 0.01;
attr = (" id=\"" + _local2[v].number_for_trace_objects) + "\"";
if (_local1 == "movieclip") {
attr = attr + ((" name=\"" + _local2[v]._name) + "\"");
}
_local3 = new XML((("<" + v) + attr) + " />");
}
} else {
marks = ((_local1 == "string") ? "\"" : "");
if (((_local1 == "number") || (_local1 == "string")) || (_local1 == "boolean")) {
attr = "";
} else {
attr = (" type=\"" + _local1) + "\"";
}
_local3 = new XML((((((((((("<" + v) + ((_local1 == "function") ? " type=\"function\"" : "")) + ">") + " ") + marks) + _local2[v]) + marks) + " ") + "</") + v) + ">");
if ((_local3.firstChild.firstChild.nodeType == 3) && (_local3.firstChild.firstChild.nodeValue == " ")) {
_local3.firstChild.firstChild.removeNode();
}
}
XML_result.firstChild.insertBefore(_local3.firstChild, XML_result.firstChild.firstChild);
}
XML_result.firstChild.lastChild.removeNode();
if (XML_result.firstChild.attributes.id == "1.0") {
var i = 0;
while (i < _root.array_for_delete_numbers.length) {
delete _root.array_for_delete_numbers[i].number_for_trace_objects;
i++;
}
delete _root.array_for_delete_numbers;
}
_local2.__proto__ = proto;
return(XML_result);
};
Object.prototype.toString = function () {
return(this.toXML("Object").toString2());
};
Function.prototype.toString = function () {
return("function");
};
XMLNode.prototype.toString1 = XMLNode.prototype.toString;
XMLNode.prototype.toString = function (tabD) {
var _local1 = this;
if (_local1.tabDesign || (tabD)) {
return(_local1.toString2());
}
return(_local1.toString1());
};
XMLNode.prototype.toString2 = function (tab) {
var _local1 = this;
var _local2 = "";
if (_local1.nodeType != 3) {
if (_local1.nodeName != null) {
_local2 = "<" + _local1.nodeName;
for (var _local3 in _local1.attributes) {
_local2 = _local2 + ((((" " + _local3) + "=\"") + _local1.attributes[_local3]) + "\"");
}
if (_local1.firstChild == null) {
_local2 = _local2 + " />";
} else if ((_local1.firstChild.nodeType == 3) && (_local1.firstChild == _local1.lastChild)) {
_local2 = _local2 + ((((">" + _local1.firstChild.toString2()) + "</") + _local1.nodeName) + ">");
} else {
_local2 = _local2 + (((((((">\r " + tab) + _local1.firstChild.toString2(tab + " ")) + "\r") + tab) + "</") + _local1.nodeName) + ">");
}
} else {
_local2 = _local1.firstChild.toString2("");
}
} else {
_local2 = _local1.nodeValue;
}
if (_local1.nextSibling != null) {
_local2 = _local2 + (("\r" + tab) + _local1.nextSibling.toString2(tab));
}
return(_local2);
};
ASSetPropFlags(Object.prototype, "toXML,trace", 131);
ASSetPropFlags(XMLNode.prototype, "toString1,toString2,tabDesign", 131);
var o = Object.prototype;
o.set = function (param, value) {
this[param] = value;
};
o.clone = function () {
var _local2 = this;
var _local1 = new _local2.constructor();
_local1.__proto__ = _local2.__proto__;
return(_local1.copy(_local2));
};
o.copy = function (o) {
var _local1 = o;
var _local2 = this;
var proto = _local1.__proto__;
_local1.__proto__ = undefined;
for (var _local3 in _local1) {
_local2[_local3] = _local1[_local3];
}
_local1.__proto__ = proto;
return(_local2);
};
o.clear = function () {
var _local1 = this;
var _local3 = _local1.__proto__;
_local1.__proto__ = undefined;
for (var _local2 in _local1) {
delete _local1[_local2];
}
_local1.__proto__ = _local3;
_local1.constructor.apply(_local1, arguments);
};
o.applyClass = function (c) {
var _local1 = c;
if (typeof(_local1) != "function") {
return(false);
}
this.__proto__ = _local1.prototype;
_local1.apply(this, arguments.slice(1));
return(true);
};
o.paramHide = function (paramsArray) {
ASSetPropFlags(this, paramsArray || null, 1);
};
o.paramShow = function (paramsArray) {
ASSetPropFlags(this, paramsArray || null, 2);
};
o.paramLock = function (paramsArray) {
ASSetPropFlags(this, paramsArray || null, 7);
};
Object.combine = function (obj, oldFoo, newFoo) {
var oldFoo_bk = obj[oldFoo];
var _local1 = function () {
newFoo.apply(this, arguments);
return(oldFoo_bk.apply(this, arguments));
};
obj[oldFoo] = _local1;
};
o.paramHide();
Object.paramHide();
var o = Array.prototype;
o.nSort = function () {
this.sort(function (a, b) {
if (Number(a) < Number(b)) {
return(-1);
}
if (Number(a) > Number(b)) {
return(1);
}
return(0);
});
return(this);
};
o.sortOnNum = function (param) {
this.sort(function (a, b) {
var _local1 = b;
var _local2 = a;
_local2 = _local2[param];
_local1 = _local1[param];
if (!isNaN(_local2)) {
_local2 = Number(_local2);
}
if (!isNaN(_local1)) {
_local1 = Number(_local1);
}
return((((_local2 < _local1) * -1) || ((_local2 > _local1) * 1)) || 0);
});
};
o.trim = function (searched_array, rec) {
var _local2 = this;
var _local3 = searched_array;
var l = _local2.length;
if (_local3 == undefined) {
_local3 = ["", null];
}
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local3.indexOf(_local2[_local1]) != -1) || (rec && (_local2[_local1].trim(_local3, true)))) {
_local2.splice(_local1, 1);
_local1--;
}
_local1++;
}
return(l != _local2.length);
};
o.match = function (searched) {
var _local2 = this;
var _local3 = 0;
if (searched instanceof Array) {
var _local1 = 0;
while (_local1 < _local2.length) {
if (searched.indexOf(_local2[_local1]) != -1) {
_local3++;
}
_local1++;
}
} else {
var _local1 = 0;
while (_local1 < _local2.length) {
if (searched == _local2[_local1]) {
_local3++;
}
_local1++;
}
}
return(_local3);
};
o.indexOf = function (searched) {
var _local2 = this;
var _local3 = searched;
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == _local2[_local1]) {
return(_local1);
}
_local1++;
}
return(-1);
};
o.random = function () {
var _local2 = this;
var _local1 = _local2.length;
while (_local1 > 0) {
_local2.push(_local2.splice(Math.floor(Math.random() * _local1), 1)[0]);
_local1--;
}
return(_local2);
};
o.paramHide();
var o = MovieClip.prototype;
o.movieTo = function () {
this._x = arguments[0];
this._y = arguments[1];
};
o.movieBy = function () {
this._x = this._x + arguments[0];
this._y = this._y + arguments[1];
};
o.size = function () {
var _local1 = arguments;
if ((_local1[0] != null) && (_local1[0] != 0)) {
this._width = _local1[0];
}
if ((_local1[0] != null) && (_local1[0] != 0)) {
this._height = _local1[1];
}
};
o.scale = function () {
this._xscale = (this._yscale = arguments[0]);
};
o.scaleTo = function (xscale, yscale) {
var _local1 = arguments;
if ((_local1[0] != null) && (_local1[0] != 0)) {
this._xscale = _local1[0];
}
if ((_local1[1] != null) && (_local1[1] != 0)) {
this._yscale = _local1[1];
}
};
o.scaleBy = function () {
this._xscale = this._xscale * arguments[0];
this._yscale = this._yscale * arguments[0];
};
o.rotateBy = function () {
this._rotation = this._rotation + arguments[0];
};
o.hide = function () {
this._visible = 0;
};
o.show = function () {
this._visible = 1;
};
o.visInvert = function () {
this._visible = !this._visible;
};
o.flipV = function () {
this._xscale = this._xscale * -1;
};
o.flipH = function () {
this._yscale = this._yscale * -1;
};
o.playOffset = function () {
this.gotoAndPlay(this._currentframe + arguments[0]);
};
o.childs = function () {
var _local1 = this;
var _local2 = new Array();
for (var _local3 in _local1) {
if ((typeof(_local1[_local3]) == "movieclip") && (_local1[_local3]._parent == _local1)) {
_local2.push(_local1[_local3]);
}
}
return(_local2);
};
o.allChilds = function () {
var _local1 = this;
if (_root.allChilds_root_movieclip == null) {
_root.allChilds_root_movieclip = _local1;
}
_local1.allChilds_tested = true;
var _local2 = new Array();
for (var v in _local1) {
if (typeof(_local1[v]) == "movieclip") {
if (_local1[v].allChilds_tested || (_local1[v]._parent != _local1)) {
continue;
}
_local2.push(_local1[v]);
_local2 = _local2.concat(_local1[v].allChilds());
}
}
if (_root.allChilds_root_movieclip == _local1) {
var _local3 = 0;
while (_local3 < _local2.length) {
delete _local2[_local3].allChilds_tested;
_local3++;
}
delete _root.allChilds_root_movieclip;
delete allChilds_tested;
}
return(_local2);
};
o.copy = function (fromClip, paramArray) {
var _local2 = paramArray;
var _local3 = this;
if (_local2 == null) {
_local2 = new Array("_width", "_height", "_x", "_y", "_alpha");
}
var rotation_fromClip = fromClip._rotation;
fromClip._rotation = 0;
var rotation_thisClip = _local3._rotation;
_local3._rotation = 0;
var _local1 = 0;
while (_local1 < _local2.length) {
_local3[_local2[_local1]] = fromClip[_local2[_local1]];
_local1++;
}
fromClip._rotation = rotation_fromClip;
_local3._rotation = rotation_fromClip;
};
o.copyColor = function (fromClip) {
new Color(this).setTransform(new Color(fromClip).getTransform());
};
o.top = function () {
var _local1 = this;
if (_local1._parent != _root) {
return(_local1._parent.top());
}
return(_local1);
};
o.AnimToPlace = function (StartA, FinishA, Steps, CurrStep, XY) {
this[XY] = Math.inOut(StartA, FinishA, Steps, CurrStep);
};
o.newSound = function (id, volume, loop) {
var _local1 = this;
_local1.mySound = new Sound();
_local1.mySound.attachSound(id);
_local1.mySound.setVolume(volume || 100);
_local1.mySound.start(0, loop || 1);
};
o.stopSound = function (id, volume, loop) {
this.mySound.stop();
};
o.localToLocal = function (fromMc) {
fromMc.localToGlobal(arguments[1]);
this.globalToLocal(arguments[1]);
};
o.align = function (fromClip) {
var _local2 = this;
var _local1 = _local2.getBounds(fromClip || (_local2._parent));
if (arguments[1] != "v") {
_local2._x = _local2._x - ((_local1.xMin + _local1.xMax) / 2);
}
if (arguments[1] != "h") {
_local2._y = _local2._y - ((_local1.yMin + _local1.yMax) / 2);
}
};
o.alignH = function (fromClip) {
this.align(fromClip || (this._parent), "h");
};
o.alignV = function (fromClip) {
this.align(fromClip || (this._parent), "v");
};
o.setParam = function () {
this[arguments[0]] = arguments[1];
};
o.addProperty("_brightness", function () {
}, function (br) {
var _local3 = br;
var _local2;
var _local1;
if (_local3 <= 0) {
_local2 = 100 + _local3;
_local1 = 0;
} else {
_local2 = 100 - _local3;
_local1 = Math.round((_local3 / 100) * 255);
}
new Color(this).setTransform({ra:_local2, rb:_local1, ga:_local2, gb:_local1, ba:_local2, bb:_local1, aa:100, ab:0});
});
o.pauseInit = function () {
var _local2 = this;
var _local3 = arguments;
var _local1 = MovieClip.prototype;
_local1.played = true;
_local1.old_play = _local1.play;
_local1.play = function () {
var _local1 = this;
if (_local1.pause_local_flag) {
} else {
_local1.played = true;
_local1.old_play();
}
};
_local1.old_gotoAndPlay = _local1.gotoAndPlay;
_local1.gotoAndPlay = function () {
var _local1 = this;
if (_local1.pause_local_flag) {
} else {
_local1.gotoAndPlayed = true;
_local1.old_gotoAndPlay(arguments[0], arguments[1]);
}
};
_local1.old_stop = _local1.stop;
_local1.stop = function () {
this.played = false;
this.old_stop();
};
_local1.old_gotoAndStop = _local1.gotoAndStop;
_local1.gotoAndStop = function () {
this.played = false;
this.old_gotoAndStop(arguments[0], arguments[1]);
};
_local1.old_prevFrame = _local1.prevFrame;
_local1.prevFrame = function () {
this.played = false;
this.old_prevFrame();
};
_local1.old_nextFrame = _local1.nextFrame;
_local1.nextFrame = function () {
this.played = false;
this.old_nextFrame();
};
_local1.pauseInited = true;
_local1.paramHide();
};
o.pause = function (action) {
var _local3 = this;
if (!_local3.pauseInited) {
_local3.pauseInit();
}
var action = action.toLowerCase();
if ((_local3.paused_mc_array != undefined) && (action != "stop")) {
delete _local3.pause_flag;
var _local1 = 0;
while (_local1 < _local3.paused_mc_array.length) {
delete _local3.paused_mc_array[_local1].pause_local_flag;
_local3.paused_mc_array[_local1].play();
_local1++;
}
delete _local3.paused_mc_array;
} else if ((_local3.paused_mc_array == undefined) && (action != "play")) {
var _local2 = _local3.allChilds();
_local2.push(_local3);
_local3.paused_mc_array = new Array();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].played && (_local2[_local1]._totalframes != 1)) {
_local2[_local1].stop();
_local3.paused_mc_array.push(_local2[_local1]);
_local2[_local1].pause_local_flag = true;
}
_local1++;
}
}
};
o.creatRound = function (name, depth, radius, color) {
var _local2 = radius;
var _local1 = this.createEmptyMovieClip(name, depth);
_local2 = (_local2 / 2) || 2;
_local1.lineStyle(_local2, color || 0, 100);
_local1.lineTo(0, 0.15);
return(_local1);
};
o.creatSqv = function (name, depth, width, color, center) {
var _local3 = width;
var _local2 = this.createEmptyMovieClip(name, depth);
_local3 = _local3 || 1;
var _local1 = 0;
if (center) {
_local1 = (-_local3) / 2;
}
_local2.moveTo(_local1, _local1);
_local2.beginFill(color || 0);
_local2.lineTo(_local3 + _local1, _local1);
_local2.lineTo(_local3 + _local1, _local3 + _local1);
_local2.lineTo(_local1, _local3 + _local1);
_local2.lineTo(_local1, _local1);
_local2.endFill();
return(_local2);
};
o.setPixel = function () {
var _local1 = this;
var _local2 = _local1.localToGlobal({x:_local1._x, y:_local1._y});
_local1._x = _local1._x - (_local2.x % 1);
_local1._y = _local1._y - (_local2.y % 1);
};
o.addProperty("_gXscale", function () {
var _local1 = this;
return(_local1._xscale * ((_local1._parent != undefined) && ((arguments.callee.apply(_local1._parent) || 100) / 100)));
}, function (newVal) {
var _local3 = this;
var _local1 = _local3;
var _local2 = _local3._xscale;
while (_local1 = _local1._parent , _local1) {
_local2 = _local2 * (_local1._xscale / 100);
}
newVal = newVal / _local2;
_local3._xscale = newVal * 100;
});
o.addProperty("_gYscale", function () {
var _local1 = this;
return(_local1._yscale * ((_local1._parent != undefined) && ((arguments.callee.apply(_local1._parent) || 100) / 100)));
}, function (newVal) {
var _local3 = this;
var _local1 = _local3;
var _local2 = _local3._yscale;
while (_local1 = _local1._parent , _local1) {
_local2 = _local2 * (_local1._yscale / 100);
}
newVal = newVal / _local2;
_local3._yscale = newVal * 100;
});
o.paramHide();
var o = String.prototype;
o.scrollBy = function (scrOffset) {
var _local2 = this;
var _local1 = _local2.scroll + scrOffset;
if (_local1 > _local2.maxscroll) {
_local1 = _local2.maxscroll;
} else if (_local1 < 1) {
_local1 = 1;
}
_local2.scroll = _local1;
};
o.dZero = function () {
return(Number(this).dZero());
};
o.paramHide();
var o = XMLNode.prototype;
XML.prototype.ignoreWhite = true;
o.getByName = function (node_name) {
return(this.search("nodeName", node_name));
};
o.search = function (param, value, notFirstSibling) {
var _local1 = this;
var _local2 = value;
var _local3 = param;
if ((_local2 != undefined) && ((_local1[_local3] == _local2) || (_local1.attributes[_local3] == _local2))) {
return(_local1);
}
if ((_local2 == undefined) && (_local1.attributes[_local3] != undefined)) {
return(_local1);
}
if (!notFirstSibling) {
return(_local1.firstChild.search(_local3, _local2, true));
}
return(_local1.nextSibling.search(_local3, _local2, true) || (_local1.firstChild.search(_local3, _local2, true)));
};
o.getByValue = function (value) {
var _local2 = this;
var _local3 = value;
var _local1 = _local2.attributes;
for (var v in _local1) {
if (_local1[v] == _local3) {
return(_local2);
}
}
return(_local2.nextSibling.getByValue(_local3) || (_local2.firstChild.getByValue(_local3)));
};
o.clear = function () {
var _local1 = this;
_local1.nextSibling.clear();
_local1.firstChild.clear();
if ((_local1.nodeType == 3) && (_local1.parentNode.firstChild != _local1.parentNode.lastChild)) {
_local1.removeNode();
}
};
o.paramHide();
var o = Math;
o.ease = function (Steps, CurrStep) {
var _local2 = Steps;
var _local3 = CurrStep;
if (_local2 <= _local3) {
return(0);
}
if ((_local2 / 2) == _local3) {
return(1);
}
var _local1 = Math.sin((((_local3 / _local2) * 180) * Math.PI) / 180);
return((_local1 * _local1) * _local1);
};
o.inOut = function (StartA, FinishA, Steps, CurrStep) {
var _local1 = StartA;
var _local2 = CurrStep;
if (_local2 >= Steps) {
return(FinishA);
}
if (_local2 <= 0) {
return(_local1);
}
return(_local1 + ((FinishA - _local1) * Math.ease(Steps * 2, _local2)));
};
o.length = function (point1, point2) {
var _local1 = this;
var _local3 = _local1.abs(point1._x - point2._x);
var _local2 = _local1.abs(point1._y - point2._y);
return(_local1.sqrt(_local1.pow(_local3, 2) + _local1.pow(_local2, 2)));
};
o.getMiddlePoint = function (point1, point2, len) {
var _local1 = point1;
var bigLen = this.length(_local1, point2);
if (len == undefined) {
len = bigLen / 2;
}
var _local3 = bigLen / len;
var _local2 = {};
_local2._x = _local1._x + ((point2._x - _local1._x) / _local3);
_local2._y = _local1._y + ((point2._y - _local1._y) / _local3);
return(_local2);
};
o.getDeltaPoint = function (a_point, b_point, delta) {
var rad = 57.2957795130823;
var _local2 = this.length(a_point, b_point);
var _local1 = this.length(a_point, delta);
var _local3 = this.length(b_point, delta);
var angA = Math.round(Math.acos((((_local1 * _local1) + (_local2 * _local2)) - (_local3 * _local3)) / ((2 * _local1) * _local2)) * rad);
var angB = Math.round(Math.acos((((_local3 * _local3) + (_local2 * _local2)) - (_local1 * _local1)) / ((2 * _local3) * _local2)) * rad);
var angC = Math.round(Math.acos((((_local3 * _local3) + (_local1 * _local1)) - (_local2 * _local2)) / ((2 * _local3) * _local1)) * rad);
var ax = Math.round(_local1 * Math.cos(angA / rad));
return(this.getMiddlePoint(a_point, b_point, ax));
};
o.paramHide();
Stage.onCenterScale = function (w, h) {
var _local1 = this;
var o = {};
o.onResize = function () {
var _local3 = _root;
var _local1 = Stage;
var _local2;
var tmp;
if (_local1.width <= 0) {
} else {
_local1._xscale = (_local1.width / w) * 100;
_local1._yscale = (_local1.height / h) * 100;
_local2 = Math.min(_local1._xscale, _local1._yscale);
tmp = _local2;
_local2 = _local2 * (Stage._rootH / Stage.height);
if (_local2 > tmp) {
_local2 = tmp;
}
_local3._yscale = (_local3._xscale = _local2);
_local3._x = (w - (w * (_local2 / 100))) / 2;
_local3._y = (h - (h * (_local2 / 100))) / 2;
C_AltCLASS.prototype.scale = (100 / _local2) * 100;
}
};
o.onKeyDown = function () {
if ((getTimer() - this.downTimer) > 300) {
var _local1 = Key.getCode();
if ((_local1 == 187) || (_local1 == 107)) {
Stage.zoomIn();
} else if ((_local1 == 189) || (_local1 == 109)) {
Stage.zoomOut();
}
this.downTimer = getTimer();
}
};
o.onKeyUp = function () {
this.downTimer = 0;
};
_local1.zoomIn = function () {
var _local1 = this;
_local1._rootH = Math.round(_local1._rootH * 1.1);
if (_local1._rootH > _local1.height) {
_local1._rootH = _local1.height;
}
_local1.saveRootParams();
Stage.broadcastMessage("onResize");
};
_local1.zoomOut = function () {
var _local1 = this;
if (_local1._rootH > _local1.height) {
_local1._rootH = _local1.height;
}
_local1._rootH = Math.round(_local1._rootH / 1.1);
if (_local1._rootH < 100) {
_local1._rootH = 100;
}
Stage.saveRootParams();
Stage.broadcastMessage("onResize");
};
_local1.saveRootParams = function () {
var _local1 = this;
_local1.so.data._rootH = _local1._rootH;
_local1.so.flush();
};
_local1.so = SharedObject.getLocal("stage");
if (_local1.so.data._rootH) {
_local1._rootH = _local1.so.data._rootH;
} else {
_local1._rootH = _local1.height * 10;
}
_local1.so.flush();
Stage.centerScaleMode = true;
Stage._xscale = 100;
Stage._yscale = 100;
Stage.scaleMode = "noScale";
Stage.addListener(o);
Key.addListener(o);
Stage.broadcastMessage("onResize");
};
Stage._xscale = 100;
Stage._yscale = 100;
Stage.paramHide();
var o = Number.prototype;
o.dZero = function () {
if (this < 0) {
var changed = true;
this = -this;
}
if (this == 0) {
return("0.00");
}
var dStr = String(Math.floor(this * 100));
var _local3 = dStr.substr(0, dStr.length - 2);
if (_local3 == "") {
_local3 = "0";
}
var two = dStr.substr(-2);
if (two == "0") {
two = "00";
}
var _local2 = [];
var _local1 = _local3;
while (_local1 != "") {
if (_local1.length < 3) {
_local2.unshift(_local1);
break;
}
_local2.unshift(_local1.substr(-3));
_local1 = _local1.substr(0, _local1.length - 3);
}
_local3 = _local2.join(",");
if (changed) {
this = -this;
return((("-" + _local3) + ".") + two);
}
return((_local3 + ".") + two);
};
o.paramHide();
var o = Button.prototype;
o.addProperty("_brightness", function () {
}, function (br) {
var _local3 = br;
var _local2;
var _local1;
if (_local3 <= 0) {
_local2 = 100 + _local3;
_local1 = 0;
} else {
_local2 = 100 - _local3;
_local1 = Math.round((_local3 / 100) * 255);
}
new Color(this).setTransform({ra:_local2, rb:_local1, ga:_local2, gb:_local1, ba:_local2, bb:_local1, aa:100, ab:0});
});
o.paramHide();
var o = {time:0};
o.onMouseDown = function () {
var _local2 = this;
var _local1 = getTimer();
if (Mouse.isDoubleClick) {
Mouse.isDoubleClick = false;
_local2.time = _local1;
} else {
if ((_local1 - _local2.time) <= 300) {
Mouse.isDoubleClick = true;
Mouse.broadcastMessage("onDoubleClick");
}
_local2.time = _local1;
}
};
Mouse.addListener(o);
Mouse.isDoubleClick = false;
delete o;
Mouse.paramHide();
_global.isXML = function (x) {
return((x instanceof XML) || (x instanceof XMLNode));
};
_global.c__ = {};
c__[1] = function () {
Conv.include.apply(Conv, arguments);
};
c__[2] = function () {
Conv.put.apply(Conv, arguments);
};
c__[3] = function () {
Conv.anim.apply(Conv, arguments);
};
_global.startDebug = function () {
Object.prototype.__resolve = function (notFoundMethodName) {
trace((("Not Found Method Or Prop Name: " + this) + ": ") + notFoundMethodName);
};
};
ASSetPropFlags(_global, "isXML,c__,startDebug", 131);
_global.C_ConveyorCLASS = function (notFrames) {
this.init(notFrames);
};
C_ConveyorCLASS.prototype.init = function (notFrames) {
var _local1 = this;
_local1.aConveyor = new Array();
_local1.conveyorON = true;
_local1.bookmark = 0;
_local1.shorts = 0;
_local1.turbo = false;
_local1.noSound = false;
_local1.frameTimer = {};
if (!notFrames) {
_local1.frameTimer.root = _local1;
_local1.frameTimer.onEnterFrame = function () {
var _local1 = this;
if (_local1.sleep) {
} else {
_local1.nTime++;
if (_local1.nTime >= _local1.timeOut) {
_local1.root.engine();
}
}
};
_local1.ConvTimer.addListener(_local1.frameTimer);
_local1.pauseValue = "1";
} else {
_local1.pauseValue = 50;
}
_local1.engine();
ASSetPropFlags(_local1, null, 1);
};
C_ConveyorCLASS.prototype.ConvTimer = _root.createEmptyMovieClip("ConvTimer", -9122);
C_ConveyorCLASS.prototype.ConvTimer.onEnterFrame = function () {
this.broadcastMessage("onEnterFrame");
};
AsBroadcaster.initialize(_root.ConvTimer);
_global.anim_depth = _root.createEmptyMovieClip("anim_depth", 15400);
anim_depth.onUnload = function () {
trace("error: conveyor anim depth crashed!");
};
C_ConveyorCLASS.prototype.play = function () {
var _local1 = this;
if (_local1.conveyorON) {
} else {
if (_local1.frame) {
_local1.frameTimer.sleep = false;
}
_local1.conveyorON = true;
}
};
C_ConveyorCLASS.prototype.stop = function () {
var _local1 = this;
if (_local1.frame) {
_local1.frameTimer.sleep = true;
}
_local1.conveyorON = false;
};
C_ConveyorCLASS.prototype.pause = function (pause) {
this.aConveyor = [[function () {
}, pause]].concat(this.aConveyor);
};
C_ConveyorCLASS.prototype.put = function () {
var _local1 = this;
var _local2 = arguments;
if (_local1.noSound && (_local2[1] == "newSound")) {
} else {
_local1.aConveyor.push(_local2);
if ((!_local1.bookmark) && (_local1.aConveyor.length > (200 + _local1.shorts))) {
var _local3 = _local1.aConveyor.splice(100 + _local1.shorts);
_local1.shorts++;
_local1.put(function () {
var _local1 = this;
_local1.aConveyor = arguments[0].concat(_local1.aConveyor);
_local1.shorts--;
}, _local1, 0, _local3);
}
}
};
C_ConveyorCLASS.prototype.include = function () {
var _local1 = this;
_local1.put(_local1, "bookmark_add", 0);
_local1.put.apply(_local1, arguments);
_local1.put(_local1, "bookmark_remove", 0);
};
C_ConveyorCLASS.prototype.engine = function () {
if (!this.conveyorON) {
this.pause(this.pauseValue);
}
var cTime;
var tA = this.aConveyor[0];
if (this.aConveyor.length == 0) {
cTime = this.pauseValue;
} else {
this.aConveyor.shift();
var calledFunction;
var calledObject;
var argumentsObject;
if (typeof(tA[0]) != "function") {
calledObject = tA[0];
if (typeof(calledObject) == "string") {
calledObject = eval (calledObject);
}
cTime = tA[2];
calledFunction = calledObject[tA[1]];
argumentsObject = tA.slice(3);
if (typeof(calledFunction) == "function") {
calledFunction.apply(calledObject, argumentsObject);
} else {
calledObject[tA[1]] = argumentsObject[0];
}
} else if (!isNaN(tA[1])) {
cTime = tA[1];
calledFunction = tA[0];
argumentsObject = tA.slice(2);
calledFunction.apply(null, argumentsObject);
} else {
cTime = tA[2];
calledFunction = tA[0];
calledObject = tA[1];
if (typeof(calledObject) == "string") {
calledObject = eval (calledObject);
}
argumentsObject = tA.slice(3);
calledFunction.apply(calledObject, argumentsObject);
}
}
clearInterval(this.interval);
if (cTime != 0) {
var timeType = typeof(cTime);
var timeValue = Number(cTime);
if (timeType == "string") {
this.frameTimer.sleep = false;
if (this.turbo) {
timeValue = 1;
}
this.frameTimer.timeOut = timeValue;
this.frameTimer.nTime = 0;
this.frame = true;
} else if (timeType == "number") {
this.frameTimer.sleep = true;
this.interval = setInterval(this, "engine", timeValue);
this.frame = false;
} else {
this.engine();
}
} else {
this.engine();
}
};
C_ConveyorCLASS.prototype.anim = function (mc_anim, mc_to, params_ob) {
var _local3 = this;
var to_end = params_ob.to_end;
var speed = (params_ob.speed || 20);
var scale = params_ob.scale;
var x_f = mc_to._x;
var y_f = mc_to._y;
var delta = params_ob.delta;
var x;
var y;
var x_s;
var y_s;
var x_st = mc_anim._x;
var y_st = mc_anim._y;
if (scale) {
var scale_x = mc_anim._xscale;
var scale_y = mc_anim._yscale;
var scale_to_x = mc_to._xscale;
var scale_to_y = mc_to._yscale;
}
_local3.put(mc_anim, "swapDepths", 0, _root.anim_depth);
_local3.put(_root, "newSound", 0, "movie", 50);
var pathLength = Math.sqrt(Math.pow(Math.abs(mc_anim._x - mc_to._x), 2) + Math.pow(Math.abs(mc_anim._y - mc_to._y), 2));
var _local1 = Math.round(pathLength / speed);
if (isNaN(_local1)) {
} else {
if (_local1 < 5) {
_local1 = 5;
}
var _local2 = 1;
while (_local2 <= _local1) {
if ((!to_end) && (_local2 >= (_local1 - (_local1 / 5)))) {
break;
}
if (_local3.turbo) {
_local2 = (to_end ? (_local1) : (_local1 - (_local1 / 5)));
}
if (scale) {
x_s = Math.inOut(scale_x, scale_to_x, _local1, _local2);
y_s = Math.inOut(scale_y, scale_to_y, _local1, _local2);
_local3.put(mc_anim, "scaleTo", 0, x_s, y_s);
}
x = Math.inOut(x_st, x_f, _local1, _local2);
y = Math.inOut(y_st, y_f, _local1, _local2);
_local3.put(mc_anim, "movieTo", "1", x, y);
_local2++;
}
_local3.put(mc_anim, "swapDepths", 0, _root.anim_depth);
}
};
C_ConveyorCLASS.prototype.turbo_On = function () {
this.turbo = true;
};
C_ConveyorCLASS.prototype.turbo_Off = function () {
this.turbo = false;
};
C_ConveyorCLASS.prototype.bookmark_add = function () {
this.aConveyor.push("#bookmark#");
this.bookmark++;
};
C_ConveyorCLASS.prototype.bookmark_remove = function (rev) {
var _local1 = this;
if (_local1.bookmark <= 0) {
} else {
_local1.bookmark--;
var _local3 = _local1.aConveyor.length;
var _local2 = [];
while ((_local1.aConveyor[_local1.aConveyor.length - 1] != "#bookmark#") && ((_local3--) > 0)) {
_local2.push(_local1.aConveyor.pop());
}
_local1.aConveyor.pop();
if (!rev) {
_local2.reverse();
}
_local1.aConveyor = _local2.concat(_local1.aConveyor);
}
};
C_ConveyorCLASS.prototype.create = function (notFrames) {
return(new C_ConveyorCLASS(notFrames));
};
C_ConveyorCLASS.prototype.close = function () {
var _local1 = this;
_local1.stop();
_local1.ConvTimer.removeListener(_local1);
clearInterval(_local1.interval);
};
_global.empty = function () {
};
_global.Conv = new C_ConveyorCLASS();
ASSetPropFlags(_global, "Conv,empty,anim_depth,addConveyor", 131);
ASSetPropFlags(_global, "C_ConveyorCLASS", 131);
_global.Image = function (uri, mc) {
var _local1 = this;
_local1._targetMovie = mc;
_local1.data = new XML();
_local1.data.owner = _local1;
if (uri != undefined) {
_local1.tmp_interval = setInterval(_local1, "load", 20, uri);
}
};
Image.prototype.load = function (uri, mc) {
var _local1 = this;
clearInterval(_local1.tmp_interval);
_local1._targetMovie = mc || (_local1._targetMovie);
_local1._uri = uri;
_local1.data.onLoad = function (success) {
var _local1 = this.owner;
_local1._trace();
_local1.onLoad(success);
_local1.close();
};
_local1._traceID = setInterval(_local1, "_trace", 50);
_local1.data.load(uri);
};
Image.prototype.close = function (uri, mc) {
clearInterval(this._traceID);
};
Image.prototype.getBytesLoaded = function () {
return(this.data.getBytesLoaded());
};
Image.prototype.getBytesTotal = function () {
return(this.data.getBytesTotal());
};
Image.prototype._trace = function () {
var _local1 = this;
if (_local1.getBytesTotal() <= 0) {
} else {
_local1.percent = Math.floor((_local1.getBytesLoaded() / _local1.getBytesTotal()) * 10000) / 100;
_local1.trace();
}
};
Image.prototype.trace = function () {
};
Image.prototype.onLoad = function (success) {
var _local1 = this;
if (success) {
if (_local1._targetMovie) {
_local1._targetMovie.loadMovie(_local1._uri);
}
}
};
Image.prototype.addProperty("src", function () {
return(this._uri);
}, Image.prototype.load);
ASSetPropFlags(_global, "Image", 131);
_global.Preloader = function () {
var _local2 = arguments;
var _local3 = this;
_local3.items = [];
var _local1 = 0;
while (_local1 < _local2.length) {
_local3.addItem(_local2[_local1]);
_local1++;
}
};
Preloader.prototype.addItem = function () {
var _local3 = this;
var _local2;
var a;
if (arguments[0] instanceof Array) {
a = arguments[0];
} else {
a = arguments;
}
var _local1 = 0;
while (_local1 < a.length) {
_local2 = new Image();
_local2.owner = _local3;
_local2.onLoad = function (s) {
this.owner.onItemLoaded(s);
};
_local3.items.push([_local2, a[_local1]]);
_local3.loadInited = true;
_local1++;
}
if (!_local3.curentLoad) {
_local3.onItemLoaded();
}
return(_local2);
};
Preloader.prototype.onItemLoaded = function (success) {
var _local1 = this;
var _local2 = (_local1.curentLoad = _local1.items.shift());
if (_local1.curentLoad) {
_local2[0].load(_local2[1]);
} else if (_local1.loadInited) {
_local1.onLoad();
}
};
Preloader.prototype.onLoad = function () {
this.trace("Loading Complette");
};
ASSetPropFlags(_global, "Preloader", 131);
_global.C_ElasticEngineCLASS = function () {
};
C_ElasticEngineCLASS.prototype = new Object();
C_ElasticEngineCLASS.prototype.init = function (w, h, minWidth, minHeight) {
var _local1 = this;
Stage.scaleMode = "noScale";
Stage.align = "TL";
var _local2 = (Stage.elasticListener = {});
_local2.minHeight = minHeight || (h);
_local2.minWidth = minWidth || (w);
_local2.width = w;
_local2.height = h;
_local2.onResize = function () {
var _local1 = this;
var _local2 = Stage;
if ((_local2.width <= 0) || (_local2.height <= 0)) {
_local1.locked = true;
} else {
_local1.locked = false;
var w = Math.max(_local1.minWidth, _local2.width);
var _local3 = Math.max(_local1.minHeight, _local2.height);
_local1.w_d = Math.round(w) - _local1.width;
_local1.h_d = Math.round(_local3) - _local1.height;
_local1.width = w;
_local1.height = _local3;
}
};
Stage.addListener(_local2);
var _local3 = MovieClip.prototype;
var btn = Button.prototype;
var txt = TextField.prototype;
_local3.registerElastic = (btn.registerElastic = (txt.registerElastic = _local1.registerElastic));
_local3.registerInterfaceElastic = _local1.registerInterfaceElastic;
_local3.removeElastic = (btn.removeElastic = (txt.removeElastic = _local1.registerElastic));
ASSetPropFlags(_local3, "registerElastic,registerInterfaceElastic", 131);
ASSetPropFlags(btn, "registerElastic", 131);
ASSetPropFlags(txt, "registerElastic", 131);
delete _global.C_ElasticEngineCLASS;
};
C_ElasticEngineCLASS.prototype.registerElastic = function () {
var _local1 = this;
var _local2 = {root:_local1};
_local2.onResize = function () {
var _local1 = this;
var _local2 = _local1.root;
var s = Stage.elasticListener;
if (s.locked) {
} else {
if (!_local1.inited) {
_local1._width = _local2._width;
_local1._height = _local2._height;
_local1._x = _local2._x;
_local1._y = _local2._y;
_local1.inited = true;
}
var a = _local1.elasticParams;
var value;
var _local3 = 0;
while (_local3 < a.length) {
_local2[a[_local3][1]] = _local2[a[_local3][1]] + s[a[_local3][0]];
_local3++;
}
for (var v in _local1.centerParams) {
if (v == "w_c") {
_local1._width = _local1._width + (s.w_d / _local1.centerParams.w_c);
_local2._width = Math.round(_local1._width);
} else if (v == "h_c") {
_local1._height = _local1._height + (s.h_d / _local1.centerParams.h_c);
_local2._height = Math.round(_local1._height);
} else if (v == "x_c") {
_local1._x = _local1._x + (s.w_d / _local1.centerParams.x_c);
_local2._x = Math.round(_local1._x);
} else if (v == "y_c") {
_local1._y = _local1._y + (s.h_d / _local1.centerParams.y_c);
_local2._y = Math.round(_local1._y);
}
}
_local2.onResize();
}
};
_local2.elasticParams = [];
var params = {};
params.x = ["w_d", "_x"];
params.w = ["w_d", "_width"];
params.y = ["h_d", "_y"];
params.h = ["h_d", "_height"];
_local2.centerParams = {};
var centerParam;
var centerValue;
var _local3 = 0;
while (_local3 < arguments.length) {
centerParam = arguments[_local3].substr(0, 1);
centerValue = Number(arguments[_local3].substr(2));
if (centerValue) {
if (centerParam == "x") {
_local2.centerParams.x_c = centerValue;
} else if (centerParam == "y") {
_local2.centerParams.y_c = centerValue;
} else if (centerParam == "w") {
_local2.centerParams.w_c = centerValue;
} else if (centerParam == "h") {
_local2.centerParams.h_c = centerValue;
}
} else {
_local2.elasticParams.push(params[arguments[_local3]]);
}
_local3++;
}
Stage.addListener(_local2);
};
C_ElasticEngineCLASS.prototype.registerInterfaceElastic = function () {
var _local1 = {root:this};
_local1.onResize = function () {
var _local2 = this.root;
var s = Stage.elasticListener;
if (s.locked) {
} else {
if (!this.inited) {
this.width = _local2.width;
this.height = _local2.height;
this._x = _local2._x;
this._y = _local2._y;
this.inited = true;
}
var _local3 = this.elasticParams;
var value;
var interface = this.interface;
var args = [];
var centerParams = this.centerParams;
var _local1 = 0;
while (_local1 < _local3.length) {
_local2[_local3[_local1][1]] = _local2[_local3[_local1][1]] + s[_local3[_local1][0]];
_local1++;
}
if (interface.w) {
args.push(_local2.width + s.w_d);
} else if (interface.w_l) {
args.push(_local2.width);
} else if (centerParams.w_c) {
this.width = this.width + (s.w_d / centerParams.w_c);
args.push(Math.round(this.width));
}
if (interface.h) {
args.push(_local2.height + s.h_d);
} else if (interface.h_l) {
args.push(_local2.height);
} else if (centerParams.h_c) {
this.height = this.height + (s.h_d / centerParams.h_c);
args.push(Math.round(this.height));
}
if (centerParams.x_c) {
this._x = this._x + (s.w_d / centerParams.x_c);
_local2._x = Math.round(this._x);
}
if (centerParams.y_c) {
this._y = this._y + (s.h_d / centerParams.y_c);
_local2._y = Math.round(this._y);
}
_local2.setSize.apply(_local2, args);
_local2.onResize();
}
};
_local1.elasticParams = [];
_local1.interface = {};
_local1.centerParams = {};
var params = {};
params.x = ["w_d", "_x"];
params.y = ["h_d", "_y"];
var centerParam;
var _local3;
var _local2 = 0;
while (_local2 < arguments.length) {
if (params[arguments[_local2]]) {
_local1.elasticParams.push(params[arguments[_local2]]);
} else {
centerParam = arguments[_local2].substr(0, 1);
_local3 = Number(arguments[_local2].substr(2));
if (_local3) {
if (centerParam == "x") {
_local1.centerParams.x_c = _local3;
} else if (centerParam == "y") {
_local1.centerParams.y_c = _local3;
} else if (centerParam == "w") {
_local1.centerParams.w_c = _local3;
} else if (centerParam == "h") {
_local1.centerParams.h_c = _local3;
}
} else {
_local1.interface[arguments[_local2]] = true;
}
}
_local2++;
}
Stage.addListener(_local1);
return(true);
};
C_ElasticEngineCLASS.prototype.removeElastic = function () {
var _local3 = this;
var _local2 = Stage._listeners;
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].root == _local3) {
Stage.removeListener(_local2[_local1]);
return;
}
_local1++;
}
};
Stage.initElastic = function (w, h, minWidth, minHeight) {
var _local1 = new C_ElasticEngineCLASS();
_local1.init(w, h, minWidth, minHeight);
};
ASSetPropFlags(_global, "C_ElasticEngine", 131);
ASSetPropFlags(Stage, "initElastic", 131);
_global.C_AltCLASS = function (text, owner) {
var _local1 = this;
_local1.owner = owner;
_local1.init();
_local1.drawAlt(text);
};
C_AltCLASS.prototype = new Object();
C_AltCLASS.prototype.counter = 0;
C_AltCLASS.prototype.depth = 23499;
C_AltCLASS.prototype.fill = 16777164 /* 0xFFFFCC */;
C_AltCLASS.prototype.lineColor = 0;
C_AltCLASS.prototype.align = "BL";
C_AltCLASS.prototype.scale = 100;
var o = ((C_AltCLASS.prototype.textFormat = new TextFormat()));
o.font = "_sans";
o.size = 10;
o.textColor = 0;
o.bold = true;
o.indent = 0;
delete o;
C_AltCLASS.prototype.init = function () {
var _local2 = this;
Stage.addListener(_local2);
Mouse.addListener(_local2);
var _local1 = (_local2.closeListener = {});
_local1.owner = _local2;
_local1.onMouseDown = (_local1.onKeyDown = (_local1.onKeyUp = function () {
var _local1 = this.owner.owner;
if (_local1) {
_local1.hideAlt();
} else {
this.owner.close();
}
}));
Key.addListener(_local1);
Mouse.addListener(_local1);
};
C_AltCLASS.prototype.drawAlt = function (text) {
var _local1 = this;
if (_local1.__proto__.curent) {
_local1.__proto__.curent.owner.hideAlt();
}
_local1.__proto__.curent = _local1;
var _local2 = (_local1.holder = _root.createEmptyMovieClip(("alt_" + c) + "_mc", _local1.depth));
_local1.holder._xscale = (_local1.holder._yscale = _local1.scale);
_local2.owner = _local1;
_local2.onEnterFrame = function () {
delete this.onEnterFrame;
this.owner.drawBorder();
};
_local2._visible = false;
_local2._x = _root._xmouse;
_local2._y = _root._ymouse;
_local2.createTextField("alt_txt", 123, 0, 0, 10, 10);
var _local3 = _local2.alt_txt;
_local3.border = false;
_local3.multiline = true;
_local3.autoSize = true;
_local3.selectable = false;
_local3.text = text;
_local3.setTextFormat(_local1.textFormat);
};
C_AltCLASS.prototype.drawBorder = function () {
var o = this.holder;
o._visible = true;
var t = o.alt_txt;
var w = t._width;
var h = t._height;
var x = o._xmouse;
var y = o._ymouse;
var _local1 = (this.border_mc = o.createEmptyMovieClip("border", 2));
_local1.beginFill(this.fill, 100);
_local1.lineStyle(0);
_local1.lineTo(12, -12);
_local1.lineTo((12 + w) + 4, -12);
_local1.lineTo((12 + w) + 4, (-12 - h) - 4);
_local1.lineTo(8, (-12 - h) - 4);
_local1.lineTo(8, -19);
_local1.endFill();
var _local3 = _local1.createEmptyMovieClip("aligner", 1);
_local1 = (this.shadow_mc = o.createEmptyMovieClip("shadow", 1));
_local1.beginFill(0, 30);
var _local2 = 7;
_local1.lineTo(12 + _local2, -12 + _local2);
_local1.lineTo(((12 + w) + 4) + _local2, -12 + _local2);
_local1.lineTo(((12 + w) + 4) + _local2, ((-12 - h) - 4) + _local2);
_local1.lineTo(8 + _local2, ((-12 - h) - 4) + _local2);
_local1.lineTo(8 + _local2, -19 + _local2);
_local1.endFill();
_local3.beginFill(this.fill);
_local3.moveTo(12, -15);
_local3.lineTo(12 + w, -15);
_local3.lineTo(12 + w, -12 - h);
_local3.lineTo(12, -12 - h);
_local3.endFill();
this.altAlign();
this.onMouseMove();
};
C_AltCLASS.prototype.altAlign = function () {
var _local2 = this;
var _local1 = _local2.holder;
if (_local2.align == undefined) {
_local2.align = "BL";
}
if (_local2.align == "BL") {
_local1.border._xscale = (_local1.shadow._xscale = 100);
_local1.border._yscale = (_local1.shadow._yscale = 100);
_local1.shadow._x = (_local1.shadow._y = 0);
} else if (_local2.align == "BR") {
_local1.border._xscale = (_local1.shadow._xscale = -100);
_local1.border._yscale = (_local1.shadow._yscale = 100);
_local1.shadow._x = 0;
_local1.shadow._y = 0;
} else if (_local2.align == "TL") {
_local1.border._xscale = (_local1.shadow._xscale = 100);
_local1.border._yscale = (_local1.shadow._yscale = -100);
_local1.shadow._x = 0;
_local1.shadow._y = 10;
} else if (_local2.align == "TR") {
_local1.border._xscale = (_local1.shadow._xscale = -100);
_local1.border._yscale = (_local1.shadow._yscale = -100);
_local1.shadow._x = 0;
_local1.shadow._y = 10;
}
var _local3 = _local1.border.aligner.getBounds(_local1);
_local1.alt_txt._x = _local3.xMin;
_local1.alt_txt._y = _local3.yMin - 2;
};
C_AltCLASS.prototype.onMouseMove = function () {
var _local1 = this;
if (!_local1.owner.__alt) {
_local1.close();
} else {
if (!_local1.point) {
_local1.holder._x = _root._xmouse;
_local1.holder._y = _root._ymouse;
} else {
_local1.holder._x = _local1.point._x;
_local1.holder._y = _local1.point._y;
}
_local1.holder._xscale = (_local1.holder._yscale = _local1.scale);
var x = _local1.holder._x;
var y = _local1.holder._y;
var _local2 = _local1.holder._width;
var h = _local1.holder._height;
var a = _local1.align;
var _local3 = "B";
var g = "L";
if (Stage.centerScaleMode) {
if ((y - h) < 0) {
_local3 = "T";
}
if (((x + _local2) > (Stage.width / (Stage._xscale / 100))) && (_local2 < Stage.width)) {
g = "R";
}
} else {
if ((Stage.height > 0) && (h > y)) {
_local3 = "T";
}
if (((Stage.width > 0) && ((Stage.width - _local2) < x)) && (_local2 < Stage.width)) {
g = "R";
}
}
_local1.align = _local3 + g;
if (_local1.align != a) {
_local1.altAlign();
}
}
};
C_AltCLASS.prototype.onResize = function () {
this.onMouseMove();
};
C_AltCLASS.prototype.close = function () {
var _local1 = this;
_local1.holder.removeMovieClip();
Stage.removeListener(_local1);
Mouse.removeListener(_local1);
Key.removeListener(_local1.closeListener);
Mouse.removeListener(_local1.closeListener);
};
ASSetPropFlags(_global, "C_AltCLASS", 131);
Button.prototype.showAlt = (MovieClip.prototype.showAlt = function (text) {
var _local1 = this;
if (_local1.__alt) {
_local1.hideAlt();
}
_local1.__alt = new C_AltCLASS(text, _local1);
});
MovieClip.prototype.showAltInPoint = function (text, point) {
var _local1 = this;
if (_local1.__alt) {
_local1.hideAlt();
}
var _local2 = (_local1.__alt = new C_AltCLASS(text, _local1));
_local2.point = point;
};
Button.prototype.hideAlt = (MovieClip.prototype.hideAlt = function () {
this.__alt.close();
delete this.__alt;
});
Button.prototype.addAlt = (MovieClip.prototype.addAlt = function (t) {
var _local1 = this;
var _local3 = function () {
this.showAlt(t);
};
var _local2 = function () {
this.hideAlt();
};
if (arguments.length > 1) {
_local3 = arguments[0];
_local2 = arguments[1];
}
_local1.onRollOver = _local3;
_local1.onDragOut = (_local1.onRollOut = _local2);
_local1.useHandCursor = false;
});
Mouse.showAlt = function (text) {
var _local2 = _root;
var _local1 = _local2.creatSqv("tmp_sqv_alt", 8919, 10, 0, true);
_local1._alpha = 0;
_local1._x = _local2._xmouse;
_local1._y = _local2._ymouse;
_local1.showAlt(text);
_local1.onRollOut = (_local1.onPress = (_local1.onRelease = (_local1.onReleaseOutside = (_local1.onDragOut = function () {
this.hideAlt();
this.removeMovieClip();
}))));
};
ASSetPropFlags(MovieClip.prototype, "showAlt,hideAlt,addAlt", 131);
ASSetPropFlags(Button.prototype, "showAlt,hideAlt,addAlt", 131);
ASSetPropFlags(Button, "showAlt", 131);
_global.C_My = {};
C_My.dZerro = function () {
if (arguments[0] == 0) {
return("0.00");
}
var dStr = String(Math.floor(arguments[0] * 100));
var _local3 = dStr.substr(0, dStr.length - 2);
if (_local3 == "") {
_local3 = "0";
}
var two = dStr.substr(-2);
if (two == "0") {
two = "00";
}
var _local2 = [];
var _local1 = _local3;
while (_local1 != "") {
if (_local1.length < 3) {
_local2.unshift(_local1);
break;
}
_local2.unshift(_local1.substr(-3));
_local1 = _local1.substr(0, _local1.length - 3);
}
_local3 = _local2.join(",");
return((_local3 + ".") + two);
};
C_My.paramHide();
ASSetPropFlags(_global, "C_My", 131);
_global.C_ShortcutsCLASS = function () {
var _local1 = this;
_local1._listeners = [];
_local1._shortCutListeners = [];
_local1.keys = {};
_local1.init();
};
C_ShortcutsCLASS.prototype = new Object();
C_ShortcutsCLASS.prototype.init = function () {
var _local2 = this;
Key.addShortcut = function (listener) {
this.shortcutsEngine.addListener.apply(this.shortcutsEngine, arguments);
};
Key.removeShortcut = function (listener) {
this.shortcutsEngine.removeListener(listener);
};
Key.addShortcutListener = function (listener) {
this.shortcutsEngine.addShortcutListener.apply(this.shortcutsEngine, arguments);
};
Key.removeShortcutListener = function (listener) {
this.shortcutsEngine.removeShortcutListener(listener);
};
Key.getShortcut = function () {
return(this.shortcutsEngine.getShortcut());
};
Key.addListener(_local2);
ASSetPropFlags(Key, "addShortcut,removeShortcut", 131);
ASSetPropFlags(Key, "addShortcutListener,removeShortcutListener,getShortcut", 131);
var _local1 = (_local2.nonFunctionalKeys = {});
_local1[38] = "UP";
_local1[40] = "DOWN";
_local1[37] = "LEFT";
_local1[39] = "RIGHT";
_local1[46] = "DELETE";
_local1[36] = "HOME";
_local1[35] = "END";
_local1[34] = "PAGEDOWN";
_local1[33] = "PAGEUP";
_local1[45] = "INSERT";
_local1[32] = "SPACE";
_local1[8] = "BACKSPACE";
_local1[27] = "INSERT";
_local1[9] = "TAB";
_local1[13] = "ENTER";
_local1 = (_local2.functionalKeys = {});
_local1[17] = "CTRL";
_local1[16] = "SHIFT";
_local1[18] = "ALT";
};
C_ShortcutsCLASS.prototype.getShortcut = function () {
var _local2 = this;
var _local1 = [];
for (var _local3 in _local2.keys) {
_local1.push(_local3);
}
return(_local2.format(_local1));
};
C_ShortcutsCLASS.prototype.onKeyDown = function () {
var isSh = this.registerKey(true);
if (isSh && (this.isListeners)) {
var _local3;
var _local2;
var shName = this.getShortcut();
_local3 = this._listeners;
var _local1 = 0;
while (_local1 < _local3.length) {
_local2 = _local3[_local1];
if ((_local2.shortcutName == shName) && (_local2.client.enabled != false)) {
_local2.client.onShortcut(shName);
}
_local1++;
}
}
this.onShortcutChanged();
};
C_ShortcutsCLASS.prototype.onKeyUp = function () {
this.registerKey(false);
this.onShortcutChanged();
};
C_ShortcutsCLASS.prototype.onShortcutChanged = function () {
if (this.isShortcutListeners) {
var shName = this.getShortcut();
var _local3 = this._shortCutListeners;
var _local1;
var _local2 = 0;
while (_local2 < _local3.length) {
_local1 = _local3[_local2];
if (_local1.shortcutName == shName) {
if (!_local1.calledDown) {
_local1.calledDown = true;
_local1.client.onShortcutDown(shName);
}
} else if (_local1.calledDown) {
_local1.calledDown = false;
_local1.client.onShortcutUp(_local1.shortcutName);
}
_local2++;
}
}
};
C_ShortcutsCLASS.prototype.addListener = function (listener) {
var _local3 = this;
if (listener == undefined) {
} else {
_local3.removeShortcut(listener);
var _local2;
var a = arguments.slice(1);
var _local1 = 0;
while (_local1 < a.length) {
_local2 = {};
_local2.client = listener;
_local2.shortcutName = _local3.format(a[_local1].toUpperCase().split("+"));
_local3._listeners.push(_local2);
_local1++;
}
_local3.isListeners = _local3._listeners.length > 0;
}
};
C_ShortcutsCLASS.prototype.removeListener = function (listener) {
var _local3 = listener;
if (_local3 == undefined) {
} else {
var _local2 = this._listeners;
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2[_local1].client == _local3) || (_local2[_local1].client == undefined)) {
_local2.splice(_local1, 1);
if (_local1 > 0) {
_local1--;
}
}
_local1++;
}
this.isListeners = this._listeners.length > 0;
}
};
C_ShortcutsCLASS.prototype.addShortcutListener = function (listener) {
var _local3 = this;
if (listener == undefined) {
} else {
_local3.removeShortcutListener(listener);
var _local2;
var a = arguments.slice(1);
var _local1 = 0;
while (_local1 < a.length) {
_local2 = {};
_local2.client = listener;
_local2.shortcutName = _local3.format(a[_local1].toUpperCase().split("+"));
_local3._shortCutListeners.push(_local2);
_local1++;
}
_local3.isShortcutListeners = _local3._shortCutListeners.length > 0;
}
};
C_ShortcutsCLASS.prototype.removeShortcutListener = function (listener) {
var _local3 = listener;
if (_local3 == undefined) {
} else {
var _local2 = this._shortCutListeners;
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2[_local1].client == _local3) || (_local2[_local1].client == undefined)) {
_local2.splice(_local1, 1);
if (_local1 > 0) {
_local1--;
}
}
_local1++;
}
this.isShortcutListeners = this._shortCutListeners.length > 0;
}
};
C_ShortcutsCLASS.prototype.format = function (a) {
var _local1 = a;
var _local3 = [];
var _local2 = 0;
while (_local2 < _local1.length) {
if (_local1[_local2] == "ALT") {
_local3.push(_local1.splice(_local2, 1));
break;
}
_local2++;
}
_local2 = 0;
while (_local2 < _local1.length) {
if (_local1[_local2] == "CTRL") {
_local3.push(_local1.splice(_local2, 1));
break;
}
_local2++;
}
_local2 = 0;
while (_local2 < _local1.length) {
if (_local1[_local2] == "SHIFT") {
_local3.push(_local1.splice(_local2, 1));
break;
}
_local2++;
}
return(_local3.concat(_local1.sort()).join("+"));
};
C_ShortcutsCLASS.prototype.registerKey = function (down) {
var _local1 = this;
for (var _local3 in _local1.keys) {
if (!Key.isDown(_local1.keys[_local3])) {
delete _local1.keys[_local3];
}
}
if (!down) {
} else {
var c = Key.getCode();
var _local2 = _local1.functionalKeys[c];
if (_local2 == undefined) {
_local2 = _local1.nonFunctionalKeys[c];
if (_local2 == undefined) {
_local2 = String.fromCharCode(Key.getAscii()).toUpperCase();
}
if (_local1.keys[_local2]) {
return(false);
}
_local1.keys[_local2] = c;
return(true);
}
_local1.keys[_local2] = c;
return(false);
}
return(undefined);
};
Key.shortcutsEngine = new C_ShortcutsCLASS();
ASSetPropFlags(Key, "shortcutsEngine", 131);
ASSetPropFlags(_global, "C_ShortcutsCLASS", 131);
if (!MMSAVE("text_test.txt", _url)) {
_global.JS = {};
}
_global.JS.alert = function (msg) {
getURL (("javascript: void top.alert('" + msg) + "');");
};
_global.JS.focus = function () {
getURL ("javascript: void top.focus();");
};
_global.JS.close = function () {
getURL ("javascript: void top.close();");
};
_global.JS.call = function (msg) {
getURL ("javascript: void " + msg);
};
_global.JS.open = function (url, name, w, h) {
var _local2 = w;
var _local1;
if (!isNaN(_local2)) {
_local1 = ((("width=" + _local2) + ",height=") + h) + ",menubar=no,scrollbars=yes,status=yes,titlebar=no,toolbar=no,resizable=yes";
} else {
_local1 = _local2;
}
getURL (((((("javascript: void top.open('" + url) + "', '") + name) + "', '") + _local1) + "');");
};
ASSetPropFlags(_global, "JS", 131);
if (AsBroadcaster == undefined) {
_global.ASBroadcaster = {};
ASBroadcaster.initialize = function (obj) {
var _local1 = obj;
var _local2 = this;
_local1.addListener = _local2.addListener;
_local1.removeListener = _local2.removeListener;
_local1.broadcastMessage = _local2.broadcastMessage;
_local1._listeners = [];
ASSetPropFlags(_local1, ["addListener", "removeListener", "broadcastMessage", "_listeners"], 7);
};
ASBroadcaster.addListener = function (obj) {
this.removeListener(obj);
this._listeners.push(obj);
return(true);
};
ASBroadcaster.removeListener = function (obj) {
var _local3 = obj;
var _local2 = this._listeners;
var _local1 = this._listeners.length;
while (_local1-- , _local1) {
if (_local2[_local1] == _local3) {
_local2.splice(_local1, 1);
return(true);
}
}
return(false);
};
ASBroadcaster.broadcastMessage = function (theEvent) {
var _local3 = theEvent;
var _local2 = this._listeners;
var _local1 = this._listeners.length;
while (_local1-- , _local1) {
_local2[_local1][_local3]();
}
};
ASSetPropFlags(ASBroadcaster, null, 7);
ASSetPropFlags(_global, "ASBroadcaster", 131);
}
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
ASSetPropFlags(Button.prototype, "tabEnabled", 7);
ASSetPropFlags(MovieClip.prototype, "tabEnabled", 7);
delete o;
}
hello = "Hello Source Viewers! ;) Code Created by 3WGRAPHICS.com";
delete hello;
_global.C_GameCLASS = function () {
var _local1 = this;
_local1.curBet = 5;
_local1.userBalance = 999;
_local1.bet = 0;
_local1.maxBetOnTable = 500;
_local1.minbet = 1;
_local1.maxbet = 500;
_local1.places = {};
_local1.places.bet_0 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_00 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_1 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_2 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_3 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_4 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_5 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_6 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_7 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_8 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_9 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_10 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_11 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_12 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_13 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_14 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_15 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_16 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_17 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_18 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_19 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_20 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_21 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_22 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_23 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_24 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_25 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_26 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_27 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_28 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_29 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_30 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_31 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_32 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_33 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_34 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_35 = {bet:0, prize_index:35, maximum:100};
_local1.places.bet_36 = {bet:0, prize_index:35, maximum:100};
_local1.places["bet_0-00"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_33-36"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_32-35"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_31-34"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_30-33"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_29-32"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_28-31"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_27-30"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_26-29"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_25-28"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_24-27"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_23-26"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_22-25"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_21-24"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_20-23"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_19-22"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_18-21"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_17-20"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_16-19"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_15-18"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_14-17"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_13-16"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_12-15"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_11-14"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_10-13"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_9-12"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_8-11"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_7-10"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_6-9"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_5-8"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_4-7"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_3-6"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_2-5"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_1-4"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_35-36"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_34-35"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_32-33"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_31-32"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_29-30"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_28-29"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_26-27"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_25-26"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_23-24"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_22-23"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_20-21"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_19-20"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_17-18"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_16-17"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_14-15"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_13-14"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_11-12"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_10-11"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_8-9"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_7-8"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_5-6"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_4-5"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_2-3"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_1-2"] = {bet:0, prize_index:17, maximum:100};
_local1.places["bet_34-36"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_31-33"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_28-30"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_25-27"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_22-24"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_19-21"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_16-18"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_13-15"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_10-12"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_7-9"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_4-6"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_1-3"] = {bet:0, prize_index:11, maximum:100};
_local1.places["bet_32-36"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_31-35"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_29-33"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_28-32"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_26-30"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_25-29"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_23-27"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_22-26"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_20-24"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_19-23"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_17-21"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_16-20"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_14-18"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_13-17"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_11-15"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_10-14"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_8-12"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_7-11"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_5-9"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_4-8"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_2-6"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_1-5"] = {bet:0, prize_index:8, maximum:100};
_local1.places["bet_31-36"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_28-33"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_25-30"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_22-27"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_19-24"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_16-21"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_13-18"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_10-15"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_7-12"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_4-9"] = {bet:0, prize_index:5, maximum:100};
_local1.places["bet_1-6"] = {bet:0, prize_index:5, maximum:100};
_local1.places.bet_FIVE = {bet:0, prize_index:6, maximum:100};
_local1.places["bet_3rd 12"] = {bet:0, prize_index:2, maximum:100};
_local1.places["bet_2nd 12"] = {bet:0, prize_index:2, maximum:100};
_local1.places["bet_1st 12"] = {bet:0, prize_index:2, maximum:100};
_local1.places["bet_2 to 1(3)"] = {bet:0, prize_index:2, maximum:100};
_local1.places["bet_2 to 1(2)"] = {bet:0, prize_index:2, maximum:100};
_local1.places["bet_2 to 1(1)"] = {bet:0, prize_index:2, maximum:100};
_local1.places.bet_BLACK = {bet:0, prize_index:1, maximum:500};
_local1.places.bet_RED = {bet:0, prize_index:1, maximum:500};
_local1.places.bet_ODD = {bet:0, prize_index:1, maximum:500};
_local1.places.bet_EVEN = {bet:0, prize_index:1, maximum:500};
_local1.places["bet_19 to 36"] = {bet:0, prize_index:1, maximum:500};
_local1.places["bet_1 to 18"] = {bet:0, prize_index:1, maximum:500};
_local1.places.bet_drag = {bet:0, maximum:100000000000};
_local1.repeat_places = {};
_local1.started = false;
_local1.voiceON = true;
_local1.repeatArray = new Array();
_local1.init();
};
var o = ((C_GameCLASS.prototype.display_names = {}));
o["bet_0-00"] = "0 and 00";
o["bet_33-36"] = "33 and 36";
o["bet_32-35"] = "32 and 35";
o["bet_31-34"] = "31 and 34";
o["bet_30-33"] = "30 and 33";
o["bet_29-32"] = "29 and 32";
o["bet_28-31"] = "28 and 31";
o["bet_27-30"] = "27 and 30";
o["bet_26-29"] = "26 and 29";
o["bet_25-28"] = "25 and 28";
o["bet_24-27"] = "24 and 27";
o["bet_23-26"] = "23 and 26";
o["bet_22-25"] = "22 and 25";
o["bet_21-24"] = "21 and 24";
o["bet_20-23"] = "20 and 23";
o["bet_19-22"] = "19 and 22";
o["bet_18-21"] = "18 and 21";
o["bet_17-20"] = "17 and 20";
o["bet_16-19"] = "16 and 19";
o["bet_15-18"] = "15 and 18";
o["bet_14-17"] = "14 and 17";
o["bet_13-16"] = "13 and 16";
o["bet_12-15"] = "12 and 15";
o["bet_11-14"] = "11 and 14";
o["bet_10-13"] = "10 and 13";
o["bet_9-12"] = "9 and 12";
o["bet_8-11"] = "8 and 11";
o["bet_7-10"] = "7 and 10";
o["bet_6-9"] = "6 and 9";
o["bet_5-8"] = "5 and 8";
o["bet_4-7"] = "4 and 7";
o["bet_3-6"] = "3 and 6";
o["bet_2-5"] = "2 and 5";
o["bet_1-4"] = "1 and 4";
o["bet_35-36"] = "35 and 36";
o["bet_34-35"] = "34 and 35";
o["bet_32-33"] = "32 and 33";
o["bet_31-32"] = "31 and 32";
o["bet_29-30"] = "29 and 30";
o["bet_28-29"] = "28 and 29";
o["bet_26-27"] = "26 and 27";
o["bet_25-26"] = "25 and 26";
o["bet_23-24"] = "23 and 24";
o["bet_22-23"] = "22 and 23";
o["bet_20-21"] = "20 and 21";
o["bet_19-20"] = "19 and 20";
o["bet_17-18"] = "17 and 18";
o["bet_16-17"] = "16 and 17";
o["bet_14-15"] = "14 and 15";
o["bet_13-14"] = "13 and 14";
o["bet_11-12"] = "11 and 12";
o["bet_10-11"] = "10 and 11";
o["bet_8-9"] = "8 and 9";
o["bet_7-8"] = "7 and 8";
o["bet_5-6"] = "5 and 6";
o["bet_4-5"] = "4 and 5";
o["bet_2-3"] = "2 and 3";
o["bet_1-2"] = "1 and 2";
o["bet_32-36"] = "32, 33, 36, 35";
o["bet_31-35"] = "31, 32, 35, 34";
o["bet_29-33"] = "29, 30, 33, 32";
o["bet_28-32"] = "28, 29, 32, 31";
o["bet_26-30"] = "26, 27, 30, 29";
o["bet_25-29"] = "25, 26, 29, 28";
o["bet_23-27"] = "23, 24, 27, 26";
o["bet_22-26"] = "22, 23, 26, 25";
o["bet_20-24"] = "20, 21, 24, 23";
o["bet_19-23"] = "19, 20, 23, 22";
o["bet_17-21"] = "17, 18, 21, 20";
o["bet_16-20"] = "16, 17, 20, 19";
o["bet_14-18"] = "14, 15, 18, 17";
o["bet_13-17"] = "13, 14, 17, 16";
o["bet_11-15"] = "11, 12, 15, 14";
o["bet_10-14"] = "10, 11, 14, 13";
o["bet_8-12"] = "8, 9, 12, 11";
o["bet_7-11"] = "7, 8, 11, 10";
o["bet_5-9"] = "5, 6, 9, 8";
o["bet_4-8"] = "4, 5, 8, 7";
o["bet_2-6"] = "2, 3, 6, 5";
o["bet_1-5"] = "1, 2, 5, 4";
o["bet_31-36"] = "31-33 and 34-36";
o["bet_28-33"] = "28-30 and 31-33";
o["bet_25-30"] = "25-27 and 28-30";
o["bet_22-27"] = "22-24 and 25-27";
o["bet_19-24"] = "19-21 and 22-24";
o["bet_16-21"] = "16-18 and 19-21";
o["bet_13-18"] = "13-15 and 16-18";
o["bet_10-15"] = "10-12 and 13-15";
o["bet_7-12"] = "7-9 and 10-12";
o["bet_4-9"] = "4-6 and 7-9";
o["bet_1-6"] = "1-3 and 4-6";
o["bet_2 to 1(1)"] = "1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34";
o["bet_2 to 1(2)"] = "2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35";
o["bet_2 to 1(3)"] = "3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36";
delete o;
var o = ((C_GameCLASS.prototype.weel = {}));
o["0"] = 11;
o["1"] = 29;
o["2"] = 10;
o["3"] = 25;
o["4"] = 6;
o["5"] = 21;
o["6"] = 2;
o["7"] = 17;
o["8"] = 36;
o["9"] = 13;
o["10"] = 32;
o["11"] = 16;
o["12"] = 35;
o["13"] = 28;
o["14"] = 9;
o["15"] = 24;
o["16"] = 5;
o["17"] = 20;
o["18"] = 1;
o["19"] = 37;
o["20"] = 18;
o["21"] = 3;
o["22"] = 22;
o["23"] = 7;
o["24"] = 26;
o["25"] = 33;
o["26"] = 14;
o["27"] = 31;
o["28"] = 12;
o["29"] = 34;
o["30"] = 15;
o["31"] = 38;
o["32"] = 19;
o["33"] = 4;
o["34"] = 23;
o["35"] = 8;
o["36"] = 27;
o["00"] = 30;
delete o;
C_GameCLASS.prototype.init = function () {
var _local1 = this;
var _local2 = _root;
_local2.min_max_Menu_mc.min = _local1.minbet.dZero();
_local2.min_max_Menu_mc.max = _local1.maxbet.dZero();
var o = {};
o.onKeyDown = function () {
var _local2 = this;
if (Key.getCode() == 32) {
if (C_Game.curBet > 0) {
C_Game.curBet = -1 * Math.abs(C_Game.curBet);
}
} else if (Key.getCode() == 9) {
var _local1 = (Stage._xscale / 100) || 1;
if (!_local2.tab) {
_root.scale(250 * _local1, 250 * _local1);
_root.movieBy(-200 * _local1, -100 * _local1);
_local2.tab = true;
_local2.time = getTimer();
}
} else if (Key.getCode() == 13) {
C_Game.spin();
} else if (Key.getCode() == 82) {
C_Game.repeat();
}
};
o.onKeyUp = function () {
var _local1 = this;
if (Key.getCode() == 32) {
if (C_Game.curBet < 0) {
C_Game.curBet = Math.abs(C_Game.curBet);
}
} else if (Key.getCode() == 9) {
if (_local1.tab) {
Stage.broadcastMessage("onResize");
_local1.tab = false;
if (!_local1.tabPressed) {
_local1.tabPressed = (getTimer() - _local1.time) > 1200;
}
}
}
};
Key.addListener(o);
_local2.tabInfo_btn.addAlt(function () {
var _local1 = this;
if (o.tab) {
} else if (o.tabPressed) {
_local1._visible = 0;
} else {
_local1.n++;
_local1.showAlt("Press and hold \rthe TAB key \rto zoom the wheel");
}
}, function () {
var _local1 = this;
_local1.hideAlt();
if (_local1.n > 10) {
_local1._visible = 0;
}
});
MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
_local2.chipsMenu_mc.setChangeHandler({client:_local1, handler:"setCurBet"});
_local2.chipsMenu_mc.setChip(_local1.curBet);
Stage.onCenterScale(650, 455);
_local1.crBalance();
};
C_GameCLASS.prototype.setCurBet = function (bet) {
this.curBet = bet;
};
C_GameCLASS.prototype.crBalance = function () {
_root.balanceMashine_mc.balance = this.userBalance;
};
C_GameCLASS.prototype.spin = function (complette, num) {
var _local1 = this;
var _local2 = _root;
if (_local1.locked && (!complette)) {
} else if (_local1.notEmptyBet && (_local1.summ_bets() <= 0)) {
Mouse.showAlt("Place your bet please!");
} else {
_local1.lock();
_local1.display(true);
_local2.ball.hide();
_local2.weel.play();
_local2.ruchka.play();
if (_level5) {
if (!complette) {
C_Server.round();
return;
}
_local1.result = num;
} else {
_local1.creat_result();
}
_local1.win = false;
_local1.wins_summ = 0;
Conv.include(_local1, "anim_weel", 0);
Conv.put(empty, "3");
_local1.check_prizes();
if (_level5) {
Conv.put(function () {
C_Game.userBalance = C_Game.userBalance_from_server;
C_Game.crBalance();
}, 0);
}
_local1.bet = 0;
Conv.put(_local1, "unlock", 0);
}
};
C_GameCLASS.prototype.creat_result = function () {
var _local1 = this;
_local1.result = Math.floor(Math.random() * 38);
if (_local1.result == 37) {
_local1.result = "00";
}
};
C_GameCLASS.prototype.lock = function () {
var _local1 = _root;
this.locked = true;
_local1.buttonsDisplay = "";
_local1.buttons.hide();
_local1.spin_button.gotoAndStop(2);
_local1.clear_button.gotoAndStop(2);
_local1.repeat_button.gotoAndStop(2);
Button.prototype.enabled = false;
};
C_GameCLASS.prototype.unlock = function () {
var _local1 = _root;
this.locked = false;
_local1.buttons.show();
_local1.spin_button.gotoAndStop(1);
_local1.clear_button.gotoAndStop(1);
_local1.repeat_button.gotoAndStop(1);
Button.prototype.enabled = true;
};
C_GameCLASS.prototype.anim_weel = function () {
var finish = 17;
var total = 129;
var first = 15;
var _local3 = Math.floor(Math.random() * 3) + 2;
var random_offset = (Math.floor(Math.random() * 7) - 3);
if (random_offset == 3) {
random_offset = -21;
}
var ball_offset = ((total - finish) + (random_offset * 2));
var end_pos = (((this.weel[this.result] + random_offset) + 38) % 38);
var start_pos = _root.weel._currentframe;
var anim_frames;
if (end_pos > start_pos) {
anim_frames = end_pos - start_pos;
} else {
anim_frames = (38 - start_pos) + end_pos;
}
var weel_offset = ((ball_offset + (first * _local3)) % 38);
if (weel_offset < anim_frames) {
weel_offset = anim_frames - weel_offset;
} else {
weel_offset = 38 - (weel_offset - anim_frames);
}
Conv.put(_root.weel, "play", 0);
Conv.put(_root.ruchka, "play", String(weel_offset));
Conv.put(_root.ball, "show", 0);
var _local2 = _root.ball.ball;
Conv.put(_local2, "newSound", 0, "roll", 100, 1000);
var _local1 = 1;
while (_local1 <= _local3) {
Conv.put(_local2, "gotoAndPlay", String(first), 1);
_local1++;
}
Conv.put(_local2, "stopSound", 0);
Conv.put(_local2, "newSound", 0, "bounc", 70, 1);
Conv.put(_local2, "set", 0, "notAction", true);
Conv.put(_local2, "gotoAndPlay", String(ball_offset), 17);
Conv.put(_local2, "stop", 0);
Conv.put(_root.weel, "stop", 0);
Conv.put(_root.ruchka, "stop", 0);
};
C_GameCLASS.prototype.display = function (changed) {
var _local1 = this;
_local1.result_line = "\r\r";
if (!changed) {
if (_local1.nozerro) {
_local1.result_line = ((((_local1.result + " ") + _local1.color) + " ") + _local1.parity) + "\r";
} else if ((_local1.result + "_Z") == "00_Z") {
_local1.result_line = "DOUBLE ZERO\r";
} else {
_local1.result_line = "ZERO\r";
}
if (_local1.wins_summ > 0) {
_local1.result_line = _local1.result_line + (("Player wins: $" + _local1.wins_summ.dZero()) + "\r");
} else {
_local1.result_line = _local1.result_line + "\r";
}
} else {
_local1.delete_pawn();
_local1.total_line = "Total Bet: $" + _local1.bet.dZero();
}
_root.resultDisplay = _local1.result_line + _local1.total_line;
};
C_GameCLASS.prototype.display_pawn = function () {
_root[("bet_" + this.result) + "_ch"].createTop("giryaSymbol");
this.pawn = true;
};
C_GameCLASS.prototype.delete_pawn = function () {
var _local1 = this;
if (!_local1.pawn) {
} else {
_root[("bet_" + _local1.result) + "_ch"].createTop("");
_local1.pawn = false;
}
};
C_GameCLASS.prototype.display_numbers = function () {
var _local2 = _root.display_numbers;
var _local1 = 16;
while (_local1 >= 1) {
_local2["display_black" + _local1].count = _local2["display_black" + (_local1 - 1)].count;
_local2["display_green" + _local1].count = _local2["display_green" + (_local1 - 1)].count;
_local2["display_red" + _local1].count = _local2["display_red" + (_local1 - 1)].count;
_local1--;
}
_local2.display_black1.count = "";
_local2.display_green1.count = "";
_local2.display_red1.count = "";
var _local3 = this.color.toLowerCase() + "";
if (_local3 == "") {
_local3 = "green";
}
_local2[("display_" + _local3) + "1"].count = this.result;
this.display_pawn();
};
C_GameCLASS.prototype.clear = function () {
var _local1 = this;
_local1.lock();
var _local2 = false;
for (var _local3 in _local1.places) {
if (_local1.places[_local3].bet > 0) {
Conv.include(_local1, "toPlayer", 0, _local3);
_local2 = true;
}
}
Conv.put(_local1, "summ_bets", 0);
Conv.put(_local1, "display", 0, true);
if (_local2) {
Conv.put(empty, "10");
Conv.put(_local1, "chipsToBalance", "4");
}
Conv.put(_local1, "unlock", 0);
};
C_GameCLASS.prototype.repeat = function () {
var _local2 = this;
if (_local2.locked) {
} else {
var _local1;
var _local3;
var place;
_local2.lock();
for (var v in _local2.repeat_places) {
_local1 = _local2.repeat_places[v];
_local3 = _local2.places[v].bet;
place = _local2.places[v];
ch_place = _root[v + "_ch"];
Conv.put(function (o, bet, prev_bet, place, ch_place) {
var _local1 = o;
var _local2 = bet;
var _local3 = prev_bet;
if ((_local1.bet + (_local2 - _local3)) > _local1.maxBetOnTable) {
} else if (_local1.userBalance < (_local2 - _local3)) {
} else {
ch_place.setBet(_local2, 0);
place.bet = _local2;
_local1.userBalance = _local1.userBalance - (_local2 - _local3);
_local1.summ_bets();
_local1.display(true);
}
}, "5", _local2, _local1, _local3, place, ch_place);
}
Conv.put(_local2, "crBalance", 0);
Conv.put(_local2, "unlock", 0);
}
};
C_GameCLASS.prototype.sounds = function () {
if (!this.voiceON) {
return(undefined);
}
};
C_GameCLASS.prototype.check_prizes = function () {
var _local2 = this;
_local2.result;
var _local1 = [];
_local2.nozerro = (_local2.result != 0) && (_local2.result != "00");
_local2.color = null;
_local2.parity = null;
_local1.push(_local2.result);
if (_local2.nozerro) {
if ([1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36].indexOf(_local2.result) != -1) {
_local2.color = "RED";
} else {
_local2.color = "BLACK";
}
_local1.push(_local2.color);
if (_local2.result <= 12) {
_local1.push("1st 12");
} else if ((_local2.result >= 13) && (_local2.result <= 24)) {
_local1.push("2nd 12");
} else {
_local1.push("3rd 12");
}
var row = (_local2.result % 3);
if (row == 0) {
row = 3;
}
_local1.push(("2 to 1(" + row) + ")");
if (_local2.result <= 18) {
_local1.push("1 to 18");
} else {
_local1.push("19 to 36");
}
if ((_local2.result % 2) == 0) {
_local2.parity = "EVEN";
_local1.push("EVEN");
} else {
_local2.parity = "ODD";
_local1.push("ODD");
}
if ([1, 2, 3].indexOf(_local2.result) != -1) {
_local1.push("FIVE");
}
_local1.push((("" + (_local2.result - 3)) + "-") + _local2.result);
_local1.push((("" + _local2.result) + "-") + (_local2.result + 3));
_local1.push((("" + (_local2.result - 1)) + "-") + _local2.result);
_local1.push((("" + _local2.result) + "-") + (_local2.result + 1));
_local1.push((("" + (_local2.result - 4)) + "-") + _local2.result);
_local1.push((("" + _local2.result) + "-") + (_local2.result + 4));
_local1.push((("" + (_local2.result - 3)) + "-") + (_local2.result + 1));
_local1.push((("" + (_local2.result - 1)) + "-") + (_local2.result + 3));
var left_n = (_local2.result - (row - 1));
var right_n = (left_n + 2);
_local1.push((("" + left_n) + "-") + right_n);
_local1.push((("" + (left_n - 3)) + "-") + right_n);
_local1.push((("" + left_n) + "-") + (right_n + 3));
} else {
_local1.push("0-00");
_local1.push("FIVE");
}
var ob_no_loose = {};
var _local3 = 0;
while (_local3 < _local1.length) {
_local1[_local3] = "bet_" + _local1[_local3];
ob_no_loose[_local1[_local3]] = true;
_local3++;
}
Conv.put(_local2, "display_numbers", 0);
Conv.put(_root, "newSound", 1100, "n_" + _local2.result);
if (_local2.nozerro) {
Conv.put(_root, "newSound", 500, _local2.color);
Conv.put(_root, "newSound", 1100, _local2.parity);
}
_local2.loose_places(ob_no_loose);
_local2.wins_places(_local1);
Conv.put(_local2, "display", 0);
};
C_GameCLASS.prototype.loose_places = function (ob_no_loose) {
var _local1 = this;
var _local3 = ob_no_loose;
_local1.repeat_places = {};
for (var _local2 in _local1.places) {
if (_local1.places[_local2].bet > 0) {
_local1.repeat_places[_local2] = _local1.places[_local2].bet;
if (!_local3[_local2]) {
_local1.loose(_local2);
}
}
}
};
C_GameCLASS.prototype.wins_places = function (arr_wins) {
var _local1 = this;
var _local3;
var _local2 = 0;
while (_local2 < arr_wins.length) {
_local3 = _local1.places[arr_wins[_local2]];
if (_local3.bet > 0) {
if (!_local1.win) {
Conv.put(_local1, "display", 0);
Conv.put(_root, "newSound", 1000, "WINS");
_local1.win = true;
}
Conv.include(_local1, "prize", 0, arr_wins[_local2]);
_local1.wins_summ = _local1.wins_summ + (Math.floor((_local3.bet * _local3.prize_index) * 4) / 4);
}
_local2++;
}
if (_local1.win) {
Conv.put(empty, 1000);
Conv.put(_local1, "chipsToBalance", "4");
}
};
C_GameCLASS.prototype.prize = function (bet_place) {
var _local3 = bet_place;
var _local1 = this.places[_local3];
var _local2 = _root[_local3 + "_ch"];
if ((_local1.bet == 0) && (_local1.bet == null)) {
} else {
_local1.bet = _local1.bet + (Math.floor((_local1.bet * _local1.prize_index) * 4) / 4);
Conv.put(_local2, "setBet", "4", _local1.bet, 0);
this.toPlayer(_local3);
}
};
C_GameCLASS.prototype.loose = function (bet_place) {
var _local2 = this.places[bet_place];
var _local1 = _root[bet_place + "_ch"];
Conv.anim(_local1.getPlace(), _root.dPL, {speed:70, to_end:1});
Conv.put(_local1, "setBet", 0, 0, 1);
_local2.bet = 0;
};
C_GameCLASS.prototype.toPlayer = function (bet_place) {
var _local3 = this;
var _local1 = _local3.places[bet_place];
var _local2 = _root[bet_place + "_ch"];
Conv.anim(_local2.getPlace(), _root.chPL, {speed:25});
Conv.put(_local2, "setBet", 0, 0, 0, 1);
_local3.toPlayer_bets = _local3.toPlayer_bets + _local1.bet;
Conv.put(function (bet) {
_root.chPL.setBet(bet, 1);
}, "4", _local3.toPlayer_bets);
Conv.put(function (bet) {
C_Game.userBalance = C_Game.userBalance + bet;
}, "2", _local1.bet);
_local1.bet = 0;
};
C_GameCLASS.prototype.chipsToBalance = function () {
_root.chPL.setBet(0, 0, 1);
this.toPlayer_bets = 0;
this.crBalance();
};
C_GameCLASS.prototype.addChips = function (bet_place) {
var _local1 = this;
var _local3 = _root;
if (!_local1.testBalance()) {
} else {
var _local2 = _local1.places[bet_place];
if (((_local2.bet + _local1.curBet) > _local2.maximum) && (_local2.maximum > 0)) {
_local1.showAltWarning("This place has limit in $" + _local2.maximum);
_local3.buttonsDisplay = "This place has limit in $" + _local2.maximum;
} else if ((_local1.summ_bets() + _local1.curBet) > Number(_local1.maxBetOnTable)) {
_local1.showAltWarning("The table maximum is $" + _local1.maxBetOnTable);
_local3.buttonsDisplay = "The table maximum is $" + _local1.maxBetOnTable;
} else {
var bet_bk = _local2.bet;
_local2.bet = _local2.bet + _local1.curBet;
if ((_local2.min != null) && (_local2.bet < _local2.min)) {
if (_local1.curBet < 0) {
_local2.bet = 0;
} else {
if (_local2.min > _local1.userBalance) {
_local3.buttonsDisplay = "This place's minimum bet is $" + _local2.min;
return;
}
if (((_local1.MinAnswer_global == null) && (!_local2.notMinMessage)) && (!_local2.answerComplette)) {
_local2.bet = bet_bk;
_local1.lock();
Button.prototype.enabled = true;
_local3.alertMenu.pl = _local2;
_local3.alertMenu.pl_name = bet_place;
_local3.alertMenu.gotoAndStop(2);
_local3.alertMenu.message = ((("The minimum bet here is $" + _local2.min) + "\r") + "Do you want us to place\r") + "the minimum bet here?";
_local3.alertMenu.canselAction = function (FM) {
var _local1 = _root.alertMenu.pl;
_local1.answerComplette = true;
_local1.minAnswer = "NO";
_local1.notMinMessage = FM;
C_Game.unlock();
C_Game.addChips(_root.alertMenu.pl_name);
};
_local3.alertMenu.okAction = function (FM) {
var _local1 = _root.alertMenu.pl;
_local1.answerComplette = true;
_local1.minAnswer = "YES";
_local1.notMinMessage = FM;
C_Game.unlock();
C_Game.addChips(_root.alertMenu.pl_name);
};
} else {
if (_local1.MinAnswer_global != null) {
_local2.minAnswer == _local1.MinAnswer_global;
}
if (_local2.minAnswer == "YES") {
_local2.bet = _local2.min;
} else {
_local2.bet = bet_bk;
}
_local2.answerComplette = false;
_local3.buttonsDisplay = "This place's minimum bet is $" + _local2.min;
if (_local2.bet < 0) {
_local2.bet = 0;
}
_local1.userBalance = _local1.userBalance - (_local2.bet - bet_bk);
if (_local1.userBalance < 0) {
_local2.bet = _local2.bet + _local1.userBalance;
_local1.userBalance = 0;
}
_local1.bet = _local1.bet + (_local2.bet - bet_bk);
_local3[bet_place + "_ch"].setBet(_local2.bet, 0);
_local1.crBalance();
_local1.display(true);
}
}
}
if (_local2.bet < 0) {
_local2.bet = 0;
}
_local1.userBalance = _local1.userBalance - (_local2.bet - bet_bk);
if (_local1.userBalance < 0) {
_local2.bet = _local2.bet + _local1.userBalance;
_local1.userBalance = 0;
}
_local1.bet = _local1.bet + (_local2.bet - bet_bk);
_local3[bet_place + "_ch"].setBet(_local2.bet, 0);
_local1.crBalance();
_local1.display(true);
}
}
};
C_GameCLASS.prototype.showAltWarning = function (text) {
Mouse.showAlt(text);
};
C_GameCLASS.prototype.summ_bets = function () {
var _local1 = this;
var _local2 = 0;
for (var _local3 in _local1.places) {
_local2 = _local2 + _local1.places[_local3].bet;
}
_local1.bet = _local2;
return(_local2);
};
C_GameCLASS.prototype.testBalance = function () {
return(this.userBalance >= this.curBet);
};
_root.buttons.o = function (name_mc) {
var _local1 = name_mc;
var _local3 = _root;
if (C_Game.droped > 0) {
C_Game.addChips(_local1);
C_Game.droped = 0;
} else {
C_Game.droped = 0;
var left_text = "place your bet on ";
var _local2 = C_Game.display_names[_local1];
if (_local2 != null) {
_local3.buttonsDisplay = ((left_text + "\"") + _local2) + "\"";
_local3.buttonsDisplay = _local3.buttonsDisplay + ((" (pays - " + C_Game.places[_local1].prize_index) + " to 1)");
} else {
_local3.buttonsDisplay = ((left_text + "\"") + _local1.substr(4)) + "\"";
_local3.buttonsDisplay = _local3.buttonsDisplay + ((" (pays - " + C_Game.places[_local1].prize_index) + " to 1)");
}
}
};
_root.buttons.r = function (name_mc) {
C_Game.addChips(name_mc);
};
_root.buttons.u = function () {
_root.buttonsDisplay = "";
};
_global.C_Game = new C_GameCLASS();
ASSetPropFlags(_global, "C_Game,C_GameCLASS", 131);
if (SharedObject.getLocal("game_config").data.serverOn) {
_root._visible = 0;
}
_focusrect = false;
Instance of Symbol 823 MovieClip "weel" in Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 827 MovieClip "ball" in Frame 1
onClipEvent (load) {
this.ball.stop();
this.hide();
}
Instance of Symbol 843 MovieClip "ruchka" in Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "chDl_0" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1-3_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1-6_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_00_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_4-6_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_3_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_4-9_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_7-9_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_3-6_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_6_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_7-12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_0-00_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2-3_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_FIVE_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2-6_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_10-12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_6-9_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_9_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_5-6_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_5-9_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_10-15_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_9-12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_13-15_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2-5_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_8-9_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_5_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_13-18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_12-15_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_0_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_15_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_8-12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_16-18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1-2_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_5-8_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_8_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1-5_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_16-21_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_11-12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_15-18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_11-15_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19-21_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_4-5_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_8-11_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_11_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_4-8_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19-24_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_14-15_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_14-18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_18-21_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_21_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_22-24_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1-4_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_7-8_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_11-14_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_17-18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_4_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_14_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_7-11_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_17-21_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_22-27_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_21-24_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_24_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_4-7_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_10-11_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_14-17_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_20-21_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_7_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_17_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_10-14_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_20-24_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_25-27_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_24-27_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_25-30_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_27_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_28-30_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_7-10_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_13-14_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_17-20_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_23-24_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_10_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_20_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_13-17_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_23-27_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_28-33_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_27-30_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_30_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_31-33_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_10-13_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_16-17_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_20-23_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_26-27_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_13_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_23_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_16-20_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_26-30_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_31-36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_30-33_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_33_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_34-36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_13-16_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19-20_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_23-26_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_29-30_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_16_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_26_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19-23_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_33-36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_29-33_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_16-19_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_22-23_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_26-29_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_22-26_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_32-33_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_29_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19-22_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_25-26_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_32-36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_22_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_25-29_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_29-32_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_35-36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_22-25_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2 to 1(3)_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_32_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_28-29_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_25_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_28-32_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_32-35_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_35_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_25-28_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_31-32_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_28_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_31-35_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_28-31_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2 to 1(2)_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_31_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_34-35_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_31-34_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_34_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2 to 1(1)_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_3rd 12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_ODD_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_19 to 36_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1st 12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_1 to 18_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_EVEN_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_2nd 12_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_RED_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "bet_BLACK_ch" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 157 MovieClip [C_ChipsCLASS] "chPL" in Frame 1
//component parameters
onClipEvent (initialize) {
bet = 0;
noSound = false;
}
Instance of Symbol 1295 MovieClip "min_max_Menu_mc" in Frame 1
//component parameters
onClipEvent (initialize) {
min = "1.00";
max = "500.00";
}
Instance of Symbol 155 MovieClip [C_BalanceMashine] "balanceMashine_mc" in Frame 1
//component parameters
onClipEvent (initialize) {
_balance = 0;
}
Instance of Symbol 136 MovieClip [C_ChipsMenuCLASS] "chipsMenu_mc" in Frame 1
//component parameters
onClipEvent (initialize) {
curBet = 5;
}
Instance of Symbol 1313 MovieClip "spin_button" in Frame 1
/* no clip actions */
Instance of Symbol 1317 MovieClip "clear_button" in Frame 1
/* no clip actions */
Instance of Symbol 1321 MovieClip "repeat_button" in Frame 1
/* no clip actions */
Instance of Symbol 113 MovieClip [C_GamesOpenMenuCLASS] "cashierMenu_mc" in Frame 1
//component parameters
onClipEvent (initialize) {
configPath = "games_menu.xml";
}
Instance of Symbol 109 MovieClip [C_RulesOpenMenuCLASS] "rulesButton_mc" in Frame 1
//component parameters
onClipEvent (initialize) {
configPath = "rules.xml";
}
Instance of Symbol 105 MovieClip [C_BackToSiteButtonCLASS] in Frame 1
//component parameters
onClipEvent (initialize) {
configPath = "../back_to_site.xml";
}
Symbol 56 MovieClip Frame 1
this.stop();
Symbol 56 MovieClip Frame 2
this.stop();
Symbol 105 MovieClip [C_BackToSiteButtonCLASS] Frame 1
#initclip 6
_global.C_BackToSiteButtonCLASS = function () {
this.init();
};
C_BackToSiteButtonCLASS.prototype = new MovieClip();
C_BackToSiteButtonCLASS.prototype.init = function () {
var _local1 = this;
_local1.back_btn.root = _local1;
_local1.back_btn.onRelease = function () {
o = this.root;
getURL (o.url, o.target);
};
_local1.loadRules();
};
C_BackToSiteButtonCLASS.prototype.loadRules = function () {
var _local2 = this;
var _local1 = new XML();
_local1.root = _local2;
_local1.ignoreWhite = true;
_local1.onLoad = function (s) {
var _local2 = this;
if (!s) {
trace("\u043C\u0435\u043D\u044E \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u043E\u0441\u044C!");
}
var _local1 = _local2.firstChild.attributes;
_local2.root.url = _local1.url;
_local2.root.target = _local1.target;
};
_local1.load(_local2.configPath);
};
Object.registerClass("C_BackToSiteButtonCLASS", C_BackToSiteButtonCLASS);
delete _global.C_BackToSiteButtonCLASS;
#endinitclip
Symbol 109 MovieClip [C_RulesOpenMenuCLASS] Frame 1
#initclip 1
_global.C_RulesOpenMenuCLASS = function () {
this.init();
};
C_RulesOpenMenuCLASS.prototype = new MovieClip();
C_RulesOpenMenuCLASS.prototype.init = function () {
var _local1 = this;
_local1.rules_btn.root = _local1;
_local1.rules_btn.onRelease = function () {
o = this.root;
getURL (o.url, o.target);
};
_local1.loadRules();
};
C_RulesOpenMenuCLASS.prototype.loadRules = function () {
var _local2 = this;
var _local1 = new XML();
_local1.root = _local2;
_local1.ignoreWhite = true;
_local1.onLoad = function (s) {
var _local2 = this;
if (!s) {
trace("rules \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0438\u0441\u044C!");
}
var _local1 = _local2.firstChild.attributes;
_local2.root.url = _local1.url;
_local2.root.target = _local1.target;
};
_local1.load(_local2.configPath);
};
Object.registerClass("C_RulesOpenMenuCLASS", C_RulesOpenMenuCLASS);
delete _global.C_RulesOpenMenuCLASS;
#endinitclip
Symbol 113 MovieClip [C_GamesOpenMenuCLASS] Frame 1
#initclip 2
_global.C_GamesOpenMenuCLASS = function () {
this.init();
};
C_GamesOpenMenuCLASS.prototype = new MovieClip();
C_GamesOpenMenuCLASS.prototype.init = function () {
var _local1 = this;
_local1.swapDepths(_local1.depthValue || 12120);
var _local2 = _local1.attachMovie("GameMenu:holder", "holder_mc", 1);
_local2._x = -39;
_local2._y = 10;
_local2._visible = false;
var _local3 = _local1.holder_mc.text_mc;
var tf2 = _local1.holder_mc.title_mc;
_local2 = (_local1.textFormats = {});
_local2.game = _local3.text_txt.getTextFormat();
_local2.game_over = _local3.text_txt.getTextFormat();
_local2.game_over.underline = true;
_local2.title = tf2.text_txt.getTextFormat();
_local3.removeMovieClip();
tf2.removeMovieClip();
_local1.loadMenu();
_local1.openGames_btn.root = _local1;
_local1.openGames_btn.onRelease = function () {
this.root.open();
};
};
C_GamesOpenMenuCLASS.prototype.loadMenu = function () {
var _local2 = this;
var _local1 = new XML();
_local1.root = _local2;
_local1.ignoreWhite = true;
_local1.onLoad = function (s) {
if (!s) {
trace("\u043C\u0435\u043D\u044E \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u043E\u0441\u044C!");
return(undefined);
}
this.root.createMenu(this);
};
_local1.load(_local2.configPath);
};
C_GamesOpenMenuCLASS.prototype.createMenu = function (x) {
var _local2 = this;
_local2.inited = true;
var a = x.firstChild.childNodes;
var menu_items = [];
var _local3;
var _local1;
var h = _local2.holder_mc;
var height;
h.space_mc._visible = false;
h.title_mc._visible = false;
h.text_mc._visible = false;
var i = 0;
while (i < a.length) {
_local3 = a[i].attributes;
if (_local3.type == "spacer") {
_local1 = h.attachMovie("GameMenu:spacer", "spacer_" + i, i);
} else if (_local3.type == "title") {
_local1 = h.attachMovie("GameMenu:titleText", "title_" + i, i);
_local1.text_txt.text = _local3.text;
} else {
_local1 = h.attachMovie("GameMenu:gameText", "text_" + i, i);
_local1.text_txt.text = _local3.text;
if ((_local3.url != "") && (_local3.url != undefined)) {
_local1.url = _local3.url;
_local1.target = _local3.target;
_local1.onRelease = function () {
var _local1 = this;
getURL (_local1.url, _local1.target);
_local1.clear();
_local1._parent._parent.close();
};
_local1.onRollOver = function () {
var _local1 = new TextFormat();
_local1.underline = true;
this.text_txt.setTextFormat(_local1);
this.box_mc.gotoAndStop(2);
};
_local1.onRollOut = function () {
this.box_mc.gotoAndStop(1);
this.clear();
};
_local1.clear = function () {
var _local1 = new TextFormat();
_local1.underline = false;
this.text_txt.setTextFormat(_local1);
};
} else {
var tf = new TextFormat();
tf.color = 10066329 /* 0x999999 */;
_local1.text_txt.setTextFormat(tf);
}
}
menu_items.push(_local1);
height = height + _local1._height;
i++;
}
a = menu_items;
height = height - h.space_mc._y;
var nextY = ((a[0]._y = a[0]._y - height));
nextY = nextY + a[0]._height;
var d_y = h.top_mc._y;
h.top_mc._y = (a[0]._y - h.top_mc._height) - 14;
d_y = d_y - h.top_mc._y;
h.middle_mc._y = h.middle_mc._y - d_y;
h.middle_mc._height = h.middle_mc._height + d_y;
var i = 1;
while (i < a.length) {
a[i]._y = nextY;
nextY = nextY + a[i]._height;
i++;
}
h.top_mc.onRelease = (h.middle_mc.onRelease = (h.bottom_mc.onRelease = function () {
}));
h.top_mc.useHandCursor = (h.middle_mc.useHandCursor = (h.bottom_mc.useHandCursor = false));
};
C_GamesOpenMenuCLASS.prototype.open = function () {
var _local2 = this;
if (!_local2.inited) {
} else {
var _local1 = _local2.holder_mc;
_local1._visible = true;
if (_root._xscale != 100) {
var _local3 = 100 / _root._xscale;
_local1._xscale = 100 * _local3;
_local1._yscale = 100 * _local3;
}
_local1 = (_local2.listener = {});
_local1.root = _local2;
_local1.onMouseDown = function () {
if (this.root.hitTest(_root._xmouse, _root._ymouse, false)) {
} else {
this.root.close();
}
};
_local1.onKeyDown = function () {
this.root.close();
};
Mouse.addListener(_local1);
Key.addListener(_local1);
}
};
C_GamesOpenMenuCLASS.prototype.close = function () {
var _local1 = this;
_local1.removeListener(_local1.listener);
_local1.holder_mc._visible = false;
};
Object.registerClass("C_GamesOpenMenuCLASS", C_GamesOpenMenuCLASS);
delete _global.C_GamesOpenMenuCLASS;
#endinitclip
Symbol 136 MovieClip [C_ChipsMenuCLASS] Frame 1
#initclip 3
_global.C_ChipsMenuCLASS = function () {
};
C_ChipsMenuCLASS.prototype = new MovieClip();
C_ChipsMenuCLASS.prototype.onLoad = function () {
var _local1 = this;
_local1.chips = [1, 5, 25, 100];
_local1.buttons = [];
var chips_names = ["$1.00", "$5.00", "$25.00", "$100.00"];
var _local3;
var _local2 = 0;
while (_local2 < _local1.chips.length) {
_local3 = _local1[("ch_" + _local1.chips[_local2]) + "_mc"];
_local3.chip = _local1.chips[_local2];
_local3.addAlt(("Use " + chips_names[_local2]) + " chips for betting");
_local3.onPress = function () {
var _local1 = this;
_local1.hideAlt();
_local1._parent.setChip(_local1.chip);
};
_local3.useHandCursor = false;
_local1.buttons.push(_local3);
_local2++;
}
_local1.setChip(_local1.curBet);
};
C_ChipsMenuCLASS.prototype.setChip = function (chip) {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.buttons.length) {
_local2.buttons[_local1]._xscale = (_local2.buttons[_local1]._yscale = 100);
_local1++;
}
var _local3 = _local2[("ch_" + chip) + "_mc"];
_local3._xscale = (_local3._yscale = 120);
_local2.curBet = chip;
_local2.ch_arow._x = _local3._x;
_local2.client.client[_local2.client.handler](_local2.curBet);
};
C_ChipsMenuCLASS.prototype.setChangeHandler = function (client) {
var _local1 = arguments;
if (_local1.length == 1) {
this.client = client;
} else {
this.client = {client:_local1[1], handler:_local1[0]};
}
};
ASSetPropFlags(_global, "C_ChipsMenuCLASS", 131);
Object.registerClass("C_ChipsMenuCLASS", C_ChipsMenuCLASS);
#endinitclip
Symbol 149 MovieClip Frame 1
this.number_mc.n = this.number_old;
Symbol 149 MovieClip Frame 2
this.number2_mc.n = this.number_new;
Symbol 149 MovieClip Frame 4
this.number2_mc.n = this.number_new;
Symbol 149 MovieClip Frame 5
this.stop();
this._parent.onEvent(this);
Symbol 149 MovieClip Frame 6
this.number2_mc.n = this.number_old;
Symbol 149 MovieClip Frame 8
this.number_mc.n = this.number_new;
Symbol 149 MovieClip Frame 9
this.number_mc.n = this.number_new;
Symbol 149 MovieClip Frame 10
this.stop();
this._parent.onEvent(this);
Symbol 152 MovieClip Frame 1
this.number_mc.n = this.number_old;
Symbol 152 MovieClip Frame 2
this.number2_mc.n = this.number_new;
Symbol 152 MovieClip Frame 6
this.number2_mc.n = this.number_new;
Symbol 152 MovieClip Frame 7
this.stop();
this._parent.onEvent(this);
Symbol 152 MovieClip Frame 8
this.number2_mc.n = this.number_old;
Symbol 152 MovieClip Frame 11
this.number_mc.n = this.number_new;
Symbol 152 MovieClip Frame 12
this.number_mc.n = this.number_new;
Symbol 152 MovieClip Frame 13
this.stop();
this._parent.onEvent(this);
Symbol 155 MovieClip [C_BalanceMashine] Frame 1
#initclip 4
_global.C_BalanceMashine = function () {
this.init();
this.drawBalance();
};
C_BalanceMashine.prototype = new MovieClip();
C_BalanceMashine.prototype.init = function () {
var _local2 = this;
_local2._x = Math.round(_local2._x);
_local2._y = Math.round(_local2._y);
_local2.comma_mc._visible = 0;
var o;
var _local1;
_local2.c_array = [];
_local2.c_array[0] = _local2.C1_mc;
_local2.c_array[1] = _local2.C2_mc;
var _local3 = 0;
while (_local3 < _local2.c_array.length) {
_local1 = _local2.c_array[_local3];
_local1._x = Math.round(_local1._x);
_local1._y = Math.round(_local1._y);
_local1.number_new = 0;
_local3++;
}
_local2.S4_mc.isComma = true;
_local2.d_array = [];
_local2.d_array[0] = _local2.S1_mc;
_local2.d_array[1] = _local2.S2_mc;
_local2.d_array[2] = _local2.S3_mc;
_local2.d_array[3] = _local2.S4_mc;
_local2.d_array[4] = _local2.S5_mc;
_local2.d_array[5] = _local2.S6_mc;
_local3 = 0;
while (_local3 < _local2.d_array.length) {
_local1 = _local2.d_array[_local3];
_local1._x = Math.round(_local1._x);
_local1._y = Math.round(_local1._y);
_local1.number_new = 0;
_local3++;
}
};
C_BalanceMashine.prototype.addProperty("balance", function () {
return(this._balance);
}, function (b) {
this._balance = b;
this.drawBalance();
});
C_BalanceMashine.prototype.drawBalance = function () {
var _local1 = this;
_local1.animTargets = 0;
var _local3 = String(Math.floor(_local1._balance * 100)).substr(-2);
if (_local3.length < 2) {
_local3 = "0" + _local3;
}
var _local2 = 0;
while (_local2 < _local1.c_array.length) {
_local1.drawNumber(_local1.c_array[_local2], _local3.substr((_local2 + 1) * -1, 1));
_local2++;
}
var dollars = (" " + String(Math.floor(_local1._balance)));
_local2 = 0;
while (_local2 < _local1.d_array.length) {
_local1.drawNumber(_local1.d_array[_local2], dollars.substr((_local2 + 1) * -1, 1));
_local2++;
}
};
C_BalanceMashine.prototype.drawNumber = function (targ, n) {
var number_new = ((n == " ") ? 0 : (Number(n)));
var number_old = ((targ.number_new == " ") ? 0 : (targ.number_new));
var _local2 = (targ.eventsArray = []);
if ((targ.number_new == n) || (isNaN(number_new))) {
} else {
if (number_new == number_old) {
if (n == " ") {
_local2.push({event:"BACK", number_old:0, number_new:" "});
} else {
_local2.push({event:"FORWARD", number_old:" ", number_new:0});
}
} else {
var _local3;
var event;
var p = (Math.abs(number_new - number_old) <= 5);
if (number_new > number_old) {
if (p) {
event = "FORWARD";
_local3 = 1;
} else {
event = "BACK";
_local3 = -1;
}
} else if (!p) {
event = "FORWARD";
_local3 = 1;
} else {
event = "BACK";
_local3 = -1;
}
if (targ.number_old == " ") {
_local2.push({event:"FORWARD", number_old:" ", number_new:0});
}
var _local1 = number_old;
while (_local1 != number_new) {
number_old = _local1;
_local1 = _local1 + _local3;
if (_local1 > 9) {
_local1 = 0;
} else if (_local1 < 0) {
_local1 = 9;
}
_local2.push({event:event, number_old:number_old, number_new:_local1});
}
if (n == " ") {
_local2.push({event:"BACK", number_old:0, number_new:" "});
}
}
if (_local2.length) {
this.animTargets++;
Conv.stop();
}
if (targ.stoped) {
this.onEvent(targ);
}
}
};
C_BalanceMashine.prototype.onEvent = function (targ) {
var _local1 = targ;
var _local3 = _local1.eventsArray;
if (_local3.length == 0) {
_local1.stoped = true;
if ((--this.animTargets) <= 0) {
Conv.play();
}
} else {
_local1.stoped = false;
var _local2 = _local3.shift();
_local1.number_old = _local2.number_old;
_local1.number_new = _local2.number_new;
_local1.gotoAndPlay(_local2.event);
if (_local1.isComma) {
this.comma_mc._visible = _local2.number_new != " ";
}
}
};
Object.registerClass("C_BalanceMashine", C_BalanceMashine);
ASSetPropFlags(_global, "C_BalanceMashine", 131);
#endinitclip
Symbol 157 MovieClip [C_ChipsCLASS] Frame 1
#initclip 5
_global.C_ChipsCLASS = function () {
var _local1 = this;
if (_local1.child_flag) {
} else {
_local1.chipDepth = (++_local1.__proto__.chipsCounter) + _local1.__proto__.globalChipDepth;
_local1.stop();
if (_local1.bet > 0) {
_local1.setBet(_local1.bet);
}
}
};
C_ChipsCLASS.prototype = new MovieClip();
C_ChipsCLASS.prototype.chipsCounter = 0;
C_ChipsCLASS.prototype.globalChipDepth = 1500;
C_ChipsCLASS.prototype.multyLine = false;
C_ChipsCLASS.prototype.ChNominals = new Array(1000, 500, 100, 25, 5, 1, 0.5);
C_ChipsCLASS.prototype.Chwh = 40;
C_ChipsCLASS.prototype.scaleParam = 100;
C_ChipsCLASS.prototype.topSymbol = "chip_OFF";
C_ChipsCLASS.prototype.createPlace = function (noEffects) {
var _local1 = this;
if (!_local1.place) {
_local1.place = _local1.duplicateMovieClip(_local1._name + "_New", _local1.chipDepth);
_local1.place.swapDepths(_local1);
_local1.place.child_flag = true;
} else {
_local1.place.gotoAndStop(1);
_local1.place.Targ.removeMovieClip();
_local1.place.topMC.removeMovieClip();
_local1.place.copy(_local1);
}
if (!noEffects) {
_local1.place._br = (_local1.place._brightness = 50);
_local1.place.onEnterFrame = function () {
var _local1 = this;
_local1._br = _local1._br - 10;
_local1._brightness = _local1._br;
if (_local1._br <= 0) {
_local1.place._brightness = 0;
delete _local1.place._br;
delete _local1.onEnterFrame;
}
};
}
_local1.place._xscale = (_local1.place._yscale = _local1.scaleParam);
_local1.place.Targ_MC.duplicateMovieClip("Targ", 10);
_local1.place.Targ_MC.duplicateMovieClip("topMC", 20);
_local1.place.play();
};
C_ChipsCLASS.prototype.createTop = function (libraryId) {
var _local2 = this;
var _local3 = libraryId;
if (_local3 == undefined) {
_local3 = _local2.topSymbol;
}
if (!_local2.place) {
_local2.setBet(_local2.bet);
}
var _local1 = _local2.place.topMC;
_local1.lib.removeMovieClip();
_local1.createEmptyMovieClip("lib", 1000);
_local1.lib.creatSqv("tmp", 123, 1, 0, true);
_local1.lib.align(_local2.lastChip);
_local1.lib.tmp.removeMovieClip();
_local1.lib.attachMovie(_local3, "topSymbol", 1000);
_local1.lib.movieBy(0, -3);
};
C_ChipsCLASS.prototype.clearTop = function () {
this.createTop("");
};
C_ChipsCLASS.prototype.setBet = function (bet, m, noSound) {
var _local2 = this;
if ((noSound == undefined) && (bet == 0)) {
noSound = true;
}
_local2.createPlace(noSound);
if (m != undefined) {
_local2.multyLine = m;
}
_local2.bet = Number(bet);
var CashChips = _local2.bet;
var _local1 = new Array();
var _local3 = 0;
var i = 0;
while (i < _local2.ChNominals.length) {
if (CashChips >= _local2.ChNominals[i]) {
var cRem = CashChips;
CashChips = CashChips % _local2.ChNominals[i];
_local1[_local3] = new Array();
_local1[_local3][0] = (cRem - CashChips) / _local2.ChNominals[i];
_local1[_local3][1] = "chip_" + _local2.ChNominals[i];
if (_local2.ChNominals[i] == 0.5) {
_local1[_local3][1] = "chip_05";
}
_local3++;
}
i++;
}
if (!_local2.multyLine) {
var xPos = 0;
var yPos = 0;
var i = 0;
while (i < _local1.length) {
_local3 = 0;
while (_local3 < _local1[i][0]) {
var newChip = _local2.place.Targ.attachMovie(_local1[i][1], (_local1[i][1] + "_") + (_local3 + 1), d++);
newChip.movieTo(xPos, yPos);
yPos = yPos - 3;
_local3++;
}
xPos = xPos + 1;
i++;
}
} else {
var d = 12;
var dSh = 0;
var c = 0;
var b = 0;
var i = 0;
while (i < _local1.length) {
_local3 = 0;
while (_local3 < _local1[i][0]) {
var newChip = _local2.place.Targ.attachMovie(_local1[i][1], (_local1[i][1] + "_") + (_local3 + 1), d++);
c = Math.floor(_local3 / _local2.Chwh);
newChip.movieTo(((i + b) + c) * 17, -((_local3 - (c * _local2.Chwh)) * 3));
_local3++;
}
_local2.place.Targ.attachMovie("chip_shadow", "chip_shadow" + dSh, dSh++);
_local2.place.Targ["chip_shadow" + (dSh - 1)]._x = newChip._x;
b = b + c;
i++;
}
}
_local2.lastChip = newChip;
_local2.place.Targ.alignH();
if ((!_local2.noSound) && (!noSound)) {
_local2.place.newSound("chip");
}
if ((!_local2.multyLine) && (_local2.bet > 0)) {
_local2.place.Targ.attachMovie("chip_shadow", "chip_shadow", -1).moveBy(5, -5);
}
return(_local2.place);
};
C_ChipsCLASS.prototype.getPlace = function () {
return(this.place);
};
_global.makeChips = function (targMC, CashChips, multyLine) {
if (multyLine != null) {
targMC.multyLine = multyLine;
}
return(targMC.setBet(CashChips));
};
Object.registerClass("C_ChipsCLASS", C_ChipsCLASS);
ASSetPropFlags(_global, "C_ChipsCLASS,makeChips", 131);
#endinitclip
Symbol 850 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 852 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 855 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 858 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 861 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 864 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 867 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 870 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 873 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 876 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 879 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 882 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 885 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 888 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 891 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 894 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 896 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 898 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 901 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 903 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 905 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 908 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 910 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 912 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 914 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 916 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 919 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 922 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 924 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 926 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 928 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 930 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 933 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 935 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 938 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 940 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 942 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 945 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 947 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 949 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 952 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 954 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 956 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 959 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 961 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 963 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 965 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 968 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 971 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 973 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 976 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 979 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 982 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 985 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 988 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 991 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 994 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 997 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1000 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1003 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1006 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1009 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1012 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1015 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1017 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1020 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1022 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1025 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1028 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1031 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1033 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1035 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1038 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1041 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1044 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1047 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1050 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1052 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1055 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1058 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1061 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1064 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1067 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1070 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1073 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1076 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1079 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1082 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1085 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1088 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1091 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1094 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1097 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1100 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1103 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1106 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1109 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1112 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1115 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1118 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1121 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1124 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1127 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1130 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1133 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1136 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1139 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1142 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1145 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1148 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1151 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1154 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1157 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1160 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1163 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1166 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1169 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1172 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1175 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1178 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1181 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1184 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1187 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1190 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1193 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1196 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1199 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1202 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1205 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1208 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1211 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1214 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1216 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1219 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1222 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1225 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1228 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1231 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1234 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1237 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1240 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1243 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1246 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1248 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1250 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1252 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1254 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1256 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1258 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1261 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1263 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1265 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1267 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1270 Button
on (rollOver) {
_parent.o(_name);
}
on (rollOut, dragOut, releaseOutside) {
_parent.u();
}
on (release) {
_parent.r(_name);
}
Symbol 1273 MovieClip Frame 1
_visible = 0;
Instance of Symbol 1273 MovieClip in Symbol 1274 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 1310 Button
on (release) {
C_Game.spin();
}
on (rollOver) {
_root.buttonsDisplay = "Spin Wheel";
}
on (rollOut, dragOut, releaseOutside) {
_root.buttonsDisplay = "";
}
Symbol 1313 MovieClip Frame 1
this.stop();
Symbol 1314 Button
on (release, keyPress "<Delete>") {
C_Game.clear();
}
on (rollOver) {
_root.buttonsDisplay = "Clear all bets";
}
on (rollOut, dragOut, releaseOutside) {
_root.buttonsDisplay = "";
}
Symbol 1317 MovieClip Frame 1
this.stop();
Symbol 1318 Button
on (release) {
C_Game.repeat();
}
on (rollOver) {
_root.buttonsDisplay = "Repeat previous bets";
}
on (rollOut, dragOut, releaseOutside) {
_root.buttonsDisplay = "";
}
Symbol 1321 MovieClip Frame 1
this.stop();
Symbol 1325 Button
on (press) {
this.play();
}
Symbol 1327 MovieClip Frame 1
_parent.notFuture = false;
this.stop();
Symbol 1327 MovieClip Frame 2
_parent.notFuture = true;
this.stop();
Symbol 1332 Button
on (release, keyPress "<Enter>") {
this.gotoAndStop(1);
this.okAction(this.notFuture);
}
Symbol 1333 Button
on (release) {
this.gotoAndStop(1);
this.canselAction(this.notFuture);
}
Symbol 1339 MovieClip Frame 1
this.stop();
Symbol 1340 MovieClip Frame 1
stop();
Symbol 1340 MovieClip Frame 2
Login = "";
Password = "";
Selection.setFocus("Login");
Instance of Symbol 1327 MovieClip "begin_MC" in Symbol 1340 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 1334 MovieClip in Symbol 1340 MovieClip Frame 2
onClipEvent (keyDown) {
if (Key.isDown(27)) {
_parent.canselAction();
_parent.gotoAndStop(1);
}
}