I found the solution, although you add the object Loader, you remove
the contents of the loader,
something like this...

  scene.addChild(myObjectLoader);

  myObject = myObjectLoader.handle as ObjectContainer3D;

now you can...

  scene.removeChild(myObject)

but not...

 scene.removeChild(myObjectLoader)

..as I was trying to do.
Hope that helps someone :)


On Sep 17, 11:47 pm, themightyatom <[email protected]> wrote:
> Anybody found a way to remove an object from a scene in Away3dLite?
> The ".removeChildByName" from the main branch isn't in the new engine.
> To add objects we use the addChild command, but removeChild dosn't
> work
> as the object is not actually a flash displayObject (i think!)
>
> Any ideas greatly appreciated ;O)
>
> Cheers
>
> PS

Reply via email to