Flasher Archive

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

Subject: Re: FLASH: Clock
From: John Croteau
Date: Fri, 29 Jan 1999 14:32:14 GMT

Hi Francois,

> http://www.AHREF.com/guides/design/199808/0802croteau.html
> it is very well explained how to do a countdown clock. It said that with
> Javascript, you can have the time of the user computer. There is the
> code for the javascript but how does it communicate with the flash
> movie. Is there FSCommand to put in the movie?
You need an FS Command with a command of StartClock to start the clock.
Put this in your Movie at the point you want the clock to run (or
shortly before).

The FS Command is captured and will run the function Runclock() which
gets the time and sends a new update of that time to the Flash Movie 10
times a second.

function clock_DoFSCommand(cmd, arg)
if (cmd=="StartClock") {Runclock();}
if (cmd=="StopClock") {Stopclock();}

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/

To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com

  FLASH: Clock, Francois Nadeau

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