home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 November
/
CDVD1105.ISO
/
Util
/
Winamp
/
Skins
/
CCZ_Skateboard.wal
/
maki
/
tracker.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-10-13
|
3KB
|
73 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Container Container16;
Global AnimatedLayer AnimatedLayer17;
Global Layout Layout18;
Global Group Group19;
Global Int Int20;
Global Button Button21;
System.onScriptLoaded()
{
System.getContainer(( "ccz_browser")).show();
Container16 = System.getContainer(( "main"));
Container16.switchToLayout(( "main1"));
Layout18 = Container16.getLayout(( "eq"));
Group19 = Layout18.getObject(( "eq2"));
AnimatedLayer17 = Layout18.getObject(( "anim"));
Button21 = Group19.getObject(( "Back\ OFF"));
return Null;
}
Button21.onLeftButtonUp(int x, int y)
{
Group19.hide();
Int20 = 1;
AnimatedLayer17 = Layout18.getObject(( "anim"));
AnimatedLayer17.setXmlParam(( "image"), System.getPrivateString(( "skate"), ( "mode"), ( "mode1")));
AnimatedLayer17.setStartFrame(( AnimatedLayer17.getLength() - 1));
AnimatedLayer17.setEndFrame(0);
AnimatedLayer17.gotoFrame(( AnimatedLayer17.getLength() - 1));
AnimatedLayer17.show();
AnimatedLayer17.play();
return Null;
}
Container16.onSwitchToLayout(Layout newlayout)
{
String String37;
String37 = newlayout.getXmlParam(( "id"));
if(( ( String37 != ( "eq")) && ( String37 != ( "shade")))) {
System.setPrivateString(( "skate"), ( "mode"), String37);
}
if(( String37 == ( "eq"))) {
Int20 = 0;
Group19.hide();
AnimatedLayer17.setXmlParam(( "image"), System.getPrivateString(( "skate"), ( "mode"), ( "mode1")));
AnimatedLayer17.setStartFrame(0);
AnimatedLayer17.setEndFrame(( AnimatedLayer17.getLength() - 1));
AnimatedLayer17.gotoFrame(0);
AnimatedLayer17.show();
AnimatedLayer17.play();
}
return Null;
}
AnimatedLayer17.onStop()
{
if(( Int20 == 0)) {
AnimatedLayer17.hide();
Group19.show();
} else {
if(( Int20 == 1)) {
Container16.switchToLayout(System.getPrivateString(( "skate"), ( "mode"), ( "mode1")));
}
}
return Null;
}