These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Adobe Reader 9.1 and external SWF

Cranberry
Registered: Mar 14 2009
Posts: 7

Hi

Adobe has always recommended streaming SWF files into the PDF, rather than embedding. The new update of Reader, 9.1, though seems to completely break this?

If the PDF is in the standalone Reader and tries to load an external SWF from a web server (pretty standard), the Enhanced Security throws up an error, saying that the site's cross domain policy doesn't allow for loading the content, though it will load it if you turn Enhanced Security off for the file. I've watched the server to check and the PDF does indeed load the crossdomain.xml file, so it really does believe that the policy is blocking it. The problem is that the cross domain policy states "*" and I've also tried to set "secure="false" in the policy. In other words, I have tried to turn off as much of the cross domain security as possible just to try and get this working, and no joy.

Does anyone have any PDFs with external SWFs that still work in 9.1, and if so can you advise me how, and maybe some pointers on the cross domain.

I should also note that these SWF are inserted using legacy media, not the new version 9 SWF tools, so that they work in

My Product Information:
Reader 9.1, Windows
JoelGeraci
ExpertTeam
Registered: Aug 17 2006
Posts: 80
The PDF file needs to be placed in a local privileged location. By using privileged locations, you can bypass the normal Enhanced Security restrictions.


You can read about Enhanced Security and how to set up privileged locations at the URL below.
http://help.adobe.com/en_US/Acrobat/9.0/Standard/WS0A9F02BE-0B04-4e37-B971-16EEB6FD318E.php#WS51E68D41-68F9-411a-B6D3-B7231595E919
bob_w
Registered: Apr 28 2009
Posts: 1
try set the security to false for the http request headers in the crossdomain.xml. That might work
beccaC
Registered: Feb 11 2009
Posts: 11
I've tried using the Enhanced Security settings to solve a problem I'm having with progressively downloading a .flv into a .swf embedded in a pdf. So far, whether I add the pdf file itself or the folder it resides in into the privileged locations box, makes no difference. Neither has any effect. The .flv just won't load.

Strangely, when I change my AS3 code to download the .flv from my web server, it works fine in the pdf. But I need this to work from a local folder, since users have to be able to play the video even when they don't have an Internet connection.

Has anybody successfully done a progressive download of a .flv into a .swf in a pdf? If so, I'd greatly appreciate knowing how you did it.
beccaC
Registered: Feb 11 2009
Posts: 11
I think I just found the answer, and it is: No. You apparently can't progressively download a video into a .swf if it's in a pdf. If you go to http://www.adobe.com/devnet/acrobat/security.php,
there's a document titled "Security for Flash Player compatible content in Acrobat 9." It says that local file-system access is blocked for all SWFs in Acrobat, including SWFs that belong to the local-with-file-system sandbox.

Very disappointing. So is the fact that Adobe Acrobat Tech Support had no idea about this. In general, I wouldn't recommend contacting them for help on any multimedia PDF issue--especially if you're paying for per-incident support. They haven't a clue, and will just bat you back and forth with Flash Tech Support. It's really amazing how Adobe promotes the use of its products in combination--and the multimedia capabilities of Acrobat 9--but doesn't train its people to support this.