onmarker Event

Sprite Control

Occurs when a frame or time marker has been reached.

Syntax

VBScriptSub spriteObj_onmarker( markername )
<!--script-->
End Sub
JScript<SCRIPT LANGUAGE="JavaScript" FOR=spriteObj EVENT=onmarker( markername ) >
<!--script-->
</SCRIPT>

Possible Values

markername
String containing the marker name established in the AddTimeMarker method.

Remarks

This event occurs when the sprite playback position reaches the marker point when the sprite is either playing, paused, or stopped. For example, if you seek to the marker position while the sprite is paused or stopped, the onmarker event will occur.


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