Revision: 25315
Updated Code
at March 26, 2010 10:06 by b121417
Updated Code
mx.controls.scrollClasses.ScrollThumb.prototype.onRelease = function(Void):Void { //this._parent.releaseFocus(); this.stopDragThumb(); this.super.onRelease(); } mx.controls.scrollClasses.ScrollThumb.prototype.onReleaseOutside = function(Void):Void { //this._parent.releaseFocus(); this.stopDragThumb(); this.super.onReleaseOutside(); } mx.controls.SimpleButton.prototype.onRelease = function(Void):Void { //this.releaseFocus(); this.phase = "rollover"; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } if (this.getToggle()) { this.setState(!getState()); } else { this.refresh(); } this.dispatchEvent({type:"click"}); } mx.controls.SimpleButton.prototype.onReleaseOutside = function(Void):Void { //this.releaseFocus(); this.phase="up"; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } }
Revision: 25314
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 26, 2010 10:05 by b121417
Initial Code
mx.controls.SimpleButton.prototype.onRelease = function(Void):Void { //this.releaseFocus(); this.phase = �rollover�; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } if (this.getToggle()) { this.setState(!getState()); } else { this.refresh(); } this.dispatchEvent({type:�click�}); } mx.controls.SimpleButton.prototype.onReleaseOutside = function(Void):Void { //this.releaseFocus(); this.phase=�up�; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } }
Initial URL
Initial Description
This is to prevent ComboBox from closing when onRelease on scrollBar
Initial Title
AS2 ComboBox ScrollBar fix
Initial Tags
flash
Initial Language
ActionScript