Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 06:07
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Web Services: XML, Soap, WSDL, UDDI, and Flash Integration (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  Add a Link using XML? Is it possible?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Add a Link using XML? Is it possible?  (Read 11517 times)
jonra
Server what's that
*
Posts: 25


View Profile Email
« on: 07/24/08, 19:12 »

I can't seem to add a basic link in XML. I using a Flash, XML, CSS News Viewer. I'm not sure where to put the code or what code to use. I would like to add a hyperlink at the begining of my description to "download PDF". The download could take place there, or at a different URL. Any help is most appreciated.
Many Thanks, Jonra

<?xml version="1.0"?>
<NEWS mainAuthor="Jonra">

<item>
<date>20th Feburary, 2008</date>
<author>Jonra</author>
<image>fish.jpg</image>
<title>This is the News</title>

<description>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
</description>

</item>
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #1 on: 07/25/08, 03:09 »

you could crerate a new node, and read it at the flash side to insert a button or link.

something like:

<download>
    <document>
       path/docname.pdf
     </document>
     <label>
        Titel to be displayed at the button
     </label>
</download>

you have to adapt the AS to this structure
Logged

happy flashing
Cool
Ronald
jonra
Server what's that
*
Posts: 25


View Profile Email
« Reply #2 on: 07/30/08, 14:42 »

Thanks Ronald, finally figured it out, looks like this.

<description><![CDATA[<p><b>Download PDF with Pictures and Articles Here</b> <a href="http://www.google.com">Click Here:</a> Though my education in deer management and my career path have taken me to Texas and many other etc. </p>]]>
</description>
</item>

Many Thanks though,
Jonra
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything