Flex 4 Arabic

I am involved in creating Arabic site in Flex 4. I am using layout mirroring for flip the site in RTL direction. It is working perfectly and i am using two separate resource files for Arabic and English. The problem now is that, Arabic text is getting transposed. It is not displayed in correct direction as it is in the resource file and even this happens when paste some Arabic text in the application. Probably, this isssue has some answers elsewhere, if so please redirect me to that place

Hello, have you found a solution for this? I used to use Flary which worked well for flex 3, when I used it with 4, it didnt work.
Thanks

Similar Messages

  • Issues with Arabic in Mac OS X with Flash 10 / Flex Gumbo

    I've been looking at converting an existing Flex 3 project to have an Arabic language version, so I have been looking at the TLF to help do that. Originally I intended to just use the components for using TLF in 3.2, but it looks like I may need to use Gumbo for font embedding.
    I'm using the TextFlow to create an editable input box and so far I've run into a number of odd behaviours; can anyone explain where I might be going wrong, or an easy workaround?
    This is the code I've been playing with as a test:
    <code>
    private static const textInput:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008">
                                <div><p><![CDATA[اتحاد الصحفيين العرب يدينس]]></p>
                                <p>\u064A\u0648\u0644\u062F \u062C\u0645\u064A\u0639 \u0627</p></div>
                                 </TextFlow>;
    [Embed(source="./fonts/AdobeArabic-Regular.otf", fontName="Adobe Arabic", cff="true")]
    private var arabicFont:Class;
    private function initApp():void
        var textFlow:TextFlow = TextFilter.importToFlow(textInput, TextFilter.TEXT_LAYOUT_FORMAT);
        textFlow.direction = Direction.RTL;
        var cf:CharacterFormat = new CharacterFormat(textFlow.characterFormat);
        cf.locale = 'ar';
        cf.ligatureLevel = LigatureLevel.EXOTIC;
        cf.fontFamily = "Adobe Arabic";
        cf.fontLookup = FontLookup.EMBEDDED_CFF;
        textFlow.characterFormat = cf;
        var sprite:UIComponent = new UIComponent();
        sprite.x = 20;
        sprite.y = 20;
        sprite.width = 200;
        sprite.height = 100;
        var controller:IContainerController = new DisplayObjectContainerController(sprite, 200, 100);
        textFlow.flowComposer.addController(controller);
        textFlow.interactionManager = new EditManager();
        textFlow.flowComposer.updateAllContainers();
        addChild(sprite);
    </code>
    I've found I've had to use the cff embedding to have the font showing correctly and also not garbling the characters. However, even with cff embedding on, I've found that Mac OS X keyboard inputs come out as garbled roman characters rather than Arabic.I'm sure there are examples of Arabic working in OS X though - is there something particular about how I'm setting up the TextFlow that could be causing this problem?
    Thanks in advance for any responses.

    Euan,
    This is a known issue listed in the release notes. Copied from the release notes:
    [Limitations on Keyboard Input of International Scripts: Some international scripts using Unicode encoding cannot be typed into Flash Player 10 on Macintosh OS or Windows. While all writing scripts supported by Flash Player 10 can be displayed correctly, keyboard input for some of these scripts may not function. Keyboard input will work correctly for several writing scripts including Roman, Chinese, Japanese, Cyrillic, and Central European languages on both Windows and Macintosh. On the Windows platform, typing works correctly only for writing scripts such as Arabic, Hebrew or Thai that have Windows codepages.]
    Abhishek
    (Adobe Systems Inc.)

  • Arabic words not displaying correct in flex 4

    Hello All,
    Please find the attached image with this post.
    Arabic words are not displaying completely/correctly. I have makred it with red line, you can see that in the attached image.
    <s:TextArea text="{_str}"  width="100%"
                    height="100%"
                    fontSize="50"
    />
    _str  is the String variable which contains  the Arabic text.
    Awaiting for prompt response.

    Hello Robin,
    Thanks for your example, but still problem is not solved.
    I have attached image by the name Robin_Example.JPG of your example, you can also noticed (underlined in red color) that your example contains the same problem as I am having.
    Here I am pasting the whole code and also sending my arabic text file (TopFirst.txt), for your reference so it will be easy for you to run the application:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application 
    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
    library://ns.adobe.com/flex/spark" xmlns:mx="
    library://ns.adobe.com/flex/halo" minWidth="
    1024" minHeight="768"creationComplete="init()"
    xmlns:controls="
    flashx.textLayout.controls.*">
    <s:layout >
    <s:VerticalLayout/>
    </s:layout>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <s:HTTPService id="httpServiceObj" url="TopFirst.txt"result="handleResult(event)"
    fault="handleFault(event)"
    resultFormat="
    text"/>
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.controls.Alert; 
    import mx.rpc.events.FaultEvent; 
    import mx.rpc.events.ResultEvent; 
    Bindable] 
    private var _str:String; 
    private function init():void{httpServiceObj.send();
    private function handleResult(event:ResultEvent):void{_str = event.result
    as String;}
    private function handleFault(event:FaultEvent):void{Alert.show(
    "fault is = " + event.fault.faultString);}
    ]]>
    </fx:Script>
    <s:TextArea text="{_str}" width="
    100%" height="
    100%" fontSize="
    50"locale="
    ar"fontFamily="
    Arial"direction="
    rtl"/></s:Application>
    Now it should be easy for you to understand my problem, as we both have the same code which is not working for arabic.
    Thanks for being so supportive.
    Awaiting for prompt response.
    Regards.

  • Word order reversed for arabic locale in Flex 3

    I have a "Flex Application" that uses flex builder 3. I want to add Arabic localization to this application, i.e., all the labels can be changed via ResourceBundle. I succeeded to see Arabic letters however the word order is reversed. Namely, the label "1 2 3" is shown as "3 2 1" if I switch the Arabic localization on. Is it possible to fix the problem without moving to Flex 4?

    Hi Lenvno,
    You cannot programmatically change the register byte order.  You can select the option on an object by object basis when you are setting up your modbus ethernet objects.  In IA OPC server, select Object->Modify and select the modbus object you want to configure.  On the object configuration page click Advanced.  Here you will see an option for "Modicon 32-bit floating point order (0123 vs. 3210)".  This should be what you are looking for.
    Regards,
    Justin D
    Applications Engineer
    National Instruments
    Message Edited by Justin D on 01-18-2007 11:29 AM
    Attachments:
    iaopc_serverSS.JPG ‏86 KB

  • Will Adobe flex support Arabic language on Mac OS

    Hi,
    We have developed a webapplication using Adobe Flex SDK 3.2. the content in the application is in arabic language. Unfortunately the arabic language is unreadable if viewed on Mac Os. but the same arabic language/text is perfect and accurate if viewed in Windows OS. kindly help us in finding a solution.
    What we need is the arabic text should be accurate and readable if viewed in Mac OS.
    Thankyou
    regards
    sandeep

    The legacy TextField class in Flash Player -- which is the basis for all text display in Flex 3 components -- does not properly support right-to-left or bidirectional languages such as Arabic. However, the newer Flash Text Engine (FTE) APIs in Player 10, and the Text Layout Framework (TLF) library that is built on top of FTE, support bidirectional text.
    If you use Flex 3.X you will have to write directly to the FTE or TLF APIs. If you use Flex 4.X, you can just use the Spark component set, which use FTE/TLF for text display. The MX components in Flex 4 still use TextField by default but can be configured to use FTE/TLF.
    Gordon Smith
    Adobe Flex SDK Team

  • How will adobe Flex SDK 3.2 supports arabic text on Mac Systems

    Hi,
    We have developed a webapplication using Adobe Flex SDK 3.2. the content in the application is in arabic language. We Arabic text on Mac Systems is unreadable, but the same arabic language/text is perfect and accurate if viewed in Windows systems.
    Please help us in finding a solution.
    What we need is the arabic text should be accurate and readable on Mac systems.
    Thankyou
    regards
    sandeep

    The legacy TextField class in Flash Player -- which is the basis for all text display in Flex 3 components -- does not properly support right-to-left or bidirectional languages such as Arabic. However, the newer Flash Text Engine (FTE) APIs in Player 10, and the Text Layout Framework (TLF) library that is built on top of FTE, support bidirectional text.
    If you use Flex 3.X you will have to write directly to the FTE or TLF APIs. If you use Flex 4.X, you can just use the Spark component set, which use FTE/TLF for text display. The MX components in Flex 4 still use TextField by default but can be configured to use FTE/TLF.
    Gordon Smith
    Adobe Flex SDK Team

  • Input textfields for arabic language with Flex

    Hi!
    I would like to know how flex work with arabic language. Does
    it permet to write text correctly in input textfield, or is ti the
    same problem as in Flash 8 Pro ?
    Thanks for your help
    Damien

    The Flash Player itself does not easily support right-to-left
    text manipulation.
    We all hope this will be addressed in an early future
    version, but there have been no announcements.
    Tracy

  • How to solve the auto word break problem in Arabic language Flex project

    Hi, I'm using Flex SDK 3.5 to develop a game in Arabic. Now I have a problem with the auto word break on the TextArea Control.
    The output looks like this (Sorry I can't type arabic, so I use English instead)
    I don't know any A
    rabic text
    The expected outpit should be
    I don't know any
    Arabic text
    My settings of the textarea are fine in English version games. But just didn't work in Arabic. Any idea how to solve this problem? Thanks.

    Hi Rodger,
    Sorry to reopen this thread again. I was puzzled by the data format in Motion-DDK.
    From the Motion-DDK, if u32, i32 and f64 data are passed to and from the controller, a specific format must be followed as below:
    u32:
    u32 cmddata[x] = (WORD) (u32data ?16);
    cmddata[x + 1] = (u16) u32data;
    i32:
    i32 cmddata[x] = (WORD) (i32data ?16);
    cmddata[x + 1] = (i16) i32data;
    f64:
    f64—big endian order cmddata[x] = ((u16) (&f64data)) [3];
    cmddata[x + 1] = ((u16) (&f64data)) [2];
    cmddata[x + 2] = ((u16) (&f64data)) [1];
    cmddata[x + 3] = ((u16) (&f64data)) [0];
    f64—little endian order cmddata[x] = ((u16) (&f64data)) [0];
    cmddata[x + 1] = ((u16) (&f64data)) [1];
    cmddata[x + 2] = ((u16) (&f64data)) [2];
    cmddata[x + 3] = ((u16) (&f64data)) [3];
    My first question: is the "?" symbol means the >> (shift operator) or something else?
    The second question is: if "?" means ">>" in this list, all the u32 and i32 data are always transferred in big-endian order. Is it the only correct way to deliver the i32 and u32 data? Or I can pass the u32 and i32 either in little-order or big-order depending on my platform?
    The last one: could you provide a feasible C code on how to convert the f64 data to u16?
    I first followed the format in the list to convert the f64 data, but met with a lot of compiler errors in VC++. After checked with MSDN, it is said the convert process is double(f64)->long(i32)->unsigned short(u16). But the decimal part of double will be truncated during converting to long...
    So, could you help me with some very simple sample code on the convert process? 
    Thank you for your support!
    Rick
    MSP

  • Flex 2 Arabic support

    Hi
    I am developing a Flex-based arabic system. I have noticed
    that flex 2 does not support fully bilingual. Does anybody have an
    idea?
    Best regards
    Khaled

    I understand that right-to-left text is not supported in the
    FlashPlayer, but that is is a known and high-priority functional
    enhancement for a future version.
    There have been no official committments from Adobe, though.
    Tracy

  • How to show double byte data in a Flex application

    Hi
    I am looking for a way to show UTF-8 formatted data in a Flex
    application. I have a Java app in the backend that generates an xml
    file. Some attributes in the file are encoded in UTF-8 (when data
    is Japanese or Chinese...). My Flex app is showing box characters.
    I have XSLT app that generates html based off this xml file. The
    browser i showing the Japanese characters fine.
    I am wondering what the trick is to get Flex app show this
    data.
    Thanks
    Videoguy

    It turned out to be my XP that didn't have the the right lang
    sets installed. I have two PCs. On one everything showed up fine. I
    was able to view arabic, chinese data from xml just fine. On the
    other one, same swf didn't show them. There is MS knowledgebase
    article on how to enable east asian languages etc. I didn't give it
    a try. I am using other pc for my dev now.

  • Adobe Air For Android and Arabic Characters

    Hello all,
    I have been working in an app for my andorid device and I crashed to the problem of writing arabic is my app, I am using flex 4.5 for my development and I couldn't find a way to write arabic even I tired an actionscript project same result, when I type it gives me squares, I tried to embed fonts even so.
    Note : testing app on the desktop arabic works !

    Use Arial Unicode MS for other languages to support not Arial. give it a try.

  • Bi-derectional text and migration from Flex 3 to Flex 4

    Hi guys, Can we migrate our application from Flex 3 to Flex 4
    in order to support bi-directional text? I have been reviewing the
    new Text Layout Framework tutorial and I found out a set of new
    components that need to be used in order to support bi-di ext.
    What about the classical Flex components that we used to use
    in our application? do I need to re-write my application with the
    TLF components in order to support bi-di? Can’t I just set
    some new properties and re-compile my application?
    Please help
    Thank You

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • Migration from Flex 3 to Flex 4

    I've migrated my project from flex 3 to flex 4 and all it's ok, the new project work fine.
    But I created my custom TitleWindow MX style and I created a swc library from Flash builder 4, all it's ok.
    When I use my custom TitleWindow in new project (compatible with mx+spark) it work fine when I add only mx component, when I add a <s:TextArea> for example, it throw this error in run-time: Skin for ForumTitleWindow1220.boxMessaggioInput.TextArea1227 cannot be found.
    where ForumTitleWindow1220 and boxMessaggioInput are my instance.
    in particolar the error is "throw(new Error(resourceManager.getString("components", "skinNotFound", [this])));"
    in SkinnableComponent to line 698.
    why?

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • Can we Read/Display the content of Word/PDF file  in Flex 3/4 ?

    Hello All,
    Can we  read/display the content of Word/PDF file in Flex 3 or Flex 4?.  I have one word file containing  Arabic  and English content with some settings like  Bold, Color, Align etc. I want to display the content of this word file as it is in the flex web application.
    Awaiting for prompt reply.
    Thanks and Regards

    thank you for your immediate reply, but,
    sorry, this does not work.
    With this code:
    <cfpdf action = "read" source = "dok_1.pdf" name =
    "mypdf">
    <cfdump var="#mypdf#"/>
    I get this result:
    Everything, but no text of the document.
    PDFDocument
    Application name of application
    Author bimbam Verlag GmbH
    CenterWindowOnScreen [empty string]
    ChangingDocument Allowed
    Commenting Allowed
    ContentExtraction Allowed
    CopyContent Allowed
    Created D:20080710
    DocumentAssembly Allowed
    Encryption No Security
    FilePath [empty string]
    FillingForm Allowed
    FitToWindow [empty string]
    HideMenubar [empty string]
    HideToolbar [empty string]
    HideWindowUI [empty string]
    Keywords [empty string]
    Language [empty string]
    Modified [empty string]
    PageLayout SinglePage
    Printing Allowed
    Producer [empty string]
    Properties [empty string]
    Secure Allowed
    ShowDocumentsOption [empty string]
    ShowWindowsOption [empty string]
    Signing Allowed
    Subject [empty string]
    Title Rheinische Angler-Zeitschrift
    TotalPages 1
    Trapped [empty string]
    Version 1.3
    Maybe i do not understand the cfpdf tag the right way.
    What i want is a kind of pdf-to-text conversion.
    Do I have to use the processddx action? I do not think so.
    But there is a property DocumentText .. ?

  • 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.

Maybe you are looking for

  • UPLOAD MASTER DATA FROM SAP GL TO ACCOUNT DIMENSION

    hi how can i upload master data (chart of account) from BW 0GL account info object to BPC Account Dimension ? how can i upload the hierarchy, there is no hierarchy in ECC for the chart of account

  • How do I restore my iTunes library from a backup?

    Like an idiot I deleted my Itunes library after backing it up to an external HD. After doing this I deleted my original iTunes library and lo and behold I had no music. I thought I would be able to play them from the external HD but this wasn't the c

  • JBO-35007 error after custom navigation

    I have a SearchPersons page that has a Search Form and table for displaying results and Information About Person for displaying data about single person. When there is many results, data is displayed in the same page, later user can access Informatio

  • Creating a FM Book and then Flash RoboHelp starting from PDF

    At our business we have an SOP (Standard Operating Procedures). There are about 20 chapters. We create them in Publisher and then convert to PDF and then post on our internal Wiki for all to see. This works for us. However, one of the chapters is 49

  • Re: How to create new subtypes for OM  Custom infotype

    Hi Gurus, I  facing  problem when creating for Subtypes in  OM , i need create Infotyes with Subtypes in OM.Check below steps how i created 1. I create Structure in se11. HRI9119 2. In PPCI , i create infotype 9119 3.In SM30 , I Maintain table T777i,