home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 November - Disc 2 / PCNET_CD_2006_11_2.iso / apps / Swishstudio2.exe / Main / guitar.swf / scripts / DoInitAction.as < prev   
Encoding:
Text File  |  2006-10-05  |  1018 b   |  59 lines

  1. BUTTONWRAPPER = function()
  2. {
  3. };
  4. BUTTONWRAPPER.prototype = new MovieClip();
  5. BUTTONWRAPPER.prototype.addProperty("menu",function()
  6. {
  7.    return this._button.menu;
  8. }
  9. ,function(x)
  10. {
  11.    this._button.menu = x;
  12. }
  13. );
  14. BUTTONWRAPPER.prototype.addProperty("tabEnabled",function()
  15. {
  16.    return this._button.tabEnabled;
  17. }
  18. ,function(x)
  19. {
  20.    this._button.tabEnabled = x;
  21. }
  22. );
  23. BUTTONWRAPPER.prototype.addProperty("tabIndex",function()
  24. {
  25.    return this._button.tabIndex;
  26. }
  27. ,function(x)
  28. {
  29.    this._button.tabIndex = x;
  30. }
  31. );
  32. BUTTONWRAPPER.prototype.addProperty("enabled",function()
  33. {
  34.    return this._button.enabled;
  35. }
  36. ,function(x)
  37. {
  38.    this._button.enabled = x;
  39. }
  40. );
  41. BUTTONWRAPPER.prototype.addProperty("trackAsMenu",function()
  42. {
  43.    return this._button.trackAsMenu;
  44. }
  45. ,function(x)
  46. {
  47.    this._button.trackAsMenu = x;
  48. }
  49. );
  50. BUTTONWRAPPER.prototype.addProperty("useHandCursor",function()
  51. {
  52.    return this._button.useHandCursor;
  53. }
  54. ,function(x)
  55. {
  56.    this._button.useHandCursor = x;
  57. }
  58. );
  59.