tailieunhanh - Adobe Flex 4 Training from the Source Volume 1 phần 3

Trong bài học này, bạn sẽ thêm các yếu tố giao diện người sử dụng để cho phép khách hàng để tìm thông tin chi tiết thêm về các mặt hàng tạp hóa và bắt đầu quá trình kiểm tra. Một phần quan trọng của bất kỳ ứng dụng là giao diện người dùng, và Adobe Flex chứa các yếu tố như các nút, các lĩnh vực văn bản, và các nút vô tuyến điện mà làm cho giao diện xây dựng dễ dàng hơn. | LESSON 4 Using Simple Controls In this lesson you will add user interface elements to enable the customer to find more details about the grocery items and begin the checkout process. An important part of any application is the user interface and Adobe Flex contains elements such as buttons text fields and radio buttons that make building interfaces easier. Simple controls can display text and images and also gather information from users. You can tie simple controls to an underlying data structure and they will reflect changes in that data structure in real time through data binding. You are ready to start learning about the APIs application programming interfaces of specific controls which are available in both MXML and ActionScript. The APIs are fully documented in the ActionScript Language Reference often referred to as ASDoc which is available at http en_US AS3LCR . The Flex framework has many tools that make laying out simple controls easier. All controls are placed within containers see Lesson 3 Laying Out the Interface . In this lesson you will become familiar with simple controls by building the basic user interface of the application that you will develop throughout this book. You will also learn about timesaving functionality built into the framework such as data binding and capabilities of the Form layout container. FlexGrocer with Image and Text controls bound to a data structure Download from 78 LESSON 4 Using Simple Controls Introducing Simple Controls Simple controls are provided as part of the Flex framework and help make rich Internet application development easy. Using controls you can define the look and feel of your buttons text combo boxes and much more. Later in this book you ll learn how to customize controls to create your own unique look and feel. Controls provide a standards-based methodology that makes learning how to use them easy. Controls are the foundation of any RIA. The Flex SDK includes an .