Adding a schema field to a schema item
When you use a DataSet component, you manually enter the schema for the component. You
might need to add schema items, which are essentially component properties (see
component property to a schema" on page
within a schema item to provide a deeper level of bindable detail. For more information, see
"Schema item settings" on page
To add a schema field to a schema item:
1.
In the Schema tab, select the schema item to which you want to add a field.
2.
Click the Add a Field Under the Selected Field (+) button.
A new field is added as a subfield of the selected property.
3.
In the Schema Attributes pane, enter a value for Field Name. Fill in the other attributes
as appropriate.
There are three possible scenarios based on the type of schema item:
Schema item of type Object, which can have subfields, attributes, or both. Attributes
are preceded with @ in the list.
Schema item of type Array, which has one subfield called [n] representing the index of
the array, which can be of any type (including Object, String, and so on).
Schema item of other types (such as Boolean, String, Number), which don't have
subfields but can have attributes. Attributes are preceded with @ in the list.
About handling data types in data binding (Flash
Professional only)
Your data source's schema is represented on the Schema tab in the Component inspector.
Every item in the schema has many attributes that you can configure in the lower pane of the
Schema tab. In particular, four attributes control the handling of data types as data flows in
and out of Flash applications. These four attributes are Data Type, Encoder, Formatter, and
Kind.
You might not need to change the settings of these attributes from the default values.
However, in situations where you're working with complex data types, you might need to
change the values of these attributes so Flash receives and outputs data in the correct format.
See
"When to edit schema item settings" on page
400
Data Integration (Flash Professional Only)
398). You may also need to add additional fields
431.
443.
"Adding a
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?