RE: [Flashcoders] setInterval intervalID type?

2006-04-19 Thread Michael Trim
what type of object is the intervalId that
gets returned from setInterval()?  

Number
___
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


Re: [Flashcoders] setInterval intervalID type?

2006-04-19 Thread Dimitrios Bendilas

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


RE: [Flashcoders] setInterval intervalID type?

2006-04-19 Thread Merrill, Jason
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


Re: [Flashcoders] setInterval intervalID type?

2006-04-19 Thread Julian 'Julik' Tarkhanov


On 19-apr-2006, at 18:08, Merrill, Jason wrote:


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


It's a Number.


--
Julian 'Julik' Tarkhanov
me at julik.nl



___
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