Hi there! I'm using the following to load my .obj files in my scene:
loader3D = Obj.load(file, {material:itemMaterial});
loader3D.addOnSuccess(onSuccess);
private function onSuccess(evt:Event):void {
item = loader3D.handle as Object3D;
}
I then want to change the object's material through s combobox.
How do I do that? How do I access the material property and to which?
To loader3D or item?
Thanks
