
122
Use motion paths
Last updated 6/15/2014
4 Replace the highlighted code with button1_color. Make sure that the double straight quotation marks remain
around your element name.
The full statement appears as follows:
sym.$("button1_color").hide();
Note the similarities between the actions for this mouseout event and the previous script for the mouseover event.
5 Preview your Edge Animate composition in a browser by choosing File > Preview in your browser, or pressing
Ctrl+Enter (Windows)/Command+Return (Mac OS). Move your mouse over the first grayscale thumbnail image.
As soon as your mouse cursor moves over the grayscale thumbnail image, it becomes colorized. When you move
y
our mo
use cursor off of the image, the button appears to revert back to grayscale.
6 Return to Edge Animate and insert the mouseout event with the Hide Element action to the remaining four
colorized thumbnail buttons. Make sure to replace the highlighted code portion with the correct colorized version
of the thumbnail.
Editing the click event
One final fix is needed before all the events and actions work together. You may have noticed that clicking on the
buttons don’t move the playhead as you intend. The reason it no longer works is because the colorized thumbnails
overlap their grayscale counterparts, which block the click events. Your final step is to remove the click event from the
grayscale thumbnails and add them to the colorized thumbnails instead.
1 In the Timeline or the Elements panel, click the Open Actions button for each of the grayscale thumbnail elements.
2 Choose the click event tab on the script panel, and click the Minus button.
Edge Animate deletes the click event and all of its actions.
3 In the Timeline or the Elements panel, click the Open Actions button for each of the colorized thumbnail elements.
4 Click on the Plus button on the upper-left corner and choose click for the event.
Edge Animate adds a click event tab.
5 Choose the Stop at option, and as you did before, replace the millisecond argument with the corresponding label on
the Timeline.
Comentarios a estos manuales