How to set icon to a Button in Adobe Flex 2 and 3
Dec 5th, 2007 by Onyrix 986 Views |
Email This Post
|
Print This Post
First of all create a images directory in your flex project folder, then add your icons to it.
After that remember to set properly the icon attribute of your mx:Button element:
<mx:Button icon=”@Embed(’/images/youricon.png’)”
click=”makesomething()”
toolTip=”This button does…”/>

del.icio.us
Digg
Furl
Reddit
Technorati