tailieunhanh - Thiết kế flash với flash cs5 part 72
Thêm một Button Các thành phần Button là một nút hình chữ nhật kích vào được, mà có thể được thay đổi kích cỡ. Nếu bạn mong muốn, bạn có thể thêm một biểu tượng tùy chỉnh để các thành phần Button. | Adding a Button The Button component is a clickable rectangular button which can be resized. If you desire you can add a custom icon to the Button component. In addition you can change the behavior of a Button component from push to toggle. A toggle button stays pressed when clicked and returns to its up state when clicked again. All of these options are accomplished through the Component Inspector panel. Add a Button Component Open the Components panel. Click the User Interface arrow to expand the list. Drag the Button component onto the Stage and then select the component. Open the Properties panel and then click the Component Parameters arrow to expand it. Select from the following Button parameters icon . Click the Value field and then enter the full path name to an icon file. emphasized . When you select the check box it adds a border around the button. If you deselect the check box the button is normal. label. Click the Value field and then enter a label for the Button component. labelPlacement. Click the Value field and then select between right left top or bottom for the placement of the Button component text. selected. When you select the check box the button appears selected. If you deselect the check box the button is normal or deselected. Button component 442 Chapter 18 toggle. When you select the check box the button when selected returns a true value. If you deselect the check box the button returns false when selected. enabled. When you select the check box the button can be clicked. If you deselect the check box the button is grayed out and cannot be clicked. visible. When you select the check box the Button can be viewed. If you deselect the check box the Button is invisible. minHeight . Click the Value field and then enter a minimum height for the Button. minWidth . Click the Value field and then enter a minimum width for the Button. Click the Control menu point to Test Movie and then click Test. In the example when you click the .
đang nạp các trang xem trước