Posted by Areric on 05/08/06 00:30
Rik
THanks for the help you were right the problem was elsewhere. For some
reason my mImageCount wasnt getting initalized properly. So when i
added my first image it was adding it to a index with no value, where
when i tried to reference it i was referencing index 0. The weird thing
was i had the mImageCount = 0 in the constructor.
Oh well i fixed it by initalizing the variable where it was declared
instead of the constructor.
[Back to original message]
|