home *** CD-ROM | disk | FTP | other *** search
- class application.screens.RegistrationBlindScreen extends application.screens.AbstractScreen implements application.models.IScreen
- {
- var rateScreen;
- var btn1;
- var tf1;
- var btn;
- var tf;
- var configObj;
- var rootMC;
- function RegistrationBlindScreen()
- {
- super();
- }
- function setRateScreen(rateScreen)
- {
- this.rateScreen = rateScreen;
- }
- function showBackButton()
- {
- var _loc2_ = this.btn1;
- _loc2_._visible = true;
- _loc2_.onEnable();
- this.tf1._visible = true;
- }
- function hideBackButton()
- {
- var _loc2_ = this.btn1;
- _loc2_._visible = false;
- _loc2_.onDisable();
- this.tf1._visible = false;
- }
- function build()
- {
- var _loc2_ = this.btn;
- this.buildButton(_loc2_);
- _loc2_.mainId = null;
- _loc2_.subId = null;
- this.tf.text = this.configObj.textList.registerButtonLabel;
- this.createFocusRec(_loc2_,_loc2_._width,_loc2_._height,0,0);
- application.core.FocusManager.getInstance().registerButton(_loc2_,97);
- _loc2_ = this.btn1;
- this.buildButton(_loc2_);
- _loc2_.mainId = null;
- _loc2_.subId = null;
- this.tf1.text = this.configObj.textList.previousButtonLabel;
- this.tf1._visible = false;
- this.createFocusRec(_loc2_,_loc2_._width,_loc2_._height,0,0);
- application.core.FocusManager.getInstance().registerButton(_loc2_,96);
- _loc2_._visible = false;
- _loc2_.onDisable();
- }
- function onButtonRollOver(mc)
- {
- }
- function onButtonRollOut(mc)
- {
- }
- function onButtonPress(mc)
- {
- }
- function onButtonRelease(mc)
- {
- if(mc._name == "btn")
- {
- this.rootMC.openRegistration();
- }
- else
- {
- this.rootMC.onChangeRateContent(false);
- }
- }
- function onButtonDisable(mc)
- {
- }
- function onButtonEnable(mc)
- {
- }
- function onButtonReleaseOutside(mc)
- {
- }
- }
-