Before you can use functions defined in your server-side ActionScript files, you must connect the Macromedia Flash MX movie to the server-side Flash Remoting service.
NetServices class: #include "NetServices.as"
NetDebug class:#include "NetDebug.as"
For more information about the NetDebug and RecordSet classes, see Using Flash Remoting MX.
NetServices.setDefaultGatewayUrl function. For example:
NetServices.setDefaultGatewayURL("http://localhost:8500/flashservices")
You must specify a server hostname. The default port number for the Flash Remoting service is 8500.
NetServices.createGatewayConnection function; for example:
gatewayConnection = NetServices.createGatewayConnection();
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | KnowledgeBase | Bug Reporting
Version 7
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/7/htmldocs/00001492.htm
Comments
Pedro Claudio said on Apr 11, 2005 at 9:58 AM :