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

launching pdf files (embedded or not) from a swf make by a 3th party

RANDY_ROADS
Registered: Aug 23 2008
Posts: 3

Hi,

I want to know if there's a way (a step by step if possible) to launch pdf files from à swf which is make from à third party. I explain :

I want to make an virtual tour, I use Pano2Vr to create my Tour ; the only thing i can do when i create an hotspot is typing an URL.

If the swf is played with I.E. it's work, but when it's inserted in a pdf file nothing works, I've raised the privilege in the default certificat to allow playing interactive media, but it don't work anymore.

Is there a "line of command" that i can put in the URL form wich can be intercepted by an acroscript

I hope that someone has decrypted what i want do do, sorry for my english.

My Product Information:
Acrobat Pro Extended 9.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes there is. Use the Rich Media Annotation(RMA) tool (also known as the Flash Tool) to insert the SWF into your PDF. The SWF will need to be modified to communicate with Acrobat.

This article explains how to do it from Flex, but the ActionScript code is exactly the same in Flash.

http://www.acrobatusers.com/tutorials/2008/08/js_flash_buttons/

Here's the line of code you want to use in the Flash ActionScript.

ExternalInterface.call("evel","app.launchURL", "www.yoururl.com");

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