O'Reilly logo

Actionscript Cookbook by Joey Lott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

20.2. Configuring Flash Remoting for ColdFusion

Problem

You want to configure Flash Remoting for ColdFusion MX.

Solution

Flash Remoting comes preinstalled as part of ColdFusion MX.

Discussion

Flash Remoting comes preinstalled and preconfigured for ColdFusion MX. You do not need to make any modifications. If you are using CFMX with Updater 3, you must configure your web.xml file to turn on access for Flash Remoting to work with web services. Prior to Updater 3, this feature was on by default.

When you use Flash Remoting for ColdFusion MX, the gateway URL, as discussed in Recipe 20.1, should be of the form:

http://coldFusionServerNameOrIP[:port]/flashservices/gateway

in which coldFusionServerNameOrIP is the domain name or IP address to the ColdFusion MX server. If the ColdFusion MX server is running on a port other than 80, then you also need to specify the port. For example, if the ColdFusion server is running on localhost at port 8500, then the correct gateway URL is:

http://localhost:8500/flashservices/gateway

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required