Hi,
 
 you can change icons of the buttons dynamically with the help of viewstack container of flex.
 
 -Ashish grover


On Wed, Feb 15, 2006 at  8:58 PM, Jason Y. Kwong wrote:

What I meant to say was that this was rather awkward.  I would've thought that setting the icon property would set a default icon or some such and that the other styles would override the icon when appropriate.  Guess not...

On 2/15/06, Arul Prasad < [EMAIL PROTECTED]> wrote: Yes?

On 2/15/06, Jason Y. Kwong < [EMAIL PROTECTED]> wrote: I've got a Button with its icon property set to a coloured icon.  I want the Button to show a greyed out icon when it's disabled, so I set the button's disabledIcon style.  But this disabled icon didn't show up when the button is disabled.  Turns out that if the icon property is set, it's the only icon that gets displayed in all circumstances.  To get the effect I wanted, I had to leave the icon property blank and set 4 styles: upIcon, downIcon, overIcon, disabledIcon.  The first 3 are set to the same coloured icon and the last to the grey one.  Is this how it's supposed to be done?


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS
Web site design development <http://groups.yahoo.com/gads?t=ms&amp;k=Web+site+design+development&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&amp;k=Computer+software+development&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&amp;k=Software+design+and+development&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&amp;k=Macromedia+flex&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&amp;k=Software+development+best+practice&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=f89quyyulIDsnABLD6IXIw>
___________________________________

YAHOO! GROUPS LINKS

   •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.

   •  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


___________________________________




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS
Web site design development <http://groups.yahoo.com/gads?t=ms&amp;k=Web+site+design+development&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&amp;k=Computer+software+development&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&amp;k=Software+design+and+development&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&amp;k=Macromedia+flex&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&amp;k=Software+development+best+practice&amp;w1=Web+site+design+development&amp;w2=Computer+software+development&amp;w3=Software+design+and+development&amp;w4=Macromedia+flex&amp;w5=Software+development+best+practice&amp;c=5&amp;s=166&amp;.sig=f89quyyulIDsnABLD6IXIw>
___________________________________

YAHOO! GROUPS LINKS

   •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.

   •  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


___________________________________




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS
Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
___________________________________

YAHOO! GROUPS LINKS

   •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.

   •  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .

___________________________________



--
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to