Repeat Property

Sprite Control

Sets or retrieves the number of times the sprite will loop during playback. Read-write at run time; write access is available at run time only when the sprite is stopped.

Syntax

HTML<PARAM NAME="Repeat" VALUE="nRepeat">
ScriptingspriteObj.Repeat=nRepeat

Possible Values

nRepeat
Integer expression indicating the number of times the sprite repeats playback. The default is 1. To loop infinitely, use –1. The value 0 disables the Repeat property. Negative values are treated as unsigned.

Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.