RE: [flexcoders] Sleep() method

2007-10-02 Thread Tracy Spratt
: RE: [flexcoders] Sleep() method Two ways: function pollServer():void { //do polling here if(shouldcontinuepolling) setTimeout(pollServer,1000); } Or function pollServer():void { //do polling here } var pollInterval:uint=null; function onCreationComplete():void { pollInterval

RE: [flexcoders] Sleep() method

2007-10-02 Thread Seth Caldwell
] Sleep() method I have a usecase where I need to keep polling the server for a value. How can I achieve that without a sleep method? On 10/2/07, Tom Chiverton < <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]> wrote: On Tuesday 02 Oct 2007, [EMAIL PROTECTED] <mailto:[EMAIL PROTEC

Re: [flexcoders] Sleep() method

2007-10-02 Thread Mayank
I have a usecase where I need to keep polling the server for a value. How can I achieve that without a sleep method? On 10/2/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: > > there is a lot of use for sleep function. > > There is (as opposed to s

Re: [flexcoders] Sleep() method

2007-10-02 Thread Tom Chiverton
On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: > there is a lot of use for sleep function. There is (as opposed to setTimeout which executes a method after a delay) ? When ? -- Tom Chiverton Helping to continuously restore dynamic design-patterns on: http://thefalken.livejournal.com

Re: [flexcoders] Sleep() method

2007-10-02 Thread Willy Ci
events with doing screen updates for animation, or timing out some > > > pending event that's taking too long. > > > > > > I was curious what the OPs intention was since they explicitly asked > > > about stopping processing. > > > > > > Pa

Re: [flexcoders] Sleep() method

2007-10-02 Thread Ralf Bokelberg
for animation, or timing out some > > pending event that's taking too long. > > > > I was curious what the OPs intention was since they explicitly asked > > about stopping processing. > > > > Paul > > > > - Original Message ----- > > *F

Re: [flexcoders] Sleep() method

2007-10-02 Thread Willy Ci
ing > event that's taking too long. > > I was curious what the OPs intention was since they explicitly asked about > stopping processing. > > Paul > > - Original Message - > *From:* Willy Ci <[EMAIL PROTECTED]> > *To:* flexcoders@yahoogroups.com >

Re: [flexcoders] Sleep() method

2007-10-02 Thread Paul Andrews
ders@yahoogroups.com Sent: Tuesday, October 02, 2007 12:43 PM Subject: Re: [flexcoders] Sleep() method there is a lot of use for sleep function. you can try use flash.events.TimerEvent write your own sleep(). as3 doesn't have it own sleep function. Willy On 9/28/07, Paul

Re: [flexcoders] Sleep() method

2007-10-02 Thread Willy Ci
EMAIL PROTECTED] > > To: > > Sent: Friday, September 28, 2007 9:11 PM > Subject: [flexcoders] Sleep() method > > > Is this something like a sleep or wait method? A method that holds > > processing for 'n' seconds? I could use a timer but that doesn't stop

Re: [flexcoders] Sleep() method

2007-09-28 Thread Paul Andrews
- Original Message - From: "essuark" <[EMAIL PROTECTED]> To: Sent: Friday, September 28, 2007 9:11 PM Subject: [flexcoders] Sleep() method > Is this something like a sleep or wait method? A method that holds > processing for 'n' seconds? I could u

RE: [flexcoders] Sleep() method

2007-09-28 Thread Tracy Spratt
, September 28, 2007 4:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sleep() method Is this something like a sleep or wait method? A method that holds processing for 'n' seconds? I could use a timer but that doesn't stop the processing. thanks r

[flexcoders] Sleep() method

2007-09-28 Thread essuark
Is this something like a sleep or wait method? A method that holds processing for 'n' seconds? I could use a timer but that doesn't stop the processing. thanks r