You should have said it was in a viewstack in the first place.  I'm not
sure about in Flex 1.5, but in 2 you simply need
"[viewstackID].selectedIndex = X" where X is the index # of the layer
you want to show.

Also, AFAIK you can't just make part of a label a link, you'd have to
either do all or nothing, or else make those 3 words a separate label.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rgwilson26
Sent: Tuesday, December 06, 2005 7:36 AM
To: [email protected]
Subject: [flexcoders] Re: embeded link text in a label tag

Actually, the link is currently in a viewstack, and I want the link to
navigate to a different page in my viewstack. That seems like a lot of
code for a simple link. Thanks for your help though. I will continue my
search.

--- In [email protected], "fowleryj" <[EMAIL PROTECTED]> wrote:
>
> Are you looking to pop up a new window for the Environment and 
> Equipment section? If so, you could use the mouseDown attribute:
> 
> <mx:Label id="trainingQuestion8" text="If equipment was involved,
see
> the Environment and Equipment questions."
> mouseDown="mx.managers.PopUpManager.createPopUp(_root,
> com.tjctechnology.registry.desktop.view.ExternalPartyFinder, true,
> {deferred: true})" mouseOver="trainingQuestion8.setStyle('color',
> '#0000FF')" mouseOut="trainingQuestion8.setStyle
('color', '#000000')"/>
> 
> Or embed a method in the mouseDown attribute that would do something 
> similar.
> 
> --- In [email protected], "rgwilson26" <[EMAIL PROTECTED]>
wrote:
> >
> > 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



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/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/
 


Reply via email to