there is a meshes array, at least if the as file is from either Away or Prefab
var holder:MyOutput = new Output(); trace(holder.meshes[0] ); addChild(holder.meshes[0]); Mesh(holder.meshes[0]).bothsides = true; there is also a container array if you need a fast access to containers You can access the displaylist as you did now, except you need go deeper and check their type. if is Mesh set bothsides. cont_1 sounds like a container to me. you also can see your structure in hierarchy panel in Prefab Fabrice On Oct 16, 2010, at 12:48 AM, bandy wrote: > I am stuck again with a simple issue: > > > I successfully imported an .obj file containing 3 meshes with uv > mapped textures and exported it to away3d .as class. But in the > compiled swf, the textures only show on one side of the meshes. I > tried to set bothsides=true on the children of the .as class > Objectcontainer3. I hoped the children would be the 3 meshes. But > when I trace the children, I only get "cont_1=x:0, y:0, z=0" or > similar. > > > Is there a standard way of setting Objectcontainer3D children objects > properties? > Thanks for any help. > >
