MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 300

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

Advertisement

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.
Note: 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.
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:
Component
Any connector
DataSet
UI components
300
Chapter 14: Data Integration (Flash Professional Only)
Property/field
Settings
(and its sub-
Validation Options,
params
fields)
Read-Only, Required
(and its
Formatter, Formatter
results
sub-fields)
Options
Default value
Any data field
Name, Data Type
Validation Options,
Read-Only, Required
Formatter, Formatter
Options
Default Value
UI components
typically don't need
any changes to their
schema settings.
When to use
If validation is desired.
For fields that need
formatting for display as text.
For fields whose value is
sometimes undefined.
You must set these for every
data set field that you define.
If validation is desired.
For fields that need
formatting for display as text.
For fields whose value is
sometimes undefined, or to
specify the initial value for
newly created data set
records.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents