如果我使用setChildIndex在舞台上更改我的动画片段索引位置。我只能将其设置为已被占用的索引。或者我可以构成我自己的索引。比如100.原因是因为我试图找出让电影剪辑始终处于顶级位置。我脑子里想的除了setChildIndex是...using setChildIndex();
if(eApi.getChildIndex(this) < eApi.getChildIndex(target))
eApi.swapGameChildren(this, target);
但在此之前我用上面的,我检查,看看是否有什么更好的。 O yea,而“swapGameChildren”只是一个封装的swapChildren()方法。
这正是我没有和它似乎很好地工作。 – numerical25 2010-01-26 16:22:45