For loop help

Hi all,

I’m having a bit of an issue with a for loop.


for(i = 0; i <= numMcs; i++)
	
	{
		container.img*._alpha = 0;
	}

Now, the issue I’m having is that with the ‘*’. I thought by putting the ‘i’ in square brackets next to an instance would make it dynamic. But it’s not working. When I put the number directly next to the instance ‘img’ it works.

Perhaps I’m doing it wrong…

Any ideas?

Thanks.