I've got a Flex based swf file embedded as a Flash object in PDF. It has to be clicked for activation, causing it to open as a large floating window.
The swf has an "OK" button which initiates an interaction with the PDF. What I am trying to achieve its that the floating window is automatically closed, and the swf inactivated again, after the interaction is complete. So far I can only achieve this by selecting "Disable Content" in the context menu (which becomes available when the "Disable When" setting is set to such in the Flash object properties). I would like this action to be included in the script that is executed in the Flex button.