Steps to reproduce:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="
http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
[Bindable]
public var myval:int = 20;
]]>
</mx:Script>
<mx:Panel id="mypanel" title="My Panel" width="100%" height="100%" layout="vertical" borderThicknessTop="{myval}">
<mx:Button label="Click Me" click="myval=0"/>
</mx:Panel>
</mx:WindowedApplication>
Actual Results:
The panel doesn't update
Expected Results:
The panel's top should update properly.
Workaround (if any):
SDK-11279.From Jason:
"I have a local fix and a cyclone ready. The code has been reviewed by Glenn.
I don't think there is a workaround. The change should be very low risk. PanelSkin keeps a cache of its borderMetrics. When certain styles change, we are supposed to flush this cache and recalculate the borderMetrics. We weren't doing this for the borderThicknessTop/Bottom/Left/Right styles. "