Apache flex 如何在Actionscript中将bytearray转换为IList?

Apache flex 如何在Actionscript中将bytearray转换为IList?,apache-flex,flash,actionscript,arrays,ilist,Apache Flex,Flash,Actionscript,Arrays,Ilist,如何将数组(如Camera.names)转换为IList(对于ex MXML s:DropDownList <s:DropDownList x="113" y="121" selectedIndex="0" dataProvider="{Camera.names}"></s:DropDownList> )这个问题的标题有误导性,因为数组和ByteArray是两种不同的东西。 var myList:IList = new ArrayCollection(sourceA

如何将数组(如Camera.names)转换为IList(对于ex MXML s:DropDownList

<s:DropDownList x="113" y="121" selectedIndex="0" dataProvider="{Camera.names}"></s:DropDownList>


)这个问题的标题有误导性,因为数组和ByteArray是两种不同的东西。
var myList:IList = new ArrayCollection(sourceArray);