User Guide

Table Of Contents
808 Chapter 33: Using the Flash Remoting Service
The following is a simplified representation of the relationship between Flash and ColdFusion:
Planning your Flash application
When you are planning ColdFusion MX application development with Flash UIs, remember the
importance of separating display code from business logic. Separating display code from business
logic enables your ColdFusion applications to interact with multiple client types, such as Flash
applications, web browsers, and web services.
When you build ColdFusion MX applications for multiple clients, your ColdFusion pages and
components return common data types, including strings, integers, query objects, structures, and
arrays. Clients that receive the results can process the passed data according to the client type,
such as ActionScript with Flash, or CFML with ColdFusion MX.
To use the Macromedia Flash Remoting service with Macromedia ColdFusion MX, you build
ColdFusion pages and components or deploy Java objects. In ColdFusion pages, you use the Flash
variable scope to interact with Flash applications. ColdFusion components (CFCs) natively
support Flash interaction. The public methods of Java objects are also available to the Flash
Remoting service.