Handy code

/*
ActionScript 2.0: Determine if a year is a leap year or not.
*/
function isLeapYear(year:Number):Boolean {
	return (0 == year % 4 && (0 == year % 400 || 0 != year % 100));
}

Download this code: isLeapYear.as