This content has been marked as final. Show 3 replies
Thanks. I will check it. It looks like there are some options using onData and onHTTPStatus methods. I assumed that onLoad would return false in all cases - the docs are a little muddy on this.
I'm finding this strange. My understanding was that the onLoad would fire and return a false if the file was not found. I just tried it in the testing environment and that is what happened. Are you seeing different behaviour between the testing environment and actual deployment?
I've done some smallish projects where I use onLoad of an XML to either show or hide some controls based upon the result. And they work just fine.
What version of Flash are your using?
The only thing I remember seeing here is that if the file exists, but is empty, you will never get the onLoad event. Is this some kind of dynamically generated XML file and perhaps the server sends some kind of data?