Đang chuẩn bị liên kết để tải về tài liệu:
Essential ActionScript 3.0 PHẦN 7

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

event target when the event is dispatched. The “Default behavior” column lists Flash Player’s native response to the event. The “Bubbles” column indicates whether the event has a bubbling phase. The “Datatype of object passed to listener function” column specifies the datatype of the object passed to the listener function that handles the event. Finally, the “Notes” column lists important information regarding the event’s use. Spend a little time getting to know Flash Player’s mouse events by perusing Table 22-1. Here are a few general issues to bear in mind as you review the table: System focus The following events. | event target when the event is dispatched. The Default behavior column lists Flash Player s native response to the event. The Bubbles column indicates whether the event has a bubbling phase. The Datatype of object passed to listener function column specifies the datatype of the object passed to the listener function that handles the event. Finally the Notes column lists important information regarding the event s use. Spend a little time getting to know Flash Player s mouse events by perusing Table 22-1. Here are a few general issues to bear in mind as you review the table System focus The following events are triggered even when Flash Player does not have system focus MouseEvent.MOUSE_MOVE MouseEvent.MOUSE_OVER MouseEvent.MOUSE_OUT MouseEvent.ROLL_OVER and MouseEvent.ROLL_OUT. All other mouse events are triggered when Flash Player has system focus only. Location matters With one exception mouse events are not dispatched when the user manipulates the mouse outside Flash Player s display area. The exception if the user presses the primary mouse button within Flash Player s display area and then releases it outside Flash Player s display area MouseEvent.MOUSE_UP is dispatched. To be notified when the mouse pointer leaves Flash Player s display area register for the Event.MOUSE_LEAVE event as discussed in the later section Flash Player-Level Input Events. Vector graphics ignored in main-class instance Mouse interactions with vector content drawn via the instance variable graphics of a .swf file s main class do not trigger mouse events. However mouse interactions with vector content drawn via the instance variable graphics of any other instance of InteractiveObject or its subclasses do trigger mouse events. Default behavior not cancelable Flash Player s default behavior cannot be prevented for any type of mouse event. Immediate screen updates To refresh the screen immediately after handling any mouse event use the MouseEvent class s instance method updateAfterEvent . .

Đã 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.