I'm trying to duplicate a dot shaped mc and place it using x
and y values from an array. So, I do a for loop going through the
array and it places the dots. But, I'd like to rollover each
movieclip and be able to refer to other pieces of information in
the same array element. How can I rollover the mc and have it
'remember' its iteration number? How can I store it somewhere?Am I
thinking aobut this the wrong way?
Try this. You'll need a "dot" movieclip on your stage with an
instancename of dot.
I've just created a quick array with x & y coords in it,
plus some extra data (colour). This duplicates the original and
attaches a trace function to rollover and rollout. It also shows
how each MC retains it's "own" colour.