Hi, You may want to look into using the decorator pattern [1]. It's a nice way of adding one or more pieces of functionality to a class without using inheritance. Here’s an AS example i did ages ago [2] for a state machine that you can add logging or event dispatching or both to.
Thanks, Justin 1. https://en.wikipedia.org/wiki/Decorator_pattern 2. https://github.com/justinmclean/ActionScript-State-Machine/tree/master/src/com/classsoftware/statemachine