samvex
09-27-2004, 04:36 AM
Programming opinion
--------------------------------------------------------------------------------
I have a series of images that are being dynamically loaded. I am using an array to specify the path of each individual image. I want to make my program cycle through the individual items of the array and load each image randomly until every image is loaded. While this is going on, I am using a conditional to detect if certain keyboard presses are invoked. The keyboard presses are specific to each array item.
What are your opinions on how I should handle this keyboard event listener?
How should I go about coding the array of images to be in sync with each specific keyboard press, and be able to detect when each image has been loaded?
Thanks,
Sam
--------------------------------------------------------------------------------
I have a series of images that are being dynamically loaded. I am using an array to specify the path of each individual image. I want to make my program cycle through the individual items of the array and load each image randomly until every image is loaded. While this is going on, I am using a conditional to detect if certain keyboard presses are invoked. The keyboard presses are specific to each array item.
What are your opinions on how I should handle this keyboard event listener?
How should I go about coding the array of images to be in sync with each specific keyboard press, and be able to detect when each image has been loaded?
Thanks,
Sam