On 2008-07-25, at 05:52EDT, Peter Hall wrote:

>> Not sure, but there might be something in the super syntax (eg,  
>> "super.x
>> = 10") that
>> would do this.  Hasn't been spec'd yet.  Not sure what AS3 does.
>>
>
>
> In AS3 it's like this:
>
> override function set bar (value) {
>     super.bar = value;
> }

So, can I say:

override function set * (id, value) {
   note('setting ' + id + ' to ' + value);
   super[id] = value;
}

?  (It seems currently, AS3 does not allow `super[]`?)
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to