Animated images and button states

You can use a frame animation instead of png-images.

To do so:

For example, we create a file Logo.anim containing:

4
new-1.png
new-2.png
new-3.png
new-4.png
new-5.png
new-6.png
new-7.png
new-8.png

The number 4 at the beginning of the file means that each image in the list is displayed for 4 frames.

 

If you add a line consisting only of the character '*', the animation will be played only once and will stop at the last frame. For example:

4
new-1.png
new-2.png
new-3.png
new-4.png
new-5.png
new-6.png
*

 

You can specify an offset for an image within the list. After the file name, write the relative Top and Left coordinates: filename.png offset_top offset_left:

4
new-1.png
new-2.png 1 2
new-3.png -2 0
new-4.png -2 -1
new-5.png 0 1
new-6.png