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

Acrobat 3D in a Webpage

Vepraskas
Vepraskas's picture
Registered: Oct 18 2007
Posts: 4

Hello,
 
I have a 3D PDF embedded in a web page. The PDF has several views. I would like to be able to have users press buttons on the website (Outside the PDF Window) that zooms the 3D PDF to one of the stored views? Is this possible, and if so how? I assume I need to write some Javascript function, do you have an example?
 
Thanks,
 
Paul Vepraskas

My Product Information:
Acrobat 3D 8.0999999999999996447286321199499070644378662109375, Windows
jim_merry
jim_merry's picture
Registered: Jul 18 2007
Posts: 58
I don't know exactly how to do this, but what you need to be able to do is pass messages from the HTML page when a button is clicked to the embedded PDF document. This will create an event in the PDF-side Javascript engine and the method of this event will configure the 3D view (or whatever else you want to do). I did some research and it looks like you can do this using the 'HostContainer' object available via the document-level Javascript interface. You can find this documentation online at:

[url=http://www.adobe.com/devnet/acrobat/?navID=documentation]http://www.adobe.com/devnet/acrobat/?navID=documentation[/url]

Under 'Javascript'

Jim Merry, VP 3D PDF, Tetra 4D, jim [dot] merry [at] tetra4d [dot] com