6 Replies Latest reply on Oct 13, 2007 11:18 AM by kglad

    dynamically reference classes?

    Craig Grummitt Level 3
      is it possible to dynamically reference classes?
      i'm not talking about dynamic classes...
      hmmm... to explain what i mean, here's an example:
      1.say you have a clip in your library with class square(previously known as linkage identifier)
      2. you have a String variable called shape which contains the word square.
      3. you would like to create a new variable newShape which is of the type contained in the variable shape

      i have a feeling this isn't possible but i'm curious to know. anyone with any ideas how to do this? thanks in advance.

      i've made unsuccessful attempts such as: