ITeye博客

Flash Tip(3) MovieClip 由 colorTransform 改变颜色会覆盖 内部的Child MovieClip 解决办法

shine1200 · 2011-12-30 10:57 · Web前端 · Markdown

Flash Tip(3) MovieClip 由 colorTransform 改变颜色会覆盖 内部的Child MovieClip 解决办法 分类: Flash ActionScript 基本用法 2008-09-26 09:55 296人阅读 评论(0) 收藏 举报 通过加入背景色MovieClip 来实现Background变化效果,从而避开这个问题。

我找见更好的办法是 用Graphics.Fill的方法 来绘制背景色

var rectangle : Rectangle = this.getBounds(this); this.graphics.beginFill(0x333333); this.graphics.drawRect(0,0,rectangle.width,rectangle.height); addChild(mBrandImage);

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。