With the Flex 3 SDK you simply needed to set the borderThickness style to 0, or set borderStyle to none. With the Flex 4 SDK ad the Spark theme, this has no effect.
相关问题
- Should I wait for Flash Player 10.1 or go with Fla
- How to load flex swf from flash?
- Converting Date with Time in PST into UTC format
- Is older version of flex SDK really required?
- Setting Page Title from a SWF
相关文章
- How To Programmatically Enable/Disable 'Displa
- Trace on Chrome/Browser console
- Is building separate .swc allow a faster loading o
- How to load images and fragments dynamically in Li
- Assigning an array of objects to a DataGrid
- Libraries for text animation in Flex / Actionscrip
- Flex 4 - Create states and add elements at runtime
- changin the default width and height of the dropdo
well i have tried the above code but it does not work for me Flex Hero SDK 4.5, so what i did i selected the textArea and created a new custom skin and change the border alpha to 0.
simple and sweet
If you want to remove the border from spark TextArea's here are some ways to do so: To make all spark TextAreas have no border you can do this:
You can also make a simple style and only apply them to specific spark TextAreas like so:
You can turn it off via creation complete like so:
Finally, you can make a skin, per DrMaxmAd's suggestion, like so:
In Flex 3: The border for TextArea component can be controlled by using these two attributes/properties:
Focus alpha ensures that you don't get the border showing up even when the TextArea is selected.
You have to set the borderSkin to null
Try something like:
I haven't dabbled in Flash Builder 4 yet, but I know in Flex 3 you can modify things like this (when its not possible another way):
Might want to give this a try, you just need to find the correct child element usually.
EDIT: Here's your answer