1 Reply Latest reply on Sep 23, 2012 11:19 AM by pauland

    Calling a function

    Captain825 Level 1

      Flex 4.6


      I have a popup window where the user can fill out a form and it gets emailed to me through a php script when the submit button is clicked.


      Once the submit button is clicked, I would also like the popup window to close.


      The popup window also has a close button that calls a closeWindow function that closes the popup. 


      Can I call the same closeWindow function once the submit button is clicked?  If so, how would I go about doing that.