Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: countdown timer (hour/min/sec) |
From: | Peggi & Ben Rodgers |
Date: | Fri, 19 Jan 2001 17:13:16 -0000 |
Try:
Set Variable: "timer" = Int (GetTimer/1000)
Set Variable: "new" = timer-../:buttonVariable
Set Variable: "down" = 10-new //here is where you set your initial value
Set Variable: "../:textbox" = down & " any message you want here"
If (down<0)
Set Variable: "../:textbox" = "Press the button to restart."
End If
Your button should have:
On (Press)
Set Variable: "buttonVariable" = /countdown:timer
End On
Peggi
At 09:12 PM 1/18/01 -0800, you wrote:
>Ok, I'm stumped.... I'm trying to create a countdown
>timer where let's say the starting time is 1 hour, 5
>minutes, and 30 seconds. (1:05:30) then you click
>start and it counts down by seconds, but substracts or
>updates the hours/minutes as well as it goes along.
>
>I'm able to start at 00:00:00 and count up but for the
>life of me I can't get a countdown to work.
>I've also tried the countdown of just seconds and that
>works fine. But I'm trying to get it to show/count
>the hours and minutes too, not just seconds.
>
>Does anyone have or know of an example of this?
>Thanks for any help or tips you can provide!!
>
>__________________________________________________
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> November 27-29, 2000, LONDON, National Film Theatre
>
> Produced by United Digital Artists and lynda.com
>-Sponsored by Macromedia, Adobe Systems and Apple Computer
>-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
> Register before November 10 and save �200
> http:// www.flashforward2000.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpchinwag [dot] com
Peggi Rodgers
Flash Programmer
Tide Pool Enterprises
Pacific Grove, CA
prodgerstide-pool [dot] com
www.tide-pool.com
Replies
FLASH: countdown timer (hour/min/sec), james
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]