if they are different materials, can they be pulled out of the array via the loop?
On Sep 30, 10:26 pm, Li <[email protected]> wrote: > If all 27 have the same texture, i would do: > > var aMaterial:BitmapMaterial = new BitmapMaterial(bmp, etc); > > for(var i:uint; i<27; i++) > { > var cube:Cube = new Cube(); > cube.material = aMaterial; > etc... > > > > }
