![]() |
|
||||||||||
|
|||||
|
Регистрация: Sep 2010
Адрес: Moscow
Сообщений: 473
|
picture.onRollOver=Over; picture.onRollOut=Out; var speed=5; _root.onEnterFrame = function() { picture._x+=speed; trace(speed); if(picture._x>0){picture._x=-2712} }; picture.onRollOver= function() {trace("good"); if(speed>=0){ speed-=0.2; } } picture.onRollOut= function() { trace("Bad"); if(speed<5){ speed+=0.2; } if(speed>5){ speed=5; } } |
![]() |
Часовой пояс GMT +4, время: 21:45. |
|
|
« Предыдущая тема | Следующая тема » |
|
|