|
From: <mi...@pr...> - 2000-12-07 23:17:42
|
Sorry for the formatting of that last post, let me try again...
Two questions...
===========
QUESTION 1:
===========
Does anybody know the real reason that we have both the removeChild/removeFromParent -AND- the deleteChild/deletFromParent functions?
I am asking because they are both SO similar... the only differences that I can find are as follows:
1) the remove methods move the object to the 'unassigned' array, while the delete methods do not (well, in ns4 the object gets added to the 'recycled' array)
2) the delete methods also deletes all of the children of the object, while the remove methods do not
At one time, didn't the remove methods add the object (after removing it & if the object's parent was not the dyndoc) to the object.dyndoc?
I could just be confused... :-)
===========
QUESTION 2:
===========
Does anybody know of a way to permanently delete a DynLayer (and all of it's children, properites, eventlisteners, object specific methods, etc...) entirely? No references left to it what-so-ever?
--proteanman
|