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

About adding javascript to 3d module?

joycexia
joycexia's picture
Registered: Jan 11 2007
Posts: 4

If I know nothing about javascript, can I just add some javascript to my 3d module?
I want to add a explode button,implode button and reset button .How should I do that?

My Product Information:
Acrobat 3D 7, Windows
thomp
thomp's picture
Expert
Registered: Feb 15 2006
Posts: 4411
Animations like exploding parts are part of the 3D model and are created before it is imported into a PDF. JavaScript is used to activate and control the existing "Key Frame" Animation in the 3D model. Unfortunately this is not somehting simple to do, but you have a few options. You can look over the material on the 3D corner and learn a bit about how all this is done, hire someone who can do it for you, or get an upscale 3D tool like Right Hemishpere that will set things up for you.

Cheers,
Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://partners.adobe.com/public/developer/en/acrobat/sdk/
pdf/javascript/AcroJS.pdf]Acrobat JavaScript Reference[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script