Thanks Geoff and Michael - I knew it was a dumb question.  And probably
real easy to find in the help docs too.  Sorry for the bandwidth :)

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Geoff Stearns
>>Sent: Wednesday, April 19, 2006 12:11 PM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] setInterval intervalID type?
>>
>>it returns a number.
>>
>>
>>On Apr 19, 2006, at 12:08 PM, Merrill, Jason wrote:
>>
>>> 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
_______________________________________________
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