QUOTE(PsylentGlo @ Feb 17 2005, 09:41 AM)
Ok i got the info and clock panel. The the info panel hides when i push x all is good there. but my clock panel still shows, I dont mind the clock panel but wish to hide it when i activate my screen saver. Not sure if this matters but i have manual activate screen save with r trigger.
This problem is easy fixec!
find this in default.xap
CODE
function DoScreenSaverView()
{
var c = theMainMenu.children[0].children[0];
c.theMainMenuLevel.fade = 3;
c.theMenuItems.SetAlpha(0);
EnableCurrentAlternateViewpoint();
MainMenuPositionOne();
}
function StopScreenSaverView()
{
bInScreenSaverView = false;
var c = theMainMenu.children[0].children[0];
theMainMenuSpinner.rpm = 0;
c.theMainMenuLevel.fade = 0.6;
c.theMainMenuLevel.SetRotation(0,0,0,0);
c.theMainMenuLevel.SetTranslation(0,0,0);
DisableCurrentAlternateViewpoint();
c.theMenuItems.SetAlpha(1);
}
Insert so it looks like this
CODE
function DoScreenSaverView()
{
var c = theMainMenu.children[0].children[0];
c.theMainMenuLevel.fade = 3;
c.theMainMenuInfo.fade = 1; //infopanel
c.theMainMenuInfo.SetAlpha(0); //infopanel
c.theMainMenuClock.fade = 1.1; //clockpanel
c.theMainMenuClock.SetAlpha(0); //clockpanel
c.theMenuItems.SetAlpha(0);
EnableCurrentAlternateViewpoint();
MainMenuPositionOne();
}
function StopScreenSaverView()
{
bInScreenSaverView = false;
var c = theMainMenu.children[0].children[0];
theMainMenuSpinner.rpm = 0;
c.theMainMenuLevel.fade = 0.6;
c.theMainMenuLevel.SetRotation(0,0,0,0);
c.theMainMenuLevel.SetTranslation(0,0,0);
c.theMainMenuInfo.fade = 0.6; //infopanel
c.theMainMenuClock.fade = 0.6; //clockpanel
DisableCurrentAlternateViewpoint();
c.theMenuItems.SetAlpha(1);
c.theMainMenuInfo.SetAlpha(1); //infopanel
c.theMainMenuClock.SetAlpha(1); //clockpanel
}
This code will make the panels fade in and out when entering and exiting screensaver mode!
My name choice of the panels may not be the same as your but just change them so they match yours!