Can the Flash Player remove objects from the stage without me telling it to do so?

By axonn | Jul 4, 2009

actionscript3

Weirdly enough, apparently, it can.

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:

http://www.actionscript.org/forums/s…d=1#post898790

actionscript3

Please reply at our Forum

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0