Quote:
Originally Posted by dcaccavella
How does it fail? What is the error? Not enough specifics
|
I narrowed down the problem a bit. I have 2 functions which add and remove ALL OBJECTS from / to the stage. All stage work is done there:
addObject (movie)
removeObject (movie)
I monitor function calls on those. And here is the interesting result:
start with stage.numChildren = 0
addObject = 1200 calls.
removeObject = 1000 calls.
end with stage.numChildren = 6 (!?!?!?!?!?!)
Now... how is it possible for 1200 calls to addObject and only 1000 removals, to result in only 6 kids on the stage !? I don't get it!!!
I have no errors whatsoever when running this, I have not supressed any error with try/catch and I always provide valid movie clips to addObject and I actually SEE THEM appear on the stage.
Is it possible that an object is removed by Flash BEFORE I REMOVE IT?