
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.
Содержание FLASH 8-USING FLASH
Страница 1: ...Using Flash...
Страница 12: ...12 Contents...
Страница 110: ...110 Using Symbols Instances and Library Assets...
Страница 128: ...128 Working with Color Strokes and Fills...
Страница 156: ...156 Drawing...
Страница 190: ...190 Working with Text...
Страница 224: ...224 Working with Graphic Objects...
Страница 270: ...270 Creating Motion...
Страница 310: ...310 Working with Video...
Страница 362: ...362 Working with Screens Flash Professional Only...
Страница 386: ...386 Creating Multilanguage Text...
Страница 454: ...454 Data Integration Flash Professional Only...
Страница 500: ...500 Publishing...
Страница 534: ...534 Creating Accessible Content...