Disappearing actors?!

Hi all,
I've successfully created an iPhone app which, to all intense and purposes, is ready to go. However, I have a minor bug in it?! I needed actors to appear in random positions. I followed the tutorial by tshirt booth called 'How to display random images without repeats' as it best suited my needs. Using this tutorial I created 7 actors that randomly display 5 images each (I have a total of 35 separate images). I placed 5 of each of the 7 actors randomly in my scene (to really mix it up). Everything works well to the extent that the actors are being displayed randomly and the code seems to be working, however, sometimes actors do not appear? For example, I start the app and I have all 35 images randomly displayed, then I hit my 'Next' button and all 35 images are randomly displayed, then I hit 'Next' and the actors are randomly displayed, but 2 are missing, do it again and 3 maybe missing, do it again and maybe all appear and so on and so on? Basically, I'm occasionally missing the odd one or two actors every now and then after hitting the 'Next' button to randomly display them.
Any ideas anyone? This is really annoying as, apart from this, I'm ready to upload!!
Thanks!
I've successfully created an iPhone app which, to all intense and purposes, is ready to go. However, I have a minor bug in it?! I needed actors to appear in random positions. I followed the tutorial by tshirt booth called 'How to display random images without repeats' as it best suited my needs. Using this tutorial I created 7 actors that randomly display 5 images each (I have a total of 35 separate images). I placed 5 of each of the 7 actors randomly in my scene (to really mix it up). Everything works well to the extent that the actors are being displayed randomly and the code seems to be working, however, sometimes actors do not appear? For example, I start the app and I have all 35 images randomly displayed, then I hit my 'Next' button and all 35 images are randomly displayed, then I hit 'Next' and the actors are randomly displayed, but 2 are missing, do it again and 3 maybe missing, do it again and maybe all appear and so on and so on? Basically, I'm occasionally missing the odd one or two actors every now and then after hitting the 'Next' button to randomly display them.
Any ideas anyone? This is really annoying as, apart from this, I'm ready to upload!!
Thanks!
Comments
Thanks!