Dennin Dalke, a Brazillian Flash Developer emailed me a great method for the AS3 EventManager class (read the original post).
//adding multiple events at once.
EventManager.addEventListeners( loader.contentLoaderInfo, [
ProgressEvent.PROGRESS, onSiteLoad_Progress,
Event.OPEN, onSiteLoad_Open,
Event.COMPLETE, onSiteLoad_Complete,
IOErrorEvent.IO_ERROR, onSiteLoad_IOError
] );
It’s a great method to save retyping so many lines.
Get the updated class here. Also, if you have, are, or [...]