Re: [Flashcoders] setInterval woes

2007-04-23 Thread Jordan Snyder
- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks > Sent: Monday, April 23, 2007 10:06 AM > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] setInterval woes > > It's debugging 101. Eliminate the obvious things first

Re: [Flashcoders] setInterval woes

2007-04-23 Thread Steven Sacks
Of Steven Sacks Sent: Monday, April 23, 2007 10:06 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes It's debugging 101. Eliminate the obvious things first. Calling clearInterval before setInterval is a preventative measure to protect you from unex

RE: [Flashcoders] setInterval woes

2007-04-23 Thread David Ngo
uring that your interval will work as you intended it to. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Monday, April 23, 2007 10:06 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes It'

Re: [Flashcoders] setInterval woes

2007-04-23 Thread Steven Sacks
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Snyder Sent: Friday, April 20, 2007 3:02 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes No, I mean that he is only calling setInterval once and has no apparent need to even assign it to a variable for use with

Re: [Flashcoders] setInterval woes

2007-04-20 Thread robert
"pulling the data every time that frame comes up." Is this called on a timeline with many frames and no stop()? If so, I think you are setting a completely new interval on each loop of the frames. If you want this thing to fire once each minute put it somewhere outside of this loop of fra

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Jordan Snyder
functionality you're talking about is a setTimeout. That calls a method once and ONLY once after a specified delay. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Snyder Sent: Friday, April 20, 2007 3:02 PM To: flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] setInterval woes

2007-04-20 Thread David Ngo
2007 3:02 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes No, I mean that he is only calling setInterval once and has no apparent need to even assign it to a variable for use with clearInterval later. On 4/20/07, David Ngo <[EMAIL PROTECTED]> wrote: >

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Jordan Snyder
Subject: Re: [Flashcoders] setInterval woes Steven, why is that? If he's only calling it once and the interval is only defined/set once, why would you call clearInterval? On 4/20/07, Steven Sacks <[EMAIL PROTECTED]> wrote: > You should always call clearInterval before setInterva

RE: [Flashcoders] setInterval woes

2007-04-20 Thread David Ngo
D] On Behalf Of Jordan Snyder Sent: Friday, April 20, 2007 2:03 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes Steven, why is that? If he's only calling it once and the interval is only defined/set once, why would you call clearInterval? On 4/20/07, Steven Sac

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Jordan Snyder
Steven, why is that? If he's only calling it once and the interval is only defined/set once, why would you call clearInterval? On 4/20/07, Steven Sacks <[EMAIL PROTECTED]> wrote: You should always call clearInterval before setInterval. ALWAYS. Michael King wrote: > Hey all, > > Some of you m

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Steven Sacks
You should always call clearInterval before setInterval. ALWAYS. Michael King wrote: Hey all, Some of you may remember my problems with visually mapping streaming data before. I ended up needing them as separate clips to provide individual roll-over support with the ability to add links in a

RE: [Flashcoders] setInterval woes

2007-04-20 Thread David Ngo
35 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] setInterval woes Hey all, Some of you may remember my problems with visually mapping streaming data before. I ended up needing them as separate clips to provide individual roll-over support with the ability to add links in a f

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Jordan Snyder
I'm wondering the same as Alexander...perhaps it's something to do with the timeline, or with other code that is happening around the code you posted. Is there anything else we should know? You should also just put a trace at the top of the intervalLoop() function to see if the problem may be wi

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Alexander Farber
Are you missing a stop(); maybe? On 4/20/07, Michael King <[EMAIL PROTECTED]> wrote: The problem is, when I use setInterval as documented, it waits the first minute, does its thing, but then it ignores the interval after that, pulling the data every time that frame comes up. Regards Alex -- h

[Flashcoders] setInterval woes

2007-04-20 Thread Michael King
Hey all, Some of you may remember my problems with visually mapping streaming data before. I ended up needing them as separate clips to provide individual roll-over support with the ability to add links in a future revision. Well, now that I have it performing better, I'm breaking down the info