将数组转换为arraylist?

时间:2010-12-05 18:31:50

标签: flex flash actionscript-3

如何在AIR 2中将List组件转换为显示项目?

1 个答案:

答案 0 :(得分:9)

var a:Array = ['some','values','in','an','array'];
var aList:ArrayList = new ArrayList(a);

documentation for ArrayList constructor