Показать сообщение отдельно
Старый 16.07.2003, 16:34
llllllllll вне форума Посмотреть профиль Отправить личное сообщение для llllllllll Найти все сообщения от llllllllll
  № 5  
llllllllll

Регистрация: Feb 2001
Сообщений: 1,893
Значится так

MovieClip.prototype.addProperty("x",function () {
this.$x = this._x;
ASSetPropFlags(this, ["$x"], 6,1);
return this.$x
},null ); - это чтоб для каждого


Это чтоб без того что здесь не нужно ...

MovieClip.prototype.addProperty("y", function () {
if(this.$y == undefined) this.$y = this._y;
return this.$y
}, null);

, а можно и так ...

MovieClip.prototype.getY = function(){
if(this.$y == undefined) this.$y = this._y;
return this.$y;
}

... да и для OnRollOver - HitTest - особо не нужен