Quote XML.onLoad docs from FMX2004:

"Event handler; invoked by Flash Player when an XML document is
received from the server. If the XML document is received
successfully, the success parameter is true. If the document was not
received, or if an error occurred in receiving the response from the
server, the success parameter is false..."

So yes i think the end of a data stream could trigger it.

On 1/7/07, Miles Thompson <[EMAIL PROTECTED]> wrote:

So it's most likely that ii) - nothing to parse - is most likely, how long
does Flash wait / what triggers XML.onLoad?
Just the end of a data stream?

Miles

At 08:12 PM 1/5/2007, Ray Chuan wrote:

>Hi,
>
>a status code of '0' could either mean
>
>i) no errors parsing
>ii) no XML parsed --> no errors parsing (since there's nothing to parse)
>
>On 1/5/07, Miles Thompson <[EMAIL PROTECTED]> wrote:
>>
>>How or why can I have an XML Status Code of "0", but XML.onLoad is not
>>succeeding?
>>
>>My XML.onLoad has a "success" section, like so ..
>>         xmlReceiver.onLoad = function( success:Boolean )
>>and if there is no success, the else part looks like this:
>>         // Otherwise tell the user the vars couldn't be loaded.
>>         txtNews.text = txtNews.text + "GetStories: Loading of news storys
>>failed.";
>>         txtNews.text = txtNews.text + "GetStories: XML did not load.";
>>         txtNews.text = txtNews.text + "GetStories: XML Status code: " +
>>xmlReceiver.status;
>>
>>Some users are not getting the news stories, which are sent as XML and
>>parsed within the success section,
>>but they report a status code of "0" - which indicates everything should
>>be OK.
>>
>>This is Flash MX, users are running Flash Player 7 in their browsers.
>>
>>Does anyone have any ideas? Suggestions will be most welcome.
>>
>>Regards - Miles Thompson
>>
>>
>>--
>>No virus found in this outgoing message.
>>Checked by AVG Free Edition.
>>Version: 7.1.410 / Virus Database: 268.16.5/616 - Release Date: 1/4/2007
>>
>>
>>_______________________________________________
>>[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
>
>
>--
>Cheers,
>Ray Chuan
>_______________________________________________
>[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


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.410 / Virus Database: 268.16.7/618 - Release Date: 1/6/2007


_______________________________________________
[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



--
Cheers,
Ray Chuan
_______________________________________________
[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

Reply via email to