EDOBE XDOM EM Manual do Utilizador Página 132

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 138
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 131

Comentários a estes Manuais

Sem comentários