Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 3.0 (http://www.flasher.ru/forum/forumdisplay.php?f=83)
-   -   tint (http://www.flasher.ru/forum/showthread.php?t=178207)

Halfist 17.04.2012 03:49

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!

udaaff 17.04.2012 07:04

Название темы не раскрывает сути вопроса.
У нас тут по-русски принято писать.


Часовой пояс GMT +4, время: 13:43.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.