Single or Multiple ENTER_FRAME Performance Tip

There was a debate around the office yesterday regarding which is more efficient: having an ENTER_FRAME listener on each moving object on the stage or having a single ENTER_FRAME listener that loops over each moving object. Thanh Tran put together some very interesting tests in his blog below which support the single event listener model.

http://int3ractive.blogspot.com/2010/07/myth-buster-enterframe-event.html

Comments

Popular Posts