Afaik you would have to add a listener for the click event of the label. It should implement it as being a UIComponent. I guess if you just want specific words to be clickable you would either have to check x and y coordinates of the mouse in your click handler or separate the text into two labels.
Chances are, there is a much easier solution to this though :-)
Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]
-----Original Message-----
From: flexcoders@yahoogroups.com <flexcoders@yahoogroups.com>
To: flexcoders@yahoogroups.com <flexcoders@yahoogroups.com>
Sent: Mon Dec 05 21:57:30 2005
Subject: [flexcoders] embeded link text in a label tag
I would like to know how to set text in a label to linked text.
I want the words "Environment and Equipment" linked to a section in my
application.
***********************
<mx:Label id="trainingQuestion8" text="If equipment was involved, see
the Environment and Equipment questions."/>
***********************
thanks
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.