home *** CD-ROM | disk | FTP | other *** search
/ T-Online 6 / T-Online.iso / Animation / content / intro / intro.swf / scripts / __Packages / application / screens / RegistrationBlindScreen.as < prev    next >
Encoding:
Text File  |  2005-10-20  |  2.0 KB  |  82 lines

  1. class application.screens.RegistrationBlindScreen extends application.screens.AbstractScreen implements application.models.IScreen
  2. {
  3.    var rateScreen;
  4.    var btn1;
  5.    var tf1;
  6.    var btn;
  7.    var tf;
  8.    var configObj;
  9.    var rootMC;
  10.    function RegistrationBlindScreen()
  11.    {
  12.       super();
  13.    }
  14.    function setRateScreen(rateScreen)
  15.    {
  16.       this.rateScreen = rateScreen;
  17.    }
  18.    function showBackButton()
  19.    {
  20.       var _loc2_ = this.btn1;
  21.       _loc2_._visible = true;
  22.       _loc2_.onEnable();
  23.       this.tf1._visible = true;
  24.    }
  25.    function hideBackButton()
  26.    {
  27.       var _loc2_ = this.btn1;
  28.       _loc2_._visible = false;
  29.       _loc2_.onDisable();
  30.       this.tf1._visible = false;
  31.    }
  32.    function build()
  33.    {
  34.       var _loc2_ = this.btn;
  35.       this.buildButton(_loc2_);
  36.       _loc2_.mainId = null;
  37.       _loc2_.subId = null;
  38.       this.tf.text = this.configObj.textList.registerButtonLabel;
  39.       this.createFocusRec(_loc2_,_loc2_._width,_loc2_._height,0,0);
  40.       application.core.FocusManager.getInstance().registerButton(_loc2_,97);
  41.       _loc2_ = this.btn1;
  42.       this.buildButton(_loc2_);
  43.       _loc2_.mainId = null;
  44.       _loc2_.subId = null;
  45.       this.tf1.text = this.configObj.textList.previousButtonLabel;
  46.       this.tf1._visible = false;
  47.       this.createFocusRec(_loc2_,_loc2_._width,_loc2_._height,0,0);
  48.       application.core.FocusManager.getInstance().registerButton(_loc2_,96);
  49.       _loc2_._visible = false;
  50.       _loc2_.onDisable();
  51.    }
  52.    function onButtonRollOver(mc)
  53.    {
  54.    }
  55.    function onButtonRollOut(mc)
  56.    {
  57.    }
  58.    function onButtonPress(mc)
  59.    {
  60.    }
  61.    function onButtonRelease(mc)
  62.    {
  63.       if(mc._name == "btn")
  64.       {
  65.          this.rootMC.openRegistration();
  66.       }
  67.       else
  68.       {
  69.          this.rootMC.onChangeRateContent(false);
  70.       }
  71.    }
  72.    function onButtonDisable(mc)
  73.    {
  74.    }
  75.    function onButtonEnable(mc)
  76.    {
  77.    }
  78.    function onButtonReleaseOutside(mc)
  79.    {
  80.    }
  81. }
  82.