import mx.controls.NumericStepper; NumericStepper.prototype.draw = function():Void { if(this.editable!=undefined && this.editable==false) { this.inputField.label.type = "dynamic"; this.inputField.label.selectable = false; } this.prevButton_mc.enabled = this.enabled; this.nextButton_mc.enabled = this.enabled; this.size(); this.initializing = false; this.visible = this.__visible; } NumericStepper.prototype.setEditStatus = function(status:Boolean):Void { this.isEditable = status; this.draw(); } NumericStepper.prototype.getEditStatus = function():Boolean { return this.isEditable; } NumericStepper.prototype.addProperty("editable",NumericStepper.prototype.getEditStatus,NumericStepper.prototype.setEditStatus);