onplay Event

Sequencer Control

Occurs when the sequencer starts playback. At this point, the specified script code is run.

Syntax

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

Possible Values

actionsetname
Name of the action set played by the sequencer.

Example

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

Sub Sequencername_onplay(actionsetname)
    If actionsetname="ActionSet1" then
        Call Seq("ActionSet2").stop
    Else
        Call Seq("ActionSet1").stop
    Endif
End Sub

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