Skip to main content
June 30, 2011
Question

Air mobile - right to left text input

  • June 30, 2011
  • 2 replies
  • 660 views

Hi

Is there a possibility to input rtl and bidirectional texts in air mobile applications? I need to work with Hebrew.

Thanks in advance.

This topic has been closed for replies.

2 replies

Inspiring
August 9, 2011

Found a solution:

<s:Group>

<s:BitmapImage width="100%" source="assets/graphics/bg-search.png"/>

<s:TextInput id="searchInput" x="102" y="14" width="358" height="28"

change="onTextInputChange(event)" textAlign="right"

alpha="0"/>

<s:Label id="searchLabel" x="105" y="14.5" width="354" color="#FB0404"

mouseChildren="false" mouseEnabled="false" text="{searchInput.text}"

textAlign="right"/>

<s:Button id="searchBtn" x="15" y="11" width="71" height="32" enabled="false"

  skinClass="skins.SearchButtonSkin"

  click="onSearchButtonClick(event)"/>

</s:Group>

It works for me, hope i helped.

Inspiring
August 7, 2011

Looked for an answer for this, didn't find one. I think that adobe forgot its bidi customers again.