You use the CF.query
function to populate Macromedia Flash MX movie elements with data retrieved from a Macromedia ColdFusion MX data source. To use the CF.query
function you do the following:
You create server-side ActionScript to execute the query and return the data in a record set to the client-your Flash MX movie. You can use methods in the RecordSet ActionScript object on the client to manipulate data in the record set and present data in your Flash MX movie.
Note: Client-side ActionScript files use the .as extension. Server-side ActionScript files use the .asr (ActionScript remote) extension.