EDOBE XDOM EM Manual de usuario Pagina 132

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 131
128
Use motion paths
Last updated 6/15/2014
The next statement appears as follows:
mySymbolObject.play();
Note: Y
ou can combine the two statements into one line as follows, sym.getSymbol("moreinfo").play();
Reset the symbol animation
Now, you'll add a mouseout event for the triangle element to move its playhead back to 0 seconds to reset the animation.
1 In the Timeline or the Elements panel, click the Open Actions button for the triangle element.
The script panel for moreinfo button opens.
2 Step textClick on the Plus button on the upper left corner and choose mouseout for the event.
Edge Animate adds a mouseout event tab.
3 Choose the Get Symbol option, and replace the highlighted code with moreinfo.
The full statement appears as follows:
var mySymbolObject = sym.getSymbol("moreinfo");
4 On the next line in the script panel, choose the Stop at option.
Edge Animate adds a statement that stops the sym object, or the main Timeline. However, you want the symbol to
stop
its animation, not the animation on the main Timeline.
5 Replace sym with the variable, mySymbolObject, which refers to your symbol. Replace the 1000 default millisecond
argument with 0.
Vista de pagina 131

Comentarios a estos manuales

Sin comentarios