home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Demo / elearn / Fizica / FXI03 / 09aplcurgturb / curgere.swf / scripts / JavaMaster.as < prev    next >
Text File  |  2004-05-12  |  608b  |  25 lines

  1. Object.JavaMasterClass = function()
  2. {
  3.    this.init();
  4. };
  5. Object.JavaMasterClass.prototype = new MovieClip();
  6. Object.JavaMasterClass["extends"](MovieClip);
  7. Object.JavaMasterClass.prototype.init = function()
  8. {
  9.    s = "@";
  10.    this.show();
  11. };
  12. Object.JavaMasterClass.prototype.show = function()
  13. {
  14.    getURL("FSCommand:appletDo",1 + s + this.id);
  15. };
  16. Object.JavaMasterClass.prototype.hide = function()
  17. {
  18.    getURL("FSCommand:appletDo",0 + s + this.id);
  19. };
  20. Object.JavaMasterClass.prototype.onUnload = function()
  21. {
  22.    this.hide();
  23. };
  24. Object.registerClass("JavaMaster",Object.JavaMasterClass);
  25.