setInterval either takes a function, or an object with the name of a
function that object contains as a string, hence the 2 ways of using it
On Jul 26, 2006, at 5:16 PM, keitai guy wrote:
hi -
thanks for the help ...
if checkLoading is on the root level, then you would say:
intId = setInterval(_root, "checkLoading", 100 );
great, this works. now i'd like to try and get it working inside an
object...
The second form is incorrect, no quotes there..
intId = setInterval( this, "checkLoading", 100 ); // doesnt work
so - this is wrong?
Why not just use the built in onProgress event in ImageLoader?
good point, but i wanted to write my own stuff first to know whats
going on...
/dc
_______________________________________________
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