
119
Use motion paths
Last updated 6/15/2014
3 Position your cursor on the second line of the script pane (after the first line of comments), and choose the Show
Element option.
Edge Animate adds the JavaScript code to display an element. The highlighted portion of the code is the name of
the elemen
t to display.
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").show();
The dollar sign and parentheses is jQuery syntax, and it tells the browser what element to select. In this statement,
t
he elemen
t called button1_color in the current Edge Animate composition is selected, and the method called
show() is executed.
Kommentare zu diesen Handbüchern