0
링크 모음을 사용하고 있으며 링크를 클릭하면 기본적으로 링크 배경에 파란색이 표시됩니다. 나는이 푸른 색을 녹색으로 바꾸고 싶다. 어떻게하면됩니까?LinkBar의 기본 롤오버 색상을 변경하는 방법
링크 모음을 사용하고 있으며 링크를 클릭하면 기본적으로 링크 배경에 파란색이 표시됩니다. 나는이 푸른 색을 녹색으로 바꾸고 싶다. 어떻게하면됩니까?LinkBar의 기본 롤오버 색상을 변경하는 방법
당신은 같은 것을 시도 할 수 있습니다 :
var colorTransform:ColorTransform = linkbar.transform.colorTransform;
colorTransform.color = 0x009900;
linkbar.transform.colorTransform = colorTransform;
linkbar.alpha = .2
을 또는이 같은 사용자 정의 버튼을 만들 :
LinkButton
{
textRollOverColor: #006699;
textSelectedColor: #003366;
/* Yes, this one controls the selected button's text color */
disabledColor: #0099cc;
/*Use DownSkin for Disabled to simulate Active/Selected Button */
disabledSkin: Embed(source="theme1.swf", symbol="LinkButton_downSkin");
downSkin: Embed(source="theme1.swf", symbol="LinkButton_downSkin");
overSkin: Embed(source="theme1.swf", symbol="LinkButton_overSkin");
upSkin: Embed(source="theme1.swf", symbol="LinkButton_upSkin");
font-size: 14;
font-weight: bold;
}
을