如果是字符串,用getDefinitionByName(); import flash.utils.getDefinitionByName; var type:Class = getDefinitionByName("全称") as Class;//如flash.display.Sprite; var obj = new type();