I have a Container which already has a background color, border styles etc.
supplied by a CSS style in 'className' property. At some point I wants to
change the Container's background color, border styles etc. by updating
'className' value by another CSS style.

I also noticed border styles are not affecting to UI if I declare CSS like
this:

.widgetStateNormal
{
        background-color: #ffff00;
        borders-style: solid;
        border-width: 2;
        border-color: #ff00ff;
}

I able to work with border styles only when declared in MXML tag:

<js:style>
        <js:SimpleCSSStyles borderStyle="solid" borderWidth="2"
borderColor="#ffffff" backgroundColor="#ffffff" />
</js:style>


By whichever way I sets it's background/border styles, I couldn't able to
update them at certain time by another styles.





--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Updating-className-tp12217p12219.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to