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

flash.utils - Details Adobe ActionScript® 3 (AS3) API Reference

Explorer ,
May 27, 2013 May 27, 2013

This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/package.html

TOPICS
ActionScript
296
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
New Here ,
May 27, 2013 May 27, 2013
LATEST

The documentation for setTimeout() is incorrect. It claims that...

If you do not call the clearTimeout() function to cancel the setTimeout() call, the object containing the set timeout closure function will not be garbage collected.

However at least in the current version of Flash, this is not correct. Once the closure has been executed the reference will be removed and the object may be garbage collected.

See discussion at: http://stackoverflow.com/questions/16489536/does-flash-utils-settimeout-leak-memory-if-cleartimeout-is-not-called

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