Oops !
Double post
Ok,
If I understand this correctly, I think the command you want is this (Extract from skin commands.txt)
"SETVAR" - This allows you to set a global variable in RR. Those variables can be used for simple
reference in the skin commands
or be used to toggle between different groups of commands on skins (using BYVAR command).
Example: "SETVAR;APPPATH;C:\MyApp\Myapp.exe"
Then you can reference the variable APPPATH like this: "RUN;$APPPATH$"
In your case the syntax would go something like. . .
B02,666,3,132,85,"LOADIMG;100;100;200;200;Menu.gif ;OUT||SETVAR;SwapImage;1||SWITCHBUTTON;2>>LOADIMG; 100;100;200;200;Media.gif;OUT||SETVAR;SwapImage;0| |SWITCHBUTTON;2",""
I'll try and explain what it does, Chuck helped me out with this syntax a while back.
B02,666,3,132,85,"LOADIMG;100;100;200;200;Image1.g if;OUT||
The first part defines your button, and makes button 2 execute your Load image command.
SETVAR;SwapImage;1|| This bit sets a Global Variable I have called SwapImage with the 1st command, and then you need to switch the button command to the second condition with
SWITCHBUTTON;2>>LOADIMG;100;100;200;200;Image2.gif ;OUT||
the 2 after switch button is the second button in sequence, if you have defined this as the tenth button, change it to 10 ! The button will now load Image2.gif when pressed.
SETVAR;SwapImage;0|| This then allows the global variable to be toggled to the second condition which is defined as
SWITCHBUTTON;2","" and when the button is pressed executes the first defined command to Load Image1.gif.
I hope that helps (and works lol)
cheers KPJUK
M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......
Oops !
Double post
M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......
Nice write up...
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [v1.0 Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
"There are no bugs - only undocumented features."
Thanks,
I hope I got it right ! lol
KPJUK
M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......
WOW.. what skin is that? Is this available?
share plz..![]()
Bookmarks