Flex app with bidirectional languages

I saw a posting from Adobe that Flash does not support
bidirectional languages -
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=a767a478
Does it mean that I cannot create a Flex application
displaying and inputting bidirectional langauges such as Arabic?
If so, any idea when Adobe will have bidi support in Flash?
Daisy

http://oddhammer.com/index.php/site/now_this_is_awesome_flash_news/
Adobe's product manager had just promised today that "the
next major release of the Flash Player (Flash Player 10?) will
support bi-directional text"
http://oddhammer.com/index.php/site/now_this_is_awesome_flash_news/

Similar Messages

  • Flex App with remoting works on local Apache server - fails on production server

    Hi Everyone,
    I have a Flex app that uses Data Services. The application works correctly on my local Mac Server and Apache. When uploaded to my production CentOS server, the Data Services fail. When the app is done loading, the following error message comes up:
    Class "ModelsService" does not exist: Plugin by name 'ModelsService' was not found in the registry; used paths:
    : /www/html/mdubb//PHP2/bin-debug/services/
    #0 /var/www/html/mdubb/ZendFramework/library/Zend/Amf/Server.php(550): Zend_Amf_Server->_dispatch('getAllModels', Array, 'ModelsService')
    #1 /var/www/html/mdubb/ZendFramework/library/Zend/Amf/Server.php(626): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
    #2 /var/www/html/mdubb/PHP2/bin-debug/gateway.php(73): Zend_Amf_Server->handle()
    #3 {main}
    Where getAllModels is a method of my custom ModelsService.
    I changed the Zend path in the amf_config.ini file so it references the correct directory. If I browse to gateway.php, it prompts to download the file, which I think is correct.
    I added in the config file the path to the services folder.
    I tried adding $server->addClass("ModelServices") in gateway.php, but it didn't like that.
    The file structure on the production server is the same as the local server (I litterally uploaded everything in my local web root), so I can't think of what would be differenet between the two.
    I have already pulled one all nighter trying to get this to run. Do you know what I should troubleshoot next?
    Thanks in advance,
    Ryan

    Hi,
    With reference to Lumira 1.15, the minimal SP we support is BI 4.0 SP6. Please upgrade at least to this. Everything is detailed in the PAM https://websmp107.sap-ag.de/~sapidb/011000358700001095842012E
    Best regards,
    Antoine

  • Configuring socket policy for flex apps(with blocked port 843)?

    We have built several flex-based ecommerce apps for a fortune 500 customer of ours, that for various reasons, we need to use sockets to a different domain and requires a socket policy file, but were having trouble configuring our flex apps for deployment in thier enviornment where they are blocking virtually everything except port 80 . The current documentation in in regards to socket policy files and crossdomain files in a non-standard configuration not using port 843 is not providing any useful help to us.
    Here is the scenario:
    Flex apps are served from domain www.a.com in  to users browsers via http. The apps then make socket connections to domain www.b.com:80 where there are php scripts serving json data to the flex apps via port 80 using http(we use sockets because we need to set and read back http headers). The problem is the flex apps cannot make socket connections to the www.b.com domain without errors like below(unless we setup a socket policy server on port 843 of www.b.com, in which case everything works):
    Warning: Timeout on xmlsocket://www.b.com:80 (at 3 seconds) while waiting for socket policy file.  This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com.us/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Since we cannot use port  843 for the socket policy file server, we setup the socket policy server on a different ip in the same domain: spf.b.com:80 (using the sample perl code Adobe provides), and per the docs(cited below), use Security.loadPolicyFile("xmlsocket://spf.b.com:80") before we invoke "socket.connect", to supposedly tell the flash player to check there for the socket policy file. The problem, as you can see from the error log, is that the  loadPolicyFile("xmlsocket://spf.b.com:80") is ignored.
    No matter what we do or how we set things up, we cannot get the flash player to recognize the loadPolicyFile(), it always wants to go to the port were making the socket connection on. It is unclear how to properly configure the flex app, socket policy file and crossdomain file for the above scenario. The docs allude to being able to serve  the socket policy file from a different port 80 in the same domain as the socket connection were trying to make, but were having no luck with that.
    ->Can anyone shed some light on how to make this work or what are we  missing/doing wrong? Also, if we can get this to work, are we  stuck with a 3 second delay because this(very large) customer is blocking port 843?
    As an aside,  the documentation for all this is a bit scattered, unclear and contrdictory:
    One document says:(http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_07.html)
    "This warning usually means one of two things: first, that you need to set up a
                socket policy file server on port 843, which is the first location that Flash
                Player checks by default; or second, that you need to provide more explicit
                guidance to Flash Player from ActionScript by calling loadPolicyFile to indicate the location
                of a socket policy file. When you call loadPolicyFile rather than allowing Flash Player to check
                locations by default, Flash Player will wait as long as necessary for a
                response from a socket policy file server, rather than timing out after 3
                seconds."
    Another document says(http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html):
    "If an ActionScript Security.loadPolicyFile() command exists within               the SWF file, then the Flash Player runtime checks that location. Flash Player checks               the destination of the loadPolicyFile() only after it has checked the               master policy file on port 843 for permission to acknowledge other policy               files. If the developer has not specified a loadPolicyFile() command,               then Flash Player checks the destination port of the connection."

    I found the reason why the Flex application was ignoring the socket policy (crossdomain.XML). I have a policy server that listens to port 843 and submits the policy to the Flex client. My policy was getting ignored by the Flex application and I was getting the sandbox security error you were getting. The solution to this problem isto write a null byte right after the policy server sends the policy. I'm using Apache Mina that is wrtten is Java and the null byte is written as follows:
    public void sessionCreated (IoSession session)
            throws Exception
            session.write(_policy);  -- > policy string
            session.write("\u0000"); --> null byte
             //session.close(true); ---> No need to close the session because it is closed by the Flex client after it receives the null byte.
    Now my Flex application can read and accept the policy from port 843 and I'm not getting more security violations.
    Thanks for your reply,
    Alberto

  • I have created a Flex App with out a Server now I need one

    So I'm new to Flex and didn't think the project needed a
    server at first (poor planning on my part) now I'll need one. I
    have alot built and would like to just conevert the app if I can.
    The project has been sourced in to Subversion, I would like not to
    have to rebuild the repository.
    Thanks for the help

    OK, so I think what you're saying is that you have developed
    locally, which is good, and are using java objects as your back end
    solution - I'll just state that Java is the *only* method of data
    transfer that I haven't used (I use ColdFusion, XML, WEb Services
    mostly), so at some stage I may not be able to help you.
    Still, lets see how far we get. So, you can deploy your SWF
    file to any web server, and browse to it with your browser. The
    output in the /bin directory will include the SWF (usually the name
    of the project) and a html wrapper file.
    Is the Flex app actually rendering (i.e., your containers)
    before you get the error? (I'm trying to determine if the problem
    is the data transfer or the flex app proper)??
    David

  • Existing Flex App With Air

    I have been working on a large Flex App using CFM as the db
    access layer. Essentially I understand that AIR will allow my RIA
    which is currently solely used in a browser run off line as a
    desktop app. However, my question is what's involved in modifying
    this application to push 'new' data added while off line back to
    the db when a connection becomes available.
    Some guidance on this subject would be great, or is this
    something which should require no modification?

    AIR doesn't give you any synchronization mechanisms. It's
    entirely up to you how you manage offline operation.
    What AIR actually does is provide an out-of-browser runtime
    environment for Flex apps, plus some additional APIs that Flex
    couldn't give you due to its browser-based nature. Among them are
    access to a local database, plus more generalized local filesystem
    access. Between these two things, you can store local changes while
    offline, then work out some way to push them to the server at a
    later time.
    You might make your first step into the AIR world just a
    simple port of the existing application to run under the AIR
    framework. This won't give you any new offline capability, but it
    will let the app run as a desktop app, outside a browser. This may
    make more sense for your type of application. Then once you get
    that going, you can worry about synchronization.

  • Audio is not playing first time in Flex app with 11.2 Flash player.

    Hi,
    I am playing an audio fle as flv in a flex application with flash player 11.2  but it is not playing first time and it is playing afetr pause/play and page refresh. Loacally it is playing fine. Please help and guide me.
    thanks in Advance
    Rangrajan.

    Taha,
    Not sure that I understand your workflow there. For editing, the 48KHz 16-bit is the "standard." The 32KHz is not.
    Now, what is the Sample-Rate of your original material?
    What is the CODEC used in that muxed (multiplexed, i.e. combined Audio & Video) file?
    Did you allow Conforming complete 100%? This ARTICLE will give you some background.
    Do you see the Waveform Display for that Clip? Alt+click on the Audio portion of the Clip, and then Dbl-click on it to get it into the Source Monitor. Do you see the Waveform Display there?
    Have you added any Keyframes, or Effects to that Audio? Toggle the Keyframe Display in the Track Header, to see if there are any Clip, or Track Keyframes there.
    Have you accidentally Muted that Track? Look at the Visibility (eyeball) icon in the Track Header. Then, look in Audio Mixer to see if that Track is Muted.
    Good luck,
    Hunt

  • App with different language

    I want to buy the number aplication. But I need chose the English language for it. I'm living at Portugal and I using Portuguese language to my Ipad. But I want english language for my Apps. How can I do that?

    Just one more thing. language is associated with the ipad and not the store of the country where I did my apple id, right? Because I've done the purchase application numbers and returned because it was in Portuguese. And another thing. I'm thinking about buying the pages and often write in Portuguese. As the spell checker will work with the ipad set to English?

  • How to install English language apps with different language operating system?

    Dear Expert,
    I have just purchased Adobe CC and downloaded the CC installer.
    I cannot install Illustrator in English, because it automatically installs it in Hungarian (that is the language of Windows 7).
    I have tried to set
    Preferences / Apps / Settings / App Language to International English and reinstalled and updated Illustrator, but
    it is still in Hungarian.
    Could you please help me how to uninstall and reinstall it in English, please?
    Thank you,,
    Zoltan
    wiamons.com

    Hi Jeff,
    Thanks for your reply. I have an active membership - just managed to solve the problem with the help of Adobe customer support.
    Basically, I had to uninstall Illustrator and the Creative Cloud installer, then deleted all Adobe folders and reinstalled the software.
    Before downloading anything, I had to set up the 'Preferences/Apps/App Language' to International English, because it automatically switched to the language of the operating system.
    /Zoltan

  • Compiling Flex Apps With ANT Problem

    Hi guys,
    I thought i'd have a go at using ANT to compile my applications into a single war file that I could then use to deploy. So far so good, until I got to the last bit. Within the root of my application i have the actionscript source file and underneath that I have an assets folder where all my images and css files live. E.g. app_root/asrc/assets/stylesheets/default.css. Now the ant task i've used to succesfully compile everything else looks like this;
         <target name="mxcompile">
            <mxmlc
                file="${asrc}/Main.mxml"
                output="${dest}/Main.swf"
                actionscript-file-encoding="UTF-8"
                keep-generated-actionscript="true"
                incremental="true"
                context-root="SOSBetaAdmin"
                services="WEB-INF/flex/services-config.xml"
                allow-source-path-overlap="true">
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <source-path path-element="${asrc}/assets/stylesheets"/>
                <!-- List of SWC files or directories that contain SWC files. -->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="../bundles/{locale}" />
                </compiler.library-path>
                <!-- include dependencies -->
                <compiler.library-path dir="." append="true">
                    <include name="libs" />           
                </compiler.library-path>
            </mxmlc>
        </target>
    However when i run it i get the following error;
    Error: Problem finding external stylesheet: assets/stylesheets/default.css
    Its there, its definately there and whats more Flex builder doesn't have a problem with it. So why does running the compiler as an ANT task cause this issue? Am I missing something?

    I think your problem is that you are missing another source-path tag.  Assuming your assets directory is immediately beneath directory asrc, you'll want to add the following line to your build.xml file:
    <source-path path-element="${asrc}"/>
    Hope that helps.
    Joe

  • Creating a Flex App With a PHP Server Connection

    I'm attempting to create a new Flex application that has all of it's source data stored in a mysql database on my server provider (siteground) but am struggling to establish a connection from Flex.
    Basically I click File>New>Flex Project and then name a new project with PHP as the application server type and click next.
    Now comes the problem, I have no idea what to type into the "Root URL" option. I have set the "Web Root" simply to a folder that I've placed on my desktop (sitegroundtest) and Flex seems to recognise that fine but it's just the "Root URL" that I'm struggling with. What exactly would go in here if I want to work directly on the server as opposed to just my local machine (localhost)?
    I'm struggling because I've basically never done this before as I've only ever developed PHP sites in Dreamweaver in which case the sites were all placed on a university server to which all addresses and urls were provided to us.
    The domain name I've purchased is from siteground.com and is www.coolvisiontest.com. Would this have any effect on what needs to be entered into the root url or do I need to look elsewhere for it like within my server provider options or something along those lines?
    It's something that I'm sure is very simple but I have no experience with and I really can't start without finding it out.

    Yep I have used localhost before as I had wamp installed on my computer but I want to work directly from my server provider (siteground.com) where I have set up my mysql database in phpmyadmin, which contains all the sites product details. I know I can work locally using wamp but I want to try to connect to the server to make sure I actually can basically.
    Basically I just can't find the root url I'd need to enter to access siteground via the php server connection and have no idea where to find this. Would you know?
    I think I may also need the same address to access data from tables in the database using Flex's "Data>Create Application from database" connection option. Or would that require another?
    I feel stupid asking this as I'm sure it's really simple but it's just something I've never done before except on my old University server, in which case all required urls for connection were supplied to us and I only ever done this through dreamweaver. Cheers for your help so far.

  • Draw a rectangle from a flex app

    Hello,
    GRAND CHALLENGE (should be "hello world" that anyone should
    easily find):
    1) - a flex app with a button
    2) - when clicked the button draw the rectangle
    PROPOSED NON WORKING SOLUTION:
    draw.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>import DrawApp;</mx:Script>
    <mx:Script>
    <![CDATA[
    function drawNow():void{
    var myRectangle:DrawApp = new DrawApp();
    myCanvas.addChild(myRectangle.returnRectangle());
    ]]>
    </mx:Script>
    <mx:Canvas width="100%" height="100%"
    id="myCanvas"></mx:Canvas>
    <mx:Button label="draw"
    click="drawNow()"></mx:Button>
    </mx:Application>
    DrawApp.as:
    // ActionScript file
    package {
    import flash.display.*;
    class DrawApp extends Sprite
    public function DrawApp()
    //don't use the constructor anymore since it won't return
    the rectangle
    public function returnRectangle():Shape
    var rectAndCircle:Shape=new Shape();
    rectAndCircle.graphics.lineStyle(1);
    rectAndCircle.graphics.beginFill(0x0000FF,1);
    rectAndCircle.graphics.drawRect(125,0,550,575);
    rectAndCircle.graphics.endFill();
    return rectAndCircle;
    }//class
    }//package
    I've got an error "1034" (BTW as a bonus if anyone know how i
    can avoid to have the localized AS3 error messages so I can paste
    full error messages in English)
    CHALLENGE:
    Can someone show me how to make this wok before Silverlight2
    Beta get out?
    Thanks from francois who's mad trying to solve this "should
    be obvious hello world" for too long and who also discovered
    lately:
    - the lack of threads in AS3
    - the insane security policy around Flash Player (must
    install a proxy to access a public API...)
    - etc.
    Help please Oo

    Ok found the solution: needed to change the "Shape" object by
    a "UIComponent" object (don't know why).

  • AIR app and Flex app in same Flex builder project

    Hi,
    I've developed a flex app with a lot of custom components.
    Now I want to create a desktop version of the same using the same
    exact same components. Is it possible that I add an mxml
    application, make it a WindowedApplication and compile it to
    produce an AIR app? Or are there any workarounds to accomplish
    this.

    Easiest way I have found is to complete your Flex Web app.
    Then create a new Flex AIR app and then copy code from your working
    Flex Web app over.
    Yes, you end up with two complete sets of code, but if that
    is going to become an issue with keeping both versions up to date
    you can simply use one set of source.
    To do this, create two projects, one Web, one Air. Then you
    can create a third folder (not project) that contains all the
    common code.
    In each of your projects, simply import the code you want to
    use using the project options.
    No, not ideal, but does work. Would be nice to see Flex
    Builder changed so you can have rooted projects.
    E.g. A project called "MyBigApplication" that isn't targetted
    at any platform. Within this you could then produce sub-projects
    that target a particular platform, be it web or air but share code.
    Maybe in the next version.....
    Cheers
    Ian

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Some of my apps are with wrong language.

    Some of my apps are with wrong language. Spotify is on holland and sleep cycle are on Chinese? Is there a way to change this ?
    My region is set right (Norwegian)

    Henrik,
    You should try setting your general system language to English, followed by setting it to Dutch again. Fixed it for me. Apps that don't have a translation to Dutch (at least that's what i'm guessing) now appear in English (which I think is fine). So before this 'fix' the phone must have somehow thought Chinese was my second language...
    https://discussions.apple.com/message/23148896#23148896
    Regards,
    Johan

  • Playing with Session Data in Flex App

    Hi!
    I'm trying to figure something small out.
    1. Users login to (Index.php) and Session information is stored.
    2. When I want to display specific session data, I use the code: $session->username
    Now for the Flex Application
    How do I display that "$session->username" in a label? on that exact page? (Index.php which loads the Flex App)
    Any help is really appreciated.
    Thanks!

    I am going to assume by, "with subnods(sp)" you mean things nested like a tree control in the rows.  The name of this control in Flex is AdvancedDataGrid, with that a simple google reveals:
    http://flexgeek.wordpress.com/2007/06/13/simple-ganttchart-using-advanceddatagrid-of-flex-30-moxie/
    http://flexpearls.blogspot.com/2007/06/advanceddatagrid-summary-roll-up-sample.html
    http://livedocs.adobe.com/labs/flex/3/langref/mx/controls/AdvancedDataGrid.html
    Adobe Labs info with known issue list:
    http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Advanced_DataGrid

Maybe you are looking for

  • Multiple cloud with one iTunes account

    My wife and I share an iTunes account so our iPhones just show up as separate devices.  Can we set up two iCloud accounts withing this one iTunes account so that we can back up our iPhones to the cloud independent of each other?

  • Unable to join network after dropping my ipod in the water... anyone know a solution?

    I put my ipod in the pocket in the back of my jeans and when i went to the washroom, it fell into the toilet... I immediatey took it and dried it with a hairdryer and then a few hours after.. it was able to reopen again, but im unable to join my netw

  • What does iMovie (09) do when I select "Export Movie"?

    I can't believe this isn't an FAQ, but I can't seem to find the answer anywhere. I love iMovie but, as many people realize quickly, part of what makes iMovie so simple to use is that it assumes certain things so that the endusers don't have to worry

  • Imac won't startup

    My imac won't startup only apple on gray screen and spinning gear. what can I do to make it work. I was using techtool to optimize and on restart it showed up with a can't find finder, it seemed to be stuck in operating system 9.0. I normally start u

  • Inter company STO - Issues

    Hi All, I am working on a subproject Inter company STO.  The following steps I am following: 1) Created Partners and done all other related configurations 2) Created Purchase order type NB 3) Created Outbound delivery using VL10B and doing the necess