Ask a Question related to Macromedia Flash, Design and Development.
-
Eero Tuomenoksa #1
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
-
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... -
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... -
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... -
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... -
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,... -
Jeff North #2
Re: Link inside xml-text
On Wed, 25 Aug 2004 21:24:40 +0300, in alt.macromedia.flash "Eero
Tuomenoksa" <etuomenoksa@hotmail.com> wrote:
Wrap your link in the CDATA tag. This will ensure that the xml parser>| 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
>|
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
-
Eero Tuomenoksa #3
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...each> 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<u><a> >| textArea. My text includes two html links, that ihave been done likecommas> >| href="www.flash.com">Flash</a></u>.
> >|
> >| Everything works fine but flash includes in published version twoand> >| start and end to my link. So my link look like this: here text ,Flash,> Wrap your link in the CDATA tag. This will ensure that the xml parser> >| 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
> >|
> 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
-
Adam Albright #4
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
-
Eero Tuomenoksa #5
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...> each> > 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> <u><a> > >| textArea. My text includes two html links, that ihave been done like> commas> > >| href="www.flash.com">Flash</a></u>.
> > >|
> > >| Everything works fine but flash includes in published version two> and> > >| start and end to my link. So my link look like this: here text ,Flash,> > Wrap your link in the CDATA tag. This will ensure that the xml parser> > >| 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
> > >|
> > 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
-
Jeff North #6
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:
The commas must already exist within the xml file or your code. They>| 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.
can't appear by themselves.
Could be because of you xml file structure and how you are reading it>| "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.
in via Flash.
---------------------------------------------------------------
[email]jnorth@yourpantsbigpond.net.au[/email] : Remove your pants to reply
---------------------------------------------------------------
Jeff North Guest
-
Adam Albright #7
Re: Link inside xml-text
On 26 Aug 2004 00:06:39 -0700, [email]etuomenoksa@hotmail.com[/email] (Eero
Tuomenoksa) wrote:
The point you seem to be missing is to avoid the problem you're having>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.
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



Reply With Quote

