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 9. To develop applications that use Flash Remoting, 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 9.

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

Enable Flash Remoting to access web services through ColdFusion 9

  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 Developing Adobe® ColdFusion® 9 Applications guide.