Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1.create a MXML Component using "Group" container
2.create a spark.formatters.DateTimeFormatter instance under "<fx:Declarations>" tag in this component.
3.set "locale" style value using application selector in main mxml file.
4.verify that spark.formatters.DateTimeFormatter instance is using the style value which is set in main mxml.
Actual Results:
The "locale" style which is marked as "inherit=yes" are using values default or undefined.
Expected Results:
The "locale" style which is marked as "inherit=yes" are using values set in main.
Workaround (if any):
NOTE: this bug happened only when this component is use "Group", "VGroup" and "HGroup" container as its root tag.
Please see a sample code in attached src.zip.
There have two spark.formatters.DateTimeFormatter instances defined in component:
one under declaration tag, one in ActionScript code.
And only the one defined under declaration tag has this bug.