Posts tagged AS3
NResponder tutorial
Nov 16th
Introduction
Hello everyone!
Welcome to this article!
Today I want to show you something called Nineveh Responder engine, or just NResponder.
And to do so, I will cover just four points, nothing more:
- Nineveh What?: What is this? What is it for?
- NResponder’s features: What news does it bring?
- NResponder usage: How to use it?
- REAL WORLD example: NResponder in action!
OK, so let’s start!
Here are the source files of NResponder and the project files used in this tutorial:
NResponder Released – The New Flash Event Engine
Aug 15th
I’m very glad to announce that Nineveh-Responder (NResponder) was released.
Official code page:
http://code.google.com/p/nineveh-responder/
NResponder is a new way to work with events in ActionScript 3.0 globally. You can cross events between different classes or even in different SWF files. With NResponder you add so much more flexibility to your application because you can changes the parameters “on the fly” in Run-Time. NResponder is inspired on Objective-C approach and is very oriented to performance and memory. You don’t need to create any instance if you don’t want.
For example, you can do:
// Instead this
myObject.addEventListener('anEventType', initialize, false, 0, true);
// Use this
NResponder.add('anEventType', initialize);
FEATURES
Bellow some characteristics of NResponder:
- Work in static or instantiated mode;
- Can specify the number of arguments to dispatch;
- Can change these arguments “on the fly” (in Run-Time);
- Can remove all NResponders;
- Can specify the number of replies;
- Can ordinate the replies;
- Can associate each listener with one target;
- Can have a delay to the next dispatch;
- Can pause or resume the replies;
- Can change all this attributes “on the fly” (in Run-Time);
- Can join to native Event API of Adobe® Flash® and continue to use all this features;
- Can instantiate and control each NResponder without change the others.
LEARN TO USE IT
The NResponder engine is full documented and you can check all the docs here:
http://db-in.com/frameworks/nineveh/doc
Below you can watch videos tutorials with the features and real world examples of the usage of NResponder.
Youtube 5 chapters:
Download
You can make the download of sources here:
http://nineveh-responder.googlecode.com/files/Nineveh-Responder.zip
Or visit the official code page of the NResponder:
http://code.google.com/p/nineveh-responder/
Here is the blog page:
http://db-in.com/blog/nineveh-framework/nresponder/
Remember to give me a feedback if you use it.
See you in the next post.


