博客首页
  • 用户名
  • 密码
  • 验证码
  • 网校首页
  • 博客首页
  • 论坛首页
kid’s monocle
囧囧有神
个人资料
博客文章
2009年11月10日 15:52

改变颜色

var theColor=new ColorTransform;
theColor.color = 0xFF0088;
ball.transform.colorTransform=theColor;

改变物件颜色偏移量:

var color1:ColorTransform = new ColorTransform(1, 1, 1, 1, 55, 0, 55, 0);
ball.transform.colorTransform= color1

///括号中参数依次为 红、绿、蓝、透明乘量(-100~100),红、绿、蓝、透明偏移量(-255~255)。

日志分类:爱技术爱生活 | 阅读(1330) | 收藏(0) | 评论(2) | 打印

 评论读取中...
  • 发评论 (限500字以内)
  • 昵称:
  • 验证码:
  •  



以上网友发言只代表其个人观点,不代表中华会计网校博客的观点或立场。
array(2) { ["submit"]=> string(0) "" ["s"]=> string(0) "" } here