Welcome to WebmasterWorld Guest from 23.20.137.66

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Re: creating link in xml doc

     
3:03 am on Aug 19, 2008 (gmt 0)

5+ Year Member



Hi there, we have an xml page which is used for a flash website. The website pulls certain information from the xml doc.

We wanted to know how we can create a link for "All Rights Reserved" and "Privvacy Policy" insted of just showing text.

This is the code that we have.


<?xml version="1.0" encoding="utf-8"?>
<root>
<title val="Your Website Name" fontSize="11"/>
<slogan val="Your Website Slogan" fontSize="42"/>
<!-- <logo enable="1" type="0" val="images/logo.jpg"/> -->

<logo enable="1" type="0" val="images/logo.jpg"/>

<footer val="Copyright 2008 Your Business Name All Rights Reserved Privacy Policy" fontSize="11"/>
<contacts val="media@yourbusinessname.com"/>
<colors>
<title val="#ffffff"/>
<slogan val="#ffffff"/>
<menua val="#ffffff"/>
<menup val="#a4a4a4"/>
<copyright val="#474747"/>
<pagetitle val="#ffffff"/>

This is what we normaly use for html documents. How would we combine the two?

<a href="html/provacy-policy.html" target="_blank">Privacy Policy</a>

Cheers
Hyperion
9:03 pm on Aug 19, 2008 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



AFAIK you can import HTML into a text area of a Flash movie. So if your content is being loaded asynchronously into a Movie Clip, you can put an <a> element in to the content.

Put HTML into the <footer> and see what happens. Just be sure to turn your angle brackets into &lt; and &gt; or the XML parser will barf.

Or - couldn't you could put your footer links into the main Flash layout? in the FLA/SWF?

11:43 pm on Aug 19, 2008 (gmt 0)

5+ Year Member



Sorry, my xml = 0.

is this what you mean?

<?xml version="1.0" encoding="utf-8"?>
<root>
<title val="Your Website Name" fontSize="11"/>
<slogan val="Your Website Slogan" fontSize="42"/>
<!-- <logo enable="1" type="0" val="images/logo.jpg"/> -->

<logo enable="1" type="0" val="images/logo.jpg"/>

<footer val="Copyright 2008 Your Business Name All Rights Reserved <a href="html/provacy-policy.html" target="_blank">Privacy Policy</a>" fontSize="11"/>
<contacts val="media@yourbusinessname.com"/>
<colors>
<title val="#ffffff"/>
<slogan val="#ffffff"/>
<menua val="#ffffff"/>
<menup val="#a4a4a4"/>
<copyright val="#474747"/>
<pagetitle val="#ffffff"/>

 

Featured Threads

Hot Threads This Week

Hot Threads This Month