EDOBE XDOM EM User Manual Page 114

  • Download
  • Add to my manuals
  • Print
  • Page
    / 138
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 113
110
Use motion paths
Last updated 6/15/2014
6 Add similar click events to all the other grayscale thumbnail images, with the Stop at option. Be sure to change the
arguments for each stop() method as follows, so the playhead stops at different times to display a unique larger
image on the Stage:
The stop() method for button1_gray should go to 0 milliseconds.
The stop() method for button2_gray should go to 2000 milliseconds.
The stop() method for button3_gray should go to 4000 milliseconds.
The stop() method for button4_gray should go to 6000 milliseconds.
The stop() method for button5_gray should go to 8000 milliseconds.
Navigating the Code panel
Your travel slideshow is now interactive, where users can click to see any of the images. But your code appears to be
scattered among many different elements. How can you view all the code for your Edge Animate composition together?
The answer is in the Code panel, which you can open by choosing Window > Code, or pressing Ctrl+E (Windows) or
Command+E (Mac OS).
Viewing your code
The Code panel displays all the code in your Edge Animate composition—both the code that is automatically generated
for every project, and the code that you insert yourself.
1 Choose Window > Code, or press Ctrl+E (Windows)/Command+E (Mac OS).
The Code panel opens. The Code panel is similar to the other script panels for triggers, events, and actions.
2 Click on the Full Code button on the far right side of the panel to toggle between Full Code mode and non-Full Code
mode.
In Full Code mode, Edge Animate displays the entire code for the JavaScript file for the Edge Animate composition.
S
cr
oll down to see the script for all your thumbnail elements as well as the trigger. The code that this represents is
contained in the file 05_workingcopy_edgeActions.js.
Page view 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 137 138

Comments to this Manuals

No comments