home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 February
/
Chip_2003-02_cd1.bin
/
zkuste
/
wmakeup
/
download
/
MCE_Enhanced.wmz
/
mc.js
< prev
next >
Wrap
Text (UTF-16)
|
2002-11-25
|
47KB
|
1,004 lines
/*
http://www.theskinsfactory.com
info@theskinsfactory.com
*/
function checkShutterSound(){
if(shutterButton.enabled){
if(shutterButton.down){
theme.playSound('click.wav');
}else{
theme.playSound('intro.wav');
}
}
}
var index = 0;
var mainIn = new Array();
mainIn[index++] = "mainBack.backgroundImage='main_back";
mainIn[index++] = "leftSet.backgroundImage='m_left_no";
mainIn[index++] = "leftSetButtons.image='m_left_no";
mainIn[index++] = "leftSetButtons.hoverImage='m_left_hov";
mainIn[index++] = "leftSetButtons.downImage='m_left_do";
mainIn[index++] = "topSetButtons.image='m_top_no";
mainIn[index++] = "topSetButtons.hoverImage='m_top_hov";
mainIn[index++] = "topSetButtons.downImage='m_top_do";
mainIn[index++] = "mainPauseButton.image='m_pause_no";
mainIn[index++] = "mainPauseButton.hoverImage='m_pause_hov";
mainIn[index++] = "mainPauseButton.downImage='m_pause_do";
mainIn[index++] = "mainButtons.image='m_main_no";
mainIn[index++] = "mainButtons.hoverImage='m_main_hov";
mainIn[index++] = "mainButtons.downImage='m_main_do";
mainIn[index++] = "mainButtons.hoverDownImage='m_main_do_hov";
mainIn[index++] = "rightSet.backgroundImage='m_right_no";
mainIn[index++] = "rightSetButtons.image='m_right_no";
mainIn[index++] = "rightSetButtons.hoverImage='m_right_hov";
mainIn[index++] = "rightSetButtons.downImage='m_right_do";
mainIn[index++] = "mainLeftArrow.image='m_left_arrow_no";
mainIn[index++] = "mainLeftArrow.hoverImage='m_left_arrow_hov";
mainIn[index++] = "mainLeftArrow.downImage='m_left_arrow_do";
mainIn[index++] = "mainLeftArrow.hoverDownImage='m_left_arrow_do_hov";
mainIn[index++] = "mainRightArrow.image='m_right_arrow_no";
mainIn[index++] = "mainRightArrow.hoverImage='m_right_arrow_hov";
mainIn[index++] = "mainRightArrow.downImage='m_right_arrow_do";
mainIn[index++] = "mainRightArrow.hoverDownImage='m_right_arrow_do_hov";
mainIn[index++] = "volume.hoverImage='vol_hov";
var colorStatus = false;
var green = "_g.png'";
var blue = ".png'";
function toggleColor(){
if(!colorStatus){
for(x=0; x < mainIn.length; x++){
obResult = mainIn[x] + green;
eval(obResult);
}
colorStatus = !colorStatus;
theme.savePreference('gColor','true');
if(shutterStatus){
shutterSubGreen.visible = true;
shutterSubGreen.backgroundImage = "shutter_static_g.png";
shutterStaticGreen.visible = true;
shutterStatic.visible = false;
shutterSub.visible = false;
}
}else{
for(x=0; x < mainIn.length; x++){
obResult = mainIn[x] + blue;
eval(obResult);
}
colorStatus = !colorStatus;
theme.savePreference('gColor','false');
if(shutterColorCheck&&shutterStatus){
shutterSubGreen.visible = false;
shutterStaticGreen.visible = false;
shutterSub.backgroundImage = "shutter_static.png";
shutterStatic.visible = true;
shutterSub.visible = true;
}
}
}
var plFrameStatus = false;
var index = 0;
var frameIn = new Array();
frameIn[index++] = "f_top_left";
frameIn[index++] = "f_left_s";
frameIn[index++] = "f_bot_left";
frameIn[index++] = "f_bot_s";
frameIn[index++] = "f_bot_right";
frameIn[index++] = "f_right_s";
frameIn[index++] = "f_top_right";
frameIn[index++] = "f_top_s";
function toggleFrameColor(window,color){
for(x=0; x < frameIn.length; x++){
plResult = window + x + ".backgroundImage='" + frameIn[x] + color;
eval(plResult);
}
}
// change to cases
var plColorCheck = false;
function checkPLColor(){
if("true"==theme.loadPreference("gColor")){
if(plColorCheck){
//plColorCheck = false;
}else{
toggleFrameColor('pl',green);
plColorCheck = true;
plClose.image = "f_close_no_g.png";
plClose.hoverImage = "f_close_hov_g.png";
plClose.downImage = "f_close_do_g.png";
plResize.image = "f_resize_g.png";
plResize.hoverImage = "f_resize_hov_g.png";
plFrame.backgroundColor = "#64ac00";
plFrame.itemPlayingBackgroundColor = "#3960b0";
}
}else{
if(plColorCheck){
toggleFrameColor('pl',blue);
plColorCheck = false;
plClose.image = "f_close_no.png";
plClose.hoverImage = "f_close_hov.png";
plClose.downImage = "f_close_do.png";
plResize.image = "f_resize.png";
plResize.hoverImage = "f_resize_hov.png";
plFrame.backgroundColor = "#3960b0";
plFrame.itemPlayingBackgroundColor = "#64ac00";
}else{
//
}
}
}
var visColorCheck = false;
function checkVisColor(){
if("true"==theme.loadPreference("gColor")){
if(visColorCheck){
//plColorCheck = false;
}else{
toggleFrameColor('vis',green);
visColorCheck = true;
visClose.image = "f_close_no_g.png";
visClose.hoverImage = "f_close_hov_g.png";
visClose.downImage = "f_close_do_g.png";
visResize.image = "f_resize_g.png";
visResize.hoverImage = "f_resize_hov_g.png";
visSetButtons.image = "vis_set_no_g.png";
visSetButtons.hoverImage = "vis_set_hov_g.png";
visSetButtons.downImage = "vis_set_do_g.png";
}
}else{
if(visColorCheck){
toggleFrameColor('vis',blue);
visColorCheck = false;
visClose.image = "f_close_no.png";
visClose.hoverImage = "f_close_hov.png";
visClose.downImage = "f_close_do.png";
visResize.image = "f_resize.png";
visResize.hoverImage = "f_resize_hov.png";
visSetButtons.image = "vis_set_no.png";
visSetButtons.hoverImage = "vis_set_hov.png";
visSetButtons.downImage = "vis_set_do.png";
}else{
//
}
}
}
var vidColorCheck = false;
function checkVidColor(){
if("true"==theme.loadPreference("gColor")){
if(vidColorCheck){
//plColorCheck = false;
}else{
toggleFrameColor('vid',green);
vidColorCheck = true;
vidClose.image = "f_close_no_g.png";
vidClose.hoverImage = "f_close_hov_g.png";
vidClose.downImage = "f_close_do_g.png";
vidResize.image = "f_resize_g.png";
vidResize.hoverImage = "f_resize_hov_g.png";
vidZoom.image = "vid_zoom_no_g.png";
vidZoom.hoverImage = "vid_zoom_hov_g.png";
vidZoom.downImage = "vid_zoom_do_g.png";
vidDrawerButton.image = "vid_drawer_open_no_g.png";
vidDrawerButton.hoverImage = "vid_drawer_open_hov_g.png";
vidDrawerButton.downImage = "vid_drawer_open_do_g.png";
vidDrawerButton.hoverDownImage = "vid_drawer_open_do_hov_g.png";
}
}else{
if(vidColorCheck){
toggleFrameColor('vid',blue);
vidColorCheck = false;
vidClose.image = "f_close_no.png";
vidClose.hoverImage = "f_close_hov.png";
vidClose.downImage = "f_close_do.png";
vidResize.image = "f_resize.png";
vidResize.hoverImage = "f_resize_hov.png";
vidZoom.image = "vid_zoom_no.png";
vidZoom.hoverImage = "vid_zoom_hov.png";
vidZoom.downImage = "vid_zoom_do.png";
vidDrawerButton.image = "vid_drawer_open_no.png";
vidDrawerButton.hoverImage = "vid_drawer_open_hov.png";
vidDrawerButton.downImage = "vid_drawer_open_do.png";
vidDrawerButton.hoverDownImage = "vid_drawer_open_do_hov.png";
}else{
//
}
}
}
var infoColorCheck = false;
function checkInfoColor(){
if("true"==theme.loadPreference("gColor")){
if(infoColorCheck){
//plColorCheck = false;
}else{
toggleFrameColor('info',green);
infoColorCheck = true;
infoClose.image = "f_close_no_g.png";
infoClose.hoverImage = "f_close_hov_g.png";
infoClose.downImage = "f_close_do_g.png";
}
}else{
if(infoColorCheck){
toggleFrameColor('info',blue);
infoColorCheck = false;
infoClose.image = "f_close_no.png";
infoClose.hoverImage = "f_close_hov.png";
infoClose.downImage = "f_close_do.png";
}else{
//
}
}
}
var eqStatus = false;
function toggleEQ(){
eqBack.visible = true;
if(!eqStatus){
eqBack.alphaBlendTo(255,500);
eqButton.down = true;
seekSub.visible = false;
metaSub.visible = false;
eqStatus = !eqStatus;
}else{
eqBack.alphaBlendTo(0,500);
eqButton.down = false;
seekSub.visible = true;
metaSub.visible = true;
eqStatus = !eqStatus;
}
}
var shutterCheck = false;
var introCheck = false;
var colorCheck = false;
function introAnim(){
if(shutterCheck){
if(colorCheck){
ColorButton.enabled = true;
shutterButton.enabled = true;
view.timerInterval = 0;
}else{
ColorButton.enabled = true;
shutterButton.enabled = true;
view.timerInterval = 0;
}
}else{
if(introCheck){
toggleLeftDrawer();
toggleRightDrawer();
view.timerInterval = 0;
shutterCheck = true;
}else{
shutterSub.backgroundImage = "shutter_open.gif";
view.timerInterval = 3400;
introCheck = true;
shutterCheck = false;
theme.playSound('intro.wav');
}
}
}
var shutterStatus = false;
var shutterColorCheck = false;
function toggleShutter(){
if(!shutterStatus){
if("true"==theme.loadPreference('gColor')){
shutterSubGreen.visible = true;
shutterSubGreen.backgroundImage = "shutter_close_g.gif";
shutterStaticGreen.visible = true;
shutterStatic.visible = false;
shutterSub.visible = false;
}else{
shutterSub.visible = true;
shutterSubGreen.visible = false;
shutterStaticGreen.visible = false;
shutterSub.backgroundImage = "shutter_close.gif";
shutterStatic.visible = true;
}
shutterColorCheck = true;
eqBack.visible = false;
eqButton.down = false;
eqButton.enabled = false;
seekSub.visible = false;
metaSub.visible = false;
eqStatus = !eqStatus;
ColorButton.enabled = false;
shutterButton.enabled = false;
colorCheck = false;
view.timerInterval = 5300;
shutterStatus = !shutterStatus;
}else{
if("true"==theme.loadPreference('gColor')){
shutterSubGreen.backgroundImage = "shutter_open_g.gif";
shutterStaticGreen.visible = false;
}else{
shutterSub.backgroundImage = "shutter_open.gif";
shutterStatic.visible = false;
}
eqButton.enabled = true;
eqStatus = eqStatus;
toggleEQ();
ColorButton.enabled = false;
shutterButton.enabled = false;
colorCheck = true;
view.timerInterval = 5300;
shutterStatus = !shutterStatus;
shutterColorCheck = false;
}
}
var leftDrawer = false;
function toggleLeftDrawer(){
if(!leftDrawer){
leftSet.moveTo(0,55,500);
leftSetButtons.enabled = true;
leftDrawer = !leftDrawer;
}else{
leftSet.moveTo(18,55,500);
leftDrawer = !leftDrawer;
}
}
function checkLeftDrawer(){
leftDrawer = leftDrawer;
leftSetButtons.enabled = leftDrawer;
}
var rightDrawer = false;
function toggleRightDrawer(){
if(!rightDrawer){
rightSet.moveTo(204,55,500);
rightSetButtons.enabled = true;
rightDrawer = !rightDrawer;
}else{
rightSet.moveTo(186,55,500);
rightDrawer = !rightDrawer;
}
}
function checkRightDrawer(){
rightDrawer = rightDrawer;
rightSetButtons.enabled = rightDrawer;
}
function mainStartUp(){
volume.value = player.settings.volume;
loadMainPrefs();
checkPlayerState();
}
function checkPlayerState(){
if (player){
switch (player.playState){
case 3: //playing
if(player.currentMedia.ImageSourceWidth>0){
theme.openView('videoView');
if("true"==theme.loadPreference("visViewer")){
theme.savePreference("visViewer", "false");
theme.closeView( "visView" );
}
break
}
break;
}
}
if (!player.controls.isAvailable("Stop")) {
}
updateMetadata();
}
// metadata
function updateMetadata(){
if(player.openState!=13) return;
//metadata.value = player.status;
authorppl = player.currentmedia.getiteminfo("#author");
if (authorppl == "") {
authorppl = player.currentmedia.getiteminfo("author");
}
if (authorppl != "") {
authorppl += " - ";
}
if (metadata.value != "") {
metadata.value += " - ";
}
metadata.value = authorppl;
metadata.value += player.currentmedia.name;
metadata.scrolling = (metadata.textWidth>metadata.width);
}
// button and hotkey definitions
// open file
function openFile(){
var media = theme.openDialog('FILE_OPEN','FILES_ALLMEDIA');
if (media) {
player.URL = media;
player.controls.play();
}
}
function viewHotKeys(){
switch(event.keycode){
case 122:
case 90:
player.controls.previous();
break;
case 120:
case 88:
player.controls.play();
break;
case 99:
case 67:
player.controls.pause();
break;
case 118:
case 86:
player.controls.stop();
break;
case 98:
case 66:
player.controls.next();
break;
case 108:
case 76:
openFile();
break;
}
}
function viewResizer(event){
switch(event.keycode){
case 37:
view.width-=20;
break;
case 38:
view.height-=20
break;
case 39:
view.width+=20;
break;
case 40:
view.height+=20;
break;
}
}
function updateToolTip(id,button,tip){
if("true"==theme.loadPreference( id )){
eval( button +".upToolTip = 'Hide " + tip + "'" );
}else{
eval( button +".upToolTip = 'Show " + tip + "'" );
}
}
function updateVolToolTip(){
volume.toolTip = "";
volume.toolTip += player.settings.volume;
}
function updateShuffRep(){
if(player.settings.getMode('shuffle')){
shuffleButton.down = true;
}else{
shuffleButton.down = false;
}
if(player.settings.getMode('loop')){
repeatButton.down = true;
}else{
repeatButton.down = false;
}
}
//
function volKey(event){
switch(event.keycode){
case 39:
case 38:
if(player.settings.volume < 95){
player.settings.volume+=5;
}else{
player.settings.volume = 100;
}
break;
case 37:
case 40:
if(player.settings.volume > 5){
player.settings.volume-=5;
}else{
player.settings.volume = 0;
}
break;
}
mute.down = false;
player.settings.mute = false;
}
// view toggle
function toggleView(name,id){
if("true"==theme.loadPreference(id)){
theme.savePreference(id, "false");
theme.closeView( name );
}else{
theme.openView( name );
}
}
function closeView(id){
theme.savePreference(id, "false");
if( id=="vidViewer" && player.currentMedia.ImageSourceWidth>0 ){
player.controls.stop();
}
view.close();
}
function autoSizeView(width,height){
var viewSize = theme.loadPreference( width );
if( "--" != viewSize )
{
view.width = viewSize;
}else{
view.width = view.minWidth;
}
viewSize = theme.loadpreference( height );
if( "--" != viewSize )
{
view.height = viewSize;
}else{
view.height = view.minHeight;
}
}
function saveViewSize(width,height){
theme.savepreference( width , view.width );
theme.savepreference( height , view.height );
}
// preferences
function loadMainPrefs(){
if ("true"==theme.loadPreference("plViewer")){
theme.openView( 'plView' );
}
if ("true"==theme.loadPreference("infoViewer")){
theme.openView( 'infoView' );
}
if ("true"==theme.loadPreference("visViewer")){
theme.openView( 'visView' );
}
}
function saveMainPrefs() {
theme.savePreference('gColor','false');
}
function mainShutDown(){
saveMainPrefs();
}
// playlist
function loadPlPrefs(){
theme.savePreference( 'plViewer', "true" );
autoSizeView('plWidth','plHeight');
plFrame.setColumnResizeMode( 0, "stretches" );
plFrame.setColumnResizeMode( 1, "autosizedata" );
plFrame.setColumnResizeMode( 2, "autosizedata" );
plFrame.setColumnResizeMode( 3, "autosizedata" );
if("true"==theme.loadPreference('gColor')){
toggleFrameColor('pl',green);
plColorCheck = true;
plClose.image = "f_close_no_g.png";
plClose.hoverImage = "f_close_hov_g.png";
plClose.downImage = "f_close_do_g.png";
plResize.image = "f_resize_g.png";
plResize.hoverImage = "f_resize_hov_g.png";
plFrame.backgroundColor = "#64ac00";
plFrame.itemPlayingBackgroundColor = "#3960b0";
}
}
function savePlPrefs(){
saveViewSize('plWidth','plHeight');
}
// visualizations
function loadVisPrefs(){
theme.savePreference( 'visViewer', "true" );
visEffects.currentEffectType = mediacenter.effectType;
visEffects.currentPreset = mediacenter.effectPreset;
autoSizeView('visWidth','visHeight');
checkVisualsPlayerState()
if("true"==theme.loadPreference('gColor')){
toggleFrameColor('vis',green);
visColorCheck = true;
visClose.image = "f_close_no_g.png";
visClose.hoverImage = "f_close_hov_g.png";
visClose.downImage = "f_close_do_g.png";
visResize.image = "f_resize_g.png";
visResize.hoverImage = "f_resize_hov_g.png";
visSetButtons.image = "vis_set_no_g.png";
visSetButtons.hoverImage = "vis_set_hov_g.png";
visSetButtons.downImage = "vis_set_do_g.png";
}
}
function saveVisPrefs(){
mediacenter.effectType = visEffects.currentEffectType;
mediacenter.effectPreset = visEffects.currentPreset;
saveViewSize('visWidth','visHeight');
}
function checkVisualsPlayerState(){
if (player){
switch (player.playState){
case 0: //undefined
break;
case 1: //stopped
break;
case 2: //paused
break;
case 3: //playing
//visMask.visible = true;
break;
case 6: //buffering
break;
case 7: //waiting
break;
case 8: //media ended
break;
case 9: //Transitioning
break;
case 10: //Ready
break;
}
}
if (!player.controls.isAvailable("Stop")) {
//visMask.visible = false;
}
}
// video
function loadVidPrefs(){
var _drawerStatus = theme.loadPreference('drawerStatus');
if (_drawerStatus != '--') {
drawerStatus = (_drawerStatus.toLowerCase() == 'true') ? false : true;
} else {
drawerStatus = true;
}
if("true"==theme.loadPreference('gColor')){
toggleFrameColor('vid',green);
vidColorCheck = true;
vidClose.image = "f_close_no_g.png";
vidClose.hoverImage = "f_close_hov_g.png";
vidClose.downImage = "f_close_do_g.png";
vidResize.image = "f_resize_g.png";
vidResize.hoverImage = "f_resize_hov_g.png";
vidZoom.image = "vid_zoom_no_g.png";
vidZoom.hoverImage = "vid_zoom_hov_g.png";
vidZoom.downImage = "vid_zoom_do_g.png";
vidDrawerButton.image = "vid_drawer_open_no_g.png";
vidDrawerButton.hoverImage = "vid_drawer_open_hov_g.png";
vidDrawerButton.downImage = "vid_drawer_open_do_g.png";
vidDrawerButton.hoverDownImage = "vid_drawer_open_do_hov_g.png";
}
checkSnapStatus();
checkVideoPlayerState();
updateZoomToolTip();
toggleVidDrawer();
}
function saveVidPrefs(){
theme.savePreference('drawerStatus',drawerStatus);
}
function loadVidSize(){
var vidSizer = theme.loadPreference( "videoWidth" );
if( "--" != vidSizer )
{
view.width = vidSizer;
}
vidSizer = theme.loadpreference( "videoHeight" );
if( "--" != vidSizer )
{
view.height = vidSizer;
}
}
function saveVidSize(){
theme.savepreference( "videoWidth", view.width );
theme.savepreference( "videoHeight", view.height );
theme.savePreference("vidSnapper" , "false");
vidZoom.upToolTip = "Click To Set Video Size";
mediacenter.videoZoom = 50;
}
function videoZoom(){
if("false"==theme.loadPreference("vidSnapper")){
mediacenter.videoZoom = 50;
}
if(mediacenter.videoZoom < 76){
mediacenter.videoZoom = 100;
}else if(mediacenter.videoZoom <101){
mediacenter.videoZoom = 150;
}else if(mediacenter.videoZoom < 156){
mediacenter.videoZoom = 200;
}else{
mediacenter.videoZoom = 75;
}
SnapToVideo();
updateZoomToolTip();
}
function updateZoomToolTip(){
vidZoom.upToolTip = "Video Size - [current: " + mediacenter.videoZoom + "%] - [next: ";
if(mediacenter.videoZoom < 76){
nextZoom = 100;
}else if(mediacenter.videoZoom <101){
nextZoom = 150;
}else if(mediacenter.videoZoom < 156){
nextZoom = 200;
}else{
nextZoom = 75;
}
vidZoom.upToolTip += nextZoom + "%]";
if("false"==theme.loadPreference("vidSnapper")){
vidZoom.upToolTip = "Click To Set Video Size";
}
}
function SnapToVideo(){
theme.savePreference("vidSnapper" , "true");
var zoom = mediacenter.videoZoom;
var viewWidth = (player.currentMedia.imageSourceWidth * (zoom/100.00));
var viewHeight = (player.currentMedia.imageSourceHeight * (zoom/100.00));
view.width = viewWidth + 38;
view.height = viewHeight + 91;
}
function checkSnapStatus(){
if("false"==theme.loadPreference("vidSnapper")){
loadVidSize();
}else{
SnapToVideo();
}
}
function checkVideoPlayerState(){
if (player){
switch (player.playState){
case 0: //undefined
break;
case 1: //stopped
break;
case 2: //paused
break;
case 3: //playing
videoBox.visible = true;
checkSnapStatus();
vidBackBrand.visible = false;
if(!player.currentMedia.ImageSourceWidth>0){
view.close();
break;
}
break;
case 6: //buffering
break;
case 7: //waiting
break;
case 8: //media ended
break;
case 9: //Transitioning
break;
case 10: //Ready
break;
}
vidZoom.enabled = true;
vidResize.enabled = true;
}
if (!player.controls.isAvailable("Stop")) {
videoBox.visible = false;
vidBackBrand.visible = true;
vidZoom.enabled = false;
vidResize.enabled = false;
view.width = 342;
view.height = 286;
}
}
var drawerStatus = false;
function toggleVidDrawer(){
if(!drawerStatus){
vidDrawer.moveTo(0,view.height-36,500);
vidDrawerFrame.visible = true;
vidDrawerButton.down = true;
drawerStatus = !drawerStatus;
}else{
vidDrawer.moveTo(0,view.height-69,500);
drawerStatus = !drawerStatus;
}
}
function checkVidDrawer(){
drawerStatus = drawerStatus;
vidDrawerFrame.visible = drawerStatus;
}
// info / content
function loadInfoPrefs(){
theme.savePreference( 'infoViewer', "true" );
view.width = view.minWidth;
view.height = view.minHeight;
if("true"==theme.loadPreference("gColor")){
toggleFrameColor('info',green);
infoColorCheck = true;
infoClose.image = "f_close_no_g.png";
infoClose.hoverImage = "f_close_hov_g.png";
infoClose.downImage = "f_close_do_g.png";
}
}
/// alpha blend version
var infoGo = 0;
function showInfo(menu,nav,infoGo){
infoMenuBack.visible = menu;
infoNavSub.visible = nav;
menuBack.backgroundImage = "c_back.jpg";
switch(infoGo){
case 0:
infoSub.backgroundImage = "";
break;
case 1:
infoMode = 1; // call sections
navGo = 1;
navLimit = 8;
infoNavNext();
break;
}
}
navGo = 1;
function infoNavNext(){
infoSub.alphaBlend = 50;
infoSub.backgroundImage = "c_sub_" + infoMode + "_" + navGo + ".jpg";
navCheck();
}
function infoNavPrev(){
infoSub.alphaBlend = 50;
infoSub.backgroundImage = "c_sub_" + infoMode + "_" + navGo + ".jpg";
navCheck();
}
function navCheck(){
if(navGo==1){
navPrev.enabled = false;
navNext.enabled = true;
}else if(navGo==navLimit && infoMode==infoMode){ // enable / disable sections
navNext.enabled = false;
navPrev.enabled = true;
}else{
navNext.enabled = true;
navPrev.enabled = true;
}
if(infoMode==1&&navGo==1){
infoMenuBack.visible = true;
}else{
infoMenuBack.visible = false;
}
if(infoMode==1&&navGo==8){
infoLinks.visible = true;
}else{
infoLinks.visible = false;
}
infoSub.alphaBlendTo(255,500);
}
function endAlphaBlend(){
menuBack.backgroundImage = infoSub.backgroundImage;
}