home *** CD-ROM | disk | FTP | other *** search
/ Champak 110 / jogo-disk-110.iso / Games / ten_pin_bowling.swf / scripts / frame_3 / DoAction.as
Text File  |  2008-11-12  |  745b  |  28 lines

  1. this.onEnterFrame = function()
  2. {
  3.    var _loc1_ = _root;
  4.    _loc1_.sessionactive = String(_loc1_.sessionactive);
  5.    if(_currentframe < 5 && (_loc1_.sessionactive == "true" or _loc1_.sessionactive == "false"))
  6.    {
  7.       showlogin = true;
  8.       if(_loc1_.sessionactive == "false")
  9.       {
  10.          loadMovieNum("ingame_login.swf",5,"GET");
  11.          this.onEnterFrame = function()
  12.          {
  13.             _root.lginx = 70;
  14.             _root.lginy = 330;
  15.             if(_currentframe > 5 && showlogin == true)
  16.             {
  17.                trace("remove login");
  18.                showlogin = false;
  19.                unloadMovieNum(5);
  20.             }
  21.          };
  22.       }
  23.       delete _loc1_.sessionactive;
  24.    }
  25. };
  26. stop();
  27. stop();
  28.