Flash remoting in Railo
The past of days a couple people asked about flash remoting. They suspected that it would not work with Railo.
Railo in version 1.0 supports only the classic way of interacting with flash remoting via calls to .cfm files. Interaction via components
(.cfc) will be supported in the next beta release of Railo.
"So how you can use the "classic" way to interact with flash remoting?"
Example
create a file named
In this file add the following lines for a simple echo function:
<cfset flash.result=flash.params>
Now you have a flash service called examples.echo([...]) that simply returns your parameters from your request. To test this service you need
to do the following:
- download the generic AMF Client as part of openAMF
- Add the following data to the client.
The following example is for a standard Railix version Gateway Url: http://localhost:8888/flashservices/gateway Service Name examples Service Method echo arguments 1,2,3 - have fun
The result looks like this:




There are no comments for this entry.
[Add Comment]