It stands to reason that if onLoad fires with success==false no file was loaded anyway, so i don't see why you'd need a separate handler for wether success is false NOW or success is false a little later.

onLoad(success){
if(success){
        //handle file load
}else{
        //handle error
}
}

I don't see the downside to this approach. Then again, i'm tired and angry, so i might miss something.

- A

Yotam Laufer wrote:
If onload fires immediately with success==false then you know that there's
no file, so why don't you wait for a reasonable interval and then if it's
not fired than assume the file exists. not the best of solutions but should
work.

Yotam


------------------------------------------------------------------------

_______________________________________________
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

--

- Andreas Rønning

---------------------------------------
Flash guy
Rayon Visual Concepts, Oslo, Norway
---------------------------------------
_______________________________________________
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