Its called first and is faster because its invoked as soon as you have data, and before you actually parse or process the data. onData is always gonna be called first. onLoad is called when the call has totally completed, there fore at the end of the process, whereas onData is at the beginning.
> Hi, > > I actually don´t know, but probably make more sense if the onLoad > method would be faster because it should be easier to parse the > LoadVars source rather than the xml one. But no idea why the onData > method is faster... > > Sorry for not helping too much :S > > Bye > > On 6/26/06, Andreas Rønning <[EMAIL PROTECTED]> wrote: >> Anyone know why loadvars.onData gets results quicker than xml.onData? >> Did a bunch of average tests and xml is noticably slower (5-10 ms) >> >> - Andreas >> _______________________________________________ >> [email protected] >> 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 >> > > > -- > Juan Delgado - Zárate > http://www.zarate.tv > _______________________________________________ > [email protected] > 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 _______________________________________________ [email protected] 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

