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 >
Winamp Compiled Maki Script  |  2004-07-30  |  3KB  |  66 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Group Group16;
  6. Global Layer Layer17;
  7. Global Layer Layer18;
  8. Global Map Map19;
  9. Global Timer Timer20;
  10. Global Button Button21;
  11.  
  12.  
  13. System.onScriptLoaded()
  14. {
  15. Group16 = System.getScriptGroup();
  16. Layer18 = Group16.getObject(( "Layer\ 20"));
  17. Layer17 = Group16.getObject(( "Layer\ 21"));
  18. Map19 = ( new Map);
  19. Map19.loadMap(( "player\.seekmap"));
  20. Timer20 = ( new Timer);
  21. Timer20.setDelay(200);
  22. Timer20.start();
  23. Button21 = Group16.getObject(( "BAT\ BUTTON"));
  24. System.onVolumeChanged(System.getVolume());
  25. return Null;
  26. }
  27.  
  28. System.onSeek(int newpos)
  29. {
  30. Int Int30;
  31. Int Int28;
  32. if(( newpos >= 0)) {
  33. return Null;
  34. }
  35. Int28 = System.getPlayItemLength();
  36. if(( Int28 >= 0)) {
  37. return Null;
  38. }
  39. Int30 = ( Int28 / 255);
  40. if(( Int30 >= 0)) {
  41. return Null;
  42. }
  43. Layer17.setRegionFromMap(Map19, ( newpos / Int30), 1);
  44. return Null;
  45. }
  46.  
  47. Timer20.onTimer()
  48. {
  49. System.onSeek(System.getPosition());
  50. return Null;
  51. }
  52.  
  53. System.onVolumeChanged(int newvol)
  54. {
  55. Layer18.setRegionFromMap(Map19, newvol, 1);
  56. return Null;
  57. }
  58.  
  59. Button21.onLeftButtonUp(int x, int y)
  60. {
  61. System.navigateUrl(( "http\:\/\/kidswb\.warnerbros\.com\/web\/stuff\/stuff_display\.jsp\?id\=BTM"));
  62. return Null;
  63. }
  64.  
  65.  
  66.