Return to Snippet

Revision: 33026
at October 5, 2010 13:03 by heathbo


Initial Code
if(currentImageCount % 2 == 0)
{
  trace("Its Even")
};

Initial URL

                                

Initial Description
The Modula symbol % will give you the difference between the first and last numbers.

Initial Title
How to detect if a number is even

Initial Tags

                                

Initial Language
ActionScript 3