代码如下:

var topPosition:uint = this.numChildren - 1;
this.setChildIndex(mytt, topPosition);//mytt,是要置顶的元件

 

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-10-11
  • 2022-02-26
相关资源
相似解决方案