Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: GetTimer & Reset
From: Jason Bouwmeester
Date: Mon, 1 May 2000 15:56:03 +0100

Well, the first thing that I noticed here is that you are using the frames
as an indication of seconds. Not every computer, actually hardly a lot, will
play at the 24fps so you will find that your seconds are out. Check out
www.bloodykisses.com/flash/datetime/datetest.html and if it looks like what
you need I can send you the .fla.

HTH,
jb

-----Original Message-----
From: Marc Pidoux [marcatpidoux [dot] com (mailto:marcatpidoux [dot] com)]
Sent: Sunday, April 30, 2000 9:59 AM
To: flasheratchinwag [dot] com
Subject: FLASH: GetTimer & Reset


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 helpatchinwag [dot] com

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 helpatchinwag [dot] com


Replies
  Re: FLASH: GetTimer & Reset (Check pleas, Marc Pidoux

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]