I notice in older version of flash you can create an instance of a dynamic class. I am creating a game that will have many different classes that can be displayed on the sta
You can simple if you want to do it for example an editor for a game:
selectItem(e.target);
private function selectItem(whatItem:Object):void
{
var TemplateObj:Class = getDefinitionByName(getQualifiedClassName(whatItem)) as Class;
var newItem:* = new TemplateObj();