without typing mistake: without parenthesis before ObjectContainer3D , and with Object3D and not Obejct3D, that should work, I use it that way everytime (even when I sleep !)
do you have the same error ?? 1105: Target of assignment must be a reference value. On 20 juil, 17:22, desgraci <[email protected]> wrote: > to be more exact: > > my function looks like this now: > > 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); > > } > > what i was trying to say is that i also trying to acces any other way > to cast it as an Object3D, or to add it, or to acces it or do > something ( i was little desesperado in that moment i admit it :p) > > thanks in advance man, but this is the error that keeps throwing me now
