Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

REPEAT (Compact 7)

3/12/2014

This element defines the number of times the Windows Media Player control repeats one or more ENTRY or ENTRYREF elements.


<REPEAT
    COUNT="integer"
>
</REPEAT>
COUNT

Integer representing the number of times the WMP control repeats the ENTRY and ENTRYREF elements within this element's scope.

Hierarchy Allowed element

Parent elements

ASX

Child elements

ENTRY, ENTRYREF

This element defines the number of times the WMP control repeats, or loops through, the clips defined by the ENTRY and ENTRYREF elements within this element's scope.

Only the first REPEAT element in an Advanced Stream Redirector (ASX) file is valid; subsequent REPEAT elements are ignored.

If no COUNT parameter is defined, the content in the associated ENTRY and ENTRYREF elements repeats an infinite number of times.

A value of zero causes the WMP control to ignore the REPEAT element and play the content once.

<ASX VERSION="3.0">
   <ENTRY>
        <REF HREF="mms://example.microsoft.com/clip1.asf" />
<!-- This clip plays once. -->
   </ENTRY>

   <REPEAT COUNT="2">
      <ENTRY>
     <REF HREF="mms://example.microsoft.com/clip2.asf" />
     <REF HREF="mms://example.microsoft.com/clip3.asf" />
 <!-- These clips play twice. -->
      </ENTRY>
   </REPEAT>
</ASX>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.