home *** CD-ROM | disk | FTP | other *** search
- class com.screen.Login
- {
- var c_Temp;
- var c_objSourceRef;
- function Login()
- {
- }
- function init(_objScreenData, _objSourceRef)
- {
- var _loc1_ = this;
- _loc1_.c_objScreenData = _objScreenData;
- _loc1_.c_objSourceRef = _objSourceRef;
- _loc1_.c_Temp = "TEMP";
- _loc1_.c_objListener = new Object();
- _loc1_.loadScreen();
- }
- function loadScreen()
- {
- var _loc2_ = this;
- var _loc1_ = _loc2_.c_objSourceRef.c_objUICoodInstance.getObjectManagerInstance().returnPath("SWF");
- _loc2_.c_Temp = _loc1_;
- loadMovieNum(_loc1_ + "base.swf",101);
- _loc2_.c_objInterval = setInterval(_loc2_.arrange,1,_loc2_);
- }
- function arrange(_objRef)
- {
- if(_level101._width != null && _level101._width != undefined && _level101._width > 0)
- {
- _level101.txt_Tracer.text = "\n path >>>> " + this.c_Temp;
- clearInterval(_objRef.c_objInterval);
- _objRef.setEvents();
- }
- }
- function setEvents()
- {
- this.doLogin();
- }
- function doLogin()
- {
- var _loc1_ = "student";
- this.notifySource(_loc1_);
- }
- function notifySource(_strLoginData)
- {
- this.c_objSourceRef.onProcessComplete("TestXML",_strLoginData);
- }
- }
-