MACROMEDIA FLASH 8-DEVELOPING FLASH LITE 2.X Instrukcja Użytkownika Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 21
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 12
13
Adobe Flash CS3 Classroom in a Book
Lesson 9: Working with Sound and Video
In Lesson 9, students bring audio and video files
together with ActionScript to create a dynamic, interac-
tive wildlife preserve kiosk. As they work through the
project, students learn how to edit audio files, import
and optimize video files, and add ActionScript to load
external files.
Editing a sound clip
In Flash, you can change the point at which a sound
starts and stops playing, or control the volume of the
sound as it plays. In this lesson, students remove half
of the waveform of a sound to shorten the sound clip.
To edit a sound file, first add it to a frame, and click
Edit in the Property inspector.
• To change the start and end points of a sound, drag
the Time In and Time Out controls in the Edit Enve-
lope.
• To change the sound envelope, drag the envelope
handles to change levels at different points in the
sound. Envelope lines show the volume of the sound
as it plays. To create additional envelope handles (up
to eight total), click the envelope lines. To remove an
envelope handle, drag it out of the window.
• To display more or less of the sound in the window,
click the Zoom In or Out buttons.
• To switch the time units between seconds and frames,
click the Seconds and Frames buttons.
Preparing Flash video content
Before you import video into Flash, consider what vid-
eo quality you need, what video format to use, and how
to download it. When you embed a video into a Flash
document, it increases the size of the final SWF file that
you publish. The embedded video starts progressively
downloading to the viewer’s computer whether or not
they view the video.
You can also progressively download or stream the vid-
eo at runtime from an external Flash Video (FLV) file
on your server. When it starts downloading depends on
how you structure your application.
Note: Video progressively downloads from the server
like SWF files, which is not actually streaming.
Dynamically loading content has distinct advantages
over keeping all your content in a single SWF file.
For example, file sizes are smaller and load more
quickly, and viewers download only what they want
to see or use.
You can display external FLV video using a compo-
nent or a video object. A component makes develop-
ing applications with FLV video easy, because the
video controls are prebuilt, and you only need to
specify an FLV file path to play the content. The FLV-
Playback component in Flash CS3 Professional has a
smaller file size than Media components in earlier ver-
sions of Flash. It is usually a good idea to give viewers
some control (such as the ability to stop, pause, play,
and resume the video, and control volume) over the
video in a SWF file.
For more control over a video instance than the Video
class allows, place video inside a movie clip instance.
The video’s timeline plays independently from a Flash
timeline, and you can place the content inside a movie
clip to control timelines.
Tips for creating Adobe Flash Video
Follow these guidelines to deliver the best possible
Flash video:
Work with video in the native format of your project until
your final output
If you convert a precompressed digital video format
into another format such as FLV, the previous encoder
can introduce video noise. The first compressor already
applied its encoding algorithm to the video, reducing
its quality, frame size, and rate. That compression may
have also introduced digital artifacts or noise. This
additional noise affects the final encoding process, and
a higher data rate may be required to encode a good-
quality file.
LESSON 9
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 19 20 21

Komentarze do niniejszej Instrukcji

Brak uwag