ColdFusion 9.0 Resources |
About using the Flash Remoting service with ColdFusionContents [Hide]Using the Flash Remoting service of ColdFusion, ColdFusion developers can work with Flash MX 2004 designers to build Flash user interfaces (UIs) for ColdFusion applications. Building Flash UIs requires the separation of user interface code from business logic code. You build user interface controls in Flash, and you build the business logic in ColdFusion. The following is a simplified representation of the relationship between Flash and ColdFusion: Planning your SWF applicationWhen you are planning ColdFusion 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 SWF applications, web browsers, and web services. When you build ColdFusion 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. To use the Flash Remoting service with ColdFusion, you build ColdFusion pages and components or deploy Java objects. In ColdFusion pages, you use the Flash variable scope to interact with SWF applications. ColdFusion components (CFCs) natively support Flash interaction. The public methods of Java objects are also available to the Flash Remoting service. The Flash Remoting ActionScript API has been updated to comply with ActionScript 2.0. The ActionScript 2.0 version of the API consists of the following significant features:
For more information on the ActionScript 2.0 Flash Remoting API, see Flash Remoting ActionScript Dictionary Help. |