Тема: tint
Показать сообщение отдельно
Старый 17.04.2012, 03:49
Halfist вне форума Посмотреть профиль Отправить личное сообщение для Halfist Найти все сообщения от Halfist
  № 1  
Halfist

Регистрация: Feb 2012
Сообщений: 63
По умолчанию tint

I wanna do tint and after defined time reverse it.

Код AS3:
import com.greensock.*;
import com.greensock.plugins.*;
TweenPlugin.activate([TintPlugin]);
TweenLite.to(mc, 2, {tint: 0xff0000});
/* TweenLite.to(mc, 2, {delay: 2, removeTint: true}); */

What can I see?
1. If I'm only tint (without "untint"), then tint real works.
2. If I do tint and then "untint" after 2 seconds after tint (using delay property), then I see no tinting at all.

Appreciate your help!