codice:
import mx.controls.Alert

stepper.maximum = 20;
stepper.oldKillFocus = stepper.onKillFocus;
stepper.onKillFocus = function()
{
	var n:Number = Number(this.inputField.text);
	this.oldKillFocus();
	if(n > this.maximum){
		Alert.show("Il valore massimo impostabile è " + this.maximum, "Attenzione!", Alert.OK)
	}
}