Forgive me, I did not translate...
“How are you compiling? Ant, asconfigc, mvn? You will be missing the dependency 
to MXRoyale.swc/MXRoyaleJS.swc”

As David told you in the other post, the first thing you should do is to change 
to mx.

De: Maria Jose Esteve <[email protected]>
Enviado el: miércoles, 23 de junio de 2021 17:48
Para: [email protected]
Asunto: RE: Switching from js remoteObject to mx remoteObject

¿Cómo estás compilando? Ant, asconfigc, mvn? Te faltará indicar la dependencia 
a MXRoyale.swc/MXRoyaleJS.swc


De: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Enviado el: martes, 22 de junio de 2021 11:38
Para: [email protected]<mailto:[email protected]>
Asunto: Switching from js remoteObject to mx remoteObject


Hi everyone,

I am trying to switch from using js:RemoteObject to mx:RemoteObject.
I have studied the code in the "remote object amf test" project.

I am using jewel for the application. After registering the mx namespace
in the relevant places

xmlns:mx="library://ns.apache.org/royale/mx"

During compilation I get the following error

Content2.mxml(85): col: 11 Error: This tag is unexpected. It will be ignored.

          <mx:RemoteObject id="service" result="onResult(event)" 
fault="onFault(event)"


It appears the compiler does not recognise the mx:RemoteObject class.
In other words the mx library is not loaded. I have checked my pom.xml to 
ensure that
the required royale dependencies is loaded.

Any ideas ?


Regards,



Reply via email to