且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Flex:如何在我的项目渲染器中显示项目索引

更新时间:2023-12-02 18:16:34

我***的猜测是在你的 itemRenderer 中尝试这样的事情:

My best guess is try something like this in your itemRenderer:

var index: int = ((listData.owner as TileList).dataProvider as ListCollectionView).getItemIndex())

有关 listData 的更多信息.ownerlistCollectionView.getItemIndex() 方法.