BlendMode.LAYER

SNAG-000

当为包含子对象的DisplayObject或MovieClip设置alpha值的时候,默认是会把所有子对象都设置透明再叠加在一起,如中图的情况。如果把层混合模式设置为: BlendMode.LAYER ,Flash会认为该对象只有一层,而不会产生叠加的情况,如右图。

很有用的技巧,谢谢 Zedua flash blog 的分享。

ps. MXNA 变身 Adobe Feeds 回来了。

Bookmark and Share

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Comments :