Показать сообщение отдельно
Старый 08.12.2007, 20:24
Fl00r вне форума Посмотреть профиль Отправить личное сообщение для Fl00r Найти все сообщения от Fl00r
  № 5  
Ответить с цитированием
Fl00r
 
Аватар для Fl00r

Регистрация: Jun 2005
Адрес: dreams
Сообщений: 1,137
Отправить сообщение для Fl00r с помощью ICQ
А если тупо смещать по координатам?
Код:
this._x -= 5;
this._y -= 5;
В результате это выглядит так
Код:
var ms = new Array (_root.mc1, _root.mc2, _root.mc3, _root.mc4, _root.mc5, _root.mc6, _root.mc7, _root.mc8);
function scaleplus (name)
{
	name.onEnterFrame = function ()
	{

		if (this._xscale < 250)
		{
			this._xscale += 10;
			this._yscale = this._xscale;
			this._x -= 5;
			this._y -=5;
		}
	};
}
function scaleminus (name)
{
	name.onEnterFrame = function ()
	{
if (this._xscale > 100)
		{
			this._xscale -= 10;
			this._yscale = this._xscale;
			this._x += 5;
			this._y +=5;

		}
	};
}
for (i in ms)
{
ms[i].onRollOver = function ()
	{
		scaleplus (this);
		this.swapDepths (_parent.getNextHighestDepth ());
		this.updateAfterEvent ();
};
	ms[i].onRollOut = function ()
	{
scaleminus (this);
this.swapDepths (this.getInstanceAtDepth ());
		this.updateAfterEvent ();
};

}
__________________
Глупости какие-то говорите.