
20.03.2004, 14:06
|
|
блогер
Регистрация: Mar 2003
Адрес: Моск. обл.
Сообщений: 5,269
|
maskw = getProperty("pic", _width);
maskh = getProperty("pic", _height);
maskx = getProperty("", _x);
masky = getProperty("", _y);
teilx = _root.picw/maskx;
teily = _root.pich/masky;
setProperty("pic", _x, Number(-maskw/teilx)+Number((maskw/2)));
setProperty("pic", _y, Number(-maskh/teily)+Number((maskh/2)));
|