Hi PKumar, very interested in your AMFJS integration. these means you have a working port of AMFJS? Are you working/planing in RemoteObject port? Could you share more about it? thanks!
2016-10-31 16:58 GMT+01:00 PKumar <prashaku...@gmail.com>: > I used <inject_html> with my custom custom for AMFJS integration and it > works ok. check below code: > > public class AMFJS > { > > /** > * <inject_html> > * > * </inject_html> > */ > public function AMFJS() > { > > } > > public function sendAMFReq():void > { > COMPILE::JS > { > var amfClient:Object = new ((window as > Object).amf).Client("patientService", > "http://localhost:8080/BlazeDS/messagebroker/amf"); > var operation:Object = amfClient.invoke(" > patientService", > "getPatientNames", []); > operation.then(onResult , onFault); > } > } > > private function onResult(res:Object):void > { > trace("Response =" + res); > } > > private function onFault(err:Object):void > { > trace("Error=" + err); > } > } > > > > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/inflate-deflate-tp56108p56135.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Carlos Rovira http://about.me/carlosrovira