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

          導航

          統計

          常用鏈接

          留言簿(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
          主站蜘蛛池模板: 仁布县| 温州市| 兴城市| 洮南市| 邯郸市| 靖安县| 古交市| 即墨市| 云龙县| 蒙自县| 永善县| 渝中区| 永寿县| 揭西县| 贺州市| 甘孜县| 京山县| 开化县| 房产| 清镇市| 固镇县| 留坝县| 泸州市| 通山县| 玛曲县| 柳州市| 馆陶县| 漯河市| 焉耆| 永仁县| 泰来县| 灵宝市| 新田县| 南投市| 托克托县| 赣州市| 遂溪县| 咸宁市| 连城县| 西乌珠穆沁旗| 乌苏市|