TAILIEUCHUNG - adobe flash cs5 on demand part 74

Tạo Bindings Liên kết dữ liệu là một cách đơn giản của việc kết nối các thành phần Flash với nhau. Các thành phần có thể được xem như đồ đựng đã chuyển thông tin (hình ảnh, văn bản, số, video, đồ họa) từ một đến khác. Trong bảng thành phần thanh tra, kiểm soát các tab Bindings hai container, để khi sở hữu X của hợp phần A thay đổi, nó sẽ sao chép các giá trị mới cho bất động sản Y của thành phần B. Bạn có thể làm dữ liệu liên kết trong bảng điều khiển phần. | Creating Bindings Data binding is a simple way of connecting Flash components to each other. Components can be viewed as containers that transfer information images text numbers video graphics from one to the other. In the Component Inspector panel the Bindings tab controls the two containers so that when property X of component A changes it will copy the new value to property Y of component B. You can do data binding within the Component Inspector panel using the Bindings tab. The Bindings tab lets you add view and remove bindings for the selected component. Although data binding works with any component its main purpose is to connect Component panel UI components to external data sources. These external data sources are available as components with properties which you can bind to other component properties. The Component Inspector panel is the main tool that is used within Flash for data binding. It contains a Schema tab for defining the schema for a component and a Bindings tab for creating bindings between component properties. The following example demonstrates how to create basic data binding by connecting one UI component to another. Create Bindings Open the Components panel. Click the User Interface arrow to expand the list. Drag the NumericStepper component onto the Stage and then select the component. Give the NumericStepper a unique instance name in the Property Inspector. Drag a second NumericStepper onto the Stage and then give it a unique instance name. Select the first NumericStepper component. 458 Chapter 18 Open the Component Inspector panel and then click the Bindings tab. Click the Add Binding button to add a binding. In the Add Binding dialog box select Value. 0 Click OK. Move to the Name Value section located at the bottom of the Bindings tab. Click the Bound To item under Name and then click the Magnifying Glass icon. In the Bound To dialog box select the NumbericStepper component B. 0 Click OK. Click the Control menu point to Test Movie and

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.