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

Similar Messages

  • Issues with Flash Pro CS5 on Mac

    Hi,
    I recently bought a MacBookPro 15", 2.4 GHz Intel Core i5, 4GB 1067 MHz DDR3 and CS5 Creative Suite. Built in Intel HD Graphics and NVIDIA GeForce GT 330M.
    Hi have some issues with Flash Pro:
    - when objects on the stage are quite big (for example a 800x3000 movie clip), it start showing strange colors and wrong position, however when double clicking the movie clip to edit it, it looks correct. Also no problem when publishing. See images attached, the first one is correct, the second one shows the problem, when editing the mc in the 2nd image i get the third image that is correct.
    Correct:
    Wrong:
    After entering editing mode:
    - after a while, when making a change in the stage or in the time line (deleting frames for example), it doesn't show it immediately, but i need to refresh the page. This happens more when opening many fla in the same time. Closing and restarting Flash fixes it, for a while.
    - after a while it doesn't show when selecting an object, the object looks like is not selected, however i can see that it is in the properties panel.  This happens more when opening many fla in the same time.  Closing and restarting Flash fixes it, for a while.
    Hi have been using CS3 and CS4 with less powerful computers before (always mac) and i never encountered these issues.
    Removing preferences and Application support files didn't help. I also updated Flash  to v. 11.0.1, but no joy.
    Does anyone know what's the problem?
    Thanks a lot.
    Mike

    Based on some searching and testing, it seems that if you redirect ~/Library/Application Support/Adobe/Flash CS5 to a location on the local hard drive, rather than the network account storage, the problem ceases.
    I hope this helps anyone else who may run into this problem.
    Take care,
    Branden

  • Having Major Issues with Flash Player

    Using IE 8,  64 bit, flash player 11.4.402.287
    Having major issue with flash player! can not play a lot of games on FB. Games tell me that i need to update my Flash Player, PC says I have the latest version installed already.Ok, thought i would uninstall/reinstall...no go. Will not uninstall, says I need to close IE...which none are open.  This issue has been going on for weeks now.  I have done everything the help said to do and still not working.  I need HELP!

    im using the recent adobe flash player
    windows XP, internet explorer, 10.045.2, 32bit
    im not sure how this works, but im sure all that is correct:)
    if you need additional infomation, just let me know

  • After the recent update I am having issues with Flash based games freezing and not responding.

    After the recent update I am having issues with flash based programs not running or loading correctly.  The programs will not load or take an extremely long time to load compared to jsut a few days ago.  This happens across the board on anything flash based.  Also, once they do load they will freeze, stop responding or need to be constantly refreshed to come back alive which is short lived at best.  I went thru the help and did all the file deleting, cache clearing, disabling hardware acceleration, removing then reinstalling flash, and even removing and reinstalling my browsers.  None of this has helped at all.  I am using Chrome and it is up to date and I checked my Flash player and it is up to date.  I am running windows 7 64bit.

    Here's what you're up against guys,
    Adobe writes the base code for Flash Player, and then hands it off to Google, who adapt it to a PPAPI plug-in (it's NPAPI when Adobe writes it). It's then "PepperFlash" and Google embeds it in their Chrome browser. While Google is pushing a "webwide" move to PPAPI Flash Content, a reinvention of the wheel so to speak, not everyone "got the memo", and Google is slowly making it so that PepperFlash will block NPAPI Flash content from running properly, and you have to disable PepperFlash to force the NPAPI plug-in to work, which sometimes fixes it, sometimes not. I have a feeling this is only going to get worse. HTML5 will eventually resolve the video end but game developers need to come up with something that won't require a plug-in.
    And to the first post:  Since PepperFlash is embedded in Chrome by Google, you can uninstall and reinstall Flash Player from here until your hard drive literally seizes up.... guess what? It has NO EFFECT at all on the PepperFlash plug-in in Chrome because it's a separate file in a separate folder and the uninstaller & installers don't have anything to do with it.

  • Issues with Flash player in CC

    Hi,
    I am facing this issue with Flash in CC. We have recently upgraded our Adobe suite from CS6 Master Collection to Adobe Creative Cloud ENT.
    The video playback in the software(Flash in CC) is incredibly slow and choppy, which makes it difficult for students to work on their animation.
    This is happening with all PCs using Flash CC, there are few students who have Flash CS6 on their PCs and they aren’t having this problem.
    Thanks,
    Ram

    Hi Mohan,
    Thanx for the response. below are my specs:
    Specs:
    Windows 7 Pro, Service pack 1, build 7601
    Intel Core i5 760 2.8Ghz
    5 GB RAM
    Nivdia Gefore GT 220
    Just tried your recommendations.
    The performance issue exists for both the stage/timeline playback as well as test movie. I tried the suggestion to close the timeline and it doesn’t seem to make any difference.
    When playing back footage, the FPS display on the timeline can be seen to fluctuate.
    I’ve also tried another thing: Closing Flash CC and opening the test movie SWF file, which opens in Flash Player 11 and it plays perfectly fine.
    Tanx.. Ram

  • Interface freeze issue with Flash Projector

    I am facing an interface freeze issue with Flash Projector running a flex state based application. A Flash Projector exe was generated from a standalone flash player ver 10.2. The target machine on which the problem occuresd has 10.3.
    Basically "screen freeze" means that the user interface is running as usual on Flash Player, but it's not responding to any user input (like button presses). But if we alt-tab to another application, the state changes in the Flash player. There is display with buttons on the screen, but touching the buttons or doing anything else - it did not respond.  Rebooting the computer fixes the problem.
    Can you suggest why this is happening? Is there any known bug in Flash Player.
    The problem is this is being hard to reproduce on the developer workstation as it doesn't happen always. But it happens quite often on the target machine running an Intel Atom N270. What debugging steps can you suggest?
    Problem Description : http://www.youtube.com/watch?v=z25oV9QWRyk

    First, thanks for the video.  Having this always makes it much easier to understand the problem.  A couple of recommendations.  First, if you feel like this might be a player bug, please add a new bug report over at bugbase.adobe.com and if possible please include any sample code or swf's that can help us reproduce the problem internally.  Linking the video would also be great.  In addition, would you mind reposting this question over on the Flash Professional forums?  This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience who might have additional feedback.
    Thanks,
    Chris

  • Sollution to Firefox 3.6.8 issues with Flash 10.1.53.64 !!

    Sollution to Firefox 3.6.8 issues with Flash 10.1.53.64 !!
    Had the well known problem after upgrading to 3.6.8.
    Found that many people had the same problem also.
    After investigating A LOT about this one i've found that if you set, in about:config, the parameter " dom.ipc.plugins.enabled.npswf32.dll " to FALSE it solves the problem !!
    So...
    dom.ipc.plugins.enabled.npswf32.dll == false

    While I have not contacted Adobe, I am sure the answer will be don't use Firefox 3.6.8. ( The compliment to the answer you gave. It not Firefox that has the problem but Adobe.)
    Since the only solution that I have seen is to disable the key reason to use Firefox 3.6.8 (crash protection) then the problem would appear to be in how Firefox as done the crash protection.

  • Will BlazeDS work with Flash (not Flex or AIR)?

    Does anyone know if Blaze can work with Flash(not flex or AIR)?
    If so, how? Any examples?
    Thanks,
    James

    Hallo Russell,<br /><br />I'm a beginner with Flex and Flash, and I already succeeded calling the remote object with Flex. But my company requires me to use Flash (AS3).<br /><br />So, could you please give me an example of ActionScript code to call a RemoteObject in BlazeDs? The url? and call string?<br /><br />I also use Spring behind.<br /><br />I tried to use the url: "http://localhost:8080/myAppName"<br />and then the call string is "myService.getList"<br /><br />myService is the destination in the service-config.xml<br />getList is the method from the remote object which is a Java class.<br /><br />Here is the snippet from remoting-config<br />  <destination id="clasificationService"><br />    <properties><br />      <factory>spring</factory><br />      <source>clasificationManager</source><br />    </properties><br />  </destination><br /><br />and Here is the snippet from services-config:<br /><br />    <!-- Spring factory registration --><br />    <factories><br />        <factory id="spring" class="com.airbus.cm.cd.controller.SpringFactory" /><br />    </factories><br />    <channels><br />        <channel-definition id="channel-amf" class="mx.messaging.channels.AMFChannel"><br />            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"<br />                class="flex.messaging.endpoints.AMFEndpoint" /><br />            <properties><br />                <polling-enabled>false</polling-enabled><br />            </properties><br />        </channel-definition><br />        <br />        <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br />            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br />            <properties><br />                <add-no-cache-headers>false</add-no-cache-headers><br />            </properties><br />        </channel-definition><br /><br />        <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"><br />            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/><br />            <properties><br />                <polling-enabled>true</polling-enabled><br />                <polling-interval-seconds>4</polling-interval-seconds><br />            </properties><br />        </channel-definition><br /><br />    </channels><br /><br />Best regards,<br />Raymond.

  • Issues with Flash - Firefox 7.0.1 on Windows 7 & Firefox 3.6.23 on Mac OS 10.4

    I'm having an issue with Firefox vs Flash, and having scoured the web haven't found an answer, so any help appreciated.
    I work on a Flash website which uses URLLoader to load XML - previously working perfectly until Firefox and Flash updated to versions:
    FF 7.0.1 & Flash 11,0,1,152 (Windows 7 v6.1)
    FF 3.6.23 & Flash 10,3,183,10 (Mac OS 10.4.11)
    Data load produces IOError, but not in Safari, IE, Chrome, Opera. Where to start!? Is this a Firefox or Flash issue?

    *BUMP* Does anyone have any ideas? Or has anyone managed to fix this problem for themselves?

  • I have issues with Flash Player 10, can you help resolve this?

    Hello everyone,
    At the risk of giving too much information:
    I run a Mac iMac 2.16 GHz Intel Core 2 Duo with 2.5 GB 667 MHz DDR2 5 DRAM with OS X version 10.4.11
    The issue:
    I recently did the following things,
    a) Downloaded and used Safari Version 4 Public Beta (4528.17) Without any issues.
    b) Downloaded and used Flash Player 10.
    Prior to this I wasn't aware of any issues, so I shall assume that Safari and Flash Player 9 worked fine together.
    I also run Opera version 10.00 Beta, Firefox version 3.0.1.0
    Here's the issue, when I visit BBC iPlayer and select a TV or Radio progamme I get this warning ..."A script in this movie is causing Adobe Flash Player 10 to run slowly.  If it continues to run. your computer may become unresponsive.  Do you want to abort the script?" YES/NO ( attached file).
    Selecting Yes or No results in the TV or Radio Progamme continuing to play but all control is lost so a Force quit is neccessary.
    This issue applies to Firefox and Opera.
    Sky.com doesn't appear to suffer these issues in as much when I've uninstalled Flash Player, Sky asks for 10 to be installed and works fine once it's done.  I should add that I installed Adobe AIR after the issues began without any resolution.
    No doubt when you know what the issue is it's resolved in a flash, so come on who out there can help me...please.

    Hello Chris,
    Thanks for the Flash settings instructions, that was useful and now I understand that all those particular options are available from a right click.  Having said that in this case I still wasn't able to resolve my issue, although I can right click and by clicking anywhere in the Adobe Flash Player Settings panel select or deselect there doesn't appear to be anyway to save that selection,(attached). 
    I should say at this point that I'm thinking that if my issue might be display speed then by disabling hardware acceleration this might resolve the issue.
    Regards
    Chris Antjoule

  • Issues with Flash Player Plug in

    Hi i have had my mac book pro since oct of 2008 and since the beginning it will not work properly with an flash player plug in. I have had several people tell me to remove it then re-download it and i have done that several times. now here is my issue with the flash player on my computer it shuts down the internet randomly and gives my an error message that says this shut down and may be due to flash player. and if i take it off i cant see any video. i want to fix this issue is there any way of doing that? thanx for your time

    Just to assure you that you are not alone - Flash Player constantly crashes the internet connection on all of our office Macs. It's completely random and doesn't seem to be related to hardware or software configurations at all. It can go for weeks or months with no problems, and then the same random crashes with the same error message.
    It does work better in Safari than it does in FIrefox.
    You can check out the adobe forums, but I'm not sure you will find a tremendous lot of help...
    One thing -- removing and installing Adobe Flash by itself is usually not enough to clear out the system. You might want to get a 3rd party program that deletes programs and all their residuals. You can find them by doing a search of VersionTracker.com
    Normally, you would then also need to reinstall a fresh copy of Safari as well. Make sure you back up your bookmarks before deleting and reinstalling Safari. Follow the directions on the Apple Support forum on how to fix Safari problems.

  • IOS/AIR Running and Debugging Issues with Flash Builder

    I'm having very frustrating intermittent issues running and debugging Flex applications on an iPad 3rd generation retina with Flash Builder 4.7.
    Until this morning, launching on device using both standard and fast packaging worked pretty well. Every now and again, I'd get a dialog saying the packaging had completed successfully, but it hadn't. A quick change of the USB cable to another port on my iMac and it started working again. I'd also randomly get a "Error occurred while installing the application: Invalid <device> specified" error, which quickly went away.
    This morning, with the same code base, the same certificate and provisioning profiles, Flash Builder has only managed to successfully package and run my application on my iPad twice and I must have attempted to launch fifty or so times. Standard packaging, fast packaging and with and without the useLegacyAOT.
    Does this sound like a Flash Builder issue? Is my iMac USB driver dodgy? Has anybody else experienced this?
    Any help greatly welcomed!
    Thanks,
    Simon

    Hi I have had this problem sometimes. With my Mac Book Pro.
    Try making a new flex application and see if you have the same result.
    When I had this problem I created a new Application and copied every thing from my other application.
    This my be a hard solution but I don't no any others.

  • USB Issue with Flash Drives

    I am running XP Pro with SP3 and all updates as well as all Bios updates with Lenovo.
    I have an issue with my USB ports.  Everytime I put a USB flash card in any slot I do get installation and driver installed correctly.  But when I go to the Explorer I get "is not accessible"  Then it says under that "The process cannot access the file because it is being used by another process"   But when I leave the USB flash drive in the drive and reboot I am able to to access the drive.  Any suggestions on this issue I am not sure if it was the Bios update or one of the XP udpates.  Anyone else come accross this issue?
    Thanks,
    Scott

    Would you try this:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    I don't know what you are looking at to determine space available. You need to do that by selecting the device's Desktop icon then press COMMAND-I to open the Get Info window. The capacity and available space will be displayed in the Get Info window. A portion of the device will be allocated for the RDB and directory, so some space will be shown as in use.

  • I am having a very fustrating issue with flash

    I am running flash in IE8 on a win 7 laptop with flash version 10.1 plugin.  i can install it and it will run for a while. but once i restart my system or close my browser and start it up again.. it starts to crash. then the problem will migrate to my other browsers.( firefox and chrome) this has started happening since i upgraded to 10.1 from 9. whatever.  and i cannot just re-install it to get it working again.. i have to shutdown all browsers. uninstall flash through the control panel reboot , then install , reboot then it MAY work. any help would be very appricated. the biggest culprit is facebooks flash app cityville. It is the one that is really causing this issue.

    Hello BaoBae,  Since no one knows what problem you had, since you didn't start a thread, it's difficult to offer your solution to others. Especially when you don't know what their problem is:-) There is no one fix.
    Why go thru everything you have posted here, when the problem may be a simple turning off the hardware acceleration feature? This is just one example. Or how about  an addon in the browser and disabling it and that is the solution?
    Offering a solution before knowing the problem is having the cart before the horse and really isn't helpful.
    You most likely know what your problem was, but no one else does that you are giving your solution to on the threads here.
    If this solution solved whatever issue you were having, that's great. But it won't be for everyone, nor should it be.
    Finding out the problem and then the solution is always the order:-)
    Thanks,
    eidnolb

  • Firefox constantly freezing due to issues with Flash. Please help.

    I was running the firefox 20 beta (and have been for a while) when in the last few days, suddenly any time I tried to open any site that used even the slightest amount of flash, the browser would freeze for minutes on end before finally releasing a "plugin error" type message about Shockwave Flash. If i clicked 'continue' it would stay frozen. If i clicked 'stop script' then sometimes it would fix it, but most of the time it would keep freezing and showing that same message over and over until I stopped the process in task manager.
    First I tried to update flash and shockwave- both are up to date. So i decided to delete the files themselves and the programs via add/remove and reinstalled them. Still did not fix the problem.
    Next I tried to do a reset firefox to default state. This didn't work. I tried doing it again with the flash files deleted/uninstalled AND I rebooted the computer and the problem still persisted.
    Finally, I tried to downgrade to a more stable version of firefox, so I downloaded 19 and it still didnt work. Tried the uninstall/re install for flash one more time and nothing.
    At this point, I cannot access about half of the pages I usually go to on the web and I need help here, please anything will do.
    One thing that I noticed that might be helpful is that no matter how many times i uninstalled or reinstalled flash, every time it would try to run, task manager would show two instances of it, each using different amount of memory.
    again, please please help. If there is any solution short of a total wipe it would be greatly appreciated

    hello, maybe it's an issue with the protected mode in the flash plugin - you could try if [https://support.mozilla.org/en-US/kb/flash-113-crashes#w_solution-2-downgrade-to-flash-10-3 downgrading to flash 10.3] (which is still supported) or [http://forums.adobe.com/thread/1018071#TemporaryWorkaround disabling protected mode] makes a difference.

Maybe you are looking for

  • Help me to connect my iphone with the itunes

    when i connect it to the computer ut tell me to open my passcode on the phone before it connect but i have already open my passcod and i dont know why it still asking me please i need help

  • Calrification for Weblogic Clustering

    Our J2EE application is multitiered where JSPs&Servlets(Frontend) runs in a weblogic instance and EJBs(Backend) runs in two weblogic instances which are clustered. Here the Frontend weblogic instance and one of the clustered Backend weblogic instance

  • File adapter: lastFiledsOptional = YES

    Hi, I have a file adapter that works fine with this setup: <u>Structure:</u>   Head,1,Line,* <u>Adapter:</u>   Head.lastFieldsOptional = YES   Line.lastFieldsOptional = YES But with this setup, i still get the message <i>java.lang.Exception: Consiste

  • Help! My Zen Neeon 2 (2GB) when BLANK

    Hi, Would appreciate if anyone could help me on this problem... I?bought?my MP3 player?about .5 month ago. I just?transfer some songs from my pc file to my MP3 player everything goes find until I?use my MP3 scrolled to check?all the songs that I just

  • HELP! having problems with the organizer of mediasourc

    hi, i am currently having problems with the organiser view of the mediasource 5. the player view is ok. the explore panel keeps blinking and after a while the mediasource auto closes. this has not happened before during the past weeks. also, another