Hi Warren

You're using the wrong version of RemoteObject. I said in my first response
"Also ensure you use MXRoyale version of RemoteObject" ;)
so you need to add MXRoyale.swc and use <mx:RemoteObject/> as you did in
flex

also remember the next I told you:

"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;"

SimpleRemoteObject or net:RemoteObject versions are the start of Royale
versions without any Flex dependencies. But we need to stop that versions
since it implied many work and all people was in a hurry to get its
backends working.

The only problem is MX RPC emulation is mixed with the rest of emulation.
At some point we will separating MXRPC from MXRoyale so Jewel and other UI
Sets can use it without the CSS hack

HTH

Carlos





El jue., 24 sept. 2020 a las 2:28, wkoch (<[email protected]>)
escribió:

> Still no luck.  I'm trying to go very slow and use a dumbed down version of
> the example.  I'm getting
>
> * Could not find file for class: mx.messaging.channels.AMFChannel
> : Error: File not found: mx.messaging.channels.AMFChannel*
>
> SDK is pointed at
> /C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs/
>
> I see the AMFChannel.as  in
>
> /royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\messaging\channels/
> but the compiler isn't finding it.....
>
> Here's the code:
>
>
> <j:Application  xmlns:f="http://ns.adobe.com/mxml/2009";
>    xmlns:b="library://ns.apache.org/royale/basic"
>    xmlns:j="library://ns.apache.org/royale/jewel"
>    xmlns:h="library://ns.apache.org/royale/html"
>    xmlns:accessories="org.apache.royale.html.accessories.*"
>    xmlns:local="*"
>    initialize="appInit()" >
>    <b:ApplicationDataBinding />
>     <b:ContainerDataBinding />
>    <b:ClassAliasBead />
>    <f:Script>
>
>    </f:Script>
>    <f:Declarations>
>       <b:SimpleRemoteObject  id="service" destination="SecureColdFusion"
> source="basemap.CFC.MIS_Lists" fault="onFault(event)" />
>    </f:Declarations>
>
>
> I can't figure out what to set to make it compile.
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to