SYNCBEHAVIOR Attribute | syncBehavior Property
Sets or retrieves the synchronization rules for the element's timeline.
Syntax
HTML <ELEMENT STYLE="behavior:url(#default#time);" t:SYNCBEHAVIOR = sRule... > Scripting object.syncBehavior [ = sRule ]
Possible Values
sRule String that specifies one of the following values:
canSlip Element does not have to be synchronized with the parent element's timeline. This allows an HTML page to have enough flexibility to handle network problems. locked Element must be synchronized with the parent element's timeline. For example, a parent element's timeline does not progress until the child element's media is ready to be played. The property is read/write with a default value of canSlip. This property cannot be modified in script after the onload event fires on the document body.
Remarks
You must use this property with the CLOCKSOURCE attribute to determine the scope of which elements to synchronize. If a media file isn't ready when the timeline begins, the canSlip value enables the parent timeline to continue without interruption. The timeline on the element associated with the media begins as soon as the file loads.
If you set the SYNCBEHAVIOR attribute to locked, the parent timeline must pause and wait for the element to catch up. If the parent element's timeline is also locked, the scope of the synchronization behavior is extended to include all the time children of the parent's parent element. If all timelines are locked, the entire document pauses when an element cannot maintain its synchronization.
The prefix t is used to associate this attribute with an XML namespace.
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. animation, audio, img, media, par, seq, time, video
See Also
html+time, syncTolerance
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.