0

I'm unable to play wav sound with Flixel library. By the way I'm using Flashdevelop.

Error: 'pick.wav' does not have a recognized extension, and a mimeType was not provided

[Embed(source = "pick.wav")]
private var picksound:Class; 

Error: Unable to transcode pick.wav.

marko
  • 10,684
  • 17
  • 71
  • 92

2 Answers2

1

You need to convert the .wav to .mp3

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html

crooksy88
  • 3,849
  • 1
  • 24
  • 30
1

You cannot embed a .wav, but you can import one into the Flash IDE and compile an .swc

After that you can add the .swc to your project and then create an instance of your Sound

prototypical
  • 6,731
  • 3
  • 24
  • 34