I have a .swf file privided by a developer that when run in Flash player, the content will change each time you click a button and remembers how many times you clicked on it. (It's very basic but is for testing purposes). When I place this .swf file into a PDF and save the PDF. The .swf file displays in the PDF file but doesn't remember how many times you clicked on the run button and starts new when the PDF is re-opened.
The goal here is to be able to save anything that you do in the .swf file within the PDF file. Am I doing something wrong here? Is this even possible? Any help would be greatly appreciated.
http://blogs.adobe.com/pdfdevjunkie/saving_the_state_of_swf_conten.php
http://pdfdevjunkie.host.adobe.com/RMA2_stateSave.shtml
Obviously this process "dirties" the PDF, so users with Adobe Reader must be given permission to save with changes. It's also a document-based memory, not a user-based one. If I save a state and then email the PDF to you, it opens on your computer with my last saved state. In theory you could code round that, but it's not trivial as Acrobat JavaScript has no in-document access to the user's identity, computer name, etc.