ok, here is the mistake :
you are giving 3 reference to a same object (your mesh ) but this
doesn't duplicate it at all !
the fact is that when you're addin your mesha object it's a kind of
empty reference as the lpmodel is now associated to meshc =
mesha and meshb are null !
> mesha =
> (ObjectContainer3D(e.loader.handle).getChildByName
> ("lpmodel") as Mesh);
> meshb =
> (ObjectContainer3D(e.loader.handle).getChildByName
> ("lpmodel") as Mesh);
> meshc =
> (ObjectContainer3D(e.loader.handle).getChildByName
> ("lpmodel") as Mesh);
> scene.addChild(mesha);
> scene.addChild(meshb);
> scene.addChild(meshc);
>
> }
if you want to duplicate :
function llamo(e:LoaderEvent):void{
var temporaryRef:Object3D = (ObjectContainer3D
(e.loader.handle).getChildByName("lpmodel") as Obejct3D;
Object3D(mesha) = temporaryRef.clone();
Object3D(meshb) = temporaryRef.clone();
Object3D(meshc) = temporaryRef.clone();
scene.addChild(mesha);
scene.addChild(meshb);
scene.addChild(meshc);
}
that should work