MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 45

Table of Contents

Advertisement

In Design view, the component should look similar to the following figure if you select the Panel
container:
Finish the footer of the product detail component
According to the component mock-up, the footer has a control that lets users specify the quantity
of the selected item they want to add to the shopping cart. The footer also has a button that lets
users add the selected item to the shopping cart.
Make sure the component file, ProductDetail.mxml, is open in Flex Builder.
1.
In Design view, click inside the ControlBar container at the lower edge of the Panel container.
2.
Make sure the blinking insertion bar appears inside the ControlBar container.
Insert a Label component by clicking anywhere inside the ControlBar container and clicking
3.
the Label button in the Controls category of the Insert bar.
Modify the label text by double-clicking the Label component in Design view to open the
4.
Quick Tag Editor, and then changing the value of the
bold type):
<mx:Label text="Quantity" />
Press Enter to accept your change and close the Quick Tag Editor.
5.
text
Tutorial: Building custom components with Flex Builder
property as follows (shown in
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents