Ok, untile now I’ve helped about 20 people with creating animations that are based on showing up still images.
Here you have a way to do it in a nutshell:
Option 1 - untransparent images (fewer resources used - smoother)
$(#Dsm#-#Ds#)>(x*(1/y))?100:0$
x - your current frame (starting from 0 and ending with (max-1): for 5 frames per second use from 0 to 4)
y - total number of frames per second
Option 2 - with transparten images
$(#Dsm#-#Ds#)>(x*(1/y))&&(#Dsm#-#Ds#)<=((x+1)*(1/y))?100:0$
same x and y
put those codes into transparency and it should work.
Eg.:
3 frames (3 iamges):
1:
$(#Dsm#-#Ds#)>(0*(1/3))?100:0$
2:
$(#Dsm#-#Ds#)>(1*(1/3))?100:0$
3:
$(#Dsm#-#Ds#)>(2*(1/3))?100:0$