website    |    weblog    |    oldsite

Posts Tagged ‘Text Layout Framework’

Container’s right side scroll-bar to left

Written by BornA. Posted in Adobe Flex, English, Macro Blog, Technologies

Few days ago, I was working on one of my Flex project in the office. I called a persian text with WCF webservice, and import that to my RichEditableText’s textFlow. everything was fine, except my RichEditableText scrollBar position that was in the right, and of course I don’t want that. So, googled that but I didn’t find a suitable way for myself. So, posted that in Adobe forums, in here and as you can see, there is no answer yet! So I got to work myself and did it at last. In the first block of codes below, You can see that I’m importing a common language text (such as English) with Left-to-Right direction to textFlow and then bind it to a RichEditableText. I’m using Scroller tag to make my text to have a little Scroll-Bar.