Adobe ColdFusion 8

Enabling Flash Remoting

To interact with ColdFusion pages and components from an Adobe Flash SWF file, you can use the Flash Remoting service in ColdFusion 8. To develop applications that use Flash Remoting, you must install the Flash Remoting components in the Flash authoring environment. The Flash authoring environment or Adobe Flex is required to build applications that connect to and interact with the Flash Remoting service in ColdFusion 8.

By default, Adobe Flash Remoting cannot access web services through ColdFusion 8.

Enable Flash Remoting to access web services through ColdFusion 8

  1. Open the cf_root/WEB-INF/gateway-config.xml file in a text editor.
  2. Locate the following line.
    <!--<adapter>coldfusion.flash.adapter.CFWSAdapter</adapter>-->

  3. Remove the comments so that the line appears as follows.
    <adapter>coldfusion.flash.adapter.CFWSAdapter</adapter>

  4. Save the file.
  5. Restart ColdFusion.

For more information on Flash Remoting, see the ColdFusion Developer's Guide.