Frame 1
function showMessengerButton() {
btnMessenger._visible = true;
}
var MOVIE_CLIP = this;
this._visible = false;
var mouseOver = false;
menuBG1._visible = false;
menuBG2._visible = false;
menuBG1.onRollOver = function () {
menuBG2._visible = false;
menuBG1._visible = false;
navBar.close();
};
btnBackToGame.label.setFont(tfN3);
btnBackToGame.label.text = ltxt("BACK_TO_GAME");
menuItem8.label.text = "Find Member";
btnMessenger.label.setFont(tfN1);
btnHelp.label.setFont(tfN1);
btnMsgLog.label.setFont(tfN1);
btnMessenger.label.text = ltxt("TAB_MESSENGER");
btnHelp.label.text = ltxt("TAB_HELP");
btnMsgLog.label.text = ltxt("NAV_MESSAGE_LOG");
btnBackToGame.onPress = function () {
main.navigate(main.MI_PLAY);
};
btnHelp.onPress = function () {
main.help.showHelp();
};
btnMsgLog.onPress = function () {
main.navigate(main.MI_MSG_LOG);
};
btnMessenger.onPress = function () {
if (_global.bIsLogginedIn == true) {
this._visible = false;
main.buddyList._visible = true;
} else {
main.navigate();
}
};
menuItem8.onPress = function () {
main.navigate(main.MI_FIND_MEMBER);
};
if (_global.gblDebug == 0) {
btnChangeLang._visible = false;
txtLang._visible = false;
}
btnChangeLang.onPress = function () {
main.loadText(txtLang.text);
main.loadMovies(true);
};
this.tabEnabled = false;
this.tabChildren = false;
Symbol 2 MovieClip [mainItem] Frame 1
stop();
var id;
var xpos;
label.autosize = "left";
this.onRollOver = function () {
main.s3_sound.start();
this._parent.label1.textColor = 7517494 /* 0x72B536 */;
gotoAndStop (4);
};
this.onRollOut = function () {
gotoAndStop (1);
this._parent.label1.textColor = 14474460 /* 0xDCDCDC */;
};
Symbol 11 MovieClip Frame 1
stop();
var id;
var xpos;
label.autosize = "left";
this.onRollOver = function () {
main.s3_sound.start();
this._parent.label2.textColor = 7517494 /* 0x72B536 */;
gotoAndStop (4);
};
this.onRollOut = function () {
gotoAndStop (1);
this._parent.label2.textColor = 14474460 /* 0xDCDCDC */;
};
Symbol 12 MovieClip Frame 1
stop();
var id;
var xpos;
label.autosize = "left";
this.onRollOver = function () {
main.s3_sound.start();
this._parent.label3.textColor = 7517494 /* 0x72B536 */;
gotoAndStop (4);
};
this.onRollOut = function () {
gotoAndStop (1);
this._parent.label3.textColor = 14474460 /* 0xDCDCDC */;
};
Symbol 17 MovieClip Frame 1
function unfreezeOpen() {
bIsClosing = false;
clearInterval(nClosingIntervalId);
}
function close() {
clearInterval(nClosingIntervalId);
_parent.menuBG1._visible = false;
_parent.menuBG2._visible = false;
main.s2_sound.start();
MENU_BAR._y = 584;
bIsOpen = false;
bIsClosing = true;
nClosingIntervalId = setInterval(unfreezeOpen, 250);
}
function open() {
if ((bIsClosing == true) || (bIsOpen == true)) {
return(undefined);
}
if (_global.bIsLogginedIn == true) {
label1.text = ltxt("NAV_LOGOUT");
} else {
label1.text = ltxt("NAV_LOGIN");
}
_parent.menuBG1._visible = true;
_parent.menuBG2._visible = true;
main.s1_sound.start();
MENU_BAR._y = 566;
bIsOpen = true;
}
stop();
trace2(" _root.gameSKU=" + _root.gameSKU);
if ((_root.gameSKU == "en") || (_root.gameSKU.toUpperCase() == "NA")) {
var bPrizes = true;
} else {
var bPrizes = false;
}
var MENU_BAR = this;
var bIsOpen = false;
var bIsClosing = false;
var nClosingIntervalId;
btnOpen1.onRollOver = open;
btnOpen1.onPress = function () {
if (bIsOpen == false) {
open();
} else {
close();
}
};
btnOpen2.onRollOver = open;
btnOpen2.onPress = function () {
if (bIsOpen == false) {
open();
} else {
close();
}
};
menu2Item_0.onPress = function () {
close();
main.navigate(main.MI_PRIZES);
};
menu2Item_1.onPress = function () {
if (main.oPublicInfo.bHasData) {
main.navigate(main.MI_LOGOFF);
}
};
menu2Item_2.onPress = function () {
if (main.oPublicInfo.bHasData) {
main.navigate(main.MI_MY_ACCOUNT);
}
};
menu2Item_3.onPress = function () {
if (main.oPublicInfo.bHasData) {
main.navigate(main.MI_ABOUT);
}
this._parent.label3.textColor = 14474460 /* 0xDCDCDC */;
};
var nMenuWidth = 75;
var nPrizeButton = 1;
if (bPrizes == false) {
menu2Item_0._visible = false;
div1._visible = false;
label0._visible = false;
nMenuWidth = 100;
nPrizeButton = 0;
}
label0.setFont(tfn2);
label1.setFont(tfn2);
label2.setFont(tfn2);
label3.setFont(tfn2);
label0.text = ltxt("NAV_PRIZES");
label1.text = ltxt("NAV_LOGOUT");
label2.text = ltxt("NAV_MY_ACCOUNT");
label3.text = ltxt("NAV_ABOUT");
label0.autosize = "left";
label1.autosize = "left";
label2.autosize = "left";
label3.autosize = "left";
label1._x = (label2._x - label1._width) - 20;
label3._x = (label2._x + label2._width) + 20;
menu2Item_1._width = label1._width;
menu2Item_2._width = label2._width;
menu2Item_3._width = label3._width;
menu2Item_1._x = label1._x;
menu2Item_2._x = label2._x;
menu2Item_3._x = label3._x;