Hi,
You have a working examples in /examples/mxroyale/RemoteObjectAMFTest.
Check this doc page [1]
Are you using BlazeDS? If so there's a java app configured to test.
Also ensure you use MXRoyale version of RemoteObject
Add this to additional compiler options to avoid MXRoyale mix of CSS styles:
-compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;
also register ArrayList to be used instead of ArrayCollection since Jewel
uses the first one
import org.apache.royale.collections.ArrayList;
public function setUp():void
{
//register ArrayCollection alias to map to ArrayList in local project
registerClassAlias("flex.messaging.io.ArrayCollection", ArrayList);
}
And don't forget to add this bead to Application
<j:beads>
<js:ClassAliasBead/>
</j:beads>
[1]
https://apache.github.io/royale-docs/features/loading-external-data/remoteobject
El jue., 17 sept. 2020 a las 23:02, wkoch (<[email protected]>)
escribió:
> I'm going to try and convert some Flex remote object calls over to Royale
> JS.
> My first hurdle is that we use a custom services-config.xml file that
> brings
> in custom remoting-config.xml, proxy-config.xml, messaging-config.xml
> files.
> How do I invoke this file?
>
> And... is there a simple hello world example I can look at?
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
--
Carlos Rovira
http://about.me/carlosrovira