Your ColdFusion administrator can help you identify and configure data sources. To create ActionScript files that successfully perform queries on ColdFusion MX data sources, you msut know how the data source is identified by ColdFusion, as well as any other parameters that affect your ability to connect to that database, such as whether a username and password are required to connect. Your ColdFusion administrator can provide this information.
For ColdFusion developers, the term data source can refer to a number of different types of structured data accessible locally or across a network. You can query websites, LDAP servers, POP mail servers, and documents in a variety of formats.
However, for server-side ActionScript, a data source ordinarily means the entry point to a ColdFusion database.
For more detailed information about ColdFusion data sources, see Administering ColdFusion Server in the ColdFusion MX Server documentation.
The server-side ActionScript feature in ColdFusion MX provides the ability to return record set data to a Flash MX client from a ColdFusion data source. The ColdFusion data source name and the SQL statement you execute on the data source are both arguments you specify in the CF.query
function in the server-side ActionScript.
Typically, your server-side ActionScript handles the interaction with the ColdFusion data source, and returns a record set to the Flash MX client through the Flash Remoting service.
For information about building queries using the CF.query
function in server-side ActionScript, see "The CF.query ActionScript function".