Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: GetTimer & Reset |
From: | Marc Pidoux |
Date: | Sat, 29 Apr 2000 17:15:23 +0100 |
Hi,
For a web site about films, I would like to put a counter which will
start as the person is on the web site.
This counter has to count:
1. The minutes
2. The seconds
3. The frames (where 24 frames=1 second)
I would like to use the "GetTimer" function.
So, now how can you (which action? how to write it?) display the time
of the frames and restarting at "1" after the number "24" and add "1" at
the seconds.
I was trying and couldn't manage the 24 frames part.
Any help?
Thanks
Marc
Here is a script action I was trying but it is displaying the time as
minutes/seconds/centiseconds.
The centiseconds are reseting after "100" and this is not what I need.
If (Now > 1000)
Set Variable: "Minutes" = Int((Substring ( Now, 1, (Length ( Now )
- 3))) / 60)
Set Variable: "Seconds" = Int((Substring ( Now, 1, (Length ( Now )
- 3))) - (Minutes * 60))
End If
Set Variable: "Centiseconds" = Int(Substring ( Now, (Length ( Now ) -
2), 2 ))
If (Centiseconds < 10)
Set Variable: "Centiseconds" = "0" & Centiseconds
End If
If (Seconds < 10)
Set Variable: "Seconds" = "0" & Seconds
End If
If (Minutes < 10)
Set Variable: "Minutes" = "0" & Minutes
End If
If (Int(Minutes) > 59)
Call ("Reset")
End If
Go to and Play ("Get Time")
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]