REPETITIONS property (Animate)
Description
Specifies the number of times to play the animation.
Property Value
The REPETITIONS property is an integer value that specifies the number of times to play the animation. If set to -1 (the default) then the clip plays indefinitely.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
N/A
Example
// Example: // // Open an AVI file contained in Shell32.dll with an ID of 43506 // and begin playing immediately for a total of 10 times. $Insert Logical ObjxArray = @Window : ".ANI_COPYING" PropArray = "AUTOPLAY" DataArray = TRUE$ ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "REPETITIONS" DataArray := @Rm : 10 ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "CLIPNAME" DataArray := @Rm : "shell32.dll#43506" Call Set_Property_Only( ObjxArray, PropArray, DataArray )
See Also
N/A