JavaScript » Layer » captureEvents

Syntax:
layer.captureEvent(eventType)

This method instructs the window or document to capture all events of a particular type. See the event object for a list of event types.