Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actionscript 3 在as3中更改TileList的选定项索引_Actionscript 3_Flash - Fatal编程技术网

Actionscript 3 在as3中更改TileList的选定项索引

Actionscript 3 在as3中更改TileList的选定项索引,actionscript-3,flash,Actionscript 3,Flash,嘿,伙计们,我们可以更改所选项目的索引吗。例如,如果tilelist中有四个Tile,现在我们希望将所选项目(即3)的索引更改为2。所以有人能帮我解决这个问题吗?你试过: tileList.selectedIndex = 2; 在数据提供程序中移动项目

嘿,伙计们,我们可以更改所选项目的索引吗。例如,如果tilelist中有四个Tile,现在我们希望将所选项目(即3)的索引更改为2。所以有人能帮我解决这个问题吗?

你试过:

tileList.selectedIndex = 2;

在数据提供程序中移动项目