O’Reilly Programming Flex 2 phần 4

Hơn nữa, cái gì mới ra lò cũng cần 1 tới 2 năm để cộng đồng đóng góp bổ sung những cái hay nhất, tuyệt nhất. Khối lượng các Framework, API, custom component mở rộng cho Flex 3 hiện nay đã cực lớn và hoàn thiện, chắc còn lâu lắm Flex mới đạt được. Thậm chí bản thân Adobe sẽ còn phải fix bugs và release các bản build mới cho nó dài dài | scaleY The scale of the component in the vertical direction relative to its original height. The scaleY and height properties are linked just as the scaleX and width properties are linked. The values for scaleY are on the same range as are those for scaleX. And you can both read and write the scaleY property. rotation The number of degrees of rotation of the component relative to its original orientation. Rotation is always clockwise and is always relative to the origin point of the component s internal coordinate system. In almost all cases a component s origin exists at the upper-left corner. You can both read and write the rotation property. alpha The opacity of the component. The default value is 1 which means the component is fully opaque. The effective range for alpha is from 0 transparent to 1 opaque . You can read and write the alpha property. visible The visibility of the component. The default value is true meaning the component is visible. A value of false means the component is not visible. You can both read and write the visible property. enabled Whether a component is interactive. For example if a button is enabled it can accept mouse clicks. The default value is true. A value of false disables the component. You can both read and write the enabled property. parent A reference to the parent container for the component. The parent property is read-only. If you want to change the parent of a component you must use the removeChild method of the parent container to remove the component or use addChild to add the component to a new container. The preceding list is not intended to be comprehensive by any means. However it does represent some of the most commonly used properties of all UI components. You can work with most of these properties both in MXML and in ActionScript except when a property is read-only in which case you must use ActionScript to read the value . The following example sets several properties of a button instance using MXML mx Button id

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
4    81    2    12-06-2024
50    678    1    12-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.