3 msgFlash + SWFObject + innerHTML + IE7 problem
1 msgCamera Privacy Dialog Box
4 msgNumber -- how good for use as an integer?
2 msgFlash video player / modular component
2 msgFlex 360 Conference
15 msgAS3 parseFloat issue?
2 msgfree flv player with lister component URGENT
6 msgposting Problem...
1 msgPlease remove me from your email lists!
1 msgmotion faces idea with flash
1 msgWe need some help: Server space offer

clearInterval(0);
\ Alexander Farber (4 Mar 2007)
. \ Adam Pasztory (4 Mar 2007)
. . \ Alain Rousseau (4 Mar 2007)
. . . \ Andy Herrman (6 Mar 2007)
. \ Muzak (6 Mar 2007)

19 msgAS3... when to start?
2 msgSharedObject - Urgen Help Needed Please
8 msgCache Killer... is it bulletproof ???
1 msgIs anyone using Proxus FLV Component
8 msgRe: OT: Is this done in processing?
1 msgtesting it
1 msgwhat's happened to newbie?
7 msgmore _lockroot woes
Subject:clearInterval(0);
Group:Flashcoders
From:Alexander Farber
Date:4 Mar 2007


 
Hello,

is it maybe safe to call clearInterval(0)
(same way as calling free(NULL) in C language)
or should I better not rely on this?

Here is my web chat function and I wonder
if I could get rid of the very first line in it:

var intervalID:Number = 0;
var resp_lv:LoadVars = new LoadVars();
var req_lv:LoadVars = new LoadVars();

function fetch(event_num:Number, args:String):Void {
if (0 != intervalID) /* XXX remove this check? */
clearInterval(intervalID);

req_lv.event = event_num;

if (args != undefined)
req_lv.args = args;
else
delete req_lv.args;

req_lv.sendAndLoad(MODULE_URL, resp_lv, 'GET');

intervalID = setInterval(fetch, 10 * 1000, ALIVE);
}

Regards
Alex

--
http://preferans.de
_______________________________________________
Flashcoders
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


© 2004-2008 readlist.com