Odd, Even, or Prime

Hello,

 Again, pardon me if this post has already been "posted"-still getting the hang of this forum.  Anyway I want to make a site which where a user inputs a number and Flash will tell if it's odd or even.  The actual determination is the easy part, but I have had no success in forcing the text field to treat a number like a number-and then access it via the function.  I know that parseInt() changes strings to numbers but I can't get the syntax right.  Help!

Thanks,
David