ColorTransform 클래스를 사용한다.
var trColor:ColorTransform = new ColorTransform();
trColor.color = 0xCCCCCC;
movieClip.transform.colorTransform = trColor;
이와같이 ColorTransform 인스턴스 생성후, 무비클립 객체의 transform.colorTransform 속성에 값을 대입해주면 된다.
'프로그래밍 > Actionscript3.0' 카테고리의 다른 글
| 색의 황금비율 구하기 (0) | 2009/08/19 |
|---|---|
| Actionscript 3 - Movieclip 색상 변환하기 (0) | 2009/08/19 |
| Actionscript 3.0 Bezier 곡선의 이해 (0) | 2009/08/16 |
| Actionscript 3.0 제 이름입니다. (1) | 2009/08/16 |
TAG 액션스크립트



