6 Replies Latest reply on Jan 23, 2007 11:52 AM by kglad

    Using variables as variable names

      Hello (me again)

      I know I can use this[variable] to evaluate a variable name so it can be used for such things as referring to a movie clip



      However... I'm trying to create movieClips with:

      var MovieClipName:MovieClip = new MovieClip()

      which doesn't work if I use this[variable] instead of MovieClipName.