Basically,

What are you trying to do?

There are things that you think you might be able to do but can't.

Can you give solid examples of what 'skins' you are trying to change?

styleName setter calls a complete styleChanged(null) call and will refresh all skins that are supposed to refresh. I doubt that this is a problem with what you are reskinning but it probably lies within what you are trying to skin with.

So, what does your selector look like that you are assigning to the styleName(of what component?)?

I can help, just need more details.

Peace, Mike

On 11/2/06, zzwi89 <[EMAIL PROTECTED]> wrote:

Hi,

I have been trying to get components to switch skins during runtime.
Although I can change the value of styleName, this has no visual
effect. However, if I create a new component that matches the type of
the old one, copy all its children and attributes that I care about
(x,y,width,height, etc.. at the moment), give it the new style, and
then add it back to the original parent, I essentially get what I'm
looking for.

However, this is cumbersome and leads me to believe I could achieve
the reskinning effect if I could just force the component to redraw
itself. Does anyone know of a way to do this?

Thanks!




--
What goes up, does come down. __._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to