onpause Event

Sequencer Control

Called when the sequencer playback is paused. At this point, the specified script is run.

Syntax

VBScriptSub sequencerObj_onpause( actionsetname )
script
End Sub
JScript <SCRIPT LANGUAGE="javascript" FOR="sequencerObj " EVENT="onpause( actionsetname )">
<!--script-->
</SCRIPT>

Possible Values

actionsetname
Name of the action set that has been paused because the sequencer is paused.

Example

In the following example, actionsetname is a variable set to the name of the action set that was last paused. The example tests the actionsetname parameter passed and conditionally runs a script based on which action set has been paused.

Sub Sequencername_onpause(actionsetname)
    If actionsetname="ActionSet1" then
        button1.value="Play"
    Else
        button1.value="Pause"
    Endif
End Sub

Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.