RTL and XML

Hello, what is the best way to use the new component text to import the Arabic language via xml in flash.

In the demo with the spinning globe, I noticed that the Arabic text is unicode, the unicode string is actually LTR, then it is displayed with RTL. Obviously, this works very well with wordwrap etc.. Is there some sort of converter that I can get to convert Arabic RTL unicode LTR?
I also wonder if its possible to import the Arab police a string of XML and have things like the word wrap work correctly, I assume here (perhaps naively) that it is not a format XML of RTL and if there is flash dress not her head around it. I can't imagine writing whole paragraphs of text backwards in xml. To do that I have to use the markup code following the bidi.xml file in the examples, where it separates each row for display to face the problems of film.

Any ideas would be great, I'm sorry if my explanations are a little newby, I'm no gun.

K.

This is the application that displays the XML code as to how it will appear to you, so I can't speak to see if it the XML will look like LTR or RTL when you view it. But the idea is that Unicode characters are stored in the reading order. For TLF, it gets the Unicode in the reading order, and then the player converts them to "atoms" which are classified either RTL or LTR according to Unicode values.

The example of bidi.xml doesn't have much shorter lines, but the same principle works on longer paragraphs as well and TLF, using the player, will correctly paper wrap regardless of the orientation of the text. In order to get the order of the columns, dashes and punctuation to look right, you need to decide if your TextFlow and paragraph is mainly LTR or RTL and set the direction of appropriately attribute.

Tags: Adobe Open Source

Similar Questions

  • How to filter the doc and xml using SDKFileOpenChooser?

    I need to filter only word and xml

    SDKFileOpenChooser openChooser;

    openChooser.AddFilter (291, "App_Filter");   291 for app

    openChooser.ShowDialog ();


    Where to find the ID of the extension for the filter application or any solution?

    To display only the XML using SDKFileOpenChooser files use:

    openChooser.AddFilter (kXMLFileTypeInfoID, "files (xml)" "") XML;

    To Word files, try to use kMSWordFileTypeInfoID instead.

  • Flash CS4 and XML

    Hello

    I use Flash CS4, I have problems by creating an xml file to work

    with action script for a 3D carousel. I created the folder for

    image png icons and xml file using a normal Notepad in windows

    for file works with flash action script 2.0, but in the menu output said msg

    Error opening URL "file:///C|/Users/User/Documents/caroselFile/icons.xml".

    They are not the compiler errors. Notepad or xml editor? I've been

    can I use a normal notebook?

    Maybe I should of saved in the directry fla, but don't know where

    This is the case.

    Thanks Larell

    You can use an absolute path, but the chances of error are much greater than when you use a local path.  In addition, your absolute path does not work when you deploy your swf (on a server under an air or as a file of projection).

    Use a relative path.  the easiest way is to put the xml file in the same directory with your html and swf, fla.  You can then use:

    yourxml. Load ("icons.xml");

    I like to keep xml files in a subfolder of the xml file that contains my html and swf, fla.  in this situation, you would use:

    yourxml. Load("XML/icons.xml");

    but whenever you have a path problem, the best bet after a few checks and emerge from the spelling is to the file to be loaded into the same directory as all flash files and make sure you can get this to work.  then start moving files to create a cleaner more logical Setup, if that suits your needs.

  • All tables and xml are be NULL problem

    Hello guys

    I'm working on a project that uses the format of loading xml, e4x and intensively, table manipulation and it was fine but now I'm stuck on a strange problem.  All code was beautiful and application work and respond in a desired way, but then mystourisly it stopped working and started to return NULL values in almost all the tables of the (internal) actionscript and XML varibales.

    Now every time I have to load the xml file and set the loaded xml internal variables, internal values get only NULL instead of data.
    The same is the situation with the berries, I created a few components in mxml, and when I passed them to reference tables, the code gets compiled successfully, but again Array has only null values [that code worked very well too]

    I wonder if Adobe Flex did an update reduced to silence or something similar and it's the result of this things!

    I use Adobe Flex 3.2 SDK 3.3 on windows Vista Ultimate Edition.

    Please check this project attached, import it and see if you face the same problem

    Thank you

    Link to the problematic project

    http://isolatedperson.googlepages.com/problemXperiment.zip

    Problem screenshot

    http://isolatedperson.googlepages.com/xmlissue.jpg

    HTTPService to load the data. You will have less problems.

    
    
         
              
         
         
         
    
    
  • RTL and ligation of support in the standard controls

    Create a quick test, I have been unable to determine how to use the new features as the supported language RTL and ligatures in the standard controls, like buttons etc.
    Does anyone know if and how this is supported?

    TLF is just the underlying text support. For more information on using TLF buttons, I would say looking at Flex Gumbo, if you are a user of Flex and post questions on their forum. Peter deHaan has some blogs that may also be useful.

  • PL/SQL and XML

    So I have a little problem. I have a request that I need to have to produce XML from. I was initially doing this through htp.prn, but then I realized that some of the data that I was out to and XML file may have special characters in them, namely signs and double quotes. I decided to see if Oracle were all functions to remove special characters and replace them with the HTML counterparts (an ampersand would turn into & amp ;)) I found a few things that seemed useful, but the problem is, with the functions I found, he wanted the data to be strictly out of the database and some of the data I wanted in the XML document was also user entered on the pages. Is there something out there that will search by text AND query results to check that there are no special characters? Thank you.

    -Joshua

    The following function should work for what you are trying to do.

    htp.p(htf.escape_sc(:P1_ITEM));
    

    To escape the database columns simply include in your select statement:

    SELECT htf.escape_sc(COLUMN_NAME) alias
      FROM TABLE
    

    To escape from the elements on your page apex:

    INSERT INTO table
               (COLUMN_NAME)
         VALUES(htf.escape_sc(:P1_ITEM))
    

    Good luck

    Tyson

    Published by: Tyson Janet on November 25, 2008 16:12

  • Mozilla crashes when you try to load the addresses of rss and xml

    Whenever I try to load any stream rss or xml feed in the address bar (I tried four or five different ones), mozilla is trying to load the page, fails and then fails altogether. I tried to create a new profile to see if any existing modules or plugins were the problem and they do not seem to be as I arrived at the same result with a new profile as well.

    This happened yesterday when I was using version 9.0, I've updated since then to 10.0.

    It is not catastrophic, as the pages can always load in other browsers, but it's a bit confused. Any ideas?

    Thanks for the tips and I would have tried it had the problem solved not only himself.

    Weird.

  • Export Audio OMF and XML files

    Hey there,

    We should be able to export OMF Audio files for editing in Pro Tools and also to export XML files to facilitate the color calibration. These options are available in the elements?

    Thanks in advance

    Laughing out loud

  • Error with the processor of the OPP and XML editor

    Hi guys,.

    I can't run a report customized with the xml editor in Oracle EBS R12.

    The end of the report with caution. I check the newspaper and I increase the response time of output, but the warning still to come.

    I have the following message in the log manager:

    [09/12/13 14:43:30] [OPPServiceThread0] Environment variable APPLTMP is not defined

    [09/12/13 14:48:52] [OPPServiceThread1] Post-processing application 5825806.

    [09/12/13 14:48:52] [UNEXPECTED] [2049675:RT5825806] The APPLCSF system property is not set, you cannot create the lock file.

    [09/12/13 16:20:10] [OPPServiceThread1] Post-processing application 5825821.

    [09/12/13 16:20:10] [UNEXPECTED] [2049675:RT5825821] The APPLCSF system property is not set, you cannot create the lock file.

    My env variable system are

    APPLCSF = C:\oracle\VIS\inst\apps\VIS_oracleserver\logs\appl\conc

    APPLTMP = C:\oracle\VIS\inst\apps\VIS_oracleserver\appltmp

    I'm on windows server 2008. Please can someone help me?

    Kind regards.

    Hi guys,.

    Finally, I solved this problem!

    I explained the problem:

    -My OS is 64-bit windows server 2008

    -J' used Microsoft visual C++ 2008

    So I think that the version of the os and MS visual was not compatible with EBS, so I reinstall the entire application and now use 32 bit of Windows server 2008 and Microsoft visual C++ 2005;

    After that, the error of the OPP has changed, I just changed the temporary directory to a valid location and my xml editor report appear.

    Thank you all particularly Hussein for your great help you are WONDERFUL!

  • Parshing and XML [V 10 G] data extraction

    Hi Experts,

    I have an XML CD catalog file. I extract the values of the fields in xml format and load it into a table of the same number of columns.

    can someone help me how can I extract XML data

    Example of XMl

    --------------------

    <!-edited by XMLSpy®->

    <>CATALOG

    < CD > < TITLE > Empire Burlesque < / TITLE > < ARTIST > Bob Dylan < / ARTIST > < COUNTRY > USA < / COUNTRIES > < Columbia COMPANY > < / COMPANY > < PRICE > 10.90 < / PRICE > < YEAR > 1985 < / YEAR > < / CD >

    < CD > < TITLE > hide your heart < / TITLE > < ARTIST > Bonnie Tyler < / ARTIST > < UK COUNTRY > < / COUNTRIES > < COMPANY > CBS records < / COMPANY > < PRICE > 9.90 < / PRICE > < YEAR > 1988 < / YEAR > < CD >

    Greatest Hits < CD > < TITLE > < / TITLE > < ARTIST > Dolly Parton < / ARTIST > < COUNTRY > USA < / COUNTRIES > < COMPANY > RCA < / COMPANY > < PRICE > 9.90 < / PRICE > < YEAR > 1982 < / YEAR > < CD >

    < CD > < TITLE > Still you have the blues < / TITLE > < ARTIST > Gary Moore < / ARTIST > < UK COUNTRY > < / COUNTRIES > < COMPANY > Virgin records < / COMPANY > < PRICE > 10.20 < / PRICE > < YEAR > 1990 < / YEAR > < / CD >

    Eros < CD > < TITLE > < / TITLE > < ARTIST > Eros Ramazzotti < / ARTIST > < EU COUNTRIES > < / COUNTRIES > < BMG COMPANY > < / COMPANY > < PRICE > 9.90 < / PRICE > < YEAR > 1997 < / YEAR > < / CD

    < / CATALOGUE >

    Thank you

    -----------------

    Emmeline

    with

    xml_source as

    (select q' {})

    Empire BurlesqueBob Dylan U.S.. Columbia 10.90 1985

    Hide your heartBonnie Tyler UK CBS Records 9.90 1988

    Greatest HitsDolly Parton É.-u. RCA 9.90 1982

    Always you have the bluesGary Moore UK Virgin records 10.20 1990

    ErosEros Ramazzotti EU BMG 9.90 1997 >

    }' the_xml

    of the double

    )

    Select x.*

    of xml_source s.

    XMLTable ('/ CATALOGUE/CD ')

    by the way of xmltype (s.the_xml)

    columns 'TITLE' path of the varchar2 (30) "TITLE."

    Path of varchar2 (30) "ARTIST", "ARTIST."

    Path varchar2 (5) of 'COUNTRY', 'COUNTRY ', he said.

    Path varchar2 (30) "Company" "SOCIETY."

    "PRICE' number path"PRICE. "

    Path number 'YEAR' 'YEAR '.

    ) x

    TITLE ARTIST COUNTRY COMPANY PRICE YEAR
    Empire Burlesque Bob Dylan U.S.. Columbia 10.9 1985
    Hide your heart Bonnie Tyler UK CBS Records 9.9 1988
    Greatest Hits Dolly Parton U.S.. RCA 9.9 1982
    Always you have the blues Gary Moore UK Virgin records 10.2 1990
    Eros Eros Ramazzotti EUROPEAN UNION BMG 9.9 1997

    Concerning

    Etbin

  • Store XML in the schema issue generated tables and XML Validation against the schema.

    Hello friends,

    I am facing a problem where to store xml in a saved schema generated from tables.

    It's my diagram

    --

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < xs: schema xmlns:ds = ' http://www.w3.org/2000/09/xmldsig# "" xmlns: XS = " " http://www.w3.org/2001/XMLSchema "xmlns =" " http://www.ABC.inf.in/test "targetNamespace =" " http://www.abc.inf.in/test" elementFormDefault = "qualified" attributeFormDefault = "unqualified" > "

    < xs: include schemaLocation = "abc.xsd" / >

    < xs: element name = "project" type = 'student' >

    < xs: annotation >

    < Intention > it is a Documentation < / intention >

    < / xs: annotation >

    < / xs: element >

    < / xs: Schema >

    -This is my xml document

    "< project versão ="2.00"xmlns ="http://www.abc.inf.in/test">."

    "< test xmlns ="http://www.abc.inf.in/test">."

    " < intest version ="2.00"Id ="testabc"xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "  >

    < ide >

    < cUF > 35 < / cUF >

    < cNF > 59386422 < / cNF >

    < natOp > This is post < / natOp >

    < indPag > 1 < / indPag >

    < mod > 55 < / mod >

    < set > 1 < / series >

    < / ide >...

    .....................

    Giving not complete because it is too long.

    1. I registered successfully of the schemas in the database

    2. then I generate the saved schema table

    2. in my java code I have validated the document XML schema compared and it's valid successfully.

    3 but when I recorded this XML file in the generated table there me gives error

    As:

    INSERT INTO XMLTABLE

    VALUES

    (XMLTYPE (bfilename('MYDIR','testabc.xml'), NLS_CHARSET_ID ('AL32UTF8')))

    Error report:

    SQL error: ORA-31061: error XDB: XML error event

    ORA-19202: an error has occurred in the processing of XML

    LSX-00333: literal '94032000' is not valid with regard to the model

    And I have to store this xml in tables of this so what I have to do?

    Thanks for your reply odie_63.

    I got this my solution for the error. My XML document is not well structured based on my registered XML schema.

    Average in My XML Document is an invalid value and which do not match my schema model so it gives this error

    SQL error: ORA-31061: error XDB: XML error event

    ORA-19202: an error has occurred in the processing of XML

    LSX-00333: literal '94032000' is not valid with regard to the model

    For the Solution, we have two ways

    1. I changed this literal value "94032000" in my xml file, then save it.

    2.

    -To delete this schema can

    -We need to change the schema for the particular element model

    like: -.

    -then to store xml in the database, it works...

    Thank you.

  • Package swf and xml for iOS using CMD - getting .xml: error 303

    A solution proposed by Adobe (associated with a bug report) I'm supposed to make the file iOS, using CMD rather than publishing automatically in Adobe Flash CS6.

    I'm not very good in CMD, then in this case, when I open CMD and go to the same location as the fla and other assets, and then copy and paste this code in it:

    F:\sdk\bin\adt-Paquet - target the ipa-app-store - useLegacyAOT Yes - implementation service-profile 'Hajj.mobileprovision' - stores pkcs12 - keystore "Hajj.p12" - storepass myPass Hajj.ipa Hajj - app.xml Hajj.swf

    First of all, it starts to process, means that the path is correct. But then I got some errors related to missing icon files:

    .xml: error 303: icon/icn_48.png icon does not appear in the package... (also any other icons I have)

    If of course they are in the icon of file, same that mentions in XML:

    < image48x48 > icon/icn_48.png < / image48x48 >

    ...

    I tried to copy the icons in the same location as the Fla and also the modified icons as Xml path, but I always Erros:

    < image48x48 > icn_48.png < / image48x48 >

    ...


    Any ideas what I'm doing wrong please?

    Kind regards

    Ali

    Add the folder icon in the application by adding it to the command:

    HAA... Hajj.swf icons

  • Date format and XML (XmlType)

    Hi all

    I'm trying to generate XML in PL/SQL.
    select xmlelement("Date", sysdate).getClobVal() from dual;
    
    XMLELEMENT("DATE",SYSDATE).GETCLOBVAL()
    -------------------------------------------
    <Date>2012-07-13</Date>
    This is the date format, I was expecting (date format XML standard).

    And the Documentation of Oracle described:
    "The XML schema standard specifies that the dates and timestamps in the XML are in standard formats. Generation of XML in Oracle XML DB functions produce dates XML and timestamps in accordance with this standard. »


    When I want to create an XML from a query, I tried this
    DECLARE
    
       l_refcursor SYS_REFCURSOR;
       l_xmltype xmltype;
       l_ctx dbms_xmlgen.ctxHandle;
         
    BEGIN
    
       OPEN l_refcursor FOR select sysdate "Date" from dual;
    
       l_ctx := dbms_xmlgen.newContext (l_refcursor);
       dbms_xmlgen.setRowTag (l_ctx, null);
       dbms_xmlgen.setRowSetTag (l_ctx, null);
       l_xmltype := dbms_xmlgen.getXMLType (l_ctx);
       dbms_xmlgen.closeContext (l_ctx);
       
       dbms_output.put_line(l_xmltype.getClobVal());
    END;
    /
    
    <Date>13-JUL-12</Date>
    I was also expecting the date format XML standard, but I get the nls_date_format.

    Of course I can use to_char and specify the correct date format, or do an alter session (alter session set nls_date_format = 'RRRR-MM-DD';), but I wonder why XMLElement uses the standard and not the dbms_xmlgen.
    Or y at - it another way to use the default XML standard?

    Gert

    Or y at - it another way to use the default XML standard?

    You can return to the dbms_xmlquery based on java instead:

    SQL> alter session set nls_date_format='rrrrhh24'  ---just to show the result is independent from nls_format
    /
    Session altered.
    
    SQL> declare
      l_xmltype   xmltype;
      l_ctx       dbms_xmlquery.ctxhandle;
    begin
      l_ctx := dbms_xmlquery.newcontext ('select sysdate "Date" from dual');
      dbms_xmlquery.setrowtag (l_ctx, null);
      dbms_xmlquery.setrowsettag (l_ctx, null);
      l_xmltype := xmltype (dbms_xmlquery.getxml (l_ctx));
      dbms_xmlquery.closecontext (l_ctx);
    
      dbms_output.put_line (l_xmltype.getclobval ());
    end;
    /
    
    2012-07-13 22:45:25
    PL/SQL procedure successfully completed.
    
  • Can not open file of Muse because of corrupt and XML

    I can't open my muse file and make changes to my Web site.  When I try to open the file, I get this message:

    An error has

    Affirm: "corrupt XML in the database of record BoxPageItem U10684 class"

    I don't know what to do, or what might have happened yet!  Any help is appreciated!

    Where did your .muse file stored when you work on it in Muse? It is on a file server? It is in a synchronized folder (i.e. Dropbox, creative Cloud Files folder, box, etc.)?

    If you send your .muse file to [email protected] as well as a link to this topic (for context), we are able to repair the corruption. If the file is larger than 20 MB, you can send it in using a service like Dropbox, Adobe SendNow, WeTransfer, etc..

  • Photo Gallery dynamic in Flash using AS3.0 and XML, but it does not work and failed in my application.

    Hello

    I'm creating an iPad app using AS3. The application contains three sections.

    10-21-2013 6-44-13 PM.jpg

    These items (chocolate sources) contains dynamic library using XML. Photos, pictures and text in this section are loaded from XML.

    I did face may I tried to run this application to issue:

    • The photos of the Gallery did not show
    • Thumbnails (buttons to navigate through the photo gallery) does not appear at all. (Thumbnails should appear in the box photo gallery).
    • The text does not (the text must be declared in each photo as describtion)
    • I want to understand Swipe in the photo gallery, how can I do this?
    • When I click on button 'Chocolate Sources', the photo gallery will appear in each section, this is print screens describe what I mean:

    Screen shot 2013-11-19 at 1.05.15 PM.png

    Screen shot 2013-11-19 at 1.05.28 PM.png

    Screen shot 2013-11-19 at 1.05.31 PM.png

    Photo gallery covers the home screen too.

    Screen shot 2013-11-19 at 1.05.35 PM.png

    This is my XML:

    <? XML version = "1.0" encoding = "utf-8"? >

    < sources >

    < section >

    < details >

    Cocoa is in the tropics, such as Central America and the southern region.

    < / details >

    < image >

    < url > coca1.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Cocoa is provided in many countries as the Indonesia, Ghana, Brazil, Ecuador and Cameroon.

    < / details >

    < image >

    < url > coca2.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Dark chocolate helps to relax and reduce the stress and blood pressure because it includes antioxidant elements, which helps the vasodilator process.

    < / details >

    < image >

    < url > coca3.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Chocolate provides energy and hyperactive sometimes because it contains a high level of caffeine and sugar.

    < / details >

    < image >

    < url > coca4.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Chocolate could be mixed with many different flavors such as Mint, strawberry, orange, banana, vanilla, hazelnut, almond, coconut and etc.

    < / details >

    < image >

    < url > coca5.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Chocolate is expressing hospitality well and good time because of its pleasant taste.

    < / details >

    < image >

    < url > coca6.jpg < / url >

    < / image >

    < / section >

    < / sources >

    -------------------------------------------------------------

    And here's my Action Script for the section "Sources of chocolate:

    Stop();

    function Choco1(evt:MouseEvent): void {}

    gotoAndStop('16');

    }

    choco_btn.addEventListener (MouseEvent.Click, Choco1);

    function Souc1 (evt:MouseEvent): void {}

    Stop ('31');

    }

    souc_btn.addEventListener (MouseEvent.Click, Souc1);

    function ShopIn1 (evt:MouseEvent): void {}

    gotoAndStop('46');

    }

    shops_btn.addEventListener (MouseEvent.Click, ShopIn1);

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    import flash.display.MovieClip;

    import flash.display.Loader;

    Import fl.motion.MotionEvent;

    import flash.events.MouseEvent;

    import flash.sampler.NewObjectSample;

    import flash.text.TextFormat;

    var xmlLoader: URLLoader = new URLLoader (new URLRequest ("sources.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, finishedXmlLoader);

    var xmlFile:XML;

    var xextend:int = 10;

    var gal: galary = new galary ();

    GAL.x = 85;

    GAL.y = 165;

    addChild (gal);

    var txfe: TextField = new TextField ();

    txfe.x = 25;

    txfe.y = 45;

    var tformat:TextFormat = new TextFormat ();

    TFORMAT. Bold = true;

    TFORMAT. Color = 0xFFFFFF;

    TFORMAT. Size = "18";

    TFORMAT.font = "Arial";

    txfe.defaultTextFormat = tformat;

    addChild (txfe);

    function finishedXmlLoader (e: Event): void {}

    xmlFile = new XML (xmlLoader.data);

    var leng:int = xmlFile.image.length ();

    txfe. Text = xmlFile.image.details [0];

    for (var i: int = 0; i < leng; i ++) {}

    var b:thumbs = new (inches);

    b.x = xextend;

    b.y = 480;

    b.buttonMode = true;

    b.Details = (i + 1) m:System.NET.SocketAddress.ToString ();

    addChild (b);

    b.addEventListener (MouseEvent.MOUSE_OVER, theMosover);

    b.addEventListener (MouseEvent.MOUSE_OUT, theMosout);

    b.addEventListener (MouseEvent.CLICK, onMosClick);

    var bloader:Loader = new Loader();

    bloader. Load (new URLRequest ("thumbs /" + (i + 1) + ".jpg"));

    b.addChild (bloader);

    xextend += b.width + 50;

    }

    var loader: Loader = new Loader ();

    Loader.Load (new URLRequest ("pictures/coca1.jpg"));

    gal.addChild (loader);

    }

    function theMosover(m:MotionEvent):void {}

    m.currentTarget.alpha = 0.5;

    }

    function theMosout (m:MouseEvent): void {}

    m.currentTarget.alpha = 1.0;

    }

    function onMosClick(m:MouseEvent):void {}

    var loader: Loader = new Loader();

    Loader.Load (new URLRequest ("images /" + m.currentTarget.details + '.jpg'));

    gal.addChild (loader);

    txfe. Text = xmlFile.image.details [int (m.currentTarget.details)-1];

    }

    -------------------------------

    I need urgent assistance to correct errors and make this section work well.

    Thank you.

    Try:

    txfe. Text = xmlFile.section [int (m.currentTarget.details)-1]. Details;

    Instead of

    txfe. Text = xmlFile.image. [int (m.currentTarget.details)-1];

    and add your thumbs to the lag, not the scene.  When you are finished with the Gallery, remove the lag.

Maybe you are looking for