I have 120 MC’s (little squares, names square_01, square_02, etc) around my stage like a frame around a painting. I would like to create an onRollOver/Out effect for these mc’s, but it seems a bit much to me to place them all in an array.
The effect have to be that when you roll over the alpha is going to 0 and that on roll out the alpha will be restored to 100. I also would like the effect to be easing. I know how make a function to control the alpha. But I don’t know how to continiue from there. I think it has something to do with a (for in) loop witch I tried, without any results. Is there somebody who can help me?
Is this working with the code given by Scotty, because up till now that one isn’t working at all. As said the onRollOver an Out are not even working. And i’m looking already for over half an hour, but I don’t see what I do wrong sofar
To be honnest, I’m a little embarassed I did’t look very good. In your movie you used square_1, square_2 etc Where I had square_01, square_02 etc. I’m realy sorry for the stuppidness
No problem:)
And you can allways use the handy thing kode gave you if you want to stay with square_01:
this[“square_”+(i<10 ? “0”+i : i)].onRollOver etc…