Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

External text with link option

Posted on 2006-06-19
2
Medium Priority
?
162 Views
Last Modified: 2010-04-03
Hi, I am calling external text through a txt file.  On this txt file I would like to have some words/phrases as links to internet sites........the code that is calling the txt file looks this way:

-----------------

System.useCodepage = true;
fieldtext.html = true;
myLoadVar = new LoadVars();
myLoadVar.load("featured.txt");
myLoadVar.onLoad = function(success) {
      if (success == true) {
            fieldtext.htmlText = myLoadVar.myText;
      }
};

-------------------------------




The txt file *featured.txt* code looks this way:


-------------------------

mytext=<html><font color="#FFFFFF">content goes here
</font></html>

----------------------


Or if anyone knows a better way to call external txt files that could have hyperlinks inside the txt file and maybe also have a scroll option as well?

Thanks


















0
Comment
Question by:johanwilches
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 2000 total points
ID: 16938991
Hi,

you can simply use <a href => tag for link..

for example:
mytext=<html><font color="#FFFFFF">content goes here </font>this is a <a href='http://www.google.com'>link</a></html>

secondly,
to have a scrollbar on textField, just drag a drop a UIScrollbar component on exact middle of textField.

scrollBar will automatically get snapped to the textField


Rgds
Aneesh
0
 

Author Comment

by:johanwilches
ID: 16939816
Hi aneeshchopra...thank you...works pretty sweet...the scrollbar component also worked as you explained....thanks alot.

Cheers,

Johan,
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question