A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Links in a dynamically loaded xml file?

  1. #1
    Tomatos
    Join Date
    Aug 2001
    Location
    Vejle, Denmark
    Posts
    85
    Hi there,
    I have a movie, in which I load external .xml files with text. The question is, is it possible to make links in that external .xml file and how do I write a href tag in this file?

    Hope anyone can help me out :-)

    Thanks,
    Thomas

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    143
    dont you have to use cdata or pcdata or somthing like that I dont really know how to declare it in XML you might need to create a DTD or us a XSL Style sheet

    but you can just load the href in a node thats what I do

    Example
    Code:
    <?xml version="1.0"?>
    <root>
    	<element1>
    		<name>Whatever</name>
    		<link>Http://www.whatever.com</link>
    	</element1>
    	<element2>
    		<name>Whereever</name>
    		<link>Http://www.whereever.com</link>
    	</element2>
    </root>

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center