Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

Add a link to dynamic text

My flash presentation currently has a dynamic text field with a scroll bar. How do I link a certain word within the text field, for example "here", to another website? Also, I would need to scroll down to be able to see the "here" word.
0
neoosh
Asked:
neoosh
1 Solution
 
spo0kyCommented:
Make this certain word separate symbol - button.
And then write an action script to open another page.
0
 
rascalpantsCommented:
just make sure that your dynamic text box has the <> selected, which means it allows HTML content...

then just pass your html code to the box in the variable...

like this:


textbox1=<a href='/index.html'>Click Here</a> for news and events&


you can also put some font changes with html as well...


let me know if you have any more questions....



rp
0
 
JaxusCommented:
U could use asfunction - which make the link more complex

//
// here is the function to be called
//
function Jenzens(frame) {
// start sound on click
     LinkSound = new Sound();
     LinkSound.setVolume(volume_intern);
     LinkSound.loadSound("linksound.mp3", true);
     LinkSound.start();
// load movie
     loadMovieNum("jenzens.swf", 35);
// or use getURL insted
        getURL("htpp://www.jenzens.dk");
//
}

the dynamictext then use the asfunction the call the link like this:

DynamicTextVar= "<a href=\"asfunction:Jenzens\">Visit my site\r </a>"+
"here is another text....";

the '\r' in the end of the first line is used to as a linebreak
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
rascalpantsCommented:
neoosh,


you need to close this question out...

please come back and comment or award the points...


rp
0
 
neooshAuthor Commented:
Thanks a lot, rascalpants! Your advice has helped me with my flash presentation. Sorry for taking so long to reply though...
0
 
rascalpantsCommented:
thanks for closing out this question...


rp
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now