EDOBE XDOM EM Manual do Utilizador Página 127

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 138
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 126
123
Use motion paths
Last updated 6/15/2014
6 Preview your Edge Animate composition in a browser by choosing File > Preview in your browser, or pressing
Ctrl+Enter (Windows)/Command+Return (Mac OS).
Your buttons are complete. When you move your mouse over them, they become colorized. When you move your
mo
use o
ff of them, they revert to grayscale, and when you click on them, Edge Animate displays the corresponding
image from the slideshow.
Using the Code panel to make global edits:
Ma
king global edits as you did in this task, such as deleting all the click
events from a set of elements, can be arduous because of the need to select and modify each element. However, using
the
Code panel can be a huge time-saver if youre careful about selecting and editing code.Open the Code panel by
choosing Window > Code, or pressing Ctrl+E (Windows)/Command+E (Mac OS), and choose the Full Code mode.
Examine the code for all the click events (which are referred to as "click") for all the desired elements. Delete everything
that begins with the statements that include the click event and ends with //Edge binding end.
Events for the mouse and for touch devices: The
fo
llowing list explains the available events that you can attach to
your elements for interaction with the mouse or with a touch. For most users, the click event or touchstart event will
be su
fficient for all projects.
click, an event that happens when the mouse button is pressed and released.
dblclick, an event that happens when the mouse button is pressed and released twice in rapid succession.
mouseover, an event that happens when the mouse cursor moves over an element.
mousedown, an event that happens when the mouse button is pressed.
mousemove, and event that happens whenever the mouse cursor moves within an element.
mouseup, an event that happens when the mouse button is released.
mouseout, an event that happens when the mouse cursor moves off of an element.
touchstart, an event for touch devices when a user touches an element.
touchmove, an event for touch devices that happens when the user touches and drags a finger over an element.
touchend, an event for touch devices that happens when the user stops touching an element.
Other user events such as keyboard presses are also available, but not for individual elements. Key presses are associated
wit
h the Stage element, and you'll explore those and other kinds of events in the next lesson.
Customizing the mouse cursor
In addition to the visual feedback that you can provide by changing the appearance of the button when the user
interacts with it, you can also change the appearance of the cursor itself. Often, the default arrow cursor on a desktop
or laptop browser changes to a hand (known as the pointer cursor) when it hovers over an interactive element or
hyperlink. You can choose to change the cursor to a pointer, or choose from among dozens of other cursor types.
Vista de página 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 137 138

Comentários a estes Manuais

Sem comentários