PDA

View Full Version : RTL bug



alon900
July 16th, 2009, 12:41 PM
Hi there,
Im tring for some time to make a Dynamic text box and write in Right To Left Orientation
But for some reason it get mixed up...
Any1 knonws how i can fix the problem ??

IQAndreas
July 16th, 2009, 01:28 PM
What is the code you already have?

Are you trying to make a TextField (only displayed text) or a TextBox (allows the user to input text)?

Here is the code for making a Right-Justified TextField:

var tf:TextField = new TextField();
tf.autoSize = TextFieldAutoSize.RIGHT;
tf.text = "Align me to the right. :) ";

alon900
July 16th, 2009, 05:13 PM
Ohhh sorry, im trying to make a TextField with a scroller option.
the thing is that the text is not in English, so i dont need the LTR text orientation, i need it to be based on RTL. the problem is that all the panctuation marks are not working well, lets say i have a dot at the end of the line, so it'll display it as its in the begining of the line.. :(