Re: [Flashcoders] Can I read XML before it is loaded?

2007-05-18 Thread Alistair Colling
Thanks Danny, I think you're right, the XML Object is pretty fast and if it is going to take a while to load then storing the ID somewhere else and checking that file is probably the best way to approach this. Cheers everyone! Ali On 15 May 2007, at 15:45, Danny Kodicek wrote: Hi there, I

[Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Alistair Colling
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

Re: [Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Ian Thomas
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

RE: [Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Smeets, Ben
read XML before it is loaded? 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

RE: [Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Danny Kodicek
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

Re: [Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread T. Michael Keesey
On 5/15/07, Danny Kodicek [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

RE: [Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Hairy Dog Digital
What about utilizing two separate XML files. The first files contains the elements that predicate the loading of the second XML file. Yes, it's more than one file, but may be a more practical approach as opposed to overwriting the onLoad event handler. ...Rob

Re: [Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Paul Chang
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: dinsdag 15 mei 2007 16:07 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Can I read XML before it is loaded? Hi there, I am sure I remember coming across a way