MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 254

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

When you integrate external data into a Flash application, you connect to the external data, select
different elements of the data schema that you need for your application, and bind them to
component fields within your application. You manage how the data is displayed in your
application and how it's updated on the server.
The following image depicts the flow of data within a Flash application and identifies the
different elements that comprise the Flash data architecture. Data binding is represented by the
red arrows between the components. As shown in the diagram, you will need to set up data
bindings between properties of UI controls and properties of a DataSet component; between the
DataSet component and a connector component; between the DataSet component and a resolver
component; and between a resolver and a connector component.
Typically, you add data components to the Stage in a Flash document. (See
the data components" on page 257
data components have no visual appearance in a runtime application. If you prefer, you can also
create and access the data components through ActionScript code, although you may still need to
perform some tasks through the Flash interface. To work with data binding classes in ActionScript
instead of in the Flash interface, see "Making data binding classes available at runtime (Flash
Professional only)" in Using Components.
The following table can help you decide what components you need to use in your Flash data
application.
Data source
web service/SOAP
XML document
SQL data
Flash is a client-side technology. To create a Flash application that integrates with a data source,
you will need to implement server-side code as well. Building and exposing business logic on the
server is the job of a server developer and is best implemented using products that are specifically
designed for that task, such as Cold Fusion, J2EE Application Servers, and ASP.NET. For
information on server-side tasks and other tasks that might best be addressed by a database
administrator, see
254
Chapter 14: Data Integration (Flash Professional Only)
and in each component entry in Components Help.) The
Use this connector
WebServiceConnector
WebService classes (not a
component)
XMLConnector
WebServiceConnector
"Advanced topics in data integration" on page
"Workflows for using
Use this resolver
XUpdateResolver
WebService classes (not a
component)
XUpdateResolver
RDBMSResolver
289.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents