Dataset.schema - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

DataSet.schema

Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.schema
Description
Property; provides the XML representation of the schema for this DataSet object. The XML
assigned to this property must have the following format:
<?xml version="1.0"?>
<properties>
<property name="propertyName">
<type name="dataType" />
<encoder name="dataType">
<options>
<dataFormat>format options<dataFormat/>
<options/>
<encoder/>
<kind name="dataKind">
</kind>
</property>
<property> ... </property>
...
</properties>
A
exception is thrown if the XML specified does not follow the above format.
DataSetError
Example
The following example sets the schema of the data set
appropriately formatted XML:
my_ds.schema = new XML("<properties><property name="billable"> ..etc.. </
properties>");
404
Components Dictionary
to a new XML object containing
my_ds

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents