2 Replies Latest reply on Apr 27, 2010 2:39 PM by jhlavenka123

    Canvas disappear on click out flex

    jhlavenka123

      I know this is probably a dumb question, but I'm new to this and can't figure it out.

       

      I have a canvas that becomes visible when the user clicks a button. The canvas contains some elements (TextInput, ComboBox etc.). I want the canvas to disappear whenever the user clicks anywhere outside of the canvas (but of course NOT when the user clicks on elements within the canvas). I though this would accomplished with a focusOut event but I can't seem to get it working.

       

      Any help is greatly appreciated.

       

      Thanks,

      Jason