438
Data Integration (Flash Professional Only)
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
"YYYY"
,
"MM"
,
"DD"
,
"HH"
,
"NN"
,
and/or
"SS"
, mixed with any other combination of characters.
■
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
You use this encoder extracts information from a
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
property, which you must specify with the Encoder Options property
(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
property (String type). In order for an XML file to be updated, the file
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
id
attribute is what makes the row unique.
<datapacket>
<row id="1" date="01/01/2003" rate="50" hours="5" />
<row id="2" date="02/04/2003" rate="50" hours="8" />
</datapacket>
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...