1.::SWF::Sound(3)      User Contributed Perl Documentation     .::SWF::Sound(3)
2
3
4

NAME

6       SWF::Sound - SWF Sound class
7

SYNOPSIS

9               use SWF::Sound;
10               $sound = new SWF::Sound("test.mp3");
11               # also via SWF::SoundStream:
12               $sstr  = new SWF::SoundStream("test.mp3");
13               $sound = new SWF::Sound($sstr);
14               #
15               $movie->startSound($sound);
16

DESCRIPTION

18       SWF::Sound is a helper class useful for making noise of every kind...
19

METHODS

21       $sound = new SWF::Sound($filename, [$flags])
22       $sound = new SWF::Sound($soundstream)
23           Both types of constructor method are creating a Sound object. The
24           first one uses a filename (e.g. of mp3 file), the second one is
25           operating on an already created SWF::SoundStream object. The first
26           constructor type also accepts flags for file description,
27           SWF_SOUND_MP3_COMPRESSED is one of them. More flags are part of
28           SWF::Constant class. The created object can be used for example as
29           parameter in SWF::Movie's startSound() method.
30

AUTHOR

32               developers of ming.sourceforge.net, Albrecht Kleine
33

SEE ALSO

35       SWF, SWF:: Movie, SWF::MovieClip, SWF::Button, SWF::SoundInstance,
36       SWF::SoundStream, SWF::Constants
37
38
39
40perl v5.30.0                      2019-10-02                  .::SWF::Sound(3)
Impressum