![MACROMEDIA FLASH 8-FLASH Скачать руководство пользователя страница 287](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_tutorials-manual_3348958287.webp)
Create the user interface 287
4.
In the Component inspector, click the Bindings tab.
5.
Click the Add Binding button.
6.
In the Add Binding dialog box, select the dataProvider: Array item and
click OK.
7.
In the Bindings tab, click the Bound To property.
8.
In the Bound To dialog box, click the Data Set component, and then
select the dataProvider: Array schema location and click OK.
9.
In the Bindings tab, set the Direction to In.
10.
With the Data Grid still selected, go to the Component inspector
Bindings tab and click the Add Binding button.
11.
In the Add Binding dialog box, select the selectedIndex: Number item
and click OK.
12.
Double-click the Bound To property.
13.
In the Bound To dialog box, click the Data Set component, and then
select the selectedIndex: Number schema location and click OK.
14.
Leave the Direction property set to In/Out.
15.
Drag a Button component to the Stage, and give it the instance name
loadData_btn
in the Property inspector.
16.
In the Component inspector, click the Parameters tab. In the Label
field, type
Load Data
.
17.
With the button still selected on the Stage, open the Behaviors panel
(Window > Behaviors).
18.
Click Add Behavior (+), and select Data > Trigger Data Source. In the
Trigger Data Source dialog box, select the timeInfo_con component,
and click OK.
19.
Save the file in the same folder where the data.xml file resides.
20.
Run the application, and click Load Data.
The XML data is retrieved, converted, and loaded into the DataSet
component. The binding between the DataSet and the DataGrid
copies the data into the grid for display.
Содержание FLASH 8-FLASH
Страница 1: ...Flash Tutorials...
Страница 10: ...10 Contents...
Страница 12: ...12 Introduction...
Страница 42: ...42 Basic Tasks Creating a banner Part 1...
Страница 78: ...78 Basic Tasks Creating a banner Part 3...
Страница 88: ...88 Basic Tasks Create Accessible Flash Content...
Страница 106: ...106 Basic Tasks Create an Application...
Страница 116: ...116 Basic Tasks Use Layout Tools...
Страница 124: ...124 Basic Tasks Create Symbols and Instances...
Страница 134: ...134 Basic Tasks Add Button Animation and Navigation...
Страница 144: ...144 Basic Tasks Create a Presentation with Screens Flash Professional Only...
Страница 192: ...192 Creating Graphics Applying Gradients...
Страница 198: ...198 Creating Graphics Apply Graphic Filters and Blends Flash Professional Only...
Страница 224: ...224 ActionScript Use Script Assist mode...
Страница 268: ...268 ActionScript Work with Objects and Classes...
Страница 270: ...270 Data Integration Overview Flash Professional Only...