MACROMEDIA FLASH 8-FLASH Especificaciones Pagina 217

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 290
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 216
Add a script to a button by using Script Assist mode 217
10. In the Frame text box, enter home.
Modifying function parameters to complete the script
The changes you made with Script Assist mode are displayed in the
ActionScript editor. Youve just created a script without manually writing
code in the ActionScript editor.
When you test the application, clicking the Home button will display the
title “Home” in the Title movie clip, indicating that the Home frame is
currently displayed.
Clicking the Home button displays “Home” in the Title movie clip.
You could repeat this process for the About, Products, and Contacts
buttons. However, for these buttons you’ll use an alternative and preferred
method for creating scripts.
In each case, you want to display the related frames on the Timeline when
each of the buttons are clicked; therefore, you will set the frame target of
the
gotoAndStop() function to the About, Products, and Contacts frames,
as youve just done for the Home button.
Vista de pagina 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 289 290

Comentarios a estos manuales

Sin comentarios