The String and Integer fields can be bound to UI components. The Array field Bird can be
bound to a DataSet component or to list-based UI components such as List, DataGrid, or
ComboBox, which all use the data provider interface. Or, you can directly bind UI
components to fields within certain records of the array, as shown in the example application
in
"Creating an indexed binding" on page
A typical workflow for an application that works with data would include binding an array
from the XMLConnector component to the DataSet component's
Or, you can directly bind UI components to fields within certain records of the array, as
shown in the example application in
scenario, the data set could be used to manage the data. The fields within the data set could
then be mapped to any of the UI components using data binding.
For more information on the XMLConnector component, including its properties, methods,
and events, see "XMLConnector component (Flash Professional only)" in the Components
Language Reference. For a common workflow using this component, see "Using the
XMLConnector component (Flash Professional only)" in the Components Language Reference.
You can also read the following tutorials on Macromedia DevNet: "Bike Trips Sample" at
www.macromedia.com/devnet/mx/flash/articles/xmlconnector.html
Using ASP" at www.macromedia.com/devnet/mx/flash/articles/flashpro_asp.html.
About data connectivity and security in Flash Player
Many developers are interested in using an industry standard such as SOAP web services
as the data-exchange mechanism between their client and server. One reason this approach is
gaining favor is the increasing number of popular servers that support exposure of logic
using SOAP.
There may be cases where you want the client software to use web services that are published
by third parties or hosted on servers that fall outside the Flash Player sandbox. Access to
external data through any connector component is subject to the sandbox security model in
Flash Player, for all Flash applications that run in a web browser. The sandbox security model
restricts a Flash document from accessing data from any domain other than the one in which
it originated (this includes public web services). There are a couple of ways to accomplish
what you want to do, while still preserving the user security and privacy that the Flash Player
sandbox provides:
Create a policy file that is hosted on the server containing the web service to be used. For
more information, see "Server-side policy files for permitting access to data" in Learning
ActionScript 2.0 in Flash and the security tech note 14213 at
tn_14213.
418
Data Integration (Flash Professional Only)
407.
"Creating an indexed binding" on page
property.
dataProvider
407. In this
and "Data Integration
www.macromedia.com/go/
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?