Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This event occurs when the current media position changes, such as when the user selects (or seeks to) a new media position.

Compatibility:Windows Media Player

Syntax

<SCRIPT FOR="MediaPlayer" EVENT="PositionChange(
dblOldPosition, 
dblNewPosition)" 
LANGUAGE="JScript">
  //insert script commands//
</SCRIPT>

Parameters

dblOldPosition

Double value indicating the position before it changed, in seconds.

dblNewPosition

Double value indicating the current position, in seconds.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also