AWData is probably a static instance (single instance) etc So your feeding it 6 but only the last remains. Either split into functions and drive it by complete events or work out how to do var bob:AWDData = new AWDData(); bob.load(url);
D On 10 August 2011 15:49, Thadeu Henrique <[email protected]> wrote: > Any help? > > Thadeu Henrique > > > > On Tue, Aug 9, 2011 at 12:59 PM, Thadeu Henrique <[email protected] > > wrote: > >> Hi, folks. >> >> Why when multiple objects are loaded the material is not applied? >> Exemple(loading six objects exported from preFab3D): >> >> var obj1:Object3D = AWData.load("../resources/Element1/Element1.awd", >> {rotationX: 90}); >> var obj2:Object3D = AWData.load("../resources/Element2/Element2.awd", >> {rotationX: 90}); >> var obj3:Object3D = AWData.load("../resources/Element3/Element3.awd", >> {rotationX: 90}); >> var obj4:Object3D = AWData.load("../resources/Element4/Element4.awd", >> {rotationX: 90}); >> var obj5:Object3D = AWData.load("../resources/Element5/Element5.awd", >> {rotationX: 90}); >> var obj6:Object3D = AWData.load("../resources/Element6/Element6.awd", >> {rotationX: 90}); >> >> Only the last object is loaded correctly, with material applied. >> Exist a best way to do this? >> Any suggestion? >> >> I am using Away 3.6. >> >> Thadeu Henrique >> > >
