Archive for September, 2009

Does an EventDispatcher have subscribed listeners ?

Lately I’ve been reading several discussions around the internals of EventListener, how easy is to create memory leaks, the dependencies between IEventListener and EventListener and onther fancy things. Robert Penner has lots of details around these topics in his 2 part articles:

Critique of as3 events part 1
Critique of as3 events part 2
My new as3 event [...]

FlexPMD now in labs

FlexPMD is a tool that helps to improve code quality by auditing any AS3/Flex source directory and detecting common bad practices, such as:

Unused code (functions, variables, constants, etc.)
Inefficient code (misuse of dynamic filters, heavy constructors, etc.)
Over-complex code (nested loops, too many conditionals, etc.)
Over-long code (classes, methods, etc.)
Incorrect use of the Flex component lifecycle (commitProperties, etc.)
A [...]