Using flash EventDispatcher.