looploop*
*



Contents  *



Index  *Topic Contents
*Previous Topic: location
*Next Topic: lowsrc

loop

Description

Specifies how many times a sound or video will loop when activated. If applied to a marquee, it specifies how many times the content of the marquee should loop. If n=-1 or infinite, it will loop continuously.

Syntax

object.loop[ = loop]

Remarks

Following are descriptions on how loop works for some boundary cases.

<BGSOUND src="file:///c:\win95\system\msremind.wav">once
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP>once
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=>zero times
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=-1>infinitely
<BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=0>once

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

BGSOUND, IMG, MARQUEE


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.