I tried by a pretty basic code, the BindableCSSStyle, but it didn't worked in
my tests. Does it needs any particular way to implement?

Following is the source:

> <js:View xmlns:fx="http://ns.adobe.com/mxml/2009";
>                xmlns:js="library://ns.apache.org/flexjs/basic">
>       
> <fx:Script>
>               

>       
> </fx:Script>
>       
>       
> <js:beads>
>               
> <js:VerticalLayout />
>               
> <js:LayoutChangeNotifier watchedProperty="{borderStyles.borderColor}"
> initialValue="#FFFFFF"/>
>               
> <js:LayoutChangeNotifier watchedProperty="{borderStyles.backgroundColor}"
> initialValue="#FFFFFF"/>
>       
> </js:beads>
>       
>       
> <js:Container width="600" height="60">
>               
> <js:beads>
>                       
> <js:ContainerDataBinding />
>               
> </js:beads>
>               
> <js:style>
>                       
> <js:BindableCSSStyles id="borderStyles" borderStyle="solid"
> borderWidth="1" borderColor="#FF0000" backgroundColor="#FFFF00"/>
>               
> </js:style>
>       
> </js:Container>
>       
>       
> <js:TextButton text="Change Border and Background colors"
>                                  click="textbutton1_clickHandler(event)"/>
> </js:View>

I didn't seen any style change after clicking on the button. 



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Does-BindableCSSStyles-requires-any-particular-way-of-implementation-tp58040.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to