|
|
#1 |
|
Junior Member
Join Date: Apr 2002
Posts: 4
|
I am really feeling my way through the dark with this, so please, any assistance you could offer would be greatly appreciated.
I am just trying to load a simple toggle button, it loads the graphics beautifly, but they don't do anything. Oh, you can press them as much as you like, but they have little effect on winamp. I was lead to believe I had to load this script file: <scripts> <script id="Spank me" file="scripts/sysfunc.maki"/> </scripts> This was the code I used to initiate the toggle button: <togglebutton id="Shuffle" image="player.shuff" activeimage="player.shuff.down" downimage="player.shuff.hvr" x="44" y="16" rectrgn="1" tooltip="Shuffle"/> If anyone could help me, it woudl be massively appreciated. Thankyou. |
|
|
|
|
|
#2 |
|
Major Dude
|
the sysfunc script takes shuffle and other buttons that are in the main container, normal layout, if yours are somewhere else you need to a.) move them there or b.) (the better choice) edit sysfunc.m and recompile it to point to the right place.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2002
Posts: 4
|
Fantastic. It works now. Thankyou thankyou.
I edited the script fil so that it pointed to the container with the toggles in it. Now the toggles do what they are meant to. But i have somehow intorduced a new error. There is still some sort of red error message that appears for a brief moment: Script error , null pointer I can only imagine that this has something to do with my complete lack of knowledge with handling those scripting files. Is there something extra in the script file I should have changed? Thanks Gerard |
|
|
|
|
|
#4 |
|
There's probably other buttons/objects variables in the sysfunc script that now point your layout (used to point to Main, Normal). If they don't physically exist in the xml of your skin, then the sysfunc script would hit a null object error at some point. Go through the global variable names near the top of sysfunc.m and see if you have the matching objects in your xml.
As before you can either edit the script to match the skin or the skin to match the script. Good luck, -=Gonzotek=- But I'm feeling much better now. |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|