There are examples in the Acrobat JavaScript documentation along with the security restrictions for exporting and FDF, introduced with version 6, and how to program the trusted function and priviliged operations to function within these restrictions.
[url=http://www.adobe.com/devnet/acrobat/javascript.php]JavaScript for Acrobat[/url]
[url=http://www.adobe.com/devnet/acrobat/javascript.php]JavaScript for Acrobat[/url]
[url=http://www.adobe.com/devnet/acrobat/]Acrobat SDK[/url]
George Kaiser