> Just a quick observation: your onLoad should appear in code above the > actual sendAndLoad function.
Does it - readability apart - really matter? Let's run a little test and make a really small and fast load: a textfile that just contains the string x=small And in the .fla: lv = new LoadVars(); lv.load('test.txt'); // waste much more time than the load can possibly take while(getTimer() < 5000){}; lv.onLoad = function(s){ trace('onLoad is called, success :'+s); } The onLoad handler is called just fine even though it is declared several seconds after load() is called. It seems to be quite safe to assume that with asynchronous load operations the onData and onLoad events are dispatched with a delay of at least one frame. hth Andreas Weber -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Donnerstag, 15. Dezember 2005 15:02 To: Flashcoders mailing list Subject: Re: [Flashcoders] onload(Success:Boolean) - what's it mean? Just a quick observation: your onLoad should appear in code above the actual sendAndLoad function. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders