4 Replies Latest reply on Aug 4, 2010 7:17 AM by tpr87

    Mediator pattern using an mx.core.Application object


      Hi there,


      I'm developing an audio recorder using flex. I want to write it so that when the recorder connects to the FMS, it enables the buttons of the UI. So I decided to use the mediator pattern, with the director receiving a Recorder (Class that wraps NetStream and NetConnection) and a Application. Having access to the application, how can I enable a particular Button from the director? It seems to me that I can't subclass Application in a simple way using mxml.


      Thanks in advance