# Bit of Math Help

**URL:** <https://forum.kirupa.com/t/bit-of-math-help/251938>\
**Category:** flash\
**Created:** [February 14, 2008, 4:04am UTC](https://forum.kirupa.com/t/bit-of-math-help/251938 "2008-02-14T04:04:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dail](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dail](https://forum.kirupa.com/u/dail)\
**Post date:** [February 14, 2008, 4:04am UTC](https://forum.kirupa.com/t/bit-of-math-help/251938/1 "2008-02-14T04:04:07Z")

</div>

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…
