MACROMEDIA FLEX-GETTING STARTED WITH FLEX Bedienungsanleitung Seite 115

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 148
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 147 148

Kommentare zu diesen Handbüchern

Keine Kommentare