Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.Compile
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
<![CDATA[
[Bindable]
public var largeObj:Object =
[ { label:"Accessibility", children: [
{ label:"Classes", children: [
,
,
,
,
]
},
,
]
}
];
]]
>
</fx:Script>
<s:CheckBox selected="false" label="direction" click="tree1.direction='rtl' "/>
<s:CheckBox y="50" selected="false" click="tree1.layoutDirection='rtl'" label="layoutDirection"/>
<mx:Tree dataProvider="
{largeObj}" width="300" height="100" id="tree1" y="100" />
</s:Application>
Actual Results:
1119: Access of possibly undefined property direction through a reference with static type mx.controls:Tree.
Expected Results:
Workaround (if any):