You've got to be sh**ting me.  There's a setInterval in flash?  Too bad this
didn't come up last week when I was rebuilding a flash interface and got
stuck using the timeline to call functions periodically.  


Mike, you have made my day.

  _____  

From: Mike Chambers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 12:05 AM
To: CF-Talk
Subject: Re: Heartbeat with Flash?

Instead of messing with the framerate, I would just use setInterval. This
basically tells flash to run the specified function at the specified
interval.

You can find more info in the Flash ActionScript dictionary.

Hope that helps...

mike chambers

[EMAIL PROTECTED]

----- Original Message -----
From: "Barney Boisvert" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 4:40 PM
Subject: RE: Heartbeat with Flash?

> Here's what I'd do.  make a new movie.  set the frame rate to 1 (1 frame
> per
> second).  in frame 30, add a single action:
>
>
>      loadVariables("yourUrlToCheck", 1);
>
>
> export the movie.
>
>
> put that in a page, and every 30 seconds, it'll hit whatever URL you
> specify.  The output from the page should be a valid query string (not
> includeing the question mark).  The empty string is valid.  The help
> that
> comes with Flash is generally pretty good, I thought.  Pretty mcuh all I
> use.
>
>
> cheers,
> banreyb
>
>   _____
>
> From: cf-talk [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2003 4:27 PM
> To: CF-Talk
> Subject: RE: Heartbeat with Flash?
>
> Barney,
>
> Thanks for the advice... Unfortunately I haven't really taken much of a
> look into Flash much or Flash Remoting.  What would be the easiest way
> and could you point me to a couple resources?
>
> -Novak
>
> -----Original Message-----
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2003 4:16 PM
> To: CF-Talk
> Subject: RE: Heartbeat with Flash?
>
> It'd be a snap with flash, using either remoting or just a loadVariables
> call.  I know there was a limitation with flash 5 where you couldn't
> make a
> movie smaller than 18x18 though.  don't know if that's still in place
> with 6
> (mx) and 7 (mx04).
>
>   _____
>
> From: cf-talk [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2003 4:12 PM
> To: CF-Talk
> Subject: Heartbeat with Flash?
>
> Hi All,
>
> Just tried to send this message out a few moments ago and it seemed to
> hang.  My apologies in advance if it turns into a double post...
>
> I currently have an application that has a built in "heartbeat"... A 1x1
> pixel iframe that refreshes itself every 30 seconds.
>
> This heartbeat updates the database and lets me know that a user is
> still online.  Everything works great except for the fact that MSIE
> browsers make a "click" sound every time the refresh takes place.  It's
> very annoying.
>
> I thought that perhaps I could create a 1x1 pixel flash movie to
> accomplish the same thing, only without the annoying click.
>
> Any ideas as to how difficult this would be to implement?
>
> Any other ideas are also more than welcome...
>
> -Novak
>
>   _____
>
>   _____
>
>   _____
>
>
>   _____
>
>
  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to