this.onready = function(oMethod, oScope) {
var sType = 'onready';
if (oMethod && oMethod instanceof Function) {
// <d>
if (_didInit) {
_s._wD(_str('queue', sType));
}
// </d>
if (!oScope) {
oScope = _win;
}
_addOnEvent(sType, oMethod, oScope);
_processOnEvents();
return true;
} else {
throw _str('needFunction', sType);
}
};How would I use this function in GM? I also tried to follow the tutorial but it didn't help me.I put in the file in the extension area and I put in the function "onready" but it didn't do anything when I try to test it
if onready = true
draw_text(32,32,"READY!");Here is the link to the SoundManager2 project pagehttp://www.schillmania.com/projects/soundmanager2/











