Hi,
I am using the mx.utils.Delegate.create class to run a function after an event listener is invoked such that:
datareceiver.onLoad = mx.utils.Delegate.create(this,dothis);
The dothis function executes properly, but datareceiver becomes unscopeable in the dothis function. datareceiver is receiving variables back from a php script, so I need access to datareceiver.returnData So, in the dothis function I want to do something like:
this.php_response.text = datareceiver.returnData;
How is this accomplished? and if you could provide a bit of theory behind it that would be great…TIA