tags:

views:

32

answers:

1

Dear all, how can i play wave file using flash .

I m able to play mp3 files using following code

<embed id="wmp" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="true" width="320" height="240" loop="false"
src=<%= request.getParameter("url") %> />
A: 

Not shore if wave formated audio is supported in adobe flash. Wikipedia does not mention support for wave audio http://en.wikipedia.org/wiki/Adobe_Flash#Flash_Audio

Edit: found this answer on the topic. (how to play wav audio in flash) http://stackoverflow.com/questions/668186/can-the-flash-player-play-wav-files-from-a-url

According to that article wav audio is not natively suppported by flash but their is some workarounds

nils