
284 Data Integration: Using XML for a Timesheet (Flash Professional Only)
For more information on data binding and encoders, see “Schema
encoders” in
Using Flash
(in Flash, select Help > Using Flash).
10.
Select the
@billable
schema field.
The field’s data type was automatically set to Boolean by the authoring
tool, which looks for certain patterns to guess the type of an XML
element. However, you need to modify the encoder options for the
field. For Boolean data types, the encoder options specify strings that
indicate true and false values.
11.
With the
@billable
schema field still selected, double-click the
Encoder Options field.
12.
In the Boolean Encoder dialog box that appears, enter
true
in the
Strings That Mean True text box and enter
false
in the Strings That
Mean False text box.
13.
Select the
@duration
schema field.
The field’s data type was automatically set to Integer. This is because
the sample XML field contained only whole number values for this
attribute.
14.
Select the Data Type setting for the
@duration
schema field and change
it to Number so that it is not limited to integer values.
15.
In the Component inspector, click the Bindings tab.
16.
Click the Add Binding button.
17.
In the Add Binding dialog box, select the row: Array item and click OK.
18.
In the Component inspector, select the Direction property and set it
to
Out
.
19.
Double-click the Bound To property.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Flash Tutorials...
Page 10: ...10 Contents...
Page 12: ...12 Introduction...
Page 42: ...42 Basic Tasks Creating a banner Part 1...
Page 78: ...78 Basic Tasks Creating a banner Part 3...
Page 88: ...88 Basic Tasks Create Accessible Flash Content...
Page 106: ...106 Basic Tasks Create an Application...
Page 116: ...116 Basic Tasks Use Layout Tools...
Page 124: ...124 Basic Tasks Create Symbols and Instances...
Page 134: ...134 Basic Tasks Add Button Animation and Navigation...
Page 144: ...144 Basic Tasks Create a Presentation with Screens Flash Professional Only...
Page 192: ...192 Creating Graphics Applying Gradients...
Page 198: ...198 Creating Graphics Apply Graphic Filters and Blends Flash Professional Only...
Page 224: ...224 ActionScript Use Script Assist mode...
Page 268: ...268 ActionScript Work with Objects and Classes...
Page 270: ...270 Data Integration Overview Flash Professional Only...