Re: [flexcoders] How do I repaint?

2008-04-23 Thread Peeyush Tuli
A wild guess but I think the updateDisplaylist method is called by flex to redraw the icon when you mouseover. You might have to call this method explicitly. ~Peeyush On Tue, Apr 22, 2008 at 11:05 PM, Matt <[EMAIL PROTECTED]> wrote: > I am dynamically setting the 'icon' to a LinkButton using

[flexcoders] How do I repaint?

2008-04-22 Thread Matt
I am dynamically setting the 'icon' to a LinkButton using Ben Stucki's IconUtility and it works great when the link first gets loaded, but if I want to dynamically change the icon after it is displayed it doesn't refresh properly. If I add a line to displayLoader that calls component.styleChanged(