How would I create a strongly typed class at runtime (so to be able to create instances of it)? It can’t be a proxy.
Additional Info:
For example, say I want to create a Person class with first and last where both are Strings.
Context
This is for an application that lets you create the data model and custom components at runtime. This is only part of it. I need to be able to have strong typing. If that means going to the server and creating a new SWF on the server with the value objects then loading in the definition at runtime then I would but that is a lot more work if there is an alternative.
AS3Commons-Bytecode lets you generate classes at runtime: http://www.as3commons.org/as3-commons-bytecode/emit.html