Not exactly, a function implemented as a prototype still executes as an instance method. In a static function, you do not have access to this .
In addition, this does not mean setting a prototype value for something setting a value for each instance. This is only a fallback value unless an object of this class sets it explicitly.
var o1:Object= {}; var o2:Object= {}; Object.prototype.foo = "foo"; o1.foo = "bar" trace(o1.foo)
Kapep source share