Copy link to clipboard
Copied
what is difference between invisible and removeChild() for memory and frem rate?
there's probably no significant difference except with removechild the object doesn't have a depth.
despite using each, the objects still occupy memory and affect frame rate. flash still needs to keep track of the positions of both and they both can trigger positive hittests.
neither needs to be drawn so it's better to use either than set the alpha to zero.
Copy link to clipboard
Copied
there's probably no significant difference except with removechild the object doesn't have a depth.
despite using each, the objects still occupy memory and affect frame rate. flash still needs to keep track of the positions of both and they both can trigger positive hittests.
neither needs to be drawn so it's better to use either than set the alpha to zero.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now