The first is the correct syntax. If it is not working, perhaps there is another style that needs to be set also, like width or color.
Have you tried this using the flex StyleExplorer? Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of criptopus Sent: Friday, March 12, 2010 6:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I set the borderStyle in Flex I have tried both with no luck... .setStyle("borderStyle","solid"); .borderStyle="solid";