Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
public function broadcast(name : String, body : Object = null, type : String = null, destinations : Array = null) : void{ // Assume all modules will receive the notification, even the calling Facade instance. if (!destinations) { for (var key : String in instanceMap) Facade(instanceMap[key]).sendNotification(name, body, type); } else { while(destinations.length) { try { Facade(instanceMap[destinations.pop()]).sendNotification(name, body, type); } catch(e : ReferenceError){} } }}