You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2016/07/11 08:19:17 UTC

git commit: [flex-asjs] [refs/heads/develop] - Fixed HTTPStatusEvent type

Repository: flex-asjs
Updated Branches:
  refs/heads/develop d4d3a4d27 -> f2739954c


Fixed HTTPStatusEvent type


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f2739954
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f2739954
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f2739954

Branch: refs/heads/develop
Commit: f2739954c2045acd949f4cefa57b9218a26cb493
Parents: d4d3a4d
Author: Harbs <ha...@in-tools.com>
Authored: Mon Jul 11 11:19:11 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Mon Jul 11 11:19:11 2016 +0300

----------------------------------------------------------------------
 .../Network/src/main/flex/org/apache/flex/net/URLStream.as      | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f2739954/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLStream.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLStream.as b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLStream.as
index c67b334..d10c375 100644
--- a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLStream.as
+++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLStream.as
@@ -32,7 +32,6 @@ package org.apache.flex.net
         import flash.events.IOErrorEvent;
 		import flash.events.ProgressEvent;
 		import flash.events.SecurityErrorEvent;
-		import flash.events.StatusEvent;
 		import flash.net.URLRequest;
 		import flash.net.URLRequestHeader;
 		import flash.net.URLStream;
@@ -120,9 +119,9 @@ package org.apache.flex.net
             }
         }
         COMPILE::SWF
-		private function flash_status(ev:StatusEvent):void
+		private function flash_status(ev:HTTPStatusEvent):void
 		{
-			setStatus(parseInt(ev.code,10));
+			setStatus(ev.status);
 		}
 		
         COMPILE::SWF