You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/07/18 15:58:58 UTC
[GitHub] [royale-asjs] lmarevaloa edited a comment on issue #434: How do I
call a RemoteObject method from Apache Royale?
lmarevaloa edited a comment on issue #434: How do I call a RemoteObject method from Apache Royale?
URL: https://github.com/apache/royale-asjs/issues/434#issuecomment-512877784
Yes, but what I do not understand is where I put the path of the source parameter; that routes the method file.
example source parameter:
>>>as3.
<mx:RemoteObject id="Server" destination="Server" source="gb.informaticasystems.Server" fault="handler_backendCommunicationFails(event)" >
<mx:method name="getData" result="handler_getDataSuccess(event)"/>
</mx:RemoteObject>
>>>apache royale.
<fx:Script>
protected function getSomeCompressedProduct():void
{
Server.send("getData", []);
}
</fx:Script>
<js:CompressedRemoteObject id="Server" destination="Server" result="onResult(event)" fault="onFault(event)" endPoint = "http://localhost:8080/messagebroker/websocket-amf"
/>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services