flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Should be reading the file as an ArrayBuffer
Date Tue, 11 Jul 2017 18:48:03 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop e019d1c11 -> 46a07ec95


Should be reading the file as an ArrayBuffer


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

Branch: refs/heads/develop
Commit: 46a07ec95ceeca1fe65ae521ea5d899db27fc09b
Parents: e019d1c
Author: Harbs <harbs@in-tools.com>
Authored: Tue Jul 11 21:47:59 2017 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Tue Jul 11 21:47:59 2017 +0300

----------------------------------------------------------------------
 .../Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/46a07ec9/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
index 0110719..20e7f73 100644
--- a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
+++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
@@ -67,7 +67,7 @@ package org.apache.flex.file.beads
 			{
 				var reader:FileReader = new FileReader();
 				goog.events.listen(reader, 'load', fileLoadHandler);
-				reader.readAsBinaryString(fileModel.file);
+				reader.readAsArrayBuffer(fileModel.file);
 			}
 		}
 		


Mime
View raw message