Arabic Text in TextInput in Flash Builder 4.5.1

Hello,
I am currently developing a mobile application that is supposed to work on both Android and iOS devices. I am supposed to display arabic text and also to take arabic text input from the user. While I was trying to display simple output and input components I faced a problem with the TextInput. Please note the following:
-The TextInput component displays the arabic text in reversed order and the characters are disjoint.
-The label component does not have this problem and it accepts and displays the arabic text correctly.
-An embedded font was added
-The problem exists on both IPad and Galaxy Tab however the IPad displays the text correctly while typing (before loosing the focus on the TextInput). On the other hand, the Galaxy Tab displays the text in a wrong way both while typing and on focus out. However, the suggested words (above the keyboard in the Galaxy tab) are shown correctly.
Please check the snapshots below.
From Ipad:
Thank you.

Here's the solution:
The problem did not exist on an installation of Flash Builder on a spare MacBookPro.
On my main computer (the one with the Flash Builder issue) I uninstalled and reinstalled Flash Builder 4.5 (then updated to 4.5.1). Creating an iOS Mobile Application now creates the correct code.
I have no idea why it was creating dodgy code.
The only difference with the new Flash Builder install is that SourceMate 3.0 is not installed yet. Perhaps something had gone wrong in the Adobe Updater when going from 4.5 to 4.5.1, who know...all speculation...anyhow it works now!

Similar Messages

  • How to optimize text editing performance in Flash Builder 4?

    I am running Flash Builder 4.0.0 (build 272416) on a Macbook Pro 2.4 Ghz with 4Gb RAM. I am experiencing extremely poor performance while simply editing moderately complex MXML files.
    By poor performance I mean noticeable lag between keystrokes. Type one char, wait 2 or 3 seconds on a 700 lines MXML with about 20 buttons, 2 AdvancedDataGrids, 1 text area. Fairly complex, but that's what I need.
    Opening said MXML file takes around 12 seconds.
    Saving said MXML results in around 8 seconds: no automatic building, nothing else being done.
    On trivial MXMLs there's still a noticeable lag while typing, around 0.5 seconds per char.
    At this point Flash Builder 4 is unusable for me: editing .as files is still decent, but for MXMLs is almost impossible to work with, as you can see from the numbers above.
    Is there *anything* I can do to improve text editing performance? I've disabled all sort of niceties (automatic completion, indentation and so on) in the prefs, sadly to no avail. This is a major inconvenience for us.

    You understood correctly:
    - I removed all Build Path > Source Paths
    - I moved those paths over to Library Paths > Source attachment
    I took inspiration by how the Flex SDK is added to the project. Flex and flex related frameworks (e.g. datavisualization lib)  also specify a Source Attachment under Lib Path. If I remove the source attachment I am not able to drill down into Flex code when I want to by Command-clicking on a class name (or hitting F3).
    All my SWC are open source. BTW some of the source paths I was using were the path to the Flex code and to datavisualtization lib, which I think are the biggest library I am linking against. So maybe to recreate, just add those 2 libraries and make sure to add the source path AND source attachment.
    I am using RSLs for every library if that matters.
    I don't understand why specifying a Source Attachment would cause any issues...  the swc is in sync with the source specified in its source attachment.

  • How do I turn off the ANNOYING text hover in the flash builder 4 editor

    I love Flash Builder 4, but one thing really bugs me about it: the hover tool tip that pops up when you hover over a class in your code.
    I am climbing the walls trying to find a way to disable this content assist text hover.
    I don't need it and it is really getting on my nerves because every time I move my cursor over a class, the pop up gets in my way.
    There has to be a way to turn this off!!!!

    That preference you found only disables the ASDoc content in the tooltip, it does not disable the tooltip itself. The default, non-ASDoc, content shows the signature of the definition. There isn't currently a way to completely disable tooltips. You can file a request at http://bugs.adobe.com/flex.
    Jason San Jose
    Software Engineer, Flash Builder

  • Force flash builder 4 plugin localization

    Hello there,
    I've successfully installed the flash builder 4 plugin in a Spring Tool Suite IDE. The IDE is localized in english, but the text content related to flash builder appears in french, as my operating system is localized in french (I didn't choose that ). Could someone please tell me if there is a conventional way to set up the english localization ?
    Thanks for your help.

    Hi,
    Eclipse/java will default to the system locale settings, but you can override that by using two lines such as these at the top of your eclipse.ini file:
    -nl
    en_US
    -Chris

  • How to display long text in Arabic quickly Flash Builder ?

    Hi,
    I have prepared an application for Android in Adobe Flash Builder. In application there are prayers in Arabic as a list. In app , short prayers are displaying quickly, but long prayers are displaying  after a long time. This is my problem.
    I share my project file in addition.Can  anybody help me, please?
    Note: I used SQLite database in my project as you can see and  I used a font to view prayers in Arabic.
    Prayers.zip - Google Drive

    Kaki,
    Delcare a table and getting the LONG TEXT is not the right way of doing this.
    You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
    Make sure this is a part of the main window as this might run into multiple pages.
    Regards,
    Ravi
    Note : Please reward the posts that help you.

  • How to solve the flash Builder 4.6 scroll view and textinput  display problem?

    I have a dynamic form application which worked well on flash builder 4.5, having display problems in flash builder 4.6 now. What I did is adding
    TextInput objects  to a scroll view and set the texts for them dynamically. Everything is fine after the screen loaded. But if I scroll down, sometimes the texts will be placed in wrong positions. I attached the screen copy of the wrong display. Does anybody know how to solve this problem? Thanks.

    Check out the two threads below (if you have not already). I have not tried it but aeonus describes an approach that made me think of something that might work ... It is a workaround but, what if you have a text field (txtA) with the skin that does not allow soft keyboard selection, but does scroll correctly, and on the onClick event of that text field, you dynamically cover it with another text field (txtB) that does allow soft keyboard selection, (but does not scroll properly) and trigger the keyboard. After you get the entry from the user, set the value of txtA and destroy txtB ... leaving you (theoretically) with properly scrolling text fields. If you have a lot of those in your app, you might want to write a component that implements that behavior.
    "Create a dynamic textfield, and on click, invoke create a StageText instance at the same location as the textfield (by setting the StageText.viewPort property)
    Finally, set StageText.softKeyboardType to "numeric" and call StageText.assignFocus();"
    http://forums.adobe.com/thread/915019?tstart=0
    http://forums.adobe.com/thread/911214?tstart=0

  • Using dynamic text in Flash Builder

    Hi,
    I'm trying to get some dynamic text to my web page. The text is readed from .txt file
    I use AS script which i was using in a project I made with Flash Pro and now i try to implement it in Flash Builder project
    The script look like this:
    var req:URLRequest = new URLRequest("design_1.txt");
    var loader:URLLoader = new URLLoader();
    function textLoaded(event:Event):void
    design.text = loader.data;
    loader.addEventListener(Event.COMPLETE, textLoaded);
    loader.load(req);
    So first I made a project with Flash Catalyst and in there I created an area text element. Then I imported the project to Flash Builder and put the AS script in the <Script> section and gave the <RichText> an id="design".  The text is just simple text and formatting happens in richtext element.
    So, when i try to compile the FB project it give me and parse error "undefined property error req", "undefined property error loader" etc.
    So should i alter the AS script for FB or is there something else wrong? I tried to google how to use dynamic text in FB but couldn't find any easytyutorials. I'm mostly a desginer so coding isn't my speciality. But thanks for help!

    Hi Amy,
    You can customize 'New class' generation under Preferences->Editors->Flash
    Builder->FileTemplates->Action Script->New ActionScript class.
    Currently there are no template variables available constructors. But you
    can customize it as following,
    $
    ${import_declaration}
    $ {
      public function ${class_name}() {

  • Arial Unicode Arabic text in Flash CS4

    Hi,
    I am facing a strange issue. I have a flash file where Arabic text is written using Arial Unicode MS and is displayed properly, but when i try to update the text field with new arabic content, the words split up into characters.
    The image below shows the issue:  Both original as well new content is in the same text field but they are displayed differently.
    Please suggest as to what should be the possible solution for this. P.S. I cannot change the font family, it has to be Arial unicode MS.
    Thanks,
    Ayush

    As far as I know the TLFTextField is the only class currently provided for native support of right to left text.  It is only supported by players that were developed concurrent with its arrival, which might account for some not seeing what they expect.  From what I have heard there are discrepancies with its performance as well, wherein if you do not need to use it, stick with the classic TextField.

  • Problem in displaying Arabic text in flash cs3/cs4

    Hi All, I'm creating one website. I have to display dynamic xmlize arabic text in flash. I have done it using flash cs3/AS3. But problem is that when text displays in flash it is not rendering as expected. Some gaps comes in the characters. But when I open my xml in browser, arabic text displays correct.
    Is there any way to do it in flash cs3 or Flash cs4 using player 9? It would be really great if anyone can give me solution on this. Thanks
    Chandrakant

    You have to do it yourself -  I don't have a ready solution. Just look into documentation how StyleSheets are used and see what properties work best for you:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html
    Also, with embedded fonts you need to play with TextFormat settings and AntiAliasType
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/AntiAliasType.html
    In addition, on my machine even if I don't emebed fonts - Arabic works in Arial, TImes and others.

  • Can I embed Arabic text in flash?

    1. If so, how can I do this? When I cut and paste an arabic
    text from a notepad or photoshop, all the characters comes out
    wrong.
    2. I believe I can use an external txt or xml file instead.
    But if I do this, would the user be able to get the right
    characters / fonts if they don't have the arabic fonts on their
    machines?
    thanks in advance.

    About embedding font outlines:
    Let's say I want to use a decorative font - call it
    "Lithograph" (one I commonly use) - to type the word "HELLO" in my
    Flash movie. Flash will embed the outlines of the actual shapes of
    the Lithograph characters H E L and O into the SWF. It treats them
    as actual outlines, not as fonts. That way, even if you don't have
    Lithograph on your system, you will still see "HELLO" in my SWF,
    formatted as Lithograph font. This applies to Static Text only. It
    is done automatically. You do not need to physically embed the font
    yourself. You do not need to convert the letters to shapes.
    Therefore I am GUESSING that the same thing happens when you
    use Arabic: Flash will embed the shapes of those Arabic letters. So
    the end user does not need to have Arabic on their system. Again,
    this applies only to Static Text, not Dynamic or Input text.
    To see whether this is happening, generate a Size Report (in
    the Publish settings), open the Size Report text file, and scroll
    down close to the bottom: it will tell you exactly which letters
    are embedded in the file.

  • Flash Builder 4.5 SDK Problem while reading/saving Data/Text from XML

    Hi,
    I'm working on a FLASH BUILDER 4.5 Project. Previously I was working on FLEX 3 with SDK 3. Now I have shifted my Project to FLASH BUILDER 4.5 with SDK (Apache Flex 4.11).
    In this project, I have few links with me, clicking on which opens a TAB, and the respective Link data (XML DATA) loads into the Respective TAB. I'm using Flash Builder 4.5 currently and Apache Flex 4.11 SDK. When I use Previous Version of SDK (SDK 3), then the Data loads fine... but when I use higher version SDK (4.6 or 4.11), then the data starts to break, for instance:
    When I click on link, i.e. CLICK FOR THE VERY FIRST TIME, the Data Shows like:
    <P ALIGN="LEFT">Link 1 body text comes here</P>
    Again, when I click on the same link for SECOND time, the Data Shows like:
    <P ALIGN="LEFT">&lt;P ALIGN=&quot;LEFT&quot;&gt;Link 1 body text comes here&lt;/P&gt;</P>
    Again, when I click on the same link for THIRD time, the Data Shows like:
    <P ALIGN="LEFT">&lt;P ALIGN=&quot;LEFT&quot;&gt;&amp;lt;P ALIGN=&amp;quot;LEFT&amp;quot;&amp;gt;Link 1 body text comes here&amp;lt;/P&amp;gt;&lt;/P&gt;</P>
    I got stuck inot this issue very badly. Any help would be apreciated.
    Thanks in advance.
    IMAGE 1 (FIRST CLICK)                                                                                      
    IMAGE 2 (SECOND CLICK)
    IMAGE 3 (THIRD CLICK)                                                                                     
    IMAGE 4 (FOURTH CLICK)
    THANKS

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • Support for Arabic in Flash Builder

    I'm happy that Flash supports Arabic now. Previously there were problems with that.This is the reason why I didn't learn Flash. Now that it supports it I'm getting familiar with the technology related and I regard it as my first serious attempt to become a real developer. I have tried all the technologies available like PHP, ASP.NET, Java..etc. but I have found that only in Flex / ColdFusion all the three criteria that I was looking for where available: Both are easy to learn, powerful, and beautiful in things regarding UI and design.
    Now in Flash Builder 4, although I can write Arabic and some RTL options availabe, I still have problems with the Flash components:
    For example the arrow button of the DropDownList is on the right, but if I want to create an Arabic Flash application it should be on the left. The same for CheckBox, RadioButton, List, and other Components.
    Is there a way how to fix that? Or do RTL developers have to wait for coming versions until this is available. I dislike Microsoft but they are strong in one thing: Language support. If Adobe becomes better in that, it would rule the developer world.

    To my understanding (I'm just a dev myself) - yes, the flashplayer will continue to be backwards-compatible with content built for old players, regardless of the AS version.

  • How to create an imput text in an action script project in Flash Builder

    Hi, I am developing a game with starling framework.This is going to be an android game. What I'm trying to do is that when the game ends, the user can save his score and I want to create a form for this. How can I create a text entry field where you can enter your name for example?
    I've trying with this code, but doesn't works:
    var inputField:TextField = new TextField();
    addChild(inputField);
    inputField.border = true;
    inputField.width = 400;
    inputField.height = 50;
    inputField.x = 75;
    inputField.y = 50;
    inputField.type = "input";
    But flash Builder doesn't recognize the "type" value.
    Thank You.

    DPS only supports Single Edition applications on iPad devices. It doesn't matter what subscription level of DPS you purchase, we don't support Single Edition on Android (or iPhone).
    Neil

  • Flash CS 4 - Arial Unicode Arabic text

    Hi,
    I am facing a strange issue. I have a flash file  where Arabic text is written using Arial Unicode MS and is displayed  properly, but when i try to update the text field with new arabic  content, the words split up into characters.
    The image  below shows the issue:  Both original as well new content is in the same  text field but they are displayed differently.
    Please  suggest as to what should be the possible solution for this. P.S. I  cannot change the font family, it has to be Arial unicode MS.
    Thanks,
    Ayush

    Sorry Fahran - not sure I understand. Are you saying that all connections cause the same issue in CR 2011 with SP 9?
    SP 9 can be downloaded here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htmhttp://search.sap.com/notes?id=0002015092&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032303135303932
    - Ludek
    http://search.sap.com/notes?id=0002015092&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032303135303932

  • Flex4.5 SDK under Flash builder Burito doesnt dispatch Enter key event in Text Area anymore

    Flex 4.5 under Flash builder Burito doesnt dispatch 'Enter' key event in Text Area anymore, in prev version 4.1 it was working properly, this stopped working after migration to Burito + Flex SDK 4.5?
    What that suppose to be?

    Hi
    That's true that Flex4.5 SDK under Flash builder Burito doesn't listen Enter key in Text Area for KeyUp or KeyDown event.
    Here I found a work around you can use.
    Add an eventlistener to the component in actionscript and set the useCapture=true next to eventlistener function. Now you can listen enter key for KeyUp or KeyDown Event
    Hope this helps
    Rush-me

Maybe you are looking for

  • Deploying a Web service via a WSDD file

    % java org.apache.axis.client.AdminClient deploy.wsdd Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient why is the cause of this error?

  • Is There a Better Way to Work in the Marker List Window?

    Is there a better way to sequentially listen to phrases one-by-one in the Marker List window? What I'm doing is Auto-Marking one single long file to break out 271 bits and save each as their own file. It's WAY faster than copying and pasting bits int

  • Why does my Macbook pro 2008 not recognize  my external dell flat monitor(TV)?

    Hello all , Its hooked up with a dvi cable from mac dvi port to dell monitor dvi port. My macbook is running mountain lion. The Monitor light on the front  blinks green and then goes into " power save mode" a black screen. Thanks for any ideas on how

  • Slow Moving/Dead Stock Report

    Hi Guys BEsides T.COdes MC46 and MC50 what other reports that are available on SAP to give the same information and also their Current Stock Balances Vishnu

  • Dynamic variable naming

    can you create a variable and name it dynamically? like: for(var i:Number = 0; i<5; i++){ var ["v"+i]:Number = i; so you could create unique variables on the fly?