Const numFrames = 7 (could also be: Global numFrames = 7)
Global imgName = LoadAnimImage("Img.jpg", 64, 64, 0, numFrames)
Now when you use the 'imgName' handle in a function just be sure to pass 'numFrames' associated with that image as a parameter.
Global imgName = LoadAnimImage("Img.jpg", 64, 64, 0, numFrames)
Now when you use the 'imgName' handle in a function just be sure to pass 'numFrames' associated with that image as a parameter.