You could simply clone a mesh with no texture, and apply textures to each clones if you need to change them. I see in previous thread you pass no clone object. Haven't tested, but in the code using these methods (clone, cloneAll) passing the receiver object3d allways resulted in perfectly working clones...
also your trace gives an error because this mesh is not having an entry into the library. The library is just a data holder per loaded file. You could instead fill and use by hand the centralLibrary class if you need to manipulate lots of materials with and from meshes. Fabrice On Aug 24, 2010, at 12:54 PM, edwinlimlx wrote: > Hi Fabrice, > > Thanks for the reply, don't wish to hijack the thread, however > regarding my issue. > Any advice using away3DLite? using imported 3DS model. > > http://groups.google.com/group/away3d-dev/browse_thread/thread/ef165b6c95e98448 > > imported model as proper texture applied, however unable to change/ > access cloned models. > > Cheers, > Edwin > > > > On Aug 24, 5:57 pm, Fabrice3D <[email protected]> wrote: >> question is how the material is applied. >> if its at face level, you need parse the faces and apply or nullify before >> be able to say m.material =; >> >> Fabrice >> >> On Aug 24, 2010, at 11:23 AM, John Brookes wrote: >> >> >> >>> Tried cloneAll but still couldn't change the material of a single cloned >>> mesh. >>> If theres a way, would love to know.
