Thanks -- yeah it seems like the something's happening on the stomp / callback
before it's getting to me.
Have another quickie about itemrenderers and factory properties, but going to
ask on another thread.
On Sep 22, 2011, at 2:11 PM, Alex Harui wrote:
>
>
> IMHO anonymous functions are w
IMHO anonymous functions are way more trouble than they are worth. If I had
the time, I would eliminate them from all framework code.
Looks from the stacktrace that someone is using apply() to change the this
pointer.
On 9/22/11 10:46 AM, "grimmwerks" wrote:
Not getting an error, just
Not getting an error, just getting ignored and the function is never called.
var scope:Object = this;
private var echoOrderCacheEvent:Function =
function(jstr:String):void{
Alert.show(this);
trace(scope);
I don’t know why passing in echoEvent wouldn’t work. What error did you get?
Another options are to pass in a third parameter as the object for use in call
or apply.
You can theoretically do this as well in the constructor of the class:
Public function MyClassConstructor()
{
var thisObject:
OK I don't mean to make this a bit convoluted - but I guess the basics of the
question is regarding using anonymous functions within a member class and being
able to set variables within that member class.
The convoluted question is this: I've got in my app an Interface class that
has pointers
5 matches
Mail list logo