Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Apache Flex 4.11.0, Apache Flex 4.12.1
-
None
Description
In Flex 4 (4.12.1 and 4.11.0), binding to xmlroot.child.@attribute.toString().length works if compile the application with keep-generated-actionscript flag. Otherwise, it gives this runtime error (_testXml is the xml data and keepFlagTest is the application):
ReferenceError: Error #1069: Property _testXml not found on keepFlagTest and there is no default value.
at _keepFlagTestWatcherSetupUtil/setup() ...
Note that binding to xmlroot.child.@attribute.toString().length works in Flex 3 (3.3) and binding to xmlroot.@attribute.toString().length works in both Flex 3 (3.3) and Flex 4 (4.12.1 and 4.11.0).