Section 1
//MainTimeline (BongoBingoNP_fla.MainTimeline)
package BongoBingoNP_fla {
import flash.events.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.utils.*;
import flash.media.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var PopUp_mc:MovieClip;
public var loader:URLLoader;
public var sndCongrats:Sound;
public var MedTween:Tween;
public var RC;
public var myLoaderInfo;
public var PauseTween:Tween;
public var RA;
public var Exchange:Number;
public var Fast_mc:MovieClip;
public var Card3_mc:MovieClip;
public var TimeTimer:Timer;
public var EnScoreKey;
public var BS;
public var BB;
public var test_mc:MovieClip;
public var UserId:String;
public var SB;
public var aBallStack:Array;
public var SO;
public var bGameOver:Boolean;
public var Exchange_txt:TextField;
public var Slow_mc:MovieClip;
public var ResetTween:Tween;
public var GameType:Number;
public var TumblerWait:Number;
public var WorkTimer:Timer;
public var Pause_mc:MovieClip;
public var Reset_mc:MovieClip;
public var Jackpot_txt:TextField;
public var nTickCount:Number;
public var GameID:String;
public var cacheKey_txt:TextField;
public var instantBingo_mc:MovieClip;
public var Status_txt:TextField;
public var Pattern_mc:MovieClip;
public var En;
public var SlowTween:Tween;
public var nGameSpeed:Number;
public var EnKey:String;
public var Tumbler_mc:MovieClip;
public var Gator_mc:MovieClip;
public var sndPopUp:Sound;
public var Med_mc:MovieClip;
public var PauseScreen_mc:MovieClip;
public var Score_txt:TextField;
public var cacheFix:int;
public var EnScore:String;
public var FastTween:Tween;
public var PlayerPoints:Number;
public var CalledNumbers_mc:MovieClip;
public var GetEnKey:Boolean;
public var AuthKey:TextField;
public var bRunTumbler:Boolean;
public var cacheKey;
public var sndMouseDown:Sound;
public var GatorTimer:Timer;
public var GoBackToStart:Boolean;
public var PrizePts:TextField;
public var gameID_text:TextField;
public var nLastBallCalled:Number;
public var userID_text:TextField;
public var sndMouseOver:Sound;
public var Card1_mc:MovieClip;
public var gamePaused:Boolean;
public var BingoTween:Tween;
public var Bingo_mc:MovieClip;
public var sndLevelFailed:Sound;
public var Nb;
public var Selector_mc:MovieClip;
public var SBI;
public var Nk;
public var gameTime:int;
public var BallCount_txt:TextField;
public var Nr;
public var Card2_mc:MovieClip;
public var TumblerBall_mc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function Pause_mc_ROLL_OUT(_arg1:MouseEvent):void{
PauseTween.stop();
PauseTween.begin = Pause_mc.alpha;
PauseTween.finish = 0;
PauseTween.start();
}
public function iFRd(_arg1, _arg2){
aRK(_arg1, _arg2);
sR(_arg1, "d");
bS(_arg1, "d");
}
public function Bingo_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
BingoTween.stop();
BingoTween.begin = Bingo_mc.alpha;
BingoTween.finish = 1;
BingoTween.start();
}
public function PopUp_mc_Close():void{
PopUp_mc.visible = false;
}
public function WebCounter():void{
var WebUrl:String;
var request:URLRequest;
trace("WebCounter Started");
if (UserId == null){
UserId = "";
};
if (isNaN(Number(UserId))){
trace("isNaN");
UserId = "";
};
if (UserId != ""){
try {
GetEnKey = false;
WebUrl = "http://www.gatorarcade.com/queries/queries_counter.html?";
WebUrl = ((WebUrl + "userid=") + UserId);
WebUrl = ((WebUrl + "gameid=") + GameID);
Status_txt.text = ("Sending web counter command from: " + WebUrl);
request = new URLRequest(WebUrl);
GetEnKey = false;
loader.load(request);
} catch(error:Error) {
Status_txt.text = ((Status_txt.text + "\n\nError in WebCounter: ") + error.message);
};
};
}
public function PostScoreEncrypted(_arg1:String, _arg2:Boolean):void{
var enData:String;
var raw:String;
var WebUrl:String;
var request:URLRequest;
var variables:URLVariables;
var Score = _arg1;
var DecryptScore = _arg2;
if (((!((UserId == ""))) && (!((EnKey == ""))))){
try {
enData = "";
if (DecryptScore){
raw = ((((((((((((((("userid=" + UserId) + "|") + "gameID=") + GameID) + "|") + "gameTime=") + gameTime) + "|") + "Score=") + "87") + DecryptText(Score, EnScoreKey)) + "76") + "|") + "PRIZEPOINTS=") + String(GetPrizePoints(Score)));
} else {
raw = ((((((((((((((("userid=" + UserId) + "|") + "gameID=") + GameID) + "|") + "gameTime=") + gameTime) + "|") + "Score=") + "87") + String(Score)) + "76") + "|") + "PRIZEPOINTS=") + String(Math.round(int(Score))));
};
enData = EncryptText(raw, (String(EnKey) + "4293511887691417"));
WebUrl = "http://www.gatorarcade.com/gamepost/game_postscore.cfm";
request = new URLRequest(WebUrl);
variables = new URLVariables();
variables.Data = enData;
variables.AuthKey = EnKey;
request.data = variables;
request.method = URLRequestMethod.POST;
Status_txt.text = ((((((("Sending post score command from: " + WebUrl) + " with variables = ") + raw) + " Data = ") + enData) + " Key = ") + EnKey);
GetEnKey = false;
loader.load(request);
} catch(error:Error) {
Status_txt.text = ((Status_txt.text + "\n\nError in PostScoreEncrypted: ") + error.message);
};
};
}
public function bS(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
if (_arg2 == "e"){
_local3 = SB;
} else {
_local3 = SBI;
};
_local4 = 0;
while (_local4 < 4) {
_local5 = 0;
while (_local5 < Nb) {
_arg1[_local4][_local5] = _local3[_arg1[_local4][_local5]];
_local5++;
};
_local4++;
};
}
public function sR(_arg1, _arg2){
var _local3:*;
_local3 = 1;
while (_local3 < 4) {
if (_arg2 == "e"){
_arg1[_local3] = cSL(_arg1[_local3], SO[Nb][_local3]);
} else {
_arg1[_local3] = cSL(_arg1[_local3], (Nb - SO[Nb][_local3]));
};
_local3++;
};
}
public function DecryptText(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
_local3 = hexToByteArray(_arg2);
_local4 = "ECB";
_local5 = byteArrayToString(rijndaelDecrypt(hexToByteArray(_arg1), _local3, _local4));
return (_local5);
}
public function Rd(_arg1, _arg2){
bS(_arg1, "e");
sR(_arg1, "e");
mC(_arg1, "e");
aRK(_arg1, _arg2);
}
public function rijndaelDecrypt(_arg1, _arg2, _arg3){
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
_local5 = (BB / 8);
_local6 = [];
if (((((!(_arg1)) || (!(_arg2)))) || ((typeof(_arg1) == "string")))){
return;
};
if ((_arg2.length * 8) != BS){
return;
};
if (!_arg3){
_arg3 = "ECB";
};
_local4 = YE(_arg2);
_local8 = ((_arg1.length / _local5) - 1);
while (_local8 > 0) {
_local7 = decrypt(_arg1.slice((_local8 * _local5), ((_local8 + 1) * _local5)), _local4);
if (_arg3 == "CBC"){
_local9 = 0;
while (_local9 < _local5) {
_local6[(((_local8 - 1) * _local5) + _local9)] = (_local7[_local9] ^ _arg1[(((_local8 - 1) * _local5) + _local9)]);
_local9++;
};
} else {
_local6 = _local7.concat(_local6);
};
_local8--;
};
if (_arg3 == "ECB"){
};
_local6 = decrypt(_arg1.slice(0, _local5), _local4).concat(_local6);
return (_local6);
}
public function loaderComplete(_arg1:Event){
this.myParams = this.loaderInfo.parameters;
this.myParamsLoaded = true;
this.useParams();
}
function frame3(){
bRunTumbler = false;
aBallStack = new Array();
nLastBallCalled = 0;
nTickCount = 0;
TumblerWait = 200;
nGameSpeed = 2;
bGameOver = false;
GameType = 0;
PlayerPoints = 0;
GoBackToStart = false;
sndMouseDown = new mouse_down01();
sndMouseOver = new mouse_over01();
sndPopUp = new PopUp();
sndCongrats = new Congrats();
sndLevelFailed = new LevelFailed();
SlowTween = new Tween(Slow_mc, "alpha", None.easeNone, 0, 1, 0.5, true);
MedTween = new Tween(Med_mc, "alpha", None.easeNone, 0, 1, 0.5, true);
FastTween = new Tween(Fast_mc, "alpha", None.easeNone, 0, 1, 0.5, true);
BingoTween = new Tween(Bingo_mc, "alpha", None.easeNone, 0, 1, 0.5, true);
PauseTween = new Tween(Pause_mc, "alpha", None.easeNone, 0, 1, 0.5, true);
ResetTween = new Tween(Reset_mc, "alpha", None.easeNone, 0, 1, 0.5, true);
WorkTimer = new Timer(100);
GatorTimer = new Timer(1000, 10);
GatorTimer.addEventListener(TimerEvent.TIMER, GatorTimer_Tick);
WorkTimer.addEventListener(TimerEvent.TIMER, WorkTimer_Tick);
Tumbler_mc.addEventListener(Event.ENTER_FRAME, Tumbler_mc_EnterFrame);
Tumbler_mc.addEventListener(Event.ENTER_FRAME, Tumbler_mc_EnterFrame);
PopUp_mc.Continue_mc.addEventListener(MouseEvent.CLICK, Continue_mc_Click);
Pattern_mc.addEventListener(MouseEvent.CLICK, Pattern_mc_Click);
Slow_mc.addEventListener(MouseEvent.CLICK, Slow_mc_Click);
Slow_mc.addEventListener(MouseEvent.ROLL_OVER, Slow_mc_ROLL_OVER);
Slow_mc.addEventListener(MouseEvent.ROLL_OUT, Slow_mc_ROLL_OUT);
Med_mc.addEventListener(MouseEvent.CLICK, Med_mc_Click);
Med_mc.addEventListener(MouseEvent.ROLL_OVER, Med_mc_ROLL_OVER);
Med_mc.addEventListener(MouseEvent.ROLL_OUT, Med_mc_ROLL_OUT);
Fast_mc.addEventListener(MouseEvent.CLICK, Fast_mc_Click);
Fast_mc.addEventListener(MouseEvent.ROLL_OVER, Fast_mc_ROLL_OVER);
Fast_mc.addEventListener(MouseEvent.ROLL_OUT, Fast_mc_ROLL_OUT);
Bingo_mc.addEventListener(MouseEvent.CLICK, Bingo_mc_Click);
Bingo_mc.addEventListener(MouseEvent.ROLL_OVER, Bingo_mc_ROLL_OVER);
Bingo_mc.addEventListener(MouseEvent.ROLL_OUT, Bingo_mc_ROLL_OUT);
Pause_mc.addEventListener(MouseEvent.CLICK, Pause_mc_Click);
Pause_mc.addEventListener(MouseEvent.ROLL_OVER, Pause_mc_ROLL_OVER);
Pause_mc.addEventListener(MouseEvent.ROLL_OUT, Pause_mc_ROLL_OUT);
Reset_mc.addEventListener(MouseEvent.CLICK, Reset_mc_Click);
Reset_mc.addEventListener(MouseEvent.ROLL_OVER, Reset_mc_ROLL_OVER);
Reset_mc.addEventListener(MouseEvent.ROLL_OUT, Reset_mc_ROLL_OUT);
PauseScreen_mc.addEventListener(MouseEvent.CLICK, PauseScreen_mc_Click);
Card1_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card2_mc.addEventListener(MouseEvent.CLICK, Card_Click);
GameType = Math.ceil((Math.random() * 5));
switch (GameType){
case 1:
Pattern_mc.gotoAndStop(1);
Jackpot_txt.text = "500";
break;
case 2:
Pattern_mc.gotoAndStop(2);
Jackpot_txt.text = "1000";
break;
case 3:
Pattern_mc.gotoAndStop(3);
Jackpot_txt.text = "500";
break;
case 4:
Pattern_mc.gotoAndStop(4);
Jackpot_txt.text = "1500";
break;
case 5:
Pattern_mc.gotoAndStop(5);
Jackpot_txt.text = "2000";
break;
};
Slow_mc.alpha = 0;
Med_mc.alpha = 0;
Fast_mc.alpha = 0;
Bingo_mc.alpha = 0;
Pause_mc.alpha = 0;
Reset_mc.alpha = 0;
SlowTween.stop();
MedTween.stop();
FastTween.stop();
BingoTween.stop();
PauseTween.stop();
ResetTween.stop();
nTickCount = 0;
nGameSpeed = 2;
Selector_mc.x = 190;
Tumbler_mc.gotoAndStop(1);
PauseScreen_mc.visible = false;
TumblerBall_mc.visible = false;
fncResetBallList();
BallCount_txt.text = "1";
Score_txt.text = "0";
bGameOver = false;
WorkTimer.start();
Card1_mc.visible = true;
Card2_mc.visible = true;
Card3_mc.visible = true;
gameTime = 0;
GoBackToStart = false;
GetKey();
stop();
}
public function aRK(_arg1, _arg2){
var _local3:*;
_local3 = 0;
while (_local3 < Nb) {
_arg1[0][_local3] = (_arg1[0][_local3] ^ (_arg2[_local3] & 0xFF));
_arg1[1][_local3] = (_arg1[1][_local3] ^ ((_arg2[_local3] >> 8) & 0xFF));
_arg1[2][_local3] = (_arg1[2][_local3] ^ ((_arg2[_local3] >> 16) & 0xFF));
_arg1[3][_local3] = (_arg1[3][_local3] ^ ((_arg2[_local3] >> 24) & 0xFF));
_local3++;
};
}
public function GetPrizePoints(_arg1:String):String{
if (_arg1 != ""){
return (String(Math.round(Number(DecryptText(_arg1, EnScoreKey)))));
};
return ("");
}
public function encrypt(_arg1, _arg2){
var _local3:*;
if (((!(_arg1)) || (!(((_arg1.length * 8) == BB))))){
return;
};
if (!_arg2){
return;
};
_arg1 = pB(_arg1);
aRK(_arg1, _arg2);
_local3 = 1;
while (_local3 < Nr) {
Rd(_arg1, _arg2.slice((Nb * _local3), (Nb * (_local3 + 1))));
_local3++;
};
FRd(_arg1, _arg2.slice((Nb * Nr)));
return (uPB(_arg1));
}
public function GatorTimer_Tick(_arg1:TimerEvent):void{
if (GatorTimer.currentCount < 9){
if (UserId != "32"){
Gator_mc.Restart_txt.text = (("Your game will restart in " + String((9 - GatorTimer.currentCount))) + " seconds");
};
} else {
GetKey();
Gator_mc.visible = false;
gotoAndPlay(2);
WorkTimer.stop();
};
}
public function GenerateKey():String{
var _local1:*;
var _local2:int;
var _local3:*;
_local1 = "";
_local2 = 0;
while (_local1.length < 32) {
_local1 = (_local1 + String(Math.ceil((Math.random() * 9))));
_local2++;
};
_local3 = _local1;
cacheKey_txt.text = _local3;
return (_local3);
}
public function AddEnPoints(_arg1:String, _arg2:Number):String{
if (_arg1 != ""){
return (EncryptText(String((Number(DecryptText(_arg1, EnScoreKey)) + _arg2)), EnScoreKey));
};
return (EncryptText(String(_arg2), EnScoreKey));
}
public function Reset_mc_Click(_arg1:MouseEvent):void{
sndMouseDown.play();
WorkTimer.stop();
gotoAndPlay(2);
}
public function WorkTimer_Tick(_arg1:TimerEvent):void{
var e = _arg1;
if (bGameOver == false){
if (PopUp_mc.visible != true){
if (bRunTumbler == false){
if (aBallStack.length > 0){
nTickCount++;
switch (nGameSpeed){
case 1:
TumblerWait = 30;
break;
case 2:
TumblerWait = 17;
break;
case 3:
TumblerWait = 7;
break;
};
if (nTickCount >= TumblerWait){
if (Card3_mc.CheckBingo(GameType) == true){
bGameOver = true;
sndLevelFailed.play();
PopUp_mc.Show("\n\nGame Over.\nYour opponent has won.");
} else {
nTickCount = 0;
bRunTumbler = true;
TumblerBall_mc.visible = false;
Tumbler_mc.gotoAndPlay(2);
};
};
};
};
};
} else {
if (PopUp_mc.visible != true){
WorkTimer.stop();
CalculateScore();
if (UserId == "32"){
GoBackToStart = true;
PopUp_mc.Show("\nPlease Sign-in!");
} else {
this.setChildIndex(Gator_mc, (this.numChildren - 1));
try {
if (PlayerPoints !== 0){
Gator_mc.visible = true;
Gator_mc.SetScore(String(PlayerPoints));
PostScoreEncrypted(String(PlayerPoints), false);
};
} finally {
GatorTimer.start();
};
};
};
};
}
public function iRd(_arg1, _arg2){
aRK(_arg1, _arg2);
mC(_arg1, "d");
sR(_arg1, "d");
bS(_arg1, "d");
}
public function Med_mc_Click(_arg1:MouseEvent):void{
sndMouseDown.play();
nGameSpeed = 2;
Selector_mc.x = 190;
}
public function fncResetBallList():void{
aBallStack = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75];
CalledNumbers_mc.Reset();
Card1_mc.CreateNewCard();
Card2_mc.CreateNewCard();
Card3_mc.CreateNewCard();
Card1_mc.EnableMarking = true;
Card2_mc.EnableMarking = true;
Card3_mc.EnableMarking = false;
Card1_mc.Called = [];
Card2_mc.Called = [];
Card3_mc.Called = [];
}
public function gRB(_arg1){
var _local2:*;
var _local3:*;
_local3 = [];
_local2 = 0;
while (_local2 < _arg1) {
_local3[_local2] = Math.round((Math.random() * 0xFF));
_local2++;
};
return (_local3);
}
public function fncSetTumblerBall(_arg1:Number):void{
TumblerBall_mc.SetNumber(int(_arg1));
TumblerBall_mc.visible = true;
}
public function Bingo_mc_ROLL_OUT(_arg1:MouseEvent):void{
BingoTween.stop();
BingoTween.begin = Bingo_mc.alpha;
BingoTween.finish = 0;
BingoTween.start();
}
public function GF(_arg1, _arg2){
var _local3:*;
var _local4:*;
_local4 = 0;
_local3 = 1;
while (_local3 < 0x0100) {
if ((_arg1 & _local3)){
_local4 = (_local4 ^ _arg2);
};
_local3 = (_local3 * 2);
_arg2 = XT(_arg2);
};
return (_local4);
}
public function Med_mc_ROLL_OUT(_arg1:MouseEvent):void{
MedTween.stop();
MedTween.begin = Med_mc.alpha;
MedTween.finish = 0;
MedTween.start();
}
public function fPT(_arg1){
var _local2:*;
var _local3:*;
_local2 = (BB / 8);
if ((((typeof(_arg1) == "string")) || (_arg1.indexOf))){
_arg1 = _arg1.split("");
_local3 = 0;
while (_local3 < _arg1.length) {
_arg1[_local3] = (_arg1[_local3].charCodeAt(0) & 0xFF);
_local3++;
};
};
_local3 = (_local2 - (_arg1.length % _local2));
while ((((_local3 > 0)) && ((_local3 < _local2)))) {
_arg1[_arg1.length] = 0;
_local3--;
};
return (_arg1);
}
public function CalculateScore():void{
var _local1:Number;
PlayerPoints = 0;
EnScore = "";
_local1 = 0;
while (_local1 <= 23) {
if (Card1_mc.Marked[_local1] == 1){
PlayerPoints = (PlayerPoints + (40 * Exchange));
EnScore = AddEnPoints(EnScore, 40);
};
if (Card2_mc.Marked[_local1] == 1){
PlayerPoints = (PlayerPoints + (40 * Exchange));
EnScore = AddEnPoints(EnScore, 40);
};
_local1++;
};
if (Number(Score_txt.text) != PlayerPoints){
Score_txt.text = String(PlayerPoints);
};
}
public function byteArrayToHex(_arg1){
var _local2:*;
var _local3:*;
_local2 = "";
if (!_arg1){
return;
};
_local3 = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + (((_arg1[_local3])<16) ? "0" : "" + _arg1[_local3].toString(16)));
_local3++;
};
return (_local2);
}
public function Reset_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
ResetTween.stop();
ResetTween.begin = Reset_mc.alpha;
ResetTween.finish = 1;
ResetTween.start();
}
public function XT(_arg1){
_arg1 = (_arg1 << 1);
return (((_arg1 & 0x0100)) ? (_arg1 ^ 283) : _arg1);
}
function frame1(){
Gator_mc.visible = false;
cacheKey_txt.visible = false;
UserId = "";
GameID = "96";
GetEnKey = false;
gameTime = 0;
gamePaused = false;
cacheFix = 0;
TimeTimer = new Timer(1000);
loader = new URLLoader();
EnScore = "";
EnScoreKey = GenerateKey();
userID_text.text = "";
loader.addEventListener(Event.COMPLETE, completeHandler);
TimeTimer.addEventListener(TimerEvent.TIMER, TimeTimer_Tick);
myLoaderInfo = new Object();
myLoaderInfo.myParamsLoaded = false;
myLoaderInfo.loaderComplete = loaderComplete;
myLoaderInfo.useParams = useParams;
this.loaderInfo.addEventListener(Event.COMPLETE, myLoaderInfo.loaderComplete);
WebCounter();
TimeTimer.start();
BS = 128;
BB = 128;
RA = [undefined, undefined, undefined, undefined, [undefined, undefined, undefined, undefined, 10, undefined, 12, undefined, 14], undefined, [undefined, undefined, undefined, undefined, 12, undefined, 12, undefined, 14], undefined, [undefined, undefined, undefined, undefined, 14, undefined, 14, undefined, 14]];
SO = [undefined, undefined, undefined, undefined, [undefined, 1, 2, 3], undefined, [undefined, 1, 2, 3], undefined, [undefined, 1, 3, 4]];
RC = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145];
SB = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 0xFF, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22];
SBI = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 0xFF, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125];
Nk = (BS / 32);
Nb = (BB / 32);
Nr = RA[Nk][Nb];
}
function frame2(){
PauseScreen_mc.visible = false;
Slow_mc.alpha = 0;
Med_mc.alpha = 0;
Fast_mc.alpha = 0;
Bingo_mc.alpha = 0;
Pause_mc.alpha = 0;
Reset_mc.alpha = 0;
Card1_mc.visible = false;
Card2_mc.visible = false;
Card3_mc.visible = false;
Gator_mc.visible = false;
PopUp_mc.visible = false;
}
public function EncryptText(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
_local3 = hexToByteArray(_arg2);
_local4 = "ECB";
_local5 = byteArrayToHex(rijndaelEncrypt(_arg1, _local3, _local4));
return (_local5);
}
public function Tumbler_mc_EnterFrame(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if ((((bRunTumbler == true)) && ((_arg1.target.currentFrame == 75)))){
bRunTumbler = false;
_local2 = fncGetNextBall();
fncSetTumblerBall(_local2);
nTickCount = 0;
_local3 = Card3_mc.Card.indexOf(_local2);
if (_local3 >= 0){
Card3_mc.MarkNumber(_local3);
};
};
}
public function YE(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = [];
Nk = (BS / 32);
Nb = (BB / 32);
Nr = RA[Nk][Nb];
_local4 = 0;
while (_local4 < Nk) {
_local2[_local4] = (((_arg1[(4 * _local4)] | (_arg1[((4 * _local4) + 1)] << 8)) | (_arg1[((4 * _local4) + 2)] << 16)) | (_arg1[((4 * _local4) + 3)] << 24));
_local4++;
};
_local4 = Nk;
while (_local4 < (Nb * (Nr + 1))) {
_local3 = _local2[(_local4 - 1)];
if ((_local4 % Nk) == 0){
_local3 = ((((SB[((_local3 >> 8) & 0xFF)] | (SB[((_local3 >> 16) & 0xFF)] << 8)) | (SB[((_local3 >> 24) & 0xFF)] << 16)) | (SB[(_local3 & 0xFF)] << 24)) ^ RC[(Math.floor((_local4 / Nk)) - 1)]);
} else {
if ((((Nk > 6)) && (((_local4 % Nk) == 4)))){
_local3 = ((((SB[((_local3 >> 24) & 0xFF)] << 24) | (SB[((_local3 >> 16) & 0xFF)] << 16)) | (SB[((_local3 >> 8) & 0xFF)] << 8)) | SB[(_local3 & 0xFF)]);
};
};
_local2[_local4] = (_local2[(_local4 - Nk)] ^ _local3);
_local4++;
};
return (_local2);
}
public function stringToByteArray(_arg1){
var _local2:*;
var _local3:*;
_local2 = [];
_local3 = 0;
while (_local3 < _arg1.length) {
_local2[_local3] = _arg1.charCodeAt(_local3);
_local3++;
};
return (_local2);
}
public function uPB(_arg1){
var _local2:*;
var _local3:*;
_local2 = [];
_local3 = 0;
while (_local3 < _arg1[0].length) {
_local2[_local2.length] = _arg1[0][_local3];
_local2[_local2.length] = _arg1[1][_local3];
_local2[_local2.length] = _arg1[2][_local3];
_local2[_local2.length] = _arg1[3][_local3];
_local3++;
};
return (_local2);
}
public function FRd(_arg1, _arg2){
bS(_arg1, "e");
sR(_arg1, "e");
aRK(_arg1, _arg2);
}
public function PauseScreen_mc_Click(_arg1:MouseEvent):void{
gamePaused = false;
PauseScreen_mc.visible = false;
WorkTimer.start();
}
public function Fast_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
FastTween.stop();
FastTween.begin = Fast_mc.alpha;
FastTween.finish = 1;
FastTween.start();
}
public function TimeTimer_Tick(_arg1:TimerEvent):void{
if (!gamePaused){
gameTime++;
};
}
public function rijndaelEncrypt(_arg1, _arg2, _arg3){
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
_local7 = (BB / 8);
if (((!(_arg1)) || (!(_arg2)))){
return;
};
if ((_arg2.length * 8) != BS){
return;
};
if (_arg3 == "CBC"){
_local8 = gRB(_local7);
} else {
_arg3 = "ECB";
_local8 = [];
};
_arg1 = fPT(_arg1);
_local4 = YE(_arg2);
_local9 = 0;
while (_local9 < (_arg1.length / _local7)) {
_local6 = _arg1.slice((_local9 * _local7), ((_local9 + 1) * _local7));
if (_arg3 == "CBC"){
_local5 = 0;
while (_local5 < _local7) {
_local6[_local5] = (_local6[_local5] ^ _local8[((_local9 * _local7) + _local5)]);
_local5++;
};
};
_local8 = _local8.concat(encrypt(_local6, _local4));
_local9++;
};
return (_local8);
}
public function GetKey():void{
var cacheKey:*;
var WebUrl:String;
var request:URLRequest;
cacheFix++;
cacheKey = GenerateKey();
cacheKey_txt.text = cacheKey;
if (UserId == null){
UserId = "";
};
if (isNaN(Number(UserId))){
UserId = "";
};
if (UserId != ""){
try {
WebUrl = "http://www.gatorarcade.com/gamepost/Game_GETkey.CFM?";
WebUrl = ((WebUrl + "gameid=") + GameID);
WebUrl = ((WebUrl + "&userid=") + UserId);
WebUrl = ((WebUrl + "&cache=") + cacheKey);
EnKey = "";
GetEnKey = true;
Status_txt.text = ("Sending Get Key command from: " + WebUrl);
request = new URLRequest(WebUrl);
loader.load(request);
} catch(error:Error) {
EnKey = "";
Status_txt.text = ((Status_txt.text + "\n\nError in GetKey: ") + error.message);
};
};
}
public function Slow_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
SlowTween.stop();
SlowTween.begin = Slow_mc.alpha;
SlowTween.finish = 1;
SlowTween.start();
}
public function fncGetNextBall():Number{
var _local1:Number;
var _local2:Number;
_local1 = Math.floor((Math.random() * aBallStack.length));
_local2 = aBallStack[_local1];
nLastBallCalled = _local2;
Card1_mc.Called.push(_local2);
Card2_mc.Called.push(_local2);
Card3_mc.Called.push(_local2);
aBallStack.splice(_local1, 1);
CalledNumbers_mc.ActivateNumber(_local2);
BallCount_txt.text = String((75 - aBallStack.length));
return (_local2);
}
public function Pattern_mc_Click(_arg1:MouseEvent):void{
sndPopUp.play();
switch (GameType){
case 1:
PopUp_mc.Show("\n\nCreate a single line in any direction in order to win.");
break;
case 2:
PopUp_mc.Show("\n\nCreate two lines in any direction in order to win.");
break;
case 3:
PopUp_mc.Show("\n\nCreate two lines in an X pattern in order to win.");
break;
case 4:
PopUp_mc.Show("\n\nCreate four lines in a number sign pattern in order to win.");
break;
case 5:
PopUp_mc.Show("\n\nFill your card order to win.");
break;
};
}
public function mC(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
_local3 = [];
_local4 = 0;
while (_local4 < Nb) {
_local5 = 0;
_local5 = 0;
while (_local5 < 4) {
if (_arg2 == "e"){
_local3[_local5] = (((GF(_arg1[_local5][_local4], 2) ^ GF(_arg1[((_local5 + 1) % 4)][_local4], 3)) ^ _arg1[((_local5 + 2) % 4)][_local4]) ^ _arg1[((_local5 + 3) % 4)][_local4]);
} else {
_local3[_local5] = (((GF(_arg1[_local5][_local4], 14) ^ GF(_arg1[((_local5 + 1) % 4)][_local4], 11)) ^ GF(_arg1[((_local5 + 2) % 4)][_local4], 13)) ^ GF(_arg1[((_local5 + 3) % 4)][_local4], 9));
};
_local5++;
};
_local5 = 0;
while (_local5 < 4) {
_arg1[_local5][_local4] = _local3[_local5];
_local5++;
};
_local4++;
};
}
public function Card_Click(_arg1:MouseEvent):void{
CalculateScore();
}
public function decrypt(_arg1, _arg2){
var _local3:*;
if (((!(_arg1)) || (!(((_arg1.length * 8) == BB))))){
return;
};
if (!_arg2){
return;
};
_arg1 = pB(_arg1);
iFRd(_arg1, _arg2.slice((Nb * Nr)));
_local3 = (Nr - 1);
while (_local3 > 0) {
iRd(_arg1, _arg2.slice((Nb * _local3), (Nb * (_local3 + 1))));
_local3--;
};
aRK(_arg1, _arg2);
return (uPB(_arg1));
}
public function Med_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
MedTween.stop();
MedTween.begin = Med_mc.alpha;
MedTween.finish = 1;
MedTween.start();
}
public function Bingo_mc_Click(_arg1:MouseEvent):void{
var _local2:Boolean;
var _local3:Boolean;
sndMouseDown.play();
_local2 = Card1_mc.CheckBingo(GameType);
_local3 = Card2_mc.CheckBingo(GameType);
if ((((_local2 == true)) || ((_local3 == true)))){
PlayerPoints = 0;
EnScore = "";
CalculateScore();
switch (GameType){
case 1:
PlayerPoints = (PlayerPoints + 500);
EnScore = AddEnPoints(EnScore, 500);
break;
case 2:
PlayerPoints = (PlayerPoints + 1000);
EnScore = AddEnPoints(EnScore, 1000);
break;
case 3:
PlayerPoints = (PlayerPoints + 500);
EnScore = AddEnPoints(EnScore, 500);
break;
case 4:
PlayerPoints = (PlayerPoints + 1500);
EnScore = AddEnPoints(EnScore, 1500);
break;
case 5:
PlayerPoints = (PlayerPoints + 2000);
EnScore = AddEnPoints(EnScore, 2000);
break;
};
bGameOver = true;
sndCongrats.play();
Tumbler_mc.stop();
PopUp_mc.Show("\n\n\nCongratulations, You have won!");
} else {
sndPopUp.play();
PopUp_mc.Show("\n\nNeither of your cards match the pattern needed to win.");
};
}
public function PostScore(_arg1:String, _arg2:Boolean):void{
var WebUrl:String;
var request:URLRequest;
var variables:URLVariables;
var Score = _arg1;
var DecryptScore = _arg2;
if (UserId != ""){
try {
WebUrl = "";
GetEnKey = false;
if (DecryptScore){
WebUrl = ((((((("http://www.Gatorarcade.com/queries.html?score=" + DecryptText(Score, EnScoreKey)) + "&userid=") + UserId) + "&gameid=") + GameID) + "&gameTime=") + gameTime);
} else {
WebUrl = ((((((("http://www.Gatorarcade.com/queries.html?score=" + String(Score)) + "&userid=") + UserId) + "&gameid=") + GameID) + "&gameTime=") + gameTime);
};
request = new URLRequest(WebUrl);
variables = new URLVariables();
variables.userid = UserId;
variables.Value = 12;
variables.gameID = GameID;
variables.gameTime = gameTime;
if (DecryptScore){
variables.Score = (("56" + DecryptText(Score, EnScoreKey)) + "14");
} else {
variables.Score = (("56" + String(Score)) + "14");
};
variables.sevycul = "867658643";
Status_txt.text = ((((((((((("Sending post score command from: " + WebUrl) + " with variables userid = ") + UserId) + " gameID = ") + GameID) + " gameTime = ") + gameTime) + " Score = ") + variables.Score) + " sevycul=") + 867658643);
request.data = variables;
request.method = URLRequestMethod.POST;
GetEnKey = false;
loader.load(request);
} catch(error:Error) {
Status_txt.text = ((Status_txt.text + "\n\nError in PostScore: ") + error.message);
};
};
}
public function Fast_mc_ROLL_OUT(_arg1:MouseEvent):void{
FastTween.stop();
FastTween.begin = Fast_mc.alpha;
FastTween.finish = 0;
FastTween.start();
}
public function byteArrayToString(_arg1){
var _local2:*;
var _local3:*;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
if (_arg1[_local3] != 0){
_local2 = (_local2 + String.fromCharCode(_arg1[_local3]));
};
_local3++;
};
return (_local2);
}
public function Pause_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
PauseTween.stop();
PauseTween.begin = Pause_mc.alpha;
PauseTween.finish = 1;
PauseTween.start();
}
public function Pause_mc_Click(_arg1:MouseEvent):void{
sndMouseDown.play();
gamePaused = true;
PauseScreen_mc.visible = true;
this.setChildIndex(PauseScreen_mc, (this.numChildren - 1));
WorkTimer.stop();
}
public function completeHandler(_arg1:Event):void{
var loader:URLLoader;
var Data:String;
var array:Array;
var event = _arg1;
try {
loader = URLLoader(event.target);
Data = loader.data;
Status_txt.text = ((Status_txt.text + "\n REPLY = ") + Data);
if (GetEnKey){
array = Data.split("|");
if (array.length == 2){
EnKey = array[0];
Exchange_txt.text = array[1];
AuthKey.text = EnKey;
Exchange = Number(array[1]);
if (isNaN(Number(EnKey))){
EnKey = "";
Exchange = 0;
Status_txt.text = (((Status_txt.text + "\n\nData ") + Data) + " did not contain a numeric key");
};
} else {
EnKey = "";
Exchange = 0;
Status_txt.text = (Status_txt.text + "\n\nData was not a array of 2");
};
} else {
Status_txt.text = (Status_txt.text + "\n\nURL Request complete.");
};
} catch(error:Error) {
EnKey = "";
Exchange = 0;
Status_txt.text = ((Status_txt.text + "\n\nError in completeHandler: ") + error.message);
};
}
public function pB(_arg1){
var _local2:*;
var _local3:*;
_local2 = [];
if (((!(_arg1)) || ((_arg1.length % 4)))){
return;
};
_local2[0] = [];
_local2[1] = [];
_local2[2] = [];
_local2[3] = [];
_local3 = 0;
while (_local3 < _arg1.length) {
_local2[0][(_local3 / 4)] = _arg1[_local3];
_local2[1][(_local3 / 4)] = _arg1[(_local3 + 1)];
_local2[2][(_local3 / 4)] = _arg1[(_local3 + 2)];
_local2[3][(_local3 / 4)] = _arg1[(_local3 + 3)];
_local3 = (_local3 + 4);
};
return (_local2);
}
public function Slow_mc_ROLL_OUT(_arg1:MouseEvent):void{
SlowTween.stop();
SlowTween.begin = Slow_mc.alpha;
SlowTween.finish = 0;
SlowTween.start();
}
public function hexToByteArray(_arg1){
var _local2:*;
var _local3:*;
_local2 = [];
if ((_arg1.length % 2)){
return;
};
if ((((_arg1.indexOf("0x") == 0)) || ((_arg1.indexOf("0X") == 0)))){
_arg1 = _arg1.substring(2);
};
_local3 = 0;
while (_local3 < _arg1.length) {
_local2[Math.floor((_local3 / 2))] = parseInt(_arg1.slice(_local3, (_local3 + 2)), 16);
_local3 = (_local3 + 2);
};
return (_local2);
}
public function Fast_mc_Click(_arg1:MouseEvent):void{
sndMouseDown.play();
nGameSpeed = 3;
Selector_mc.x = 230;
}
public function Reset_mc_ROLL_OUT(_arg1:MouseEvent):void{
ResetTween.stop();
ResetTween.begin = Reset_mc.alpha;
ResetTween.finish = 0;
ResetTween.start();
}
public function useParams(){
userID_text.text = this.myParams.userID;
UserId = this.myParams.userID;
}
public function Continue_mc_Click(_arg1:MouseEvent):void{
PopUp_mc.visible = false;
if (GoBackToStart == true){
gotoAndPlay(2);
};
}
public function cSL(_arg1, _arg2){
var _local3:*;
_local3 = _arg1.slice(0, _arg2);
_arg1 = _arg1.slice(_arg2).concat(_local3);
return (_arg1);
}
public function Slow_mc_Click(_arg1:MouseEvent):void{
sndMouseDown.play();
nGameSpeed = 1;
Selector_mc.x = 153;
}
}
}//package BongoBingoNP_fla
Section 2
//mcCalledNumbers_4 (BongoBingoNP_fla.mcCalledNumbers_4)
package BongoBingoNP_fla {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
import flash.text.*;
public dynamic class mcCalledNumbers_4 extends MovieClip {
public var Num72_txt:TextField;
public var Num39_txt:TextField;
public var Num42_txt:TextField;
public var Num46_txt:TextField;
public var Num53_txt:TextField;
public var Num12_txt:TextField;
public var Num16_txt:TextField;
public var Num4_txt:TextField;
public var Num8_txt:TextField;
public var Num57_txt:TextField;
public var Num60_txt:TextField;
public var Num68_txt:TextField;
public var Num27_txt:TextField;
public var Num23_txt:TextField;
public var Num64_txt:TextField;
public var Num71_txt:TextField;
public var Num75_txt:TextField;
public var Num30_txt:TextField;
public var Num38_txt:TextField;
public var Num34_txt:TextField;
public var Num41_txt:TextField;
public var Num45_txt:TextField;
public var Num49_txt:TextField;
public var Num11_txt:TextField;
public var Num52_txt:TextField;
public var Num3_txt:TextField;
public var Num56_txt:TextField;
public var Num15_txt:TextField;
public var Num19_txt:TextField;
public var Num7_txt:TextField;
public var Num63_txt:TextField;
public var Num22_txt:TextField;
public var Num67_txt:TextField;
public var Num26_txt:TextField;
public var Num70_txt:TextField;
public var Num74_txt:TextField;
public var Num33_txt:TextField;
public var Num40_txt:TextField;
public var Num44_txt:TextField;
public var Num48_txt:TextField;
public var Num51_txt:TextField;
public var Num10_txt:TextField;
public var Num14_txt:TextField;
public var Num2_txt:TextField;
public var Num55_txt:TextField;
public var Num59_txt:TextField;
public var Num18_txt:TextField;
public var Num6_txt:TextField;
public var timer:Timer;
public var Num37_txt:TextField;
public var Num62_txt:TextField;
public var Num21_txt:TextField;
public var Num66_txt:TextField;
public var Num25_txt:TextField;
public var Num29_txt:TextField;
public var Num73_txt:TextField;
public var Num36_txt:TextField;
public var Num32_txt:TextField;
public var Num47_txt:TextField;
public var Num43_txt:TextField;
public var LastNumber:Number;
public var Num50_txt:TextField;
public var Num1_txt:TextField;
public var Num17_txt:TextField;
public var Num5_txt:TextField;
public var Num58_txt:TextField;
public var Num54_txt:TextField;
public var Num13_txt:TextField;
public var Num61_txt:TextField;
public var Num9_txt:TextField;
public var Num20_txt:TextField;
public var Num65_txt:TextField;
public var Num24_txt:TextField;
public var Num69_txt:TextField;
public var Num28_txt:TextField;
public var Num35_txt:TextField;
public var Num31_txt:TextField;
public function mcCalledNumbers_4(){
addFrameScript(0, frame1);
}
public function ActivateNumber(_arg1:Number):void{
var _local2:DisplayObject;
if (LastNumber > 0){
_local2 = this.getChildByName((("Num" + String(LastNumber)) + "_txt"));
_local2.alpha = 1;
};
LastNumber = _arg1;
}
function frame1(){
timer = new Timer(500);
timer.addEventListener(TimerEvent.TIMER, timer_Tick);
timer.start();
stop();
}
public function timer_Tick(_arg1:TimerEvent):void{
var _local2:DisplayObject;
if (LastNumber > 0){
_local2 = this.getChildByName((("Num" + String(LastNumber)) + "_txt"));
if (_local2.alpha == 1){
_local2.alpha = 0.2;
} else {
_local2.alpha = 1;
};
};
}
public function Reset(){
var _local1:Number;
var _local2:DisplayObject;
LastNumber = 0;
_local1 = 1;
while (_local1 <= 75) {
_local2 = this.getChildByName((("Num" + String(_local1)) + "_txt"));
_local2.alpha = 0.3;
_local1++;
};
}
}
}//package BongoBingoNP_fla
Section 3
//mcCard_6 (BongoBingoNP_fla.mcCard_6)
package BongoBingoNP_fla {
import flash.events.*;
import flash.utils.*;
import flash.media.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class mcCard_6 extends MovieClip {
public var Card14_mc:MovieClip;
public var Card2_mc:MovieClip;
public var Card20_mc:MovieClip;
public var Card5_mc:MovieClip;
public var Card23_mc:MovieClip;
public var Card8_mc:MovieClip;
public var Card17_mc:MovieClip;
public var Card:Array;
public var Card12_mc:MovieClip;
public var Marked:Array;
public var Card21_mc:MovieClip;
public var Card3_mc:MovieClip;
public var Card15_mc:MovieClip;
public var Card6_mc:MovieClip;
public var Card24_mc:MovieClip;
public var Card10_mc:MovieClip;
public var Called:Array;
public var Card1_mc:MovieClip;
public var snd:Sound;
public var Card4_mc:MovieClip;
public var Card18_mc:MovieClip;
public var Card9_mc:MovieClip;
public var Card13_mc:MovieClip;
public var Card22_mc:MovieClip;
public var Card7_mc:MovieClip;
public var Card16_mc:MovieClip;
public var EnableMarking:Boolean;
public var Card19_mc:MovieClip;
public var Card11_mc:MovieClip;
public function mcCard_6(){
addFrameScript(0, frame1);
}
public function CreateNewCard():void{
var _local1:Number;
var _local2:Number;
var _local3:Array;
Card = [];
Marked = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_local3 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
_local1 = 1;
while (_local1 <= 5) {
_local2 = Math.floor((Math.random() * _local3.length));
Card.push(_local3[_local2]);
_local3.splice(_local2, 1);
_local1++;
};
_local3 = [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30];
_local1 = 1;
while (_local1 <= 5) {
_local2 = Math.floor((Math.random() * _local3.length));
Card.push(_local3[_local2]);
_local3.splice(_local2, 1);
_local1++;
};
_local3 = [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45];
_local1 = 1;
while (_local1 <= 4) {
_local2 = Math.floor((Math.random() * _local3.length));
Card.push(_local3[_local2]);
_local3.splice(_local2, 1);
_local1++;
};
_local3 = [46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60];
_local1 = 1;
while (_local1 <= 5) {
_local2 = Math.floor((Math.random() * _local3.length));
Card.push(_local3[_local2]);
_local3.splice(_local2, 1);
_local1++;
};
_local3 = [61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75];
_local1 = 1;
while (_local1 <= 5) {
_local2 = Math.floor((Math.random() * _local3.length));
Card.push(_local3[_local2]);
_local3.splice(_local2, 1);
_local1++;
};
Card1_mc.SetNumber(Card[0]);
Card2_mc.SetNumber(Card[1]);
Card3_mc.SetNumber(Card[2]);
Card4_mc.SetNumber(Card[3]);
Card5_mc.SetNumber(Card[4]);
Card6_mc.SetNumber(Card[5]);
Card7_mc.SetNumber(Card[6]);
Card8_mc.SetNumber(Card[7]);
Card9_mc.SetNumber(Card[8]);
Card10_mc.SetNumber(Card[9]);
Card11_mc.SetNumber(Card[10]);
Card12_mc.SetNumber(Card[11]);
Card13_mc.SetNumber(Card[12]);
Card14_mc.SetNumber(Card[13]);
Card15_mc.SetNumber(Card[14]);
Card16_mc.SetNumber(Card[15]);
Card17_mc.SetNumber(Card[16]);
Card18_mc.SetNumber(Card[17]);
Card19_mc.SetNumber(Card[18]);
Card20_mc.SetNumber(Card[19]);
Card21_mc.SetNumber(Card[20]);
Card22_mc.SetNumber(Card[21]);
Card23_mc.SetNumber(Card[22]);
Card24_mc.SetNumber(Card[23]);
}
public function CheckBingo(_arg1:Number):Boolean{
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
switch (_arg1){
case 1:
if ((((((((((Marked[0] == 1)) && ((Marked[5] == 1)))) && ((Marked[10] == 1)))) && ((Marked[14] == 1)))) && ((Marked[19] == 1)))){
return (true);
};
if ((((((((((Marked[1] == 1)) && ((Marked[6] == 1)))) && ((Marked[11] == 1)))) && ((Marked[15] == 1)))) && ((Marked[20] == 1)))){
return (true);
};
if ((((((((Marked[2] == 1)) && ((Marked[7] == 1)))) && ((Marked[16] == 1)))) && ((Marked[21] == 1)))){
return (true);
};
if ((((((((((Marked[3] == 1)) && ((Marked[8] == 1)))) && ((Marked[12] == 1)))) && ((Marked[17] == 1)))) && ((Marked[22] == 1)))){
return (true);
};
if ((((((((((Marked[4] == 1)) && ((Marked[9] == 1)))) && ((Marked[13] == 1)))) && ((Marked[18] == 1)))) && ((Marked[23] == 1)))){
return (true);
};
if ((((((((((Marked[0] == 1)) && ((Marked[1] == 1)))) && ((Marked[2] == 1)))) && ((Marked[3] == 1)))) && ((Marked[4] == 1)))){
return (true);
};
if ((((((((((Marked[5] == 1)) && ((Marked[6] == 1)))) && ((Marked[7] == 1)))) && ((Marked[8] == 1)))) && ((Marked[9] == 1)))){
return (true);
};
if ((((((((Marked[10] == 1)) && ((Marked[11] == 1)))) && ((Marked[12] == 1)))) && ((Marked[13] == 1)))){
return (true);
};
if ((((((((((Marked[14] == 1)) && ((Marked[15] == 1)))) && ((Marked[16] == 1)))) && ((Marked[17] == 1)))) && ((Marked[18] == 1)))){
return (true);
};
if ((((((((((Marked[19] == 1)) && ((Marked[20] == 1)))) && ((Marked[21] == 1)))) && ((Marked[22] == 1)))) && ((Marked[23] == 1)))){
return (true);
};
if ((((((((Marked[0] == 1)) && ((Marked[6] == 1)))) && ((Marked[17] == 1)))) && ((Marked[23] == 1)))){
return (true);
};
if ((((((((Marked[4] == 1)) && ((Marked[8] == 1)))) && ((Marked[15] == 1)))) && ((Marked[19] == 1)))){
return (true);
};
break;
case 2:
_local2 = 0;
if ((((((((((Marked[0] == 1)) && ((Marked[5] == 1)))) && ((Marked[10] == 1)))) && ((Marked[14] == 1)))) && ((Marked[19] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[1] == 1)) && ((Marked[6] == 1)))) && ((Marked[11] == 1)))) && ((Marked[15] == 1)))) && ((Marked[20] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((Marked[2] == 1)) && ((Marked[7] == 1)))) && ((Marked[16] == 1)))) && ((Marked[21] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[3] == 1)) && ((Marked[8] == 1)))) && ((Marked[12] == 1)))) && ((Marked[17] == 1)))) && ((Marked[22] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[4] == 1)) && ((Marked[9] == 1)))) && ((Marked[13] == 1)))) && ((Marked[18] == 1)))) && ((Marked[23] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[0] == 1)) && ((Marked[1] == 1)))) && ((Marked[2] == 1)))) && ((Marked[3] == 1)))) && ((Marked[4] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[5] == 1)) && ((Marked[6] == 1)))) && ((Marked[7] == 1)))) && ((Marked[8] == 1)))) && ((Marked[9] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((Marked[10] == 1)) && ((Marked[11] == 1)))) && ((Marked[12] == 1)))) && ((Marked[13] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[14] == 1)) && ((Marked[15] == 1)))) && ((Marked[16] == 1)))) && ((Marked[17] == 1)))) && ((Marked[18] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((((Marked[19] == 1)) && ((Marked[20] == 1)))) && ((Marked[21] == 1)))) && ((Marked[22] == 1)))) && ((Marked[23] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((Marked[0] == 1)) && ((Marked[6] == 1)))) && ((Marked[17] == 1)))) && ((Marked[23] == 1)))){
_local2 = (_local2 + 1);
};
if ((((((((Marked[4] == 1)) && ((Marked[8] == 1)))) && ((Marked[15] == 1)))) && ((Marked[19] == 1)))){
_local2 = (_local2 + 1);
};
if (_local2 > 1){
return (true);
};
break;
case 3:
if ((((((((((((((((Marked[0] == 1)) && ((Marked[6] == 1)))) && ((Marked[17] == 1)))) && ((Marked[23] == 1)))) && ((Marked[4] == 1)))) && ((Marked[8] == 1)))) && ((Marked[15] == 1)))) && ((Marked[19] == 1)))){
return (true);
};
break;
case 4:
if ((((((((((((((((((((((((((((((((((((((((Marked[1] == 1)) && ((Marked[6] == 1)))) && ((Marked[11] == 1)))) && ((Marked[15] == 1)))) && ((Marked[20] == 1)))) && ((Marked[3] == 1)))) && ((Marked[8] == 1)))) && ((Marked[12] == 1)))) && ((Marked[17] == 1)))) && ((Marked[22] == 1)))) && ((Marked[5] == 1)))) && ((Marked[6] == 1)))) && ((Marked[7] == 1)))) && ((Marked[8] == 1)))) && ((Marked[9] == 1)))) && ((Marked[14] == 1)))) && ((Marked[15] == 1)))) && ((Marked[16] == 1)))) && ((Marked[17] == 1)))) && ((Marked[18] == 1)))){
return (true);
};
break;
case 5:
_local3 = true;
_local4 = 0;
while (_local4 < Marked.length) {
if (Marked[_local4] == 0){
_local3 = false;
};
_local4++;
};
return (_local3);
};
return (false);
}
function frame1(){
snd = new clsMarkBall();
Card = new Array();
Marked = new Array();
Called = new Array();
EnableMarking = true;
Card1_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card2_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card3_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card4_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card5_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card6_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card7_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card8_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card9_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card10_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card11_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card12_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card13_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card14_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card15_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card16_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card17_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card18_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card19_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card20_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card21_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card22_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card23_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card24_mc.addEventListener(MouseEvent.CLICK, Card_Click);
Card1_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card2_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card3_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card4_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card5_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card6_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card7_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card8_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card9_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card10_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card11_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card12_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card13_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card14_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card15_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card16_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card17_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card18_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card19_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card20_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card21_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card22_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card23_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card24_mc.addEventListener(MouseEvent.ROLL_OVER, Card_MouseEnter);
Card1_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card2_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card3_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card4_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card5_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card6_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card7_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card8_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card9_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card10_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card11_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card12_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card13_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card14_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card15_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card16_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card17_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card18_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card19_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card20_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card21_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card22_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card23_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Card24_mc.addEventListener(MouseEvent.ROLL_OUT, Card_MouseLeave);
Called = [];
stop();
}
public function Card_MouseLeave(_arg1:MouseEvent):void{
var _local2:int;
_local2 = -1;
switch (_arg1.target.name){
case "Card1_mc":
_local2 = 0;
break;
case "Card2_mc":
_local2 = 1;
break;
case "Card3_mc":
_local2 = 2;
break;
case "Card4_mc":
_local2 = 3;
break;
case "Card5_mc":
_local2 = 4;
break;
case "Card6_mc":
_local2 = 5;
break;
case "Card7_mc":
_local2 = 6;
break;
case "Card8_mc":
_local2 = 7;
break;
case "Card9_mc":
_local2 = 8;
break;
case "Card10_mc":
_local2 = 9;
break;
case "Card11_mc":
_local2 = 10;
break;
case "Card12_mc":
_local2 = 11;
break;
case "Card13_mc":
_local2 = 12;
break;
case "Card14_mc":
_local2 = 13;
break;
case "Card15_mc":
_local2 = 14;
break;
case "Card16_mc":
_local2 = 15;
break;
case "Card17_mc":
_local2 = 16;
break;
case "Card18_mc":
_local2 = 17;
break;
case "Card19_mc":
_local2 = 18;
break;
case "Card20_mc":
_local2 = 19;
break;
case "Card21_mc":
_local2 = 20;
break;
case "Card22_mc":
_local2 = 21;
break;
case "Card23_mc":
_local2 = 22;
break;
case "Card24_mc":
_local2 = 23;
break;
};
if (_local2 >= 0){
if ((((Marked[_local2] == 0)) && ((Called.indexOf(Card[_local2]) >= 0)))){
_arg1.target.SetNumber(Card[_local2]);
};
};
}
public function Card_Click(_arg1:MouseEvent):void{
var _local2:String;
var _local3:Number;
var _local4:int;
var _local5:Boolean;
if (EnableMarking){
_local2 = _arg1.currentTarget.name;
_local2 = _local2.replace("Card", "");
_local2 = _local2.replace("_mc", "");
_local3 = (Number(_local2) - 1);
_local4 = Called.indexOf(Card[_local3]);
_local5 = (Marked[_local3] == 1);
if (((!(_local5)) && ((_local4 >= 0)))){
snd.play();
MarkNumber(_local3);
};
};
}
public function MarkNumber(_arg1:Number):void{
var _local2:MovieClip;
switch (_arg1){
case 0:
_local2 = Card1_mc;
break;
case 1:
_local2 = Card2_mc;
break;
case 2:
_local2 = Card3_mc;
break;
case 3:
_local2 = Card4_mc;
break;
case 4:
_local2 = Card5_mc;
break;
case 5:
_local2 = Card6_mc;
break;
case 6:
_local2 = Card7_mc;
break;
case 7:
_local2 = Card8_mc;
break;
case 8:
_local2 = Card9_mc;
break;
case 9:
_local2 = Card10_mc;
break;
case 10:
_local2 = Card11_mc;
break;
case 11:
_local2 = Card12_mc;
break;
case 12:
_local2 = Card13_mc;
break;
case 13:
_local2 = Card14_mc;
break;
case 14:
_local2 = Card15_mc;
break;
case 15:
_local2 = Card16_mc;
break;
case 16:
_local2 = Card17_mc;
break;
case 17:
_local2 = Card18_mc;
break;
case 18:
_local2 = Card19_mc;
break;
case 19:
_local2 = Card20_mc;
break;
case 20:
_local2 = Card21_mc;
break;
case 21:
_local2 = Card22_mc;
break;
case 22:
_local2 = Card23_mc;
break;
case 23:
_local2 = Card24_mc;
break;
};
Marked[_arg1] = 1;
_local2.MarkNumber(Card[_arg1]);
_local2.alpha = 1;
_local2.filters = [];
}
public function Card_MouseEnter(_arg1:MouseEvent):void{
var _local2:int;
var _local3:GlowFilter;
_local2 = -1;
switch (_arg1.target.name){
case "Card1_mc":
_local2 = 0;
break;
case "Card2_mc":
_local2 = 1;
break;
case "Card3_mc":
_local2 = 2;
break;
case "Card4_mc":
_local2 = 3;
break;
case "Card5_mc":
_local2 = 4;
break;
case "Card6_mc":
_local2 = 5;
break;
case "Card7_mc":
_local2 = 6;
break;
case "Card8_mc":
_local2 = 7;
break;
case "Card9_mc":
_local2 = 8;
break;
case "Card10_mc":
_local2 = 9;
break;
case "Card11_mc":
_local2 = 10;
break;
case "Card12_mc":
_local2 = 11;
break;
case "Card13_mc":
_local2 = 12;
break;
case "Card14_mc":
_local2 = 13;
break;
case "Card15_mc":
_local2 = 14;
break;
case "Card16_mc":
_local2 = 15;
break;
case "Card17_mc":
_local2 = 16;
break;
case "Card18_mc":
_local2 = 17;
break;
case "Card19_mc":
_local2 = 18;
break;
case "Card20_mc":
_local2 = 19;
break;
case "Card21_mc":
_local2 = 20;
break;
case "Card22_mc":
_local2 = 21;
break;
case "Card23_mc":
_local2 = 22;
break;
case "Card24_mc":
_local2 = 23;
break;
};
if (_local2 >= 0){
if ((((Marked[_local2] == 0)) && ((Called.indexOf(Card[_local2]) >= 0)))){
_local3 = new GlowFilter(0xFFFF00, 1, 4, 4, 2, 1, false, false);
_arg1.target.MarkNumber(Card[_local2]);
_arg1.target.alpha = 0.5;
_arg1.target.filters = [_local3];
};
};
}
}
}//package BongoBingoNP_fla
Section 4
//mcCardBall_8 (BongoBingoNP_fla.mcCardBall_8)
package BongoBingoNP_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mcCardBall_8 extends MovieClip {
public var Number_txt:TextField;
}
}//package BongoBingoNP_fla
Section 5
//mcCardNumber_7 (BongoBingoNP_fla.mcCardNumber_7)
package BongoBingoNP_fla {
import flash.events.*;
import flash.utils.*;
import flash.media.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class mcCardNumber_7 extends MovieClip {
public var Num_txt:TextField;
public var BallNum_mc:MovieClip;
public function mcCardNumber_7(){
addFrameScript(0, frame1);
}
public function SetNumber(_arg1:int):void{
Num_txt.text = String(_arg1);
this.filters = [];
this.alpha = 1;
BallNum_mc.visible = false;
Num_txt.visible = true;
}
function frame1(){
stop();
}
public function MarkNumber(_arg1:int):void{
BallNum_mc.Number_txt.text = String(_arg1);
BallNum_mc.visible = true;
Num_txt.visible = false;
}
}
}//package BongoBingoNP_fla
Section 6
//mcGator_23 (BongoBingoNP_fla.mcGator_23)
package BongoBingoNP_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mcGator_23 extends MovieClip {
public var Score_txt:TextField;
public var Restart_txt:TextField;
public function mcGator_23(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
public function SetScore(_arg1:String):void{
Score_txt.text = _arg1;
}
}
}//package BongoBingoNP_fla
Section 7
//mcPattern_10 (BongoBingoNP_fla.mcPattern_10)
package BongoBingoNP_fla {
import flash.display.*;
public dynamic class mcPattern_10 extends MovieClip {
public function mcPattern_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BongoBingoNP_fla
Section 8
//mcPauseScreen_20 (BongoBingoNP_fla.mcPauseScreen_20)
package BongoBingoNP_fla {
import flash.display.*;
public dynamic class mcPauseScreen_20 extends MovieClip {
public var PauseBKG_mc:MovieClip;
public function mcPauseScreen_20(){
addFrameScript(0, frame1);
}
function frame1(){
PauseBKG_mc.alpha = 0.75;
stop();
}
}
}//package BongoBingoNP_fla
Section 9
//mcPopup_17 (BongoBingoNP_fla.mcPopup_17)
package BongoBingoNP_fla {
import flash.events.*;
import flash.utils.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
public dynamic class mcPopup_17 extends MovieClip {
public var Continue_mc:MovieClip;
public var Message_txt:TextField;
public var PopupTimer:Timer;
public var bContinueFadeIn:Boolean;
public var sndMouseOver:Sound;
public var sndMouseDown:Sound;
public function mcPopup_17(){
addFrameScript(0, frame1);
}
public function Continue_mc_Click(_arg1:MouseEvent):void{
sndMouseDown.play();
}
public function PopupTimer_Tick(_arg1:TimerEvent):void{
if (bContinueFadeIn){
if (Continue_mc.alpha < 1){
Continue_mc.alpha = (Continue_mc.alpha + 0.1);
};
} else {
if (Continue_mc.alpha > 0){
Continue_mc.alpha = (Continue_mc.alpha - 0.1);
};
};
}
public function Show(_arg1:String):void{
Message_txt.text = _arg1;
this.parent.setChildIndex(this, (this.parent.numChildren - 1));
this.visible = true;
}
function frame1(){
sndMouseDown = new mouse_down01();
sndMouseOver = new mouse_over01();
bContinueFadeIn = false;
Continue_mc.addEventListener(MouseEvent.CLICK, Continue_mc_Click);
Continue_mc.addEventListener(MouseEvent.ROLL_OVER, Continue_mc_ROLL_OVER);
Continue_mc.addEventListener(MouseEvent.ROLL_OUT, Continue_mc_ROLL_OUT);
PopupTimer = new Timer(10);
PopupTimer.addEventListener(TimerEvent.TIMER, PopupTimer_Tick);
PopupTimer.start();
stop();
}
public function Continue_mc_ROLL_OUT(_arg1:MouseEvent):void{
bContinueFadeIn = false;
}
public function Continue_mc_ROLL_OVER(_arg1:MouseEvent):void{
sndMouseOver.play();
bContinueFadeIn = true;
}
}
}//package BongoBingoNP_fla
Section 10
//mcTumbler_1 (BongoBingoNP_fla.mcTumbler_1)
package BongoBingoNP_fla {
import flash.display.*;
public dynamic class mcTumbler_1 extends MovieClip {
public function mcTumbler_1(){
addFrameScript(0, frame1, 74, frame75);
}
function frame75(){
stop();
}
function frame1(){
stop();
}
}
}//package BongoBingoNP_fla
Section 11
//mcTumblerBalls_2 (BongoBingoNP_fla.mcTumblerBalls_2)
package BongoBingoNP_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mcTumblerBalls_2 extends MovieClip {
public var Number_txt:TextField;
public function mcTumblerBalls_2(){
addFrameScript(0, frame1);
}
public function SetNumber(_arg1:int):void{
if (_arg1 <= 15){
Number_txt.text = ("B" + String(_arg1));
} else {
if (_arg1 <= 30){
Number_txt.text = ("I" + String(_arg1));
} else {
if (_arg1 <= 45){
Number_txt.text = ("N" + String(_arg1));
} else {
if (_arg1 <= 60){
Number_txt.text = ("G" + String(_arg1));
} else {
Number_txt.text = ("O" + String(_arg1));
};
};
};
};
}
function frame1(){
stop();
}
}
}//package BongoBingoNP_fla
Section 12
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 13
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
public var begin:Number;// = NAN
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var change:Number;// = NAN
private var _finish:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
isPlaying = false;
obj = null;
prop = "";
func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
begin = NaN;
change = NaN;
useSeconds = false;
prevTime = NaN;
prevPos = NaN;
looping = false;
_duration = NaN;
_time = NaN;
_fps = NaN;
_position = NaN;
_startTime = NaN;
_intervalID = 0;
_finish = NaN;
_timer = null;
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean;
_local2 = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 14
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 15
//clsMarkBall (clsMarkBall)
package {
import flash.media.*;
public dynamic class clsMarkBall extends Sound {
}
}//package
Section 16
//Congrats (Congrats)
package {
import flash.media.*;
public dynamic class Congrats extends Sound {
}
}//package
Section 17
//LevelFailed (LevelFailed)
package {
import flash.media.*;
public dynamic class LevelFailed extends Sound {
}
}//package
Section 18
//mouse_down01 (mouse_down01)
package {
import flash.media.*;
public dynamic class mouse_down01 extends Sound {
}
}//package
Section 19
//mouse_over01 (mouse_over01)
package {
import flash.media.*;
public dynamic class mouse_over01 extends Sound {
}
}//package
Section 20
//PopUp (PopUp)
package {
import flash.media.*;
public dynamic class PopUp extends Sound {
}
}//package