home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 July & August
/
Gamestar_64_2004-07-08_dvd.iso
/
Programy
/
winamp501_full.exe
/
$_14327_
/
crossfade.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-11-16
|
2KB
|
61 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group2;
Global Slider Slider3;
Global Text Text4;
Global Button Button5;
Global Button Button6;
Global ToggleButton ToggleButton7;
Global Layer Layer8;
System.onScriptLoaded()
{
Group2 = System.getScriptGroup();
Slider3 = Group2.findObject(( "sCrossfade"));
Text4 = Group2.findObject(( "CFDisplay"));
Button5 = Group2.findObject(( "CrossfadeIncrease"));
Button6 = Group2.findObject(( "CrossfadeDecrease"));
ToggleButton7 = Group2.findObject(( "Crossfade"));
Layer8 = Group2.findObject(( "crossfade\.display\.overlay"));
Slider3.onSetPosition(Slider3.getPosition());
if(ToggleButton7.getActivated()) {
Layer8.hide();
}
return Null;
}
Slider3.onSetPosition(int newpos)
{
String String16;
String16 = System.integerToString(newpos);
Text4.setText(String16);
return Null;
}
Button5.onLeftClick()
{
Slider3.setPosition(( Slider3.getPosition() + 1));
return Null;
}
Button6.onLeftClick()
{
Slider3.setPosition(( Slider3.getPosition() - 1));
return Null;
}
ToggleButton7.onToggle(Boolean onoff)
{
if(onoff) {
Layer8.hide();
} else {
Layer8.show();
}
return Null;
}