home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Util / Winamp / Skins / CCZ_Skateboard.wal / maki / tracker.maki (.txt) < prev    next >
Winamp Compiled Maki Script  |  2004-10-13  |  3KB  |  73 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Container Container16;
  6. Global AnimatedLayer AnimatedLayer17;
  7. Global Layout Layout18;
  8. Global Group Group19;
  9. Global Int Int20;
  10. Global Button Button21;
  11.  
  12.  
  13. System.onScriptLoaded()
  14. {
  15. System.getContainer(( "ccz_browser")).show();
  16. Container16 = System.getContainer(( "main"));
  17. Container16.switchToLayout(( "main1"));
  18. Layout18 = Container16.getLayout(( "eq"));
  19. Group19 = Layout18.getObject(( "eq2"));
  20. AnimatedLayer17 = Layout18.getObject(( "anim"));
  21. Button21 = Group19.getObject(( "Back\ OFF"));
  22. return Null;
  23. }
  24.  
  25. Button21.onLeftButtonUp(int x, int y)
  26. {
  27. Group19.hide();
  28. Int20 = 1;
  29. AnimatedLayer17 = Layout18.getObject(( "anim"));
  30. AnimatedLayer17.setXmlParam(( "image"), System.getPrivateString(( "skate"), ( "mode"), ( "mode1")));
  31. AnimatedLayer17.setStartFrame(( AnimatedLayer17.getLength() - 1));
  32. AnimatedLayer17.setEndFrame(0);
  33. AnimatedLayer17.gotoFrame(( AnimatedLayer17.getLength() - 1));
  34. AnimatedLayer17.show();
  35. AnimatedLayer17.play();
  36. return Null;
  37. }
  38.  
  39. Container16.onSwitchToLayout(Layout newlayout)
  40. {
  41. String String37;
  42. String37 = newlayout.getXmlParam(( "id"));
  43. if(( ( String37 != ( "eq")) && ( String37 != ( "shade")))) {
  44. System.setPrivateString(( "skate"), ( "mode"), String37);
  45. }
  46. if(( String37 == ( "eq"))) {
  47. Int20 = 0;
  48. Group19.hide();
  49. AnimatedLayer17.setXmlParam(( "image"), System.getPrivateString(( "skate"), ( "mode"), ( "mode1")));
  50. AnimatedLayer17.setStartFrame(0);
  51. AnimatedLayer17.setEndFrame(( AnimatedLayer17.getLength() - 1));
  52. AnimatedLayer17.gotoFrame(0);
  53. AnimatedLayer17.show();
  54. AnimatedLayer17.play();
  55. }
  56. return Null;
  57. }
  58.  
  59. AnimatedLayer17.onStop()
  60. {
  61. if(( Int20 == 0)) {
  62. AnimatedLayer17.hide();
  63. Group19.show();
  64. } else {
  65. if(( Int20 == 1)) {
  66. Container16.switchToLayout(System.getPrivateString(( "skate"), ( "mode"), ( "mode1")));
  67. }
  68. }
  69. return Null;
  70. }
  71.  
  72.  
  73.