HTTPStatusEvent 返回状态status=0
- 10月 31st, 2008
-
基本上除了IE,其他的浏览器都不能把正确的HTTP状态码返回,只能返回0。
If Flash Player cannot get a status code from the server, or if it cannot communicate with the server, the default value of 0 is passed to your ActionScript code. A value of 0 can be generated in any player (for example, if a malformed URL is requested), and a value of 0 is always generated by the Flash Player plug-in when it is run in the following browsers, which do not pass HTTP status codes to the player: Netscape, Mozilla, Safari, Opera, and Internet Explorer for the Macintosh.