--- In [email protected], Alex Harui <aha...@...> wrote:
>
> If your override is exactly as you posted:
> override public function set data(value:Object):void { }
> 
> then the override never passed the value to the base class 
implementation so the value wasn't stored and the debugger will read 
from the "get data()" function and show you a null.
> 
> In the base class the setter does this:
> 
>                 _data = value;
> 
> And the getter does this:
> 
>                 return _data;
> 
> where _data is defined as:
> 
> private var _data:Object;

I'm pretty sure the function he posted included
super.data=value;

Wouldn't that pass the value to the base class implementation?

Just making sure I'm not confused and he doesn't get unnecessarily 
confused on this.

Thanks;

Amy

Reply via email to