Hi Shankar, Its as simple as Ravi suggested.
Keep only on principle in mind, if you have a control, it doesn't matter whether you are hard coding the value or the value is coming dynamically, you may alway give a predefined set of styles. Also, you can define styles dynamically but that doens't seems to be your problem :) Thanks, Shaleen Jain http://shaleenjain.blogspot.com On Mar 27, 10:49 pm, Ravi Mishra <[email protected]> wrote: > Hi Shankar, > > Just define a style property like this: > > .myLabelStyle{ > > /* > Set your styles here > */ > > } > > And then set this myLabelStyle as the styleName property of Label. > Something like this: > > <mx:Label id="lbl" styleName="myLabelStyle"/> > > Its so simple as that :) > > Hope this helps. > > -Ravi > On Mar 27, 8:46 pm, sankar swaroop <[email protected]> wrote: > > > Hi friends, > > > I am giving the name of the person to label text dynamically who is logging > > with their userID and password. But the displayed label text was plain and > > it was showing the given properties like color, font size etc. > > But i want to apply a predesigned skins to the label dynamic text. > > > I think u understand my need. > > Plz help me. > > > Thanks in advence > > Bye.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

