Freigeben über


currTimeState Object

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Contains information about an HTML+TIME timeline.

Members Table

The following table lists the members exposed by the currTimeState object.

Property Description
activeDur

Gets the total duration of the timeline.

activeTime

Gets the current point in time along the total active timeline, including repeats and time spent in reverse mode.

isActive

Gets a value that indicates whether the element is currently active on the timeline.

isMuted

Gets a value indicating whether the element's audio is currently muted.

isOn

Gets a value that specifies whether the element is active or holding on the timeline in its current state.

isPaused

Gets a value that specifies whether the element is paused on the timeline.

parentTimeBegin

Gets the begin time of the current element as an offset from the begin time of the parent element.

parentTimeEnd

Gets the end time of the current element as an offset from the begin time of the parent element.

progress

Gets the current progress of the element timeline.

repeatCount

Gets the current iteration in the repetition loop.

segmentDur

Gets the duration of an element on a timeline in seconds, including autoReverse.

segmentTime

Gets the current point in time along a segment of time.

simpleDur

Gets the duration of a repeat iteration.

simpleTime

Gets an object's current point along its timeline from zero to its dur value.

speed

Gets the playback speed of an element at run time, which includes the cascading effect of the speed set for the parent time container.

state

Gets the current state of the element timeline.

stateString

Gets the current state of the element timeline.

volume

Gets 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;

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