I've been writing some code for several MC instances in my
movie. The code
is very repetitive in many ways but I'm not entirely sure how
it can be
optimized with loops (although I believe it can be done).
This script is
placed on the 1st frame of the main timeline: