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

Control 3D PDF from HTML?

Jess
Jess's picture
Registered: Feb 22 2007
Posts: 2

Hi Experts,
 
I want to use Acrobat 3D inside an iFrame to view a product on a web page. Is it possible to control the PDF from the Browser via JavaScript?
 
For example I want to change the material of the 3D objects in html and instantly visualize this in the PDF. I know how easy it would be using PDF only, but unfortunately this is not an option right now.
 
Thanks for any hint!
- Jess

My Product Information:
Reader 7.0.9, Windows
thomp
thomp's picture
Expert
Registered: Feb 15 2006
Posts: 4411
Actually, Yes, there is a way to do this. But be warned, it's a limited and unreliable methodology. Acrobat 7.05 introduced the ability to pass messages in-betweeen Browser JavaScript on an HTML page and JavaScript inside a PDF. There is an example on this web page. Scroll down to "Extreme JavaScript" and look for the "IE Browser/Acrobat Intercommunication" link.

[url=http://www.windjack.com/resources/howto.php]http://www.windjack.com/resources/howto.php[/url]

Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.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