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 閱讀(703) 評論(0)  編輯  收藏 所屬分類: FlexActionScript3

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(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
          主站蜘蛛池模板: 郴州市| 寿宁县| 遂平县| 蒲城县| 游戏| 北票市| 佛山市| 和龙市| 彩票| 天门市| 金堂县| 读书| 溧水县| 禄丰县| 威信县| 黑水县| 阿坝县| 周口市| 达孜县| 富顺县| 铜山县| 广灵县| 深州市| 格尔木市| 历史| 恭城| 通海县| 绥德县| 台中县| 长寿区| 云浮市| 定襄县| 合作市| 浦县| 安泽县| 兴化市| 乌兰县| 嵊州市| 南华县| 日喀则市| 中超|