header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Ramakrishna
Points:0
Posts:0

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



1
nannu
Points: 0
Posts:0
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.

2
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


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 1+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions