在flex中更改组件的Icon有两种方式,

一种是直接在用嵌入的方式实现

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">

<mx:Script>
     <![CDATA[
          [Bindable]
          [Embed(source="assets/append.png")]
          private var Icon:Class;
     ]]>
</mx:Script> 

     <mx:Button >Ben Stucki 的博客,大家可以到 他的网站上下载 IconUtility的swc包,地址如下:
http://blog.benstucki.net/?p=42

相关文章:

  • 2021-09-20
  • 2022-12-23
  • 2021-05-01
  • 2021-08-03
  • 2022-01-15
  • 2021-06-27
  • 2021-07-28
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2021-11-05
  • 2021-08-26
  • 2022-03-06
  • 2021-08-03
相关资源
相似解决方案