Help - Search - Members - Calendar
Full Version: Clock Panel Still Shows While In Screen Saver
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
PsylentGlo
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.
Mad3 Max3
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!
PsylentGlo
Thanks for the help but i did nothing. i inserted it in default.xip/xap but nothing it still does the same thing. But thanks for the help anyway.
Mad3 Max3
This code works for me! Check the names you might have diffirent names for the clock and the infopanel! I use
CODE
theMainMenuClock
for the clockpanel and
CODE
theMainMenuInfo
for the infopanel. Check your main_menu/default.xap for the names you use!

PsylentGlo
checked the names and changed them accordingly but it still dosent work

Was i suppose to delete the "//"s or no caue i did.
Infamous_One
QUOTE(PsylentGlo @ Feb 22 2005, 10:43 AM)
checked the names and changed them accordingly but it still dosent work

Was i suppose to delete the "//"s or no caue i did.
*




// cancels the word in front of it , you must leave them. or it will think that is part of the code. he just wrote them there so you can know which one is what.
Mad3 Max3
PsylentGlo

E-mail me your default/default.xap and your main_menu/default.xap at oscarmax@ziplip.com and I ckeck it for you!
PsylentGlo
Ok cool files sent mabye you can find something that i missed
Mad3 Max3
QUOTE(PsylentGlo @ Feb 24 2005, 10:52 AM)
Ok cool files sent mabye you can find something that i missed
*



I've found the problem in your default.xap! You have added to many DoScreenSaverView() and StopScreenSaverView() functions! This is because you missunderstood a codesnippit. Since this is a error explicit for you I don't feel the need to add the changes here.. I do the changes into your xap and e-mail them back to you!


This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.