as3でmcを最全面、最背面にする方法を忘れないうちにメモ
最全面にする
var lastIndex:int = 全面にするMCの親.numChildren - 1;
全面にするMCの親.setChildIndex(全面にするMC, lastIndex);
最背面
背面にするMCの親.setChildIndex(背面にするMC, 0);
as3でmcを最全面、最背面にする方法を忘れないうちにメモ
最全面にする
var lastIndex:int = 全面にするMCの親.numChildren - 1;
全面にするMCの親.setChildIndex(全面にするMC, lastIndex);
最背面
背面にするMCの親.setChildIndex(背面にするMC, 0);