I am trying to use the 'Sound' object to play wav file. It
seems that it only works with mp3 not wav. I am using Flex 2.0 beta
2. The documentation is not very clear on what formats can be used
with Sound class.
The Flash Player will only play mp3 file. You will need to
convert your wav
into an mp3. Google mp3 converter to find a utility to do
The documentation for flash.media.Sound mentions in several
places that an
mp3 is required.
From the docs:
The Sound class lets you work with sound in an application.
The Sound class
lets you create a new Sound object, load and play an external
MP3 file into
that object, close the sound stream, and access data about
the sound, such
as information about the number of bytes in the stream and
Can you tell us where you looked in the documentation?
Perhaps we are not
mentioning the mp3 requirement in a more obvious place. If
so, we can update
"liaod" <firstname.lastname@example.org> wrote in message
>I am trying to use the 'Sound' object to play wav file.
It seems that it
> works with mp3 not wav. I am using Flex 2.0 beta 2. The
> very clear on what formats can be used with Sound class.