gembin

          OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

          HBase, Hadoop, ZooKeeper, Cassandra

          Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

          There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

          About Me

           

          Flex 4: change baseColor to chromeColor and useChromeColor=true

          While updating the Gumbo-Components on this blog to flex 4 final I noticed that the style-property baseColor has been changed to chromeColor.

          In addition to this the flag useChromeColor can be set to tell the SparkSkin to usechromeColor for colorization. For custom skins this can be set by overridinginitializationComplete() in the skin.

          override protected function initializationComplete():void  {
           
          useChromeColor = true;
          super.initializationComplete();
          }

          Internally Flex checks this flag in updateDisplayList() of a SparkSkin and uses the value in chromeColor for colorization (respecting exclusions in get colorizeExclusions()).

          If you are using Gumbo-Components from this blog that use baseColor be sure to make these adjustments.

          Also, the namespace was changed for halo from:

          xmlns:mx=”library://ns.adobe.com/flex/halo”

          to:

          xmlns:mx=”library://ns.adobe.com/flex/mx”

          posted on 2010-06-18 17:30 gembin 閱讀(681) 評論(0)  編輯  收藏 所屬分類: Flex 、ActionScript3

          導航

          統計

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊

          收藏夾(9)

          Adobe

          Android

          AS3

          Blog-Links

          Build

          Design Pattern

          Eclipse

          Favorite Links

          Flickr

          Game Dev

          HBase

          Identity Management

          IT resources

          JEE

          Language

          OpenID

          OSGi

          SOA

          Version Control

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          free counters
          主站蜘蛛池模板: 仪陇县| 瑞金市| 许昌市| 榆中县| 汉寿县| 安达市| 望城县| 武强县| 昭苏县| 阳山县| 抚松县| 隆安县| 武功县| 泰和县| 东方市| 曲沃县| 赣榆县| 化州市| 北海市| 郸城县| 扶沟县| 依安县| 电白县| 古田县| 黄浦区| 通化县| 苍溪县| 剑河县| 大冶市| 高碑店市| 镇雄县| 长岛县| 恭城| 马龙县| 嵊州市| 渝北区| 昌平区| 永春县| 宁津县| 林芝县| 股票|