Adobe Captivate CS 5.5, Mac, DVD, ENG Especificaciones Pagina 173

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 172
167
USING CAPTIVATE
Variables and Advanced Actions
Last updated 9/28/2011
Create variables for the project
1 Select Project > Variables.
2 Create a variable named varUserName, with the value user. For more information, see “Create a user-defined
variable” on page 162.
3 Create a variable named varPassword with the value password.
Create objects for the slides
1 In an open project, insert two text entry boxes for the user name and password. The text entry boxes must be set to
act as form fields.
Note: To set a text entry box to act as a form field, select it and then deselect Validate User Input in the Property
Inspector.
2 Delete the Submit button from the User Name field.
3 Set the following options for user name:
In Actions, go to On Success, and select No Action.
Deselect Infinite Attempts.
Note: This option is disabled automatically when you disable Validate User Input.
In the Action area of the Property Inspector, select Continue in the Last Attempt field.
Associate the field with the variable varUserName in the Var Associated field (General area of the Property
Inspector).
4 Double-click the text entry field for the password, and set the following options:
In the On Success field, select Continue.
Deselect Infinite Attempts.
In the After Last Attempt menu, select Continue.
In Variable Associated, select varPassword.
5 Insert a text caption and do the following:
Enter the following text on the caption: Invalid username/password. Please try again.
In Item Name, change the name of the caption to FailureCaption. Deselect the Visible option. Doing so hides
the caption until the conditions in the script enable the caption.
6 Insert a blank slide.
7 Insert a text caption with the text Welcome and the variable varUserName in the format Welcome
$$varUserName$$.
8 Save the project as variables.cp.
Create an advanced action for the login slide
The advanced action for the login slide must do the following:
Check whether the correct information has been entered in the login and password fields.
Move to the next slide if the information is correct.
Vista de pagina 172
1 2 ... 168 169 170 171 172 173 174 175 176 177 178 ... 263 264

Comentarios a estos manuales

Sin comentarios