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.

Similar Messages

  • How can I write Arabic font in flash?

    How can I write Arabic font in flash?
    I have a project and I need to write dynamic text (Arabic).

    hi frankie*,
    Please try this, there are some difference with your code: 
    http://actionscriptexamples.com/2008/11/24/embedding-fonts-in-flash-cs4-using-actionscript / 
    // ActionScript 3.0
    [Embed(source="assets/ARIAL.TTF", fontFamily="ArialEmbedded")]
    var ArialEmbedded:Class;
    var arialEmbeddedFont:Font = new ArialEmbedded();  
    var textFormat:TextFormat = new TextFormat();
    textFormat.color = 0xFF0000;
    textFormat.font = arialEmbeddedFont.fontName;
    textFormat.size = 32; 
    var textField:TextField = new TextField();
    textField.autoSize = TextFieldAutoSize.LEFT;
    textField.wordWrap = true;
    textField.defaultTextFormat = textFormat;
    textField.embedFonts = true;
    textField.text = "The quick brown fox jumps over the lazy dog.";
    textField.width = 500;
    textField.x = 25;
    textField.y = 25;
    addChild(textField);
    Hope it helps.

  • 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't get dynamic text in Flash 8 pro to work

    Hi,
    This is driving me nuts. I am using SWObject to send a
    variable to my Flash 8 swf. The swf is basically a header that
    plays a video and I want to put the name of the web page
    dynamically on top of it. Sounds simple right. Well I can not get
    it to work. In the past I have done dynamic text boxes without any
    problem.
    I have uploaded all the files to my clients server (
    including the fla and the HTML page that accesses the swobject code
    I have also tried other more conventional means to load the
    Variables ( in the URL address and using Flashvars with a normal
    object and embed tag ) Nothing seems to work.
    Is there a problem with dynamic text and Flash 8?
    I'm pulling my hair out any help would greatly be
    appreciated, Thanks in advance.
    Zip file on the
    server with all the files

    Hi jimWPX, I have no problems with dynamic text in Flash 8,
    and I see no problems in your file.
    Could it be that the js doesn't parse for Flash 8 correctly?
    A quick check for version seems to suggest that it's embedding with
    tags for v 6 Flash. Might be problematic.
    An alternative is FlashTag.js,
    http://www.macromedia.com/go/flashjavascript/
    which works fine for me also. Hope it helps

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

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

  • Can I embed java app in flash (mp3 recorder)

    I need to provide an mp3 recorder from the user's sound card functionality to a flash application. It will be strictly a web app hosted on a server, not an install. User's may or may not have admin priviledges.
    I am mostly a vb guy so I was wondering if this could be accomplished with Java, if so how many MS security windows will the user need to wade through?

    It sounds like an applet is what you want, but I have no idea if an applet can be embedded or communicate with flash. Try googling "embed applet in flash" or something to that effect.
    How much of this sound card functionality do you need to use in java? Java has a separation between the software and the hardware, so unless you have a library already, it will be hard to access native functionality.

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

  • Can I Embed a URL into Flash?

    Hi All,
    I have a dynamic graphic that is updated periodically.  I want to know if I can embed the URL into Flash.  The URL is:
    http://cache.www.gametracker.com/server_info/68.232.170.145:16567/banner_560x95.png?random =751479
    I'm using CS4 but am developing this site in AS2.
    Many Thanks,
    Scott

    Hi Keith,
    I would like to have the URL embedded in my Flash project (web site).  So that the URL is displayed in a section of the web site.  I suppose the best way to explain this is that I want the URL to be displayed automatically on the web site with no mouse or user interactions.
    Does that help explain it?
    Thanks,
    Scott

  • Can I embed OpenType fonts in Flash CS 5.5?

    I just reopened an old-ish Flash project and the fonts aren't working. The project was worked on previously in CS 3 or 4 - don't recall - on a Mac running some earlier version of OS X. I'm currently running Lion and Flash CS 5.5, and some of the fonts aren't embedding or rendering. The project is using Postscript fonts.
    I thought I read that TrueType fonts are more reliable, but the font I need (Akzidenz Grotesk) is not available in TrueType, only OpenType.
    Am I safe to buy and use this in OpenType format? It's several hundred dollars so want to be sure before blowing the money. I think I'm looking at this version, which seems to be the smallest/cheapest I can get away with: http://www.linotype.com/265010/AkzidenzGroteskStdValuePack-product.html
    Thanks!

    Thanks. I'm actually using the Font Embedding panel in Flash. Seems to be working though I can't get any of the variations to work.
    I create a new font in the Font Embedding panel, choose my font and weight (trying Myriad Pro and Myriad Pro Italic), export for actionscript (AS classes fontNormal1 and fontItalic1).
    Then in the class where I do my formatting, up top I have:
    private var fontNormalFont1:String = 'Myriad Pro';
    private var fontItalicFont1:String = 'Myriad Pro Italic';
    In my constructor I have:
    Font.registerFont(fontNormal1);
    Font.registerFont(fontItalic1);
    Then I create my text format:
    fmtMainTitle:TextFormat = new TextFormat();
    fmtMainTitle.color = 0xffffff;
    fmtMainTitle.font = fontNormalFont1;
    fmtMainTitle.size = 18;
    Which I subsequently apply to text fields (including an embed font directive). It works great if my font is fontNormalFont1, but if I try fontItalicFont1 it comes up blank - no text appears.
    I tried creating an instance of the AS class for the italic font, and getting the font name:
    fontItalicInst:Font = new fontItalic1();
    trace(fontItalicInst.fontName);
    And I get back "Myriad Pro" - in other words it's only returning the base font name, not the full name.
    I'm pretty rusty at AS/Flash, and fonts were never my strong suit, so I could be doing all the the wrong way. I do need to have fonts available in CSS, which could be why I'm registering the fonts (it's been a few years since I built this app).
    Would appreciate any advice
    - Bob

  • Can you use html text in flash cc html5 project type?

    I'm attempting to dynamically change font color of various words inside a dynamic text field.
    I have tried both these lines of code below. have you dont this can you correct my code please?
    I'm using flash cc and html5 project type. This was possible in previous versions of flash.
    this.Logger.Log_File.htmlText = "<font color='#000000' size='-1'>"+MyGreatNumber+" "+"</font><BR>"+this.Logger.Log_File.htmlText;
    this.Logger.Log_File.htmlText = "<p style="color:#ff0000">"+MyGreatNumber+"</p><br>"+this.Logger.Log_File.htmlText;

    from the easeljs docs: Please note that Text does not support HTML text, and can only display one font style at a time. To use multiple font styles, you will need to create multiple text instances, and position them manually.
    to resolve, edit text in the js file where it's relatively easy to even use rtl text.

  • How can i input Arabic text in my web application using unicode

    hello
    i am working on struts project i m working on internationalization api now as far as label and messages are concern are properly displayed through resource file s but i want to input the text throught text field in Arabic also now can any one telll me how can i achieve this i will be thankful if some one helps me .
    thanks
    Farrukh

    gimbal2 wrote:
    sabre150 wrote:
    AccadSoft wrote:
    please guys I need an answer.To get answers about using iText I use "iText In Action, 2nd edition" by the prime author of iText - Bruno Lowagie.Classic way to make money - make the API free and sell the documentation. Also an honorable way to make money IMO.I was using iText before 2004 when the first edition of the book came out ( 4 years or so after the library was first introduced) and it was hard work. PDF is a very complex document format and just using the Javadoc does not really get you anywhere. There are many 'gotchas' in iText and most of the iText tutorials cover only the very basics and pretty much none of the 'gochas'. The book starts off with very simple examples that could be constructed from the Javadoc but then it does move on to the more complex issues. Worth every penny.

  • How can I display Arabic text in browser

    I have MessagesBundle_ar_AE.properties file created containing key,equivalent Arabic value text. When I try to get this key value by using Bundle object.. MissingResourceException is occuring. It says can't find resource for bundle,PropertyResourceBundle for specified key, eventhough the exists in the .properties file...
    please help..

    Be sure that .property files are in the classpath.
    http://forum.java.sun.com/thread.jsp?forum=16&thread=383005

  • How can I embed a text field inside a text object in a fillable form?

    I am a new user of LiveCycle and am slowly figuring things out.  I don't really understand any of the scripts-- thatlevel is way beyod me.  I am hoping that someone can tell me an easy way to insert a fillable text field into a text object.  I have been assigned a huge project of converting some very old Word forms into fillable PDF forms.  I have done okay with many of them, but ran into a snag with some of the form letters that our employees need to fill out.  Basically, there is a block of text (the body of the letter) in which employees will need to be able to type in a date that the recipient of the letter must respond by.  I have read up on floating fields and thought that was the solution to my problem, but it seems that floating fields are really just meant to be filled from a data source rather than having info typed into them.
    Can anyone help-- I am desperate at this point. There has to be an easy way to insert a fillable text field object or a Date/Time object into a block of text so that the surrounding text will expand and contract around the length of the date entered (this is important, as many of these letters pertain to legal matters and cannot have blank spaces in them).

    Hi,
    You can split your text object into different parts and place text fields inbetween the parts. With a little manuvering, you can make it look good.
    An alternative is to place text field(s) outside the letter body (and set the visibilaty to screen only). Use these to populate the floating field.
    or
    script the external text fields (or the subform containing them) to be "hidden" using the "Preprint" event, then revealing them ("visible") again using the "Postprint" event.
    Hope this helps, good luck!
    Stephen

  • I can't copy Arabic Text from Acrobat Document?

    Hi All.
    I have a file Arabic document with PDF format. I open it with Acrobat Pro 9.0 and I want copy a paragraph in this documnet. But get a message "There was an error while copying to the Clipboard. An internal error occured." Please help me what's the error and how to repair? Thanks alot

    Hi Carolyn,
    Thanks for your advice... My overall iPad performance is much mor "snappy" but here is what I get with a paste to this message:iPad 2 User Guide (For iOS 4.3 Software)
    Touch and hold the link. You can open the link in Safari or copy the link address to the clipboard .
    http://manuals.info.apple.com/en_US/ipad_2_user_guide.pdf
    And this was not what I was most recently copied to my clipboard while using Safari! Befor trying this copy/paste I even cleared Safari cookies and cache! Any other ideas would be appreciated.

Maybe you are looking for

  • View results in more ROW then Select.

    Hello, I am trying to create a view and for some reason when I just run the select statement of that view, i get 11 rows. But when i create the view, i get 106 rows. I am really stomped and need to know what's causing this. --------------------------

  • MSI GTX 670 completely freezes please help

    Hi. I posted my problem on the nvidia forums and they suggested I RMA my graphics card and get it replaced... I thought I would post it here to see if anyone could help me... This issue has started about a few days ago and it has been bugging me beca

  • Could not get schema Object:java.sql.SQLSyntaxErrorException ora-904

    All of a sudden I get Could not get schema Object:java.sql.SQLSyntaxErrorException: ORA-00904: "SYS"."O"."NAME": ongeldige ID when doing anything in the tables tree in the connections pane The only thing I set recently is pga_aggregate_target Environ

  • Only hdmi or video component

    hi all, I have a tree year old philips tv, interlaced, no hdmi, no YCbCr component video (model:widescreen pixel plus 32pw9527/12) is there a way to connect apple tv to my tv? it seems apple tv can work also with 480i (www.rogueamoeba.com/utm/posts/A

  • The program will not close properly unless I turn off the computer.

    The program will not close properly. If I close it and then try to restart it I get a message saying that Firefox is already running.