home *** CD-ROM | disk | FTP | other *** search
- class mx.controls.streamingmedia.ToStartButton extends MovieClip
- {
- var toStartSimpleButton;
- 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.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);
- }
- }
-