syncBehavior property
Sets or gets a value that indicates the synchronization rules for the element timeline.
Syntax
JScript |
---|
|
Property values
Type: String
one of the following values.
Remarks
You must use this property with the SYNCMASTER attribute to determine which elements to synchronize in the document. If a media file isn't ready when the timeline begins, the canSlip value allows 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 an element's SYNCBEHAVIOR attribute to locked, the parent timeline must pause and wait for the element to catch up. If the parent element timeline is also locked, the scope of the synchronization behavior is extended to include all of the timed children for the parent's parent element. If all timelines are locked, the entire document pauses when an element cannot maintain its synchronization.
The SYNCBEHAVIOR attribute applies to the media delivery of an element, or to the sync relationship of the timeline defined by a time container. If there is a delay or interruption in either the media element or the time container, the SYNCBEHAVIOR attribute controls how the media element is delivered while the rest of the document continues to play.
Examples
This example uses the syncBehavior property to show how to set the synchronization rules of a timeline.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/syncbehavior.htm
...
<DIV style="position:absolute;left:300">
...
<t:PAR id="par2" timeAction="display" >
<t:media id="oMedia1" begin="0s" dur="20s" timeAction="display"
syncMaster="true" syncBehavior="locked"
src="\workshop\samples\author\behaviors\media\shuttle3.avi" />
</t:PAR>
</DIV>
...
See also
Reference
Conceptual