Ну очень улыбнуло!!!
Анимация формы во Flash(морфинг). - (5)Анимация формы во Flash(морфинг) Морфинг отличается от предыдущих типов анимации тем,что работает...
Урок для Фотошоп " Закрываем глазки". - (11)От меня добавка - Кисти для фотошоп "Ресницы" Вложение: 4167720_eyelashes.rar Смотреть зде...
Анимация частей картинки с помощью маски.Урок для Adobe Flash. - (2)В комментариях к посту Использование анимированной маски в Adobe Flash.Урок ...
Текстовый скроллинг средствами флеш. - (0)Текстовый скроллинг. Прокрутка текста средствами флеш. (Часть п...
Плеер с календариком, часиками и приветствием «Снег с блёстками» |
Cообщение скрыто для удобства комментирования.
Прочитать сообщение
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |
code:
stop ();
for (i = 1; i <= 300; i++)
{
_root.attachMovie("flocon", "flocon" + i, i);
_root["flocon" + i]._x = 10 + random(700);
_root["flocon" + i]._y = 10 + random(400);
}
b1.onPress = function ()
{
gotoAndStop(2);
};
s1.onPress = function ()
{
gotoAndStop(1);
};
code:
stop ();
for (i = 1; i <= 300; i++)
{
_root.attachMovie("goutte", "goutte" + i, i);
_root["goutte" +i]._x = 10 + random(730);
_root["goutte" +i]._y = 10 + random(550);
} // end of for
code:
this.vitesse = random(4) + 1;
this.coef = random(60) + 10;
this._xscale = coef;
this._yscale = coef;
this._alpha = random(80) + 10;
this._rotation = random(360);
this.onEnterFrame = function ()
{
this._y = this._y + vitesse;
if (this._y > 440)
{
this._y = -10;
this.vitesse = random(4) + 1;
coef = random(60) + 10;
this._xscale = coef;
this._yscale = coef;
this._alpha = random(80) + 10;
this._rotation = random(360);
} // end if
};
code:
coef = random(100);
this._xscale = coef;
this._yscale = coef;
this._alpha = 100 - coef;
this.onEnterFrame = function ()
{
this._xscale = this._xscale + 3;
this._yscale = this._yscale + 3;
this._alpha = this._alpha - 3;
if (_alpha <= 0)
{
this._x = 10 + random(730);
this._y = 10 + random(550);
coef = random(100);
this._xscale = coef;
this._yscale = coef;
this._alpha = 100 - coef;
} // end if
};
|
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |