0 Replies Latest reply on Apr 24, 2007 3:52 PM by johnwquinley

    Returning Icon from String

    johnwquinley
      Hello. I have a newbie question for you.

      I have several icons in my app. These icons represent different kinds of files in different states. For instance, each file can be hidden and/or forbidden to the current user.

      I have an icon function which builds the name of the icon name from these different attributes.

      Now, I need to take this string that I have in the form of <documenttype><forbiddenstate><hiddenstate> and get the Class from it to return as part of my iconFunction(item:Object):Class function.

      How do I do this?

      Thanks.

      John Quinley