Hi,

When a callback function is called this runtime error occurs;
Uncaught TypeError: this.callback is not a function

Code looks like this:

<js:initialView>
    <views:SomePanel callback=“{callbackFunction}" />
</js:initialView>

(this.callbackFunction gives the same error BTW)

Inside the panel callback is defined as:

protected var callback:Function;

And called simply like so:
callback();

Thanks,
Justin

Reply via email to