royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [royale-asjs] branch develop updated: fix CompressedObject
Date Sat, 13 Oct 2018 22:49:14 GMT
This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2352e01  fix CompressedObject
2352e01 is described below

commit 2352e011c526a87af0fdcc2b7ea794f167b2e070
Author: Carlos Rovira <carlosrovira@apache.org>
AuthorDate: Sun Oct 14 00:49:07 2018 +0200

    fix CompressedObject
---
 .../src/main/royale/org/apache/royale/net/CompressedRemoteObject.as   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
index 363861c..e0d812e 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
@@ -56,9 +56,9 @@ package org.apache.royale.net
 
                 // --- uncompress the bytearray to get the real object (tree) and create
the AMFBinaryData with it
                 var data:AMFBinaryData = new AMFBinaryData(window["pako"].inflate(bytearray));
-
+                param.body = data.readObject();
                 // --- dispatch the ResultEvent like in the standard RemoteObject with the
inflated result object
-    		    dispatchEvent(new ResultEvent(ResultEvent.RESULT, data.readObject()));
+    		    dispatchEvent(new ResultEvent(ResultEvent.RESULT, param.body));
             }
 
             COMPILE::SWF


Mime
View raw message