Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-10-30 15:28:31

Vepraskas
Member
Registered: 2007-10-18
Posts: 0

Acrobat 3D in a Webpage

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.1 / Windows

Offline

 

#2 2007-11-19 11:02:57

jim_merry
Member

Registered: 2007-07-25
Posts: 16

Re: Acrobat 3D in a Webpage

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:

http://www.adobe.com/devnet/acrobat/?na … umentation

Under 'Javascript'


Jim Merry
Adobe Systems, Inc

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in