currTimeState Object

Internet Development Index

Contains information about an HTML+TIME timeline.

Members Table

PropertyDescription
activeDur Retrieves the total duration of the timeline.
activeTime Retrieves the current point in time along the total active timeline, including repeats and time spent in reverse mode.
isActive Retrieves a value that indicates whether the element is currently active on the timeline.
isMuted Retrieves a value indicating whether the element's audio is currently muted.
isOn Retrieves a value that specifies whether the element is active or holding on the timeline in its current state.
isPaused Retrieves a value that specifies whether the element is paused on the timeline.
parentTimeBegin Retrieves the current element's begin time as an offset from the parent element's begin time.
parentTimeEnd Retrieves the current element's end time as an offset from the parent element's begin time.
progress Retrieves the current progress of the element's timeline.
repeatCount Retrieves the current iteration in the repetition loop.
segmentDur Retrieves the duration of an element on a timeline in seconds, including autoReverse.
segmentTime Retrieves the current point in time along a segment of time.
simpleDur Retrieves the duration of a repeat iteration.
simpleTime Retrieves an object's current point along its timeline from zero to its dur value.
speed Retrieves the playback speed of an element at run time, which includes the cascading effect of the speed set for the parent time container.
state Retrieves the current state of the element's timeline.
stateString Retrieves the current state of the element's timeline.
volume Retrieves the playback volume of an element at run time.

Remarks

The currTimeState object is a child of the objects listed in the Applies To list at the end of this page. Therefore, the syntax for the currTimeState object is:

objectID.currTimeState.propertyName
Use code similar to the following example to access the repeatCount property of an img object with an id value of myIMG.
var nCount;
nCount = myIMG.currTimeState.repeatCount;

Standards Information

This object is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

t:TRANSITIONFILTER, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, t:SET, time2, t:VIDEO

See Also

Introduction to HTML+TIME