releaseEvents()

This method is used to turn off event capturing at the document level for one or more specific events. It is the opposite of the captureEvents() method.

syntax:

releaseEvents(event list)

This method is used with the following:

document
layer
window