flex 各组件对应的样式属性 中
DataGrid组件样式属性
backgroundColor 背景色
backgroundAlpha 背景色透明度 数值从0.00~1.00
alternatingItemColors 间隔背景颜色 间隔项的颜色 这个属性要设置2个色彩,某一项的背景色和下一项的背景色
headerColors 标题头背景渐变颜色 这个属性要设置2个色彩,标题头背景渐变起始色和标题头背景渐变结束色
horizontalGridLines 是否显示横向分隔线 是否显示每一行之间的横向分隔线 true false
horizontalGridLineColor 横向分隔线颜色 horizontalGridLines为true时有效
verticalGridLines 是否显示垂直方向分隔线 是否显示每一行之间的横向分隔线 true false 此属性只对内容中的分隔线有效,标题头的分隔线是默认的
verticalGridLineColor 垂直方向分隔线颜色 verticalGridLineColor为true时有效
useRollOver  
相关文档:
1 安装Adobe AIR 运行时,和java的JVM类似。
Adobe AIR 运行时允许在桌面运行AIR应用程序,脱离游览器的束缚。
下载安装文件http://labs.adobe.com/downloads/air.html
在下载页面有样例程序(Sample Applications)http://labs.adobe.com/technologies/air/samples/
2 安装开发环境
当然我们选择开发效率最高的Flex B ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Style>
ScrollBar
{
/*划动块图片皮肤*/
thumbDownSkin: Embed(source="scrollBar/thumb. ......
分页组件:Page.mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300" >
<mx:Script>
<![CDATA[
&nbs ......
<mx:HSlider id="priceSlider" creationComplete="{HsilderChangeThumb(event)}"/>
<mx:Script>
<![CDATA[
private function HsilderChangeThumb(e:Event):void
{
var slider:HSlider = e.target as HSlider;
&nbs ......
Top 10 things new Flex developers should know
By Michael Portuesi | Published: November 27, 2009
While helping a coworker get started with Flash and Flex development, I thought it would be a good time to cover the list of things that I have found pretty essential to know about Flex development, co ......