|
Home > Archive > Macromedia Flash Server > April 2005 > Comment concerning R.SleepOver's "Client-side" timer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Comment concerning R.SleepOver's "Client-side" timer
|
|
| Gerald (Woody) Chastain 2005-04-07, 5:55 pm |
| R.SleepOver wrote concerning using a master client as a time master. I tried
the same thing initially.
You may wish to consider using server-side code to accomplish this task. It
is much simpler and works well. I'll share some SSAS if you would like.
(As an aside, I've been working with FCS since first release. Thanks VERY,
VERY much to everyone involved in getting the new O-Reilly FCS book out!)
Woody Chastain
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| R.SleepOver 2005-04-07, 5:55 pm |
| Well actually, Server-Side was an approach, but I had to code my timer
quickly, and quickly saw comments of problem with setInterval on SSAS.
So I ran for the obvious solution, which might not be the best : start a
timer remotely, and periodically send message with the master current time.
With this solution, having the server "mastering" the time is only
reducing the "upcoming time" load between the master and the server.
I'm currently thinking of a nicer way (but ... as long as you can't
setDate() in Flash ... no fcs-implemented NTP solution to come ...)
Gerald (Woody) Chastain wrote:
>***
>This message was sent to your KasMail disposable email address:
>flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
>***
>
>R.SleepOver wrote concerning using a master client as a time master. I tried
>the same thing initially.
>
>You may wish to consider using server-side code to accomplish this task. It
>is much simpler and works well. I'll share some SSAS if you would like.
>
>(As an aside, I've been working with FCS since first release. Thanks VERY,
>VERY much to everyone involved in getting the new O-Reilly FCS book out!)
>
>Woody Chastain
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|