Archive for May, 2012

Performance is a key ingredient to success of any application. This is a common factor for end-user to judge your application. Here I am listing some of the point that help us to improve the performance of ActionScript3 based application.

  • Always stay strongly typed
  • Avoid to using constants
  • For creating of instance of Array and Object instead of using constructor use [] and {}
  • _visible is better than _alpha
  • Must remove onEnterFrame and setInterval after use
  • Use int and bitwise operations
  • Carefully watch your Listeners
  • Avoid accessing variables of other classes directly
  • Use bitwise operator for multiplication and division
  • Keep in mind that division is slower than multiplication


Reference –