AIR : How to use RemoteObject without compiler option
The code of the simple sample is below.
code of AIR app (MXML version)
code of AIR app (AS3 version)
The key of this sample is "endpoint". You have to set a full url of the servlet called MessageBrokerServlet that handles FlashRemoting.
This sample uses RemoteObject class of "mx.rpc.remoting.mxml" package. When you use RemoteObject class of "mx.rpc.remoting", there isn't "endpoint" property. But you can use it if you set ChannelSet.
BlazeDSCFCTest3.cfc
code of AIR app (MXML version)
code of AIR app (AS3 version)
The key of this sample is "endpoint". You have to set a full url of the servlet called MessageBrokerServlet that handles FlashRemoting.
This sample uses RemoteObject class of "mx.rpc.remoting.mxml" package. When you use RemoteObject class of "mx.rpc.remoting", there isn't "endpoint" property. But you can use it if you set ChannelSet.
BlazeDSCFCTest3.cfc
There are no comments for this entry.
[Add Comment]