VIEWED

你最近在本小站看过的文章
  1. 1站酷志第三期!! - [2008-10-08]

flash使动态文本可透明化

也许你也会知道,默认情况下flash的动态文本设置了透明度是不起作用的,我们可以通过以下方法让它可透明化 

//使动态文本可透明化
_global.enabledAlpha = function(my_txt:Object) {
 import flash.filters.BlurFilter;
 var txt_blur:BlurFilter = new BlurFilter(0, 0, 0);
 my_txt.filters = [txt_blur];
};
_global.disabledAlpha = function(obj:Object) {
 obj.filters = null;
};

问题解决!!

No Response to flash使动态文本可透明化 »

还没有任何评论。

Leave a Reply

Email address is not published

You should say a Chinese word to pass spam check. If you can not input Chinese, just copy 你好 and paste them into comment text box.