1 Reply Latest reply on Jun 27, 2010 9:15 AM by FTQuest

    change button icon dynamically


      i have a group of buttons with default icon(same for all buttons) and when each one is clicked its icon should  change. when another button is clicked the icon of previous button  should change back to normal(default)..plz help..thanks in advance

        • 1. Re: change button icon dynamically
          FTQuest Level 3

          One of the ways to change the icon dynamically would be creating two icons in a custom button skin and applying 'includeIn' to each of the images depending on the button's state.

          As to you previous question, play with the property called 'accentColor'. It gives very nice subtle colorization; (you should set 'emphasized' property to 'true').

          Look at the http://blog.flexexamples.com It's great resource for solutions.



          1 person found this helpful