【问题标题】:Change the selected item index of TileList in as3改变as3中TileList的选中项索引
【发布时间】:2012-08-13 14:04:15
【问题描述】:

大家好,我们可以更改所选项目的索引吗?例如,如果我们在 tilelist 中有四个图块,现在我们想将所选项目的索引(即 3)更改为 2。那么有人可以帮我解决这个问题吗?

【问题讨论】:

    标签: actionscript-3 flash


    【解决方案1】:

    你试过了吗:

    tileList.selectedIndex = 2;
    

    【讨论】:

      【解决方案2】:

      在 dataProvider 中移动项目。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-05-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-09-01
        相关资源
        最近更新 更多