MACROMEDIA FLASH 8-USING FLASH Use Manual page 438

Using flash
Table of Contents

Advertisement

Date
Converts data of the String type into the ActionScript Date type. You must specify
(using the Encoder Options property) a template string, which works as follows:
The template string should contain 0 or 1 instances of
and/or
, mixed with any other combination of characters.
"SS"
When converting from date to string, the numeric year, month, date, hour, minutes, and
seconds, respectively, are substituted into the template, in place of YYYY, MM, and so on.
When converting from string to date, the string must exactly match the template, with the
correct number of digits for each of year, month, day, and so on.
DateToNumber
Converts a Date object into its numeric equivalent. The DataSet
component uses this encoder for fields that are of the Date type. These values are stored
within the DataSet component as numbers so that they can be sorted correctly.
Number
Converts data of the String type into the ActionScript Number type. There are no
authoring settings for this encoder.
DatasetDeltaToXUpdateDelta
DeltaPacket and generates XPath statements that are passed to the XUpdateResolver
component to generate XUpdate statements. It gets the information that is needs to generate
the XPath statements from two places:
The
rowNodeKey
(defined in the third bullet, below).
Within the schema that was used for the XMLConnector component that originally
retrieved the data.
Using this information, the encoder can generate the correct XPath statements needed to
identify your data within the XML file.
The encoder options contain one property:
The
rowNodeKey
must be structured in such a way that the node that represents a record in your data set
can be uniquely identified with an XPath statement. This property combines an XPath
statement with a field parameter to uniquely identify the row node within the XML file
and the field within the data set that makes it unique.
In the following example, the row node represents a record within the XML file. The
value of the
attribute is what makes the row unique.
id
<datapacket>
<row id="1" date="01/01/2003" rate="50" hours="5" />
<row id="2" date="02/04/2003" rate="50" hours="8" />
</datapacket>
438
Data Integration (Flash Professional Only)
You use this encoder extracts information from a
property, which you must specify with the Encoder Options property
property (String type). In order for an XML file to be updated, the file
,
,
,
"YYYY"
"MM"
"DD"
,
,
"HH"
"NN"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents