MACROMEDIA FLEX-GETTING STARTED WITH FLEX Instrukcja Użytkownika Strona 115

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 148
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 147 148

Komentarze do niniejszej Instrukcji

Brak uwag