home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
i·claim - visualizing argument
/
ICLAIM.ISO
/
mac
/
t_06.swf
/
scripts
/
__Packages
/
mx
/
controls
/
streamingmedia
/
LoudButton.as
< prev
next >
Wrap
Text File
|
2005-02-28
|
701b
|
22 lines
class mx.controls.streamingmedia.LoudButton extends MovieClip
{
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();
}
}