i am loading in external images through a xml file, and
trying to navigate them by using forward and backwards buttons, but
i can figure out how to go from 1 to 4 backwards, when i try, it
either doesnt work or the counter will simply not go lower/higher
then 4. please help me, do you have any ideas.
you shouldn't be calling imgLoad() in an endless loop. load
your images sequentially until all are loaded and either wait until
all loading is complete to enable your buttons or, use a different
(from i) to display your images.