A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] links in external txt file????

  1. #1
    Senior Member
    Join Date
    Nov 2004
    Posts
    286

    [F8] links in external txt file????

    i have a plain text info.txt file being loaded into my site. it simple has contact info. my question is how to i link the email addresses and website so that they are active links?

    I tried <a href="http://……"> </a> but I think that only works in html - this is just .txt

    please help.

  2. #2
    Member
    Join Date
    Jul 2007
    Posts
    77
    you need to specify a text field the handles html formatted text. when you've loaded the info from the external file as a string in a flash, write the following

    Code:
    	myTextField.htmlText = textString
    The text may not display properly depending on what font you use. I suggest using a stanard web font like arial or tahoma and setting the field to "use device fonts". if the text is to be animated masked or filtered you will have to embed the fonts for them to display properly.

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