- 在AS文件里面 指定 对象的style:
- Application.application.setStyle("backgroundImage","assets/images/backend/homepage_bg.jpg");
上述例子是修改程序的背景图片。
- 通过css使得DataGrid 背景透明
- DataGrid
- {
- borderStyle: solid;
- backgroundAlpha: 0.3;
- headerStyleName: dataGridHeader;
- verticalGridLines: false;
- horizontalGridLines: false;
- verticalAlign: middle;
- paddingLeft: 0;
- paddingRight: 0;
- paddingBottom: 0;
- paddingTop: 0;
- kerning: true;
- corner-radius:8;
- headerColors: #000000, #FFFFFF;
- leading: 0;
- alternatingItemColors: #000000, #000000;
- shadowDirection: right;
- shadowDistance: 5;
- dropShadowEnabled: true;
- }
关键的语句是:
- backgroundAlpha: 0.3;
- alternatingItemColors: #000000, #000000
posted @
2012-02-18 14:06
张良
阅读(
132)
评论()
编辑
收藏
举报