119
USING ADOBE CAPTIVATE 5
Widgets
Last updated 4/22/2010
Create widgets
Create static widgets
1 In Adobe Captivate, select File > New > Widget in Flash.
2 In the Create New Widget dialog box, select Static in the Widget menu and then click OK.
3 In Flash, right-click (Windows) or Control-click (Mac OS) the Actions layer in the Timeline, and select Actions.
4 The Actions panel appears with the template code for the static widget. Customize this code to create your widget.
Create interactive widgets
1 In an open project, select File > New > Widget In Flash.
2 In the Create New Widget dialog box, do the following:
a In the Widget menu, select Interactive.
b In the ActionScript Version menu, select the ActionScript version that you plan to use when writing the widget
code in Flash.
c Click OK.
3 In Flash, select Window > Actions.
4 The Actions panel appears with the template code for the interactive widget. Customize this code to create your
widget.
Create question widgets
1 Select File > New > Widget In Flash.
2 In the Create New Widget dialog box, select Question and then click OK.
3 In Flash, right-click (Windows) or Control-click (Mac OS) the Actions layer in the Timeline, and select Actions.
4 The Actions panel appears with the template code for the question widget. Customize this code to create your
widget.
Note: You can add question widgets to question pools. They are treated as any other question slide.
Create a .wdgt file
A WDGT file is a widget format in which the widget uses linked files.
The WDGT file is a file with .wdgt extension containing linked SWF files, and a description.xml file that contains
information about the linking.
1 Publish the FLA as a SWF file in Flash.
2 Create a description.xml file. If the main SWF file, ABC.swf, uses two linked files PQR.swf and XYZ.swf, the
description.xml file is in the following format: