home *** CD-ROM | disk | FTP | other *** search
/ FCE Gold Plus / GOLD.iso / pc / shell.swf / scripts / __Packages / com / screen / Login.as < prev    next >
Text File  |  2007-10-16  |  1KB  |  46 lines

  1. class com.screen.Login
  2. {
  3.    function Login()
  4.    {
  5.    }
  6.    function init(_objScreenData, _objSourceRef)
  7.    {
  8.       var _loc1_ = this;
  9.       _loc1_.c_objScreenData = _objScreenData;
  10.       _loc1_.c_objSourceRef = _objSourceRef;
  11.       _loc1_.c_Temp = "TEMP";
  12.       _loc1_.c_objListener = new Object();
  13.       _loc1_.loadScreen();
  14.    }
  15.    function loadScreen()
  16.    {
  17.       var _loc2_ = this;
  18.       var _loc1_ = _loc2_.c_objSourceRef.c_objUICoodInstance.getObjectManagerInstance().returnPath("SWF");
  19.       _loc2_.c_Temp = _loc1_;
  20.       loadMovieNum(_loc1_ + "base.swf",101);
  21.       _loc2_.c_objInterval = setInterval(_loc2_.arrange,1,_loc2_);
  22.    }
  23.    function arrange(_objRef)
  24.    {
  25.       if(_level101._width != null && _level101._width != undefined && _level101._width > 0)
  26.       {
  27.          _level101.txt_Tracer.text = "\n path >>>> " + this.c_Temp;
  28.          clearInterval(_objRef.c_objInterval);
  29.          _objRef.setEvents();
  30.       }
  31.    }
  32.    function setEvents()
  33.    {
  34.       this.doLogin();
  35.    }
  36.    function doLogin()
  37.    {
  38.       var _loc1_ = "student";
  39.       this.notifySource(_loc1_);
  40.    }
  41.    function notifySource(_strLoginData)
  42.    {
  43.       this.c_objSourceRef.onProcessComplete("TestXML",_strLoginData);
  44.    }
  45. }
  46.