var i:int=0
var len:int=this.numChildren
for(i;i<len;i++)
{
//根据索引得到影片剪辑实例
var mc:MovieClip=this.getChildAt(i) as MovieClip;
//输出影片剪辑实例的实例名
trace(mc.name)
}
var len:int=this.numChildren
for(i;i<len;i++)
{
//根据索引得到影片剪辑实例
var mc:MovieClip=this.getChildAt(i) as MovieClip;
//输出影片剪辑实例的实例名
trace(mc.name)
}