Hi,
You have an mp3 uploaded into the game i'm assuming.
Take all the meta-data out of that mp3 (right click, properties, all the non-static information, remove it). Also convert the mp3 down to 64 or 128 kbit rate.
Samples hz | Bit Depth | Bitrate (kbps) |
44.1khz | 16 | 128 |
Files encoded using 'standard' MP3 format at CONSTANT bit rate will normally play, provided the sample rate is a multiple of 44.1kHz - other 'interpolating' sample rates cause Flash Player to speed up the playback. Sample rates of 96000, 44100, 22050 and 11025 samples/second at 8, 16 and 32 bit depth will all work fine.
Why is this an issue in Stencyl?I can act like I know for sure, but I don't. I think Adobe Flash auto-converts uploaded files to the library to working formats for flash player, as where stencyl just uploads your files as-is.
To ask that stencyl auto-converts our media is a bit much, so it's perhaps one slightly 'advanced' thing we have to do when working with Stencyl.
Perhaps an update will be made in the future to resolve this.
You may need to remove all sounds, re-convert them, add them again, then select the sound files in code again as they will reference to nothing since you removed their previous references.
If you need help converting the sounds to the above mentioned, I (or i'm sure others) can help you with that no problem, assuming that your version of the write problem is this issue, and not something else. You can toss the files to
support@wrathgames.com if you would like me to convert them for you.
Best of luck.
Edit/ps:
-I only figure this is the problem because I just had to deal with it in one of my projects. Testing worked fine, export to swf did not until I performed the above mentioned procedure.