Get your own customer support community
 

Sound ID undefined in whileplaying callback?

Hi, Scott.

First, thank you for creating this great library.

I have a problem: it seems that inside a whileplaying callback function this.id is undefined.
Is this normal?

For example:

soundManager.createSound(
{
id: someId,
url: someUrl,
whileplaying: function() {soundManager._writeDebug("Sound id:" + this.id);}
}

will print "Sound Id: undefined"

Thanks in advance,

Francis
Inappropriate?
1 person has this problem

The company marked this problem solved.


User_default_medium