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

[Mirroring] MX Image does not mirror even if you explicitly specify layoutDirection="rtl"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. load the bugfile ImageExample.mxml
      The application has the following code:
      <?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:layout>
      <s:VerticalLayout />
      </s:layout>
      <s:Label text="BitmapImage: " />
      <s:BitmapImage source="@Embed('Trip.01.JPG')" />

      <s:BitmapImage source="@Embed('Trip.01.JPG')" layoutDirection="rtl"/>
      <s:Label text="MX Image: " />
      <mx:Image source="@Embed('Trip.01.JPG')" />
      <mx:Image source="@Embed('Trip.01.JPG')" layoutDirection="rtl"/>
      </s:Application>

      Actual Results: The second Image has layoutDirection="rtl" specified, but, it does not mirror.

      Expected Results: The second Image should mirror. BitmapImage works correctly.

      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: