6 Replies Latest reply on Nov 12, 2007 4:58 PM by kglad

    Convert string variable into movieclip variable?

    tunghoy Level 1
      I have a variable called something like city_str which has a value of "toronto". I also have a moveclip (exported for AS) called toronto_mc.

      What I want is a way of concatenating strings of "toronto" and "_mc" and assigning it to a movieclip variable called toronto_mc. Everything I try gives me a mismatch error in the compiler. I'm writing AS2 using Flash CS3. Any ideas?