Crash when play a sound

Monkey Targets Forums/Flash/Crash when play a sound

Vinians(Posted 2011) [#1]
When I export my application to flash I'm getting an error. I'm using wav files. Does flash play wav files or I need to export it to ogg or mp3?


dave.h(Posted 2011) [#2]
i think its mp3 for flash


therevills(Posted 2011) [#3]
From the Monkey Docs:


Also, not all audio formats are supported by all targets:

wav : glfw, android, ios

mp3 : flash, android, ios

m4a : flash, android (PlayMusic only), ios

ogg : android




Vinians(Posted 2011) [#4]
Oops I'm sorry... I need to read the docs carefully...
Thanks to all


matty(Posted 2011) [#5]
I've found that m4a doesn't seem to work with flash - currently I have to swap out the music files whenever I compile for android/flash - ie use m4a with android ('cause it's nice and small) and mp3 for flash....