文章目录

以前测试的时候就发现这个问题了,不过没有深究,这次正式要用到了,才知道原来有个步骤没有做。

1
2
3
4
5
6
7
8
9
import com.greensock.TweenLite;

import com.greensock.plugins.TweenPlugin;

import com.greensock.plugins.AutoAlphaPlugin;

TweenPlugin.activate([AutoAlphaPlugin]);//要先注册才能使用autoAlpha ,在TweenLite.as中有说明。

TweenLite.to(mc,1,{autoAlpha:0});

♦ 本文固定连接:https://www.gsgundam.com/archive/2013-03-08-tweenlitee-register-autoalpha-before-use/

♦ 转载请注明:GSGundam 2013年03月08日发布于 GSGUNDAM砍柴工

♦ 本文版权归作者,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。

♦ 原创不易,如果页面上有适合你的广告,不妨点击一下看看,支持作者。(广告来源:Google Adsense)

♦ 本文总阅读量