Re: [flexcoders] create class on the fly

2009-07-13 Thread Alan Shaw
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 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?
>
> 


[flexcoders] create class on the fly

2009-07-13 Thread postwick
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?