To disable OnStage audio, set isEnableAudio to 0. My OnStage callback handler is never invoked. The most frequent cause of this problem is a misspelling of the OnStage callback handler name. Director is unaware of the correct handler name and will accept anything. The problem also occurs when Director is in a paused state.
Director ceases to service sprites when paused.
In the previous example, oxiOpen is used to start sprite playback but the sprite can't generate a callback when the MPEG file finishes or is stopped. The solution is to define a Director button that the user must press and which contains Lingo script to perform whatever is desired. In that script you can get the sprite status via the OnStage playbackState property. Director doesn't recognize a documented OnStage property. The most frequent cause of this problem is a misspelling of the OnStage property.