| Contents > Developing ColdFusion MX Applications > Using Server-Side ActionScript > Using server-side ActionScript functions > Using the function results in ActionScript |
|
|
|
|
||
To use the results returned by server-side ActionScript, you must create a corresponding results function. The results function uses a special naming convention that ties it to the function that calls the server-side ActionScript. For example, if you defined a client-side ActionScript function called basicCustomerQuery, you also must create a results function called basicCustomerQuery_Result.
The results returned by server-side ActionScript functions differ somewhat depending on whether you are using CF.http or CF.query:
CF.query function returns a record set, which you manipulate using methods available in the RecordSet ActionScript class object. See Using results returned by the CF.query function.CF.http function returns simple text strings through properties that you reference in your server-side ActionScript. See Using results returned by the CF.http function.|
|
||
| Contents > Developing ColdFusion MX Applications > Using Server-Side ActionScript > Using server-side ActionScript functions > Using the function results in ActionScript |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.