myobjectcontainer.children
and then loop through each like :
for(var i:int=o;i<myobjectcontainer.children.length;i++){
myobjectcontainer.children[i].dosomething

}

On Thu, Oct 1, 2009 at 6:12 PM, Morph <[email protected]> wrote:

>
> Dear all,
>
> is there an easy way to get all the children of a object container, I have
> different primitives all grouped together in a few objectcontainer3d's, now
> i want to change the materials on all of these at once on a button etc. so
> how do I get access to all of their materials??
>
> is there a for each loop I can use to cycle through them all??
>
> thanks
>
> Morph
>

Reply via email to