LoadAnimImage

BlitzMax Forums/BlitzMax Beginners Area/LoadAnimImage

I did a search here and didn't find out actually how to use this. Any help would be appreciated. Here's some simple code I'm trying to run:

Graphics 640,480,0

animimage = LoadAnimImage("animguy2.png", 200, 200, 0, 1) 


Repeat
        Cls
        DrawImage(animimage,200,200,0)
         Flip 
Until KeyDown(KEY_ESCAPE) Or AppTerminate()
End 


Sorry for the stupid question, can't figure it out. I made a two cell png file and each cell is 200 X 200.

Thanks!