the lines : private var objeto3D:Object3D=new Object3D(); objeto3D(mesha) = temporaryRef.clone();
when I do : Object3D(mesha) this is not yourobject(mesha) this is simple casting (that means that we pass mesha as a Object3D instead of a mesh to the compiller (but it's still a mesh), that way we access to properties and method inehrited from Object3D (a parent class of Mesh). It says to teh compiller my mesh is an Object3D: " believe me and do what I want, there is no error !" It's like when a silly guy want to enter in a very hip nightClub he cast itself with a beautifull car, but he's still an assHole, and he fluently prove it later... Google for casting as3 the method : aMesh.clone() return an Object3D, so if you say aMesh = anObject3D you get an error so you cast, in pseudocode : itIsAnObject3D(aMesh) = Object3D I hope you understand, this is very simple. you just have to declare your mesha meshb, etc... then do this: Object3D(mesha) = temporaryRef.clone();
