Ahh, figured it out!
Yes, user error (figures).
In explaining it in the last email I realized my error.
I had stuffed references to my DynLayers in an items[] array. I then
"deleted" them from the parent, great...but it's not really "deleting"
them...just deleting them from that particular pa
Are you using the latest nightly build?
Nope, I'm not using a recent nightly build. I'm on an old (2.5.6?)
version. What's the best way to determine exactly what build I'm on? Anyway,
it'd definitely not anything recent.
I'm not sure why are you using the items[] array, what is the type of
oCa
Are you using the latest nightly build?
There was a serious bug in the deleteAllChildren() function that was
only fixed a few days ago (29 July).
You'll need to make sure you're using the very latest version of event.js.
Andrew.
James Musick wrote:
This seems really silly, but I'm having troub
I'm not sure why are you using the items[] array, what is the type of
oCallingObject?
To loop over all things in an object you can use the
"for (var i in myObj)" loop.
Example:
myObj = myLayer.getChildren();
for (var i in myObj) {
myObj[i].deleteFromParent();
}
I know it works for layers, bu
This seems really silly, but I'm having trouble getting rid of objects
that are children of another object.
This is the code:
alert("fnChildLoad function: \n" +
"oCallingObject=" + oCallingObject +"\n"+
"oCallingObject.length=" + oCallingObject.items.length);
for(v
Could someone explain to me the difference between the DynObject
methods:
- del()
- deleteFromParent()
- removeFromParent()
- specificRemove()
Can find it on the site, can't figure it out from the source code, and
I seriuosly need to get rid of some objects and dunno how :-)
So, please help me