With Animation ActiveX Control, you can play .avi files on a Microsoft Access form. When you open the form in Design view, you can see the control; however, in Form view, the control is hidden until you play the .avi file associated with the control. One common use for the animation control is to provide animation with command buttons. If you place the animation control on top of a command button and use the Click event of the button to invoke the
Open and
Play methods of the animation control, the button appears to be animated.
The Animation ActiveX Control supports only two types of .avi files: uncompressed .avi files, and .avi files that have been compressed using Run-Length Encoding. Sound components of .avi files are not played.
If you use an unsupported file format with the animation control, you receive the following error message:
Unable to Open AVI File