![MACROMEDIA FLASH 8-FLASH Скачать руководство пользователя страница 274](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_tutorials-manual_3348958274.webp)
274 Data Integration: Using the Macromedia Tips Web Service (Flash Professional Only)
Create a user interface and bind
the components with the web
service
Next, you use components to create a simple user interface that you can use
to select a product, click a button, and see a random tip about the product.
You create this application by binding the user interface components on
the Stage to the parameters and returned results of the Macromedia Tips
web service.
1.
In the Components panel, select UI Components > ComboBox. Drag
a ComboBox component to the Stage. In the Property inspector, enter
the instance name
products_cb
.
2.
In the Components panel, select UI Components > Button. Drag a
Button component to the Stage. In the Property inspector, enter the
instance name
submit_button
and for the label property type
Get Tip
,
as follows:
3.
In the Components panel, select UI Components > TextArea. Drag the
component onto the Stage. In the Property inspector, enter the instance
name
tip_ta
.
4.
In the Components panel, select UI Components > Label and drag a
Label component onto the Stage. Place it above the ComboBox
component.
5.
In the Property inspector, in the Instance name field type
products_lbl
and for the text property type
Select a Product
, as follows:
The Property inspector showing the instance name products_lbl and the text
“Select a Product”
Содержание 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...