I have two sets of hotspots (invisible sprites) on the screen. When the user clicks one of each I want to load a specific sprite based on a number (11.png, 21.png, 31.png, etc.). Can I do this?
The only ways I see are 'load image from URL' which is not working due to security issues, and possible using animation frames, however the images are big.
Ideally I'd just like to load an image from the local drive using a filename created on the fly with variables... 21.png, 31.png etc. If I could build the path to the sprite on the fly I could do this but I don't see how.
Thanks for any suggestions.
RonM