EventController - An Actionscript 3 Library.

EventController

Event Management made easy. An Actionscript 3 Library.

 

What is Event Controller?

 

 

Essentially Event Controller is an easier way to keep track of events in actionscript 3. Event Controller is a simple extension to your normal workflow that allows you to easily tag, group and remove any and all events. Its designed to stay out of your way and follow nearly the same structure as you are already using for creating and removing events with AS3. Only now with a little extra horsepower under the hood.

 

http://fla.as/ec/index.html

Comments

There is one problem with the EC - you can add an event with weakReference=true, but it will still be strong referenced, since the EC itself is referencing the dispatching object and the handler function.

Hmm... That's a good point, but are you saying that because you have looked into the EC code and it is indeed using strong references or just a hunch?

I figured it used weak references, but I admit I have not looked inot the code.

Looking in the code, it seems that the objects are strongly referenced.

I also tested it in a small app and saw the EC still holds the objects.