Skip to content
robertpenner edited this page Sep 13, 2010 · 23 revisions

Signals: Think outside the Event.

Signals are light-weight, strongly-typed AS3 messaging tools, inspired by C# events and signals/slots in Qt.

I am still looking for impressions, critiques and suggestions.
My email is info at robertpenner.com.
I’m @robpenner on Twitter.

Concept

  • A Signal is essentially a mini-dispatcher specific to one event, with its own array of listeners.
  • A Signal gives an event a concrete membership in a class.
  • Listeners subscribe to real objects, not to string-based channels.
  • Event string constants are no longer needed.

Background on AS3 Events

Clone this wiki locally