Solved

Flash Text Format URL Not Working??

Posted on 2004-09-15
3
166 Views
Last Modified: 2012-06-27
I am unable to get the url to be clickable.  Any ideas??


for (i=0; i<3; i++) {
      _root.createEmptyMovieClip("menuName"+i, 600+i);
      eval("_root.menuName"+i).createTextField("recentBroadcast"+i+"_txt", 501+i, 435, 45+(i*17), 140, 20);
      eval("menuName"+i+".recentBroadcast"+i+"_txt").htmlText = "hello world";
      eval("recentBroadcast"+i+"_txt").html = true;
      myFormat = new TextFormat();
      myFormat.color = 0x000000;
      myFormat.font = "Arial";
      myFormat.bold = true;
      myFormat.url = "http://www.yahoo.com";
      eval("menuName"+i+".recentBroadcast"+i+"_txt").setTextFormat(myFormat);
}
0
Comment
Question by:splendorx
[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
3 Comments
 
LVL 10

Accepted Solution

by:
muso120999 earned 250 total points
ID: 12069917
add the line:
       eval("menuName"+i+".recentBroadcast"+i+"_txt").html = true;

before you set htmlText (you aren't setting it to html currently)
0
 
LVL 1

Author Comment

by:splendorx
ID: 12074139
Thank you!  Works great!!  I did not know it had to be in a specific order.
0
 
LVL 10

Expert Comment

by:muso120999
ID: 12074201
Cool!

I don't think the order of the lines actually matter too much (I was probably more specific than I needed to be!), as long as it's called before the setTextFormat
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

623 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