MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 261

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

Advertisement

The following illustration shows the Schema tab for the XMLConnector component used in
"Creating a simple application" on page
256. The top pane shows the bindable properties for the
instance, with the
property selected, and the bottom pane shows the
xmlConn
food:Array
settings for the
property.
food:Array
Import sample schema button
Bindable properties
Schema settings for the selected property
A component's schema describes the structure and type of data but is independent of how the
data is actually stored. For example, the results from a WebServiceConnector component or an
XMLConnector component could have identical schemas, even though the web service results
are stored as ActionScript data structures (objects, arrays, strings, Boolean values, and numbers),
and the XMLConnector component results are stored as XML objects. When you use data
binding to access fields within a component's schema, you use the same procedure regardless of
how the data is stored.
A component identifies which of its properties are bindable. These bindable properties appear in
the Schema panel as top-level schema items (component properties). A component property can
have its own internal schema that defines additional schema fields that can be bound to other
component properties within your application; for example, when you introspect a WSDL for a
WebServiceConnector component. The WSDL definition describes the parameters and the
results for a web service. The WebServiceConnector component contains two bindable properties
(
and
). When the WebServiceConnector component introspects the WSDL,
params
results
Flash automatically creates the schema for the
and
properties so it mirrors the
params
results
schema defined within the WSDL.
Data binding (Flash Professional only)
261

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents