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  
相关文档:
Flex vs Flash
Flex是一个针对企业级富互联网应用的表示层解决方案;
Flex是 RIA(rich internet applications,即富客户端)的一种技术实现
Flex是一种应用程序框架;
Flex序列产品包括编译工具和IDE,通过编写MXML(一种类XML标记语言)和ActionScript(AS,Flex的脚本语言,从Flash移植过来)代码,用编译器来生成SWF文 ......
.treeStyte{
selectionColor: #417597;
/* 去掉默认图标 */
folderClosedIcon: ClassReference(null);
folderOpenIcon: ClassReference(null);
&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 ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private function onSuccess(evt:Re ......
需要3个文件。一个是样式类,一个样式文件,一个是mxml文件。
●MyToolTip.as
package{
import mx.core.UITextField;
import mx.skins.halo.ToolTipBorder;
import mx.controls.ToolTip;
public class MyToolTip extends ToolTipBorder {
override ......