home *** CD-ROM | disk | FTP | other *** search
- class mx.controls.streamingmedia.LoudButton extends MovieClip
- {
- var loudSimpleButton;
- function LoudButton()
- {
- super();
- this.init();
- }
- function init()
- {
- this.attachMovie("SimpleButton","loudSimpleButton",1,{falseUpSkin:"Loud-False-Up",falseOverSkin:"Loud-False-Over",falseDownSkin:"Loud-False-Down",falseDisabledSkin:"Loud-False-Disabled"});
- this.loudSimpleButton.addEventListener("click",this);
- this.loudSimpleButton.enabled = this._parent._parent.enabled;
- this.tabEnabled = false;
- this.tabChildren = true;
- }
- function click(ev)
- {
- this._parent._parent.broadcastEvent("volume",100);
- this._parent.getHandle().setLoud();
- }
- }
-