Index Topic Contents | |
Previous Topic: RightButtonSelect Next Topic: ShowDialog |
SetCurrentEntry Method
Selects a clip for playback by the Microsoft® Windows Media™ Player.
Syntax
MediaPlayer.SetCurrentEntry( lWhichEntry )Parameters
lWhichEntry Long value specifying the index number of the ENTRY element that defines the media file to play back. Return Value
No return value.
Remarks
If the value for lWhichEntry is valid for the specified Advanced Stream Redirector (ASX) file, the Media Player will begin playing the clip immediately. If the value is invalid, the Windows Media Player will perform no action.
The first ENTRY element in an ASX file has an index number of 1. Setting the current entry value to zero or to a number greater than the value of the EntryCount property will result in an error.
Note This scripting method is only available for the Windows Media Player version 6.01 and later. The standard installation of Microsoft® Internet Explorer 5 includes a compatible version of the Windows Media Player.
See Also
GetCurrentEntry, GetMediaParameter, GetMediaParameterName, EntryCount.
Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.