home *** CD-ROM | disk | FTP | other *** search
- package Code.WINDOWS.DIALOGS
- {
- import Code.LIB.SOUND._wj196;
- import Code.LIB._ei76;
- import Code.LIB._hu299;
- import Code.LIB._nd174;
- import Code.LIB._nx518;
- import Code.LIB._pw224;
- import Code.OPTIONS._dx111;
- import Code._vy402;
- import flash.events.Event;
- import flash.events.MouseEvent;
-
- public class _tq266 extends _ei76
- {
-
-
- public var iASLButton:_nx518;
-
- public var iOk:_nx518;
-
- public var iAMRButton:_nx518;
-
- private var iMVolume:int;
-
- public var iCancel:_nx518;
-
- private var iSVBckup:int;
-
- public var iASRButton:_nx518;
-
- public var iMVLabel:_pw224;
-
- private var iMVBckup:int;
-
- public var iAMLButton:_nx518;
-
- public var iSVLabel:_pw224;
-
- private var iSVolume:int;
-
- public function _tq266()
- {
- var _loc1_:Array = null;
- this.iSVolume = _nd174._ai238[1].prSVolume * 100;
- this.iMVolume = _nd174._ai238[1].prMVolume * 100;
- this.iSVBckup = this.iSVolume;
- this.iMVBckup = this.iMVolume;
- _loc1_ = [[_vy402._sv520,_dx111.cAqua,490,390,false,0.5,_dx111.TTV2Frame,-8,-15,null,true],[_vy402._ps359,_dx111.iLanguage.strOptions,_dx111.cOrange,40,_hu299.SmallText,130,5,null,true],[_vy402._ps359,_dx111.iLanguage.strSVolume,_dx111.cAqua,24,_hu299.SmallText,20,101,null,true],[_vy402._ps359,this.iSVolume <= 0 ? "off" : this.iSVolume.toString(),_dx111.cOrange,24,_hu299.BigText,335,100,"iSVLabel",true],[_vy402._ai205,40,40,"<",_dx111.cOrange,40,280,100,"iASLButton",true],[_vy402._ai205,40,40,">",_dx111.cOrange,40,400,100,"iASRButton",true],[_vy402._ps359,_dx111.iLanguage.strMVolume,_dx111.cAqua,24,_hu299.SmallText,20,191,null,true],[_vy402._ps359,this.iMVolume <= 0 ? "off" : this.iMVolume.toString(),_dx111.cOrange,24,_hu299.BigText,335,180,"iMVLabel",true],[_vy402._ai205,40,40,"<",_dx111.cOrange,40,280,180,"iAMLButton",true],[_vy402._ai205,40,40,">",_dx111.cOrange,40,400,180,"iAMRButton",true],[_vy402._jk562,_dx111.iLanguage.strOk,_dx111.cGellAqua,180,60,20,_dx111.cWhite,45,260,"iOk",true],[_vy402._jk562,_dx111.iLanguage.strCancel,_dx111.cGellRed,180,60,20,_dx111.cWhite,260,260,"iCancel",true]];
- super(_loc1_);
- this._gm53(150,105);
- }
-
- override public function onEnterFrame(param1:Event) : void
- {
- super.onEnterFrame(param1);
- if(int(_wj196._ao83 * 100) != iMVolume)
- {
- this.iMVolume = _wj196._ao83 * 100;
- if(this.iMVolume <= 0)
- {
- this.iMVLabel.Text = "off";
- }
- else
- {
- this.iMVLabel.Text = this.iMVolume.toString();
- }
- }
- if(int(_wj196._qt85 * 100) != iSVolume)
- {
- this.iSVolume = _wj196._qt85 * 100;
- if(this.iSVolume <= 0)
- {
- this.iSVLabel.Text = "off";
- }
- else
- {
- this.iSVLabel.Text = this.iSVolume.toString();
- }
- }
- }
-
- override public function _lf305(param1:MouseEvent) : void
- {
- if(param1.target == this.iAMRButton._ol346)
- {
- this.iMVolume += 10;
- if(this.iMVolume > 100)
- {
- this.iMVolume = 100;
- }
- this.iMVLabel.Text = this.iMVolume.toString();
- _wj196._ao83 = this.iMVolume / 100;
- }
- if(param1.target == this.iAMLButton._ol346)
- {
- this.iMVolume -= 10;
- if(this.iMVolume <= 0)
- {
- this.iMVolume = 0;
- }
- if(this.iMVolume <= 0)
- {
- this.iMVLabel.Text = "off";
- }
- else
- {
- this.iMVLabel.Text = this.iMVolume.toString();
- }
- _wj196._ao83 = this.iMVolume / 100;
- }
- if(param1.target == this.iASRButton._ol346)
- {
- this.iSVolume += 10;
- if(this.iSVolume > 100)
- {
- this.iSVolume = 100;
- }
- this.iSVLabel.Text = this.iSVolume.toString();
- _wj196._qt85 = this.iSVolume / 100;
- }
- if(param1.target == this.iASLButton._ol346)
- {
- this.iSVolume -= 10;
- if(this.iSVolume < 0)
- {
- this.iSVolume = 0;
- }
- if(this.iSVolume <= 0)
- {
- this.iSVLabel.Text = "off";
- }
- else
- {
- this.iSVLabel.Text = this.iSVolume.toString();
- }
- _wj196._qt85 = this.iSVolume / 100;
- _wj196._va384("newbug");
- }
- if(param1.target == this.iOk._ol346)
- {
- _nd174._ai238[1].prMVolume = this.iMVolume / 100;
- _nd174._ai238[1].prSVolume = this.iSVolume / 100;
- _nd174._tp546();
- _wj196._ao83 = this.iMVolume / 100;
- _wj196._qt85 = this.iSVolume / 100;
- this.hide();
- }
- if(param1.target == this.iCancel._ol346)
- {
- _wj196._ao83 = this.iMVBckup / 100;
- _wj196._qt85 = this.iSVBckup / 100;
- this.hide();
- }
- }
- }
- }
-