Questions about setters

Peter Hall peter.hall at memorphic.com
Fri Jul 25 02:52:05 PDT 2008


> 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;
}




Peter



More information about the Es4-discuss mailing list