It's a Number

Regards,
Dimitrios Bendilas

----- Original Message ----- From: "Merrill, Jason" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, April 19, 2006 7:08 PM
Subject: [Flashcoders] setInterval intervalID type?


May be a dumb question, but what type of object is the intervalId that
gets returned from setInterval()?

I thought I could declare it a generic object, but no:

var checkId:Object;
checkId = setInterval(myFunction, 100);
clearInterval(checkId);//The compiler throws a type mismatch error on
this
         //if I declare the var as an object in (line
1). Without
         //any type declaration on the var, it works
fine.

Not a show-stopper, just asking more out of curiosity.   Thanks,

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com




NOTICE:
This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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



_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to