4 Replies Latest reply on Sep 22, 2006 9:23 AM by Matlus

    Creating instances using a string identifier

    Matlus Level 1
      Is there a way to create an instance of a class given it's class name as a string( for example). I know I could do it simply by using conditional logic, but I'd like this to be extensible and don't want to have to keep adding conditions as the system grows.

      In other languages I've used, this is possible in many ways and was wondering if there is a way to do this in AS 3.0