onclose, onopen attribute

Type:action
Inherited:no
Used By:body, pbr
Default:none
See:onload

The action to perform when a page is open or closed. Can be any action, but as it's going to be executed any time the page is closed this option should be used carefully so as not to lessen the viewers experience.

#page1 { onClose:'pdf:playsound(goodbye.wav)' }