|
Project Information
Featured
Links
|
NResponderNResponder is the most advanced and fast way to work with events in ActionScript 3.0 (AS3). Responder grown based on idea of Objective-C Event Flow. For this reason the name is Responder, like Responders in Objective-C. Responder have features to work with events in an advanced way. This is very helpful to do complex applications, like games and rich interactive applications. Direct to the PointDon't worry with memory manage or garbage collection to the listeners. NResponder.add('anActionName', myListener);To all native Flash Events: // Instead this myObject.addEventListener(Event.ADDED_TO_STAGE, initialize, false, 0, true); // Use this NResponder.addNative(myObject, Event.ADDED_TO_STAGE, initialize); Check all features below, like replies, delay, multiple and combined removes, dispatches Run-Time changes and more. If you are interested in learn how to say "Bye, Bye" to addEventListener, removeEventListener and hasEventListener or even the entire EventDispatcher class, see the videos below or check the docs. How to use it:Watch the videos tutorials and learn how to use NResponder in you applications. Youtube 5 chapters: http://www.youtube.com/v/dGQHxya0qeANineveh Responder Data Flow
Reasons why:NResponder is a Singleton class capable to control all events in an application, either in different SWFs! You can dispatch listeners across applications and domains.
Features Comparison
Tests Comparison
(1) Add methods in an exaustive mode 10 different listeners added for 1.000.000 times. A real world application never will do this exaustive work. (2) Dispatch methods in an exaustive mode 10 different listeners dispatched for 1.000.000 times. A real world application never will do this exaustive work. (3) Remove methods for 10 different listeners 1.000.000 times. This method never will be exaustive in any of 3 APIs because in the first loop all the added listeners of the test was be removed. And these APIs works fine with cleaning the removed instances. Notices05/23/2010: About author
Our Golden Rule is: Keep it simpleAll Nineveh Framework classes are produced by DB-Interactive. For more information visit db-in.com |