No idea. I have not looked into RemoteObject at all. Someone more familiar with it will have to comment.
Harbs > On Sep 20, 2017, at 12:11 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com> > wrote: > > Harbs, Alex, > > Is it possible that there is some messed up cause of this inject_html in > RemoteObject ? [1] I remember that Alex said it is no needed anymore. > > [1] > https://github.com/apache/flex-asjs/blob/develop/frameworks/projects/Network/src/main/flex/org/apache/flex/net/RemoteObject.as > > Thanks, > Piotr > > > 2017-09-20 11:04 GMT+02:00 doug777 <doug777...@gmail.com>: > >> Still no luck. Now it returns this >> >> this.xhr.getResponseHeader("Content-type”) >> >> VM833:1 Uncaught SyntaxError: Invalid or unexpected token >> at org.apache.flex.net.remoting.amf.AMFNetConnection. >> onReadyStateChange >> (AMFNetConnection.js:136) >> at org.apache.flex.net.remoting.amf.AMFNetConnection.call >> (AMFNetConnection.js:108) >> at org.apache.flex.net.remoting.Operation.send (Operation.js:67) >> at org.apache.flex.net.RemoteObject.send (RemoteObject.js:84) >> at Test.init (Test.js:182) >> at Test.$EH0 (Test.js:210) >> at Test.goog.events.EventTarget.fireListeners (eventtarget.js:284) >> at Function.goog.events.EventTarget.dispatchEventInternal_ >> (eventtarget.js:381) >> at Test.goog.events.EventTarget.dispatchEvent (eventtarget.js:196) >> at Test.org.apache.flex.events.EventDispatcher.dispatchEvent >> (EventDispatcher.js:71) >> org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange @ >> AMFNetConnection.js:136 >> org.apache.flex.net.remoting.amf.AMFNetConnection.call @ >> AMFNetConnection.js:108 >> org.apache.flex.net.remoting.Operation.send @ Operation.js:67 >> org.apache.flex.net.RemoteObject.send @ RemoteObject.js:84 >> Test.init @ Test.js:182 >> Test.$EH0 @ Test.js:210 >> goog.events.EventTarget.fireListeners @ eventtarget.js:284 >> goog.events.EventTarget.dispatchEventInternal_ @ eventtarget.js:381 >> goog.events.EventTarget.dispatchEvent @ eventtarget.js:196 >> org.apache.flex.events.EventDispatcher.dispatchEvent @ >> EventDispatcher.js:71 >> org.apache.flex.core.HTMLElementWrapper.dispatchEvent @ >> HTMLElementWrapper.js:240 >> org.apache.flex.core.Application.initialize @ Application.js:273 >> org.apache.flex.core.Application.start @ Application.js:246 >> (anonymous) @ index.html:241 >> >> >> >> -- >> Sent from: http://apache-flex-users.2333346.n4.nabble.com/ >> > > > > -- > > Piotr Zarzycki > > mobile: +48 880 859 557 > skype: zarzycki10 > > LinkedIn: http://www.linkedin.com/piotrzarzycki > <https://pl.linkedin.com/in/piotr-zarzycki-92a53552>