Frame 1
_global.Preload = new Object();
trace(Preload);
Preload.SetProgress = function (iPercent) {
mcLoading.Progress._xscale = iPercent;
};
Preload.CheckProgress = function () {
var _local1 = _root;
if (_local1.getBytesLoaded() < _local1.getBytesTotal()) {
var _local2 = Math.floor((_local1.getBytesLoaded() / _local1.getBytesTotal()) * 100);
this.SetProgress(_local2);
} else {
clearInterval(this.loadInt);
gotoAndPlay (2);
}
};
Preload.loadInt = setInterval(Preload, "CheckProgress", 500);
mcLoading.txtLoading = "Loading... Please wait.";
mcLoading.Progress._xscale = 0;
stop();
Frame 2
Object.Machine = new Object();
Object.Machine.MyRandom = function (minVal, maxVal) {
do {
r = Math.random();
} while (r == 1);
return(minVal + Math.floor(r * ((maxVal + 1) - minVal)));
};
Object.Machine.Bankroll = 1000;
Object.Machine.Credit = 0;
Object.Machine.Bet = 0;
Object.Machine.CoinIndex = 4;
Object.Machine.WinBy = 0;
Object.Machine.WinAmount = 0;
Object.Machine.BillValue = 10;
Object.Machine.Bonus = 0;
Object.Machine.Res1 = Object.Machine.MyRandom(0, 5);
Object.Machine.Res2 = Object.Machine.MyRandom(0, 5);
Object.Machine.Res3 = Object.Machine.MyRandom(0, 5);
Object.Machine.Interval1 = 1700;
Object.Machine.Interval2 = 2300;
Object.Machine.Interval3 = 2900;
Object.Machine.Stoped = 3;
Object.Machine.StartTime = getTimer();
Object.Machine.ShakeCounter = new Array(0, 0, 0);
Object.Machine.Buttons = 0;
Object.Machine.ButCheckOut = 1;
Object.Machine.ButAddOne = 2;
Object.Machine.ButSpin = 4;
Object.Machine.ButPlayMax = 8;
Object.Machine.LockButtons = false;
Object.Machine.Roll1 = new Array(540, 421, 309.4, 478, 368, 243);
Object.Machine.Roll2 = new Array(549, 288, 230, 487, 350, 412);
Object.Machine.Roll3 = new Array(427, 486, 360, 231, 300, 557);
Object.Machine.Denomination = new Array("0.05", "0.10", "0.25", "0.50", "1.00", "2.00", "5.00");
Object.Machine.WinBarType = new Array(2, 5, 10, 25, 40, 80, 800);
Object.Machine.WinBarY = new Array(72.5, 57.6, 44, 28.7, 14.3, -0.2, -13.8);
Object.Machine.WinBarX = new Array(-41, 6, 52.6);
Object.Machine.Odds = new Array(0, 0, Object.Machine.MyRandom(0, 4), Object.Machine.MyRandom(0, 8), Object.Machine.MyRandom(0, 16), Object.Machine.MyRandom(0, 32), Object.Machine.MyRandom(0, 64));
Object.Machine.WinningSound = new Sound();
Object.Machine.WinningSound.attachSound("winning");
Object.Machine.SpinSound = new Sound();
Object.Machine.SpinSound.attachSound("spinSound");
Object.Machine.StopSound = new Sound();
Object.Machine.StopSound.attachSound("stopSound");
Object.Machine.CashSound = new Sound();
Object.Machine.FormatNum = function (myNumber) {
var _local2 = myNumber;
if (_local2 > 0) {
RoundPart = new String(Math.floor(_local2));
_local2 = new String(Math.round(_local2 * 100));
Fraction = _local2.substring(_local2.length - 2);
if (RoundPart.length > 3) {
RoundArr = new Array();
tmpStr = "";
var _local1 = 1;
while (_local1 < (RoundPart.length + 1)) {
tmpStr = RoundPart.charAt(RoundPart.length - _local1) + tmpStr;
if (tmpStr.length == 3) {
pushed = RoundArr.unshift(tmpStr);
tmpStr = "";
}
_local1++;
}
if (tmpStr.length > 0) {
pushed = RoundArr.unshift(tmpStr);
}
RoundPart = RoundArr.join(",");
}
return((RoundPart + ".") + Fraction);
}
return("0.00");
};
Object.Machine.SetBankroll = function (bankroll) {
var _local2 = _root;
var tmpStr = new String(bankroll);
if (tmpStr.length > 0) {
var _local3 = tmpStr.split(".");
var _local1 = 1;
while (_local1 < 8) {
if (_local1 <= _local3[0].length) {
_local2.Bankroll["BRPos" + _local1] = _local3[0].charAt(_local3[0].length - _local1);
} else {
_local2.Bankroll["BRPos" + _local1] = " ";
}
_local1++;
}
if (_local3.length > 0) {
_local1 = 0;
while (_local1 < 2) {
if (_local1 < _local3[1].length) {
_local2.Bankroll["BRNeg" + _local1] = _local3[1].charAt(_local1);
} else {
_local2.Bankroll["BRNeg" + _local1] = "0";
}
_local1++;
}
}
} else {
var _local1 = 1;
while (_local1 < 8) {
_local2.Bankroll["BRPos" + _local1] = "";
_local1++;
}
_local1 = 0;
while (_local1 < 2) {
_local2.Bankroll["BRNeg" + _local1] = "";
_local1++;
}
}
if (_local3[0].length > 3) {
_local2.Bankroll.coma1._visible = true;
} else {
_local2.Bankroll.coma1._visible = false;
}
if (_local3[0].length > 6) {
_local2.Bankroll.coma2._visible = true;
} else {
_local2.Bankroll.coma2._visible = false;
}
};
Object.Machine.DisplayWinnings = function (mode) {
with (Object.Machine) {
if (mode == "on") {
WinningSound.start(0, 12);
_root.WinTable.WinBar.gotoAndPlay(2);
_root.WinTable.WinNumber.gotoAndPlay(2);
if (((res1 == 0) && (res2 == 0)) && (res3 == 0)) {
_root.WinTable.WinNumber._y = WinBarY[2];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 85;
_root.WinTable.WinBar._x = 117;
_root.WinTable.WinBar._y = 44;
} else if ((((res1 == 0) && (res2 == 0)) || ((res1 == 0) && (res3 == 0))) || ((res3 == 0) && (res2 == 0))) {
_root.WinTable.WinNumber._y = WinBarY[1];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 85;
_root.WinTable.WinBar._x = 117;
_root.WinTable.WinBar._y = 57.6;
} else if ((res1 == res2) && (res3 == 0)) {
_root.WinTable.WinNumber._y = WinBarY[0];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 85;
_root.WinTable.WinBar._x = 117;
_root.WinTable.WinBar._y = 72.5;
} else if ((res1 == res3) && (res2 == 0)) {
_root.WinTable.WinNumber._y = WinBarY[0];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 85;
_root.WinTable.WinBar._x = 117;
_root.WinTable.WinBar._y = 72.5;
} else if ((res2 == res3) && (res1 == 0)) {
_root.WinTable.WinNumber._y = WinBarY[0];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 85;
_root.WinTable.WinBar._x = 117;
_root.WinTable.WinBar._y = 72.5;
} else if (((res1 == 1) && (res2 == 1)) && (res3 == 1)) {
_root.WinTable.WinNumber._y = WinBarY[2];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 100;
_root.WinTable.WinBar._x = -111;
_root.WinTable.WinBar._y = 44;
} else if ((((res1 > 0) && (res1 <= 3)) && ((res2 > 0) && (res2 <= 3))) && ((res3 > 0) && (res3 <= 3))) {
if (((res1 != res2) && (res2 != res3)) && (res1 != res3)) {
_root.WinTable.WinNumber._y = WinBarY[1];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 100;
_root.WinTable.WinBar._x = -111;
_root.WinTable.WinBar._y = 57.6;
} else if (((res1 == res2) || (res1 == res3)) || (res2 == res3)) {
if ((((res1 == 1) || (res2 == 1)) || (res3 == 1)) && (((res1 == 2) || (res2 == 2)) || (res3 == 2))) {
_root.WinTable.WinNumber._y = WinBarY[1];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 100;
_root.WinTable.WinBar._x = -111;
_root.WinTable.WinBar._y = 57.6;
} else if ((((res1 == 1) || (res2 == 1)) || (res3 == 1)) && (((res1 == 3) || (res2 == 3)) || (res3 == 3))) {
_root.WinTable.WinNumber._y = WinBarY[1];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 100;
_root.WinTable.WinBar._x = -111;
_root.WinTable.WinBar._y = 57.6;
} else if ((((res1 == 2) || (res2 == 2)) || (res3 == 2)) && (((res1 == 3) || (res2 == 3)) || (res3 == 3))) {
_root.WinTable.WinNumber._y = WinBarY[1];
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
_root.WinTable.WinBar._xscale = 100;
_root.WinTable.WinBar._x = -111;
_root.WinTable.WinBar._y = 57.6;
}
}
} else {
i = 0;
while (i < WinBarType.length) {
if (WinBarType[i] == WinBy) {
_root.WinTable.WinBar._y = WinBarY[i];
_root.WinTable.WinNumber._y = WinBarY[i];
if ((WinBy > 0) && (Denomination[CoinIndex] > 0)) {
_root.WinTable.WinNumber._x = WinBarX[Math.round((WinAmount / WinBy) / Denomination[CoinIndex]) - 1];
}
break;
}
i++;
}
}
} else if (mode == "off") {
_root.WinTable.WinBar.gotoAndStop(1);
_root.WinTable.WinNumber.gotoAndStop(1);
}
}
};
Object.Machine.AnimateButtons = function () {
with (Object.Machine) {
if (Buttons & ButAddOne) {
_root.BetButton.gotoAndStop(2);
} else {
_root.BetButton.gotoAndStop(1);
}
if (Buttons & ButSpin) {
_root.SpinButton.gotoAndStop(2);
} else {
_root.SpinButton.gotoAndStop(1);
}
if (Buttons & ButPlayMax) {
_root.MaxButton.gotoAndStop(2);
} else {
_root.MaxButton.gotoAndStop(1);
}
}
};
Object.Machine.LightBet = function (NumberOfCoins) {
i = 1;
while (i < 4) {
if (i == NumberOfCoins) {
eval (("_root.WinTable." + i) + "Coin").gotoAndPlay(2);
} else {
eval (("_root.WinTable." + i) + "Coin").gotoAndStop(1);
}
i++;
}
};
Object.Machine.SetDisplay = function () {
with (Object.Machine) {
if ((Bankroll < 1) && (_root.CreditAmount == 0)) {
Bankroll = 1000;
}
if (Bet > 0) {
Buttons = (ButAddOne | ButSpin) | ButPlayMax;
LightBet(Bet);
} else {
Buttons = ButAddOne | ButPlayMax;
}
if ((Credit == 0) && (Bet == 0)) {
Buttons = 0;
_root.insertsign.gotoAndStop(2);
} else {
_root.insertsign.gotoAndStop(1);
}
if (Number(Denomination[CoinIndex]) < 1) {
_root.CoinValueControl.CoinValue = Denomination[CoinIndex];
} else {
_root.CoinValueControl.CoinValue = Denomination[CoinIndex];
}
if (WinBy > 0) {
DisplayWinnings("on");
} else {
DisplayWinnings("off");
}
_root.BetAmount = Bet;
trace("1)_root.CreditAmount=" + _root.CreditAmount);
_root.CreditAmount = Math.floor(Credit / Denomination[CoinIndex]);
trace("2)_root.CreditAmount=" + _root.CreditAmount);
_root.WinAmount = FormatNum(WinAmount);
_root.BonusPoints = Math.floor(Bonus);
SetBankroll(Bankroll);
AnimateButtons();
}
};
Object.Machine.CheckOut = function () {
with (Object.Machine) {
if (!LockButtons) {
if (WinAmount > 0) {
Credit = Credit + WinAmount;
WinAmount = 0;
WinBy = 0;
}
if (Bet > 0) {
Credit = Credit + (Bet * Number(Denomination[CoinIndex]));
Bet = 0;
}
if (Credit > 0) {
Bankroll = Bankroll + Credit;
Credit = 0;
SetDisplay();
CashSound.attachSound("coin-loop");
CashSound.start(0, 2);
}
}
}
};
Object.Machine.BetOne = function () {
_root.CoinValueControl.DenoUp.enabled = false;
_root.CoinValueControl.DenoDown.enabled = false;
with (Object.Machine) {
if (!LockButtons) {
if (WinAmount > 0) {
Credit = Credit + WinAmount;
WinAmount = 0;
WinBy = 0;
}
if (Bet == 3) {
Credit = Credit + (Number(Denomination[CoinIndex]) * 2);
Bet = 1;
} else if (Credit >= Number(Denomination[CoinIndex])) {
Bet = Bet + 1;
Credit = Credit - Number(Denomination[CoinIndex]);
}
SetDisplay();
}
}
};
Object.Machine.ChangeCoinValue = function (direction) {
with (Object.Machine) {
if (!LockButtons) {
if (WinAmount > 0) {
Credit = Credit + WinAmount;
WinAmount = 0;
WinBy = 0;
}
if (Bet > 0) {
Credit = Credit + (Bet * Number(Denomination[CoinIndex]));
Bet = 0;
}
if (direction == "plus") {
if (CoinIndex < (Denomination.length - 1)) {
CoinIndex = CoinIndex + 1;
}
} else if (CoinIndex > 0) {
CoinIndex = CoinIndex - 1;
}
SetDisplay();
}
}
};
Object.Machine.AddBill = function () {
with (Object.Machine) {
if (WinAmount > 0) {
Credit = Credit + WinAmount;
WinAmount = 0;
WinBy = 0;
}
if (Bankroll < BillValue) {
Credit = Credit + Bankroll;
Bankroll = 0;
} else {
Bankroll = Bankroll - BillValue;
Credit = Credit + BillValue;
}
_root.Dollar.gotoAndPlay(2);
SetDisplay();
}
};
Object.Machine.ChangeBillValue = function (amount) {
with (Object.Machine) {
ChangeBanknoteState(BillValue + "dollar", 1);
BillValue = amount;
ChangeBanknoteState(BillValue + "dollar", 2);
AddBill();
}
};
Object.Machine.ChangeBanknoteState = function (Banknote, State) {
eval ("_root." + Banknote).gotoAndStop(Number(State));
};
Object.Machine.CheckResult = function (res1, res2, res3) {
var _local1 = res1;
var _local2 = res3;
var _local3 = res2;
if ((_local1 == _local3) && (_local1 == _local2)) {
if (_local1 == 5) {
return(800);
}
if (_local1 == 4) {
return(80);
}
if (_local1 == 3) {
return(40);
}
if (_local1 == 2) {
return(25);
}
if (_local1 == 1) {
return(10);
}
if (_local1 == 0) {
return(10);
}
} else {
if ((((_local1 == 0) && (_local3 == 0)) || ((_local1 == 0) && (_local2 == 0))) || ((_local3 == 0) && (_local2 == 0))) {
return(5);
}
if ((((_local1 > 0) && (_local1 < 4)) && ((_local3 > 0) && (_local3 < 4))) && ((_local2 > 0) && (_local2 < 4))) {
return(5);
}
if (((_local1 == 0) || (_local3 == 0)) || (_local2 == 0)) {
return(2);
}
if (((_local1 == 0) && (_local3 == 0)) && (_local2 == 0)) {
return(10);
}
return(0);
}
return(undefined);
};
Object.Machine.SetResult = function () {
with (Object.Machine) {
BadResult = true;
do {
Res1 = MyRandom(0, 5);
Res2 = MyRandom(0, 5);
Res3 = MyRandom(0, 5);
WinBy = CheckResult(Res1, Res2, Res3);
if (WinBy > 0) {
i = 0;
while (i < WinBarType.length) {
if (WinBarType[i] == WinBy) {
Odds[i] = Odds[i] + 1;
if (Odds[i] > (1 << i)) {
Odds[i] = 0;
BadResult = false;
}
break;
}
i++;
}
} else {
BadResult = false;
}
} while (BadResult);
if ((WinBy == 800) && (Bet == 3)) {
WinAmount = 2500 * Number(Denomination[CoinIndex]);
} else if (WinBy > 0) {
WinAmount = (WinBy * Bet) * Number(Denomination[CoinIndex]);
} else {
WinAmount = 0;
}
}
};
Object.Machine.SpinWheels = function () {
if ((Object.Machine.Bet > 0) && (!Object.Machine.LockButtons)) {
with (Object.Machine) {
LockButtons = true;
eval (("_root.WinTable." + Bet) + "Coin").gotoAndStop(1);
SetResult();
Bonus = Bonus + ((Bet * Denomination[CoinIndex]) / 10);
StartTime = getTimer();
Stoped = 0;
Buttons = 0;
AnimateButtons();
ChangeBanknoteState(BillValue + "dollar", 1);
SpinSound.start(0, 13);
}
with (_root) {
roll1._visible = false;
roll2._visible = false;
roll3._visible = false;
blur1._visible = true;
blur2._visible = true;
blur3._visible = true;
blur1.gotoAndPlay(2);
blur2.gotoAndPlay(2);
blur3.gotoAndPlay(2);
}
attachMovie("ProcessClip", "ProcessClip", 5000);
}
};
Object.Machine.SpinControl = function () {
with (Object.Machine) {
if (((StartTime + Interval3) < getTimer()) && (Stoped < 3)) {
_root.blur3.gotoAndStop(1);
_root.blur3._visible = false;
_root.roll3._y = Roll3[Res3];
_root.roll3._visible = true;
ShakeCounter[2] = 0;
attachMovie("ShakeProcess3", "ShakeProcess3", 5003);
StopSound.start();
Stoped = 3;
} else if (((StartTime + Interval2) < getTimer()) && (Stoped < 2)) {
_root.blur2.gotoAndStop(1);
_root.blur2._visible = false;
_root.roll2._y = Roll2[Res2];
_root.roll2._visible = true;
ShakeCounter[1] = 0;
attachMovie("ShakeProcess2", "ShakeProcess2", 5002);
StopSound.start();
Stoped = 2;
} else if (((StartTime + Interval1) < getTimer()) && (Stoped < 1)) {
_root.blur1.gotoAndStop(1);
_root.blur1._visible = false;
_root.roll1._y = Roll1[Res1];
_root.roll1._visible = true;
ShakeCounter[0] = 0;
attachMovie("ShakeProcess1", "ShakeProcess1", 5001);
StopSound.start();
Stoped = 1;
}
if (Stoped > 6) {
ChangeBanknoteState(BillValue + "dollar", 2);
Bet = 0;
LockButtons = false;
SetDisplay();
_root.ProcessClip.removeMovieClip();
} else if (Stoped > 2) {
Stoped = Stoped + 1;
_root.CoinValueControl.DenoUp.enabled = true;
_root.CoinValueControl.DenoDown.enabled = true;
}
}
};
Object.Machine.Initialise = function () {
with (Object.Machine) {
_root.blur1._visible = false;
_root.blur2._visible = false;
_root.blur3._visible = false;
_root.roll1._y = Roll1[Res1];
_root.roll2._y = Roll2[Res2];
_root.roll3._y = Roll3[Res3];
_root.insertsign.gotoAndStop(2);
ChangeBanknoteState(BillValue + "dollar", 2);
SetDisplay();
}
};
Object.Machine.ShakeReel = function (reel) {
with (Object.Machine) {
if (ShakeCounter[reel - 1] < 1) {
eval ("_root.roll" + reel)._y = eval ("_root.roll" + reel)._y - 2;
} else if (ShakeCounter[reel - 1] < 2) {
eval ("_root.roll" + reel)._y = eval ("_root.roll" + reel)._y + 3;
} else if (ShakeCounter[reel - 1] < 3) {
eval ("_root.roll" + reel)._y = eval ("_root.roll" + reel)._y - 1;
} else {
eval ("_root.ShakeProcess" + reel).removeMovieClip();
}
ShakeCounter[reel - 1] = ShakeCounter[reel - 1] + 1;
}
};
Object.Machine.PlayMax = function () {
with (Object.Machine) {
if (!LockButtons) {
if (WinAmount > 0) {
Credit = Credit + WinAmount;
WinAmount = 0;
WinBy = 0;
}
Credit = Credit + (Bet * Number(Denomination[CoinIndex]));
Bet = 0;
if (Credit < Number(Denomination[CoinIndex])) {
DisplayAddMoney();
} else {
if (Credit < (Number(Denomination[CoinIndex]) * 2)) {
Bet = 1;
} else if (Credit < (Number(Denomination[CoinIndex]) * 3)) {
Bet = 2;
} else {
Bet = 3;
}
Credit = Credit - (Bet * Number(Denomination[CoinIndex]));
SetDisplay();
SpinWheels();
}
}
}
};
Object.Machine.Initialise();
stop();
Instance of Symbol 6 MovieClip "EventLoop1" in Symbol 7 MovieClip [ShakeProcess2] Frame 1
onClipEvent (enterFrame) {
Object.Machine.ShakeReel(2);
}
Instance of Symbol 6 MovieClip "EventLoop1" in Symbol 8 MovieClip [ShakeProcess3] Frame 1
onClipEvent (enterFrame) {
Object.Machine.ShakeReel(3);
}
Instance of Symbol 6 MovieClip "EventLoop1" in Symbol 9 MovieClip [ShakeProcess1] Frame 1
onClipEvent (enterFrame) {
Object.Machine.ShakeReel(1);
}
Instance of Symbol 6 MovieClip "EventLoop1" in Symbol 10 MovieClip [ProcessClip] Frame 1
onClipEvent (enterFrame) {
Object.Machine.SpinControl();
}
Symbol 50 Button
on (release) {
Object.Machine.CheckOut();
}
Symbol 57 Button
on (release) {
Object.Machine.PlayMAx();
}
Symbol 66 Button
on (release) {
Object.Machine.SpinWheels();
}
Symbol 78 Button
on (release) {
Object.Machine.BetOne();
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 102 Button
on (release) {
Object.Machine.ChangeCoinValue("plus");
}
Symbol 109 Button
on (release) {
Object.Machine.ChangeCoinValue("minus");
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 8
gotoAndPlay (2);
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 8
gotoAndPlay (2);
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 8
gotoAndPlay (2);
Symbol 160 Button
on (release) {
Object.Machine.ChangeBillValue(1);
}
Symbol 162 Button
on (release) {
Object.Machine.AddBill();
}
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Symbol 170 Button
on (release) {
Object.Machine.ChangeBillValue(5);
}
Symbol 172 Button
on (release) {
Object.Machine.AddBill();
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 179 Button
on (release) {
Object.Machine.ChangeBillValue(10);
}
Symbol 180 Button
on (release) {
Object.Machine.AddBill();
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
stop();
Symbol 187 Button
on (release) {
Object.Machine.ChangeBillValue(20);
}
Symbol 188 Button
on (release) {
Object.Machine.AddBill();
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();
Symbol 199 Button
on (release) {
Object.Machine.AddBill();
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 8
gotoAndPlay (2);
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 8
gotoAndPlay (2);
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 8
gotoAndPlay (2);
Symbol 231 MovieClip Frame 1
var i = 0;
stop();
Symbol 231 MovieClip Frame 2
i = i + 1;
Symbol 231 MovieClip Frame 6
if (i < 5) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 232 MovieClip Frame 1
var i = 0;
stop();
Symbol 232 MovieClip Frame 2
i = i + 1;
Symbol 232 MovieClip Frame 6
if (i < 5) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 299 MovieClip Frame 1
stop();
Symbol 331 Button
on (release) {
if ((lang == null) || (lang == "en")) {
sub = "www";
} else {
sub = lang;
}
installerurl = ((("http://" + sub) + ".888.com/CasinoInstaller?lang=") + lang) + "&sr=439564";
weburl = ((("http://" + sub) + ".888.com/?page=download_short&lang=") + lang) + "&sr=439564 ";
installerurl = (("http://" + sub) + ".777.com/redirect.php?nodecode=1&target=") + escape(installerurl);
weburl = (("http://" + sub) + ".777.com/redirect.php?nodecode=1&target=") + escape(weburl);
if (showdownloadpage == "1") {
getURL (weburl, "_blank");
setTimeout(getURL, 1000, installerurl);
} else {
getURL (installerurl);
}
}
Symbol 336 Button
on (release) {
if ((lang == null) || (lang == "en")) {
url = "http://www.777.com/";
} else {
url = ("http://" + lang) + ".777.com/";
}
getURL (url);
}
Symbol 340 Button
on (release) {
if ((lang == null) || (lang == "en")) {
sub = "www";
} else {
sub = lang;
}
url = ("http://" + sub) + ".888.com/?sr=439564";
url = (("http://" + sub) + ".777.com/redirect.php?nodecode=1&target=") + escape(url);
getURL (url, "_blank");
}