Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

what is difference between invisible and removeChild() for memory and frem rate?

New Here ,
Feb 09, 2013 Feb 09, 2013

what is difference between invisible and removeChild() for memory and frem rate?

TOPICS
ActionScript
377
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 09, 2013 Feb 09, 2013

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.

Translate
Community Expert ,
Feb 09, 2013 Feb 09, 2013
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines