Arabic text in flash cs5.5

Hi everyone,
I just wanted to confirm that rendering arabic text correctly (from right to left) has to be done in TLF, as I understand from the research I've done so far that it can not be done in classic mode. Also, is setting the direction to "from right to left" enough for it to be displayed correctly? I've seen some comments on people who speak Arab saying it was not displaying correctly in the final SWF. As I can not read Arab I can't really tell...
Can anyone confirm this please?
Thanks in advance.

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.

Similar Messages

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

  • Cannot find text in Flash CS5

    I can't search for text in Flash CS5.
    I've created a new project, added some actionscript in the first frame ("stop();")
    When trying to search for this string (CTRL-F > Find and Replace) I get no results.
    Search in: Current Document
    For: Text
    Text: stop
    Replace with (blank)
    Checked items:
    Text fields contents
    Frames/Layers/Parameterss
    Strings in ActionScript
    ActionSript
    Nothing (ever) shows up in the results. Does anyone have any advice? Thanks!

    3 years later... I'm having the same luck with the "Find and Replace" tool.
    The only way I had any success using this tool was to drag all the MCs from the library to the stage before using "Find and Replace".
    I could not figure out how to find and replace text within a mc that was in the library only and not on the stage.
    Note: I also had to specify to search in "Current Document" as it would not work in the "Current Scene".

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

  • How to display dynamic text in flash CS5....

    i am using flash cs5...i created a game but when i m running it...it is  showing a message saying "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts""
    and i am not getting my dynamic text output.......please hwlp me out!!!!!!

    As the error message says, you need to embed the font(s) that you use in any input or dynamic text object so that Flash will have that font to use when displaying the dynamic text. There are several different ways to accomplish this. Are you using textField objects on the stage, or are you creating instances of textFields using Actionscript?

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

  • SQLite Database and TLF Text in Flash CS5

    I encountered the following problem when working with the built-in sqlite database and using TLF TextFields in Flash CS5
    When I tried to use TLF TextFields alone, I don't face any probelem,
    but when I start using a database connectivity code, the TLF TextFields placed on the stage are not shown, but instead, the SWF file is showing the built-in preloader with five dots looping.
    I tried changing the default Linkage in ActionScript 3 Settings to Merge Mode, but in this case nothing is shown, not the textfields, neither the preloader.
    I think the problem is related to loading the TLF Text Engine, but I couldn't figure out what to do.
    The following is my code placed in first frame:
    ==========================================
    import flash.data.SQLConnection;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection = new SQLConnection();
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    // The database file is in the application directory
    var folder:File = File.applicationDirectory;
    var dbFile:File = folder.resolvePath("DBSample.db");
    conn.openAsync(dbFile);
    function openHandler(event:SQLEvent):void
        trace("the database was created successfully");
    function errorHandler(event:SQLErrorEvent):void
        trace("Error message:", event.error.message);
        trace("Details:", event.error.details);
    stop();
    ==========================================
    and I am using one TLF TextField on the stage for later use.
    Publish Settings>> Player: AIR 2.6
    and not to forget, when I test the file using Contol Panel >> Test in Air Debug Launcher (Desktop), the file is working correctly.
    but when I open the generated SWF file, the problem appears.
    I hope that I find some help
    Thanks.

    http://www.flashandmath.com/flashcs5/rsltip/

  • Problem with Arabic text with flash player 10 32bit under linux platforms

    Arabic encoding characters do not show correct in the right form at all linux distributions .
    note: with windows platforms, it shows arabic characters correctly.
    this video contains captions and subtitles, in the attachement two snapshots,
    First, show the arabic sentences in the right form with "swfdec mozilla" plugins.
    The other, show the arabic words with "adobe flash player 32bit" plugins,
    for example: Arabic font enconding cp-1256
    the character ب
      in the beginning of the word " بـ ".
    in the middle " ـبـ "
    at the end "ـب"
    isolated character "not in word "ب"
    the word
      كتب in the right form
    begin from right with " كـ "
    with adobe flash player
    ب ت ك
    it shows from left to right and use only isolated characters.
    I report to adobe and they response
    Hi Ghost,
    Since you do not have a 64 bit machine please proceed to reinstall the
    32 bit edition.
    For the current release version of Flash player 10, it does support
    Right to left, But you can’t use a text field on stage and have it
    work. When authoring the content in Flash cs4, you would have to use
    the Flash text engine. more information on that can be found here:
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS6C0BB8ED-2
    Thank you.
    Regards,
    Thomas S.
    Technical Support Engineer
    Adobe Systems, Inc.
    Get the answers you need, when you need them!
    Knowledge Base: <(><<)>http://www.adobe.com/support>
    Support Plans: <(><<)>http://www.adobe.com/support/programs

    I too am having this problem. On all of my linux distributions, including Ubuntu 8.04, 8.10, knoppix 5,1, fedora 8,9,10 flashplayer 10 is broken in the same way.  It reports that it cannot find webcam, and the settings dialog refuses to recognize mouse clicks.  I've poked around the web quite a bit and have not yet found a solution.  I saw the problem mentioned on an adobe bug reporting site and their response was to close the issue saying it wasn't repeatable on their system.  I tried to re-open it and my post was deleted without comment (I may have posted incorrectly or something)
    Looking here  and elsewhere I see that the problem is very common and I don't see any posted bug-fixes, or even acknowledgement that a bug exists.  Has adobe lost interest in being cross-platform compatible?

  • How to specify "static" or "dynamic" text in Flash CS5?

    Hmmm. Things have moved in version CS5! How would I specify text as "static" or "dynamic"? Can't seem to find the selection in the Properties palette.
    Thanks-

    Should be right at the top of the properties panel. Make sure to select your text box first. Also, change TLF text to classic text.

  • How do I create dynamic scrolling text in Flash CS5?

    Hi everyone,
    I am a complete newbie to Flash. I'm tyring to build a scrolling text box that automatically scrolls. On mouse over, I want the scrolling to stop so users can click on an item in the text box. All of the items will be tied to external hyperlinks. I want to populate the text box with an external file. I've done some searches on Adobe, but haven't found anything that takes me through the whole process.
    I have the complete Adobe Master Collection. So if this is easier in Flash Catalyst, let me know. I know how to buid a manual scroll box in Flash Catalyst. Could I export this to and add the auto-scrolling?
    Remember, I'm a complete newbie.
    Any help will be greatly appreciated.
    Thanks!

    Thanks again Kglad,
    I really have no preference of Action Script since I don't have any significant experience with either one.
    I'll keep doing searches to see if I can get the information I need.
    Have a great holiday.

  • Cant type text in flash cs5

    Hi! When I try to write text and then jump to a new line to write more text, the text continues on the same line. Anyone knows how to fix this?
    Thanks

    You can write a simple line of code as:
    txtName.multiline=true;
    txtName is the instance name of input text box.
    I hope your problem will be solved. If you have any the same problem again then send me your FLA file to [email protected]  will get back to you with the solutions.
    Thanks,
    Uday

  • Arabic texts display on Flash CS3

    I've read through the forum on Adobe and other sites about
    solution of Arabic texts on Flash. No doubt the Arabic texts can be
    displayed perfectly in Dynamic text boxes(without embedding font),
    but the problem is the policy of Dynamic text is whenever you
    specify certain texts to have bold, italic or different color, but
    all texts under same text box will be changed as well. It's not
    freely as Static text, somemore you can't make animation like
    masking, tweening using Dynamic text.
    Now I am in the middle of searching high and low for solution
    or extension to use Arabic texts freely on Static text without
    compromising the limitation of animation.

    Anyone has idea on how to overcome this problem, please
    generously help me by sending your solution to my email.
    [email protected] Thanks
    in advance!

  • Re : Problem in arabic text printing in smartforms

    Hi,
       In smartforms I am printing arabic text. Its coming correct up to the variable. But while printing Each and every word having space. How to avoid this space between thw arabic words while printing.
    Regards
    Anto

    When I export a SWF containing Arabic Text from Flash, I get
    no errors and everything is ok. The problem occur when I compile a
    SWF from Flex Builder, I'm using FP 9 for both files

  • Flash CS5 problem - missing text

    We've got several Flash files created by a partner organization that we're trying to edit. The files are for an e-learning course and contain four or five "tabs," each with a multiple choice or true/false question, each option labeled A, B, C, etc.. The learner clicks through the tabs, answers each question using either radio buttons or click boxes, and clicks "submit" to check the answers. When they click submit they should get a line below that either says "Correct!" or, if they're wrong, "Answer:" followed by the letter of the correct option(s).
    What's happening instead is that about 75% of the time when you answer incorrectly nothing at all appears after "Answer:", or in a couple of cases where it was a multiple choice question with more than one correct option, it may only display one of the correct answers.
    Things that may or may not be relevant:
    We are working in Flash Pro CS5. These were created in an earlier version, probably CS3 or 4. The published SWF files we received from the original developer at our partner agency don't have this problem, but if we open the Flash files and republish them the error shows up, even if we make no changes to the files. We had a developer working on contract with us for a while using I think CS4 and he was able to republish them without a problem.
    Every time we run the debugger on the files we get a Font Mapping dialog box indicating that it contains a font (Universal Condensed) that is not available on our system. I always opt to map it to a font we do have but the next time I open the file I get the same message again.
    On any of the question tabs where happening, when I run debugger I get several messages like this in the output window: Target not found: Target="_parent.q1r5" Base="_level0.checkbuttons.q1r1" or Target not found: Target="_parent.q1r6" Base="_level0.checkbuttons.q1r2". I believe the "r5", "r6", etc. is referring to something that the original developer created to automate the creation of these animations. In Designer view, off to the side there are set up instructions, invisible when published, that apparently allow you to enter letters and numbers to create up to 6 questions in any of 8 styles, with up to 8 answers each.
    Again in the output window, I'm getting this message: "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.". I've embedded both fonts that I believe are used in the animation but it doesn't seem to change anything.
    I was also getting errors like this in the compiler window: Symbol=radio button, layer=Layer 2, frame=1, Line 1  Case-insensitive identifier 'button' will obscure built-in object 'Button'. I am able to click over to the "Actions-Frame" window and the first line there reads either button = "off" or button = "on". If I change button to Button this message is cleared but it doesn't seem to impact the other problem.
    I've spent what is officially now a stupid amount of time trying to figure this out, and I'm starting from search a knowledge deficit that my usual Google research skills are failing me. None of us on staff have any formal Flash training, but two of us have taught ourselves enough to successfully make minor changes to all but this one type of file, and there are several of them like this. I have a vague idea that it has something to do with embedding fonts and dynamic text fields, but none of the suggestions I've seen so far works and I'm at a loss. Would appreciate ideas anyone might have about where to look before I pull out any more hair.

    Hi,
    We have a problem with our action script and seems to be using cookies of clients computers.
    We have a action script as under ..........----------
    function my_function38()
        var _loc1 = my_xml.firstChild.childNodes;
        totalNodes = _loc1.length;
        cityname_mc.fl_name_mc.fl_name.text = my_xml.firstChild.childNodes[cnt].attributes.name;
        rate_mc.rate_anim_mc.fl_rate.text = my_xml.firstChild.childNodes[cnt].attributes.rate;
        fl_month.text = my_xml.firstChild.childNodes[cnt].attributes.month;
    // End of the function
    my_Date = new Date();
    my_xml = new XML();
    my_xml.load("DEL.xml?uniqueID=" + getTimer());
    my_xml.onLoad = my_function38;
    my_xml.ignoreWhite = 1;
    if (!cnt)
        var cnt = 0;
    } // end if
    ++cnt;
    if (cnt >= totalNodes)
        cnt = 0;
        gotoAndPlay(1);
    else
        gotoAndPlay(1);
      Xml Data as under
    <?xml version="1.0" encoding= "UTF-8" ?>
    <cities>
      <city name="Delhi" rate="£365" month=""file location"></city>
    </cities>
    What is happening is we are storing many swf files and xml files for different cities on server location 1 with same code but are just changing the xml file to be picked.
    I.e
    DELHI.XML    DELHI.SWF
    BANGKOK.XML  BANGKOK.SWF
    SYDNEY.XML SYDNEY.SWF
    All are in one folder and we are just changing the xml path in fla files and loading the new swf.
    Then we are giving out swf urls to an advertising company which is in turn picking up swf files from sever location 1 and displaying the same on their website.
    The problem is each time we access the swf file on there site the data doesnot display properly. It is picking up the wrong xml data. When we check the fla the path for xml is ok. What we think is it is saving swf or xml in cookies of user computer. Is there anyway to prevent it from happening.
    We Are using Adobe Flash CS5.
    Thanks
    kam.p

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

Maybe you are looking for