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

Spark VSlider RTEs when layoutDirection is "rtl"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.5.1 (Release)
    • Spark: Slider
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Build this app:

      <?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"
      layoutDirection="rtl">

      <s:VSlider left="10" top="10"/>

      </s:Application>

      2. Click the thumb.

      Actual Results:

      Get this RTE:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.components::VSlider/updateDataTip()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VSlider.as:176]
      at spark.components.supportClasses::SliderBase/thumb_mouseDownHandler()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\supportClasses\SliderBase.as:665]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
      at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2924]

      Expected Results:

      See data tip.

      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: