Frame 1
function chooseGameEndProcedure() {
if (params == undefined) {
} else {
decryptParams(params);
crypto = 2;
}
}
function g_fSetGameSize(a_numWidth, a_numHeight) {
g_numGameWidth = a_numWidth;
g_numGameHeight = a_numHeight;
}
function t_fLoadGameEnd() {
mcResign.removeMovieClip();
mcGameOver.removeMovieClip();
if (mcGameEnd != undefined) {
mcGameEnd.removeMovieClip();
}
endContainer.createEmptyMovieClip("mcGameEnd", 100);
endContainer.createEmptyMovieClip("mcGameEndBack", 99);
with (endContainer.mcGameEndBack) {
var backColor = 0;
beginFill(backColor, 100);
lineStyle(1, backColor, 100);
moveTo(0, 0);
lineTo(g_numGameWidth, 0);
lineTo(g_numGameWidth, g_numGameHeight);
lineTo(0, g_numGameHeight);
lineTo(0, 0);
endFill();
}
if (freeplayid != undefined) {
downloadURL = downloadURL + affiliateId;
}
var endUrlArray = new Array();
endUrlArray = endURL.split(".");
var subString = endUrlArray[endUrlArray.length - 1];
if ((subString == "aspx") || (subString == "html")) {
} else {
endContainer.mcGameEnd;
endContainer.playAgain = playAgain;
}
}
function displayMsg(myMsg, myTime, myFunction) {
if (_root.msgTextStartHeight == undefined) {
_root.msgTextStartHeight = stdDisplayMsg.myTextField.myTextField._y;
}
stdDisplayMsg.myMsg = myMsg;
stdDisplayMsg.myTime = myTime;
stdDisplayMsg.myFunction = myFunction;
stdDisplayMsg.gotoAndPlay(2);
}
function createHelp(helpName, helpMsg) {
helpMessageNames.push(helpName);
Set(("blnShowed" + helpName) + "HM", false);
Set(helpName + "Msg", helpMsg);
}
function showHelp(helpName) {
msgToPresent.push(helpName);
}
function presentHelp() {
if (blnGameOn && (msgToPresent.length > 0)) {
helpName = msgToPresent.pop();
if (!eval (("blnShowed" + helpName) + "HM")) {
Set(("blnShowed" + helpName) + "HM", true);
helpMessage.helpTextField.text = eval (helpName + "Msg");
helpMessage.helpImage.holder.removeMovieClip();
helpMessage.helpImage.createEmptyMovieClip("holder", 1);
helpMessage.helpImage.holder.attachMovie(helpName, "img", 1);
blnGameOn = false;
helpMessage.gotoAndPlay(2);
}
}
}
function createKeyboardCommand(keyFunctionName, keyFunctionMsg, defaultAsciValue, smooth) {
Set(keyFunctionName + "Obj", new KeyboardCommand(keyFunctionName, keyFunctionMsg, defaultAsciValue));
if (!smooth) {
keyboardCommands.push(eval (keyFunctionName + "Obj"));
} else {
smoothKeyboardCommands.push(eval (keyFunctionName + "Obj"));
}
}
function smoothKeyMovement() {
countKeyss = 0;
while (countKeyss < smoothKeyboardCommands.length) {
if (Key.isDown(smoothKeyboardCommands[countKeyss].myAsciKey)) {
if (blnWaitForKey) {
pressKey(smoothKeyboardCommands[countKeyss].myAsciKey);
} else {
commandToDo = eval (smoothKeyboardCommands[countKeyss].myName + "Function");
commandToDo();
}
}
countKeyss++;
}
}
function pressKey(theKey) {
if (blnWaitForKey) {
var isItOk = true;
countKeys = 0;
while (countKeys < keyboardCommands.length) {
if (theKey == keyboardCommands[countKeys].myAsciKey) {
isItOk = false;
break;
}
if (theKey == smoothKeyboardCommands[countKeys].myAsciKey) {
isItOk = false;
break;
}
countKeys++;
}
if (isItOk) {
blnWaitForKey = false;
Set(waitingCommandName + "Obj.myAsciKey", theKey);
Set(("KCScreen." + waitingCommandName) + "Changer.myAsciKey", theKey);
eval (("KCScreen." + waitingCommandName) + "Changer").gotoAndPlay(1);
KCScreen.hitChosenKey._x = -500;
}
} else {
countKeys = 0;
while (countKeys < keyboardCommands.length) {
if (keyboardCommands[countKeys].myAsciKey == theKey) {
commandToDo = eval (keyboardCommands[countKeys].myName + "Function");
commandToDo();
}
countKeys++;
}
}
}
function generateChangeKeyControls(boardName) {
countKeys = 0;
while (countKeys < keyboardCommands.length) {
eval (boardName).attachMovie("keyCommandChanger", keyboardCommands[countKeys].myName + "Changer", countKeys);
Set(((boardName + ".") + keyboardCommands[countKeys].myName) + "Changer._x", eval (boardName + ".KCBackground")._x);
Set(((boardName + ".") + keyboardCommands[countKeys].myName) + "Changer._y", eval (boardName + ".KCBackground")._y + (eval (((boardName + ".") + keyboardCommands[countKeys].myName) + "Changer")._height * countKeys));
Set(((boardName + ".") + keyboardCommands[countKeys].myName) + "Changer.myMsg", keyboardCommands[countKeys].myMsg);
Set(((boardName + ".") + keyboardCommands[countKeys].myName) + "Changer.myAsciKey", keyboardCommands[countKeys].myAsciKey);
Set(((boardName + ".") + keyboardCommands[countKeys].myName) + "Changer.myName", keyboardCommands[countKeys].myName);
countKeys++;
}
countKeyss = 0;
while (countKeyss < smoothKeyboardCommands.length) {
eval (boardName).attachMovie("keyCommandChanger", smoothKeyboardCommands[countKeyss].myName + "Changer", countKeys + countKeyss);
Set(((boardName + ".") + smoothKeyboardCommands[countKeyss].myName) + "Changer._x", eval (boardName + ".KCBackground")._x);
Set(((boardName + ".") + smoothKeyboardCommands[countKeyss].myName) + "Changer._y", eval (boardName + ".KCBackground")._y + (eval (((boardName + ".") + smoothKeyboardCommands[countKeyss].myName) + "Changer")._height * (countKeys + countKeyss)));
Set(((boardName + ".") + smoothKeyboardCommands[countKeyss].myName) + "Changer.myMsg", smoothKeyboardCommands[countKeyss].myMsg);
Set(((boardName + ".") + smoothKeyboardCommands[countKeyss].myName) + "Changer.myAsciKey", smoothKeyboardCommands[countKeyss].myAsciKey);
Set(((boardName + ".") + smoothKeyboardCommands[countKeyss].myName) + "Changer.myName", smoothKeyboardCommands[countKeyss].myName);
countKeyss++;
}
Set(boardName + ".KCBackground._width", eval (((boardName + ".") + keyboardCommands[0].myName) + "Changer")._width);
Set(boardName + ".KCBackground._height", eval (((boardName + ".") + keyboardCommands[0].myName) + "Changer")._height * (keyboardCommands.length + smoothKeyboardCommands.length));
}
function saveAndLoad() {
if (userVars.data.points == undefined) {
createNewUser();
} else {
loadUserData();
}
}
function createSound(soundName) {
sndController.createEmptyMovieClip(soundName, numSounds);
Set(soundName, new Sound(eval ("sndController." + soundName)));
eval (soundName).attachSound(soundName);
numSounds++;
}
function g_fSetSoundOn() {
g_sndGlobalSound.setVolume(100);
sndClick.start();
}
function g_fSetSoundOff() {
sndClick.start();
g_sndGlobalSound.setVolume(0);
}
function runTimer() {
if (_root.blnGameOn) {
if ((timer > timeWarningAt) && ((timer - (1 / _root.frameRate)) < timeWarningAt)) {
clockSound.start();
}
_root.timer = _root.timer - (1 / _root.frameRate);
gameField._y = gameField._y + speedLow;
}
if (_root.timer >= 0) {
_root.clock.text = Math.floor(_root.timer / 60);
_root.clock.text = _root.clock.text + ":";
var _local2 = String(Math.floor(_root.timer % 60));
if (_local2.length == 1) {
_local2 = "0" + _local2;
}
_root.clock.text = _root.clock.text + _local2;
} else if (_root.blnGameOn) {
gameOver();
}
}
function trc(theString) {
trace((theString + ": ") + eval (theString));
}
function g_fGetRandomValue(a_numMaxValue) {
g_numRandomSeed = (g_numRandomSeed * g_A) % 2147352576;
var _local1 = Math.floor((g_numRandomSeed * a_numMaxValue) / g_C) % a_numMaxValue;
return(_local1);
}
function TEAEncrypt(src, key) {
var _local2 = charsToLongs(strToChars(src));
var _local9 = charsToLongs(strToChars(key));
var _local7 = _local2.length;
if (_local7 == 0) {
return("");
}
if (_local7 == 1) {
_local2[_local7++] = 0;
}
var _local3 = _local2[_local7 - 1];
var _local4 = _local2[0];
var _local11 = 2654435769;
var _local12 = 4294967295;
var _local5;
var _local8;
var _local10 = Math.floor(6 + (52 / _local7));
var _local6 = 0;
var _local13 = 0;
while ((_local10--) > 0) {
_local6 = _local6 + _local11;
_local6 = _local6 >>> 0;
_local8 = (_local6 >>> 2) & 3;
var _local1 = 0;
while (_local1 < (_local7 - 1)) {
_local4 = _local2[_local1 + 1];
_local5 = (((_local3 >>> 5) ^ (_local4 << 2)) + ((_local4 >>> 3) ^ (_local3 << 4))) ^ ((_local6 ^ _local4) + (_local9[(_local1 & 3) ^ _local8] ^ _local3));
_local5 = _local5 >>> 0;
_local2[_local1] = _local2[_local1] + _local5;
_local2[_local1] = _local2[_local1] >>> 0;
_local3 = _local2[_local1];
_local1++;
}
_local4 = _local2[0];
_local5 = (((_local3 >>> 5) ^ (_local4 << 2)) + ((_local4 >>> 3) ^ (_local3 << 4))) ^ ((_local6 ^ _local4) + (_local9[(_local1 & 3) ^ _local8] ^ _local3));
_local5 = _local5 >>> 0;
_local2[_local7 - 1] = _local2[_local7 - 1] + _local5;
_local2[_local7 - 1] = _local2[_local7 - 1] >>> 0;
_local3 = _local2[_local7 - 1];
}
return(charsToHex(longsToChars(_local2)));
}
function TEADecrypt(src, key) {
var _local4 = charsToLongs(hexToChars(src));
var _local9 = charsToLongs(strToChars(key));
var _local8 = _local4.length;
if (_local8 == 0) {
return("");
}
var _local2 = _local4[_local8 - 1];
var _local3 = _local4[0];
var _local10 = 2654435769;
var _local6;
var _local7;
var _local11 = Math.floor(6 + (52 / _local8));
var _local5 = _local11 * _local10;
while (_local5 != 0) {
_local7 = (_local5 >>> 2) & 3;
var _local1 = _local8 - 1;
while (_local1 > 0) {
_local2 = _local4[_local1 - 1];
_local6 = (((_local2 >>> 5) ^ (_local3 << 2)) + ((_local3 >>> 3) ^ (_local2 << 4))) ^ ((_local5 ^ _local3) + (_local9[(_local1 & 3) ^ _local7] ^ _local2));
_local3 = (_local4[_local1] = _local4[_local1] - _local6);
_local1--;
}
_local2 = _local4[_local8 - 1];
_local6 = (((_local2 >>> 5) ^ (_local3 << 2)) + ((_local3 >>> 3) ^ (_local2 << 4))) ^ ((_local5 ^ _local3) + (_local9[(_local1 & 3) ^ _local7] ^ _local2));
_local3 = (_local4[0] = _local4[0] - _local6);
_local5 = _local5 - _local10;
}
return(charsToStr(longsToChars(_local4)));
}
function charsToLongs(chars) {
var _local3 = new Array(Math.ceil(chars.length / 4));
var _local1 = 0;
while (_local1 < _local3.length) {
_local3[_local1] = ((chars[_local1 * 4] + (chars[(_local1 * 4) + 1] << 8)) + (chars[(_local1 * 4) + 2] << 16)) + (chars[(_local1 * 4) + 3] << 24);
_local1++;
}
return(_local3);
}
function longsToChars(longs) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < longs.length) {
_local3.push(longs[_local1] & 255, (longs[_local1] >>> 8) & 255, (longs[_local1] >>> 16) & 255, (longs[_local1] >>> 24) & 255);
_local1++;
}
return(_local3);
}
function charsToHex(chars) {
var _local4 = new String("");
var _local3 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
var _local1 = 0;
while (_local1 < chars.length) {
_local4 = _local4 + (_local3[chars[_local1] >> 4] + _local3[chars[_local1] & 15]);
_local1++;
}
return(_local4);
}
function hexToChars(hex) {
var _local3 = new Array();
var _local1 = ((hex.substr(0, 2) == "0x") ? 2 : 0);
while (_local1 < hex.length) {
_local3.push(parseInt(hex.substr(_local1, 2), 16));
_local1 = _local1 + 2;
}
return(_local3);
}
function charsToStr(chars) {
var _local3 = new String("");
var _local1 = 0;
while (_local1 < chars.length) {
_local3 = _local3 + String.fromCharCode(chars[_local1]);
_local1++;
}
return(_local3);
}
function strToChars(str) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < str.length) {
_local3.push(str.charCodeAt(_local1));
_local1++;
}
return(_local3);
}
function decryptParams(myParams) {
decPar = TEADecrypt(myParams, tKey);
arrayOfVars = new Array();
arrayOfVars = decPar.split("&");
count = 0;
while (count < arrayOfVars.length) {
varHolder = new Array();
varHolder = arrayOfVars[count].split("=");
Set(varHolder[0], varHolder[1]);
trc(varHolder[0]);
count++;
}
}
_quality = "BEST";
_root.menu.hide();
MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
TextField.prototype.tabEnabled = false;
System.security;
System.security;
stop();
var startX = 0;
var startY = 0;
var gameWidth = 680;
var gameHeight = 540;
var frameRate = 30;
var timer = 0;
var timeWarningAt = 0;
var crypto = 0;
var blnStartGame = false;
var blnGameOver = false;
var blnGameOn = false;
var userVars = SharedObject.getLocal("Template_user_vars");
myVariables = new LoadVars();
myVariables.onLoad = function (success) {
if (success) {
trace(this.params);
crypto = 1;
_root.decryptParams(this.params);
} else {
crypto = 0;
trace("could not decrypt");
}
};
puzzle_XML = new XML();
puzzle_XML.ignoreWhite = true;
puzzle_XML.onLoad = function (success) {
if (success) {
loadPuzzleValues();
gotoAndPlay ("playGameFrame");
}
};
_root.xmlGameEnd = new XML();
_root.xmlGameEnd.onLoad = function (success) {
if (success) {
trace("DECRYPTIT:" + this.firstChild.firstChild.nodeValue);
_root.decryptParams(this.firstChild.firstChild.nodeValue);
_root.endURL = _root.gameEndUrl;
_root.t_fLoadGameEnd();
delete this.onLoad;
}
};
playAgain = function () {
gotoAndPlay ("introFrame");
};
var helpMessageNames = new Array();
var msgToPresent = new Array();
var blnWaitForKey = false;
var keyboardCommands = new Array();
var smoothKeyboardCommands = new Array();
var waitingCommandName = "";
var numSounds = 1;
var g_sndGlobalSound = new Sound();
createSound("clockSound");
var g_A = 3423313;
var g_C = 2435;
if (g_numRandomSeed == undefined) {
g_numRandomSeed = Math.floor(Math.random() * 1000) + 1;
}
MovieClip.prototype.wait = function (interval) {
this.stop();
this.interval = interval * 1000;
this.startTime = getTimer();
this.onEnterFrame = function () {
if ((getTimer() - this.startTime) > this.interval) {
delete this.onEnterFrame;
this.play();
}
};
};
MovieClip.prototype.zoom = function (mc, end, time) {
var _local2 = mc._xscale;
var _local3 = mc._yscale;
tweenXscale = new mx.transitions.Tween(mc, "_xscale", mx.transitions.easing.Strong.easeOut, _local2, end, time);
tweenYscale = new mx.transitions.Tween(mc, "_yscale", mx.transitions.easing.Strong.easeOut, _local3, end, time);
};
MovieClip.prototype.slideIn = function (mc, beginX, time) {
var _local1 = mc._x;
tweenX = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, beginX, _local1, time);
};
MovieClip.prototype.slideUp = function (mc, beginY, time) {
var _local1 = mc._y;
tweenY = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, beginY, _local1, time);
};
MovieClip.prototype.pop = function (mc, begin, end, time) {
tweenXscale = new mx.transitions.Tween(mc, "_xscale", mx.transitions.easing.Back.easeOut, begin, end, time);
tweenYscale = new mx.transitions.Tween(mc, "_yscale", mx.transitions.easing.Back.easeOut, begin, end, time);
};
MovieClip.prototype.fade = function (mc, begin, end, time) {
tweenFade = new mx.transitions.Tween(mc, "_alpha", mx.transitions.easing.None.easeNone, begin, end, time);
};
chooseGameEndProcedure();
startX = 0;
startY = 0;
gameWidth = 660;
gameHeight = 470;
frameRate = 30;
msgX = 0;
msgY = 0;
g_fSetGameSize(gameWidth, gameHeight);
xmlName = "template_puzzle.xml";
userVars = SharedObject.getLocal("Platformer_user_vars");
strRules = " You are a platform walker and need to get from your location to the finish without getting trapped. You also receive increasingly large rewards by walking on more platforms, so try and use as many platforms as possible as you walk. There are also bonuses like extra time and points, so try and collect them also.";
timeWarningAt = 5;
blnStartGame = false;
blnGameOver = false;
blnGameOn = false;
level = 0;
points = 0;
highestPoints = 0;
lives = 3;
timer = 450;
var mySwitch = _global.creditValue;
blnSpinning = false;
var bonusArray = new Array(10000);
var probArray = new Array(400);
_global.creditValue = 1;
var balance = 2500;
_global.kindOfBet = 0;
_global.bounusSpin = false;
_global.betOneAlreadyPressed = false;
var winnings = 0;
var couldBeWild1 = false;
var couldBeWild2 = false;
var couldBeWild3 = false;
var bonusWin = false;
var spinSpeed = 11;
var spinPrize = 0;
_global.stillspinning = false;
var howMuch = 0;
var myBonuseSpinSound = false;
var areYouSpinning = false;
var numColumns = 0;
var numRows = 0;
var platformHeight = 50;
var platformWidth = 50;
var platformSpaceBetween = 5;
var platformDepth = 10;
var walkerDepth = 1000;
var GFX = 100;
var GFY = 10;
var walkerSpeed = (0.1 * frameRate);
var moveToX = 0;
var moveToY = 0;
var boxPoints = 0;
var levelArray = new Array();
var numPlays = 0;
var numWins = 0;
var xStepSpeed = ((platformWidth + platformSpaceBetween) / walkerSpeed);
var yStepSpeed = ((platformHeight + platformSpaceBetween) / walkerSpeed);
var blnWalkerMoving = false;
var alreadycoins = false;
keyboardCommands = new Array();
createKeyboardCommand("moveUp", "This makes the walker move up", 38);
moveUpFunction = function () {
if ((!blnWalkerMoving) && (blnGameOn)) {
doButtonPressed(gameField.walker.X, gameField.walker.Y - 1);
}
};
createKeyboardCommand("moveRight", "This makes the walker move right", 39);
moveRightFunction = function () {
if ((!blnWalkerMoving) && (blnGameOn)) {
doButtonPressed(gameField.walker.X + 1, gameField.walker.Y);
}
};
createKeyboardCommand("moveDown", "This makes the walker move down", 40);
moveDownFunction = function () {
if ((!blnWalkerMoving) && (blnGameOn)) {
doButtonPressed(gameField.walker.X, gameField.walker.Y + 1);
}
};
createKeyboardCommand("moveLeft", "This makes the walker move left", 37);
moveLeftFunction = function () {
if ((!blnWalkerMoving) && (blnGameOn)) {
doButtonPressed(gameField.walker.X - 1, gameField.walker.Y);
}
};
createKeyboardCommand("pause", "This will pause the game", 80);
pauseFunction = function () {
if ((!blnWalkerMoving) && (blnGameOn)) {
pauseMessage.gotoAndStop(2);
}
};
createKeyboardCommand("ok", "This is the 'OK' button it's helpful", 13);
okFunction = function () {
okButtonAction();
};
createSound("clickSound");
createSound("overSound");
createSound("youWinSound");
var alreadyplayin = false;
var bonusChance = 20;
speedBonusCountdown = 0;
lightStepCountdown = 0;
okButtonAction = function () {
};
lookAtMe = new FocusManager();
function init() {
bonusSpin();
updateStuff();
defineProbs();
winnings = 0;
}
function defineProbs() {
countP = 0;
while (countP <= 0) {
probArray[countP] = "spin and win";
countP++;
}
while (countP <= 2) {
probArray[countP] = "5 times pay";
countP++;
}
while (countP <= 6) {
probArray[countP] = "7 red";
countP++;
}
while (countP <= 16) {
probArray[countP] = "7 bar";
countP++;
}
while (countP <= 36) {
probArray[countP] = "3 bar";
countP++;
}
while (countP <= 76) {
probArray[countP] = "2 bar";
countP++;
}
while (countP <= 135) {
probArray[countP] = "bar";
countP++;
}
while (countP <= 150) {
probArray[countP] = "money";
countP++;
}
while (countP <= 165) {
probArray[countP] = "spin";
countP++;
}
while (countP <= 399) {
probArray[countP] = "blank";
countP++;
}
}
function wonSomething(howMuch) {
winnings = winnings + (howMuch * _global.creditValue);
myCredits = myCredits + howMuch;
balance = balance + (howMuch * _global.creditValue);
_root.updateStuff();
_root.YayLights();
areYouSpinning = false;
}
function textBoxesinMoneyTerms() {
switch (_global.creditValue) {
case "1" :
_root.gotTheSpin.bsCreditValue.text = "1.00";
_root.creditValueText.text = "1.00";
break;
case "2" :
_root.gotTheSpin.bsCreditValue.text = "2.00";
_root.creditValueText.text = "2.00";
break;
case "5" :
_root.gotTheSpin.bsCreditValue.text = "5.00";
_root.creditValueText.text = "5.00";
}
_root.balanceText.text = FormatAsDollars(balance);
_root.winnerpaid.text = FormatAsDollars(winnings);
_root.totalBet.text = FormatAsDollars(_global.kindOfBet * _global.creditValue);
if ((_global.kindOfBet * _global.creditValue) == 0.1) {
_root.totalBet.text = ".10";
} else if ((_global.kindOfBet * _global.creditValue) == 0.5) {
_root.totalBet.text = ".50";
}
}
function FormatAsDollars(amountx, isCents) {
if (isNan(amountx)) {
return(NaN);
}
if (isCents != "isCents") {
amountx = amountx * 100;
amountx = Math.round(amountx);
}
amountx = String(Math.floor(amountx));
if (amountx.length == 1) {
return("0.0" + amountx);
}
if (amountx.length == 2) {
return("0." + amountx);
}
cents = amountx.slice(-2);
amountx = amountx.substring(0, amountx.length - 2);
dollars = [];
do {
dollars.push(amountx.slice(-3));
amountx = amountx.substring(0, amountx.length - 3);
} while (amountx.length > 3);
if (amountx.length) {
dollars.push(amountx);
}
dollars.reverse();
return((dollars.join() + ".") + cents);
}
function updateStuff() {
updateBank();
myCredits = Math.floor(balance / _global.creditValue);
_root.winnerpaid.text = FormatAsDollars(winnings);
_root.creditValueText.text = _global.creditValue;
_root.coins.text = _global.kindOfBet;
_root.theCredits.text = myCredits;
_root.balanceText.text = balance;
_root.totalBet.text = _global.kindOfBet * _global.creditValue;
_root.gotTheSpin.bsCreitValue.text = _global.creditValue;
_root.gotTheSpin.bscoins.text = "3";
_root.gotTheSpin.coinReflex.text = "3";
trace(_root.gotTheSpin.coinReflex.text);
_root.gotTheSpin.bsCredits.text = myCredits;
_root.gotTheSpin.award.text = FormatAsDollars(winnings);
_root.gotTheSpin.bsBalance.text = FormatAsDollars(balance);
_root.gotTheSpin.winnerReflex.text = _root.gotTheSpin.award.text;
trace(_root.gotTheSpin.winnerReflex.text);
trace("this is the text box");
_root.gotTheSpin.coinvalueReflex.text = _root.gotTheSpin.bsCreditValue.text;
textBoxesinMoneyTerms();
}
function betOne() {
if (areYouSpinning == true) {
} else {
trace("go to the betOne function");
switch (_global.kindOfBet) {
case "0" :
_global.kindOfBet = 1;
trace("switched to 1");
trace(_global.kindOfBet + "this is the new bet");
break;
case "1" :
_global.kindOfBet = 2;
trace("switched to 2");
trace(_global.kindOfBet + "this is the new bet");
break;
case "2" :
_global.kindOfBet = 3;
trace("switched to 3");
trace(_global.kindOfBet + "this is the new bet");
break;
case "3" :
_global.kindOfBet = 1;
trace("switched to 1");
trace(_global.kindOfBet + "this is the new bet");
}
updateStuff();
}
}
function whatSlotIsSpinning(whatNum, whatSlot) {
switch (probArray[whatNum]) {
case "spin" :
trace(whatSlot + " spin!!!!!!!!!!!!!!!!!!!!!");
Set(("_root.slot_" + whatSlot) + ".text", "spin");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "spin and win" :
Set(("_root.slot_" + whatSlot) + ".text", "spin and win");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, true);
break;
case "5 times pay" :
trace(whatSlot + "5 times pay");
Set(("_root.slot_" + whatSlot) + ".text", "5 times pay");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, true);
break;
case "7 red" :
trace(whatSlot + " 7 red");
Set(("_root.slot_" + whatSlot) + ".text", "7 red");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "7 bar" :
trace(whatSlot + "7 bar");
Set(("_root.slot_" + whatSlot) + ".text", "7 bar");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "3 bar" :
trace(whatSlot + "3 bar");
Set(("_root.slot_" + whatSlot) + ".text", "3 bar");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "2 bar" :
trace(whatSlot + " 2 bar");
Set(("_root.slot_" + whatSlot) + ".text", "2 bar");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "bar" :
trace(whatSlot + " bar");
Set(("_root.slot_" + whatSlot) + ".text", "bar");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "money" :
trace(whatSlot + " money");
Set(("_root.slot_" + whatSlot) + ".text", "money");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
break;
case "blank" :
Set(("_root.slot_" + whatSlot) + ".text", "blank");
eval ("Slot" + whatSlot).gotoAndPlay(2);
Set("couldBeWild" + whatSlot, false);
}
if (couldBeWild1 == true) {
trace("slot1 wild is true");
}
if (couldBeWild2 == true) {
trace("slot2 wild is true");
}
if (couldBeWild3 == true) {
trace("slot3 wild is true");
}
}
function theSymbols1() {
switch (_root.slot_1.text) {
case "spin and win" :
_root.Slot2.middle.gotoAndStop(1);
whatSymbol1 = 1;
break;
case "5 times pay" :
_root.Slot1.middle.gotoAndStop(2);
whatSymbol1 = 2;
break;
case "7 red" :
_root.Slot1.middle.gotoAndStop(3);
whatSymbol1 = 3;
break;
case "7 bar" :
_root.Slot1.middle.gotoAndStop(4);
whatSymbol1 = 4;
break;
case "3 bar" :
_root.Slot1.middle.gotoAndStop(5);
whatSymbol1 = 5;
break;
case "2 bar" :
_root.Slot1.middle.gotoAndStop(6);
whatSymbol1 = 6;
break;
case "bar" :
_root.Slot1.middle.gotoAndStop(7);
whatSymbol1 = 7;
break;
case "money" :
_root.Slot1.middle.gotoAndStop(8);
whatSymbol1 = 8;
break;
case "spin" :
case "blank" :
_root.Slot1.middle.gotoAndStop(9);
whatSymbol1 = 9;
}
do {
topSymbol1 = random(9);
} while (topSymbol1 == whatSymbol1);
do {
bottomSymbol1 = random(9);
} while ((bottomSymbol1 == whatSymbol1) or (bottomSymbol1 == topSymbol1));
_root.Slot1.theTop.gotoAndStop(topSymbol1);
_root.Slot1.theBottom.gotoAndStop(bottomSymbol1);
}
function theSymbols2() {
switch (_root.slot_2.text) {
case "spin and win" :
_root.Slot2.middletwo.gotoAndStop(1);
whatSymbol2 = 1;
break;
case "5 times pay" :
_root.Slot2.middletwo.gotoAndStop(2);
whatSymbol2 = 2;
break;
case "7 red" :
_root.Slot2.middletwo.gotoAndStop(3);
whatSymbol2 = 3;
break;
case "7 bar" :
_root.Slot2.middletwo.gotoAndStop(4);
whatSymbol2 = 4;
break;
case "3 bar" :
_root.Slot2.middletwo.gotoAndStop(5);
whatSymbol2 = 5;
break;
case "2 bar" :
_root.Slot2.middletwo.gotoAndStop(6);
whatSymbol2 = 6;
break;
case "bar" :
_root.Slot2.middletwo.gotoAndStop(7);
whatSymbol2 = 7;
break;
case "money" :
_root.Slot2.middletwo.gotoAndStop(8);
whatSymbol2 = 8;
break;
case "spin" :
case "blank" :
_root.Slot2.middletwo.gotoAndStop(9);
whatSymbol2 = 9;
}
do {
topSymbol2 = random(9);
} while (topSymbol2 == whatSymbol2);
do {
bottomSymbol2 = random(9);
} while ((bottomSymbol2 == whatSymbol2) or (bottomSymbol2 == topSymbol2));
_root.Slot2.theTop2.gotoAndStop(topSymbol2);
_root.Slot2.theBottom2.gotoAndStop(bottomSymbol2);
}
function theSymbols3() {
switch (_root.slot_3.text) {
case "spin" :
_root.Slot3.middle3.gotoAndStop(9);
whatSymbol3 = 9;
break;
case "spin and win" :
_root.Slot3.middle3.gotoAndStop(1);
whatSymbol3 = 1;
break;
case "5 times pay" :
_root.Slot3.middle3.gotoAndStop(2);
whatSymbol3 = 2;
break;
case "7 red" :
_root.Slot3.middle3.gotoAndStop(3);
whatSymbol3 = 3;
break;
case "7 bar" :
_root.Slot3.middle3.gotoAndStop(4);
whatSymbol3 = 4;
break;
case "3 bar" :
_root.Slot3.middle3.gotoAndStop(5);
whatSymbol3 = 5;
break;
case "2 bar" :
_root.Slot3.middle3.gotoAndStop(6);
whatSymbol3 = 6;
break;
case "bar" :
_root.Slot3.middle3.gotoAndStop(7);
whatSymbol3 = 7;
break;
case "money" :
_root.Slot3.middle3.gotoAndStop(8);
whatSymbol3 = 8;
break;
case "blank" :
_root.Slot3.middle3.gotoAndStop(10);
whatSymbol3 = 10;
}
do {
topSymbol3 = random(10);
} while (topSymbol3 == whatSymbol3);
do {
bottomSymbol3 = random(10);
} while ((bottomSymbol3 == whatSymbol3) or (bottomSymbol3 == topSymbol3));
_root.Slot3.theTop3.gotoAndStop(topSymbol3);
_root.Slot3.theBottom3.gotoAndStop(bottomSymbol3);
}
function YayLights() {
_root.lights.gotoAndPlay(2);
_root.lights.balanceLights.gotoAndPlay("blingBling");
_root.lights.totalLights.gotoAndPlay("blingBling");
}
function spin() {
myBonusSpinSound = false;
_global.extraSpin = false;
trace(_global.kindOfBet + "this is your bet===================================================");
alreadycoins = false;
alreadyplayin = false;
bonusWin = false;
myCredits = Math.floor(balance / _global.creditValue);
_root.lights.gotoAndStop(1);
_root.lights.balanceLights.gotoAndPlay(2);
_root.lights.totalLights.gotoAndPlay(2);
if (myCredits < _global.kindOfBet) {
_root.attachMovie("messageBox", "messageBox", 5000);
_root.messageBox._x = 148;
_root.messageBox._y = 115;
_root.messageBox.gotoAndStop(2);
} else {
_global.alreadyHitBSpin = false;
_global.betOneAlreadyPressed = true;
areYouSpinning = true;
_global.stillspinning = true;
_global.bSlot1Stopped = false;
_global.bSlot2Stopped = false;
_global.bSlot3Stopped = false;
_global.Slot1Stopped = false;
_global.Slot2Stopped = false;
_global.Slot3Stopped = false;
winnings = 0;
numberOne = g_fGetRandomValue(400);
numberTwo = g_fGetRandomValue(400);
numberThree = g_fGetRandomValue(400);
if (_global.kindOfBet == 1) {
myCredits = myCredits - 1;
balance = balance - _global.creditValue;
} else if (_global.kindOfBet == 2) {
myCredits = myCredits - 2;
balance = balance - (_global.creditValue * 2);
} else if (_global.kindOfBet == 3) {
balance = balance - (_global.creditValue * 3);
myCredits = myCredits - 3;
}
_root.theCredits.text = myCredits;
_root.whatSlotIsSpinning(numberOne, 1);
_root.whatSlotIsSpinning(numberTwo, 2);
_root.whatSlotIsSpinning(numberThree, 3);
}
updateStuff();
}
function checkifWild() {
if (((_root.slot_1.text == "spin and win") and (_root.slot_2.text == "spin and win")) and (_root.slot_3.text == "spin and win")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(10000);
}
} else if (((couldBeWild1 == true) and (couldBeWild2 == true)) and (couldBeWild3 == true)) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(8000);
}
} else if ((((couldBeWild1 == true) and (couldBeWild2 == true)) or ((couldBeWild2 == true) and (couldBeWild3 == true))) or ((couldBeWild1 == true) and (couldBeWild3 == true))) {
bonusWin = true;
if (((_root.slot_1.text == "7 red") or (_root.slot_2.text == "7 red")) or (_root.slot_3.text == "7 red")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(3000);
}
}
if (((_root.slot_1.text == "7 bar") or (_root.slot_2.text == "7 bar")) or (_root.slot_3.text == "7 bar")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(1250);
}
}
if (((_root.slot_1.text == "3 bar") or (_root.slot_2.text == "3 bar")) or (_root.slot_3.text == "3 bar")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(750);
}
}
if (((_root.slot_1.text == "2 bar") or (_root.slot_2.text == "2 bar")) or (_root.slot_3.text == "2 bar")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(500);
}
}
if (((_root.slot_1.text == "bar") or (_root.slot_2.text == "bar")) or (_root.slot_3.text == "bar")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(250);
}
}
if (((_root.slot_1.text == "money") or (_root.slot_2.text == "money")) or (_root.slot_3.text == "money")) {
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(250);
}
}
trace("I got here, now the question is do i go back to the reward Function?");
if (_root.slot_3.text == "spin") {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(5);
break;
case "2" :
_root.wonSomething(10);
}
}
}
if (((couldBeWild1 == true) and (couldBeWild2 != true)) and (couldBeWild3 != true)) {
if ((_root.slot_2.text == "7 red") and (_root.slot_3.text == "7 red")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(600);
}
} else if ((_root.slot_2.text == "7 bar") and (_root.slot_3.text == "7 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(500);
}
} else if ((_root.slot_2.text == "3 bar") and (_root.slot_3.text == "3 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(300);
}
} else if ((_root.slot_2.text == "2 bar") and (_root.slot_3.text == "2 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(200);
}
} else if ((_root.slot_2.text == "bar") and (_root.slot_3.text == "bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(100);
}
} else if ((_root.slot_2.text == "money") and (_root.slot_3.text == "money")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(100);
}
} else if (((((_root.slot_2.text == "bar") or (_root.slot_2.text == "3 bar")) or (_root.slot_2.text == "2 bar")) or (_root.slot_2.text == "7 bar")) and ((((_root.slot_3.text == "bar") or (_root.slot_3.text == "3 bar")) or (_root.slot_3.text == "2 bar")) or (_root.slot_3.text == "7 bar"))) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(50);
}
} else if ((_root.slot_2.text == "money") or (_root.slot_3.text == "money")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(50);
}
}
} else if (((couldBeWild2 == true) and (couldBeWild1 != true)) and (couldBeWild3 != true)) {
if ((_root.slot_1.text == "7 red") and (_root.slot_3.text == "7 red")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(600);
}
} else if ((_root.slot_1.text == "7 bar") and (_root.slot_3.text == "7 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(500);
}
} else if ((_root.slot_1.text == "3 bar") and (_root.slot_3.text == "3 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(300);
}
} else if ((_root.slot_1.text == "2 bar") and (_root.slot_3.text == "2 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(200);
}
} else if ((_root.slot_1.text == "bar") and (_root.slot_3.text == "bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(100);
}
} else if ((_root.slot_1.text == "money") and (_root.slot_3.text == "money")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(100);
}
} else if (((((_root.slot_1.text == "bar") or (_root.slot_1.text == "3 bar")) or (_root.slot_1.text == "2 bar")) or (_root.slot_1.text == "7 bar")) and ((((_root.slot_3.text == "bar") or (_root.slot_3.text == "3 bar")) or (_root.slot_3.text == "2 bar")) or (_root.slot_3.text == "7 bar"))) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(50);
}
} else if ((_root.slot_1.text == "money") or (_root.slot_3.text == "money")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(50);
}
}
} else if (((couldBeWild1 != true) and (couldBeWild2 != true)) and (couldBeWild3 == true)) {
if ((_root.slot_1.text == "7 red") and (_root.slot_2.text == "7 red")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(600);
}
} else if ((_root.slot_1.text == "7 bar") and (_root.slot_2.text == "7 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(500);
}
} else if ((_root.slot_1.text == "3 bar") and (_root.slot_2.text == "3 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(300);
}
} else if ((_root.slot_1.text == "2 bar") and (_root.slot_2.text == "2 bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(200);
}
} else if ((_root.slot_1.text == "bar") and (_root.slot_2.text == "bar")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(100);
}
} else if ((_root.slot_1.text == "money") and (_root.slot_2.text == "money")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(100);
}
} else if (((((_root.slot_1.text == "bar") or (_root.slot_1.text == "3 bar")) or (_root.slot_1.text == "2 bar")) or (_root.slot_1.text == "7 bar")) and ((((_root.slot_2.text == "bar") or (_root.slot_2.text == "3 bar")) or (_root.slot_2.text == "2 bar")) or (_root.slot_2.text == "7 bar"))) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(50);
}
} else if ((_root.slot_1.text == "money") or (_root.slot_2.text == "money")) {
bonusWin = true;
if (!(_global.kindOfBet === "3")) {
} else {
_root.wonSomething(50);
}
}
} else if (((((((couldBeWild1 == true) and (couldBeWild2 == true)) and (_root.slot_3.text == "blank")) or (((couldBeWild2 == true) and (couldBeWild3 == true)) and (_root.slot_1.text == "blank"))) or (((couldBeWild2 == true) and (couldBeWild3 == true)) and (_root.slot_1.text == "spin"))) or (((couldBeWild1 == true) and (couldBeWild3 == true)) and (_root.slot_2.text == "blank"))) or (((couldBeWild1 == true) and (couldBeWild3 == true)) and (_root.slot_2.text == "spin"))) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(25);
break;
case "2" :
_root.wonSomething(50);
break;
case "3" :
_root.wonSomething(250);
}
}
}
function spinsToBlanks() {
if (((((couldBeWild1 == true) and (couldBeWild2 == true)) and (_root.slot_3.text == "blank")) or (((couldBeWild2 == true) and (couldBeWild3 == true)) and (_root.slot_1.text == "blank"))) or (((couldBeWild1 == true) and (couldBeWild3 == true)) and (_root.slot_2.text == "blank"))) {
} else if ((((_root.slot_1.text == "money") and (_root.slot_2.text == "money")) or ((_root.slot_1.text == "money") and (_root.slot_3.text == "money"))) or ((_root.slot_2.text == "money") and (_root.slot_3.text == "money"))) {
doublewinnings == true;
switch (_global.kindOfBet) {
case "1" :
trace("what the?!");
_root.wonSomething(5);
break;
case "2" :
case "3" :
trace("what the?! again");
_root.wonSomething(10);
}
_root.YayLights();
} else if (((_root.slot_1.text == "money") or (_root.slot_2.text == "money")) or (_root.slot_3.text == "money")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(2);
break;
case "2" :
case "3" :
_root.wonSomething(4);
}
}
}
function upArrow() {
if (areYouSpinning == true) {
} else {
trace("up");
switch (_global.creditValue) {
case "1" :
_global.creditValue = 2;
_root.CreditValueText.text = _global.creditValue;
break;
case "2" :
_global.creditValue = 5;
_root.CreditValueText.text = _global.creditValue;
break;
case "5" :
_global.creditValue = 1;
_root.CreditValueText.text = _global.creditValue;
}
updateStuff();
_root.lights.totalLights.gotoAndPlay("blingBling");
}
}
function downArrow() {
if (areYouSpinning == true) {
} else {
switch (_global.creditValue) {
case "1" :
_global.creditValue = 5;
_root.CreditValueText.text = _global.creditValue;
break;
case "2" :
_global.creditValue = 1;
_root.CreditValueText.text = _global.creditValue;
break;
case "5" :
_global.creditValue = 2;
_root.CreditValueText.text = _global.creditValue;
}
updateStuff();
_root.lights.totalLights.gotoAndPlay("blingBling");
}
}
function rewards() {
checkifWild();
if (bonusWin == true) {
} else if (bonusWin == false) {
if (((_root.slot_1.text == "spin and win") and (_root.slot_2.text == "spin and win")) and (_root.slot_3.text == "spin and win")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(2000);
break;
case "2" :
_root.wonSomething(4000);
}
_root.YayLights();
} else if (((_root.slot_1.text == "5 times pay") and (_root.slot_2.text == "5 times pay")) and (_root.slot_3.text == "5 times pay")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(2000);
break;
case "2" :
_root.wonSomething(4000);
}
_root.YayLights();
} else if (((_root.slot_1.text == "7 red") and (_root.slot_2.text == "7 red")) and (_root.slot_3.text == "7 red")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(60);
break;
case "2" :
case "3" :
_root.wonSomething(120);
}
_root.YayLights();
} else if (((_root.slot_1.text == "7 bar") and (_root.slot_2.text == "7 bar")) and (_root.slot_3.text == "7 bar")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(50);
break;
case "2" :
case "3" :
_root.wonSomething(100);
}
_root.YayLights();
} else if ((((_root.slot_1.text == "7 red") or (_root.slot_1.text == "7 bar")) and ((_root.slot_2.text == "7 red") or (_root.slot_2.text == "7 bar"))) and ((_root.slot_3.text == "7 bar") or (_root.slot_3.text == "7 red"))) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(40);
break;
case "2" :
case "3" :
_root.wonSomething(80);
}
_root.YayLights();
} else if (((_root.slot_1.text == "3 bar") and (_root.slot_2.text == "3 bar")) and (_root.slot_3.text == "3 bar")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(30);
break;
case "2" :
case "3" :
_root.wonSomething(60);
}
trace("YAY!");
} else if (((_root.slot_1.text == "2 bar") and (_root.slot_2.text == "2 bar")) and (_root.slot_3.text == "2 bar")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(20);
break;
case "2" :
case "3" :
_root.wonSomething(40);
}
_root.YayLights();
} else if (((_root.slot_1.text == "bar") and (_root.slot_2.text == "bar")) and (_root.slot_3.text == "bar")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(10);
break;
case "2" :
case "3" :
_root.wonSomething(20);
}
_root.lights.gotoAndPlay(2);
} else if (((_root.slot_1.text == "spin") or (_root.slot_2.text == "spin")) or (_root.slot_3.text == "spin")) {
if (_root.slot_1.text == "spin") {
trace("I am a blank now -Slot_1.text");
_root.slot_1.text = "blank";
}
if (_root.slot_2.text == "spin") {
trace("I am a blank now -Slot_2.text");
_root.slot_2.text = "blank";
}
if (_root.slot_3.text == "spin") {
trace("where'd you go");
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(5);
break;
case "2" :
_root.wonSomething(10);
break;
case "3" :
trace("!!!!!!EXTRA SPIN!!!!!!!");
_global.extraSpin = true;
trace("_global.extraSpin" + _global.extraSpin);
}
_root.YayLights();
}
} else if ((((((_root.slot_1.text == "bar") or (_root.slot_1.text == "2 bar")) or (_root.slot_1.text == "3 bar")) or (_root.slot_1.text == "7 bar")) and ((((_root.slot_2.text == "bar") or (_root.slot_2.text == "2 bar")) or (_root.slot_2.text == "3 bar")) or (_root.slot_2.text == "7 bar"))) and ((((_root.slot_3.text == "bar") or (_root.slot_3.text == "2 bar")) or (_root.slot_3.text == "3 bar")) or (_root.slot_3.text == "7 bar"))) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(5);
break;
case "2" :
case "3" :
_root.wonSomething(10);
}
_root.YayLights();
} else if (((_root.slot_1.text == "money") and (_root.slot_2.text == "money")) and (_root.slot_3.text == "money")) {
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(10);
break;
case "2" :
case "3" :
_root.wonSomething(20);
}
_root.YayLights();
} else if (((((_root.slot_1.text == "money") and (_root.slot_2.text == "money")) or ((_root.slot_1.text == "money") and (_root.slot_3.text == "money"))) or ((_root.slot_2.text == "money") and (_root.slot_3.text == "money"))) and ((_root.slot_1.text != "spin") and (_root.slot_2.text != "spin"))) {
doublewinnings == true;
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(5);
break;
case "2" :
case "3" :
_root.wonSomething(10);
}
_root.YayLights();
} else if ((((_root.slot_1.text == "money") or (_root.slot_2.text == "money")) or (_root.slot_3.text == "money")) and ((_root.slot_1.text != "spin") and (_root.slot_2.text != "spin"))) {
trace("you got the money");
switch (_global.kindOfBet) {
case "1" :
_root.wonSomething(2);
break;
case "2" :
case "3" :
_root.wonSomething(4);
}
} else {
_global.IpressedBet = true;
_root.lights.balanceLights.gotoAndPlay("blingBling");
areYouSpinning = false;
}
}
}
function checkIfExtraSpin() {
if (_global.kindOfBet == 3) {
_global.extraSpin = true;
}
}
function bonusSpin() {
countQ = 0;
while (countQ <= 7) {
bonusArray[countQ] = "pink 5000";
countQ++;
}
while (countQ <= 15) {
bonusArray[countQ] = "blue 5000";
countQ++;
}
while (countQ <= 29) {
bonusArray[countQ] = "yellow 2500";
countQ++;
}
while (countQ <= 80) {
bonusArray[countQ] = "yellow 500";
countQ++;
}
while (countQ <= 149) {
bonusArray[countQ] = "white 500";
countQ++;
}
while (countQ <= 229) {
bonusArray[countQ] = "red 250";
countQ++;
}
while (countQ <= 349) {
bonusArray[countQ] = "red 200";
countQ++;
}
while (countQ <= 499) {
bonusArray[countQ] = "green 150";
countQ++;
}
while (countQ <= 699) {
bonusArray[countQ] = "white 50";
countQ++;
}
while (countQ <= 899) {
bonusArray[countQ] = "red 50 1";
countQ++;
}
while (countQ <= 1099) {
bonusArray[countQ] = "blue 50";
countQ++;
}
while (countQ <= 1299) {
bonusArray[countQ] = "red 50 2";
countQ++;
}
while (countQ <= 1599) {
bonusArray[countQ] = "white 35";
countQ++;
}
while (countQ <= 1899) {
bonusArray[countQ] = "green 35";
countQ++;
}
while (countQ <= 2199) {
bonusArray[countQ] = "red 35";
countQ++;
}
while (countQ <= 2499) {
bonusArray[countQ] = "rose 35";
countQ++;
}
while (countQ <= 2999) {
bonusArray[countQ] = "rose 30";
countQ++;
}
while (countQ <= 3499) {
bonusArray[countQ] = "green 30";
countQ++;
}
while (countQ <= 4499) {
bonusArray[countQ] = "red 25";
countQ++;
}
while (countQ <= 5499) {
bonusArray[countQ] = "yellow 25 1";
countQ++;
}
while (countQ <= 6499) {
bonusArray[countQ] = "yellow 25 2";
countQ++;
}
while (countQ <= 7499) {
bonusArray[countQ] = "green 25";
countQ++;
}
while (countQ <= 8499) {
bonusArray[countQ] = "blue 25";
countQ++;
}
while (countQ <= 9999) {
bonusArray[countQ] = "rose 10";
countQ++;
}
}
function bonusSpinAward() {
updateStuff();
bonusNumber = g_fGetRandomValue(10000);
switch (bonusArray[bonusNumber]) {
case "pink 5000" :
spinPrize = 345;
break;
case "blue 5000" :
trace("blue 5000");
spinPrize = 227;
break;
case "yellow 2500" :
trace("yellow 2500");
spinPrize = 106;
break;
case "yellow 500" :
trace("yellow 500");
spinPrize = 62;
break;
case "white 500" :
trace("white 500");
spinPrize = 315;
break;
case "red 250" :
trace("red 250");
spinPrize = 335;
break;
case "red 200" :
trace("red 200");
spinPrize = 210;
break;
case "green 150" :
trace("green 150");
spinPrize = 76;
break;
case "white 50" :
trace("white 50");
spinPrize = 10;
break;
case "red 50 1" :
trace("red 50 1");
spinPrize = 265;
break;
case "blue 50" :
trace("blue 50");
spinPrize = 180;
break;
case "red 50 2" :
trace("red 50 2");
spinPrize = 96;
break;
case "white 35" :
trace("white 35");
spinPrize = 50;
break;
case "green 35" :
trace("green 35");
spinPrize = 307;
break;
case "red 35" :
trace("red 35");
spinPrize = 150;
break;
case "rose 35" :
trace("rose 35");
spinPrize = 114;
break;
case "rose 30" :
trace("rose 30");
spinPrize = 355;
break;
case "green 30" :
trace("green 30");
spinPrize = 255;
break;
case "red 25" :
trace("red 25");
spinPrize = 30;
break;
case "yellow 25 1" :
trace("yellow 25 1");
spinPrize = 285;
break;
case "yellow 25 2" :
trace("yellow 25 2");
spinPrize = 235;
break;
case "green 25" :
trace("green 25");
spinPrize = 128;
break;
case "blue 25" :
trace("blue 25");
spinPrize = 170;
break;
case "rose 10" :
spinPrize = 199;
}
_root.gotTheSpin.bigWheel.BigWheelToo._rotation = spinPrize;
_root.gotTheSpin.topSpokes.spokesToo._rotation = spinPrize;
_root.gotTheSpin.bottomSpokes.spokesToo._rotation = spinPrize;
}
function spinTheWheel() {
myFastTap = new Sound();
myFastTap.attachSound("wheelTapFast");
myFastTap.start(0, 100);
blnSpinning = true;
n = 11;
_root.onEnterFrame = function () {
if (blnSpinning) {
_root.gotTheSpin.bigWheel.BigWheelToo._rotation = _root.gotTheSpin.bigWheel.BigWheelToo._rotation + spinSpeed;
_root.gotTheSpin.topSpokes.spokesToo._rotation = _root.gotTheSpin.topSpokes.spokesToo._rotation + spinSpeed;
_root.gotTheSpin.bottomSpokes.spokesToo._rotation = _root.gotTheSpin.bottomSpokes.spokesToo._rotation + spinSpeed;
if (spinSpeed > 0) {
spinSpeed = spinSpeed - 0.05;
} else {
spinSpeed = 0;
}
offset = (7.5 + _root.gotTheSpin.bigWheel.BigWheelToo._rotation) % 7.5;
if (offset < 0) {
offset = offset + 7.5;
}
if (spinSpeed > 3) {
tagRotation = random(20);
} else if (offset >= 5) {
tagRotation = 15 * (offset / 5);
} else if (tagRotation > 0) {
myFastTap.stop();
myTap = new Sound();
myTap.attachSound("wheelTap");
myTap.start();
tagRotation = 0;
}
_root.gotTheSpin.arrowThing._rotation = -1 * tagRotation;
n = Math.ceil(Math.ceil(_root.gotTheSpin.bigWheel.BigWheelToo._rotation) + spinSpeed);
if (spinSpeed == 0) {
var _local4 = true;
trace(_local4);
trace("I just set it to true");
blnSpinning = false;
delete this.onEnterFrame;
hurraySound = new Sound();
hurraySound.attachSound("Bonus Spin");
hurraySound.start();
switch (bonusArray[bonusNumber]) {
case "blue 5000" :
case "pink 5000" :
_root.wonSomething(5000);
break;
case "yellow 2500" :
_root.wonSomething(2500);
break;
case "yellow 500" :
case "white 500" :
_root.wonSomething(500);
break;
case "red 250" :
_root.wonSomething(250);
break;
case "red 200" :
_root.wonSomething(200);
break;
case "green 150" :
_root.wonSomething(150);
break;
case "white 50" :
case "red 50 1" :
case "blue 50" :
case "red 50 2" :
_root.wonSomething(50);
break;
case "white 35" :
case "green 35" :
case "red 35" :
case "rose 35" :
_root.wonSomething(35);
break;
case "green 30" :
case "rose 30" :
_root.wonSomething(30);
break;
case "red 25" :
case "yellow 25 1" :
case "yellow 25 2" :
case "green 25" :
case "blue 25" :
_root.wonSomething(25);
break;
case "rose 10" :
_global.meCoins = 10;
_root.wonSomething(10);
}
_root.gotTheSpin.lights.gotoAndPlay(2);
spinSpeed = 11;
}
}
};
}
function movinSlots() {
slotSound = new Sound();
slotSound.attachSound("slotSpinning");
slotSound.start(0, 3);
}
function stopThatSound() {
slotSound.stop();
trace("@@@@@@@@@@@@@@@@@@STOP THE SpINNIN SOUND");
}
function slotStopSound() {
trace("Slot Stop");
var _local2 = new Sound(this);
_local2.attachSound("singleSlotClick");
_local2.start();
}
function clickinSound() {
var _local2 = new Sound(this);
_local2.attachSound("button push");
_local2.start();
}
function wonSounds() {
trace(myBonuseSpinSound);
trace("thats what it is");
if (myBonusSpinSound == true) {
} else if (myBonusSpinSound != true) {
if (alreadyplayin == false) {
var _local2 = new Sound(this);
_local2.attachSound("winning combo");
_local2.start();
alreadyplayin = true;
} else {
}
}
}
function fancyBox() {
_root.attachMovie("messageBox", "messageBox", 50034);
_root.messageBox._x = 148;
_root.messageBox._y = 115;
_root.messageBox.gotoAndStop(3);
_root.messageBox.congratsMoney.text = _root.FormatAsDollars(winnings);
}
function startNewRound() {
if (points > highestPoints) {
highestPoints = points;
saveUserData();
}
numMoves = 0;
blnGameOn = false;
removeClips();
decodeLevel(level);
timer = levelTime;
if (storedSeed == null) {
storedSeed = g_numRandomSeed;
} else {
g_numRandomSeed = storedSeed;
}
createGameBoard();
setupBoard();
blnGameOn = true;
showHelp("finishHelp");
}
function loadPuzzleValues() {
count = 0;
while (count < puzzle_XML.firstChild.childNodes[0].childNodes.length) {
levelArray[count] = puzzle_XML.firstChild.childNodes[0].childNodes[count];
count++;
}
}
function decodeLevel(theNum) {
numColumns = Number(levelArray[theNum].attributes.columns);
numRows = Number(levelArray[theNum].attributes.rows);
boxPoints = Number(levelArray[theNum].attributes.boxPoints);
numSteps = Number(levelArray[theNum].attributes.steps);
numRands = Number(levelArray[theNum].attributes.rands);
exits = Number(levelArray[theNum].attributes.exits);
forceUnder = Number(levelArray[theNum].attributes.forceUnder);
percentGreen = Number(levelArray[theNum].attributes.percentGreen);
levelTime = Number(levelArray[theNum].attributes.levelTime);
teleport = Number(levelArray[theNum].attributes.teleport);
playFieldHeight = platformHeight * numRows;
}
function createGameBoard() {
}
function setupBoard() {
}
function gameOver() {
timeWarningSound.stop();
saveUserData();
blnGameOn = false;
removeClips();
gotoAndStop ("gameOverFrame");
}
function removeClips() {
}
function playAgain() {
gotoAndPlay ("startFrame");
}
function helpMessageOk() {
clickSound.start();
helpMessage._x = -500;
helpMessage.gotoAndStop(1);
blnGameOn = true;
_root.okButtonAction = _root.btnActionHolder;
}
function pauseMessageOk() {
clickSound.start();
pauseMessage._x = -500;
pauseMessage.gotoAndStop(1);
blnGameOn = true;
_root.okButtonAction = _root.btnActionHolder;
}
function startButton() {
gotoAndPlay ("loadingFrame");
clickSound.start();
}
function createNewUser() {
userVars.data.points = highestPoints;
userVars.data.userVars.flush();
saveAndLoad();
}
function saveUserData() {
userVars.data.points = highestPoints;
userVars.data.userVars.flush();
}
function loadUserData() {
highestPoints = Number(userVars.data.points);
}
function updateBank() {
trace("change" + (balance - _root.balanceOld));
if (((startNewGameUrl != "guest") && (result == "ok")) && ((balance - _root.balanceOld) != 0)) {
if ((balance - _root.balanceOld) > 0) {
var _local2 = "Win Treats";
} else {
var _local2 = "Treat Wager";
}
_root.gameBankXML;
(updateBalanceUrl + "?params=") + TEAEncrypt((((((("playID=" + playID) + "&changebalance=") + (balance - _root.balanceOld)) + "&comment=") + _local2) + "&secretKey=") + secretKey, tKey);
_root.balanceOld = balance;
result = "sent";
}
}
spinSpeed = 11;
_global.ipb_get_gname = function () {
var _loc4 = _root._url;
var _loc5 = "";
var _loc2 = "";
var _loc6 = (_loc4.lastIndexOf("\\") + 1);
if ((_loc6 == -1) || (_loc6 == 0)) {
_loc6 = _loc4.lastIndexOf("/") + 1;
}
var _loc3 = _loc6;
var _loc7 = String(_loc4).length;
while (_loc3 < String(_loc4).length) {
_loc2 = _loc4.charAt(_loc3);
if (_loc2 == ".") {
break;
}
_loc5 = _loc5 + _loc2;
_loc3++;
}
return(_loc5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
Instance of Symbol 185 MovieClip "Bar" in Frame 1
onClipEvent (enterFrame) {
numTotal = _root.getBytesTotal();
numLoaded = _root.getBytesLoaded();
numPercent = Math.floor((numLoaded * 100) / numTotal);
this.gotoAndStop(numPercent);
if (numPercent < 10) {
strL = "0" + numPercent;
} else {
strL = numPercent;
}
_root.strLoaded = strL + "%";
if (numPercent >= 99) {
_root.gotoAndPlay("introFrame");
}
}
Frame 2
Frame 3
balance = 500;
Frame 4
saveAndLoad();
_root.okButtonAction = startButton;
mySwitch = _global.creditValue;
blnSpinning = false;
bonusArray = new Array(10000);
probArray = new Array(400);
_global.creditValue = 1;
_global.kindOfBet = 0;
_global.bounusSpin = false;
_global.betOneAlreadyPressed = false;
winnings = 0;
couldBeWild1 = false;
couldBeWild2 = false;
couldBeWild3 = false;
bonusWin = false;
spinSpeed = 11;
spinPrize = 0;
_global.stillspinning = false;
howMuch = 0;
myBonuseSpinSound = false;
areYouSpinning = false;
Frame 6
stop();
Frame 7
stop();
_quality = "BEST";
_root.balanceOld = balance;
_root.okButtonAction = function () {
};
init();
startNewRound();
_root.credits.text = Math.floor(balance / _global.creditValue);
_root.balanceText.text = balance;
_root.totalBet.text = _global.kindOfBet * _global.creditValue;
_root.CreditValueText.text = _global.creditValue;
_root.coins.text = _global.kindOfBet;
_root.theCredits.text = myCredits;
_root.winnerpaid.text = winnings;
_root.textBoxesinMoneyTerms();
function g_fSetGameSize(a_numWidth, a_numHeight) {
g_numGameWidth = a_numWidth;
g_numGameHeight = a_numHeight;
}
function playAgain() {
_root.gotoAndPlay(2);
}
g_fSetGameSize(660, 470);
endContainer.playAgain = function () {
_root.playAgain();
};
Frame 8
stop();
endContainer.g_numScore = balance;
mcGameEnd.removeMovieClip();
if ((crypto == 2) || (crypto == 0)) {
postGameLog();
_root.xmlGameEnd;
(gameEndSubmitUrl + "?params=") + TEAEncrypt((((("freePlayID=" + freeplayid) + "&score=") + endContainer.g_numScore) + "&timeStamp=") + timeStamp, tKey);
} else {
trace("config");
_root.t_fLoadGameEnd();
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 1
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
Symbol 82 MovieClip Frame 42
_root.gotTheSpin.gotoAndStop(2);
Symbol 101 Button
on (press) {
if (_global.alreadyHitBSpin == false) {
_root.clickinSound();
_root.spinTheWheel();
_global.alreadyHitBSpin = true;
}
}
Symbol 113 MovieClip Frame 1
Symbol 113 MovieClip Frame 21
gotoAndPlay (2);
Symbol 113 MovieClip Frame 46
gotoAndPlay (2);
Symbol 122 MovieClip [gotTheSpin] Frame 1
_root.updateStuff();
_root.bonusSpinAward();
stop();
Instance of Symbol 19 MovieClip in Symbol 122 MovieClip [gotTheSpin] Frame 1
on (press) {
}
Symbol 122 MovieClip [gotTheSpin] Frame 2
_root.fancyBox();
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip [noMoney] Frame 1
on (press) {
_root.noMoney.removeMovieClip();
}
Instance of Symbol 147 MovieClip [placeBetOK] in Symbol 148 MovieClip [placeBetsPlease] Frame 1
on (press) {
_root.placeBet.removeMovieClip();
}
Instance of Symbol 19 MovieClip in Symbol 152 MovieClip [paytable] Frame 1
on (press) {
}
Instance of Symbol 151 MovieClip in Symbol 152 MovieClip [paytable] Frame 1
on (press) {
_root.paytable._x = -1000;
_root.paytable._y = -1000;
}
Instance of Symbol 19 MovieClip in Symbol 156 MovieClip [mySpin] Frame 1
on (press) {
}
Symbol 156 MovieClip [mySpin] Frame 19
_root.attachMovie("gotTheSpin", "gotTheSpin", 10000);
_global.stillspinning = false;
_root.gotTheSpin.bsCreditValue.text = _global.creditValue;
_root.textBoxesinMoneyTerms();
_root.gotTheSpin.bscoins.text = "3";
_root.gotTheSpin.bsCredits.text = myCredits;
_root.gotTheSpin.coinReflex.text = "3";
_root.gotTheSpin.award.text = winnings;
_root.gotTheSpin.bsBalance.text = FormatAsDollars(balance);
_root.updateStuff();
_global.extraSpin = false;
trace(_global.extraSpin + "_global.extraSpin");
this.removeMovieClip();
Symbol 167 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 181 MovieClip [messageBox] Frame 1
stop();
Instance of Symbol 167 MovieClip in Symbol 181 MovieClip [messageBox] Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.messageBox.removeMovieClip();
}
Symbol 181 MovieClip [messageBox] Frame 2
stop();
Symbol 181 MovieClip [messageBox] Frame 3
stop();
Instance of Symbol 167 MovieClip in Symbol 181 MovieClip [messageBox] Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
if (_root.messageBox._currentframe == 3) {
_global.stillspinning = false;
_root.gotTheSpin.removeMovieClip();
_root.messageBox.removeMovieClip();
} else {
_root.messageBox.removeMovieClip();
}
}
Symbol 181 MovieClip [messageBox] Frame 4
stop();
Instance of Symbol 177 MovieClip in Symbol 181 MovieClip [messageBox] Frame 4
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.messageBox.removeMovieClip();
}
Instance of Symbol 180 MovieClip in Symbol 181 MovieClip [messageBox] Frame 4
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.gotoAndStop("gameOverFrame");
_root.messageBox.removeMovieClip();
}
Symbol 337 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 338 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 339 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 340 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 341 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 342 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
_root.wonSounds();
Symbol 202 MovieClip Frame 12
if (_global.extraSpin == true) {
}
this.gotoAndPlay(2);
Symbol 216 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.spinNwinbottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.spinNwinbottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.spinNwinbottom1.gotoAndPlay(10);
}
}
Symbol 216 MovieClip Frame 6
stop();
Symbol 216 MovieClip Frame 18
stop();
Symbol 219 MovieClip Frame 1
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.paybottom3.gotoAndPlay(10);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.paybottom2.gotoAndPlay(10);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.paybottom1.gotoAndPlay(10);
}
}
Symbol 219 MovieClip Frame 6
stop();
Symbol 219 MovieClip Frame 10
trace("hey there");
Symbol 219 MovieClip Frame 18
stop();
Symbol 222 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.sevenredbottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.sevenredbottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.sevenredbottom1.gotoAndPlay(10);
}
}
Symbol 222 MovieClip Frame 6
stop();
Symbol 222 MovieClip Frame 18
stop();
Symbol 224 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.sevenbarbottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.sevenbarbottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.sevenbarbottom1.gotoAndPlay(10);
}
}
Symbol 224 MovieClip Frame 6
stop();
Symbol 224 MovieClip Frame 18
stop();
Symbol 225 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.threebarbottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.threebarbottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.threebarbottom1.gotoAndPlay(10);
}
}
Symbol 225 MovieClip Frame 6
stop();
Symbol 225 MovieClip Frame 18
stop();
Symbol 228 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.twobarbottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.bottom2.twobarbottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.twobarbottom1.gotoAndPlay(10);
}
}
Symbol 228 MovieClip Frame 6
stop();
Symbol 228 MovieClip Frame 18
stop();
Symbol 231 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.barbottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.barbottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.barbottom1.gotoAndPlay(10);
}
}
Symbol 231 MovieClip Frame 6
stop();
Symbol 231 MovieClip Frame 18
stop();
Symbol 234 MovieClip Frame 1
if (_global.bSlot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theBottom3.moneybottom3.gotoAndPlay(10);
}
}
if (_global.bSlot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theBottom2.moneybottom2.gotoAndPlay(10);
}
}
if (_global.bSlot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theBottom.moneybottom1.gotoAndPlay(10);
}
}
Symbol 234 MovieClip Frame 6
stop();
Symbol 234 MovieClip Frame 18
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 3
stop();
Symbol 235 MovieClip Frame 4
stop();
Symbol 235 MovieClip Frame 5
stop();
Symbol 235 MovieClip Frame 6
stop();
Symbol 235 MovieClip Frame 7
stop();
Symbol 235 MovieClip Frame 8
stop();
Symbol 235 MovieClip Frame 9
stop();
trace("got here");
Symbol 237 MovieClip Frame 6
stop();
Symbol 239 MovieClip Frame 6
stop();
Symbol 241 MovieClip Frame 6
stop();
Symbol 243 MovieClip Frame 6
stop();
Symbol 244 MovieClip Frame 6
stop();
Symbol 245 MovieClip Frame 6
stop();
Symbol 247 MovieClip Frame 6
stop();
Symbol 248 MovieClip Frame 6
stop();
Symbol 249 MovieClip Frame 1
stop();
trace("frame 1");
Symbol 249 MovieClip Frame 2
stop();
trace("frame 2");
Symbol 249 MovieClip Frame 3
stop();
trace("frame 3");
Symbol 249 MovieClip Frame 4
stop();
trace("frame 4");
Symbol 249 MovieClip Frame 5
stop();
trace("frame 5");
Symbol 249 MovieClip Frame 6
stop();
trace("frame 6");
Symbol 249 MovieClip Frame 7
stop();
trace("frame 7");
Symbol 249 MovieClip Frame 8
stop();
trace("frame 8");
Symbol 249 MovieClip Frame 9
stop();
trace("frame 9");
Symbol 250 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.spinNwintop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
_root.Slot2.theTop2.spinNwintop2.gotoAndPlay(7);
trace("the 2nd slot is blank (-top)");
}
}
if (_global.Slot1Stopped == true) {
trace("what the symbol?");
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.spinNwintop1.gotoAndPlay(7);
trace("the 1st slot is blank (-top)");
}
}
Symbol 250 MovieClip Frame 7
trace("its working");
Symbol 250 MovieClip Frame 9
stop();
Symbol 252 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.paytop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.paytop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.paytop1.gotoAndPlay(7);
}
}
Symbol 252 MovieClip Frame 9
stop();
Symbol 255 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.sevenredtop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.sevenredtop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.sevenredtop1.gotoAndPlay(7);
}
}
Symbol 255 MovieClip Frame 9
stop();
Symbol 257 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.sevenbartop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.sevenbartop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.sevenbartop1.gotoAndPlay(7);
}
}
Symbol 257 MovieClip Frame 9
stop();
Symbol 258 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.threebartop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.threebartop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.threebartop1.gotoAndPlay(7);
}
}
Symbol 258 MovieClip Frame 9
stop();
Symbol 260 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.twobartop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.twobartop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.twobartop1.gotoAndPlay(7);
}
}
Symbol 260 MovieClip Frame 9
stop();
Symbol 262 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.bartop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.bartop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.bartop1.gotoAndPlay(7);
}
}
Symbol 262 MovieClip Frame 9
stop();
Symbol 264 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
_root.Slot3.theTop3.moneytop3.gotoAndPlay(7);
}
}
if (_global.Slot2Stopped == true) {
if ((_root.slot_2.text == "blank") or (_root.slot_2.text == "spin")) {
trace("the 2nd slot is blank (-top)");
_root.Slot2.theTop2.moneytop2.gotoAndPlay(7);
}
}
if (_global.Slot1Stopped == true) {
if ((_root.slot_1.text == "blank") or (_root.slot_1.text == "spin")) {
_root.Slot1.theTop.moneytop1.gotoAndPlay(7);
}
}
Symbol 264 MovieClip Frame 9
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
stop();
Symbol 265 MovieClip Frame 3
stop();
Symbol 265 MovieClip Frame 4
stop();
Symbol 265 MovieClip Frame 5
stop();
Symbol 265 MovieClip Frame 6
stop();
Symbol 265 MovieClip Frame 7
stop();
Symbol 265 MovieClip Frame 8
stop();
Symbol 265 MovieClip Frame 9
stop();
trace("got here");
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
_root.movinSlots();
Symbol 266 MovieClip Frame 11
_root.theSymbols1();
_global.Slot1Stopped = true;
_global.bSlot1Stopped = true;
Symbol 266 MovieClip Frame 15
_root.slotStopSound();
Symbol 266 MovieClip Frame 17
stop();
_global.Slot1Stopped = false;
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
stop();
Symbol 269 MovieClip Frame 3
stop();
Symbol 269 MovieClip Frame 4
stop();
Symbol 269 MovieClip Frame 5
stop();
Symbol 269 MovieClip Frame 6
stop();
Symbol 269 MovieClip Frame 7
stop();
Symbol 269 MovieClip Frame 8
stop();
Symbol 269 MovieClip Frame 9
stop();
trace("got here");
Symbol 270 MovieClip Frame 6
stop();
trace("this isn't the one!");
Symbol 271 MovieClip Frame 6
stop();
trace("or this one");
Symbol 272 MovieClip Frame 6
stop();
trace("or this one");
Symbol 273 MovieClip Frame 6
stop();
trace("or this one");
Symbol 274 MovieClip Frame 6
stop();
trace("or this one");
Symbol 275 MovieClip Frame 6
stop();
trace("or this one");
Symbol 276 MovieClip Frame 6
stop();
trace("or this one");
Symbol 277 MovieClip Frame 6
stop();
trace("or this one");
Symbol 279 MovieClip Frame 1
stop();
trace("this is the one");
Symbol 280 MovieClip Frame 1
stop();
trace("frame 1");
Symbol 280 MovieClip Frame 2
stop();
trace("frame 2");
Symbol 280 MovieClip Frame 3
stop();
trace("frame 3");
Symbol 280 MovieClip Frame 4
stop();
trace("frame 4");
Symbol 280 MovieClip Frame 5
stop();
trace("frame 5");
Symbol 280 MovieClip Frame 6
stop();
trace("frame 6");
Symbol 280 MovieClip Frame 7
stop();
trace("frame 7");
Symbol 280 MovieClip Frame 8
stop();
trace("frame 8");
Symbol 280 MovieClip Frame 9
stop();
trace("frame 9");
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
stop();
Symbol 281 MovieClip Frame 3
stop();
Symbol 281 MovieClip Frame 4
stop();
Symbol 281 MovieClip Frame 5
stop();
Symbol 281 MovieClip Frame 6
stop();
Symbol 281 MovieClip Frame 7
stop();
Symbol 281 MovieClip Frame 8
stop();
Symbol 281 MovieClip Frame 9
stop();
trace("got here");
Symbol 282 MovieClip Frame 1
_global.Slot2Stopped = false;
stop();
Symbol 282 MovieClip Frame 2
Symbol 282 MovieClip Frame 39
_root.theSymbols2();
_global.Slot2Stopped = true;
_global.bSlot2Stopped = true;
_global.bSlot1Stopped = false;
Symbol 282 MovieClip Frame 42
_root.slotStopSound();
Symbol 282 MovieClip Frame 44
stop();
_global.Slot2Stopped = false;
_global.Slot1Stopped = false;
Symbol 284 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
if (_root.slot_3.text == "blank") {
this.gotoAndPlay(10);
trace("slot 3 blank");
}
Symbol 289 MovieClip Frame 6
stop();
Symbol 289 MovieClip Frame 18
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 3
stop();
Symbol 290 MovieClip Frame 4
stop();
Symbol 290 MovieClip Frame 5
stop();
Symbol 290 MovieClip Frame 6
stop();
Symbol 290 MovieClip Frame 7
stop();
Symbol 290 MovieClip Frame 8
stop();
Symbol 290 MovieClip Frame 9
stop();
Symbol 290 MovieClip Frame 10
stop();
trace("got here");
Symbol 291 MovieClip Frame 5
_root.checkIfExtraSpin();
Symbol 291 MovieClip Frame 6
stop();
trace("here too");
if (_global.extraSpin == true) {
yaySound = new Sound(this);
yaySound.attachSound("spin icon stop");
yaySound.start();
_root.attachMovie("mySpin", "mySpin", 10000);
_root.mySpin._x = 403;
_root.mySpin._y = 134;
_root.mySpin.gotoAndPlay(2);
trace("spin two win");
}
Symbol 291 MovieClip Frame 21
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 2
stop();
Symbol 292 MovieClip Frame 3
stop();
Symbol 292 MovieClip Frame 4
stop();
Symbol 292 MovieClip Frame 5
stop();
Symbol 292 MovieClip Frame 6
stop();
Symbol 292 MovieClip Frame 7
stop();
Symbol 292 MovieClip Frame 8
stop();
Symbol 292 MovieClip Frame 9
stop();
Symbol 292 MovieClip Frame 10
stop();
Symbol 293 MovieClip Frame 6
stop();
if (_global.Slot3Stopped == true) {
if (_root.slot_3.text == "blank") {
trace("spin told you so!!!!!!!!!!!!!!!!!!!!!!!");
_root.Slot3.theTop3.spintop3.gotoAndPlay(7);
}
}
Symbol 293 MovieClip Frame 9
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 3
stop();
Symbol 294 MovieClip Frame 4
stop();
Symbol 294 MovieClip Frame 5
stop();
Symbol 294 MovieClip Frame 6
stop();
Symbol 294 MovieClip Frame 7
stop();
Symbol 294 MovieClip Frame 8
stop();
Symbol 294 MovieClip Frame 9
stop();
Symbol 294 MovieClip Frame 10
stop();
trace("got here");
Symbol 295 MovieClip Frame 1
myRandomNum = random(4);
if (RandomNum > 3) {
this.gotoAndPlay(15);
}
_global.Slot3Stopped = false;
stop();
Symbol 295 MovieClip Frame 2
myRandomNum = random(4);
trace("slot 3 ramdom No." + myRandomNum);
if (myRandomNum > 2) {
play();
} else {
this.gotoAndPlay(20);
}
Symbol 295 MovieClip Frame 71
_root.slotSound.stop();
_root.stopThatSound();
_root.theSymbols3();
_global.Slot3Stopped = true;
_global.bSlot3Stopped = true;
_global.bSlot2Stopped = false;
_global.bSlot1Stopped = false;
Symbol 295 MovieClip Frame 74
_root.slotStopSound();
Symbol 295 MovieClip Frame 76
_root.rewards();
_global.betOneAlreadyPressed = false;
_global.Slot2Stopped = false;
_global.Slot1Stopped = false;
if ((_root.slot_3.text == "spin") and (_global.kindOfBet == 3)) {
_global.stillspinning = true;
trace("Why are you three?");
} else {
trace("I'm not three");
_global.stillspinning = false;
}
stop();
Symbol 306 MovieClip Frame 1
introSound = new Sound();
introSound.attachSound("Spin n Win");
introSound.start();
Symbol 306 MovieClip Frame 93
_root.gotoAndStop(7);
Symbol 308 Button
on (press) {
_root.clickinSound();
_root.attachMovie("paytable", "paytable", 5000);
_root.paytable._x = 0;
_root.paytable._y = 0;
}
Symbol 310 Button
on (press) {
if (_global.betOneAlreadyPressed == false) {
_root.lights.totalLights.gotoAndPlay("blingBling");
_root.clickinSound();
_root.betOne();
}
}
Symbol 311 Button
on (press) {
_root.clickinSound();
if (_global.stillspinning == false) {
if (_global.kindOfBet == 0) {
trace("place bet please");
_root.attachMovie("messageBox", "messageBox", 5020);
_root.messageBox._x = 148;
_root.messageBox._y = 115;
} else {
_root.spin();
trace(_global.kindOfBet + "this is the bet when you hit the spin button");
}
} else {
}
}
Symbol 313 Button
on (press) {
_root.lights.totalLights.gotoAndStop("blingBling");
_root.clickinSound();
if (_global.stillspinning == false) {
_global.kindOfBet = 3;
_root.coins.text = _global.kindOfBet;
_root.spin();
} else {
}
}
Symbol 322 Button
on (press) {
_root.clickinSound();
_root.downArrow();
}
Symbol 325 Button
on (press) {
_root.clickinSound();
_root.upArrow();
}
Symbol 328 Button
on (press) {
_global.kindOfBet = 0;
_root.updateStuff();
_root.clickinSound();
}
Symbol 331 Button
on (release) {
_root.score = _root.balance;
_global.ipbSend();
stopAllSounds();
_root._visible = false;
_root.enabled = false;
}