Line of a Text Field

I have a button which consists of a text field which has ten words on ten lines. the user clicks on the button and I want to record what word they clicked on.

can anybody suggest how this can be done in Flash.

Thanks.
RICHARDHAsked:
Who is Participating?
 
dagostinhoCommented:
Whay don´t you create a movie clip, with 10 buttons attached?
0
 
RoyKruyshaarCommented:
Why you make one button with two lines? You better can make 10 seperate buttons, when you place them together, it's look like one button, and much better to navigate.
Please tell me the WHY's and then maybe I can help you to find a solution.

ByTheWay, thanks for the points you gave me this evening.

Greetings,

Roy
0
 
RICHARDHAuthor Commented:
The points were my pleasure, the last answer was perfect. in this case I would rather have one button, as I do not want to script the ten buttons separately. In addition the list may get as big as twenty items, duplicating twenty would be a waste of time.

my main background is Director, where this would be trivial. Look forward to any ideas.

Thanks.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
RICHARDHAuthor Commented:
Sorry to reject this answer but I do need to have a multi-line button.
0
 
SuperMarioCommented:
Here's a solution to try...

Make an array of variables like a1 through a10. Set them equal to text in certain fields. Then just duplicate the movie clip going down vertically in a loop and set the names. So you only have to create one button but they're all duplicated and the text is changed. Then when the user clicks the button you can just set a main variable equal to its text.

It's really complicated to understand but I know this will work... an example might take me a while to do though.

-Dan
0
 
sangyongCommented:
you can you do with using ASP, ColdFusion or CGI. that's the only way that you can keep text i think.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.