4 Replies Latest reply on Dec 30, 2006 7:55 AM by Joniba

    changing properties of MCs in arrays?

    Joniba Level 1
      Hey I'm just getting into actionscript and have no programming background...

      Is it possible to control movie clips that are indexed in an array?

      I have 35 circles arranged in a circle, each an instance of the same movieClip (call it MC). Each one has a number (mc1, mc2, etc.). I thought I could animate them by placing them in an array and using FOR statements. So each is indexed in this array (call it aMyArray). But it seems I cannot do this: for(i=0;i<aMyArray.length;i++){aMyArray ._alpha = nAlpha; nAlpha-=5;}

      Is this just a totally wrong use of arrays?