TAILIEUCHUNG - Thiết kế flash với flash cs5 part 57

Làm việc với các Clip Sự kiện Nếu bạn đang làm việc với ActionScript (không hỗ trợ trong ActionScript ), bạn có thể đính kèm các sự kiện clip cho các đoạn phim, mà gây ra một hành động quy định tại các handler onClipEvent. | Working with Clip Events If you re working with ActionScript not supported in ActionScript you can attach clip events to movie clips which triggers an action specified in the onClipEvent handler. Event handlers also known as event listeners control when events in Flash occur. When you create a script some event will be invoked to trigger that particular action. You might want a specific movie clip to stop playing when another movie clip loads on the Stage or when the user clicks or moves their mouse. The Clip Event is one of a series of event handlers that Flash uses to create actions within a Flash movie. You can attach event handlers directly to a button or movie clip instance by using the onClipEvent or the on handlers. The onClipEvent handles movie clip events and on handles button events. To use an on or onClipEvent handler attach it directly to an instance of a button or movie clip on the Stage and then specify the event you want to handle for that instance. For example the following on event handler executes whenever the user clicks the button the handler is attached to. on press trace The button has been pressed. You can specify two or more events for each on handler separated by commas. The ActionScript in a handler executes when one of the events specified by the handler occurs. For example the following on handler attached to a button will execute whenever the mouse rolls over or out of the button. on rollOver rollOut trace mouse rolled in or out If you want different scripts to run when different events occur you have the option to attach more than one handler to an object. You can attach onClipEvent handlers to the same movie clip instance. The first would execute when the movie clip first loads or appears on the Stage the second executes when the movie clip is unloaded from the Stage. onClipEvent load trace loaded onClipEvent unload trace unloaded Assigning a Clip Event using the Behaviors panel. Assigning a Clip Event directly in the Actions

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.