setChildIndexの履歴

重なりを前に持ってくる。

例えばhoge_mcの場合

var container:DisplayObjectContainer = hoge_mc.root as DisplayObjectContainer;
var lastIndex = container.numChildIndex-1;
container.setChildIndex(hoge_mc,lastIndex); 


上のケースはhoge_mcのroot内での重なりを調整する場合。
単純に一つ上の階層を指定する場合はhoge_mc.parentで十分。

numChildIndex はあるDisplayObjectContainer内のchild数(自分を含めて)を参照。

numChildIndex-1 は、自分のすぐ下に持ってくるってこと。