In Actionscript 2 how can I get 302 redirect from a XML object?

I don't think it's possible from AS2, I think the browser will redirect to the new URL automatically & just return the data from that URL. It may be possible in AS3, they added several new features such as reading HTTP headers and so on Perhaps what you should do is instead of returning a 302 redirect, just return the URL as a text string. Then it would be easy to read from within Flash, just use .

OnData instead of . OnLoad so it doesn't try to parse the XML.

I don't think it's possible from AS2, I think the browser will redirect to the new URL automatically & just return the data from that URL. It may be possible in AS3, they added several new features such as reading HTTP headers and so on. Perhaps what you should do is instead of returning a 302 redirect, just return the URL as a text string.

Then it would be easy to read from within Flash, just use . OnData instead of . OnLoad so it doesn't try to parse the XML.

I don't think it's possible (at least using the XML class). It has an onHTTPStatus event handler but it seems that even with that, you'll only be able to access the status code and nothing else.

– user26888 Oct 10 '08 at 16:51 It doesn't look like it: google.Com/… – hasseg Oct 12 '08 at 11:40.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions