Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.paste the following code into application;
<fx:Script>
<![CDATA[
import mx.core.FlexGlobals;
import mx.core.mx_internal;
import mx.events.FlexEvent;
use namespace mx_internal;
protected function mybutton_clickHandler(event:MouseEvent):void
{ calloutbutton.callout.setStyle("backgroundColor", "blue"); calloutbutton.callout.setStyle("contentBackgroundColor","red"); calloutbutton.callout.open(calloutbutton); } ]]
>
</fx:Script>
<s:HGroup verticalCenter="0" horizontalCenter="0">
<s:CalloutButton id="calloutbutton" label="button">
<s:BorderContainer />
</s:CalloutButton>
<s:Button label="set color" id="mybutton" click="mybutton_clickHandler(event)"/>
</s:HGroup>
2.run the app. click 'button", then click "set color"
3.
Actual Results:
you see backgroundcolor set to blue, but not contentBackgroundColor
Expected Results:
Workaround (if any):
Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31333
Original Reporter: kawatana
Original Resolution: Fixed
Confirmed Version: 11364
Confirmed Version: Next Build
Discoverability: High
Number of votes: 0
Regression: No
Reproducibility: Every Time
Resolved by: kawatana
Severity: Incorrectly Functioning
reporter: kawatana