Alex Harui wrote
> There is an example in
> examples/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml. A
> LayoutChangeNotifier is used to hook up the BindableCSSStyles to the
> layout.
I know it's a quite old issue but after some brief time I tested the my
original source with latest 0.8.0 nightly build. I tested with
/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml only. Existing
BindableCSSStyle worked great with border style! But it fails when I tried
to change the container's background color by the same style usage:
> <js:style>
>
> <js:BindableCSSStyles id="borderStyles" borderStyle="solid"
> borderWidth="1"
> borderColor="#FFFFFF" backgroundColor="#FFFFFF"/>
> </js:style>
> ...
> private function rollOverHandler(event:MouseEvent):void
> {
> borderStyles.borderColor = "#0000ff";
> borderStyles.backgroundColor = "#00ffff";
> //style["dropShadowEnabled"] = true;
> buttons.visible = true;
> }
The background color never changed in my tests. Is backgroundColor broken to
the said css styling?
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Updating-className-tp12217p14315.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.