If I compile the class as a module, can I then load it in without having to statically reference it in my compiled code? I can predict the package name based on data from my database ie com.something.somethingelse etc. Then I could compile new classes as needed and load them.
--- In flexcoders@yahoogroups.com, Alan Shaw <noden...@...> wrote: > > There are a number of important techniques for manipulating classes (as > detailed > in my post http://nodename.com/blog/2008/06/15/upon-reflection/ ), but > unfortunately > creating a class at runtime is not possible in AS3. > > On Mon, Jul 13, 2009 at 8:23 PM, postwick<p...@...> wrote: > > > > > > I want to store descriptions of classes in an external file (such as XML) or > > database, and use them in my Flex application such that I can add, remove, > > or change the classes in the external file with recompling the Flex > > application. > > > > Is there any way to do this? In a nutshell, is there a way to create a class > > through an Actionscript function, with a for loop where the information that > > is looped over contains the definitions of the classes loaded from an > > external source? > > > > >