代码如下:
import flash.geom.ColorTransform; var colorInfo:ColorTransform = mymc.getChildAt(0).transform.colorTransform; colorInfo.color = (Math.random() * 0xffffff + 0xff0000);//TodayJobXMLList[i].@JobColor; mymc.getChildAt(0).transform.colorTransform = colorInfo;