I wanna learn arrays today

I have used an array to store references to movie clips in my experiment with arrays.

myhits = [welcome_hit, sponsors_hit, stats_hit, hot_hit, links_hit, about_hit];
myhits[0]._alpha = 0;
myhits[1]._alpha = 0;
myhits[2]._alpha = 0;
myhits[3]._alpha = 0;
myhits[4]._alpha = 0;
myhits[5]._alpha = 0;

I would like to know how to change the properties of the items in the array without having to reference them individually. The above is not exactly time efficient.

myhits._alpha=0 won’t work I guess because the array is not an object with properties.

Any help, useful articles etc

cheers

for (i=0; i<myhits.length; i++) myhits*._alpha = 0;

thanx a bunch

no problem. :wink: