-
Hey guys
I need help on the following:
I receive a variable milliseconds = 80000 in Flash.
This variable I have converted to minutes and seconds like this:
---------------
milliseconds = 80000
minutes = (milliseconds/60000)
minutes_temp = minutes - Math.floor(minutes)
seconds = minutes_temp * 60
seconds = time = Math.floor(minutes) add ":" add seconds
---------------
Afterwards I want to count down from the result (1:20) to zero. I can't seem to find the way to do this.
Can somebody please help with this. I'm really stuck on this one.
Thank you very much
Peter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|