Windows Media Services SDK banner art
PreviousNext

About the ASX Metafile Sample

The ASX Metafile Sample includes two .asx files that demonstrate some of the basic features of ASX scripting.

File name Description
Demo1.asx Plays one .asf file, and populates the Windows Media Player display with show and clip titles, and author and copyright text. Abstract text is displayed when you move the mouse pointer over an area of the display. MoreInfo URLs initiate links when you click certain areas of the display.
Demo2.asx Demonstrates all the features and functionality shown in Demo1.asx, and plays four entries back to back in a playlist: an ad, a show clip twice, and the ad again. Properties on the display change with each clip, and the StartTime tag is used to start the third entry 5 seconds in from the beginning of the file.

Open the two .asx files in a text editor to see how they are built. The .asx files contain comments to help you understand how the scripting is used. For more information on  syntax and the scripting elements available, see Using ASX files and the ASX Elements Reference in the Windows Media Player Control SDK. The Task Wizard Sample in the Windows Media Technologies SDK is a tool you can use to simplify building .asx files.

Expanding on this Sample

ASX scripting is a powerful tool you can use to control presentation of ASF media.

For more information about ASP pages, see Using ASP Pages to Dynamically Create ASX Files in the Windows Media Player Control SDK.

See Also

Using the ASX Metafile Sample, Windows Media Technologies Solutions Samples

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.