hi,
i try to remove the child of an objectContainer3d
my code look like this (‘holder’ is an objectContainer3D)
var children = holder.children;
var nbChild = children.length;
for(var i:int = 0 ; i < nbChild ; i++){
var child = holder.removeChild(children[0])
}
but this throm me an error :
RangeError: Error #1125: L’index 2 est en dehors des limites 1.
(index 2 is outside of the limit 1)
Can you help me ?
thanks