Having at last managed to find the new Javascript reference files in the Acrobat 9 SDK download I am now trying to figure out the loadPolicyFile where the command:
app.loadPolicyFile("http://www.example.com/sub/dir/pf.xml");
will download the xml file that (hopefully) will stop all the security warnings in Reader 8 and above whenever I stream in a Flash file to my PDF.
I'm assuming that the above code will be a document level Javascript but I can't find any examples in the reference material of what the XML file should look like.
Has anyone any examples?
Thanks in advance - Synergy.
http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.php
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script