[mx] referencing an odd or even number

I am crating a roulette wheel dynamically. It has one movie clip for the numbers around the edge which it duplicates and positions correctly. My problem is that ever other number has a black background on it (on a real roulette wheel)

Is there a to distinguish between an odd number and an even number

Eg
[SIZE=3][AS]
if (i = odd )
{
number_background = red
}
if (i = even )
{
number_background = black
}
[/AS][/SIZE]

or something to that effect

Any help would be greatly appreciatedda:crazy: