Share via

play Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9.

Plays the transition.


    "DXImageTransform.Microsoft.filter-name").play( [varDuration])


varDuration Optional. A Variant that specifies the amount of time, in seconds, that the filter should play.

Return Value

No return value.


If a duration is specified as a play method parameter, this duration overrides the Duration property assigned to the transition for the current cycle of the transition. However, the Duration property is not overwritten, and the next transition cycle reverts to the assigned value of the Duration property.

Applies To

BlendTrans, RevealTrans, Barn, Blinds, Compositor, Fade, GradientWipe, Inset, Iris, Pixelate, RadialWipe, RandomBars, RandomDissolve, Slide, Spiral, Stretch, Strips, Wheel, Zigzag