I'm having an issue where I have a bunch of unique images that all get
drawn on a canvas by the same function.
The problem is, the function uses addEvent('load', ... painting code
here ); so after the image is painted after it is loaded. If the
functin gets called 5 times in a row the value of each instance of the
function is the same..
I created a fiddle to illustrate the issue:
http://jsfiddle.net/PSXRx/
I can think of a few ways around this but they would all take a lot
more work. Any ideas would be appreciated.