December 14, 2017, 06:42:48 PM

Author Topic: Can't use .mp3 files with Sfx class?  (Read 52 times)


  • Newbie
  • *
  • Posts: 4
    • View Profile
Can't use .mp3 files with Sfx class?
« on: November 27, 2017, 03:23:40 PM »

I can't seem to use my .mp3 files with Sfx class, .wav works. MP3s do not get copied to the bin directory and even if I copy manually it doesn't work anyway on any targets. I even tried some random .mp3s and none of them work. When I compile to windows (cpp), at run time it gives an exception with something like "No sound asset with this ID found "path/here.mp3"". Yes the path and the file name is definitely correct.
Anyone ever had this?

EDIT: hmm .OGG seems to work as a work around


  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 86
    • View Profile
Re: Can't use .mp3 files with Sfx class?
« Reply #1 on: November 27, 2017, 07:22:57 PM »
I'm pretty sure OpenFL/Lime doesn't currently support MP3 on desktop. Looks like this may be coming: