TAILIEUCHUNG - Flash Builder 4 and Flex 4 Bible- P7

Flash Builder 4 and Flex 4 Bible- P7: When Macromedia first released Flash MX in 2002, the product was branded as the new way to build Rich Internet Applications (known by the acronym RIA). The term was invented at Macromedia to describe a new class of applications that would offer the benefits of being connected to the Internet, including access to various types of Web-based services, but would solve many of the nagging issues that had been inherent in browser-based applications since the mid-1990s | Chapter 8 Using Flex Visual Controls groupName buttonGroup s VGroup s Application On the Web The code in Listing is available in the Web site files in the chapter08 project as RadioButtonDemo. mxml. Figure shows the application displaying the resulting RadioButton controls and a pop-up window created by the Alert class that s displayed when the user clicks a RadioButton or otherwise selects a new value. Tip The RadioButtonGroup control dispatches the change event whenever its selectedValue property changes. It also dispatches an itemClick event when the user clicks on any of the group s member objects. FIGURE An application with RadioButton controls Other Data Entry Controls The Flex framework includes these other controls that can be used to collect data from the application s user NumericStepper DateField DateChooser ColorPicker 271 Part II Designing Flex Applications Each of these controls is designed to support data entry for a particular type of data. Tip In the Flex 4 SDK the NumericStepper control has been rewritten as a Spark component. The MX versions of the DateField DateChooser and ColorPicker controls are the most recent versions and can be used in Flex 4 applications. The NumericStepper control The NumericStepper is a compound control that s designed for numeric data entry. It includes a TextInput control for direct entry and a set of buttons that increment and decrement the control s current value. The NumericStepper doesn t have its own label property so it s typically paired with a Label control or wrapped in a FormItem container which has a label property. This code declares a simple NumericStepper wrapped in an HGroup with a Label s HGroup s Label text Enter value s NumericStepper id myStepper value 5 s HGroup As shown in Figure the control displays its value property and the user can change it. FIGURE A NumericStepper control The NumericStepper supports these properties that determine its behavior minimum. The minimum .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.