MACROMEDIA FLEX-GETTING STARTED WITH FLEX Manual do Utilizador Página 115

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 148
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 114
</mx:Canvas>
<mx:HBox>
<mx:Button id="btnPlay" label="Pause" click="onPlay()" />
<mx:Button label="Rewind" click="{cntlDisp.playheadTime =
0;}" />
</mx:HBox>
</mx:Application>
The UpdateUI
method monitors the position of the play head
and then shows or hides the overlay text depending on where
the movie is in its playback. The overlay itself has a black back-
ground with an alpha so that you can still see the video through
the overlay (see Figure 6-11).
Using the powerful states and transitions in Flex, you could
easily have the cue pop out from below the video and then
recede when the cue is no longer applicable.
Figure 6-11. A cue overlaid on top of the video display
Creating Better Movies | 99
Vista de página 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 147 148

Comentários a estes Manuais

Sem comentários