tailieunhanh - Thiết kế flash với flash cs5 part 71
Thêm một Hộp Kiểm tra Một hộp kiểm tra đơn giản chỉ là một hộp vuông mà người sử dụng có thể chọn hoặc bỏ chọn. Khi nó được chọn, một dấu kiểm xuất hiện trong hộp. Khi một hộp kiểm tra được lựa chọn được nhấp, điểm kiểm tra được lấy ra. | Adding a Check Box A check box is simply a square box that the user can select or deselect. When it is selected a check mark appears in the box. When a selected check box is clicked the check mark is removed. The state of a CheckBox component does not change until the mouse is released over the component. Add a CheckBox Component Open the Components panel. Click the User Interface arrow to expand the list. Drag the CheckBox component onto the Stage and then select the component. Did You Know You can control the state of a CheckBox component without the mouse. If the CheckBox component has focus selected pressing the Spacebar selects or deselects the check mark. CheckBox component 436 Chapter 18 Open the Properties panel and then click the Component Parameters arrow to expand it. Select from the following CheckBox parameters enabled . When you select the check box the items in the list can be selected. If you select false the field appears grayed out and is not selectable. label. Click the Value field and then enter a label for the check box. labelPlacement. Click the Value field and then select between right left top or bottom for the placement of the label text. selected. When you select the check box the field appears with a checkmark or deselect the check box the field appears without a check mark. visible . When you select the check box the field can be viewed. If you select false the field is invisible. To change the width and height of the check box component select the component and then drag a resize handle to change the width and height. Click the Control menu point to Test Movie and then click Test. Click in the CheckBox component to add a check mark and then click a second time to remove the check mark. Chapter 18 Adding and Modifying Components 437 Adding a Radio Button The RadioButton component lets you do something that the CheckBox component cannot do force a user to make a single choice within a set of choices. The RadioButton component must
đang nạp các trang xem trước