1
I use Delphi 7 and have been trying for more than 4 hours to add a simple animation "loading" (loading) into a Tanimate component, without success.
While trying to load the AVI file through the property FileName
of the Tanimate component I receive the message "Cannot open AVI"
. Please, what type of AVI is compatible with this component?
To test, I created a GIF animation through the site https://loading.io and then I did the AVI conversion by https://convertio.co. For conversion I removed the audio and tried various codec settings, no codec at all, with old codecs (eg WMV1), but nothing worked.
Please, could someone give me a hand?
Thank you!!
Have you tried
uses ShellAnimations
?– David
@David, unfortunately Delphi 7 does not have this Unit...
– Guybrush
I found another post from Stackoverflow (in English) on the same issue and I was able to resolve it by following the instructions. I downloaded a trial application called Jasc Animation Shop which did the conversion from GIF to AVI without any encoding, and managed to load normally into the component
TAnimate
.– Guybrush
Good, thanks for sharing :)
– David