CloseRequest

From Director Online Wiki
Jump to: navigation, search

From Director MX 2004, if you set the exitLock to TRUE in a projector, any attempt to exit the application will trigger a closeRequest() handler in a movie script.

This is not documented in the on-line help, the LiveDocs or the paper documentation. However there is a tech note discussing the new event in the Adobe Knowledge Base.

Note: this event is generated prior to standard key event processing.

DIR10 Tests
winXP win2000 SP4
[esc] ok
[alt+F4] 2x
[strg+q] ok
close box ok
task button ok