【问题标题】:How to turn bytearray into IList in Actionscript?如何在 Actionscript 中将 bytearray 转换为 IList?
【发布时间】:2010-05-30 17:40:53
【问题描述】:

如何将 Array(如 Camera.names)转换为 IList(例如 MXML s:DropDownList

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

)?

【问题讨论】:

  • 这个问题的标题具有误导性,因为 Array 和 ByteArray 是两个不同的东西。

标签: apache-flex flash actionscript arrays ilist


【解决方案1】:
var myList:IList = new ArrayCollection(sourceArray);

【讨论】:

    猜你喜欢
    • 2010-10-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多