
Advanced topics in data integration
443
You can create custom data types. The number of data types allowed is unlimited. Data types
are defined by XML files found in the Flash Professional 8 Configuration/DataTypes folder.
The definition includes the following metadata:
■
An ActionScript class that will be instantiated for validation and type conversion
■
A Validation Options dialog box
■
The name of the standard formatter, which you can override using the
formatter
property
■
Initial values for required, read-only, and default values
When to edit schema item settings
You can edit anything within the Schema Attributes pane, even schemas that come from an
external source, such a web service WSDL file. You can always change any value for any field
of any schema, with the following restrictions:
■
If you change the type, all the other schema item attributes are reset to the default values
for the new data type.
■
If you select to completely reload the schema for a component property, you will lose all
the edits that had previously been made within the Schema Attributes pane.
When you build an application using data components and/or data binding, you need to
apply schema item settings to some, but not necessarily all, fields of the components in your
application. The following table summarizes the most common uses of schema item settings
and can help you determine when these settings need to be edited:
NO
TE
There are several ways to reload the schema for a component property, including
entering a new WSDL URL, selecting a different operation for a web service, or
importing a new XML schema from a sample XML file.
Component
Property/field
Settings
When to use
Any connector
params
(and its
sub-fields)
Validation Options,
Read-Only, Required
If validation is desired.
results
(and its
sub-fields)
Formatter, Formatter
Options
For fields that need
formatting for display as
text.
Default value
For fields whose value is
sometimes undefined.
Summary of Contents for FLASH 8-USING 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...