Bit of Math Help

Hi,

I’m using the timer class, which is all fine and dandy.

What I’m trying to do, is convert a number (which is user defined) from seconds into an milliseconds interval amount I can use in the timer class. The timer is affecting the alpha of an image, which increases .01 with each timer event dispatch. So, say a user wanted to fade in an image across 5 seconds, or another one wanted to fade it in over 2 seconds.

I’m over tired so my brain has stopped working…