If you want to use AVI files, keep in mind that only simple AVI animations can be played. Specifically, the animations to be played by this control must meet the following requirements:
· There must be exactly one video stream and it must have at least one frame.
· There can be at most two streams in the file (typically the other stream, if present, is an audio stream, although the control ignores audio information).
· No palette changes are allowed in the video stream.
At design-time only the first frame of the AVI or GIF animation is displayed on the control; to see the whole animation it is necessary to run the control.
When pictures or animations are set at design-time, you do not need to distribute the pictures or animations with your application. This is because they will be included in your program at compile-time. Redistribution of images is only necessary when the images on the button will be changing at run-time.