Odd and Even Numbers

Hello,

Is there a simple way to let flash acknowledge the difference between odd and even numbers?

I want to run that notion through an IF condition …

basically IF (x == even){ … , if ‘even’ exists as a script …

Any help much appreciated!