
But can please somebody tell me why and when? Because I addChild to the stage 1000 times but only removeChild 800 times, and even so, stage.numChildren returns to 0 after all my objects have exceeded the stage boundary.
I have to mention that I am moving objects from left to right (it’s a game) and the object’s X and Y properties eventually exceed the stage boundaries. Does something happen automatically then??? Like… events removed or something like that?
This is a continuation of this thread of mine, where I initially thought addChildren has issues:
If you would like to make a comment, please fill out the form below.
Recent Comments