Wednesday, June 27, 2007

Best Practices for Performance and Memory for Flash Lite

Adobe Flash Lite online live seminar: Best Practices for Performance and Memory for Flash Lite and Developer Center article.

Some takeaways:
  1. Help the garbage collector by explicitly deleting objects (e.g. XML) and setting local objects to null. It's unclear how setting local objects helps because the reference count should go to zero once it's out of scope.
  2. fscommand2("GetFreePlayerMemory") returns the size of the largest contiguous block of memory that can be allocated by the player, not total free memory.

No comments: