In Delphi XE2, I try to use websend.avi
as a custom resource for TAnimate, by including it in Project/Resources and Images
, in the same way as referred here:
Animate1.ResName := 'WEBSENDAVI';
Animate1.Active := True;
However, while the same procedure works fine with cool.avi
, it always crashes with websend.avi
:
So it seems TAnimate can accept only certain AVI files, while it crashes with other AVI files.
Which are the rules for AVI files to work with TAnimate in the above way?