home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 April
/
PCWorld_2005-04_cd.bin
/
software
/
temacd
/
winamp
/
winamp508e_full.exe
/
$0
/
scripts
/
crossfade.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-12-20
|
2KB
|
61 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group16;
Global Slider Slider17;
Global Text Text18;
Global Button Button19;
Global Button Button20;
Global ToggleButton ToggleButton21;
Global Layer Layer22;
System.onScriptLoaded()
{
Group16 = System.getScriptGroup();
Slider17 = Group16.findObject(( "sCrossfade"));
Text18 = Group16.findObject(( "CFDisplay"));
Button19 = Group16.findObject(( "CrossfadeIncrease"));
Button20 = Group16.findObject(( "CrossfadeDecrease"));
ToggleButton21 = Group16.findObject(( "Crossfade"));
Layer22 = Group16.findObject(( "crossfade\.display\.overlay"));
Slider17.onSetPosition(Slider17.getPosition());
if(ToggleButton21.getActivated()) {
Layer22.hide();
}
return Null;
}
Slider17.onSetPosition(int newpos)
{
String String30;
String30 = System.integerToString(newpos);
Text18.setText(String30);
return Null;
}
Button19.onLeftClick()
{
Slider17.setPosition(( Slider17.getPosition() + 1));
return Null;
}
Button20.onLeftClick()
{
Slider17.setPosition(( Slider17.getPosition() - 1));
return Null;
}
ToggleButton21.onToggle(Boolean onoff)
{
if(onoff) {
Layer22.hide();
} else {
Layer22.show();
}
return Null;
}