Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create links in a text box

Status
Not open for further replies.

MichelleButler

IS-IT--Management
Apr 5, 2002
73
GB
I have been getting many useful help from this website and I hope you can help me with this one. I would like to be able to create links from a list in a textbox. For example: I have create an alphabetical list in one text field and when you scroll through the text you should be able to click on the letter you want such as a mouse over and allow it to give you a further option ie (go to frame example).

This is how I hope do it, I have created one text field with an alphabetical list and this takes up one sprite, as you scroll through the text field you should be able to click any letter of the alphabetical for example "a" and this will allow you to go to another frame that gives you a list of index with "a" associated with it. I would like to create an index (like a book that gives you a reference to the pages). Can anybody help!

many thanks

Michelle (thanks for all your great help in the past)
 
Use mouseLine. You can combine it with a mouseDown handler and use a if then statement to check the line in the text member. Here is an example of the script to put on your text member behavoir.

on mouseDown
if the mouseLine=3 then go to frame x
end

So when the user clicks on the third line of the text member then it will go to frame x.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top