5 Replies Latest reply on Jul 24, 2008 12:23 PM by ntsiii

    manage to instantiate arbitrary package+class without eval()

    Zal
      Hi everyone,

      I want to build a modular RIA in which I have several Flex modules.
      I want to set via a config.xml file which modules will be used for a particular "installation" of my app.
      I just forgot that eval() have been removed from AS3... An old reflex.

      How can I instantiate (preferably with strong typing) something I'm only aware of in String format? (like "com.example.myProject.modules.calendar")
      this would allow me to eventually create custom modules without the need to recompile my main application...