Typing Arabic text in the TextInput Dynamically

Hi There...
I have a problem with writing arabic text in the TextInput Dynamically.
when i run the swf file i can write arabic in the search textinput, but when i try it online it write symbols and mad characters just like these "  E - E H /  E - E / "
so plz and solutions
thanx

there.
thank you  ипотпал-лаптопов
really i was helpfull
but plz i want ask you another qestion
when i press enter it presses the text in the search form
i need to put the text from inputtext into the advanced form (php)
i used:
Header 1
var tfSearch:TextField;
tbSearch.text="Search..";
// Create listener object.
var tiListener:Object = new Object();
tiListener.handleEvent = function(evt_obj:Object) {
    if (evt_obj.type == "focusIn") {
        tbSearch.text = "";
        trace("Input has focusIn");
    if (ev_obj.type == "change") {
        tbSearch.text = "";
        trace("Input has changed");
    if (evt_obj.type == "enter") {
        getURL("index.php?searchword="+tbSearch.text+"&task=search&option=com_search", "POST");
        doSubmit();
// Add listener.
tbSearch.addEventListener("focusIn",tiListener);
tbSearch.addEventListener("enter",tiListener);
tbSearch.addEventListener("change",tiListener);
function doSubmit() {
    userData = new LoadVars();
    userData.searchword = tbSearch.text;
    userData.Itemid="8";
    userData.task = "search";
    userData.option = "com_search";
    //userData.send("register.php","","post");
    userData.send("index.php","","POST");

Similar Messages

  • Typing Arabic Text without Pressing ALT+SHIFT

    In Forms 6i (Web Application) User need to Type Arabic Text without Pressing
    ALT+SHIFT Button.
    Text Item Property:-
    International :
    Initial keyboard state : Local
    Reading Order : Right to Left
    Keyboard State : Local Only
    Client Regional Settings :- English
    Server Regional Settings :- English
    If I make the Client Regional Settings to Arabic it works in Client/Server but need to press ALT+SHIFT KEY in Web Environment.
    I believe there should be an alternative, being Web Application, Client Regional Settings can be any Language. (English,French,Arabic et...)
    Appreciate your assistance.

    Thanks for the response :
    The NLS_LANG = AMERICAN_AMERICA.AR8MSWIN1256
    On Client as well as Server. These settings are working fine when run from Client/Server but on Web Environment it does not.

  • How to set a default text in the TextInput.

    I want a text(like "please input") in TextInput and the text
    color is gray,when my TextInput is empty.
    how to set? thank you :)

    <mx:TextInput text="please input" color="gray"/>

  • Arabic text running the wrong way

    I need to place a series of words, in Arabic, in an array.
    When I copy the words from the original text document to the script
    window, the order of the letters reverses from right-to-left to
    left-to-right, so basically all the Arabic is being written
    backwards in Flash. Could anyone give me some guidance on how to
    deal with this? Many thanks in advance.

    Just as a follow-up, here (why didn't I think of this
    earlier?) is how to reverse the letter order of a word using
    ActionScript only: (1)Convert the word string to an array.
    (2)Reverse the array. (3)Convert the array back to a string.

  • TLF and arabic text

    Hello,
    I'm using AS3 with CS3 to do some design involving working with dynamic text field for arabic text.
    This staetemnt works just fine:
    var strValidate_txt.text = "خُرُوجْ"; // a dynamic text field - result  OK
    however when I try to build the string characyter by character:
    var strValidate_txt.text = "";
    strValidate_txt.appendText("خ");
    strValidate_txt.appendText("ر");
    strValidate_txt.appendText("و");
    strValidate_txt.appendText("ج");
    the resuslt is a string with dissjointed characters وجرخ
    I couldn't find a way to fix this in Flash CS3.  I'm wondering if upgrading the Flash CS4 with the new TFL will solve me this issue?
    still need to convince my boss to pay for the upgrade!
    Thanks for help

    Hi,
    I'm working on Flash with Arabic language since 2 years in FAO (http://www.imarkgroup.com) to develop eLearning apps in Flash/Actionscript...before the TLF also.
    The new TLF is the best choice, you can test your arabic text using the demo app http://labs.adobe.com/technologies/textlayout/demos/
    I suggest you to wait for the release of new Flash Builder 4 with the official version of TLF. Now the TLF is a BetaVersion.

  • Arabic text in my web application using iText..

    Hey Guys,
    I'm using the iText library to produce PDF reports in my web application; platform (ADF 11g and Weblogic 10g). I'm having a problem with rendering arabic text on the page, is there a way to print arabic text outside of a PdfPTable ?? I need to print a simple text like the title of the report , the subtitle and so on... please guys I need an answer...
    Thanks in advance.
    AccadSoft

    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.

  • Support for Arabic text and Direction:rtl

    I am using HTML/CSS/Javascript to develop my application.
    I have been trying to get direction:rtl (right to left) to
    work to display Arabic text in the right form with no luck.
    Does Adobe AIR lack the support for this feature ? If so,
    what are the alternatives to Adobe AIR ??
    I hope one of the Adobe employees reply to this....

    > Any update on the Arabic support in Air ??
    http://labs.adobe.com/technologies/textlayout/
    "Bidirectional text, vertical text and over 30 writing
    systems including Arabic, Hebrew, Chinese, Japanese, Korean, Thai,
    Lao, the major writing systems of India, and others.
    Selection, editing and flowing text across multiple columns
    and linked containers, and around inline images"

  • Importing Arabic text from an XML file

    Importing text from an XML file to appear as text in Flash
    works in English, however if the text I want to import is in
    Arabic, when I test the movie there is no text at all.
    Is there some particular syntax to preface the Arabic text?
    I'll want to import text from XML in other languages too.
    (French)
    I'd cut and pasted some Arabic text into the XML file that
    displays pictures and text in the "slideshow.fla" (
    http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
    Substituting Arabic text for English text, editing the XML
    file with Dreamweaver.
    Any ideas as to how I might achieve my objective of importing
    Arabic text into Fash?
    I'd started developing my prototpe in Macromedia Director 7,
    and then Director MX, but I have not found a suitable Arabic font
    that I can embed that will allow me to display Arabic fonts in
    Adobe Director. I have the Arabic text in a Word document.
    I've dicovered that my Flash MX Pro and Dreamweaver both
    support Arabic fonts, but I want to import text from an XML file.
    I'd prefer using cast libraries and cast members, but I don't
    know of an equivalent in Flash to what I'm comfortable with in
    Director.

    Oh so many questions. You probably aren't going to like the
    answers. I have Flash MX04 pro (aka Flash 7) and things made a big
    jump between MX (aka 6) and MX04. If you only have MX, there might
    not be a way to do this. All my advice is based upon MX04 or
    higher.
    It is possible to do complex languages in Flash. My
    experience is with Hindi and I've helped a few folks here with
    Arabic.
    You won't be able to use text from Microsoft Word – at
    least I don't think so. The XML file will need to be saved in the
    UTF-8 format. I think Word uses its own scheme and won't work. But
    I'm not a Word expert. Something like Text Edit (Mac) or WordPad
    (PC) should be able to save a UTF-8 file.
    The next problem is you mention "suitable Arabic font that I
    can embed." AFAIK, you can't embed any of the complex scripts in
    Flash. You just have to rely on the end user having appropriate
    fonts installed and enabled. Most operating systems from 2000 on do
    have this – although some folks like to remove them to save
    space.
    Next issue will be line composing. I've found that when using
    anything above the normal Latin range that Flash suddenly forgets
    how to make a line fit into a text area. It will just break things
    in the middle of words and not even notice the spaces between
    words. I've written a little snippet of code that "composes" the
    lines. It works well with Hindi and folks here have used it with
    Arabic and not come back saying that it doesn't work. Search the
    forums (both the Flash and Actionscript) if you can't find it I'll
    dig it out when I get home.
    So here is the checklist:
    Make sure the XML is saved in UTF-8
    Import the XML file
    In Testing environment go Debug–>List variables.
    Does it show up correctly there?
    Does it show at all in a text field?
    Use the "composer" to make the lines break.

  • I am experiencing delayed typing with texting after upgrading to IOS 7 - anyone seeing this?

    Both my wife and I are experiencing delayed "typing" with texting after the upgrade to IOS7.  Concisely, you can keep typing, but there is a noticable delay before the text appears in the message section.  I have also noticed delays with entering my 4 digit Passcode. 

    Mine was so bad that it was nearly impossible to type in my passcode.  I finally restored the phone (reinstalled the software) and then restored from backup.  All is working fine now.  This is on my iPhone4.  The real trick was getting past the passcode and then turning off Find my iPhone (which is required to restore) when it was nearly impossible to type my password in. 
    It solved my problem.  After I did it I read somewhere here to try resetting all settings.  That would be quicker but you may lose some settings you had.  In any case restoring completely solved my problem.
    My iPad did not experience any of these problems.

  • Get a Arabic text bold in a basic RichText control

    Maybe a very silly question, but I'm searching for a solution many days now and maybe someone had the same issue.
    I have a basic Arabic text and put in a Flex RichText control with this line:
    public override function set text( value:String ):void
         this.textFlow = TextFlowUtil.importFromString( value );
         // this.textFlow = TextConverter.importToFlow( value, TextConverter.TEXT_FIELD_HTML_FORMAT );
    In a CSS file I tell the application to make all the text bold for this RichText control. And the strange thing that happens is that a "normal" english text appears bold and the arabic text stays the same as if the font-weight was set to normal.
    Can someone please help me?

    Nothing to do with CSS.
    On windows I have AdobeArabic-Regular and AdobeArabic-Bold installed.
    This markup gives me bold text.  I use the textLine.dump() method to see what font player has actually chosen.
    <span fontFamily="Adobe Arabic" fontWeight="bold">
    If I remove AdobeArabic-Bold and render the same markup FlashPlayer does a fallback looking for some appropriate bold font that has Arabic.  If it can't find it bold text is not rendered.
    Hope that helps,
    Richard

  • Message Bundle for Arabic Text

    Hi folks,
    I am trying to have a Arabic text in the message bundle properties file, however when i try to copy Arabic text, it shows up as junk characters.
    How do i go about resolving the same.
    Thanks.

    Got the solution,
    I was getting the above problem when i was trying to copy the Arabic text in the notepad; however I opened a plain text document in the eclipse and have copied the arabic code in it, and that worked. However we got to do a little change by modifying the properties of the file to have pointing to UTF-8 encoding.
    Thanks.

  • Display Arabic text

    Hello All,
    I have a sample arabic text, which i have stored into file. I want to read that file and display the arabic text on the screen.
    If anyone has any idea please give me some inputs.
    Thanks & Regards,
    Faiz.

    Hi,
    I have wrote some code for reading the text from file, and have also hardcoded some arabic text in TextField which shows up properly. But after reading the arabic text from file and setting the text to TextField the text is not shown properly its like ??????.
    Please see the source code below.
    * ReadText.java
    * Created on December 2, 2009, 8:42 AM
    package arabicsample;
    import java.awt.Color;
    import java.awt.ComponentOrientation;
    import java.awt.Font;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.UnsupportedEncodingException;
    import java.nio.charset.Charset;
    * @author  faiz.chachiya
    public class ReadText extends javax.swing.JFrame {
        /** Creates new form ReadText */
        public ReadText() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jLabel1 = new javax.swing.JLabel();
            txtArabic = new javax.swing.JTextField();
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jLabel1.setText("Text");
            txtArabic.setFont(new java.awt.Font("Lucida Sans", 0, 10));
            txtArabic.setText("&#1603;&#1610;&#1601; &#1581;&#1575;&#1604;&#1603; ");
            jButton1.setText("Read");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(txtArabic, javax.swing.GroupLayout.PREFERRED_SIZE, 299, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(162, 162, 162)
                            .addComponent(jButton1)))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(txtArabic, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(22, Short.MAX_VALUE))
            pack();
        }// </editor-fold>
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            // TODO add your handling code here:
            readTextFromFile();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new ReadText().setVisible(true);
        public void readTextFromFile() {
            try {
                final File file = new File(System.getProperty("user.dir") + "/conf/arabictext.txt");
                final BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file), Charset.forName("utf-8")));
                final String str = br.readLine();
    //Charset.forName("utf-8").newEncoder().encode(in)
                System.out.println("File text : " + str);
                System.out.println("            " + txtArabic.getText());
                System.out.println("Reading Process Completly Successfully.");
                Font font = txtArabic.getFont();
                System.out.println("GetFont " + font);
                txtArabic.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
                txtArabic.setBackground(Color.ORANGE);
                txtArabic.setText(str);
                final String UTF8Str = new String(str.getBytes());
                System.out.println(UTF8Str);
            } catch (UnsupportedEncodingException ue) {
                System.out.println("Not supported : ");
            } catch (IOException e) {
                System.out.println(e.getMessage());
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JTextField txtArabic;
        // End of variables declaration
    }Please see the UTF-8 text file below. When i open the file, i see the text something similar in below.
    ??? ????One from UTF file from wordpad.
    &#1603;&#1610;&#1601; &#1581;&#1575;&#1604;&#1603;So can you please correct where i am going wrong.
    Thanks and Regards,
    Faiz.

  • Textinput on ios Cursor and typed text start where the textinput was clicked but should start left

    So... the TextInput works well in the simulator and on android... but on an iPhone the text starts at the position where the user clicks in the text input and that feels strange and looks ugly...
    the code:
    <s:TextInput id="firstNameInput"
                         x="10" y="10"
                         width="620" height="65"
                         maxChars="255"
                         prompt="@Resource(key='input.firstName.prompt', bundle='RegisterView')"/>
    How can I fix that???

    Agreed! This bug with the ringtone delay (№4.1) is really annoying

  • Arabic Text in TextInput in Flash Builder 4.5.1

    Hello,
    I am currently developing a mobile application that is supposed to work on both Android and iOS devices. I am supposed to display arabic text and also to take arabic text input from the user. While I was trying to display simple output and input components I faced a problem with the TextInput. Please note the following:
    -The TextInput component displays the arabic text in reversed order and the characters are disjoint.
    -The label component does not have this problem and it accepts and displays the arabic text correctly.
    -An embedded font was added
    -The problem exists on both IPad and Galaxy Tab however the IPad displays the text correctly while typing (before loosing the focus on the TextInput). On the other hand, the Galaxy Tab displays the text in a wrong way both while typing and on focus out. However, the suggested words (above the keyboard in the Galaxy tab) are shown correctly.
    Please check the snapshots below.
    From Ipad:
    Thank you.

    Here's the solution:
    The problem did not exist on an installation of Flash Builder on a spare MacBookPro.
    On my main computer (the one with the Flash Builder issue) I uninstalled and reinstalled Flash Builder 4.5 (then updated to 4.5.1). Creating an iOS Mobile Application now creates the correct code.
    I have no idea why it was creating dodgy code.
    The only difference with the new Flash Builder install is that SourceMate 3.0 is not installed yet. Perhaps something had gone wrong in the Adobe Updater when going from 4.5 to 4.5.1, who know...all speculation...anyhow it works now!

  • Problems with displaying dynamic Arabic text

    We have a problem with a navigation system we are building
    which has to be able to display dynamic Arabic text. We are pulling
    in the Arabic text using XML. The problem we are having is that the
    character are not displaying joined up where they should be (for
    instance in the middle of words). Arabic characters have different
    shaping according to the position they take up within a word. What
    we are producing is apparently unreadable. Has anyone come accross
    this problem before? Is it solveable?

    Hi:
    Is there any possible chance that Adobe would do something to asist us Fl8 users with international character support.
    Everyone has some work-around, except Abode, and they are all usually related to XML.
    My setup is PHP (CMS supporting many languages) -> MySQL -> PHP -> Flash8 (Dynamic Text Fields) and the olpart that does not work is when I inject an extended character into the string - Flash stops displaying anything from that character on.
    If Adobe has or did have some component / solution or anything other than the usual System.useCodePage = true (which never seems to actually work), please let me know.
    Best Regards,

Maybe you are looking for