2012-07-25 3 views

답변

0

플렉스 3 CSS에서 스크롤바를 피부 할 수 있습니다 :

mx|ScrollBar 
{ 
    up-arrow-skin: ClassReference(null); //removes up arrow 
    down-arrow-skin: ClassReference(null); // removes down arrow 
    trackSkin: Embed(source="assets/ScrollBarTrack.png", scaleGridLeft="1", scaleGridTop="4", scaleGridRight="5", scaleGridBottom="16"); 
    thumbUpSkin: Embed(source="assets/ScrollBarThumb_up.png", scaleGridLeft="1", scaleGridTop="4", scaleGridRight="5", scaleGridBottom="16"); 
    thumbOverSkin: Embed(source="assets/ScrollBarThumb_over.png", scaleGridLeft="1", scaleGridTop="4", scaleGridRight="5", scaleGridBottom="16"); 
    thumbDownSkin: Embed(source="assets/ScrollBarThumb_down.png", scaleGridLeft="1", scaleGridTop="4", scaleGridRight="5", scaleGridBottom="16"); 
} 

플렉스 4에서는 사용자 정의 스킨을 기록 할 것입니다.

+0

감사합니다. Baris. 하지만 내가 skinning에 대한 이미지를 사용하고 싶지 않다면 어떨까요? CSS 또는 내부 두께 속성을 사용하여 만들려고합니다. –

+0

스킨을 만들어야 할 수도 있습니다. 확인 : http://livedocs.adobe.com/flex/3/html/help.html?content=skinning_5.html –

관련 문제