image handles

Blitz3D Forums/Blitz3D Beginners Area/image handles

I was writing a bit of code and put this in:

image=LoadAnimImage("pacman_up.bmp", 50, 50, 0, 1)
MaskImage image,255,0,255

but the debugger keeps giving me an error saying invalid image handle.

Also locate doesnt seem to work for me.

Can anyone help me with any of these?