AutoImageFlags question

BlitzMax Forums/BlitzMax Programming/AutoImageFlags question

QuickSilva(Posted 2009) [#1]
If I do my image loading inside of my types globally, for example,

Type TPlayer
Global Image:TImage=LoadImage("Image.png")
End Type

Then they seem to ignore the settings that I have set for the AutoImageFlags command even if I set them at the top of my code file. I assume this is because the images are loaded before this command is called as they are global?

Is there a way around this or do I simply have to resort to setting the flags for every single image that I wish to load in a type? Ideally I want to keep the images inside of the types.

Thanks for any advice.

Jason.