I have a third party flash object which i can manipulate through a javascript API they provided. I am tryind to listen to an event on this object and then fire event inside my object to further bubble up the event. I happen to being using EXT Js but i dont think its important here.
Sample code
this.chart.addEventListener('create', function() {
this.fireEvent('created');
}, false)
My problem is that 'this' inside the anonymous function refers to the object that fired the event rather than my object that I want to fire an event on.
Its yet another scope issue. Thanks in advance for any help.