Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile & run:
<?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" width="750" height="600" >
<fx:Script>
<![CDATA[
import mx.controls.Alert;
public var curAlert:Alert;
[Bindable]
[Embed(source="icon.jpg")]
public var myIcon:Class;
private function setMirror():void
{ curAlert = Alert.show('Alert String', 'Alert title', 3, null, null, myIcon); curAlert.status = "Alert status"; curAlert.layoutDirection="rtl"; curAlert.setStyle('direction', 'rtl'); }
]]
>
</fx:Script>
<mx:Button click="setMirror()" label="Mirror alert"/>
</s:Application>
2. Click the button to open the Alert
Actual Results:
The icon is mirrored.
Expected Results:
Icon should not be mirrored
Workaround (if any):
Set the layoutDirection & direction in CSS. The icon is not mirrored.