6/18/2010 4:15:44 AM
Title:
LinkBar
Hi,
I have a link bar, In link bar having two labels,
1) already a member? 2) Login
My question is how to give the underline option in linkbar labels individually,
I want the underline option only Login . How to give the underline option in linkbar
6/18/2010 4:48:18 AM
hi rama,
mention in the style sheet as labelText:underline; to ur linkbars and if u want to specify it to particular one label then try using any of the events as onmouseOver()
hope this one helps u.
Inder
Points: 2620
Posts:0
6/18/2010 11:02:11 AM
that's easy , you can run this code on application complete event to set the underline for any particular button on linkBar component flex. Here is the actionscript code
// getChildAt(1) means 2nd button, you can change this number to set another button underline
var lButton:LinkButton= myLinkBar.getChildAt(1) as LinkButton;
lButton.setStyle("textDecoration","underline"))
ping me if nay problem