Показать сообщение отдельно
Старый 30.08.2008, 16:21
Toxedo вне форума Посмотреть профиль Отправить личное сообщение для Toxedo Найти все сообщения от Toxedo
  № 3  
Ответить с цитированием
Toxedo

Регистрация: Oct 2007
Сообщений: 85
Код:
i = 1
a = "mc"
ang = 1 + Math.random()*10-10/2;
Speed = 8;
onEnterFrame = function(){
	this[a+i]._x+=Speed*Math.cos(ang);
	this[a+i]._y+=Speed*Math.sin(ang);}
			
onMouseUp = function(){
	i++
	this.attachMovie("ss", a+i, this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse });
	trace ([a+i])
	}