samedi 26 septembre 2015

Actionscript button bar not showing Hebrew letters

I've declared a bindable array like this:

var lettersDS:Array = new Array('#','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','א','ב','ג','ד','ה','ו','ז','ח','ט','י','כ','ל','מ','נ','ס','ע','פ','צ','ק','ר','ש','ת');

As you can see, the array inludes the English Alphabet as well as the Hebrew one.

in the MXML I've declared a ButtonBar that uses the above array as a datasource:

<s:ButtonBar id="btnBar" color="black" click="btnBar_clickHandler(event)" height="100%" buttonMode="true" chromeColor="{Constants.FontColor}" textAlign="center" width="100%" skinClass="">
                                <s:VerticalLayout gap="-1" horizontalAlign="center" verticalAlign="middle" />
                                <s:ArrayList source="{lettersDS}" />

However, when it runs only the English letters are displayed in the buttons, the Hebrew ones are not (their buttons have no labels, they are empty).

What am I doing wrong?



Aucun commentaire:

Enregistrer un commentaire