inserting a hyperlink in xml file with flash components

All I want to do is to insert url links in the xml code below. In other words, I need the XML
equivalent to the HREF tag in html. I have tried several solutions without any luck so far.
here is the original XML file I want to work on (named "structure.xml") :

<?xml version="1.0" encoding="utf-8"?>
<menu>
        <item name="HOME PAGE" type="home" componentPath="dynamic_news" componentSWF="" visible="true"/>        
        <item name="XML ACCORDEON" type="component" componentPath="accordeon" componentSWF="accordeon.swf" visible="true"/>
        <item name="3D CAROUSEL" type="component" componentPath="carousel" componentSWF="carousel.swf" visible="true"/>
        <item name="EVENT PLANNER" type="component" componentPath="event_planner" componentSWF="event_planner.swf" visible="true"/>
        <item name="BOOKMARKER" type="component" componentPath="bookmarker" componentSWF="bookmarker.swf" visible="true"/>        
        <item name="PHOTO GALLERY" type="component" componentPath="images_gallery" componentSWF="img_gallery.swf" visible="true"/>
        <item name="VIDEO GALLERY" type="component" componentPath="video_gallery" componentSWF="video_gallery.swf" visible="true"/>
        <item name="AUDIO GALLERY" type="component" componentPath="audio_gallery" componentSWF="audio_gallery.swf" visible="true"/>
</menu>

I would like to add a link in HOME PAGE item above to an external website (for example: www.google.com)
I have tried a solution I saw posted in this blog but it did not work for me:

<item name="HOME PAGE" visible="true" componentPath="dynamic_news" componentSWF="intro.swf"/> <link>"http://www.google.com"</link>
 Does anyone have a solution?. Thanks a lot..

ps: i tried uploading the whole list of files but the upload program rejects .mp3 files.
4wheelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BardobraveCommented:
XML is a data definition language. There is nothing like a link in it's syntax. What you can do with xml is to define any data structure in a very free way so your system can read that data and work with it. If you want to create a link you should program something in your back that reads the url that your xml contains (in a link tag or wherever you want to add it) and build an <a> tag inside the site.

Reading your post I think you're using some sort of automated back content generator. In it's documentation should be info about how to post links to it.
quizengineCommented:
The links need to be *inside* the swf files. Depending on how the swfs are written they are able to read an XML document and extract links from that file, but only if they have been specifically written to do so.

Are you able to ask the author of the swfs if they are set up that way / can be modified to behave that way?
4wheelAuthor Commented:
Thank you friends.

Bardobrave, unfortunately there is no documentation about how to post links. I do see however another XML document that posts links to external URLs and they work fine (see attached xml code). In reference to programming something in the back to read the url, are your talking about modifying the .fla files?. The package I have did not include any .fla files

Quizengine, I am working with a flash-xml template that is rather old and has no longer any tech support. There are no .fla files either to edit, and I would not know how to modify them anyway since I don´t know flash.

If you wanted I could email you the whole package for you to test. Please let me know if you would like that. I can´t upload them here because of this site´s restrictions. cgal.xml
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

quizengineCommented:
I'm not sure what to say...

If the swfs don't have the ability to launch links, then nothing in the XML file can give the swf that ability - it's the swf that would need changing, and yes, you would need to know Flash, or recruit someone who does, to be able to edit the behaviour of the swfs.

The HREF tag in HTML is a feature of HTML. XML doesn't have that feature, and swfs can only be made to launch webpages by creating Actionscript 'links' in them (e.g. using the getURL() actionscript instruction).
4wheelAuthor Commented:
Thank you very much quizengine... I will search for a flash expert.. thanks again.
BardobraveCommented:
Looking at your example XML I see one difference between it and the things you post originally on your current trys.

In your first post you said you are trying to post:
<item name="HOME PAGE" visible="true" componentPath="dynamic_news" componentSWF="intro.swf"/>
<link>"http://www.google.com"</link>

However on the XML that you provided us recently, that suposedly is able to post links, the <link> tag is inside the <item> tag, not outside it.

Try doing so:
<item name="HOME PAGE" visible="true" componentPath="dynamic_news" componentSWF="intro.swf">
<link>"http://www.google.com"</link>
</item>
4wheelAuthor Commented:
Thank you Bardobrave. That did not work unfortunately. If you can please take a look at the template i have uploaded to a server for testing purposes. Menu item HOME PAGE has your link suggestion. I also added a new menu item called PRIVACY POLICY just for testing links to google.com, but no luck.

I even tried creating a transparent button the size of the screen with a link to google.com, but that doesn´t work either.

the test template can be seen at;

http://scottsdale.servershost.net/~inmueble/prueba/website/2644.html

Thanks again...
BardobraveCommented:
Mmmm... your original xml structure is
<component>
   <items>
       <item>
           <icon></icon>
           <link></link>
       </item>
    </items>
</component>

While your current trys are:
<menu>
  <item>
     <link></link>
  </item>
</menu>

You can try reproducing the original structure and see what happen.
4wheelAuthor Commented:
Sorry friend. That doesn´t work. But many thanks.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
4wheelAuthor Commented:
Thnaks for your help. Problem couldn´t be solved. But suggetsions were very helpful
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.