3 Replies Latest reply on Jan 22, 2007 3:56 PM by kglad

    Randomly Attached Movie Clips

    Social Psyence Level 1
      Ok, I'm sure this has a simple solution, and I suspect it involves using an array, but I'm not sure...

      What I'm trying to accomplish is to have a movie clip randomly seleted and attached to the main movie. I have the for loop which will randomly generate the numbers, and I'd like to have that result concatenated with "mcC1Exercise" for attaching, so it would be mcC1Exercise01, McC1Exercise12, and so on. Here is the code I have so far.

      I've tried simply just adding the nRand1 to the end of "mcC1Exercise" but no movie loads. What should I do to make this work?

      Thank you..