Question
Best practice for adding and removing eventListeners?
Hi,
What is the best practice in regards to CPU usage and performance for dealing with eventListeners when adding and removing movieclips to the stage?
1. Add the eventListeners when the mc is instantiated and leave them be until exiting the app
or
2. Add and remove the eventListeners as the mc is added or removed from the stage (via an addedToStage and removedFromStage listener method)
I would appreciate any thoughts you could share with me. Thanks!
JP
