Applies to
Animation controls
Description
Specifies the name of the AVI file that contains the animation to be associated with the Animation control. The AVI file must be an uncompressed file or a file compressed using run-length encoding (BI_RLE8). You cannot use an AVI file that has a sound channel; it will not display in the control.
Usage
In a painter
To specify an AVI file for the control:
-
Click the browse (...) button next to the AnimationName field to select a file.
In scripts
The AutoPlay property takes a string value. The following line sets the AnimationName property for a control called am_1:
am_1.AnimationName = "C:\work\avifiles\Search.AVI"