0
I Use This!
Activity Not Available

Project Summary

A customizable listener allows send extra parameters to event handlers.

Basic Usage:

package{
import flash.display.Sprite;
import flash.events.Event;

import valck.events.CustomListener;

public class Test extends Sprite{

public function Test(){
//Example of any object
var arrayTest : Array = new Array("1", "a", "2", "b", "3", "c");

//Example of addListener like a substitute of addEventListener and the optional object to send for the handler
CustomListener.addListener(this, Event.COMPLETE, callbackExample, arrayTest);

//Example of dispatch like a substitute of dispatchEvent.
CustomListener.dispatch(this, Event.COMPLETE);

//Example of remove the listener of handler
CustomListener.removeListener(this, Event.COMPLETE);
}

public function callbackExample(evt:Event, p_value:Array):void{
trace(p_value);
}
}
}

Tags

actionscript as3 custom eventdispatcher events flash listeners

In a Nutshell, custom-listener...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Commercial Use

Modify

Distribute

Private Use

Sub-License

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    check out hot projects on the Open Hub
  • ...
    use of OSS increased in 65% of companies in 2016
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis