Key Points

  • Design patterns don't include language specifics.
  • The preferred manner of inheritance in ActionScript 3.0 is fixed inheritance.
  • Design patterns require appropriate attention with consideration to memory management.
  • The Flash.sampler package gives you insight into each object's impact on memory resources.
  • Pointers may prevent the garbage collector from dumping memory.
  • Design patterns pass object references for delegation and modification.
  • ActionScript 3.0 doesn't recognize abstract classes.
  • Always deselect the Automatically Declare Stage Instances option.
  • Strong typing facilitates the proper use of objects in a system.
  • Strong typing optimizes ActionScript bytecode.
  • Avoid the as operator for up/down casts if possible.
  • Use config constants ...

Get AdvancED ActionScript 3.0: Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.