t:DECELERATE Attribute | decelerate Property?deprecated) | Internet Development Index |
Sets or retrieves a value that applies a deceleration to the end of a simple duration.
Syntax
XML <ELEMENT t:DECELERATE = fRate... > Scripting object.decelerate [ = fRate ]
Possible Values
fRate Floating-point number that specifies a value between 0 and 1 representing the portion of the local timeline over which the deceleration is applied. The local timeline refers to the timeline associated with a particular HTML element (such as a div or span), rather than the global timeline associated with the entire document.
0 Default. Deceleration is not applied to the element's timeline. The property is read/write. The property has a default value of 0.
Remarks
The simple duration is the segment of time from when the element begins playing until it completes one forward cycle of its behavior, excluding repetitions.
If the t:REPEAT or t:REPEATDUR attribute is set on an element, the deceleration occurs each time the element repeats.
The t:DECELERATE attribute is especially well suited to animation content and behaviors. Setting this attribute to a nonzero value does not affect the duration of the timeline in any way, but it might change the effective play speed of the local timeline.
The sum of the values for the t:ACCELERATE and t:DECELERATE attributes must not exceed 1. This property is also commonly known as "ease-out" in some systems.
Standards Information
This property is a Microsoft extension to HTML+TIME (Timed Interactive Multimedia Extensions) .
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO
See Also
Introduction to HTML+TIME