Found a small problem with this...
Code: Select all
SFS2X.EventDispatcher.prototype.removeEventListener = function (a, b)
{
var c = this.listenersByEvent[a];
if (null != listenersByEvent)
{
for (var d = 0; d < c.length; d++)
{
if (c[d].listener === b)
{
c.splice(d, 1);
break
}
}
}
};Thanks
osc23