Chris wrote:
If you expect your child to always be parented, you might want to yell
loudly about it:

if(child.parent){
    child.parent.removeChild(child);
}else{
    throw new Error("This child doesn't currently have a parent.");
}

You mean like flash does for you?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to