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
What about creating an external variable before referencing to 'this' object. For example:
var _this = this; this.chart.addEventListener('create', function() { _this.fireEvent('created'); }, false)