Components

The up and down arrow keys work as well as clicking the buttons.
Get Adobe Flash player

The properties for numMonth are shown. The default values for minimum and maximum are 0 and 10. It was changed to 1 and 12 to select a month.
numeric stepper properties

The code is shown below:

//notice that months[0] is blank so that months[1] is January
var months:Array=new Array("","January","February","March","April","May","June","July","August","September","October","November","December");

numMonth.addEventListener(Event.CHANGE,goMonth);
lblMonth.text=months[1];
function goMonth(e:Event):void {
	var num:int=numMonth.value;
	lblMonth.text=months[num];
}//goMonth
Download the movie

NEXT: Drawing in ActionScript3