Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

FLex×é¼þÖ®¹ö¶¯Ìõ(ScrollBar)CSSÃÀ»¯

<?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.gif",
        scaleGridTop=2,                 
        scaleGridLeft=2, 
        scaleGridBottom=4, 
        scaleGridRight=4
    );
    thumbOverSkin: Embed(source="scrollBar/thumb.gif",
        scaleGridTop=2,                 
        scaleGridLeft=2, 
        scaleGridBottom=4, 
        scaleGridRight=4
    );
    thumbUpSkin: Embed(source="scrollBar/thumb.gif",
        scaleGridTop=2,                 
        scaleGridLeft=2, 
        scaleGridBottom=4, 
        scaleGridRight=4
    );
    /*»®¶¯¿éÖмäͼƬ(·­Ò³Í¼Æ¬)Ƥ·ô*/
    thumbIcon: Embed("scrollBar/thumbIcon.gif");
    /*¹ì¼£Í¼Æ¬(»®¶¯Â·¾¶Í¼Æ¬)Ƥ·ô*/
    trackSkin: Embed("scrollBar/trackBack.jpg");    
    


Ïà¹ØÎĵµ£º

flex »ñµÃµ±Ç°ÈÕÆÚ

    var formatter:DateFormatter = new DateFormatter();
    formatter.formatString = "YYYY-MM-DD JJ:NN:SS";
    Alert.show(formatter.format(new Date())); ......

CSSÖÐimportºÍlinkµÄÇø±ð

ÍⲿÒýÓÃCSS
ÖÐ link
Óë@import
µÄÇø±ð
ÕâÁ½ÌìдÁËCSSÑùʽ£¬¾ßÌåÑо¿ÁËXHTML¼ÓÔØCSS
µÄ¼¸ÖÖ·½Ê½£¬ÆäÖÐÍⲿÒýÓÃCSS
·ÖΪÁ½ÖÖ·½Ê½link
ºÍ@import
¡£
±¾ÖÊÉÏ£¬ÕâÁ½ÖÖ·½Ê½¶¼ÊÇΪÁ˼ÓÔØCSS
Îļþ£¬µ«»¹ÊÇ´æÔÚ×Åϸ΢µÄ²î±ð¡£
* ²î±ð1£ºÀÏ׿×ڵIJî±ð¡£link
ÊôÓÚXHTML±êÇ©£¬¶ø@import
ÍêÈ«ÊÇCSS
Ìá¹ ......

Flex ListÐб³¾°É«

 ¹ýÈ¥ÔÚ¶ÔDataGridÉèÖÃÐб³¾°É«Ê±£¬¸Ð¾õ»¹ÊÇͦ·½±ãµÄ£¬Ö»ÒªÖØÐ´DataGridµÄ£¬ÈçÏÂ
private var _rowColorFunction:Function;
public function set rowColorFunction(f:Function):void
{
this._rowColorFunction = f;
}
public function get rowColorFunction():Func ......

css僞ÀàµÄÒâÒå

僞Àà                   ÒâÒå
:first-child                       µÚÒ»¸öº¢×ÓÔªËØ
:first-line&nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ