A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Link in a .xml file

  1. #1
    Tomatos
    Join Date
    Aug 2001
    Location
    Vejle, Denmark
    Posts
    85

    Angry

    Hi there,
    I have a .xml file, in which I would like to make a link.
    I have used this code, but it doesn´t work:
    Code:
    <element1><name>Flashkit</name><link>http://www.flashkit.com</link></element1>
    Does anyone know what I have done wrong?
    Thanks a lot,
    Thomas

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Location
    Hong Kong
    Posts
    171
    Is this a Flash question? Have you read the XML file into the Flash XML object and want to put the link into a text field that the user can click on? If so, then you need to process the XML so that the .text of your TextField looks like " blah blah (a href="http://www.flashkit.com")Flashkit(/a) blah blah".
    Remember to set the .html = true as well for the TextField.

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