Return frame count of an animation strip

BlitzMax Forums/BlitzMax Programming/Return frame count of an animation strip

Tachyon(Posted 2010) [#1]
Is there any way to return the total number of frames from an Image loaded with LoadAnimImage?

I need to be able to do something like:

If MyPic.TotalFrames < CurrentFrame then DrawImage MyPic,X,Y,CurrentFrame



plash(Posted 2010) [#2]
image.frames.Length
?