最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

UPDATEMODE Attribute | updateMode Property

Internet Development Index

Specifies or retrieves a value that indicates how the object is to be updated.

Syntax

HTML<ELEMENT UPDATEMODE = sMode... >
Scriptingobject.updateMode [ = sMode ]

Possible Values

sModeString that specifies or receives one of the following values.
AutoAutomatically assigns a new value to the property being set and updates the object. The property maintains the repeatCount and segmentTime values of the element and is similar to resetting followed by a seekTo for the object.
ResetDefault. Resets the node to its initial state after the change.

The property is read/write. The property has a default value of Reset.

Remarks

The beginElement method called on an object with updateMode set to Reset will be ignored.

The table below describes what attribute/property can be updated and the effects that the updateMode property has on it.

Attribute/PropertyBehavior
durRecalculates (recalc) the entire timing and does a seek.
repeatCountRecalculates (recalc) the entire timing and does a seek.
repeatDurRecalculates (recalc) the entire timing and does a seek.
autoReverseRecalculates (recalc) the entire timing and does a seek.
speedRecalculates (recalc) the entire timing and does a seek.
endUpdates the end value as necessary.
beginDoes the equivalent of resetElement.
restartNo immediate effect. Any future begins or sync arc changes are affected.
fillUpdates the isOn property as appropriate.

Example

The following example demonstrates how the updateMode property is used. Choose the new speed, updateMode values, and click the "Change to new speed" button to implement the change for the MEDIA object.

<HTML xmlns:t= "urn:schemas-microsoft-com:time">
<HEAD>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{behavior:url(#default#time2)}
</STYLE>
<SCRIPT>
function doChange(){
oMedia.updateMode = oMode.options.value;
oMedia.speed = newspeed.options.value;
}
</SCRIPT>
</HEAD>
<BODY>
<CENTER>
<t:video updateMode="reset" style="width:175px; height:150px;"
id="oMedia" src="../../common/samples/author/behaviors/media/movie.avi"/>
...
<BR>
Select <B>updateMode</B> value: <SELECT name="oMode">
<OPTION value="auto">Auto</OPTION>
<OPTION value="reset" selected>Reset</OPTION>
</SELECT>
<BR>
Enter new speed <SELECT name="newspeed">
<OPTION value="0.25">25% Playback Speed</OPTION>
<OPTION value="0.5">50% Playback Speed</OPTION>
<OPTION value="0.75">75% Playback Speed</OPTION>
<OPTION value="1" selected>100% Playback Speed (Default)</OPTION>
<OPTION value="2">200% Playback Speed</OPTION>
</SELECT><BR>
<BUTTON onClick="doChange();">Click to change to new speed</BUTTON>&nbsp;
<BUTTON onClick="document.body.beginElement()">Restart</BUTTON>
</CENTER>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Applies To

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:REF, t:VIDEO

See Also

Introduction to HTML+TIME
鄄城县| 抚松县| 大理市| 凤阳县| 临安市| 乌鲁木齐市| 车致| 靖安县| 江西省| 华亭县| 枣阳市| 西乌珠穆沁旗| 皮山县| 垦利县| 长垣县| 靖宇县| 双辽市| 林周县| 普安县| 桃园市| 晋城| 宽甸| 文昌市| 上林县| 浮梁县| 都安| 宜章县| 肇庆市| 高淳县| 望都县| 台南县| 灵川县| 霸州市| 东方市| 江山市| 民勤县| 武汉市| 星子县| 海城市| 中江县| 班戈县|