Flasher Archive

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


Subject: Re: FLASH: NEED HELP - COUNTDOWN
From: M. Joos
Date: Sat, 3 Jun 2000 16:57:30 +0100

Hi Laurent,
just created a 4 frame solution for you:
make two layers, one actions layer and another one where you create three textfileds named hour,
min sec.
In the actions layer:
frame 1:
Set Variable: "starttimer" = gettimer
Set Variable: "hour" = 3
Set Variable: "min" = 30
Set Variable: "sec" = "0"
Set Variable: "nmin" = "1"

frame 2:
Set Variable: "sec" = nmin*60-int((gettimer-starttimer)/1000)
If (sec<0)
Set Variable: "sec" = 60
Set Variable: "min" = min-1
Set Variable: "nmin" = nmin+1
End If
If (min<0)
Set Variable: "min" = 60
Set Variable: "hour" = hour-1
End If
If ((hour=0) and (min=0) and (sec=0))
Go to and Stop (4)
End If

frame 3:
Go to and Play (2)


In frame 4 you continue with what ever should happen after 3h30min (I am a little curious about
that ;) )
Sorry, I only tried it for the first three minutes, but I think it should work.
Hope this helps

Markus

* Markus Joos (Dipl. Psych.)
* Dresden University of Technology
* joosyatpsy1 [dot] psych [dot] tu-dresden [dot] de



Laurent CROUZET wrote:

> Second post, if someone knows the answer ?
>
> I haven't succeeded in using the "GetTimer Function" to create a Countdown
> (Hour : Minutes : Seconds). It must start at 03h 30mn 00s and count down to
> 00h 00mn 00s.
>
> Thanks for any advice.
>
> Laurent CROUZET
> _________________________
> Guet-Apens - Imagerie Synthitique
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> World Animation Celebration - Big Internet Animation Pow Wow Discount Offer
>
> Register before May 25 mention flasher and save 25%!! www.wacfest.com
>
> Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
> and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
> Groening, Brad Bird and more. www.wacfest.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: NEED HELP - COUNTDOWN, Laurent CROUZET

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