Link inside xml-text

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default Link inside xml-text

    Hi

    I have problem in html links. I using eternal xml-file to hold my my
    textArea text in flash. I have programmed so that one xml node is for each
    textArea. My text includes two html links, that ihave been done like <u><a
    href="www.flash.com">Flash</a></u>.

    Everything works fine but flash includes in published version two commas
    start and end to my link. So my link look like this: here text ,Flash, and
    text continues.

    Is there a way that i can make the commas disappear. The textarea is
    parsering xml to html and link works. So only promlem is those commas.

    Thanks in advance

    Eero


    Eero Tuomenoksa Guest

  2. Similar Questions and Discussions

    1. Can't use return key to edit text inside a text box
      When I initially type a text in a text box, I can use the return key to create a space between paragraphs. Once I leave the text box I can't go back...
    2. HTML <Href Link inside a form (HTML text box)
      Hello, I am using a standard HTML Form to gather information from users and one of the elements within the form is a text box that users will paste...
    3. HTML link inside a <CFMAIL> email
      Hello all, I have writen a basic help desk application. When a logged call is closed i use <CFMAIL> to send a confirmation that there log has been...
    4. How do I link from inside a dynamic text box?
      I have a dynamic web site set up using Flash MX 2004 Pro. I am trying to load some dunamic html into a textfiled that will be able to call...
    5. control to add <LINK> inside <HEAD>
      Hi all, I'm building a custom control, which has a separate .css file with its stylesheet. I need to link to the stylesheet inside the page,...
  3. #2

    Default Re: Link inside xml-text

    On Wed, 25 Aug 2004 21:24:40 +0300, in alt.macromedia.flash "Eero
    Tuomenoksa" <etuomenoksa@hotmail.com> wrote:
    >| Hi
    >|
    >| I have problem in html links. I using eternal xml-file to hold my my
    >| textArea text in flash. I have programmed so that one xml node is for each
    >| textArea. My text includes two html links, that ihave been done like <u><a
    >| href="www.flash.com">Flash</a></u>.
    >|
    >| Everything works fine but flash includes in published version two commas
    >| start and end to my link. So my link look like this: here text ,Flash, and
    >| text continues.
    >|
    >| Is there a way that i can make the commas disappear. The textarea is
    >| parsering xml to html and link works. So only promlem is those commas.
    >|
    >| Thanks in advance
    >|
    >| Eero
    >|
    Wrap your link in the CDATA tag. This will ensure that the xml parser
    will ignore tags (and other data) within this area.

    <![CDATA[<u><a href="www.flash.com">Flash</a></u>]]>
    ---------------------------------------------------------------
    [email]jnorth@yourpantsbigpond.net.au[/email] : Remove your pants to reply
    ---------------------------------------------------------------
    Jeff North Guest

  4. #3

    Default Re: Link inside xml-text

    Thanks,

    But that doesnīt work, if i use CDATA tag, the Flash donīt parse my html and
    i got commas still there.

    Eero

    "Jeff North" <jnorth@yourpantsbigpond.net.au> wrote in message
    news:umopi0dn9ekk473o06onj3dki8bhcgof56@4ax.com...
    > On Wed, 25 Aug 2004 21:24:40 +0300, in alt.macromedia.flash "Eero
    > Tuomenoksa" <etuomenoksa@hotmail.com> wrote:
    >
    > >| Hi
    > >|
    > >| I have problem in html links. I using eternal xml-file to hold my my
    > >| textArea text in flash. I have programmed so that one xml node is for
    each
    > >| textArea. My text includes two html links, that ihave been done like
    <u><a
    > >| href="www.flash.com">Flash</a></u>.
    > >|
    > >| Everything works fine but flash includes in published version two
    commas
    > >| start and end to my link. So my link look like this: here text ,Flash,
    and
    > >| text continues.
    > >|
    > >| Is there a way that i can make the commas disappear. The textarea is
    > >| parsering xml to html and link works. So only promlem is those commas.
    > >|
    > >| Thanks in advance
    > >|
    > >| Eero
    > >|
    > Wrap your link in the CDATA tag. This will ensure that the xml parser
    > will ignore tags (and other data) within this area.
    >
    > <![CDATA[<u><a href="www.flash.com">Flash</a></u>]]>
    > ---------------------------------------------------------------
    > [email]jnorth@yourpantsbigpond.net.au[/email] : Remove your pants to reply
    > ---------------------------------------------------------------

    Eero Tuomenoksa Guest

  5. #4

    Default Re: Link inside xml-text

    On Wed, 25 Aug 2004 21:24:40 +0300, "Eero Tuomenoksa"
    <etuomenoksa@hotmail.com> wrote:
    >Hi
    >
    >I have problem in html links. I using eternal xml-file to hold my my
    >textArea text in flash. I have programmed so that one xml node is for each
    >textArea. My text includes two html links, that ihave been done like <u><a
    >href="www.flash.com">Flash</a></u>.
    >
    >Everything works fine but flash includes in published version two commas
    >start and end to my link. So my link look like this: here text ,Flash, and
    >text continues.
    >
    >Is there a way that i can make the commas disappear. The textarea is
    >parsering xml to html and link works. So only promlem is those commas.
    >
    >Thanks in advance
    >
    >Eero

    There is nothing magical about putting links in a XML page.

    Sample XML:

    <something id="78" name="xxx" sub-1="X" sub-2="Y" myUrl="Z">
    <p>
    <h1>blah, blah</h1>
    <li>blah, blah, blah</li>
    <a href="XX.html" target="_blank">Web site</a>
    </p>
    </something>

    Something is a uniquie name, so is id and name. Sub 1, 2 could be
    basis of searching the XML along with name and id. While limited,
    Flash supports some of the basic tags like headings, lists and
    anchors. Combined with linking to a CSS file for formatting can be
    fairly neat.

    Adam Albright Guest

  6. #5

    Default Re: Link inside xml-text

    Sorry but i donīt understand how that helps me. There is no problem to
    make link but my problem is those commas start and end of my link.

    Eero

    "Eero Tuomenoksa" <etuomenoksa@hotmail.com> wrote in message news:<cgipe4$car$1@nyytiset.pp.htv.fi>...
    > Thanks,
    >
    > But that doesnīt work, if i use CDATA tag, the Flash donīt parse my html and
    > i got commas still there.
    >
    > Eero
    >
    > "Jeff North" <jnorth@yourpantsbigpond.net.au> wrote in message
    > news:umopi0dn9ekk473o06onj3dki8bhcgof56@4ax.com...
    > > On Wed, 25 Aug 2004 21:24:40 +0300, in alt.macromedia.flash "Eero
    > > Tuomenoksa" <etuomenoksa@hotmail.com> wrote:
    > >
    > > >| Hi
    > > >|
    > > >| I have problem in html links. I using eternal xml-file to hold my my
    > > >| textArea text in flash. I have programmed so that one xml node is for
    > each
    > > >| textArea. My text includes two html links, that ihave been done like
    > <u><a
    > > >| href="www.flash.com">Flash</a></u>.
    > > >|
    > > >| Everything works fine but flash includes in published version two
    > commas
    > > >| start and end to my link. So my link look like this: here text ,Flash,
    > and
    > > >| text continues.
    > > >|
    > > >| Is there a way that i can make the commas disappear. The textarea is
    > > >| parsering xml to html and link works. So only promlem is those commas.
    > > >|
    > > >| Thanks in advance
    > > >|
    > > >| Eero
    > > >|
    > > Wrap your link in the CDATA tag. This will ensure that the xml parser
    > > will ignore tags (and other data) within this area.
    > >
    > > <![CDATA[<u><a href="www.flash.com">Flash</a></u>]]>
    > > ---------------------------------------------------------------
    > > [email]jnorth@yourpantsbigpond.net.au[/email] : Remove your pants to reply
    > > ---------------------------------------------------------------
    Eero Tuomenoksa Guest

  7. #6

    Default Re: Link inside xml-text

    On 26 Aug 2004 00:06:39 -0700, in alt.macromedia.flash
    [email]etuomenoksa@hotmail.com[/email] (Eero Tuomenoksa) wrote:
    >| Sorry but i donīt understand how that helps me. There is no problem to
    >| make link but my problem is those commas start and end of my link.
    The commas must already exist within the xml file or your code. They
    can't appear by themselves.
    >| "Eero Tuomenoksa" <etuomenoksa@hotmail.com> wrote in message news:<cgipe4$car$1@nyytiset.pp.htv.fi>...
    >| > Thanks,
    >| >
    >| > But that doesnīt work, if i use CDATA tag, the Flash donīt parse my html and
    >| > i got commas still there.
    Could be because of you xml file structure and how you are reading it
    in via Flash.
    ---------------------------------------------------------------
    [email]jnorth@yourpantsbigpond.net.au[/email] : Remove your pants to reply
    ---------------------------------------------------------------
    Jeff North Guest

  8. #7

    Default Re: Link inside xml-text

    On 26 Aug 2004 00:06:39 -0700, [email]etuomenoksa@hotmail.com[/email] (Eero
    Tuomenoksa) wrote:
    >Sorry but i donīt understand how that helps me. There is no problem to
    >make link but my problem is those commas start and end of my link.
    The point you seem to be missing is to avoid the problem you're having
    you should try placing the HREF reference in a child node in your XML.
    If you do, your comma problem should go away.

    What I chuckle at is people have a problem, ask for help, are given an
    answer then they still want to do it THEIR WAY which don't work
    rejecting a method that DOES work which makes me wonder why I bother
    trying to help in the first place.

    Adam Albright Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139