Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
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 subclass which extends from mx.styles.AdvancedStyleClient.
2.in this subclass, define a style "testStyle1" with "inherit=yes".
3.create a MXML Module, add this subclass in using Action Script code.
4.add this subclass into style client when this component is create complete.
5.set style "testStyle1" with value "test" in main mxml using application selector.
6.verify the style value of this custom subclass.
Actual Results:
The value of style "testStyle1" is undefined.
Expected Results:
The value of style "testStyle1" should be "test".
Workaround (if any):
The sample code is attached.
The subclass named "ADVStyleSimple" that extend from "mx.styles.AdvancedStyleClient".
The module named "CustomModule" which include two instance of "ADVStyleSimple":
One of them is defined under "Declarations" tag. It works well.
The other is defined in Action Script, and it will meet this bug.