Adding JavaScript files to Adobe PDF documents
You can include a JavaScript (JS) file with an Adobe PDF document that has 3D content
by doing one of the following:
●
Send it as a separate file that users can load and run manually. Recipients must typically
save the JavaScript file to their hard drive. To activate the script, they select the 3D
design, right-click (Windows) or Control-click (Mac OS) the design, select Run A
JavaScript, and browse for the JavaScript file to load. This runs the script but doesn't save
it with the image.
●
Embed it as part of the 3D design. Embedding a JS file saves the JavaScript structure as
part of the PDF document after you save changes to the PDF document.
To embed a JavaScript file into a 3D model:
1. Using the Select Object Tool from the Advanced Editing toolbar, double-click the 3D
model.
2. In the 3D Properties dialog box, select Edit Content.
3. In the Add 3D Content dialog box, click Browse For Default Script, and locate the
JavaScript file.
The content of the 3D context menu may change after a JavaScript file has been
embedded in the 3D design. With JavaScript added, recipients can use the context menu to
increase or decrease the playing speed and to view animation properties.
Summary of Contents for ACROBAT 3D
Page 1: ......
Page 37: ...What s New in Adobe Acrobat 3D New features ...
Page 95: ...Finding Adobe PDF Files Using Organizer Using the Organizer window ...
Page 184: ...FORMS About Adobe PDF forms Setting Forms preferences ...
Page 241: ...Collecting Data from Submitted Forms Collecting form data by email ...
Page 316: ...SECURITY About security Viewing the security settings of an open Adobe PDF document ...
Page 423: ......
Page 508: ...Optimizing Adobe PDF Documents Using PDF Optimizer ...
Page 571: ...SEARCH AND INDEX About searching Adobe PDF documents ...
Page 602: ...PRINT PRODUCTION About print production in Acrobat ...
Page 729: ...SPECIAL FEATURES About document metadata About JavaScript in Acrobat About Digital Editions ...
Page 738: ...Working with JavaScript Working with JavaScript in Acrobat ...
Page 762: ...ADOBE VERSION CUE About Adobe Version Cue Getting help Key features of Adobe Version Cue ...
Page 809: ...Tutorial Version Cue Getting started with Version Cue ...
Page 821: ...Legal Notices Copyright ...