Old 5th December 2004, 06:08   #1
axialix
Senior Member
 
axialix's Avatar
 
Join Date: Jun 2002
Posts: 209
Oldtimer.m

I'm having problems getting this to work. It should add a leading zero to the timer but I get a guru meditation error (null object called) when I include oldtimer.maki in my player-normal.xml. Is there a newer version of this script? The one I'm using is dated 2002.
axialix is offline   Reply With Quote
Old 5th December 2004, 12:14   #2
SLoB
Major Dude
 
SLoB's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 1,316
it should probably work (not looked at the code), but make sure you have the right declarations in your player-normal.xml
the guru error is cos the maki script is looking for a named timer, there's documentation on it?, which should tell you what to name your timer in the xml
i.e. id="yourtimerticker"
SLoB is offline   Reply With Quote
Old 5th December 2004, 14:09   #3
axialix
Senior Member
 
axialix's Avatar
 
Join Date: Jun 2002
Posts: 209
Ok thanks, I'm gonna have another look...
axialix is offline   Reply With Quote
Old 5th December 2004, 15:24   #4
axialix
Senior Member
 
axialix's Avatar
 
Join Date: Jun 2002
Posts: 209
Nope, no documentation, but here's a peice of the oldtimer script:

#include "../../../lib/std.mi"

blah, blah....

System.onScriptLoaded() {
Group mainshade = getContainer("main window").getLayout("shade");
txtTimerShade = mainshade.findObject("player.display.time");

Group mainnormal = getContainer("main window").getLayout("normal");
txtTimer = mainnormal.findObject("player.display.time");

... and here's what's in my player-main.xml:

<text id="player.display.time" display="TIME" x="-5" y="2"........

...so I have no clue why I keep getting the guru meditation.
axialix is offline   Reply With Quote
Old 5th December 2004, 16:28   #5
axialix
Senior Member
 
axialix's Avatar
 
Join Date: Jun 2002
Posts: 209
Nevermind, I got it. I changed "main window" to "main" for the container.
axialix is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump