Here is the object that loads all the music.
//Create: var extension; if os_browser=browser_firefox or os_browser=browser_opera extension=".ogg" else extension=".mp3" sound_add(mFile+extension,1,1) //Sound Loaded: music=ds_map_find_value(async_load,"id") sound_loop(music) instance_activate_all() instance_destroy()
It should work, but it hangs at the loading screen. I noticed that when I could get it to work in my other gmx, it showed the message "SoundSuspended: <File>" while in my game it didn't. This means that the sound didn't load at all for some reason. I tested it in Firefox and Chrome. Here is the source code so you can test it.
Edited by GameRoom, 02 August 2012 - 12:17 AM.











