Skip to main content
Jun 30, 2011 8:09 AM UTC
Question

Air mobile - right to left text input

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Aug 9, 2011 11:54 AM UTC

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.

Translate
Inspiring
Aug 7, 2011 10:31 AM UTC

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

Translate