Flex 类名赋值并传参 很多时候,我们需要把一个类名直接赋值给其他变量的某个属性,但更多的时候,我们同时需要传递一些参数.用法如下.
var cf:ClassFactory = new ClassFactory(ClasssName);cf.properties={property:1};