PositionChange EventPositionChange Event*
*Contents  *Index  *Topic Contents
*Previous Topic: OpenComplete Event
*Next Topic: ReadyStateChange Event

PositionChange Event

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

Syntax

Private Sub object_PositionChange(ByVal oldPosition As Double, ByVal newPosition As Double)

Parameters

objectObject expression that evaluates to an ActiveMovie Control.
oldPositionPosition before it changed, in seconds.
newPositionCurrent position, in seconds, after the position change occurred.

Remarks

Changes made directly to the CurrentPosition property do not trigger this event.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.