Should work just fine. Here's an example line of code from one of my own projects.
Maybe you've just got too many parameters in your LoadAnimImage call, or a bracket in the wrong place.
Global cast=LoadAnimImage(pak("gfx\cast.png"),32,32,0,char_fr)
Maybe you've just got too many parameters in your LoadAnimImage call, or a bracket in the wrong place.