had same problem some times ago, with one of the first public releases also, i filed a bug issue on google code http://code.google.com/p/away3d/issues/detail?id=148 but it looks like it's not fixed yet
Bianco Alessandro 2011/4/20 Nicolas West <[email protected]>: > Hello > > I am working with the zip sources, so maybe this is outdated but > couldn't find info about it : > when you removeChild an Object and NOT ask for dispose, you strangely > can't addchild it anymore. > > You can test this with (for example) the LoaderOBJTest, simply add 2 > buttons or on enterFrame (if you're lazy) > frameCount++; > if (frameCount%200==0) > { > if (frameCount%400==0) > { > trace("addChild"); > _view.scene.addChild(_container); > } > else > { > trace("removeChild"); > _view.scene.removeChild(_container); > } > } > It does remove the object but you can't add it anymore after that. It > has no link with the scene, the issue is in ObjectContainer3D. > > So even if I would want to do a simple button to show/hide some stuff, > I would have to reload it on every show with this bug. > Any workaround ? Does it still happen with lattest svn sources ?
