In AS2, you can certainly do some initial checking before it's _parsed_ by overriding the onData function of the XML object. You could do some very simple string-checking on the raw string (to check your attribute) and then decide whether or not to pass it on for parsing.
How much speed that'll gain you, I don't know. I suspect there are ways to part-load objects in AS3. The other fairly obvious way would be to do the work server-side, proxying your true data source and sending only minimal data if nothing has changed. HTH, Ian On 5/15/07, Alistair Colling <[EMAIL PROTECTED]> wrote:
Hi there, I am sure I remember coming across a way of reading an XML file before it is fully loaded though I can't find it. What I would like to do is load all the information from an XML file but only if an attribute in the first node has changed (this is like an ID that the Flash app can use to decide whether or not to load all of the XML unless it is a new version). Has anyone else heard of this of or is this wishful thinking? Thanks :) Ali _______________________________________________ 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