Re: [Flashcoders] tracking inactivity

2005-10-26 Thread David Rorex
} > } > > On 10/26/05, Alistair Miller <[EMAIL PROTECTED]> wrote: > > You are setting a value here rather than comparing > > > > if (this.time=this.stillFor) { > > > > change to > > > > if (this.time >=this.stillFor) { > > > &g

Re: [Flashcoders] tracking inactivity

2005-10-26 Thread Matt Ganz
[mailto:[EMAIL PROTECTED] > Sent: 26 October 2005 16:44 > To: Flashcoders mailing list > Subject: [Flashcoders] tracking inactivity > > hi. > > i'm trying to record when there's been inactivity in my site. i got > this code from the archive but don't underst

RE: [Flashcoders] tracking inactivity

2005-10-26 Thread Shaw, Matt
You need 2 equal signs... if (this.time==this.stillFor) { -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Miller Sent: Wednesday, October 26, 2005 11:48 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] tracking inactivity You are

RE: [Flashcoders] tracking inactivity

2005-10-26 Thread Alistair Miller
You are setting a value here rather than comparing if (this.time=this.stillFor) { change to if (this.time >=this.stillFor) { Ali -Original Message- From: Matt Ganz [mailto:[EMAIL PROTECTED] Sent: 26 October 2005 16:44 To: Flashcoders mailing list Subject: [Flashcoders] track

[Flashcoders] tracking inactivity

2005-10-26 Thread Matt Ganz
hi. i'm trying to record when there's been inactivity in my site. i got this code from the archive but don't understand where it's going wrong. for example, i set it to trace out if the mouse has been inactive for 10 seconds, but instead i get this message right away. does anyone see anything out