132
Chapter 7: Adding Boxes and Buttons
To add JavaScript to a new box or button:
1.
Open an Adobe Captivate project.
2.
Select the slide to which you want to add a box or button with JavaScript.
3.
From the Insert menu, select Click Box, Text Entry Box, or Button.
4.
In either On success or After last attempt, select the Execute JavaScript option.
5.
Click More.
The JavaScript dialog box appears.
6.
Enter your JavaScript code in the text box. If you have the JavaScript in another location, you
can copy it and paste it into the text box.
7.
Click OK.
8.
Click OK again.
To add JavaScript to an existing box or button:
1.
Open an Adobe Captivate project.
2.
Double-click the slide containing the box or button to which you want to add JavaScript.
3.
Double-click the box or button to which you want to add JavaScript.
4.
In either On success or After last attempt, select the Execute JavaScript option.
5.
Click More.
The JavaScript dialog box appears.
6.
Enter your JavaScript code in the text box. If you have the JavaScript in another location, you
can copy it and paste it into the text box.
7.
Click OK.
8.
Click OK again.
Adding existing audio to boxes and buttons
You can import an audio file to use with buttons, highlight boxes, click boxes, or text entry boxes.
You can also use the Library to add an audio file that is already in your current project.
To import an audio file:
1.
Open an Adobe Captivate project.
2.
Select the slide that contains the button or box to which you want to add audio, and then click
the button or box.
3.
Click the Audio tab.
4.
Click Import.
Tip:
Adobe Captivate contains a gallery that has buttons, sounds, and animations (in SWF format)
for you to use in your projects. By default, the gallery is stored in the following location when you
install Adobe Captivate: C:\Program Files\Adobe\Adobe Captivate 2\Gallery.
5.
Browse to the audio file you want to add, select the file, and click Open.
Содержание CAPTIVATE 2
Страница 1: ...Using Adobe Captivate Adobe Captivate 2 ...
Страница 8: ...8 Contents ...
Страница 18: ...18 Chapter 1 Introduction and Installation ...
Страница 30: ...30 Chapter 2 Exploring the Workspace ...
Страница 70: ...70 Chapter 3 Creating Projects ...
Страница 106: ...106 Chapter 5 Adding Audio and Video ...
Страница 134: ...134 Chapter 7 Adding Boxes and Buttons ...
Страница 140: ...140 Chapter 8 Editing Mouse Movement ...