Click to return to the Streaming     
Web Workshop  |  Streaming & Interactive Media

Fade Transform

Fades from one image to another or from an image to the background. If there are two input images, the first image gradually fades into the second as the Progress parameter goes from 0 to 1. If there is one input image, the image fades to the page background as Progress goes from 0 to 1.

Note To use this transform, you need to have Microsoft® DirectX® Media 6, Microsoft Internet Explorer 5, the Microsoft Windows® 98 OEM Service Release (OSR), or Windows 2000 installed.

 

Transform Specifications

The following table contains the information you need to use this transform in script.

Globally unique identifier (GUID) 16B280C5-EE70-11D1-9066-00C04FD9189D
Programmatic identifier (ProgId) DXImageTransform.Microsoft.Fade
Inputs One image input is required. Two inputs can be specified, in which case the first image fades into the second.
Transform type Transition

Transform Properties

The following table lists the transform properties that control the appearance of the output.

Property Name Default Description
Overlap 1.0 Specifies the degree to which two images overlap as one fades into the other. Valid values for this property range from 0 to 1. If Overlap is zero, the first image fades completely to the background before the second image fades in. If Overlap is one, the first image fades directly into the second image.
Center TRUE Specifies whether the two images are centered if they have different sizes. If TRUE, the two images have the same center. If FALSE, they have the same upper-left corner.

Remarks

The Overlap and Center properties are relevant only if you are using two inputs.



Back to topBack to top

Did you find this article useful? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.