Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 101DD200CC5 for ; Tue, 11 Jul 2017 20:48:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0F252166EE6; Tue, 11 Jul 2017 18:48:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79B0F166EE3 for ; Tue, 11 Jul 2017 20:48:04 +0200 (CEST) Received: (qmail 59432 invoked by uid 500); 11 Jul 2017 18:48:03 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 59424 invoked by uid 99); 11 Jul 2017 18:48:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2017 18:48:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 919C3E04AA; Tue, 11 Jul 2017 18:48:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: harbs@apache.org To: commits@flex.apache.org Message-Id: <621b62e542da446fa2d9e6b50dff1d32@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - Should be reading the file as an ArrayBuffer Date: Tue, 11 Jul 2017 18:48:03 +0000 (UTC) archived-at: Tue, 11 Jul 2017 18:48:05 -0000 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 Authored: Tue Jul 11 21:47:59 2017 +0300 Committer: Harbs 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); } }