tut es auch, aber nur so - innerhalb von ScrollObj:
ScrollObj = function (x, y, sy, by) {
this._x = this.x;
this._y = this.y;
this.slider._y = this.sy;
this.butUp._y = this.by;
this.slider.onPress = ......
}
geht das nicht auch anders - ohne verschachteln zu müssen?
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------