You need to use the Delegate in your addEventListener line - because you're
passing clickTab to a completely different object, which will later call
back to clickTab, but doesn't have the correct context. Passing
this.clickTab isn't enough - passing Delegate.create(this,clickTab) should
be enough. I know it's odd.

This is changed in AS3.

Ian

On 11/13/05, Bruno Mosconi <[EMAIL PROTECTED]> wrote:
>
> Why delegate if the method is inside the same Class?
>
> thanks
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to