Called when the sequencer has finished loading into memory and the page is loaded. At this point, the specified script is run. This event is generally used to load the rest of the procedures to be run on the client side.
Syntax
VBScript Sub sequencerObj_oninit( )
script
End SubJScript <SCRIPT LANGUAGE="javascript" FOR="sequencerObj" EVENT="oninit">
<!--script-->
</SCRIPT>
Example
The following example shows the oninit event used to play SeqMgr after it has finished loading the other sequencers that it controls. In the example, SeqMgr controls Seq1_Action1.
<SCRIPT LANGUAGE="VBScript"> <!-- Sub SeqMgr_oninit() Call SeqMgr("ActionSet1").At (0.000,"Seq1_Action1",300,0.100,1,100.000) Call SeqMgr("ActionSet1").Play() End Sub --> </SCRIPT>
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.