欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

flex中使用css樣式修改TextArea滾動(dòng)條的皮膚代碼

 更新時(shí)間:2021年12月20日 11:21:32   投稿:whsnow  
使用css樣式修改TextArea滾動(dòng)條的皮膚,具體示例代碼如下,感興趣的朋友可以參考下,希望對大家有所幫助

復(fù)制代碼 代碼如下:

<mx:script>
<![CDATA[
........
var contentTextArea = new TextArea();
contentTextArea.setStyle("verticalScrollBarStyleName","mytextAreaStyle");
........
]]>
</mx:Script>
<mx:Style>
.mytextAreaStyle{
/* 滑塊 */
thumbSkin: ClassReference(null);
/* 滑道 */
trackSkin:Embed(source="pe/trackSkin.jpg");
/* 向上箭頭 */
upArrowUpSkin:Embed(source="pe/upArrowSkin.png");
upArrowOverSkin:Embed(source="pe/upArrowSkin.png");
upArrowDownSkin:Embed(source="pe/upArrowSkin.png");
/* 向下箭頭 */
downArrowUpSkin:Embed(source="pe/downArrowSkin.png");
downArrowOverSkin:Embed(source="pe/downArrowSkin.png");
downArrowDownSkin:Embed(source="pe/downArrowSkin.png");
}
</mx:Style>

相關(guān)文章

最新評論