[ascoders] OOP
- From: "Peter Oliver Geller" <nc-gellerpe@xxxxxxxxxxxxx>
- To: <ascoders@xxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2003 09:44:30 +0100
Schönen guten Morgen,
ist es eigentlich möglich diese Methode an Textfelder zu übergeben?
MovieClip.prototype.getStage = function(){
this.width = this._width;
this.height = this._height;
this.x = this._x;
this.y = this._y;
this.left = this._x;
this.right = this._x + this.width;
this.halfwidth = this.width/2;
}
z.B.
TextField.prototype = MovieClip.prototype;
oder
TextField.__proto__ = MovieClip.prototype;
Peter
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- Follow-Ups:
- [ascoders] AW: OOP
- From: Timo Hölzer
Other related posts:
- » [ascoders] OOP
- [ascoders] AW: OOP
- From: Timo Hölzer