
05.09.2005, 11:23
|
|
Регистрация: Jul 2005
Сообщений: 225
|
Class=function(){
this.a=false;
this.watch("a", this.WatchMethod)
}
...
Class.prototype.WatchMethod =function (prop,oldVal,newVal){
if {oldVal !=newVal) trace ("property has changed!");
return newVal ;
}
....
|