Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-23352

[Mirroring] Cannot access Tree 'direction' property in AcrionScript

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.5 (Release)
    • None
    • mx: Tree
    • 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: [

      { label:"BoxDivider", data:"BoxDivider.as" }

      ,

      { label:"BoxDivider", data:"BoxDivider.as" }

      ,

      { label:"BoxDivider", data:"BoxDivider.as" }

      ,

      { label:"BoxDivider", data:"BoxDivider.as" }

      ,

      { label:"BoxUniter", data:"BoxUniter.as" }

      ]
      },

      { label:"Assets" }

      ,

      { label:"CSS" }

      ]
      }
      ];

      ]]
      >
      </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):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: