The order that the files are used in a multi-row, multi-column layout is to start with the image in the upper left, then the ones to the right of it until the end of the row. Then it goes to the first image at the left in the second row, followed by the ones on that row. Repeat for all rows and then start back at the first.
And all of the images must be the same size.
In the SetSpriteAnimation command, the frame width and height are the size of the individual images and the count is the total number of images in the file (or less).
If you show the code you use to load the image, assign to the sprite and set the animation, maybe we can tell if there isn't something quite right with it.
Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master