SetGlobalPreProcessURLHandler

The SetGlobalPreProcessURLHandler procedure registers a global callback that is triggered before Flash attempts to load any resource by URL or when the user clicks a link inside a Flash movie.

See more: OnPreProcessURL.