For some reason, when using flex 4, setStyle() is not working.

Is this method deprecated in gumbo?

The code I am using

<mx:Button label="test" id="testButton" borderColor="0x000000" 
click="testButton.setStyle('borderColor', 0xff0000);" />

It does not work for some reason, but it worked fine in flex 3.

Any help would be appreciated!

Reply via email to