Bobafart
02-24-2007, 03:58 PM
I have 2 functions. The first is an XMLhttpRequest that loads a series of images into an Image() array.
The second function has up and down arrow key listeners to activate when the up and down arrow keys are pressed.
How do I refer to the Image() array in my up/down key listener function?
(I am trying to make the up key advance the image by 1 and the down key decrement the image by one when each are pressed).
Help please!!!
You can see the live code here:
http://gabbr.com/sandbox/yahooui/yui.v2.2.0/ctscan1.php
The second function has up and down arrow key listeners to activate when the up and down arrow keys are pressed.
How do I refer to the Image() array in my up/down key listener function?
(I am trying to make the up key advance the image by 1 and the down key decrement the image by one when each are pressed).
Help please!!!
You can see the live code here:
http://gabbr.com/sandbox/yahooui/yui.v2.2.0/ctscan1.php