Movieclip depth problem
loc1-loc12 is movieclips on the stage, and they seem to be always on top. Even after this.setChildIndex(MovieClip(e.currentTarget), (this.numChildren - 1)) I don't get it why....
public function mousedown(e:MouseEvent)
{
if (loc==false)
{
targetarray.push(loc1,loc2,loc3,loc4,loc5,loc6,loc7,loc8,loc9,loc10,loc11,loc12);
loc = true;
}
e.currentTarget.startDrag();
this.setChildIndex(MovieClip(e.currentTarget), (this.numChildren - 1))
}