home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
i·claim - visualizing argument
/
ICLAIM.ISO
/
mac
/
glossary.swf
/
scripts
/
__Packages
/
mx
/
controls
/
streamingmedia
/
ToStartButton.as
< prev
next >
Wrap
Text File
|
2005-02-24
|
879b
|
30 lines
class mx.controls.streamingmedia.ToStartButton extends MovieClip
{
function ToStartButton()
{
super();
this.init();
}
function init()
{
this.attachMovie("SimpleButton","toStartSimpleButton",1,{falseUpSkin:"ToStart-False-Up",falseOverSkin:"ToStart-False-Over",falseDownSkin:"ToStart-False-Down",falseDisabledSkin:"ToStart-False-Disabled"});
this.toStartSimpleButton.addEventListener("click",this);
var _loc2_ = this._parent._parent;
this.__set__enabled(_loc2_.enabled);
this.tabEnabled = false;
this.tabChildren = true;
}
function get enabled()
{
return this.toStartSimpleButton.enabled;
}
function set enabled(is)
{
this.toStartSimpleButton.enabled = is;
}
function click(ev)
{
this._parent._parent.broadcastEvent("playheadChange",0);
}
}