Problem with XML.onHTTPStatus in Flash 8
Hi,
I'm compiling a simple class that uses the XML object to some data
from the server. I got the XML.onLoad working fine, but I want to also
handle some special status codes such as 302, 401, etc.
The problem I have is that MTASC chokes on responseXML.onHTTPStatus.
The error message when compiling the code below is "type error XML
have no field onHTTPStatus"
Any help would be appreciated.
Thanks a lot,
Julien
var responseXML:XML = new XML();
responseXML.onHTTPStatus = function(httpStatus:Number) {
}
responseXML.onLoad = function(success) {
...
--
MTASC : no more coffee break while compiling