MACROMEDIA FLEX-GETTING STARTED WITH FLEX Manuel d'utilisateur Page 115

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 148
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 147 148

Commentaires sur ces manuels

Pas de commentaire