Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
705181e0f84e7867952fc00f46436a5dbd584b89
Description
For example, using a Timer to set images from a list:
... property int myvar: -1 property var mylist: ["loading.gif","bg1.jpg", "loader.gif"] Timer { running: myvar < mylist.length-1; repeat: true; interval: 2000; onTriggered: { ++myvar; } } AnimatedImage { source: mylist[myvar]; ... }
The AnimatedImage will animate the first .gif, show the second still image,
then display the third as a still image.
In this case, the best course of action would be to indicate this behaviour in the documentation, as it can be easily worked around with
onStatusChanged: playing = (status == AnimatedImage.Ready);