Problem with tabs in xml text

I have a problem with my XML setup here
i use Tab key to aligh up info in the xml text for aligned
display in the program
hoever i tested on several computers and get different
resolts.
how can i fix this.
Please view the linked Image
http://img129.imageshack.us/img129/8394/flashtextproblemti4.jpg
this is what happenes even thow all run xp and all run same
latest flash version.
Anyone got an ideer how i can solve this.
BTW the font is verdana.
This is my actionscript ....
// Function to parse an address
f_parseAddress = function () {
// Set the text
_root.stageholder.textfield.htmlText =
this.firstChild.firstChild.firstChild.nodeValue;
// Create the XML object
XML_address = new XML();
// Set up the XML object
XML_address.ignoreWhite = true;
// Add the handlers
XML_address.onLoad = f_parseAddress;
// Load the XML file
XML_address.load("./Data/xml/kontakt.xml");
This is my XML file
<?xml version="1.0" encoding="iso-8859-1"?>
<text>
<address>
<![CDATA[
<font size="20">Company name</font>
Company name
address
address
Dir. tlf. + xx xx xx xx xx
+ xx xx xx xx xx
Mobil + xx xx xx xx xx
+ xx xx xx xx xx
web: <a href="
http://www.xxxxxxxxxxxxx.xx"><b>www.xxxxxxxxxxxxx.xx</b></a>
E-mail: <a
href="mailto:[email protected]"><b>[email protected]</b></a>
]]>
</address>
</text>
If anyone got a solution on how i can get my text to allign
corect
i would like to hear about it
Best reguards
Mis

alrighty then try this xml structure.
Note: formatting information like b, or linkage tags should
not be part of the xml.
The XML format is a universal format for data, if you fill it
with style information this is not good practive (in general, there
are of course scenarios where it makes sense, also since (x)html IS
also XML).
In your case you want to put the information about multiple
companies in a xml file, but you let the flash decide how to
display format this information.
so if you use the sugested XMl structure you will have full
control of the layout within flash, because you can grab every
piece of information from the xml and place it jsut where you want
in flash and format it within flash.
Of course this process is more coding work than your previous
attempt, but it pays of when you have a lot of data to process and
when you want to have full control of the final layout.
But maybe its overkill for your application (I don't know how
many companies will be stored in your xml and how complex the rest
of the app is).

Similar Messages

  • Problem with Tabbing Order in LiveCycle

    I have a two page form.  The last field on the second page is an image field (the user can attach a graphic).  The problem is it won't tab back to the first page after this field.

    I, too, am having problems with tab order.
    I have a two-page form created in LiveCycle Designer. There are 66 fields on the 1st page of the form, and 65 fields on page 2. When I use Window > Tab order to examine the tab order, all is as it should be (except for one thing, discussed later). However, when I go into the Preview PDF tab (or load the form in Acrobat X Pro), field 4 on page 1 tabs to field 42 (on page 1). Additionally, tabbing from field 41 on page 1 takes me to field 43 on page 2.
    I can use Action Builder to ensure that the tab goes to the appropriate field, but that seems a rather kludgy way to go about it.
    And that additional problem: I've got three text fields on page 1 that are of type Protected. According to the documentation, "The protected field is not included in the tabbing sequence and it does not generate events.", yet all three fields are in the tab order.
    What (if anything) am I doing wrong?
    Thanks.

  • Problem with tabbed panel

    I have a problem with tabbed panel...this panel has 3 columns, I copied to each of them a diffrent text (diffrent height)...I expected to obtain diffrent working area of column, for example  1st column-height 7500 px, 2nd-1500 px, 3rd-2500 px, but I received one height 7500 px, each column has been formatted to this size....below a text I have “empty space”- (it is a diffrence between working area and text area)...I put the text to the 1st column for example 7200 px height, empty space below this text is 300 px I received 7500 px of working area in this column, here the problem doesn`t exist but….2nd column i have height of text for example 1300 px, below this text i have 6200 px empty space...It should be height 1300 px of text and maybe 200 px of empty space...so the working area could have at 1500 px not 7500 px of height....I try to change it (to for example 1500 px) but it still  return to the basic 7500 px height and can`t do  it...The solution is to use another form like. the accordion form..but it is a row form….when you put a diffrent sized text (height) you will receive diffrent size of working  area (height), you obtain 7200px text +300 px empty space=7500 working area in 1st row.. 1200 px text + 300 px empty space=1500 workin area px in 2nd row and 2500 working area px in 3rd row…everything is fine in this form…each row has been formatted to the different size of height…but I prefer to use a tabbed panel (column form) instead a accordion form.…I don`t to waste the time to correct the code in html text editor like PSPad…
    Best Regards
    Kamil

    A couple of threads here that should answer your query.
    http://forums.adobe.com/message/5080345
    http://forums.adobe.com/message/5104253
    Thanks,
    Vinayak

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • Office Web Apps Server 2013 - Word Web App - Problem with Tab space

    Hello We have Office Web Apps Server 2013 running with SharePoint 2013.  Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
    Has anyone noticed this?  Is this a bug?
    -thanks
    thomas
    -Tom

    Yes, currently the Word Web App does not support
    Tab Keyboard shortcut for editing document content .
    For more information, you can have a look at
    the article:
    http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
    http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral

  • Problems with reports and XML-publisher - No XML

    Hi!
    I'm having a problem with Apps and XML-publisher. I made a report file, which queries some views. When executing in reports, I get all the data I expect.
    Now, when I upload the reportfile to Apps and let it generate XML, my xml-file is empty (well, almost empty)
    <?xml version="1.0" ?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <T03501684>
    <LIST_G_PERSOON>
    <LIST_G_PERSOON />
    </T03501684>
    Anyone who can shed any light upon this problem?

    OK, finally solved the problem... A good night's sleep always helps ;).
    After just trying each queried table one after an other, I found the problem:
    The difference between Oracle Apps (Dutch locale) and the reports builder (English) is the language... And our functional people have changed some names, but the Dutch ones, leaving the english names in place and one of the tables I query has language specific data, which is also appears in a where clause.

  • Problem with unicode in MIME text/html

    Hi;
    I have a java program that sends email by sending it to our exchange server using SMTP. The email has both a To and a Bcc in the single email sent.
    The bcc addressee receives the email fine.
    The to address however has a problem with chars that are > 0x7f in the html. The html uses utf-8. But the displayed characters look as though the utf-8 part was ignored.
    Also weird, if I go to view, options in Outlook for the bcc email (which is good) it shows:
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_0_32437168.1135634913407"
    Return-Path: [email protected]
    X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
    ------=_Part_0_32437168.1135634913407
    Content-Type: text/plain; charset=Cp1252
    Content-Transfer-Encoding: quoted-printable
    ------=_Part_0_32437168.1135634913407
    Content-Type: text/html; charset=Cp1252
    Content-Transfer-Encoding: quoted-printable
    ------=_Part_0_32437168.1135634913407--
    But for the to email (which has the problem), it only shows:
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_0_32437168.1135634913407"
    Return-Path: [email protected]
    X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
    Does javamail do anything weird when it gets an email with a to and a bcc and split it up wrong? I just download and installed the latest mail.jar and activation.jar.
    thanks - dave

    OK...this didnt quite cure it for me...but having done this AND then this...
    MimeBodyPart htmlText = new MimeBodyPart();
    final String htmlStuff = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
    + "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
    + "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"
    + "<head>"
    + "<title>Stuff.</title>"
    + "<meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml; charset=utf-8\"/>"
    + "</head><body>"
    + "<p>Currency Symbols: \u00A3\u00A2\u20A3\u20AC$<p>"
    + "</body></html>";
    DataSource htmlSource = new DataSource()
    private String stuff = htmlStuff;
    private Charset cset = Charset.forName("utf-8");
    public String getContentType() { return "text/html"; };
    public java.io.InputStream getInputStream() throws IOException
    return new ByteArrayInputStream(cset.encode(stuff).array());
    public String getName()
    return null;
    public OutputStream getOutputStream() throws IOException
    throw new IOException();
    htmlText.setDataHandler(new DataHandler(htmlSource));
    htmlText.addHeader("Content-Transfer-Encoding","base64");
    This works for me as shown by the Unicode chars in the html.
    If you intend to take this to production create a decent external DataHandler class and avoid the use of the anonymous class - which then avoids the need for the final String and the string can come from anywhere then.
    Hope this helps,
    Barry

  • Problem with italicizing/underlining/bolding text

    When I'm typing notes, press enter and attempt to start a new line with italicized/underlined/bolded text, it's very unreliable.  Sometimes it works, most times it does not.  The format tab in the bar at the top will briefly flash blue, but nothing happens.  I've dealt with the same problem in Pages, and in both iWork '09 and the latest version.  I always wind up having to type some text first, then go back and do whatever I want with the formatting, which is a significant waste of time and a major annoyance.  Am I doing something wrong or is this just a case of terrible software design on Apple's part?

    MX6.0 or 6.1?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "anglefish" <[email protected]> wrote in
    message
    news:gqjj44$l98$[email protected]..
    > Pulling my hair out stage - I have installed Dreamweaver
    Mx on my vista
    > laptop
    > and created a website but all the text has an underline
    which I am unable
    > to
    > get rid of. The underline option is not selected it just
    appears. Is this
    > a
    > compatibility problem. Any help would be much
    appreciated.
    >

  • 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,

  • HT4623 is anyone else having problems with receiving and sending text messages. most people in my contacts are not getting messages that i send to them.

    is anyone else experiencing problems with (SMS) text messaging. Most all of my daily contacts dont receive my messages.

    Make sure you have checked off iCloud contacts in your Contacts app under Groups in upper left corner.

  • Problem with focus and selecting text in jtextfield

    I have problem with jtexfield. I know that solution will be very simple but I can't figure it out.
    This is simplified version of situation:
    I have a jframe, jtextfield and jbutton. User can put numbers (0-10000) separated with commas to textfield and save those numbers by pressing jbutton.
    When jbutton is pressed I have a validator which checks that jtextfield contains only numbers and commas. If validator sees that there are invalid characters, a messagebox is launched which tells to user whats wrong.
    Now comes the tricky part.
    When user presses ok from messagebox, jtextfield should select the character which validator said was invalid so that user can replace it by pressing a number or comma.
    I have the invalid character, but how can you get the focus to jtextfield and select only the character which was invalid?
    I tried requestFocus(), but it selected whole text in jtextfield and after that command I couldn't set selected text. I tried with commands setSelectionStart(int), setSelectionEnd(int) and select(int,int).
    Then I tried to use Caret and select text with that. It selected the character I wanted, but the focus wasn't really there because it didn't have keyFocus (or something like that).
    Is there a simple way of doing this?

    textField.requestFocusInWindow();
    textField.select(...);The above should work, although read the API on the select(...) method for the newer recommended approach on how to do selection.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • Problem with '&' character in xml

    Hello!
    i work with XI3.0 sp19
    i have a interface ftp ->XI-> idoc.
    ftp adapter send a xml file.
    I solve all problems with special characters using encoding="ISO-8859-9", but i have problem when in my message there are a '&' character.
    any idea?????

    This has been discussed lately:
    Ampersand ('&')  in  XML - Mapping error
    Regards
    Stefan

  • Problem with images in XML with excel output

    Hello:
    I made an XML concurrent program, with excel output, but i am having a problem:
    The rtf template has a logo (bmp image), but it is not showing in the excel (if i execute the concurrent in the oracle applications). However, if i create the xml in Oracle Reports in my computer, and then load that xml in the rdf template in word, i can see the logo in the excel preview. I don't know why is it not showing when i execute the program in applications.
    If someone can help me with this, i will be very grateful.
    Greetings
    Message was edited by:
    user632438

    xml cP, will not give you a image in excel output,..
    In RDF there is a placeholder for image, and the image is located in certain location, at runtime it picks and render the output with logo.
    but xml CP, will get the data in xml type and merge with rtf to get the output you wanted..
    if you have the rtf with logo embedded in it, if output is of pdf or rtf output , then it will display the logo ,.
    in excel currently it is not possible to show the logo,..
    excel you see could be xml-excel or csv-excel not the true binary excel.
    to get the logo embedded ,for that you have to wait on tim for the excel template, which will be release in near future i guess..

  • Problem with Tab Key in JFileChooser when Details view is selected.

    Hi all,
    Iam using a JFileChooser in my application.When i click Details option in the JFileChooser the files with the size,Type and modified date are displayed.
    When i am using tab to navigate through the JFileChooser,when the tab enters the area where the files are listed with details,the tab is not comming out of the File List area,instead it is traversing with in the files.How do i come out of the File List area using Tab key.I wanted to make a functionality similar to Windows FileChooser where in if we press Tab it goes to the file list and the next tab focus to Text field and so on.
    Is it possible using JFileChooser??
    Pls Help me,
    Thanks and Regards,
    Ravi

    Hi,
    looking at other threads, I think you will
    have to get the button and modify/remove the tool tip
    as you which.
    this thread might help you, at least the way to get the components in the file
    chooser:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=563002

  • Problem with Approve & Reject buttons text

    Hi Team,
    Once we have configured UWL in EP 7.0 & backed is SRM 7.0, facing problem in Approve & Reject Buttons text.
    Instead of showing Approve & Reject text on Buttons, it showing text like this  com.sap.pct.srm.core.action.oldwfl.approve  & com.sap.pct.srm.core.action.oldwfl.reject
    Can you please help me on this?
    Thanks in advance.
    Thanks & Regards
    Sandeep.

    Sergio, Thanks for your reply.
    It's happening for all the task items. Pls find out XML file here. here i pasted some of the code from my XML, because it is not taking full XML code here.
          <Action name="com.sap.pct.srm.core.action.oldwfl.approve" groupAction="" handler="FunctionModuleActionHandler" referenceBundle="com.sap.pct.srm.core.approve" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="FunctionModule" value="/SAPSRM/FU_WF_RFC_DECISION"/>
            <Property name="IV_DECISION" value="APPROVED"/>
            <Property name="IV_APF_VERSION" value="0500"/>
            <Property name="IV_WIID" value="${item.externalId}"/>
            <Property name="IV_MODE" value="APPROVAL"/>
            <Property name="FunctionModule" value="/SAPSRM/FU_WF_RFC_DECISION"/>
            <Property name="display_order_priority" value="50"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.conf.detail" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="detail"/>
            <Property name="ObjectValue" value="a=b&amp;sapsrm_botype=${item.BOTYPE}&amp;sapsrm_boid=${item.BOID}&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_mode=${item.BOMODE}&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="conf"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.oldwfl.conf.display" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="detail"/>
            <Property name="ObjectValue" value="a=b&amp;sapsrm_botype=BUS2203&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_mode=DISPLAY&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="conf"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.OldWFL" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="oldwfl"/>
            <Property name="ObjectValue" value="a=b&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="uwl"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
        <Action name="com.sap.pct.srm.core.action.launchWD.conf.display" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="toolbar=no,menubar=no,location=no,directories=no,resizable=yes">
          <Properties>
            <Property name="Operation" value="detail"/>
            <Property name="ObjectValue" value="a=b&amp;sapsrm_botype=${item.BOTYPE}&amp;sapsrm_boid=${item.BOID}&amp;System=${item.systemId}&amp;sapsrm_wiid=${item.externalId}&amp;sapsrm_mode=DISPLAY&amp;sapsrm_portalbaseurl=&lt;Portal.BaseURL>&amp;sapsrm_pcdlocation=&lt;IView.ID>"/>
            <Property name="ObjectName" value="conf"/>
            <Property name="System" value="SAP_SRM"/>
            <Property name="display_order_priority" value="30"/>
          </Properties>
        </Action>
    Thanks & Regards
    Sandeep.

Maybe you are looking for

  • Table for configuration values

    Hi, My Sales Order/Invoice Material has is configured. In the VBRP table i can get the configuration(filed CUOBJ). Please tell me the table to find the values for this configuration Object. Thanks in advance. Challa

  • Updating image collection with new images

    I have an image collection which works as a slideshow which can be paused/resumed. This works fine but my problem is that these images are going to change everyday but they will keep the same filename. Is there a way to get the collection to refresh

  • Consolidating one song on multiple albums.

    hello there, i have garth brooks whole discography, but there are a lot of the same songs on multiple albums. is there an easy way to consolidate the tracks but keep them on all the albums so i don't have repeats?

  • Nested IIF in SSRS 2012

    I am trying to set 2 hidden conditions on a row that will show alternate numbered rows (all even #), and also hide any rows that have an answer of '0' or "". I have tried various variations of the IIF statement.  Can someone please help me with getti

  • Can I reset a password for Time Capsule?

    I have forgotten my password and cannot do a back-up without it. Help please.