Problem with characters in text field

hi all
i am missing a few characters, once i load text into a dynamic text field. chars are not missing per say; they are being replaced with empty squares.
characters like the euro sign and accentuated german a letter.
whats is weird is that other accentuated german letters do appear. so only a few selected are missing.
How ive set up the fla:
1) i've added 4 text fields to the stage in the font im using, Arial, one for each font style: normal, italic, bold and bold italic, and in all 4 fields ive embedded all latin characters (to include the german accentuaded characters and im guessing it's in the punctuation group that holds the euro sign, so that one is also embedded), besides lowercase, uppercase, numerical, and all the default groupd to include basic text.
2) i've got a dynamic text field, created with createTextField, and setup the following ActionScript (2):
this.createTextField("T_text",1,0,10,Stage.width-60,50);
var myFmt = new TextFormat();
myFmt.size = 12;
myFmt.leading = 3;
myFmt.font = "Arial";
T_text.html = true;
T_text.autoSize = "left";
T_text.multiline = true;
T_text.wordWrap = true;
T_text.selectable = false;
T_text.embedFonts = false;
T_text.textColor = "0x666666";
T_text.htmlText = _global.gallery_1_image_text_1; // this holds the text im displayed, called in from a database.
T_text.setNewTextFormat(myFmt);
now, im calling text from a database.
when calling the text from the browser  url bar, there's no chars missing.
its just when i make this call from flash and load the text into the dynamic text field, that characters go missing.
below is a link to a print screen of the faulty text that is displayed in flash's dynamic text field.
http://img210.imageshack.us/img210/340/utf8.png
any ideas? i mean, it seems that the arial font is missing a few accentuated characters! because the code i have setup loads other accentuated characters.
anyone has seen this issue before and know how to solve it?
regards

no.
you assigned your embedFonts property to be false.
look, you can test if you've embedded fonts correctly by using:
T_text._rotation=3;
if you see no text, you're not embedding fonts correctly.
so, use:
T_text.embedFonts=true;
and then test.  if you see no text, use:
click on the upper right of your library panel > new Font > select Arial and tick the symbols you need to embed > tick export for actionscript and assign a linkage id (eg, ArialID). click ok.  then use:
this.createTextField("T_text",1,0,10,Stage.width-60,50);
var myFmt = new TextFormat();
myFmt.size = 12;
myFmt.leading = 3;
myFmt.font = "ArialID";
T_text.html = true;
T_text.autoSize = "left";
T_text.multiline = true;
T_text.wordWrap = true;
T_text.selectable = false;
T_text.embedFonts = true;
T_text.textColor = 0x666666;  // no quotes here.  this is a number
T_text.htmlText = _global.gallery_1_image_text_1; // this holds the text im displayed, called in from a database.
T_text.setTextFormat(myFmt);  // to format the above text, use setTextFormat().  if you want to format text added after this line, use setNewTextFormat()

Similar Messages

  • CreateTextField and _height: Problem with Placement of Text Fields

    I'm using createTextField to create several text fields
    dynamically. I'm also using an external XML file and a style sheet
    to populate the text fields.
    My problem is that I'm trying to position the various text
    fields on the page so that they are spaced evenly on the page
    (regardless of how much content they might contain). I'm trying to
    use _height of the prior text fields to place subsequent text
    fields, but I'm getting very inconsistent results. When I trace the
    value of _height, I get differing results, even if I don't actually
    change any of the parameters. So, the question is...is there a way
    for Flash to get the height of a dynamically created text field
    that's populated via an exteral XML file and using CSS? I know
    that's asking a lot, but I'm trying to avoid using scroll bars if
    at all possible.
    Thanks for any pointers.
    Bill

    i assume you're using multiline textifields with a fixed
    width and autoSize="left".
    flash will report the correct _height of your textfields IF
    you access the _height property after your htmlText has been
    assigned to your textfield. ie, you're probably seeing inconsistant
    results because you're not waiting until all data needed to
    populate your textfield has loaded.

  • Problem with flow of expandable fields

    Hi everyone,
    I have important problem with flow of expandable fields in table in dynamic PDF form. The issue I am talking about you can see at the top of column 3 on page 2 in PDF in link below.
    Here is uploaded PDF form and sample XML data (form has import button and is ReaderExtended that you can easily test it and see my problem):
    http://www.speedyshare.com/718224676.html
    Generally I have created table with 3 columns using Table object (each field has allow multiple lines selected and expand to fit).  It is closed in FormBody subform which is flowed subform.
    Row in table is repeatable and has “is allow to break page” setting set on.
    Sometimes when there is a lot of text and row page break there is problem with flow.
    For example text from one rows overlaps on text from next row.
    I tried to solve this problem by changing row height, indents, font size, line spacing but always when I thought that I have fixed it  I got another data which generated the same flow problem.
    Did anyone met this problem earlier and found solution to this issue? This is really important for me and I am really in dead end so any hints would be really helpful.
    I am using Adobe Livecycle Designer 8.1 and PDF form target is 8.
    I really appreciate any help in this problem.
    Thanks,
    Kamil Dłutowski

    I posted link to my form in my first post.
    Here it is: http://www.speedyshare.com/718224676.html

  • Problems with the Widget "Text Ticker"

    Hello, I have a problem with the widget "Text ticker". I tried to put more then one text ticker on my site, but it doesn't work, when I look in Muse it looks like this:
    and when I look in the preview only the first text ticker works...maybe it is not possible to have more then one text ticker on one site?
    Thank you.

    It seems you are using the same name for all the ticker instances on page.
    You need to have unique names for each of the ticker you want on a single page. Tickers with duplicate names will not work.
    Cheers,
    Vikas

  • [svn:fx-trunk] 8452: - Fix flicker problem with constraint bound text that is being autoSized.

    Revision: 8452
    Author:   [email protected]
    Date:     2009-07-08 08:38:32 -0700 (Wed, 08 Jul 2009)
    Log Message:
    - Fix flicker problem with constraint bound text that is being autoSized.  If the remeasure is done in a 2nd pass you will see a flicker as all the objects are moved to accommodate the reflowed text.
    - Fix data binding issue with text setter.
    - Rework measure() to accommodate implicit autoSize.
    If explicitWidth or widthInChars specified and explicitHeight or heightInLines specified, or for now, blockProgression != "tb", the text has fixed dimensions and is not auto-sized.
    If no text and width specified, but no height, start at specified width and one line high and grow taller.
    If no text and height specified, start at 1 char wide with the specified height and grow wider.
    If neither width nor height specified, and toFit lineBreaks, start at explicitMaxWidth, or default maxWidth of 160, and grow taller.
    If neither width nor height specified, and explicit lineBreaks width is unlimited and can grow taller.
    These are further constrained by min/max Width and Height except in the case that explicitWidth or explicitHeight are specified.
    - Change default maxWidth for RichText and SimpleText to 160 to match RET.  Previously it was 10000.  This is used for
    text with toFit lineBreaks if a width isn't specified.
    QA Notes: 12 or so TextGraphic tests fail because of the new default maxWidth.
    Doc Notes:SDK-22014, SDK-21837
    Reviewers: Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22014
        http://bugs.adobe.com/jira/browse/SDK-21837
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextEditManager.as

    You have used elements like header, footer, footer1 and nav without using the correct DOCTYPE declaration. Replace the first line of your code with
    <!doctype html>
    Also have a look here for other problems http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.surewest.net%2Fstorytales%2F test%2Fforposting.html
    After the above has been fixed, please come back here to fix the remaining problem(s)
    Gramps

  • Adhoc query-Problem with Personnel no output field

    Hi Gurus,
    We are trying to run an adhoc query using a customized Info set(PNPCE logical database).
    While running the query,we had selected Personnel no(from Payroll status P0003 table) as output field and Company code(from Org assignment P0001) as input field in the selection.
    Problem is in the output field we are seeing the Personnel name details in place of Personnel no.Could anyone please suggest what could be the reason behind this and how to fix it.
    Your help will be highly appreciated.
    Warm Rgds
    Sushil

    Hi Sushil,
    The default output for fields with a text and a value (Name = text, PERNR = value) is the text.  You can change this by right clicking on the output box in Ad Hoc and selecting "Value".  If you want both name and number, select "Value and Text". 
    You can also change this default to Value from Text if in Ad Hoc, you go to Edit --> Settings.  On the last tab, change the radio buttion for output default to Value from Text.  This will change it for all fields so you would see the eight digit number rather than the name of the position or org unit.  Thus, you may want to keep it at Text and use the right click to change specific fields as needed.
    By the way, it is usually best to utilize the personnel number field from IT0000-Actions, although it can be obtained from any infotype if you include that field in the field group when creating your infoset. 
    Paul

  • IExpenses-12.1.3 Facing Issue with 2 custom text fields on the standard OAF

    Dear All,
    We are facing problem where custom text fields on standard OAF page does not retain their values when we traverse back-forth on the OAF page.
    Here is the exact issue details
    1) We added 2 text fields(Attribute5 and Attribute6) through personalization on Mileage Line Details Screen(standard OAF page) of iExpenses 12.1.3.
    2) And business requirement is whenever user enters values into these fields, difference of these values is populated in third field which is standard field on that page.
    Issue
    When user enters values into above 2 fields, difference is calculated correctly however once he clicks on return page and comes back again on the detail page
    then all the standard fields retain their values but 2 custom fields have blank value.
    Is there any issue with personalization? or any other issue? Please suggest.
    Thanks,
    Mahesh

    Thanks Pratap for checking
    There is button named as "Calculate Amount" on the line details page so it is happening in below 2 scenario
    1) When User enters values in 2 fields and clicks on Calculate Amount Button then values get disappeared from custom fields
    2) When user clicks on return button, go to main page and clicks on detail button ( to come back on same line) then all the standard fields have valuece and custom one's disappeared.
    Thanks,
    Mahesh

  • Strange behavior of letters/characters in text fields

    I've created a form in Livecycle Designer ES2 for a government company.
    The form contains several pages with text fields, radio buttons and check boxes.
    Also javascripts to enhance the form.
    I've used their company font for static text and Verdana for the textfields.
    My customer uses Windows XP (SP3) and Adobe Reader 10.1.x on all of their computers.
    When they open the form and start typing text in the formfields something strange happens.
    It looks like that if the first key they hit on the keyboard, directly after opening the form, acts strange in the entire form.
    For example:
    If the hit a letter "a" as the first key, after opening the form.
    The letter "a" will be followed with one or several spaces through the entire form.
    Also some letters shows on top of each other.
    I've tested the form on several other Windows XP computers with Reader 10.1.x and the problem didn't show.
    The test where made on different locations and companies.
    The problem only seems to exist on all of the computers of my customer.
    Is there a known problem dat looks like this?
    Maybe a third application is cousing this problem, but i don't know what it can be.
    Anyone seen this behaviour before??
    I recently upgraded to ES4 and exported the form using ES4, but the error seems to stay.

    Experts,
    Thank you for your quick replies.
    Our environment...
    -JDeveveloper 11.1.1.5
    -WLS 10.3.5
    Browser is IE8 on WindowsXP and Windows7.
    As you mentioned, I don't think using popup in table is good either.
    Popup is reusable component and it should be shared in a page.
    My customer created a page fragment that has a icon button and popup to search items.
    When a user click the icon, popup opens and available options are displayed.
    It was designed initially to use outside table, but it's useful so they tried to use it in table.
    But what I am really confused is why each initially rendered pages contain different popup client id if it is located in table.
    Anyway I will tell my customer your suggestions and not to use popup in table.
    Thanks again,
    Atsushi

  • Dynamic Forms with Subforms and Text Fields

    I've been reading all of the messages relating to subforms and dynamic forms and have used many of the suggestions, but haven't found anything that addresses the problem I am having. I'm using Designer 7.0. I've saved my form as a dynamic form, I've set my text fields for multiple lines and expand to fit. My problem is that as soon as I set the parent subform to Flow Content, everything moves to the left margin. I've tried grouping items together within a subform in hopes that the items will maintain their position on the page, but everything always moves to the left margin. I'm creating a legal form that needs to have text and a text field centered at the top of the page. Below that to the left is a text field that needs to be able to expand with two text fields to the right of it. Below that are additional text fields that need to expand as needed.
    Am "stacking" my subforms incorrectly and setting the wrong subform to Flow Content? Or, can you now lock a field to a specific position? Any help would be greatly appreciated.

    Unfortunately, I hadn't understood that you needed the fields to expand in height and everything below them to move down the page. In that case, you'll need to use flowed subforms.
    Having all objects move to the left side of the page is expected when setting a subform to flowed. That's because the flow is top-down, left-right.
    One thing you could try is making the text field that needs to be centered exactly as wide as the flowed subform and then setting its left- and right-hand margins to an equal number. This would ensure an equal amount of space on the left- and right-hand sides and because the field would be as wide as its flowed container (subform), entering multiple lines of text would result in everything below moving down.
    I've attached a sample form where the page subform has been set to flowed, the text field at the top is a multi-line/height-expandable text field with its width set to the page width and its left- and right-hand margins both set to 2in and the button and check box objects are pushed below the text field.
    When text is entered into the text field, it expands in height and causes the button and check box to move down.
    To achieve other horizontal and vertical positioning/offsets, you could play with the margins of all the fields that need this.
    Stefan
    Adobe Systems

  • Custom Infotype with multiple long text fields

    Hi,
    We have a need to create a custom Infotype (in PA or PD) that will contain more than one long-text area.
    I've searched this forum and found that there are generally two approaches :
    1. use the HR clusters for long-text and setting the ITXEX field in PA
    2. using SAP standard text area (SO10) and functions such as READ_TEXT, SAVE_TEXT, etc.
    The problem with (1) is that it can only store one long-text.  We need to have many.  Please correct me if we can hold more than one long text in the cluster...?
    With regard to (2), I'm just not sure that this is the correct place to store the long text...?
    If I was to adopt option (2), could I just use the key of PA9nnn (ie: PAKEY) as the key/TDNAME for STXH?
    Are there any other methods to store long text?
    As well, is it possible to create a custom Infotype in PD?  Can we use PM01 to create PD infotypes?
    Thanks,
    Raj

    Raj
    Sorry I'm not much help on the two questions you have raised...you have probably already got answers by now anyway..however FYI check out link below for enhancing PD infotypes (use transaction PPCI).
    enhance infotypes

  • Txt to xml. Problems with characters(&, , ',...)

    I want to generate a xml file with text from a txt file but i have problems with special characters such as &, <... I'd like to know if there�s any class or library to filter the text in order to generate my xml without problems.
    Thank you.

    Use JDOM to generate your XML. It will worry about escaping issues for you.
    Here's a (probably rather inelegant) example for you to play around with:
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.*;
    public class DateBoom {
         public static void main(String[] args)
              throws Exception
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = factory.newDocumentBuilder();
              String dodgyText = "< & '";
              Document document = builder.newDocument();
              Element root = document.createElement("root");
              root.setAttribute("dodgy",dodgyText);
              document.appendChild(root);
              Element child = document.createElement("child");
              root.appendChild(child);
              child.appendChild(document.createTextNode(dodgyText));
              Transformer transform = TransformerFactory.newInstance().newTransformer();          
              Source source = new DOMSource(document);
              Result result = new StreamResult(System.out);
              transform.transform(source,result);
    }Your alternative is to use something like String regular expressions (regex) to do this manually, but the XML oriented libraries will catch more corner cases than you're likely to anticipate, making them more reliable.

  • Problems with getting default Texts (HRRCF00_GET_DEFAULT_TEXTS)

    Hi experts,
    we are using EHP4 and I have implemented and activated BADI HRRCF00_GET_DEFAULT_TEXTS for getting default Text during the posting procedure within SAP E-Recruiting based on WebDynpro.
    The BADI is called from WD Controller ERC_C_REQ_MGMT_UI.
    get default text values from BADI HRRCF00_GET_DEFAULTS_TEXT
        wd_assist->read_default_posting_text( EXPORTING iv_language                 = ls_language-langu
                                                        is_post_hrobject            = ls_hrobject
                                              IMPORTING ev_company_desc_default     = ls_language_tab-company
                                                        ev_department_desc_default  = ls_language_tab-department
                                                        ev_project_desc_default     = ls_language_tab-project
                                                        ev_task_desc_default        = ls_language_tab-tasks
                                                        ev_requirement_desc_default = ls_language_tab-requirements ).
    Directly after the call of BADI HRRCF00_GET_DEFAULTS_TEXT it seems that the company description is correctly filled.
    But unfortunately I am not able to see the default text within the Input Field of the view.
    As far that I know there should be a Button to fullfill the company description with the default text. But I can't see any button.
    Is there anything else I have to configure?
    Many Thanks!

    Hi Roman,
    I have testet it both. With a complete new requisition and with a old one. Same problem.
    But know I have recognized a strange system behaviour.
    If I toogle the first language I am not able to see my default_text. But if I toggle a second on(English etc) I can see the default text within this second tab.
    So the result is that I am able to see the default texts but only if I toggle two languages
    I am thinking I am missing something within my BADI implementation.
    The only thing I have done is to prorgram follwing section within the method GET_PROJECT_DESC
    method IF_EX_HRRCF00_GET_DEFAULT_TEXT~GET_PROJECT_DESC.
    *{   INSERT         M11K900044                                        1
    break erec1.
    project_desc = 'This is a example for the project description'.
    *}   INSERT
    endmethod.
    And it seems fine becaus if I switch to debugging mode I can see that the method is called and tht the variable project_desc will be filled correctly.
    Would be great if you could give me a helping hand on this.
    Many Thanks!
    Marco

  • Problem with bullets in text boxes

    Hi,
    I haven't seen this problem written up anywhere but I am
    having problems with my text formatting differently in text boxes
    when I've used bullets in the text. I am using Captivate 2.
    So here's what happens:
    If the text caption has a bullet
    anywhere in the body, when I publish my captivate course, the text
    looks like normal 12 pt Arial.
    If there is a text box without any bullets, the text looks
    like it was bolded.
    The next result is that I have two types of body text
    throughout my course.
    I went into every slide and verified that there is no other
    text formatting going on and I did find that Impact was sometimes
    in the same text boxes where I had bullets but I finally got rid of
    all the impact. However, the problem remains. Can anyone help me?
    Thanks,
    Lin

    Hi Lin and welcome to our community
    My guess here is that you are using the Transparent caption
    type. When you do this, the caption anti-aliases the text inside
    and many claim it looks either bold or fuzzy. You have two options.
    1. Use Bullets on all captions. Don't worry, you don't have
    to actually SEE the bullets. Just press Enter a few times and apply
    bullets to one of the blank lines. Then size the caption so the
    bullet part is hidden from view.
    2. Implement a trick discovered by fellow Adobe Community
    Expert Paul Dewhurst. You can see his trick by
    clicking
    here.
    Hopefully one of these works for you... Rick

  • Problem with Math In Calculated Fields

    I am calculating a group incident rate for data returned from
    a query. The formula is Number of cases multiplied by 200000
    divided by number of hours worked. Cases in my report is the
    calculated field: calc.CaseSum (the sum of cases for the group)
    Hours is calc.SumHours (the sum of hours for the group). The actual
    values for these variables (for the first group are 48 and 29427171
    respectively. When I create the following calculated field called
    rate using the formula: (calc.CaseSum * 200000) / calc.SumHours,
    Cold Fusion Generates a Runtime Error:
    Invalid ColdFusion expression in report. If the expression is
    a string, ensure that it is within quotes. Error: (calc.CaseSum *
    200000) / calc.SumHours is not a valid ColdFusion expression.
    If I use the constant value "29427171" as the divisor, the
    report works albeit only for the first group. Any ideas; is this a
    bug, or am I misusing the product?
    Addition: I forgot to mention I am using CF8. Also this
    formula worked fine as a Report Total before I introduced grouping
    and modified the calculated fields to reset on the change of a
    group.

    Sorry, I've been on another project for awhile. This problem
    will certainly be a "show stopper" for me if I cannot resolve it.
    As I mentioned in my original post, I used a constant in the
    formula in lieu of the variable and the calculation worked. This
    would suggest that CF does not have a problem with a large number.
    In spite of that reasoning, I tried Tony's suggested (thanks
    by the way!) with the identical outcome, only difference is the new
    formula is displayed in the error message.
    Tony, you also suggested that I set the variables using
    CFSET... How would I do this within the report writer environment.
    I had tried a similar approach: to perform half the calculation
    i.e. that within the parenthesis, and assign that value to a
    separate "calculated field: and then perform the rest of the
    calculation on that variable with the same outcome.
    I think that I may be dealing with a CF bug here, I'd like to
    find a workaround... I've noticed that CF8 has a new patch, perhaps
    after I apply it, I may be able to get this thing to work. I'm on
    another project right now so it will be a few days before I can
    test this theory, I report the result.
    Should this fail, and no one can come up with a workaround, I
    will report this to Adobe.

  • Problem with lenght of text and footer elements displaced (bug?)

    I have a problem with the footer of my pages. The footer is composed with elements of the master page and two elements that are page dependant so these elements are defined in each page. All the elements in the footer are marked as page footer elements so they should appear below the main content of the page and all in the same position relative to each other.
    But the truth is the main content extends below the top of the footer overlapping it and the page dependant elements of the footer are displaced in the same amount and so these elements do not match in the space reserved for them in the footer.
    I think the problem is caused by the text box in the main content being displayed with a bigger height than it appears in the editor. Even worse: every web browser shows the text with a different height so the footer elements all appear displaced differently. I have tried to define the height of the text in pixels (px) instead of percentage (%) but the result is the same. But even with this indetermination, the footer should always appear below the main content and not overlaping (or overlaped) by it, so either this is a bug or I am doing something wrong.
    Here is how i see the page in the editor. The grayed out keywords and the "UK Photographers" link of the footer are in the current page. All other elements of the footer (horizontal line(rectangle of 1px height), "facebook - links - contact" links and Copyright notice) are in the master page:
    This is how the page appears in Firefox 15 with the text zoom set to default. notice how the footer elements that are defined in the current page appear overlaping those defined in the master page (there should be a 27px space between the end of the text and the horizontal line) and moved down in the same amount than the main content exceeds the footer limit:

    I am able to repro this on my end as well. Seems like a bug that we will be fixing in a future release.
    Work around would be to make sure that the footer item on the individual pages are above the ones from the master page or put everything on the master page or the individual page.
    - Abhishek Maurya

Maybe you are looking for