412
Data Integration (Flash Professional Only)
Data connectivity (Flash Professional
only)
You use the connector components in Flash to connect to your data source. The schema for
your data source is mapped to properties of a connector component. A typical application
might contain several connector components for retrieving or updating data, or both.
Before you can create data bindings, you must either set up a connector component on the
Stage or create the proper mappings in ActionScript using the WebServiceConnector
component class. However, it is useful to first understand how data bindings in Flash work;
see
“Data binding (Flash Professional only)” on page 394
.
Flash comes with the following connector components:
■
The “WebServiceConnector component (Flash Professional only)”, which lets you
connect to the WSDL URL of a web service.
■
The “Using the XMLConnector component (Flash Professional only)”, which lets you
connect to any external data source that returns XML through HTTP (such as JSP, ASP,
Servlet, or ColdFusion).
In addition to, or instead of, using these connector components, advanced developers and
database administrators can use the WebServices classes to write ActionScript code that
accesses remote procedure calls exposed by a server using Simple Object Access Protocol
(SOAP). For more information, see “Web service classes (Flash Professional only)” in
Components Language Reference
.
To help you consider what kind of connectivity architecture you should implement, see the
following DevNet articles: “Choosing Between XML, Web Services, and Remoting for Rich
Internet Applications” at
www.macromedia.com/devnet/mx/flash/articles/
ria_dataservices.html
and “Getting a Handle on Web Services” at
www.macromedia.com/
devnet/mx/flash/articles/flmxpro_webservices.html
.
NO
TE
External data refers to any data that is accessible through HTTP.
NO
TE
The WebService classes are accessible only through ActionScript code and are
common to various Macromedia products. The WebServiceConnector component has
an API that is unique to Flash and lets you access the component’s methods, properties,
and events through the visual interface.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...