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

"TypeError: Error #1010: A term is undefined and has no properties" when scrolling through a TileList with the keyboard when the selected tile is offscreen.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: TileList
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a tilelist using the following code

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:initialize>
      <![CDATA[
      for (var counter:int = 0; counter < 2000; counter ++)

      { objArrayCollection.addItem(new Label()); }

      ]]
      >
      </mx:initialize>
      <mx:TileList x="0" y="0" width="640" height="480" rowHeight="100" columnWidth="100" direction="horizontal" dataProvider="

      {objArrayCollection}

      " itemRenderer="mx.controls.Label">
      </mx:TileList>
      <mx:Script>
      <![CDATA[
      import mx.controls.Label;
      import mx.collections.ArrayCollection;

      [Bindable]
      private var objArrayCollection:ArrayCollection = new ArrayCollection;
      ]]
      >
      </mx:Script>
      </mx:Application>

      2. Scroll half-way down the tilelist and select a tile.
      3. Scroll back up to the top of the tilelist.
      4. Use the arrow keys to navigate down.

      Actual Results:
      TypeError: Error #1010: A term is undefined and has no properties.
      at mx.controls.listClasses::TileBase/finishKeySelection()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\listClasses\TileBase.as:1650]
      at mx.controls.listClasses::TileBase/moveSelectionVertically()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\listClasses\TileBase.as:1365]
      at mx.controls.listClasses::TileBase/keyDownHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\listClasses\TileBase.as:2484]

      Expected Results:
      The tilelist jumps to the selected tile.

      Workaround (if any):
      None

      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: