home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 October
/
Chip_2004-10_cd1.bin
/
tema
/
winamp
/
skin
/
Official_Batman_Winamp5_Skin.wal
/
maki
/
main.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-07-30
|
3KB
|
66 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group16;
Global Layer Layer17;
Global Layer Layer18;
Global Map Map19;
Global Timer Timer20;
Global Button Button21;
System.onScriptLoaded()
{
Group16 = System.getScriptGroup();
Layer18 = Group16.getObject(( "Layer\ 20"));
Layer17 = Group16.getObject(( "Layer\ 21"));
Map19 = ( new Map);
Map19.loadMap(( "player\.seekmap"));
Timer20 = ( new Timer);
Timer20.setDelay(200);
Timer20.start();
Button21 = Group16.getObject(( "BAT\ BUTTON"));
System.onVolumeChanged(System.getVolume());
return Null;
}
System.onSeek(int newpos)
{
Int Int30;
Int Int28;
if(( newpos >= 0)) {
return Null;
}
Int28 = System.getPlayItemLength();
if(( Int28 >= 0)) {
return Null;
}
Int30 = ( Int28 / 255);
if(( Int30 >= 0)) {
return Null;
}
Layer17.setRegionFromMap(Map19, ( newpos / Int30), 1);
return Null;
}
Timer20.onTimer()
{
System.onSeek(System.getPosition());
return Null;
}
System.onVolumeChanged(int newvol)
{
Layer18.setRegionFromMap(Map19, newvol, 1);
return Null;
}
Button21.onLeftButtonUp(int x, int y)
{
System.navigateUrl(( "http\:\/\/kidswb\.warnerbros\.com\/web\/stuff\/stuff_display\.jsp\?id\=BTM"));
return Null;
}