hi I guess you can not remove child of TG. You can remove only child of BG nodes.
Chenge your scene to BG --> TG --> TG1 --> BG1 --> Box then BG1.removechild(Box); Maybe it solve your problem. See also Group.removeChild() javadoc. Alessandro --- Seatizen <[EMAIL PROTECTED]> escreveu: > Hello, > I have a Box object in my scene: > BG --> TG --> TG1 --> Box > which i want to remove. I tried: > TG1.removeChild(Box) and the result is > RestrictedAccessException: live or compiled. > What do i do wrong? How to avoid it? > Thank you for any help. > Greetings, > [EMAIL PROTECTED] > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff JAVA3D-INTEREST". For > general help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". ______________________________________________________________________ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".