Hello
I have a question about how best to remove display objects.
removeChild(object);
Given that there are no other reference to this object, does using removeChild alone make the object eligible for garbage collection, or does it also need to be given a null value as well?
I’ve tried both:
removeChild(object);
object = null;
and
object = null;
removeChild(object);
In both these cases, I get the classic 1009 error. That leads me to believe that if you use removeChild, you don’t also need to give the object a null value…?
The documentation seems to say it is but any confirmation would be helpful Thanks!