The application I am working on draws custom components based on a list retrieved from a database ("DynamicElem1","DynamicElem2"). For example
ActionScript Code:
for each(var elemName:String in elemList)
{
var classToUse:Class = getDefinitionByName(elemName) as Class;
var cfElem:UIComponent = new classToUse;
addChild(cfElem);
}
At a later date further components may be required, eg DynamicElem3. I would like to develop the application so that the components can be compiled independently of the main application but still be used by the main application as above. Is this possible? Thanks.