Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. This is easiest to repro in FB. Open FB.
2. Create a new Flex 4 project.
3. Copy a framework class into your project (like spark.components.Button).
4. Add a public variable ("foobar") to your copy of Button.
5. In your main MXML file, add <s:Button foobar="blah"/>
6. Save
7. If you get a compile error, do a clean build. This is SDK-25335.
8. Run.
Actual Results:
RTE: Property "foobar" is not found on Button.
Expected Results:
Yikes! The compiler seemed to think that my copy of Button was being linked in, but at runtime, it turns out that it wasn't.
Workaround (if any):
From Darrell's comments below:
1. Reduce RSL linkage using -include-inheritance-dependencies-only.
2. Create a small monkey patch RSL that loads before the other RSLs.
3. ...or you could disable RSLs.