摘要:
动态更改mc的颜色: var a:colorTramsformt = new colortransform(); a.color = 0x000000; mc.transform.colorTransform = a;//这样就能代码控制更改一个mc的颜色啦更改文本样式: var txt:TextFormt = new TextFormt("黑体",15,0x00ff00)//定义文本样式格式 //然后直接将其引用给文本就行 txt1.setTextFormat(txt).图片绑定: import flash.display.Bitmap;//导包,为引用绑定的图片做准备; 阅读全文