Hi Libby,

If you've managed to control the Link and hijack the click event etc, 
why don't you try Link.setStyle("textDecoration", "underlined");

you will have to build the logic to set the textDecoration back 
to "none" when another link is clicked, but this will get you 
started ;-)

cheers,

Andrew Spaulding
Adobe Systems


--- In flexcoders@yahoogroups.com, "Libby" <[EMAIL PROTECTED]> wrote:
>
> I have extended the LinkBar class and dynamically create children 
from
> Link objects within it. When a Link is clicked, I would like to have
> the color change and stay changed, or some other change occur so I
> know which Link was clicked. Underlining the Label text would be 
fine
> if I could figure out how to do it. I have tried
> Link.setStyle("selected","true");
> and messed with the entries below in my styleSheet, along with many
> other attempts.
> selection-color:#00FF00;
> selected-fill-colors: #00FF00;
> symbol-background-pressed-color:#FF0000;
> text-selected-color:#FF00FF; 
> 
> Could someone please give me some idea of how to do this? 
> 
> Thanks,
> Libby
>







--
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